Author Topic: Installing Python + Offlineimap  (Read 4455 times)

henrysviper

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://prasinos.eu/
Installing Python + Offlineimap
« on: April 26, 2005, 01:02:56 pm »
Hello everybody

I tried earlier today to install offlineimap (a very nice program for synchronizing mail with an IMAP server). Offlineimap is written in python so, "ipkg" brought in python-core as a dependency. However offlineimap needed more python modules. Some of them were in the feed, some were not. I found the missing modules on my linux box, copied them over and now offlineimap works nicely. Regarding this, I have three remarks:

- offlineimap complained about not finding modules "traceback" and "linecache" (and maybe 1-2 more which I don't remember now). I have OE/bitbake (latest versions) installed and I see that there is a file "python-2.4.1-manifest.inc" that gets included by python_2.4.1.bb, and has these two modules listed. Why don't they appear in the final python-core package?

- offlineimap after installation had an error in the first line (trying to run something like ..../staging/.../python instead of /usr/bin/python)

- OE contains a .bb file for an older version of offlineimap. I updated the version, fixed the dependencies and produced a working .ipk. What is the proper way to contribute it to the OE/bitbake team? (And, in general what is the proper way to contribute small fixes?)

Thanks for your time.
« Last Edit: April 26, 2005, 01:03:40 pm by henrysviper »
C750 :: Switching between Angstrom and Debian armel :: SD Kingstron 2GB (ext3) :: SD Toshiba 512MB (ext3) :: CF Transcend 80x 1GB :: CF Lexar 4x 256MB :: Ambicom CF WiFi :: Targus CF Modem :: Brando solar charger

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Installing Python + Offlineimap
« Reply #1 on: May 16, 2005, 03:50:40 pm »
I just tried installing python-core (2.4.1-ml2) & offlineimap (4.0.3) on OZ-OPIE (3.5.3), & after removing all of the references to '/local/pkg/oe/collie/tmp/work/offlineimap-4.0.3-r0/image/' I still get:

Code: [Select]
root@grond[~]# offlineimap
Fatal Python error: PyString_InternInPlace: strings only please!
Aborted
Any ideas what I need to get this running? thks
GROG!

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Installing Python + Offlineimap
« Reply #2 on: May 16, 2005, 04:04:26 pm »
send patches, bb recipes to OE malinglist
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.