Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Ipython prevents plugins window to show #31

fdev31 opened this Issue Dec 21, 2010 · 4 comments


None yet
3 participants

fdev31 commented Dec 21, 2010

When I try to access Plugins from Preferences:

 Traceback (most recent call last):                                                                                               
  File "/home/fab/progs/snaked/snaked/core/gui/prefs.py", line 48, in activate
  File "/home/fab/progs/snaked/snaked/core/plugins.py", line 213, in show_plugins_prefs
    dialog.show(self.enabled_plugins, set_plugin_list)
  File "/home/fab/progs/snaked/snaked/core/gui/plugin_prefs.py", line 32, in show
  File "/home/fab/progs/snaked/snaked/core/gui/plugin_prefs.py", line 57, in fill_plugin_list
    for p in sorted(self.get_aviable_plugins(), key=lambda r: r[-1]):
  File "/home/fab/progs/snaked/snaked/core/gui/plugin_prefs.py", line 46, in get_aviable_plugins
    package = get_plugin(pname)
  File "/home/fab/progs/snaked/snaked/core/plugins.py", line 21, in get_plugin
    return get_package(package_name)
  File "/home/fab/progs/snaked/snaked/core/plugins.py", line 16, in get_package
  File "/home/fab/progs/snaked/snaked/plugins/python_ipython/__init__.py", line 6, in 
    from ipython_view import IPythonView
  File "/home/fab/progs/snaked/snaked/plugins/python_ipython/ipython_view.py", line 27, in 
    raise "Error importing IPython (%s)" % str(e)
TypeError: exceptions must be old-style classes or derived from BaseException, not str

bigdrum commented Dec 21, 2010

I suggest add a error handling routine at core.plugins.get_package. Also when user tries to enable the plugin, it would be nice to popup a message box indicating the cause of the importing error in a friendly way.


fdev31 commented Dec 21, 2010

Nothing related, but I'm rather new to github, is there some way to "publicly chat" about something ? I think it could be fine to open some discussions about next features/improvements ... like this one :)


bigdrum commented Dec 21, 2010

@fdev31 If you mean realtime chat, I don't think so. IMHO, discussion in an issue ticket looks good since ppl might not be online at same time, and it is also a better way to keep everything in record.


baverman commented Dec 21, 2010

I did quick fix to pass exception. Later I will show cause which prevents plugin from loading.

@baverman baverman closed this Jun 27, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment