Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unexpected crx format version number #32

Open
daothithuha2022 opened this issue Jul 16, 2020 · 6 comments
Open

Error: Unexpected crx format version number #32

daothithuha2022 opened this issue Jul 16, 2020 · 6 comments

Comments

@daothithuha2022
Copy link

I tried to evaluate the final version of Block Origin.

  1. Download extension using https://crxextractor.com/ (Because on https://chrome-extension-downloader.com/, when I input the URL of Block Origin. (https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en), It shows the. error: Empty Extension!)

2). Copy path to the ublockOrigin.crx and pass to cli: exthouse MY_EXTENTION.crx --runs=3
It shows error:

Unexpected crx format version number.
Run:
exthouse --help

Do you have any suggestions for me?
Note that, when I used the extension in your folder. (https://github.com/treosh/exthouse/tree/master/extensions), it works ok.
.

@andrzejkaras
Copy link

Hi all,

could I ask too for reviewing that issue? exthouse throws that error for crx3 format in version 1.0.1.

Let us know if it is possible.

Thanks in advance!

@FormerBuckeye
Copy link

Hi all,

I have the same issue here. Wanted to test the performance of my own extension, but it showed the same error.

@andrzejkaras
Copy link

@FormerBuckeye I found a simple workaround. You could use CRX 2 format to pack your extension, it should not affect usability of extension. Then you will be able to use exthouse for tests.

@FormerBuckeye
Copy link

@andrzejkaras Thanks for the solution, but do you know how I can pack it into CRX 2 format? Thx!

@f-kalantari
Copy link

Does anyone know any alternative performance analysis tool for crx3 extension packages?

@rluvaton
Copy link

So looking at the code, we should create a PR to allow getting the root of extension directory and not use unzip-crx which only support version 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants