Re: [gedit-list] snippets plug in problem



Thank you,
the snippets were in the right place. 
I deletet the whole install of my gedit, including the plugins in the home
directory.
Now its working, maybe there was some kind of a conflict.

Regards,
Marco

Curtis Hovey wrote:
> 
> On Sun, 2008-08-03 at 17:00 -0700, macco wrote:
>> I have the same problem. If I start gedit from the command-line I get the
>> following error message
>> 
>> Traceback (most recent call last):
>>   File "/usr/local/lib/gedit-2/plugins/snippets/__init__.py", line 62, in
>> activate
>>     data.run(window)
>>   File "/usr/local/lib/gedit-2/plugins/snippets/WindowHelper.py", line
>> 40,
>> in run
>>     self.accel_group = Library().get_accel_group(None)
>>   File "/usr/local/lib/gedit-2/plugins/snippets/Library.py", line 859, in
>> get_accel_group
>>     self.ensure(language)
>>   File "/usr/local/lib/gedit-2/plugins/snippets/Library.py", line 893, in
>> ensure
>>     self.ensure_files()
>>   File "/usr/local/lib/gedit-2/plugins/snippets/Library.py", line 911, in
>> ensure_files
>>     self.add_user_library)
>>   File "/usr/local/lib/gedit-2/plugins/snippets/Library.py", line 835, in
>> find_libraries
>>     addcb(f)
>>   File "/usr/local/lib/gedit-2/plugins/snippets/Library.py", line 815, in
>> add_user_library
>>     return self.add_library(library)
>>   File "/usr/local/lib/gedit-2/plugins/snippets/Library.py", line 775, in
>> add_library
>>     library.ensure_language()
>>   File "/usr/local/lib/gedit-2/plugins/snippets/Library.py", line 514, in
>> ensure_language
>>     for element in self.parse_xml(256):
>>   File "/usr/local/lib/gedit-2/plugins/snippets/Library.py", line 468, in
>> parse_xml
>>     parser.feed(data)
>>   File "/usr/local/lib/gedit-2/plugins/snippets/ElementTree.py", line
>> 1242,
>> in feed
>>     self._parser.Parse(data, 0)
>> xml.parsers.expat.ExpatError: syntax error: line 1, column 0
>>  
>> Das anyone know a solution?
> 
> The line of the traceback implies there was no XML to read. Your
> installation is missing, or cannot find the snippets. This looks like an
> installation or environment issue Most distros install the snippets at
> 
>     /usr/share/gedit-2/plugins/snippets
> 
> Do you have snippets at
> 
>     /usr/local/share/gedit-2/plugins/snippets/
> 
> Gedit also checks your local directory for snippets. You can copy the
> snippets to
> 
>     .gnome2/gedit/snippets/
> 
> to make visible and editable.
> 
> 
>> Nicu Rau wrote:
>> > 
>> > I have tryied both Gedit 2.16 and 2.18 , and the snippets plug in
>> doesn't
>> > work. On preferences dialog, I can't enable snippents plug in; it is
>> > disabled....Is there any solution to solve this?
>> > Thanks
> 
> -- 
> 
> __C U R T I S  C.  H O V E Y_______
> Guilty of stealing everything I am.
> 
>  
> _______________________________________________
> 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/snippets-plug-in-problem-tp11496415p18810649.html
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]