Zotero Quicklook won't work

I don’t know of the add on only allows you to view pdf files because when I use the space bar to view the web page snapshots nothing happens (but then again I have no pdf files stored so it just doesn't work). I made sure that the about:config setup was directed to macomfort (I don’t know whether you need the paid version for it to work) and I am running it on Firefox 5.0 on a Windows 7 32 bit operating system if that helps. I am pretty new at using something like zotero so bear with me :)
  • I don't think snapshots ever worked with quicklook, no. but websites open so quickly from within FIrefox that it wouldn't be worth it anyway, especially on windows where quicklook is rather slow.
  • @adamsmith: No, this should work with pdf or html snapshots.
    I'm on Win 7 32, FF 5.0.1, Z 2.1.8
  • Which versions of macomfort and zoteroquicklook are you using.

    Also, you can run zotero with debug output on (http://www.zotero.org/support/debug_output) and post all lines that start with ZoteroQuickLook and all lines around them here.

    See this thread for examples: http://forums.zotero.org/discussion/11441/2/new-plugin-zoteroquicklook/
  • I am using macomfort 1.6.1.0 and quicklook 1.2.0
    I have the debug ID that it gave me from the link that you posted for me here:
    The Debug ID is D744889045.

    Also I see in the tutorials for zotero that pdf files are used. Is there any way to convert the snapshots to pdf?
  • mronkko doesn't have access to the debug from the server, that's why he asks you to "post all lines that start with ZoteroQuickLook.

    Zotero doesn't allow you to convert snapshots to pdfs. There's a Firefox plugin that con do that, but the quality varies a lot and it's probably not worth it - there is nothing wrong with snapshots.
  • @adamsmith: I think the plugin was PDF it, and I do agree with you that's why I got rid of it lol. Here is the lines of code

    (3)(+0256679): Setting mode to 'edit'

    (3)(+0000000): Refreshing attachment box

    (5)(+0000002): SELECT indexedPages, totalPages AS total FROM fulltextItems WHERE itemID=?

    (5)(+0000000): Binding parameter 1 of type int: 19

    (2)(+0000001): Attachment file 'C:\Users\Tzaddikum\Desktop\W6A3 Sources\Neurology\Neurologic Diseases MedlinePlus.mht' not found

    (5)(+0000001): SELECT indexedChars, totalChars AS total FROM fulltextItems WHERE itemID=?

    (5)(+0000000): Binding parameter 1 of type int: 19

    (5)(+0000001): SELECT indexedChars, totalChars AS total FROM fulltextItems WHERE itemID=?

    (5)(+0000000): Binding parameter 1 of type int: 19

    (3)(+0000001): setting links on top

    (5)(+0000005): SELECT key FROM itemAttachments A JOIN items B ON (A.sourceItemID=B.itemID) WHERE A.itemID=?

    (5)(+0000000): Binding parameter 1 of type int: 19

    (3)(+0000000): Reloading tags

    (5)(+0000001): SELECT tagID, name FROM tags WHERE tagID IN (SELECT tagID FROM itemTags WHERE itemID=?)

    (5)(+0000000): Binding parameter 1 of type int: 19

    (5)(+0000001): SELECT tagID, name FROM tags WHERE tagID IN (SELECT tagID FROM itemTags WHERE itemID=?)

    (5)(+0000000): Binding parameter 1 of type int: 19

    (5)(+0000001): SELECT itemID FROM itemSeeAlso WHERE linkedItemID=?

    (5)(+0000000): Binding parameter 1 of type int: 19

    (5)(+0000001): SELECT itemID FROM itemSeeAlso WHERE linkedItemID=?

    (5)(+0000000): Binding parameter 1 of type int: 19

    (3)(+0000000): Refreshing note editor

    (3)(+0000007): Textbox value hasn't changed

    (3)(+0002701): ZoteroQuickLook opening viewer

    (3)(+0000259): Setting mode to 'edit'

    (3)(+0000001): Refreshing attachment box

    (5)(+0000001): SELECT indexedPages, totalPages AS total FROM fulltextItems WHERE itemID=?

    (5)(+0000000): Binding parameter 1 of type int: 20
  • On my Mac ZoteroQuickLook shows just about any file (pdf, web page, word document etc.) in the quicklook window. I just tested that the current version has no problems with showing web page snapshots on Windows.

    Only the lines that start with ZoteroQuickLook are relevant for troubleshooting. If there are no lines that contain ZoteroQuickLook in the log, that means that the plugin is either not installed or not active.
  • Well I thought I found the problem when I found that for the items in my library zotero couldn't locate them but when I tried by adding a new file and seeing if I can view it it still didn't show. Here are the zotero quicklook lines of code

    (3)(+0000000): ZoteroQuickLook opening viewer

    (3)(+0000365): ZoteroQuickLook opening viewer

    (3)(+0000268): ZoteroQuickLook opening viewer

    (3)(+0003509): ZoteroQuickLook loading

    (3)(+0000004): ZoteroQuickLook loaded

    (3)(+0000009): ZoteroQuickLook loading

    (3)(+0000005): ZoteroQuickLook loaded

    (3)(+0000408): ZoteroQuickLook starts init

    (3)(+0000001): ZoteroQuickLook finished init
  • These do not seem to be in order because init should always be first.

    Can you post around ten lines before and after one of the "ZoteroQuickLook opening viewer" This way all possible error messages will be included.
  • Here is the lines of code from start to finish

    (3)(+0000000): ZoteroQuickLook opening viewer

    (3)(+0000303): ZoteroQuickLook opening viewer

    (3)(+0004063): Getting Zotero sync password

    (5)(+0000004): SELECT COUNT(*) FROM fulltextItems WHERE (indexedPages IS NOT NULL AND indexedPages=totalPages) OR (indexedChars IS NOT NULL AND indexedChars=totalChars)

    (5)(+0000000): SELECT COUNT(*) FROM fulltextItems WHERE (indexedPages IS NOT NULL AND indexedPages<totalPages) OR (indexedChars IS NOT NULL AND indexedChars<totalChars)

    (5)(+0000001): SELECT COUNT(*) FROM itemAttachments WHERE itemID NOT IN (SELECT itemID FROM fulltextItems WHERE indexedPages IS NOT NULL OR indexedChars IS NOT NULL)

    (5)(+0000000): SELECT COUNT(*) FROM fulltextWords

    (3)(+0000102): DATE: retrieved with algorithms: ({year:2010, month:0, day:27})

    (3)(+0000001): DATE: retrieved with algorithms: ({year:2010, month:6, day:26})

    (3)(+0000001): DATE: retrieved with algorithms: ({year:2010, month:6, day:26})

    (3)(+0000000): DATE: retrieved with algorithms: ({year:2010, month:2, day:15})

    (3)(+0000001): DATE: retrieved with algorithms: ({year:2009, month:11, day:4})

    (3)(+0000000): DATE: could not apply algorithms

    (3)(+0000002): DATE: retrieved with algorithms: ({year:2010, month:7, day:25})

    (3)(+0000001): DATE: retrieved with algorithms: ({year:2009, month:11, day:15})

    (3)(+0000001): DATE: retrieved with algorithms: ({year:2008, month:4, day:13})

    (3)(+0000000): DATE: retrieved with algorithms: ({year:2009, month:10, day:10})

    (3)(+0000002): DATE: retrieved with algorithms: ({year:2009, month:8, day:13})

    (3)(+0000000): DATE: retrieved with algorithms: ({year:2008, month:8, day:16})

    (3)(+0000021): Translate: WARNING: new Zotero.Translate() is deprecated; please don't use this if you don't have to

    (3)(+0000000): Translate: Searching for translators for an undisclosed location

    (5)(+0000002): SELECT key AS domainPath, value AS format FROM settings WHERE setting='quickCopySite' ORDER BY domainPath COLLATE NOCASE

    (3)(+0002651): ZoteroQuickLook loading

    (3)(+0000004): ZoteroQuickLook loaded

    (3)(+0000009): ZoteroQuickLook loading

    (3)(+0000006): ZoteroQuickLook loaded

    (4)(+0000795): Registering observer for [collection,search,share,group,bucket] in notifier with hash Uu'

    (5)(+0000004): SELECT itemTypeID AS id, typeName AS name, custom FROM itemTypesCombined WHERE display=2

    (5)(+0000002): SELECT itemTypeID AS id, typeName AS name, custom FROM itemTypesCombined WHERE display=1

    (3)(+0000359): ZoteroQuickLook starts init

    (3)(+0000002): ZoteroQuickLook finished init
  • It should not be possible for the the plugin to attempt to open the viewer before it has been initialized.

    Am I correct that the plugin does not work at all for you? Do you see the Quick Look context menu item when you right click on an attachment?

    One thing that you might try is to create a new firefox profile and install only Zotero and ZoteroQuickLook and then test if it works for the "Getting started" item.
  • Yes you are correct it doesn't work at all. I do see it when I right click it. I will give the new profile.
  • Also, you should ensure that the value of "extensions.zoteroquicklook.customviewcommand" is empty in about:config
  • I created a new profile and that did the trick. I will check to make sure that the customviewcommand is empty.
  • Please let me know if the customviewcommand was not empty in the original profile. If it caused the behavior that you observed, it is a bug and needs to be fixed.
  • Problem Solved. I was a couple of problems. Quicklook works fine but I found out that my entries in Zotero couldn't be located and hence I couldn't view them in quicklook. Before I knew that I changed the customviewcommand and per what you said that is what caused it to stop working. When I returned the command back to being empty and put a test page in there to view it worked like a charm. It was klutz work on my end and I thank you very much for helping me fix this. It is a great plugin, bug free so far for me, it was my invalid entries in Zotero plus changing the customviewcommand that messed me up.
  • Actually, the plugin has a check that the customviewcommand setting is valid. However, I had never tested this and there actually was a bug. Your problem helped me find this bug, so thanks.
  • Righteous, this helped a great add on become even better!

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.