Re: ImportError when running the python demo



Hi Loic,

The python bindings haven't been worked on in a while. The tinymail wiki page lists what still needs to be done for them to be considered complete.

http://www.tinymail.org/trac/tinymail/wiki/PythonBindings

The main reason that they are considered unfinished is that there has not yet been an effort to put together a complete mail client using them. Your project to put together a Tinymail based client in Python would be on the bleeding edge, with all that entails.

Saying that, I'd really like to see someone attempt this, and I'd be happy to help in any way possible.

I'm very busy this morning, so won't have time to look over the problem until later.

I'll get back to you soon,

Thanks

Mark

Philip Van Hoof wrote:
The person responsible for the Python bindings is Mark Doffman.

I added Mark in CC of this E-mail

On Mon, 2008-06-02 at 22:16 +0200, Loic wrote:
Hello,

I am new here, I am interested in tinymail to make a very simple mail
client with task management à la GTD. I want to rely as much as
possible on solid infrastructure/libraries to not reinvent the wheel
(for example, e-d-s for contacts, etc...). So I want to use Python to
do the job.

I just tried to run the python as per instruction on a Ubuntu Gutsy box.
The build procees (trunk and v0.0.9) is going smoothly both for the
python part and the library. But when I want to run the demo I have
the following error:

 python tinymail-python-test.py
Traceback (most recent call last):
  File "tinymail-python-test.py", line 4, in <module>
    import tinymail
  File "/opt/tinymail/lib/python2.5/site-packages/tinymail-1.0/tinymail/__init__.py",
line 13, in <module>
    from _tinymail import *
ImportError: /opt/tinymail/lib/python2.5/site-packages/tinymail-1.0/tinymail/_tinymail.so:
undefined symbol: pytinymail_add_constants

Looking at changeset 2698 -
http://www.tinymail.org/trac/tinymail/changeset/2698 - I found that
the pytinymail_add_constants was commented before, so I tried
commenting but then I got an error with the ui module.

Doing export LD_RUN_DIR=/opt/tinymail/lib/python2.5/site-packages/tinymail-1.0/tinymail
did not help (as this was a message given during the build).

I welcome your help...

Loïc d'Anterroches
_______________________________________________
tinymail-devel-list mailing list
tinymail-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/tinymail-devel-list


--
Mark Doffman, Codethink Ltd. -  http://codethink.co.uk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]