Hi,

> Offlineimap (fink unstable, either 64 or 32 bit) fails with a "Trace/BPT
> Trap error" on 10.6.

Just upgraded myself, and immediately got the same problem. So much for 
the "it's in an interpreted language, it should work everywhere" line :-(

> What are the plans for incorporating this fix into Fink?  I'm primarily
> interested in a fix that would enable OfflineIMAP to start working again,
> but other python programs are affected by this as well.

As a temporary fix (or rather as an ugly hack), I edited the file
locale.py by hand to not even try importing _locale.so. There is a
"locale emulation" right below ... Actually, deleting _locale.so
altogether should work as well, as the import iswithin a try/except.

That's the worst solution (it will not survive a python upgrade, for 
one) but it was the quickest to implement.

> If I remember correctly, offlineimap on 10.6 uses python-2.5, which does
> not appear to be one of the versions fixed by the upstream maintainers.
> That said, the fix is trivial enough that I imagine it could be easily
> backported.

Alternatively, the Offlineimap package could be modified to either use
python-2.6 (when fixed - although IIRC offlineimap had a few problems
with py26), or /usr/bin/python (if it works - I did not have time yet to
look into that). I will give it a try.

But certainly the python packages themselves should be fixed, as
offlineimap is certainly not the only package affected ...

  /vincent (offlineimap package maintainer)

-- 
Vincent Beffara
UMPA - ENS-Lyon
46 allée d'Italie
69364 Lyon Cedex 07
Tél : 04 72 72 85 25

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to