Funny this thread starting just as I'm trying to get python 2.4 working with [link|http://www.gnist.org/~lars/code/eudora2mbox/eudora2mbox.html|eudora2mbox]. It's a python script for cleaning up the HTML in Eudora e-mail boxes before they're imported into Thunderbird.

I installed the Windows version of 2.4 (using the .msi installer) from python.org I installed all the options in d:\\lang\\python\\python24\\. It seems to work fine when started from d:\\lang\\python\\python24.

I added python to the Path (appended ";d:\\lang\\python\\python24") via Start -> ControPanel -> System -> Advanced -> EnvironmentVariables -> SystemVariables -> Path -> Edit. Is that sufficient? I would think that the installer would have modified the Path if it was needed...

On running the script in either the python or the Eudora root directory I get:

d:\\tcpip\\eudora42>eudora2mbox.py -r d:/tcpip/eudora42/ -o d:/tcpip/Thunderbird/mail/
From Eudora 'd:/tcpip/eudora42/' to M/T 'd:/tcpip/Thunderbird/mail/':
ERROR: unable to read file! d:/tcpip/eudora42\\Out.mbx


The d:\\tcpip\\Thunderbird\\mail directory was created by the script, but nothing's in it.

Out.mbx exists (it's a 0 byte file). In.mbx gives the same results (it's 2 MB):

d:\\tcpip\\eudora42>eudora2mbox.py In.mbx
ERROR: unable to read file! In.mbx


I've sent an e-mail to the author, but any help here would be greatly appreciated. I'm at a loss. :-(

[edit:]

For posterity:

I tried python 2.4 from python.org, 2.3.4 from python.org and 2.4.0 from ActiveState with the same results.

Lars was quite responsive, but couldn't find anything wrong. He said he's used it on many Windows boxes without incident.

After much playing around, I found that if I replaced every instance of "concat" with "open" in the [link|http://www.gnist.org/~lars/code/eudora2mbox/eudora2mbox.py|eudora2mbox.py] file that it worked fine. I'm not sure of the implications of doing that, but it worked for me (on 2.4.0 from ActiveState). I sent him a note.

Oh, and Lars says that 0.9 has better Eudora importing capabilities so his script is not as important as it was earlier.

[/edit:]

[edit2:]

The [link|http://z.iwethey.org/forums/render/content/show?contentid=116753|concat] bug was biting me again! Grr. Privoxy replaced "open" with "concat" and broke the script. My replacing "concat" with "open" fixed it. There's nothing wrong with Lars's source.

I've got to get a better proxy or something...

[/edit2:]

Cheers,
Scott.