orsharir / github-mathjax

Chrome extension for rendering LaTeX equations in GitHub with MathJax
Other
153 stars 49 forks source link

Could not load extension icon 'icon16.png' #24

Open lrapetti opened 5 years ago

lrapetti commented 5 years ago

I am trying to install the package from the Chrome Web Store, and I am getting the following error:

Package is invalid. Details: 'Could not load extension icon 'icon16.png'.'.

System: macOS High Serra 10.13.6 browser: Google Chrome Version 70.0.3538.77

mgbeckett commented 5 years ago

Same error on Chromebook / Chrome

orsharir commented 5 years ago

This is odd... I cannot reproduce this error on my own system (macOS Mohave and Chrome 70.0.3538.77). Try to see if you can manually install the package from source (using the development mode).

mgbeckett commented 5 years ago

It works perfectly on� Vivaldi (2.0.1309.29 (Stable channel) (64-bit)), on Windows10� It's difficult to debug on Chromebook because can only access playstore. Not a problem (I only use it on desktop) - was just adding a data point � Thanks for the package! Martin

This is odd... I cannot reproduce this error on my own system (macOS Mohave and Chrome 70.0.3538.77). Try to see if you can manually install the package from source (using the development mode).

--

You are receiving this because you commented.

Reply to this email directly or view it on GitHub:

https://github.com/orsharir/github-mathjax/issues/24#issuecomment-435650043

computersarecool commented 5 years ago

I am getting the same error on Chrome 69.0.3497.100 on a regular laptop (i.e. non chromebook)

yongcongwang commented 5 years ago

same err. chrome Version 70.0.3538.67, ubuntu 16.04 LTS

pengqianggs commented 5 years ago

it worked on my windows chrome, but didn't work and appeared same issue on my linux chromium. I finally resolved by steps below: 1st, git clone the current repository to local path(git clone https://github.com/orsharir/github-mathjax.git); 2nd, open the chrome/chromium extensions page(chrome://extensions), open development mode, and click 'Load unpacked' button to choose the path which configuration file 'manifest.json' is located(path 'github-mathjax' as usual), and the extension is loaded. 3rd, open the github pages which contains MathJax Latex, and testing the result above.

lrapetti commented 5 years ago

Try to see if you can manually install the package from source (using the development mode).

@orsharir I am able to install it from source as explained in the comment above https://github.com/orsharir/github-mathjax/issues/24#issuecomment-438140315

yongcongwang commented 5 years ago

git clone https://github.com/orsharir/github-mathjax.git

it works

aQuaYi commented 5 years ago

same err. ubuntu: 16.04 chrome: 71.0.3578.98(64 bit)

SimonSelg commented 5 years ago

it worked on my windows chrome, but didn't work and appeared same issue on my linux chromium. I finally resolved by steps below: 1st, git clone the current repository to local path(git clone https://github.com/orsharir/github-mathjax.git); 2nd, open the chrome/chromium extensions page(chrome://extensions), open development mode, and click 'Load unpacked' button to choose the path which configuration file 'manifest.json' is located(path 'github-mathjax' as usual), and the extension is loaded. 3rd, open the github pages which contains MathJax Latex, and testing the result above.

If you do this, the unpacked extension has to stay where you loaded it from. A better way:

Maybe this helps someone :)

LEXUGE commented 5 years ago

Any solutions without git clone or hacking?

illucent commented 5 years ago

Hi! Bug report on png icon I suggest to replace it with one scalable for all sizes icon *.svg format. 20190726190134EEST2019_MathJaxPluginforGithubChromeWebStoreChromium

shboy commented 5 years ago

it worked on my windows chrome, but didn't work and appeared same issue on my linux chromium. I finally resolved by steps below: 1st, git clone the current repository to local path(git clone https://github.com/orsharir/github-mathjax.git); 2nd, open the chrome/chromium extensions page(chrome://extensions), open development mode, and click 'Load unpacked' button to choose the path which configuration file 'manifest.json' is located(path 'github-mathjax' as usual), and the extension is loaded. 3rd, open the github pages which contains MathJax Latex, and testing the result above.

If you do this, the unpacked extension has to stay where you loaded it from. A better way:

  • Clone the github repository
  • Go to chrome://extensions/, turn on Developer Mode
  • Click on "pack extension", choose the folder where you cloned github repository to

    • This will create an github-mathjax.crx file
  • Drag the github-mathjax.crx file into google chrome
  • After confirming, the extension is now installed
  • Now delete the cloned github repository and the .crx file, you don't need it anymore!

Maybe this helps someone :)

great! issue fixed by ur way

nschloe commented 4 years ago

This issue prompted me to write my own MathJax extension, Green Pi. It uses teh new MathJax and you can use it on all domains (GitHub and GitLab are the factory settings). You can get it for

(Same code base btw.) I'll be happy about feedback!

TheIrishPizzaGuy commented 3 years ago

I fixed what sounds to be this exact problem idk tho. In my manifest I had 'icon.png' but the file was 'Icon.png', windows doesn't care/throw an error but linux/mac/Chromebook systems will be case sensitive.

Nige12 commented 2 years ago

Thank you SO much TheIrishPizzaGuy, after being completely baffled by some of the above responses. Changing the Case of 1 letter worked for me. You saved me so much time and a lot of hair-pulling!