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: 44
Popularity: 0.76
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 »

karcher commented on 2023-03-19 12:46 (UTC) (edited on 2023-03-19 12:47 (UTC) by karcher)

I'm getting an error:

Package (1)               Old Version  New Version  Net Change

vscodium-bin-marketplace  1.56.0-7     1.76.0-1       0.00 MiB

Total Installed Size:  0.00 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                        [------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                      [------------------------------------------------------------] 100%
(1/1) loading package files                                                                           [------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                     [------------------------------------------------------------] 100%
:: Processing package changes...
/tmp/alpm_p0F2su/.INSTALL: line 6: /opt/vscodium-bin/resources/app/patch.py: No such file or directory
error: command failed to execute correctly
(1/1) upgrading vscodium-bin-marketplace                                                              [------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Checking which packages need to be rebuilt


Icelk commented on 2023-03-18 21:20 (UTC)

@Perz1val Thank you for the constructive feedback! I just implemented this. Can you please verify everything works as expected now?

Perz1val commented on 2023-03-14 17:26 (UTC)

As of today the package is still partially broken. If vscodium-bin-features touches the file first vscodium-bin-marketplace will corrupt the package.json file. As both are run as hooks when updating vscodium-bin, vscodium-bin-marketplace will find a file that was altered by vscodium-bin-features. I propose to reuse the python code from vscodium-bin-features instead of sed for the purpose of setting marketplace URL. It is a simple solution that will make both packages compatible.

Icelk commented on 2023-02-06 15:20 (UTC)

@sickill Does the same happen if you install vscodium-marketplace first? Maybe an incompatibility between the packages?

I'll investigate further when I get back home.

sickill commented on 2023-02-06 10:44 (UTC)

For me it's vscodium-bin-marketplace breaking the product.json file, not vscodium-bin-features.

When I install vscodium-bin + vscodium-bin-features it starts fine, no error.

When I install vscodium-bin-marketplace on top of that it breaks JSON.

I did diff between product.json for first 2 (vscodium-bin + vscodium-bin-features) and all 3 of them (vscodium-bin + vscodium-bin-features + vscodium-bin-marketplace) and the latter is missing "linkProtectionTrustedDomains": [ above the line with open-vsx.org URL.

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.