wshanks / Zutilo

Zotero plugin providing some additional editing features
Other
1.51k stars 72 forks source link

can´t download xpi file #233

Open henryECU opened 2 years ago

henryECU commented 2 years ago

Hi Please verify release page because this error appear Screenshot_20220720_091715 :

qqobb commented 2 years ago

Please make sure to read through https://github.com/wshanks/Zutilo#installation.

henryECU commented 2 years ago

Yes. I read that document. It says there to download the .xpi file. It is precisely what cannot be done because of the error that I have sent before. Which is a gitHub post. Please correct it.

wshanks commented 2 years ago

The "Note for Firefox Users" section below where @qqobb linked to explains what is going in your screenshot. Firefox is trying to install the file as a Firefox add-on (in the past, Zotero was a Firefox add-on and plugins to Zotero were separate Firefox add-ons, but now Zotero only supports standalone but still uses xpi for its plugins). I have seen the same issue in the past where I could find no way for Firefox not to give me that dialog. That is why the note suggests using curl.

However, at the moment, right-click->"Save as" is working for me using Firefox 102 on Linux. Are you doing that that or are you left-clicking on the xpi link? If I left-click, I get the same dialog as you showed above.

henryECU commented 2 years ago

But the message is from gitHub saying it's a corrupt file. I use Konqueror and there it does not download and no message appears. Perhaps it could be downloaded with another extension, not .xpi, and create a script to change the name once downloaded.

wshanks commented 2 years ago

No, the message is regarding github.com but it is generated by Firefox, not by the GitHub web page itself. The message indicates that Firefox is trying to install Zutilo as a Firefox add-on but Zotero uses an older XPI format that Firefox no longer supports so Firefox says that it is corrupt.

I tried in Konqueror just now. I get a dialog window as shown in this screenshot from which I can select to save the file. Right-clicking and choose "Save Link As..." also works for me in Konqueror.

image

henryECU commented 2 years ago

Yes, konqueror is great. If there were no such problem, more people would download your app.

raffaem commented 2 years ago

Yes, konqueror is great. If there were no such problem, more people would download your app.

@wshanks explained this to you step-by-step, including screenshots.

Please make sure to review the instructions carefully.