FS#22297 - [gedit] betterpythonconsole plugin crashes

Attached to Project: Arch Linux
Opened by Urfaust (Urfaust) - Monday, 03 January 2011, 21:15 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 04 January 2011, 00:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The plugin "betterpythonconsole" crashes after you hit F5 in gedit instead of opening a python console.

CLI output:
File "/usr/lib/gedit-2/plugins/betterpythonconsole/consoleinterface.py", line 92
def seek(self, a): raise IOError, (29, 'Illegal seek')
^
SyntaxError: invalid syntax

Changing shebang from "#!/usr/bin/env python" to "#!/usr/bin/python2" in consoleinterface.py did not solve problem...

Additional info:
* package version(s)
-gedit 2.30.4-3
-Unfortunately I can't remember how I installed this plugin, maybe it was part of gedit-plugins-extra which is now removed from community or maybe I installed this manually by copying the files to /usr/lib/gedit-2/plugins, I don't know anymore. Sorry for that.

* config and/or log files etc.
Relevant thread: https://bbs.archlinux.org/viewtopic.php?id=111081

Steps to reproduce:
-Install and enable betterpythonconsole plugin
-Open a .py file with gedit
-Hit F5
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 04 January 2011, 00:34 GMT
Reason for closing:  Won't fix
Comment by Urfaust (Urfaust) - Monday, 03 January 2011, 21:17 GMT
Forgot to add the homepage of this plugin: http://live.gnome.org/Gedit/Plugins/BetterPythonConsole
Comment by Ionut Biru (wonder) - Monday, 03 January 2011, 21:26 GMT
what is the bug here?

you should report this to the plugin author not to us.

pacman -Qo /usr/lib/gedit-2/plugins/betterpythonconsole/consoleinterface.py
Comment by Urfaust (Urfaust) - Monday, 03 January 2011, 22:04 GMT
I thought it may be related to the python2 package renaming (http://www.archlinux.org/news/python-is-now-python-3/) because it worked in the first place...
I try to contact the author. Thanks.

pacman -Qo /usr/lib/gedit-2/plugins/betterpythonconsole/consoleinterface.py
Error: No package owns /usr/lib/gedit-2/plugins/betterpythonconsole/consoleinterface.py

Loading...