Python problems on Ubuntu 10.10 (Maverick)

You can post here general questions about Advene in english.

Python problems on Ubuntu 10.10 (Maverick)

Post by mapto » Mon Feb 21, 2011 3:54 pm

Hello,

Thank you for sharing such a useful product.

I am trying to install Advene on Ubuntu and am having difficulties. Can you help?

I am running Ubuntu 10.10 (Maverick) which comes with python2.6. Apparently the Ubuntu Advene package requires python2.5.

I have installed python2.5 by running this lines:
Code: Select all
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python2.5


This allows for the installation of Advene from Synaptic following the instructions on this website ( http://www.advene.org/download.html#linux ).

However, when I successfully install, an attempt to run Advene fails, with the following message in advene.log:

Code: Select all
Advene v. 0.44 release 20100913 (svn 6845) run at 21/02/11 15:45:54 GMT on linux2
Traceback (most recent call last):
File "/usr/bin/advene", line 162, in <module>
import gtk
ImportError: No module named gtk


I verified that and apparently "import gtk" works on my installation of python2.6, but not on python2.5.

Can you help me with a way out?
mapto
Posts: 4
Joined: Mon Feb 21, 2011 3:36 pm

Re: Python problems on Ubuntu 10.10 (Maverick)

Post by oaubert » Tue Feb 22, 2011 2:42 pm

Please try to install the package from http://www.advene.org/download/linux/20101210/
It should solve the dependency issues. Do not hesitate to ask further questions and report any issues.
oaubert
Site Admin
Posts: 88
Joined: Mon Jan 07, 2008 4:02 pm

Re: Python problems on Ubuntu 10.10 (Maverick)

Post by mapto » Thu Feb 24, 2011 3:16 pm

Thanks, this solved it!
mapto
Posts: 4
Joined: Mon Feb 21, 2011 3:36 pm


Return to English questions