wshanks / Zutilo

Zotero plugin providing some additional editing features
Other
1.52k stars 71 forks source link

Install from unreleased unzipped or git fails for Zotero Standalone 4.0.4 #9

Closed acsr closed 11 years ago

acsr commented 11 years ago

The latest commit changing the version check of Zotero during install to "*" is not released. Trying to follow alternate install methods was not successfull.

I used Zotero Standalone 4.0.4 on MacOSX 10.8.2.

The german version came up again with something similar to:

"The Installation failed" "The extension "%S" could not be installed. It may be incompatible with this version of Zotero Standalone."

This using both install methods:

  1. from xpi archive (checked out from github and rezipped)
  2. from local clone (checked out from github and linked via the file in the extension folder).

Hint: this file may be deleted by Mozilla during startup! Take care of a backup before.

Thank you for this product! Waiting for the next release.

Armin

wshanks commented 11 years ago

Hi Armin,

thanks for the information. I tried testing the git source with Zotero Standalone 4.0.4 on OS X 10.8.3.

First, I tried these commands: git clone git://github.com/willsALMANJ/Zutilo.git zip -r zutilo.xpi bootstrap.js chrome.manifest chrome install.rdf and then Tools->Add-ons, Gear menu->Install Add-on from File and selected zutilo.xpi.

This method worked for me. Maybe Zotero Standalone does not like something about the way you zipped the files? Did you possibly leave out a file? Or maybe it didn't like the zip program you used? zip --version shows "This is Zip 3.0 (July 5th 2008), by Info-ZIP."

Then, I tried creating a file with the path to the unzipped folder. Selecting the file from the "Install Add-on from File" dialog gave me the same error as you got. I had never tried to install the extension in Zotero Standalone in this way before, so maybe it is not possible. Had you gotten this to work in the past?

What is your goal for installing Zutilo? Just to get the latest version working with Zotero Standalone, or to find a method of updating from GitHub for the future? Version 1.2.3 at https://addons.mozilla.org/en-US/firefox/addon/zutilo-utility-for-zotero/versions/ is the same as the last commit on GitHub right now, so you could try downloading that .xpi file if you just want to get something installed. I also found that renaming the Zutilo folder cloned from GitHub to "zutilo@www.wesailatdawn.com" and then moving the folder into Zotero Standalone's extensions folder worked for me, so you could also try that.

By the way, I am guessing that you are a native German speaker. I recently translated Zutilo into German. I have studied German, but I am not a native speaker. Would you be interested in proofreading the German translation before I release it? The translation is at http://www.babelzilla.org/index.php?option=com_wts&Itemid=88&language=100&extension=5676&type=filelist2 You have to log in to see it. I'll add the translation to GitHub later on if you want to wait for that, though the BabelZilla site makes it easy to read and edit the translation.

acsr commented 11 years ago

Thanks for the advice, zipping exactly as you explicitly described here, works now! I zipped the whole dir globally. This may had resulted in a subdir in the archive.

Installing via the linking method still fails. This should be also document more explicit.

I just registered at babelzilla and checked and corrected around one half of the readme. But saving back needs some diving into babelzilla (not intuitive). Hopefully I find time next week.

Thanks for all your work!

Armin

wshanks commented 11 years ago

Great, I am glad it works for you now.

I updated the readme instructions about the installation on BabelZilla (not GitHub yet, I'll do that in a minute). I think you should be able to click on the locale files on the Babelzilla site and type/paste the text directly into text boxes. If that's too annoying, I can upload the locales as a separate GitHub branch that you can make a pull request for, if that's easier.