Zim

Table Editor install problem

Asked by Lauri on 2016-01-28

I tried to unsuccessfully install the Table Editor plugin on Debian 8 with 3.16.0-4-amd64 kernel and gnome 3.14.1 desktop. So basically I ran the command bzr branch lp:~beutlin/zim/table-plugin, located the codes for Table Editor (tableeditor.py), copied it to ~/.local/share/zim/plugins/ restarted first zim and then the entire computer, but still could not see the table editor in the plugins list. zim -D says the following

ERROR: Could not load plugin tableeditor
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/zim/gui/preferencesdialog.py", line 303, in __init__
    klass = self.plugins.get_plugin_class(key)
  File "/usr/lib/python2.7/dist-packages/zim/plugins/__init__.py", line 208, in get_plugin_class
    mod = get_module(modname)
  File "/usr/lib/python2.7/dist-packages/zim/utils.py", line 33, in get_module
    mod = __import__(name)
  File "/usr/lib/python2.7/dist-packages/zim/plugins/tableeditor.py", line 32, in <module>
    from zim.gui.objectmanager import CustomObjectWidget
ImportError: No module named objectmanager

DEBUG: Gtk version is (2, 24, 25)
DEBUG: Pygtk version is (2, 24, 0)

I get the same error also when the tableeditor.py is in the ~/.local/share/zim/plugins/ directory.

Could anyone help me with this problem?

p.s. Zim is really an awesome tool

- Lars

Question information

Language:
English Edit question
Status:
Solved
For:
Zim Edit question
Assignee:
No assignee Edit question
Solved by:
Jaap Karssenberg
Solved:
2016-02-16
Last query:
2016-02-16
Last reply:
2016-02-02

This question was originally filed as bug #1538808.

Lauri (larsnurminen) said : #1

I tried to unsuccessfully install the Table Editor plugin on Debian 8 with 3.16.0-4-amd64 kernel and gnome 3.14.1 desktop. So basically I ran the command bzr branch lp:~beutlin/zim/table-plugin, located the codes for Table Editor (tableeditor.py), copied it to ~/.local/share/zim/plugins/ restarted first zim and then the entire computer, but still could not see the table editor in the plugins list. zim -D says the following

ERROR: Could not load plugin tableeditor
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/zim/gui/preferencesdialog.py", line 303, in __init__
    klass = self.plugins.get_plugin_class(key)
  File "/usr/lib/python2.7/dist-packages/zim/plugins/__init__.py", line 208, in get_plugin_class
    mod = get_module(modname)
  File "/usr/lib/python2.7/dist-packages/zim/utils.py", line 33, in get_module
    mod = __import__(name)
  File "/usr/lib/python2.7/dist-packages/zim/plugins/tableeditor.py", line 32, in <module>
    from zim.gui.objectmanager import CustomObjectWidget
ImportError: No module named objectmanager

DEBUG: Gtk version is (2, 24, 25)
DEBUG: Pygtk version is (2, 24, 0)

I get the same error also when the tableeditor.py is in the ~/.local/share/zim/plugins/ directory.

Could anyone help me with this problem?

p.s. Zim is really an awesome tool

- Lars

Probably the zim version you use is not compatible with this plugin.

This plugin did require restructuring in the rest of the application as well to allow this type of plugin.

If you want to use it, I highly recommend just using zim 0.65 which has this plugin by default.

-- Jaap

Lauri (larsnurminen) said : #3

Thanks for the answer! Updating to 0.65 indeed solved the problem.