file spooling fails

4 views
Skip to first unread message

Marcos Cruz

unread,
Aug 11, 2013, 11:41:33 AM8/11/13
to CanAce development group

Hello.

The file spooling always fails here, no matter normal or fast. Finally
something is mistyped. I tried several source files and several values
in warp_speed(), without success. I run Canace on Raspberry Pi. Does it
work for you?

----8<----------------------------------------------------------
static void
warp_speed(void)
{

// Input error: 50,250,20,500,700,1000
// No start: 10000,5000,2000,1500,1050
set_itimer(1000);
warpMode = 1;
}
----8<----------------------------------------------------------

Marcos

--
http://programandala.net

Lawrence Woodman

unread,
Sep 8, 2013, 1:50:39 AM9/8/13
to canac...@googlegroups.com
I thought that I had resolved this. There should be no need to alter
that value
from 50 as the spooling is now synced with the vertical refresh. Are you
sure that you are using the latest version? Try running this from the
root of the repository:
$ grep -ri syncintwithemuspeed src/

If you don't see any matches then you are using an outdated version, so
download
that latest. If you do see matches then it may be that your are running
an old
executable compiled with a previous version of the source code. Try running:
$ which canace

Delete the executable that it points to and perhaps repeat the process
until no more
exist.

Finally run:
$ make clean; make; make install

If none of that works. I'm not sure. Do you do anything else while
canace is spooling,
it may be worth trying to start the spooling and then not touch the
machine until the
spooling has stopped. If this helps, then it is a bug which I haven't
seen, but is
certainly possible and can be fixed.

Let me know how you get on.



Lorry



--
vLife Systems Ltd
Registered Office: The Meridian, 4 Copthall House, Station Square, Coventry, CV1 2FL
Registered in England and Wales No. 06477649
http://vlifesystems.com

Lawrence Woodman

unread,
Nov 11, 2013, 4:49:55 AM11/11/13
to canac...@googlegroups.com
Hello Marcos,

I have been working on adding sound to CanAce recently and along the way
noticed a problem with spooling that may be the problem you are
experiencing. Did you get a chance to see if you were using the latest
version of canace? If so, do you also get the problem with spooling in
normal speed mode? I was getting the problem in both modes. I haven't
had a chance to isolate the problem yet as I want to finish the work on
the sound first. However, I have a small script that does fail reliably
to test the bug with. It seems to have something to do with line
endings not always being recognized. I saw this when I had a word who's
definition was finished by a semi-colon on a separate line.

I'll report back, once I have the audio working.

Best wishes


Lorry

Marcos Cruz

unread,
Nov 11, 2013, 6:32:34 AM11/11/13
to CanAce development group
En/Je/On 2013-11-11 09:49, Lawrence Woodman escribi� / skribis / wrote :

> I have been working on adding sound to CanAce recently and along the
> way noticed a problem with spooling that may be the problem you are
> experiencing. Did you get a chance to see if you were using the
> latest version of canace?

Sorry for not contacting then. I already was sure I was using the latest
version, and I wanted to investigate further.

> If so, do you also get the problem with spooling in normal speed mode?
> I was getting the problem in both modes.

Yes. The problem still exists in both modes.

> It seems to have something to do with line endings not always being
> recognized. I saw this when I had a word who's definition was
> finished by a semi-colon on a separate line.

That's a good clue, thank you. I'll try to do some tests in order to
isolate the error conditions.

I look forward to the sound.

Marcos
Reply all
Reply to author
Forward
0 new messages