github-mathjax icon indicating copy to clipboard operation
github-mathjax copied to clipboard

Could not load extension icon 'icon16.png'

Open lrapetti opened this issue 7 years ago • 16 comments

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

lrapetti avatar Oct 31 '18 08:10 lrapetti

Same error on Chromebook / Chrome

mgbeckett avatar Nov 04 '18 00:11 mgbeckett

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).

orsharir avatar Nov 04 '18 07:11 orsharir

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

mgbeckett avatar Nov 04 '18 15:11 mgbeckett

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

computersarecool avatar Nov 05 '18 07:11 computersarecool

same err. chrome Version 70.0.3538.67, ubuntu 16.04 LTS

yongcongwang avatar Nov 08 '18 05:11 yongcongwang

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.

pengqianggs avatar Nov 13 '18 05:11 pengqianggs

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

lrapetti avatar Nov 13 '18 08:11 lrapetti

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

it works

yongcongwang avatar Nov 13 '18 08:11 yongcongwang

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

aQuaYi avatar Dec 15 '18 05:12 aQuaYi

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 :)

SimonSelg avatar Feb 12 '19 22:02 SimonSelg

Any solutions without git clone or hacking?

LEXUGE avatar Apr 11 '19 11:04 LEXUGE

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

illucent avatar Jul 26 '19 16:07 illucent

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

shboy avatar Aug 25 '19 03:08 shboy

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!

nschloe avatar Apr 08 '20 12:04 nschloe

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.

TheIrishPizzaGuy avatar Mar 24 '21 20:03 TheIrishPizzaGuy

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!

Nige12 avatar Jul 10 '22 12:07 Nige12