Re: [gedit-list] Snapopen plugin updated with filebrowser support



Hi,

I did do what you say, and gedit into console send that messages

sguaman sg-ubuntu:~$ gedit
Traceback (most recent call last):
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 213,
in activate
    self._set_instance( window, SnapOpenPluginInstance( self, window ) )
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 27,
in __init__
    self._encoding = gedit.encoding_get_current()
AttributeError: 'module' object has no attribute 'encoding_get_current'
Traceback (most recent call last):
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 220,
in update_ui
    self._get_instance( window ).update_ui()
AttributeError: 'NoneType' object has no attribute 'update_ui'


I commented that line and the plugin run, but when I press Ctrl+Alt+o and
open the dialog and choose open a file happen this

Traceback (most recent call last):
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 97,
in on_select_from_list
    self.open_selected_item(event)
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 158,
in open_selected_item
    self._open_file ( selected_file )
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 164,
in _open_file
    tab = self._window.get_tab_from_uri(uri)
AttributeError: 'gedit.Window' object has no attribute 'get_tab_from_uri'
Traceback (most recent call last):
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 93,
in on_list_mouse
    self.open_selected_item( event )
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 158,
in open_selected_item
    self._open_file ( selected_file )
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 164,
in _open_file
    tab = self._window.get_tab_from_uri(uri)
AttributeError: 'gedit.Window' object has no attribute 'get_tab_from_uri'
Traceback (most recent call last):
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 158,
in open_selected_item
    self._open_file ( selected_file )
  File "/home/sguaman/.gnome2/gedit/plugins/snapopen/__init__.py", line 164,
in _open_file
    tab = self._window.get_tab_from_uri(uri)
AttributeError: 'gedit.Window' object has no attribute 'get_tab_from_uri'


I hoope this help you.

thank's


Mads Buus Jensen wrote:
> 
> Hi,
> 
> On Tue, 2006-11-28 at 04:28 -0800, Warlock-G wrote:
>> well, but this not work for me, I'm a Ubuntu Dapper 6.06 with gedit 2.14,
>> this plug-ins need an early version? or what?
> No It has no dependency on earlier versions. In fact, 
> since I changed the dir structure a bit, earlier versions should be
> removed first. It should work fine on 2.14 (I use edgy/gedit 2.16), but
> I do not think I use any 2.16 specific stuff. 
> 
>> 
>> And I download this file 3 times and nothing change, Ctrl+Alt+o not work. 
>> Please can you help me? need more information?
> Have you followed the installation instructions?
> Quick help/troubleshooting:
> 
> 1. Untar the download (preserving paths)
> into /home/<you>/.gnome2/gedit/plugins
> 
> 2. start gedit from a console, choose 'Edit - Preferences - Plugins' and
> enable the 'Snapopen' plugin.
> 
> 
> 3. watch the console out. If snapopen plugin fails you should see some
> output here.
> 
> 
> Hmm, come to think of it you might need to apt-get some python-dev if
> my .py files font compile (I havent bundled *.pyc files). Check for .pyc
> files in /home/<you>/.gnome2/gedit/plugins/snapopen/ after you've run
> gedit once with the plugin enabled.
> 
> 
> good luck, submit me your findings.
> 
> 
> -Mads
> 
> ______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> http://mail.gnome.org/mailman/listinfo/gedit-list
> 
> 

-- 
View this message in context: http://www.nabble.com/New-cool-plugin-for-Gedit-tf2458473.html#a7600431
Sent from the Gnome - Gedit mailing list archive at Nabble.com.




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