Problem installing #5

Closed
sdspieg opened this Issue Sep 16, 2012 · 5 comments

2 participants

@sdspieg

This looks like a fantastic plugin, except for that I seem unable to install it under the latest versions of Zotero. In Firefox I get the following error: "paper machines could not be installed bacause Firefox cannot modify the needed file". and in the latest version of the standalone, it says "The add-on "Paper Machines" could not be installed. It may be incompatible with this version of Zotero standalone". Any ideas?

@sdspieg

I have tried multiple solutions proposed for similar issues with other extensions (changing the extensions.allow.unpack line in about:config, making a shorter folder path), but I still keep getting the same error message.
Here's what the error console gives me:
services.addons.mozilla.org : server does not support RFC 5746, see CVE-2009-3555
Timestamp: 9/16/2012 6:35:38 PM
Error: ERROR addons.xpi: extractFiles: failed to create target directory for extraction file = C:\Mozilla profiles\extensions\staged\papermachines@chrisjr.org\chrome\content\papermachines\processors\aux: [Exception... "Component returned failure code: 0x8052000c (NS_ERROR_FILE_NOT_DIRECTORY) [nsIFile.create]" nsresult: "0x8052000c (NS_ERROR_FILE_NOT_DIRECTORY)" location: "JS frame :: resource:///modules/XPIProvider.jsm :: extractFiles :: line 1045" data: no]
Source File: resource:///modules/XPIProvider.jsm
Line: 1045
Timestamp: 9/16/2012 6:35:38 PM
Warning: WARN addons.xpi: Failed to install: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIZipReader.extract]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource:///modules/XPIProvider.jsm :: extractFiles :: line 1061" data: no]
Source File: resource:///modules/XPIProvider.jsm
Line: 1061

@sdspieg

Still looking into this - I wasn't able to create an 'aux' folder normally either (windows won't let you). So I created it manually in a dos-prompt (md aux), which did work. I then try to install the xpi file again and get the same problem again:
Timestamp: 9/16/2012 9:45:08 PM
Error: ERROR addons.xpi: extractFiles: failed to create target directory for extraction file = C:\Mozilla profiles\extensions\staged\papermachines@chrisjr.org\chrome\content\papermachines\processors\aux: [Exception... "Component returned failure code: 0x8052000c (NS_ERROR_FILE_NOT_DIRECTORY) [nsIFile.create]" nsresult: "0x8052000c (NS_ERROR_FILE_NOT_DIRECTORY)" location: "JS frame :: resource:///modules/XPIProvider.jsm :: extractFiles :: line 1045" data: no]
Source File: resource:///modules/XPIProvider.jsm
Line: 1045

@corajr

The problem appears to be with the naming of the directory as "aux," since it is a reserved word in Windows. I have corrected this in the latest version (0.1.7) -- please try again and see if you are able to install.

@sdspieg

Wow! That one works! Thanks Chris! I'm now extracting a small corpus of 150 pdfs. I first saw a progress bar in the Zotero bottom pane in Firefox and then another one in the top pane which said 'Extracting IR-EBSCO-Peer' (the name of the Zotero subcollection I was playing with). After that was done, It said 'Extracted 152 out of 157. This window can now be closed'. I just clicked on another library and went back into the one I was working with and sure enough - all other functions were now no longer greyed out! This is all pretty amazing! I can't wait to play some more with this. BTW - where would be the best place to ask questions about all of this? The Zotero forum?

@corajr

It's fine to post questions on here or on the Zotero forum, although I may not see them immediately on the latter. Feel free to add new issues as things come up, or to e-mail me directly.

In answer to your original question, you can go to Word Clouds -> Multiple Word Clouds -> Word Clouds by Time Interval and enter the time interval, which for 5 year spans would be 365 * 5 = 1825.

Also, to clarify, the "Word Clouds by Time Interval" variants are as follows: the plain variety (raw word frequencies), tf*idf filtering (eliminates some words that are extremely common across the corpus), Dunning's log-likelihood (gives the words that are most distinctive for each time span), and Mann-Whitney U (similar to Dunning's, but hasn't given me good results in tests; perhaps there is a bug in the implementation).

I'll update the wiki to contain more detailed instructions for various tasks as they come up.

@corajr corajr closed this Sep 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment