Tom fed this fish to the penguins on Monday 29 September 2003 02:19 pm:
[color=blue][color=green]
>>[/color]
> The Data in the log file looks like this:
> ??0/000/000/000/000/000/00?0/00?0/000/000/000/000/000/000/000/000/00?
> Instead it should look like this:
> 1 1 0 0 0 0 0 0 1 0 1
>[/color]
Looks like something trying to render binary data in some printable
encoding (is that what you see if you type the file to screen, or what
you see if you open it in Notepad/Wordpad)
Your Data[d+1] is suspicious too... What is Data, an array of strings?
(and why the +1, since Python indices start with 0). If Data is NOT an
array of strings, you probably need to convert the contents to
printable representation (maybe repr(ErrorInfo) or str(ErrorInfo))
As for the opening... If "a" by itself is not working, maybe "a+"
followed by a seek to end-of-file will do the trick.
--[color=blue]
> ================================================== ============ <
>
wlfraed@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
>
wulfraed@dm.net | Bestiaria Support Staff <
> ================================================== ============ <
> Bestiaria Home Page:
http://www.beastie.dm.net/ <
> Home Page:
http://www.dm.net/~wulfraed/ <[/color]