zim-plugin-nowbutton icon indicating copy to clipboard operation
zim-plugin-nowbutton copied to clipboard

Dependency: Journal Plugin

Open jonniestuefer opened this issue 6 years ago • 1 comments

Hi!

I just installed the nowbutton.py script, enabled it, pressed the button and got the following error message:

This is zim 0.68
Platform: nt
Locale: en_GB cp1252
FS encoding: mbcs
Python: (2, 7, 14, 'final', 0)
Gtk: (2, 24, 10)
Pygtk: (2, 24, 0)
No bzr version-info found

======= Traceback =======
  File "zim\actions.pyo", line 157, in do_activate
  File "zim\actions.pyo", line 140, in func
  File "C:\Users\jw\AppData\Roaming\zim\data\zim\plugins\nowbutton.py", line 77, in now_button_clicked
  File "zim\utils\__init__.pyo", line 232, in __getitem__
KeyError: 'namespace'

I didn't have the Journal plugin enabled. After enabling it, everything worked correctly. I think the Journal plugin should be listed as a dependency.

Best,

Jonnie

jonniestuefer avatar Mar 05 '19 07:03 jonniestuefer

Thanks for the report, jonniestuefer. It might be a while until I can get around to this, but good catch!

Osndok avatar Mar 05 '19 14:03 Osndok