Package Details: vscodium-bin-marketplace 1.76.0-1

Git Clone URL: https://aur.archlinux.org/vscodium-bin-marketplace.git (read-only, click to copy)
Package Base: vscodium-bin-marketplace
Description: Enable vscode marketplace in vscodium-bin
Upstream URL: https://marketplace.visualstudio.com/vscode
Licenses: unknown
Submitter: sperg512
Maintainer: Icelk
Last Packager: Icelk
Votes: 40
Popularity: 0.65
First Submitted: 2020-12-04 13:48 (UTC)
Last Updated: 2023-03-18 21:20 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Pinned Comments

Icelk commented on 2022-08-02 09:36 (UTC) (edited on 2023-02-13 15:26 (UTC) by Icelk)

This package should not be marked as out of date unless it stops working. If that's the case, proving a diff to get it working is hugely appreciated. See the latest comments for potential solutions and conversation regarding the issue.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

Icelk commented on 2023-01-29 00:29 (UTC)

@bkb That seems consistent with my theory: vscodium-bin-features breaks the file. Even if you uninstall it, the damage is done to product.json. So when you re-install vscodium-bin, the file is replaced with a correct one.

If you were to run paru -Sy vscodium-bin vscodium-bin-marketplace; codium, everything should be fine. Please tell them to fix their package, as I don't have any control over it. Installing vscodium does nothing in your example below (except to remove vscodium-bin, but since you're installing it, paru will replace all it's files either way).

bkb commented on 2023-01-27 06:34 (UTC) (edited on 2023-01-27 06:54 (UTC) by bkb)

The dependency cycle asked me to delete vscodium-bin-marketplace first, then vscodium-bin-features, then last vscodium-bin. After that I was able to install vscodium. But from what I remember, the software couldn't run as long as the file wasn't right (hence the error), and un/installing things didn't changed that file at all, so same result.I could only forcefully delete it to hope it to dissapear. But no luck, upon re downloading, same file, exactly. And I installed vscodium And the product.json has finally changed (different place, different hash). But before that, whatever how many times I deleted the file, it re downloaded/created the same flawed one Same hash upon re-downloading, so it's the right one\n\nWith only vscodium e9b562813f694221194afa56b04d31f8 /usr/share/vscodium/resources/app/product.json, and it works

For now

$ paru -Sy vscodium-bin vscodium-bin-marketplace vscodium-bin-features; codium 
node:internal/modules/cjs/loader:1190
    throw err;
    ^

SyntaxError: /opt/vscodium-bin/resources/app/product.json: Unexpected token e in JSON at position 2976
    at parse (<anonymous>)
    at Module._extensions..json (node:internal/modules/cjs/loader:1187:22)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/opt/vscodium-bin/resources/app/out/cli.js:4:9247)
    at Module._compile (node:internal/modules/cjs/loader:1118:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47
$ paru -R vscodium-bin-marketplace vscodium-bin-features; paru -Sy vscodium; paru -Sy vscodium-bin vscodium-bin-marketplace; codium
*opens*
$ paru -Sy vscodium-bin-features; codium
node:internal/modules/cjs/loader:1190
    throw err;
    ^

SyntaxError: /opt/vscodium-bin/resources/app/product.json: Unexpected token e in JSON at position 2976
    at parse (<anonymous>)
    at Module._extensions..json (node:internal/modules/cjs/loader:1187:22)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/opt/vscodium-bin/resources/app/out/cli.js:4:9247)
    at Module._compile (node:internal/modules/cjs/loader:1118:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47
$ paru -R vscodium-bin-features; codium
node:internal/modules/cjs/loader:1190
    throw err;
    ^

SyntaxError: /opt/vscodium-bin/resources/app/product.json: Unexpected token e in JSON at position 2966
    at parse (<anonymous>)
    at Module._extensions..json (node:internal/modules/cjs/loader:1187:22)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/opt/vscodium-bin/resources/app/out/cli.js:4:9247)
    at Module._compile (node:internal/modules/cjs/loader:1118:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47
$ paru -R vscodium-bin-marketplace; paru -Sy vscodium; paru -Sy vscodium-bin vscodium-bin-marketplace; codium
*opens*

Icelk commented on 2023-01-27 06:13 (UTC)

Sorry, I misunderstood. I'll (hopefully) investigate further later today. What happens if you install just vscodium-bin and vscodium-bin-marketplace (without vscodium-bin-features)?

bkb commented on 2023-01-26 20:03 (UTC)

No I can't because, I quote: I uninstalled * vscodium-bin-features

Yeah I know, like I said (different place, *different hash*), and before that e736b35e8f673fcabbe561016c4daa5d /opt/vscodium-bin/resources/app/product.json [...] e9b562813f694221194afa56b04d31f8 /usr/share/vscodium/resources/app/product.json

Icelk commented on 2023-01-26 19:31 (UTC)

OK. Can you try uninstalling vscodium-bin-features? I'm not a maintainer of that package, hence can I not guarantee compatibility.

When you install vscodium, it's product.json isn't modified: this modifies /opt/vscodium, not /usr/share/vscodium. So neither this nor vscodium-bin-features do anything to the vscodium product.json.

bkb commented on 2023-01-26 16:22 (UTC) (edited on 2023-01-26 16:26 (UTC) by bkb)

I uninstalled

  • vscodium-bin-features

  • vscodium-bin-marketplace

  • vscodium-bin

And I installed vscodium

And the product.json has finally changed (different place, different hash). But before that, whatever how many times I deleted the file, it re downloaded/created the same flawed one

I would like to return to bin family because it's faster to install, but these package need to correct the flaw before (maybe by apllying what some people has suggested over the 3 packages comments)

I've just repeated here exactly my 2 last sentences but with more words (Same hash upon re-downloading, so it's the right one\n\nWith only vscodium e9b562813f694221194afa56b04d31f8 /usr/share/vscodium/resources/app/product.json, and it works)

Icelk commented on 2023-01-26 15:44 (UTC)

@bkb Yes, I am aware. It however doesn't seem like an issue with the stock product.json. I also cannot replicate when installing fresh.

Do you have any other packages which might interfere with the product.json?

bkb commented on 2023-01-23 07:35 (UTC)

@Icelk https://aur.archlinux.org/packages/vscodium-bin#comment-898054

Icelk commented on 2023-01-22 20:53 (UTC)

@bkb @quick0831 I just tried to install this package (fresh install, since I don't use VSCodium, the package I maintain...) and the product.json at /opt/vscodium-bin/resources/app/product.json is valid and VSCodium loads. We semi-recently moved the install from /usr/share to /opt, so deleting the files at /usr/share/vscodium might help :)

@bkb it however looks like your /opt/vscodium-bin/resources/app/product.json is broken. Try uninstalling this and vscodium-bin and then deleting /opt/vscodium-bin.

bkb commented on 2023-01-20 17:06 (UTC) (edited on 2023-01-22 12:27 (UTC) by bkb)

@quick0831 I don't see really much duplicate. Can you elaborate on what to do?

Can you give the right file

Or Icelk, can you apply the needed thing?