Hi Mike!
Mike Glover ([email protected]) wrote:
> Have you tried something like:
>
> try:
> os.rename(TMPFILENAME, muttfilename)
> except Exception, e:
> log.write("Rename failed: %s" % e)
>
> That rename call is almost certainly failing, and this would
> at least tell you why...
Absolutely!
I thought that mutt has a "weird" method of tracking changes to the
tempfile. You were right, I got "[Errno 18] Invalid cross-device
link" instead while renaming files.
For testing purposes I tried os.system(mv %s %s) and this worked so
far.
Thanks for the pointer!
> (Also, what OS is this on?)
Debian GNU/Linux (oldstable)
--
Karl Voit