Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Insert citation" stopped working #6

Open
sojusnik opened this issue Mar 2, 2016 · 5 comments
Open

"Insert citation" stopped working #6

sojusnik opened this issue Mar 2, 2016 · 5 comments

Comments

@sojusnik
Copy link

sojusnik commented Mar 2, 2016

When trying to insert a citation (Ctrl+Shift+c), the following appears:

This is zim 0.65
Platform: posix
Locale: de_AT UTF-8
FS encoding: UTF-8
Python: (2, 7, 10, 'final', 0)
Gtk: (2, 24, 28)
Pygtk: (2, 24, 0)
No bzr version-info found

======= Traceback =======
File "/usr/lib/pymodules/python2.7/zim/actions.py", line 149, in do_activate
self.get(instance, instance.class)()
File "/usr/lib/pymodules/python2.7/zim/actions.py", line 132, in func
self.func(instance, _args, *_kwargs)
File "/home/sojusnik/.local/share/zim/plugins/zim-mendeley-plugin-master/init.py", line 177, in insert_citation
buffer = self.window.ui.mainwindow.pageview.view.get_buffer()
AttributeError: 'GtkInterface' object has no attribute 'mainwindow'

Happens with the recent version of your plugin and Mendeley 1.16 under Ubuntu Gnome 15.10.

Would be nice to have your very useful plugin working again.

All the best!

@grahamrow
Copy link
Owner

Interesting. Looks like some API or another has changed — I'll try to take a look soon, thanks for pointing this out.

@sojusnik
Copy link
Author

Are there any news regarding this issue?

@sojusnik
Copy link
Author

sojusnik commented Mar 6, 2017

ping

@grahamrow
Copy link
Owner

Apologies, I don't ever use zim anymore, nor can I get it to even launch on macOS Sierra. But, my blind attempt at a fix can be found on the fix/ui-issues branch — let me know if that works.

@sojusnik
Copy link
Author

The fix in the new branch is indeed working, thanks! But after clicking on the link in Zim, the linked document isn't highlighted in Mendeley anymore. Documents from one author and year are therefore hard to differentiate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants