exthouse icon indicating copy to clipboard operation
exthouse copied to clipboard

Error: Unexpected crx format version number

Open daothithuha2022 opened this issue 5 years ago • 6 comments

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

daothithuha2022 avatar Jul 16 '20 12:07 daothithuha2022

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!

andrzejkaras avatar Aug 05 '20 16:08 andrzejkaras

Hi all,

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

FormerBuckeye avatar Mar 16 '21 19:03 FormerBuckeye

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

andrzejkaras avatar Apr 13 '21 19:04 andrzejkaras

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

FormerBuckeye avatar Apr 13 '21 23:04 FormerBuckeye

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

f-kalantari avatar Sep 19 '21 18:09 f-kalantari

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

rluvaton avatar Oct 28 '23 23:10 rluvaton