Howdy, Stranger!

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

Supported by

[solved] doesn't work!

edited December 2011 in Miscellaneous

Dear Sebastiaan.
I am using Ubuntu 11.04. Downloaded and installed Qnotero. It opens correctly but doesn't react when I type a search term. So, I tried something: I changed the information on Preferences-Zotero folder and took off the Zotero foler, i.e., I left /home/user/.mozilla/firefox/profile.default. Now Qnotero reacts, that is, it seraches and yields "No results for..." So, my conclusion is that something breaks Qnotero when it looks inside my Zotero folder. I changed the info in Preferences-Zotero folder to the placement of a link I have to this folder which I keep on Dropbox. Same problem. So, the problem is really with something in my Zotero folder. I am using 3.04b (on Firefox). Any help would be really appreciated!
Thanks,
Ur

Comments

  • edited November 2011

    Hi Shlonksy,

    Thank you for your interest in Qnotero!

    In the preferences folder, you need to select the Zotero folder (the folder that contains zotero.sqlite, not the Firefox profile folder). If you are sure that you have selected the correct folder, and Qnotero still doesn't work, could you perhaps start 'qnotero' from a terminal and post the terminal output here?

    Kindest regards,
    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

  • edited 2:21PM

    Hi Sebastiaan,

    Thanks so much for your rapid response. The zotero.sqlite file is in my Zotero folder which is in my profile folder in Firefox. There is also a link to that folder on Dropbox. Curiously, when I do a search on Nautilus, it is the Dropbox copy that shows up, not the one in .mozilla/firefox. I don't know if this is relevant to my problem. Here is what I get when I start Qnotero from a terminal:

    ur@ur-toshiba-laptop:~$ qnotero
    libqnotero._themes.default.init(): using '/usr/share/qnotero/resources/default'
    qnotero.reInit(): using GnoteProvider
    libgnote.init(): failed to locate Gnote
    libzotero.init(): zotero_path = /home/ur/.mozilla/firefox/ne03hfc3.default/zotero
    libzotero.update(): indexing completed in 0.451s
    'int' object has no attribute 'lower'
    qnotero.updateCheck(): opening http://files.cogsci.nl/software/qnotero/MOST_RECENT_VERSION.TXT
    qnotero.updateCheck(): most recent version is 0.47

    Thanks for your help and best wishes.
    Ur

  • edited 2:21PM

    Hi Ur,

    Hmmm, something goes wrong while indexing the Zotero database. My best guess is that some entry has a funky date, but I'm not sure how and why. If I may bother you some more, one of the following would be very helpful:

    • The output when running 'qnotero --notry' (should have asked this in the first place, sorry!)

    • Your zotero.sqlite file (but I understand that you might not like to share this, no pressure)

    Kindest regards,
    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

  • edited November 2011

    Hi Sebastiaan,
    Here is qnotero --notry. I sent my squlite (as a zip file) to your email.
    Best regards,
    Ur


    shlonsky@Linux-Land707:~$ qnotero --notry
    libqnotero._themes.default.init(): using '/usr/share/qnotero/resources/tango'
    qnotero.reInit(): using GnoteProvider
    libgnote.init(): failed to locate Gnote
    libzotero.init(): zotero_path = /home/shlonsky/.mozilla/firefox/q19hhyyj.default/zotero
    libzotero.update(): indexing completed in 0.801s
    Traceback (most recent call last):
    File "/usr/bin/qnotero", line 44, in
    qnotero = Qnotero(systray=systray, debug=True, reset=reset)
    File "/usr/lib/pymodules/python2.7/libqnotero/qnotero.py", line 55, in init
    self.reInit()
    File "/usr/lib/pymodules/python2.7/libqnotero/qnotero.py", line 186, in reInit
    self.zotero = LibZotero(getConfig("zoteroPath"), self.noteProvider)
    File "/usr/lib/pymodules/python2.7/libzotero/libzotero.py", line 115, in init
    self.search("dummy")
    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'


  • edited December 2011

    [resuming from e-mail]

    Thanks for the zotero.sqlite! I just committed a fix. I will iron out some other kinks as well, before releasing 0.48, but until that time you could download the latest code (including the fix) from github.

    https://github.com/smathot/qnotero/

    The problem appeared to be that one of the titles in the database was purely numeric (I don't know which one, but you might know), which caused a problem when converting it to lowercase.

    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

  • edited 2:21PM

    Dear Sebastiaan,
    It now works perfectly! Thanks a million.
    Ur

Sign In or Register to comment.