[Bug 857348] Re: All python plugins are broken by a bad import
Confirmed that this version of libpeas works fine again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
Should be fixed with libpeas (1.2.0-0ubuntu1) oneiric; urgency=low * New upstream release: - Fix using Python plugins. - Misc improvement and fixes. - Translation updates * debian/libpeas-1.0-0.symbols: - Updated symbols -- Didier RocheTue, 27 Sep 2011 09:21:20 +0200 I'll double-check once it's built. ** Changed in: pygobject Status: New => Invalid ** Package changed: pygobject (Ubuntu Oneiric) => libpeas (Ubuntu Oneiric) ** Changed in: libpeas (Ubuntu Oneiric) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
I just got the amd64 packages from https://launchpad.net/ubuntu/+source/libpeas/1.1.3-0ubuntu1/+build/2765954 and the gedit plugins seem to be working again (including the one for latex, from git). @Alex Schiff: The gedit-latex-plugin from git needs gedit-dev, which in turn requires a libpeas-dev package with a matching version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
GNOME bug #659879 is about something else (that bug was fixed in oneiric yesterday). Unlinking. ** Changed in: pygobject Importance: Unknown => Undecided ** Changed in: pygobject Status: Unknown => New ** Changed in: pygobject Remote watch: GNOME Bug Tracker #659879 => None ** Changed in: pygobject (Ubuntu) Status: Triaged => In Progress ** Changed in: pygobject (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) ** Also affects: pygobject (Ubuntu Oneiric) Importance: Medium Assignee: Martin Pitt (pitti) Status: In Progress ** Changed in: pygobject (Ubuntu Oneiric) Importance: Medium => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
#15 fixes rhymthbox plugins on amd64 - same issue with plugins -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
@Mark Repka: try the following: wget http://launchpadlibrarian.net/79015317/libpeas-1.0-0_1.1.3-0ubuntu1_amd64.deb wget http://launchpadlibrarian.net/79012147/python-gobject_2.90.3-1svn1_amd64.deb sudo dpkg -i libpeas-1.0-0_1.1.3-0ubuntu1_amd64.deb sudo dpkg -i python-gobject_2.90.3-1svn1_amd64.deb rm libpeas-1.0-0_1.1.3-0ubuntu1_amd64.deb rm python-gobject_2.90.3-1svn1_amd64.deb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
The workaround at post #11 only works for me if, after running those commands, I launch Gedit using: $ DISPLAY=:0.0 PYTHON=/usr/bin/python3.2 LD_PRELOAD=/usr/lib/libpython2.7.so.1 /usr/bin/gedit Thanks, Effenberg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
@Jean-Philippe Fleury (jpfle) - Are there amd64 packages of that version somewhere? I tried your fix as given and got an error of: "libpeas-1.0-0:i386 1.1.3-0ubuntu1 (Multi-Arch: no) is not co-installable with libpeas-1.0-0:amd64 1.1.4-0ubuntu1 (Multi-Arch: no) which is currently installed" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
@Jean-Philippe Fleury (jpfle)- Your fix worked for me. Unfortunately, gedit-latex-plugin isn't yet compatible with gedit 3. Hopefully it will be fixed soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
About the trick described on comment 9, here are the steps: wget http://launchpadlibrarian.net/79014999/libpeas-1.0-0_1.1.3-0ubuntu1_i386.deb wget http://launchpadlibrarian.net/79012214/python-gobject_2.90.3-1svn1_i386.deb sudo dpkg -i libpeas-1.0-0_1.1.3-0ubuntu1_i386.deb sudo dpkg -i python-gobject_2.90.3-1svn1_i386.deb rm libpeas-1.0-0_1.1.3-0ubuntu1_i386.deb rm python-gobject_2.90.3-1svn1_i386.deb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
I'm marking this as triaged since I believe this has been reported upstream (where there are patches that hopefully fix this). ** Package changed: libpeas (Ubuntu) => pygobject (Ubuntu) ** Changed in: pygobject (Ubuntu) Importance: Undecided => Medium ** Changed in: pygobject (Ubuntu) Status: Confirmed => Triaged ** Bug watch added: GNOME Bug Tracker #659879 https://bugzilla.gnome.org/show_bug.cgi?id=659879 ** Also affects: pygobject via https://bugzilla.gnome.org/show_bug.cgi?id=659879 Importance: Unknown Status: Unknown ** Changed in: pygobject (Ubuntu) Milestone: None => ubuntu-11.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
Would seem both sources may be involved - If I downgrade both to previous versions then the plugins can be enabled - (python-gobject_2.90.3-1svn1; libpeas-1.0-0_1.1.3-0ubuntu1 Upgrading either or both then breaks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
My plugins and I am sure gedit's plugins are using the libpeas via the Gedit extension classes. I do not think any plugin should be messing with LD_PRELOAD since they assume the user is using the system python (2.6 or above). I can confirm my plugins and most of gedit's default plugins work with this hack, but I see snippets has errors. I suppose snippet has separate bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
That is surely a temporary hack, but it seems to me that the real problem is not in libpeas but in python-gobject, where libpyglib-2.0-pythonx.y doesn't get linked to libpython-x.y. I am looking at the sources right now and the package build gives warning about this issue (libpyglib-2.0-pythonx.y uses routines that are not found in none of its libraries). I am not an automake expert, neither I know the architecture of python-gobject, but it seems like a missing -lpythonx.y somewhere. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
I have to start gedit with LD_PRELOAD=/usr/lib/libpython2.7.so.1 to solve this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
*** This bug is a duplicate of bug 839712 *** https://bugs.launchpad.net/bugs/839712 Maybe I was hasty, you can un-dupe if you like. I guess my feeling was that any remaining plugin problems were plugin-related now, not libpeas related. They need to be ported to new libpeas. So if you undupe, maybe retarget at the plugins that have the problem? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
** This bug is no longer a duplicate of bug 839712 Plugins written in Python can no longer be enabled -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
*** This bug is a duplicate of bug 839712 *** https://bugs.launchpad.net/bugs/839712 I was doing some experiments now, and the problem seems that /usr/lib/libpyglib-gi-2.0-python2.7.so.0 is not linked against libpython2.7. Starting gedit (or other libpeas enabled applications) with LD_PRELOAD=/usr/lib/libpython2.7 solves the issue. So maybe it's some problem in python-gobject? I'm not so sure here on where is the problem... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
*** This bug is a duplicate of bug 839712 *** https://bugs.launchpad.net/bugs/839712 It don't seems to me that this is a duplicate of bug #839712, since that has been fixed and it has a different traceback; I still can't enable plugins in gedit and in the other libpeas enabled applications that I tried (such as totem, for example). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
*** This bug is a duplicate of bug 839712 *** https://bugs.launchpad.net/bugs/839712 ** This bug is no longer a duplicate of bug 857099 Error initializing Python Plugin Loader:PyGObject initialization failed ** This bug has been marked a duplicate of bug 839712 Plugins written in Python can no longer be enabled -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
*** This bug is a duplicate of bug 857099 *** https://bugs.launchpad.net/bugs/857099 ** This bug has been marked a duplicate of bug 857099 Error initializing Python Plugin Loader:PyGObject initialization failed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libpeas (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 857348] Re: All python plugins are broken by a bad import
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/857348 Title: All python plugins are broken by a bad import To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libpeas/+bug/857348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs