Cannot load Python plugin for 'External Tools' 'Python Console' and 'Snippets' in amd64

Bug #86148 reported by rai4shu2
4
Affects Status Importance Assigned to Milestone
gedit
Invalid
Undecided
Unassigned
gedit (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gedit-plugins

I've noticed that these plugins are not selectable in the Preferences/Plugins tab, and this problem has also been reported here:

http://www.ubuntuforums.org/showthread.php?t=362089

At first glance, this would appear to be a fault of the amd64 version, though that may just be a coincidence.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report. Confirmed with 2.17.5-0ubuntu1.

Changed in gedit-plugins:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

I reckon this is another 64bit/python2.5 bug.

Revision history for this message
Luca Carrogu (motoplux) wrote :

I have the same problem but with edgy i386
I cannot load plugin like "bracket completion" 'External Tools' 'Python Console' and 'Snippets'

this is what I get running gedit from terminal and trying to turn on for example the
bracket plugin:

$gedit
ImportError: could not import gtksourceview
Traceback (most recent call last):
  File "/usr/lib/gedit-2/plugins/bracketcompletion.py", line 206, in ?
    class BracketCompletionPlugin(gedit.Plugin):
AttributeError: 'module' object has no attribute 'Plugin'

** (gedit:5800): WARNING **: Could not load python module bracketcompletion

** (gedit:5800): WARNING **: Error, impossible to activate plugin 'Bracket Completion'
sys:1: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed

I tried to --purge remove everything in gedit and python packages, but I still have the same problem

Revision history for this message
Sebastien Bacher (seb128) wrote :

That upload fixes the problem:

 gedit (2.17.6-0ubuntu2) feisty; urgency=low
 .
   * debian/patches/80_fix_python_plugins_amd64.patch:
     - fix python plugins on amd64 (Ubuntu: #86148)

Changed in gedit:
status: Confirmed → Fix Released
Changed in gedit:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.