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

Not work on zim 0.70

Open s3rgi opened this issue 6 years ago • 4 comments
trafficstars

I had it installed with version 0.69 and it worked perfectly, after updating to version 0.70 it was not loaded into the list of plugins.

s3rgi avatar Apr 04 '19 06:04 s3rgi

I guess that means I'm falling behind... this is rather important.

Osndok avatar Apr 05 '19 13:04 Osndok

Check #14. It might work for you.

domnpp avatar Apr 28 '19 09:04 domnpp

thanks domenn! but I'm afraid it does not work, when I use the "log entry" menu python shows this error:

This is zim 0.70
Platform: posix
Locale: ca_EN UTF-8
FS encoding: utf-8
Python: (3, 7, 3, 'end', 0)
PyGObject: (3, 32, 1)

======= Traceback =======
   File "/usr/lib/python3.7/site-packages/zim/actions.py", line 115, in do_activate
     self .__ get __ (instance, instance .__ class __) ()
   File "/usr/lib/python3.7/site-packages/zim/actions.py", line 98, in func
     return self.func (instance, * args, ** kwargs)
   File "/home/s3rgi/.local/share/zim/plugins/nowbutton.py", line 124, in now_button_clicked
     page.set_parsetree (parsetree)
   File "/usr/lib/python3.7/site-packages/zim/notebook/page.py", line 588, in set_parsetree
     raise PageReadOnlyError (self)
NameError: name 'PageReadOnlyError' is not defined

Edit: ok, when I restart zim for second time (after changed preferences) it works !

regards !

s3rgi avatar May 04 '19 10:05 s3rgi

@s3rgi I patched this up, but I have a newer version of ZIM.

gutierri avatar Jul 21 '19 22:07 gutierri