Reply
Thread Tools
Posts: 17 | Thanked: 0 times | Joined on Jun 2008
#51
@Khertan
Hi!
Yesterday i tryed to test PyGTKEditor from Maemo downloads, but the prob's with the lib are still actual. I wish install that editor from your site, but i still do not know what all i need to instal it. Like before:

Originally Posted by cmdowns View Post
Hello, can someone please tell me which apps are required in order to install the PyGTKEditor? From perusing the thread, it seems like I need:

python-pygtksourceview-2.0.0.armel.deb
libgtksourceview2.0-common-2.0.1.armel.deb
libgtksourceview2.0-0-2.0.0.armel.deb

I found and dl'ed them from Khertan's site, but I can't get any of them to install. So I guess I'm missing something else. Chances are it's something really basic that I should know about, but am too much of a noob to figure out.

Any help would be appreciated.
... what of this, may be more i need to instal it properly. Pls.

Thank you,
Feri
 
Posts: 17 | Thanked: 0 times | Joined on Jun 2008
#52
Attention! I answer me myself!

Ok, i have installed it! From the Khertan's site i have downloaded pygtkeditor-2.1.0.all.deb - then i have dobleclicked it - and the application manager says to me, it were something others needed - but this "something" is described true and is on the Khertan's site to find too.
Also, i try first download and then install the needed file - python-pygtksourceview-2.0.0.armel.deb, then after it the pygtkeditor-2.1.0.all.deb. No error message, no prob's, all ok, the editor application is to find under menue in Extras and work very good. (I have made only simply changes on navit.xml, but the syntax highlighting, and other features of the editor looks very good.)

Please, important - not automaticaly installed, not from Maemo site, but downloaded directly from Khertan's site and with simply "windows " doubleclick installed on the N800.

Best thanks to autor and the other peaople, they have been working on this soft.
Feri
 
Posts: 14 | Thanked: 1 time | Joined on Jan 2008
#53
I have libgtksourceview2.0-common (v 2.0.1), libgtksourceview2.0-0, python-pygtksourceview (v 2.0.0), and pygtkeditor (v 2.1.0). The last two packages were installed directly from khertan.net. All seemed to install successfully.

I can't get pygtkeditor to run. Running from the command line, I get a message:

Traceback (most recent call last):
File "/usr/lib/pygtkeditor/pygtkeditor", line 17, in ?
import gtk
ImportError: No module named gtk

Any idea what I am missing?

Thanks.
 
Posts: 43 | Thanked: 10 times | Joined on May 2008
#54
It sounds like you are missing pygtk. As a test you can go into the 'x terminal' and enter 'python'. When python shell starts (you will see the '>>>' prompt) then type 'import gtk' and see if there are errors. If you are missing pygtk, try installing an application that uses pygtk should install the dependency. Not sure which programs will do that (I have lot of applications already installed so it is hard to tell).

PyGTKEditor has weird dependency problems, I had python25-gtksourceview installed and pygtkeditor wouldn't install with it, so I edited the pygtkeditor deb data files to remove the dependency and it installed and worked perfectly.
 
Posts: 43 | Thanked: 10 times | Joined on May 2008
#55
You can try to install one of these maybe :

http://repository.maemo.org/extras/p...p/python-gtk2/
 
Posts: 14 | Thanked: 1 time | Joined on Jan 2008
#56
It appears that I had python2.4 installed as well as python2.5. Running python, I could not import gtk; but running python2.5, I could.

I uninstalled python2.4, but this doesn't solve the problem. Running pygtkeditor now gives me a message, "...python: not found."

I tried uninstalling and reinstalling pygtksourceview and pygtkeditor, but that didn't help.

Do I have to reinstall python? And reinstall all applications that depend on it?

Thanks.
 
Posts: 14 | Thanked: 1 time | Joined on Jan 2008
#57
OK, I created python as a link to python2.5. Now pygtkeditor works from the command line. I get a message about a version mismatch with gtksourceview2 (1013 vs 1012), but that doesn't seem to cause any problems. The program doesn't run from the menu; I'll have to figure that out.

Thanks for your help.
 
Posts: 11 | Thanked: 6 times | Joined on Jul 2008
#58
Originally Posted by codeMonkey View Post

Then I had to edit:
/var/lib/apt/lists/repository.maemo.org_extras_dists_chinook_free_bin ary-armel_Packages
and
/var/lib/dpkg/status

(You can get the info for these by typing 'apt-cache showpkg python-pygtksourceview' as root in your terminal)

Search for the entry for python-pygtksourceview.
It's "Depends:" line lists libxml2juuiiii, change this to libxml2 in both of the files.

After you've done this, don't update the application list or it'll overwrite your changes.

Then install pygtkeditor. After it's installed, don't upgrade the python-pygtksourceview package or you'll be back to square one.
Hi codeMonkey,

How did you do the editing on these readonly lists? I've been toying around with VIM for the past hour but haven't been able to save any of the changes (or delete text for that matter). me <- not very good with terminal based text editing.

Thanks.
 
xopher_mc's Avatar
Posts: 86 | Thanked: 9 times | Joined on Jan 2008 @ Berlin, Germany
#59
you need to be root to edit it. Also you should try nano to edit the file
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#60
From what I've seen, Khertan has fixed the problem so you shouldn't have to do the editing now anyway.
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:42.