@xereda, something must have gone wrong with your download which corrupted the file. Delete it and try again.
$ sha256sum code_x64_1.31.1.tar.gz
154a316eb6785c126e2fccd80a5c76291321ca2d6945e7a2a13f2e262be89bde code_x64_1.31.1.tar.gz
Git Clone URL: | https://aur.archlinux.org/visual-studio-code-bin.git (read-only, click to copy) |
---|---|
Package Base: | visual-studio-code-bin |
Description: | Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version) |
Upstream URL: | https://code.visualstudio.com/ |
Licenses: | custom: commercial |
Conflicts: | code |
Provides: | code, vscode |
Submitter: | dcelasun |
Maintainer: | dcelasun |
Last Packager: | dcelasun |
Votes: | 1480 |
Popularity: | 17.37 |
First Submitted: | 2017-12-18 19:14 (UTC) |
Last Updated: | 2024-12-20 03:54 (UTC) |
« First ‹ Previous 1 .. 36 37 38 39 40 41 42 43 44 45 46 .. 78 Next › Last »
@xereda, something must have gone wrong with your download which corrupted the file. Delete it and try again.
$ sha256sum code_x64_1.31.1.tar.gz
154a316eb6785c126e2fccd80a5c76291321ca2d6945e7a2a13f2e262be89bde code_x64_1.31.1.tar.gz
Getting the following error while upgrading from 1.30.2-1 -> 1.31.0-2
(OK):download completed.
mv: cannot stat '/tmp/yaourt-tmp-munim/aur-visual-studio-code-bin/stable': No such file or directory
-> Found visual-studio-code.desktop
-> Found visual-studio-code-url-handler.desktop
==> Validating source_x86_64 files with sha256sums...
code_x64_1.31.0.tar.gz ... NOT FOUND
visual-studio-code.desktop ... Passed
visual-studio-code-url-handler.desktop ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build visual-studio-code-bin.
==> Restart building visual-studio-code-bin ? [y/N]
@dcelasun thanks for your suggestion! I wanted to try this right now, but the new version 1.31.0-2 works great, so it's solved for me. Thanks again!
https://github.com/Microsoft/vscode/pull/65744/files In 1.31.0. gconf no longer needs.
@Donjogi, can you try code --disable-gpu
and see if it helps?
I tried to install visual-studio-code-bin today freshly with yay on KDE Plasma 5.14.5. On startup the app crashes before showing a window with the following stacktrace. I double-checked the current "code" arch package which works out of the box.
Any hint if I can solve this by myself?
$ code --verbose
[21302:0204/194114.705115:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process.
[main 7:41:14 PM] Sending env to running instance...
[main 7:41:14 PM] [ 'TypeError: Cannot read property \'call\' of undefined',
' at e.onPromise (/opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:191:666)',
' at e.onRawMessage (/opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:191:326)',
' at /opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:190:769',
' at e.fire (/opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:123:512)',
' at a (/opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:200:948)',
' at Socket._socketDataListener (/opt/visual-studio-code/resources/app/out/vs/code/electron-main/main.js:201:153)',
' at emitOne (events.js:116:13)',
' at Socket.emit (events.js:211:7)',
' at addChunk (_stream_readable.js:263:12)',
' at readableAddChunk (_stream_readable.js:250:11)',
' at Socket.Readable.push (_stream_readable.js:208:10)',
' at Pipe.onread (net.js:594:20)' ]
Pinned Comments
dcelasun commented on 2017-11-15 06:20 (UTC) (edited on 2020-02-06 21:33 (UTC) by dcelasun)
FREQUENTLY ASKED QUESTIONS (read before flagging or commenting!)
This is the official binary distribution from Microsoft. The one in the community repo is an unofficial build made from source. Beyond the license difference and branding, there are some proprietary features not available in the open source version.
Please check this page before flagging as out-of-date. If there is no new version on that page, it's not yet released. A tag on Github is NOT a release! If you can see the new version on the updates page but the AUR package is still not updated, flag it and give it time. It's usually done within a day or two.
Sometimes AUR helpers do weird things. Download the tarball and install it manually with
makepkg -si
. If that works, report the problem to your AUR helper's upstream, not here.xdg-open
uses vscode, not my file manager! How do I fix this?Install shared-mime-info-gnome. Also see this reddit thread.
Just because $X is not required to open the app, doesn't mean there is nothing that depends on it. Always search the comment history on AUR to see if that dependency has been previously discussed before writing your own comment. Still nothing? Then use namcap to make sure it's really not needed. If namcap doesn't complain, please leave a comment here and I'll investigate.
The problem might be a packaging issue (wrong paths, dependencies, icons), so please write a comment here first. If you don't get a reply, or if someone says it's an upstream issue, you can report it on Github.
No, you won't get a reply. Please stop doing this. Leave a comment here instead and be patient.