Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12882 - After update Gedit and Epiphany plugins not working anymore

Attached to Project: Arch Linux
Opened by Giedrius (giedrius) - Wednesday, 21 January 2009, 18:41 GMT
Last edited by Jan de Groot (JGC) - Sunday, 08 March 2009, 13:11 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Jan de Groot (JGC)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:

Gedit and Epiphany plugins stopped working after recent update. They are listed in the plugin dialog, but can't be enabled.

Additional info:
* package version(s)
gedit-2.24.3-1
epiphany-2.24.3-1



* config and/or log files etc.


~$ gedit

ImportError: could not import gtksourceview

** (gedit:9039): WARNING **: Error initializing Python interpreter: could not import pygtksourceview.

** (gedit:9039): WARNING **: Please check the installation of all the Python related packages required by gedit and try again.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Embedded Terminal' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'terminal' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Advanced Editing' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'advanced_editing' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Reopen Tabs' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'reopen-tabs' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Word completion' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'completion' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Smart Spaces' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'smartspaces' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Išoriniai įrankiai' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'externaltools' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Devhelp palaikymas' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'devhelp' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Session Saver' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'sessionsaver' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Split View 2' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'SplitView' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Snap open' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'snapopen' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Advanced Bookmarks' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'advanced-bookmarks' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Find In Documents' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'FindInDocuments' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Bracket Completion' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'bracketcompletion' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Iškarpos' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'snippets' since file '/usr/lib/gedit-2/plugins' cannot be read.

** (gedit:9039): WARNING **: Cannot load Python plugin 'Auto Tab' since gedit was not able to initialize the Python interpreter.

** (gedit:9039): CRITICAL **: gedit_python_module_load: assertion `Py_IsInitialized ()' failed

** (gedit:9039): WARNING **: Cannot load plugin 'autotab' since file '/usr/lib/gedit-2/plugins' cannot be read.



Steps to reproduce:
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 08 March 2009, 13:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  pygtksourceview2 has been rebuilt with python2.6.
Comment by Giedrius (giedrius) - Wednesday, 21 January 2009, 18:47 GMT
forgotten to mention these packages:
gtksourceview2-2.4.2-1
pygtksourceview2-2.4.0-1
Comment by Gultyaev Alexey (hokum) - Friday, 30 January 2009, 06:02 GMT
I confirm this bug. I have the same problems with gedit's plugins on python.

[hokum83@arch-hokum plugins]$ python
Python 2.6.1 (r261:67515, Dec 7 2008, 08:27:41)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gedit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named gedit
Comment by Tasos Latsas (tassadar) - Thursday, 05 February 2009, 18:31 GMT
I also confirm the the bug for gedit

gedit 2.24.3-1
gedit-plugins 2.22.5-3
Comment by Alessandro Doro (adoroo) - Friday, 06 February 2009, 01:11 GMT
pygtksourceview2 needs a rebuild against python2.6.

Meanwhile moving or copying gtksourceview2.so (package pygtksourceview2) from python2.5/site-packages to python2.6/site-packages make the gedit plugins 'Snippet' and 'Console python' work for me.
Comment by The Infiltrated (theinfiltrated) - Saturday, 14 February 2009, 00:05 GMT
I can confirm what adoroo say, almost every plugin work with this workaround. Thanks adoroo, so useful!

Loading...