maemo.org Bugzilla – Bug 11442
1.1.3 does not start: "ImportError: No module named evolution"
Last modified: 2010-11-10 19:31:57 UTC
You need to log in before you can comment on or make changes to this bug.
SOFTWARE VERSION: www2sms 1.1.3 Maemo5 20.2010.36-2 EXACT STEPS LEADING TO PROBLEM: 1. Installed www2sms via App Manager from Extras-Devel 2. Starting app from Application Menu showed window but window closed itself quickly again 3. Hence in the terminal: python /opt/www2sms/www2sms.py EXPECTED OUTCOME: Application starts ACTUAL OUTCOME: python /opt/www2sms/www2sms.py Traceback (most recent call last): File "/opt/www2sms/www2sms.py", line 26, in <module> import os, errno, pwd, sys, math, sqlite3, time, calendar, evolution, re ,socket ImportError: No module named evolution REPRODUCIBILITY: always
Could you pleas check if "python-evolution" is installed? If not, please install it manually and try to start www2sms again. ------------------------------------- sudo gainroot apt-get install python-evolution ------------------------------------- If this fixes the problem there might be an issue with the dependency declaration in the Debian install file. Thanks for reporting. Cheers Bjoern
(In reply to comment #1) > Could you pleas check if "python-evolution" is installed? dpkg -l python-evolution says ii python-evoluti 0.0.4-maemo2
(In reply to comment #2) > dpkg -l python-evolution says > ii python-evoluti 0.0.4-maemo2 > Same on my phone. Can you import evolution in a python shell ---------------------------- ~ $ python >>> import evolution >>> help(evolution) ---------------------------- The package should be in /usr/lib/python2.5/site-packages/gtk-2.0/evolution/
(In reply to comment #3) > ---------------------------- > ~ $ python > >>> import evolution Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named evolution
(In reply to comment #4) > > ---------------------------- > > ~ $ python > > >>> import evolution > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: No module named evolution > Okay, then this is not a www2sms bug. Either the installation of python-evolution went wrong or something other odd is going on. You should probably contact the devs of python-evolution and/or the python devs (both of course here at Maemo). I can't replicate the bug so I am not much of help here, sorry. :-( I will close this bug as "WORKSFORME". Please report back if you/them could fix the problem. Kind regards Bjoern
I have one suggestion: Try removing the python-evolution package with abt-get, and reinstall it with apt-get. Then try if you can import it in python. Cheers Bjoern
(In reply to comment #6) > Try removing the python-evolution package with abt-get, and reinstall it with > apt-get. Then try if you can import it in python. That still doesn't work - same error. However "apt-get autoremove" removed 7 python related packages (python-central, python2.5-qt4-core, python2.5-qt4-gui etc). Running "apt-get www2sms" afterwards will install these (and python-evolution) again. And still I get the ImportError. :-(
I once could reproduce the error (after upgrading to PR1.3), but removing and reinstalling python-evolution helped. Sorry, I have no Idea. You could give it a shot in forum with an own thread, maybe someone can help. But since I cant reproduce it and you can import evolution in python console, this is not www2sms related. You might want to open a bug on python-evolution or python. Sorry. Cheers Bjoern