Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] Qnotero in Ubuntu Precise

edited January 2014 in Miscellaneous

Hi!

I just discovered Qnotero and I am using it in Ubuntu Precise with Firefox 10.0 and Zotero 3.0rc1. Unfortunately, there seems to be an issue (probably regarding the new Zotero version?): When searching for a term, I get no results, but this traceback:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/libqnotero/qnoteroQuery.py", line 74, in search
    self.qnotero.search(setFocus=False)     
  File "/usr/lib/pymodules/python2.7/libqnotero/qnotero.py", line 241, in search
    zoteroItemList = self.zotero.search(query)      
  File "/usr/lib/pymodules/python2.7/libzotero/libzotero.py", line 288, in search
    if item.match(terms):                   
  File "/usr/lib/pymodules/python2.7/libzotero/zotero_item.py", line 149, in match
    if not match and self.title != None and term_type in term_title and term in self.title.lower():
AttributeError: 'int' object has no attribute 'lower'

Besides that, I also have window focus issues, which I could solve using the framed theme, as suggested.

What came to my mind: Wouldn’t it make sense to make a Qnotero Lens for Unity? I guess it could share most of the code with the standalone version, but simple drop its own interface in favor of a Unity lens. Probably both UIs could easily live side-by-side and share a common core. What do you think?

Comments

  • edited 12:16PM

    Hi Frederik,

    Thanks for taking the time to report this! This bug has already been fixed, but is not yet available in a release. It occurs when a title or a publication title, somewhere in your database, is a number.

    For now, you could try downloading the latest snapshot from GitHub? You can find it here: https://github.com/smathot/qnotero/downloads. To install it, extract the archive somewhere and type:

    sudo python setup.py install

    Regarding a Unity lens. I agree it would be a useful addition for many users, but I probably won't get around to making one. The reason is that I simply am too busy, so I don't want to take on another project at the moment. But if anybody is interested in making one, the zotero bindings that I made for Qnotero will probably come in handy.

    And regarding the focus issue under Unity (and some other Linux window managers). It's bugging the hell out of me, but I just can't seem to get it fixed!

    Cheers,
    Sebastiaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

Sign In or Register to comment.