Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#21
PyGTKEditor has just been updated to Version 2.0.0 for Chinook only (sorry for IT2006 and IT2007 user i ll do my best).

It now use GtkSourceView and can hilight many language : ruby, sql, xml, css, html, java, javascript, perl, php, sh, gtkrc, awk, def, erlang, pascal, dtc, objc, haskel, c#, msil, chdr, hadock, yacc, vbnet, and more ....

It s a beta version and need that GtkSourceView is installed with his python binding. (Available on my website)

I ll try to do my best to create a repository with all in.
 
Posts: 38 | Thanked: 3 times | Joined on Aug 2007
#22
Hi, I just tried installing. First installed LibGTKSourceView2-Common and then tried LibGtkSourceView2 from your website, however the second does not install. It does everything as normal, but then ends with installation failed. Did I do something wrong?
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#23
could you post the log from the journal ?

thx for your report
 
Posts: 38 | Thanked: 3 times | Joined on Aug 2007
#24
Hi, the relevant line is:

dpkg: error processing /var/tmp/libgtksourceview2.0-0-2.0.0.armel.deb (--install):
trying to overwrite '/usr/lib/libgtksourceview-2.0.so.0', which is also in package libgtksourceview2.0-common
dpkg-deb: subprocess paste killed by signal (Broken pipe)
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#25
oups ... it seems there is a problem in my package ...
thanks ...

I ll post a new package tomorrow
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#26
 

The Following 2 Users Say Thank You to Khertan For This Useful Post:
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#27
I tried out PyGTKEditor and it's a very nice editor.

One question though: Is it possible to enable wrap-to-screen when using higher zoom levels? I couldn't find how to do that.

Edit: I'm using a N800 on ITOS2007, so version 1.3.
__________________
Watch out Nokia, Pandora's box has opened (sorta)...
I do love explaining cryptic sigs, but for the impatient: http://www.openpandora.org/
 

The Following User Says Thank You to Karel Jansens For This Useful Post:
Posts: 18 | Thanked: 1 time | Joined on Dec 2007 @ deutschland
#28
How to save an edited file from filesystem (/usr/local/share/mis/google-search.xml) after editing it?
It doesn't work for me.
I then tried to open pygtkeditor in xterm after becoming root. There were some errors and aborting.

edit: on N810 with newest os2008-update
 

The Following User Says Thank You to conum For This Useful Post:
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#29
One question though: Is it possible to enable wrap-to-screen
Not yet ... it should be available in the next release. With auto indent ...

How to save an edited file from filesystem (/usr/local/share/mis/google-search.xml) after editing it?
It doesn't work for me.
as this file isn't owned by your user ... it s normal that pygtkeditor can't save it.
But not that any message is displayed.
run pygtkeditor with it under root with 'run-standalone.sh pygtkeditor'
 

The Following User Says Thank You to Khertan For This Useful Post:
Posts: 18 | Thanked: 1 time | Joined on Dec 2007 @ deutschland
#30
At first it worked, but after editing the xml-file (I changed google. com to google.de) the search applet didn't contain google-search anymore. In xterm I read this:
/home/user # run-standalone.sh pygtkeditor
/usr/lib/pygtkeditor/pygtkeditor:31: RuntimeWarning: Python C API version mismatch for module gtksourceview2: This Python has API version 1013, module gtksourceview2 has version 1012.
import gtksourceview2
Traceback (most recent call last):
File "/usr/lib/pygtkeditor/pygtkeditor", line 975, in cb_tb_undo
self.textview_list[self.notebook.get_current_page()].undo()
File "/usr/lib/pygtkeditor/pygtkeditor", line 162, in undo
undo_type_action = self.undo_type_action.pop()
IndexError: pop from empty list
Traceback (most recent call last):
File "/usr/lib/pygtkeditor/pygtkeditor", line 975, in cb_tb_undo
self.textview_list[self.notebook.get_current_page()].undo()
File "/usr/lib/pygtkeditor/pygtkeditor", line 162, in undo
undo_type_action = self.undo_type_action.pop()
IndexError: pop from empty list
Traceback (most recent call last):
File "/usr/lib/pygtkeditor/pygtkeditor", line 975, in cb_tb_undo
self.textview_list[self.notebook.get_current_page()].undo()
File "/usr/lib/pygtkeditor/pygtkeditor", line 162, in undo
undo_type_action = self.undo_type_action.pop()
IndexError: pop from empty list
Traceback (most recent call last):
File "/usr/lib/pygtkeditor/pygtkeditor", line 975, in cb_tb_undo
self.textview_list[self.notebook.get_current_page()].undo()
File "/usr/lib/pygtkeditor/pygtkeditor", line 162, in undo
undo_type_action = self.undo_type_action.pop()
IndexError: pop from empty list
/usr/lib/pygtkeditor/pygtkeditor:924: GtkWarning: gtksettings.c:965: an rc-data property "gtk-file-chooser-backend" already exists
dialog=hildon.FileChooserDialog(self, "save")
python[1378]: GLIB DEBUG ConIc - con_ic_connection_send_event(0x35cc10, Zuhause, WLAN_INFRA, 0)
/usr/lib/pygtkeditor/pygtkeditor:927: GtkWarning: gtk_tree_model_filter_row_has_child_toggled: assertion `elt->visible' failed
if(dialog.run()==gtk.RESPONSE_OK) and (dialog.get_filename()!=None):
LOCATION_PRESSED 1
/root/.osso/hildon-fm: Failed to create file '/root/.osso/hildon-fm.WY9B4T': No such file or directory
/root/.osso/hildon-fm: Failed to create file '/root/.osso/hildon-fm.8BV93T': No such file or directory


Last edited by conum; 2007-12-30 at 11:42.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:53.