Code Monkey home page Code Monkey logo

codebuilds's Introduction

codebuilds should now be considered obsolete

Unfortunately due to a few reasons (some good! Official support! :-)), I am no longer able to actively maintain this repository.

1). Life events have left me with very little time to maintain these builds.

2). As Microsoft now produces native ARM builds of Visual Studio Code, they should be a much better idea for most users for an installation that is fully vendor supported. A popular Libre option is VSCodium, which has support for many more configurations than this repository supports.

3). The support window has also now closed for the series of 32-bit ARM Chromebooks that were supported by these builds and fell through the cracks of native Linux App support on Chrome OS. While these are still feasible devices, they should likely not be used with Chrome OS as their operating system due to the end of vendor support updates. If installing Linux on these devices, the official Microsoft builds would still be a better option than the builds here, for the reasons mentioned above.

As a result please DO NOT create new installations based on these scripts, and consider switching to one of the above (better) options for a better supported upgrade path.

codebuilds's People

Contributors

aeschli avatar alexdima avatar bgashler1 avatar bpasero avatar chrisdias avatar chrmarti avatar danyeh avatar dbaeumer avatar dstorey avatar egamma avatar f111fei avatar headmelted avatar hun1ahpu avatar ikuyadeu avatar isidorn avatar joaomoreno avatar jrieken avatar katainaka0503 avatar kieferrm avatar michelkaporin avatar mjbvz avatar mrmlnc avatar octref avatar pprice avatar ramya-rao-a avatar rebornix avatar roblourens avatar sandy081 avatar tyriar avatar weinand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codebuilds's Issues

arm64 supported?

Hi there, was giving this a whirl on my Samsung Chromebook Plus and ran into this error towards the end of the build. I was doing the scripted linux installation as I already had a xenial chroot set up. Any ideas? I'm not too familiar with Linux but I follow instructions well!

Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://dl.bintray.com/headmelted/deb-code-oss wheezy InRelease' doesn't support architecture 'arm64'
Done!
Installing Visual Studio Code...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package code-oss
Visual Studio Code install failed.

Installation abort On raspberry Pi with latest O/S version

  • VSCode Version: Trying to install
  • OS Version: root@raspi3~# uname -a
    Linux raspi3.maison.ca 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux

Steps to Reproduce:

1.Run the installer (See screen output below)
2.
root@raspi3~# uname -a
Linux raspi3.maison.ca 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux

root@raspi3~# cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi

Uncomment line below then 'apt-get update' to enable 'apt-get source'

#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi

root@raspi3~# . <( wget -O - https://code.headmelted.com/installers/apt.sh )
--2017-05-21 10:55:35-- https://code.headmelted.com/installers/apt.sh
Resolving code.headmelted.com (code.headmelted.com)... 104.27.187.80, 104.27.186.80, 2400:cb00:2048:1::681b:bb50, ...
Connecting to code.headmelted.com (code.headmelted.com)|104.27.187.80|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-sh]
Saving to: ‘STDOUT’

  •                                            [ <=>                                                                                             ]   2.26K  --.-KB/s   in 0.001s
    

2017-05-21 10:55:35 (3.77 MB/s) - written to stdout [2313]
Detecting architecture...
Architecture detected as armv7l...
Installing bintray GPG key...
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.j3Gh0veG7K --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
gpg: requesting key D401AB61 from hkp server keyserver.ubuntu.com
gpg: key D401AB61: "Bintray (by JFrog) [email protected]" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Done!
Installing headmelted GPG key...
OK
Done!
Installing headmelted repository...
deb https://dl.bintray.com/headmelted/deb-code-oss
Repository install complete.
Updating APT cache...
E: Malformed line 4 in source list /etc/apt/sources.list (dist)
E: The list of sources could not be read.
Done!
Installing Visual Studio Code...
Reading package lists... Error!
E: Malformed line 4 in source list /etc/apt/sources.list (dist)
E: The list of sources could not be read.
E: The package lists or status file could not be parsed or opened.
Visual Studio Code install failed.
Connection to raspi3 closed.

Reconnect to raspberry Pi because connection was closed
root@holmes:~# ssh raspi3
Last login: Sun May 21 10:52:26 2017 from holmes.maison.ca

root@raspi3~# cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi

Uncomment line below then 'apt-get update' to enable 'apt-get source'

#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb https://dl.bintray.com/headmelted/deb-code-oss
root@raspi3~#

missing shared library

I installed vscode on my ODroid C2 using the Debian install script. The script completed successfully, but when I try to run vscode from the command line I get this error:

odroid@odroid64:~$ code-oss
/usr/share/code-oss/bin/../code-oss: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory

build success, code fails on ChromeOS Version 61

Version 61.0.3144.0 (Official Build) dev (32-bit)

Followed here;
https://code.headmelted.com/#chromeos-install-scripts

no issues building (approx 40mins)

$ code
Entering /mnt/stateful_partition/crouton/chroots/code-oss-chroot...

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-45-generic armv7l Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Thu Jun 29 00:39:10 PDT 2017 armv7l
Kernel command line: cros_secure console= console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=37fcc9d9-1943-ae49-94db-384ff3826867/PARTNROFF=1 hashtree=PARTUUID=37fcc9d9-1943-ae49-94db-384ff3826867/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=d22182ef0caae757186e1e6333900a7afe6a4da0 salt=d6b877d5bbd782f9a37ca69cad5687f96ac42c219c7c54d2bd38ba813bde39e3" noinitrd vt.global_cursor_default=0 kern_guid=37fcc9d9-1943-ae49-94db-384ff3826867  
Build Date: 02 November 2016  10:05:15PM
xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.33.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sun Jul  2 17:27:49 2017
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20170619181610~master:980f090f
release: xenial
architecture: armhf
xmethod: xiwi
targets: xiwi
host: version 9693.1.0 (Official Build) dev-channel daisy_skate 
kernel: Linux localhost 3.8.11 #1 SMP Thu Jun 29 00:39:10 PDT 2017 armv7l armv7l armv7l GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
Error: target STRING not available
Terminated
Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down Hangup
Hangup
(II) Server terminated successfully (0). Closing log file.

Unmounting /mnt/stateful_partition/crouton/chroots/code-oss-chroot...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/code-oss-chroot...

Any tips?

Update to latest version

Are the any plans on updating to the newest version of VS Code? The current version of the official builds is 1.19.2 already while the one from your repo is only 1.14.0.

Install fails / edit-chroot fails due to "Exec format error"

$ sudo edit-chroot -all
name: code-oss-chroot
encrypted: no
Entering /mnt/sateful_partition/crouton/chroots/code-oss-chroot...
chroot: failed to run command '/usr/local/bin/croutonversion': Exec format error
Unmounting /mnt/stateful_partition/crouton/chroots/code-oss-chroot...

Please describe your issue:

I just switched an HP Chromebook 11 G5 EE to Dev Mode and installed today's version of the Crouton extension. Then I installed the VS Code for Chrome OS script linked in this page.

Installation downloads and extracts most packages, then fails to run prepare.sh due to Exec format errror. Later runs of the edit-chroot commands have a similar issue, as seen above.

If known, describe the steps to reproduce the issue:

  1. Run the script from the page linked above

Is codebuilds still maintained?

Hi,

I recently discovered codebuilds via twitter and afer I tried to install it on my Rapsberry Pi 3 and failed I wonder if codebuilds ist stll maintained since all open issues here are older and the last release on packagecloud.io was based on code 1.14 and is nine months old
Is there anyway to contributed or help codebuilds?

install apparently worked on dell chromebook 13 (7310), but can't find how to launch code-oss

I did eventually manage to install, which took some time and research. Since I had restored the OS into debug mode, I had to modify the chroot password before the VS code installation worked.

I suspect something is wrong with the install, or possibly I just can't figure out how to launch VS code.

I've opened chroot, opened a shell, sudo bash, and then did a find / -iname code-oss\* without luck. I saw one directory named /mnt/stateful_partition/crouton/chroots/code-oss-chroot.

Any guidance on what I might have done wrong?

VSC Not responding fully on Samsung Chromebook 1

Script ran fine and VSC installed properly however the application is not working properly. Cannot open a new or existing file, change settings, etc. If I click on the File, Go, Edit, etc menu it works fine but nothing happens upon clicking the individual menu items.

Saw the update from yesterday and reran the script. Still no improvement. Admittedly this is on an old chromebook but I'm trying to find development solutions for really old machines so if there is anything I can do to make this work on here please let me know. Thanks!

Install failing on Samsung Pro

Trying to install on a new Intel Chromebook Pro The install fails and the screen is cleared before I can read any error message.

Digging into it a bit

uname -m returns x86_64 which doesn't appear in the chromebook.sh script

I'm busy following the script and running the commands manually .. we'll see what happens

Support for vscode-icons

Bonjour
I used to compile VSCode myself on Raspberry. However, since version 1.1 it seems I'm no longer able to do it. At the end, I decided to download the deb installer on the site. Everything works like a charm. Thank you very much.

One point that may help others
If one want to install vscode-icons extension he must edit the file /usr/share/code-oss/ressources/app/package.json and set the "name" to "Code" (and nothing else)
This can be done even if the extension is already installed and no icon show up in the Explorer tab.

Regards, Philippe

Code-oss fails to launch on PI Zero

I get the following message when launching code-oss version 1.14.0-1497990159 on the pi zero with Raspbian GNU/Linux 8 (jessie) and Node 4.2.1:

/usr/bin/code-oss: line 35: 6672 Illegal instruction ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"

This happens with both apt-get and wget installations. Is this a known problem with a planned fix? Any workarounds?

Thx.

Backspace doesn't work in active code pane

  • VSCode Version: 1.13.0
  • OS Version: Android Linux 3.4.113-Lineage-ga22c622

Steps to Reproduce:

  1. Open a file in VS Code
  2. Place cursor at right edge of existing text
  3. Press backspace key
  4. Expect characters to be removed "right to left"
  5. No characters are removed.

The backspace key does function in the extensions search window, but not in the code editor window.

This makes it very important to write perfect code on the first attempt.

PiZeroW

I am sorry if this is an ignorant question but is it possible to run Code on a PiZeroW.

I followed the steps but sadly it doesn't open (I can see the icon).

thank you.

No shell in crosh

Following the instructions on an Asus C100PA Chromebook in developer mode I get as far as step 3:
crosh> shell
ERROR: unknown command: shell

The crouton extension is installed and active.

Any ideas?

Thanks

Acer chromebook R13 build fails

Hit problems with Acer chromebook R13 install (uname -m = aarch64)
It stops after attempting the execution of apt.sh which fails because the attempted action woudl actually remove the 'apt' package itself.
have attached a log of the install... log.txt

Happy to help debug if you do not have access to an R13

"1.8.0" build is out of date

It may be a mistake on my part to be reading the substring in
"1.8.0-2016112710" as a date, but according to the [release info from the
vscode project], vscode 1.8.0 is based on this commit:

microsoft/vscode@3874693

If the code-oss builds were made on 2016 November 27, that means that the OSS
1.8.0 build is missing two weeks of commits when compared to the VSCode team's
actual 1.8.0 release, or hundreds of changes.

Issue running auto script on Samsung Chromebook

This is a GREAT project! Thanks for doing this!

I tried running the automated script and this is what I get :

`
chronos@localhost / $ <( wget -O - https://code.headmelted.com/installers/chromebook.sh )
bash: /dev/fd/63: Permission denied
chronos@localhost / $ --2016-11-16 08:11:30-- https://code.headmelted.com/installers/chromebook.sh
Resolving code.headmelted.com... 104.27.186.80, 104.27.187.80
Connecting to code.headmelted.com|104.27.186.80|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3504 (3.4K) [text/plain]
Saving to: 'STDOUT'

  •                                   0%[                                                                       ]       0  --.-KB/s    in 0s      
    

Cannot write to '-' (Success).`

...adding sudo and remoing the () also fail.

Am I missing something? Haven't tried manual build yet but I can if it will help.

Thanks again!

Debugging

I have installed VS Code on my Raspberry PI and it compiles and runs my programs with the C++ extension. I am having an issue launching the debugger. It complains 'debug adapter process has terminated unexpectedly'. I seen nothing in the OUTPUT window.

Installation-script fails on Raspbian (Pi 3)

First of all thank you for the script :)

I've found out that the installation fails because user root doesn't exist.
Maybe you'll update the requirements on raspbian.

Thank you for your patience and kind regards!

code-oss Segmentation Fault on Raspbian

I installed it VS Code successfully on the latest version of Raspbian. When I try to launch I get the following error message. Any ideas?
/usr/bin/code-oss: line 35: 1982 Segmentation fault ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"

I can't see anything obviously wrong but linux is not my forte (I'm learning).

BTW, a huge thanks @headmelted for the efforts you've put into this to date.

Out of date VScode version

Hey,
I am trying to install VScode on my Raspberry pi 3 as shown in your site, but I am getting very old version of VScode (1.14.xxx) while 1.25 is available. I don't know if I am missing something, but I read somewhere in your site that the code is compiled every night, so the latest version should be available for download.

Thanks for you help,
Elad

v1.28.0 shows blank window on Raspberry Pi3B

I am using Code on a Pi3B, running Rasbian Stretch. Code 1.14 was running fine on this system.

After updating to v1.28 (including current 1.28.0-1536884861_arnhf) the main window stays blank, and just the main menu is showing. Most menu entries do not work (apart from some of the help menu entries).
When I downgrade to 1.14 everything works again.

I'm trying to find a log, but I cannot find any. A new directory is created in ~/config/Code - OSS/logs on every start, but no log file is created there.

Nightly or Montly builds :-)

Bonjour
Do you know when the next build will occur?
I just visited the site the the last buld is from Feb 22
Best regards, Philippe

Code for the code that installs the Code?

Just wondering... I can pull down your shell scripts and thwack at them, but how about putting them up here so we can be real OSS champs with it?

I'd like to be able to provide a CLI arg interface for injecting target and release params at the least... Or a mondo script that would parse ENV and args and produce an appropriate installation?

Or maybe something that could chroot-launcher-bind any stock ubuntu app?

All of these dreams will be tears in the rain... if you don't provide open code.

JustSayin',
Etienne

xiwi: code-insiders: not found

@headmelted Thank you for all the work you've done thus far.... I wanted to share my issue.

Entering /mnt/stateful_partition/crouton/chroots/code-oss-chroot...
xiwi: code-insiders: not found
Unmounting /mnt/stateful_partition/crouton/chroots/code-oss-chroot...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/code-oss-chroot...

Any help would be greatly appreciated,

Eric Faris

Raspberry Pi 3 with Jessie - Install Failed

Newbie question that I can't seem to get resolved.

I've attempted the install and get the following error...

Detecting architecture...
Architecture detected as armv7l...
Installing headmelted GPG key...
OK
Done!
Installing headmelted repository...
deb https://packagecloud.io/headmelted/codebuilds/ubuntu/ xenial main
Repository install complete.
Updating APT cache...
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
Done!
Installing Visual Studio Code...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package code-oss
Visual Studio Code install failed.

Any thoughts?

Step by step instructions for beginner

Hi, just before we get started, I am an absolute beginner with all of this so please be patient. I'm currently trying to download software (Git and VS code) for a software development course I am soon to start, onto my Chromebook, an Asus C100PA with ARM processor.

I've had a play around on my own for the last day or so and have learnt a lot already about Croutons/ Linux etc, but am finally totally stuck. From what (I think) I've learnt, the ARM processor has a compatibility issue with VS code so I found and ran the relevant install command from https://code.headmelted.com/, which seems to have worked as it says on the terminal 'Visual Studio Code install complete'.

But I don't know what to do now? My previous attempts with chroots I'd input 'sudo enter-chroot startxfce4' and that would get me in, though similar attempts now mean the command line has changed to (code-oss-chroot)jamesbryant@localhost:~$ but that's it, and now all attempts at commands are being met with 'Command not found'. I can't see VS code anywhere, or have any idea how to find it.

Help please? Or even links to Linux for beginners which would help me get my head around it? Have read a fair bit already but not sure if I'm making a mistake or there's compatibility problems and I'm wasting my time.

Thanks so much - James

Raspberry PI Stretch - existing file Open with Code - OSS creates new file

Hi, I've installed the software on a Pi 3 running stretch. If I right click on an existing file and select Open With, one of the options in a new Code -OSS entry. If I select that a new empty file is created.

So I then set up a Custom_Command_Line with code-oss as the custom command and Visual Studio Code as the optional application name. If I open an existing file using this menu option it correctly opens my existing file.]

Preferbaly I would like to get ride of the Code - OSS entry

chroot: failed to run command '/prepare.sh': No such file or directory

I'm using Chrome OS - Version 68.0.3417.0 (Official Build) dev (64-bit) and while following Crouton method (Chrome OS), I encounter following:

...
Installing crash_reporter_wrapper into the host...
chroot: failed to run command '/prepare.sh': No such file or directory
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/code-oss-chroot...
Crouton install script failed.
chronos@localhost / $ 

Please advise.

Devices that should work?

I really appreciate this project existing, and the hope it gives me for using a Chromebook full-time including some web development.

I've tried this on a couple devices with no luck:

  • ASUS C101
  • ASUS C213SA

Is there any info that can help me understand what devices this should work on?

This information would definitely impact my upcoming Chromebook purchase, just to share how relevant this info might be for people.

Performance vs. standard install

Hi,

I'm currently running crouton on a Pixelbook and wondered if there were an advantage in terms of memory or performance in using this build. Thanks in any case for providing this product.

Thanks

Longing for aarch64 support :)

Hi,
Trying to install VS Code on a Rock64 fails. Any prognosis for when it can be fixed - or even better: can I be of any help?

Error on install:
Done!
Installing Visual Studio Code...
aarch64 currently disabled. THIS IS BEING WORKED ON, APOLOGIES FOR THE INCONVENIENCE, PLEASE CHECK https://code.headmelted.com FOR UPDATES
rock64@rock64:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Br /Brusan

arm64 deb packaging has 32-bit binaries

I'm trying to run this on a Packet Type 2A server (96-core ARMv8, 64-bit only).

The installed package seems to have 32-bit binaries only, installed with

dpkg -i code-oss_1.14.0-1497385076_arm64.deb

code-oss: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.26, BuildID[sha1]=14b6a9ab1263520c73d76aafa59a326d291a44f8, stripped

aarch64 chromebook support?

Looks like armv7 support only on chromebooks, with the new Samsung Pro and Acer R13 it would be nice to have aarch64 support.

sh starts executing, terminates unexpectedly

Hi,

I have managed to actually run this script on my machine before. But it won't run now.

Machine is Acer Chromebook C201P
wget works, I get the prompt, hit y to start installation. But, when it gets just past fetching the crouton installer it exits back to the terminal - but not back to shell, back to crosh.

I'd give details of the exit error thrown but I can't get at the bash history - let me know if I can supply more details. Thanks!

amd64 link is not working

I wanted to test this build but the installer script did not seem to work, it reports something about wrong architecture.
I'm on debian amd64 so I tried the manual package install but the link is dead. Could you fix that for me?

Can't copy to clipboard from VSCODE terminal

When I open a terminal from VSCODE (ctrl + shift + c) I can't copy or paste anything. Don't know if this is a bug but I thought you guys could help - sorry, I don't use terminals very often and I still struggle with some commands. Thank you!

installer segfaults on Chromebook Plus

after installing extension and putting Chromebook into developer mode I try running the installer script and end up with an error signal.

I assume it's related to this crouton issue: dnschneid/crouton#3083

here is my crouton log:

[ 2623.408] _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[ 2623.412]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 2623.412] X Protocol Version 11, Revision 0
[ 2623.412] Build Operating System: Linux 3.2.0-67-highbank armv7l Ubuntu
[ 2623.412] Current Operating System: Linux localhost 4.4.21-06459-ge91c124 #1 SMP PREEMPT Thu Feb 16 21:44:33 PST 2017 aarch64
[ 2623.413] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3334144 verity payload=PARTUUID=12a8c470-5762-934e-adb4-39c1a1843329/PARTNROFF=1 hashtree=PARTUUID=12a8c470-5762-934e-adb4-39c1a1843329/PARTNROFF=1 hashstart=3334144 alg=sha1 root_hexdigest=e3e53317ec954498262bc23247e1d0a9952b1acf salt=202cffe272c3df43a1e5493b640bd893970a059823ea7fd76a30d42f355942aa" noinitrd vt.global_cursor_default=0 kern_guid=12a8c470-5762-934e-adb4-39c1a1843329
[ 2623.413] Build Date: 12 February 2015 02:55:07PM
[ 2623.413] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
[ 2623.413] Current version of pixman: 0.30.2
[ 2623.413] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2623.414] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2623.419] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Mon Feb 20 12:44:01 2017
[ 2623.420] (++) Using config file: "/etc/X11/xorg-dummy.conf"
[ 2623.420] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 2623.423] (==) ServerLayout "Layout0"
[ 2623.423] (
) |-->Screen "Screen0" (0)
[ 2623.423] () | |-->Monitor "Monitor0"
[ 2623.424] (
) | |-->Device "Card0"
[ 2623.424] () Option "DontVTSwitch" "true"
[ 2623.424] (
) Option "AllowMouseOpenFail" "true"
[ 2623.424] () Option "AutoAddDevices" "false"
[ 2623.424] (
) Option "AutoEnableDevices" "false"
[ 2623.424] () Option "AutoAddGPU" "false"
[ 2623.424] (
) Not automatically adding devices
[ 2623.424] () Not automatically enabling devices
[ 2623.424] (
) Not automatically adding GPU devices
[ 2623.425] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 2623.425] Entry deleted from font path.
[ 2623.425] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 2623.425] Entry deleted from font path.
[ 2623.425] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 2623.425] Entry deleted from font path.
[ 2623.425] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 2623.425] Entry deleted from font path.
[ 2623.425] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 2623.425] Entry deleted from font path.
[ 2623.425] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 2623.425] (==) ModulePath set to "/usr/lib/arm-linux-gnueabihf/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 2623.425] (==) |-->Input Device ""
[ 2623.425] (==) |-->Input Device ""
[ 2623.425] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 2623.425] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 2623.425] (II) Loader magic: 0xab259f10
[ 2623.425] (II) Module ABI versions:
[ 2623.425] X.Org ANSI C Emulation: 0.4
[ 2623.425] X.Org Video Driver: 15.0
[ 2623.425] X.Org XInput driver : 20.0
[ 2623.425] X.Org Server Extension : 8.0
[ 2623.426] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 2623.431] (EE)
[ 2623.433] (EE) Backtrace:
[ 2623.433] (EE)
[ 2623.433] (EE) Segmentation fault at address 0x0
[ 2623.433] (EE)
Fatal server error:
[ 2623.434] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 2623.434] (EE)
[ 2623.434] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2623.434] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[ 2623.434] (EE)

Code-OSS failed to highlight on Raspbain

Thank you for your work on building code on armhf.

Code-OSS can't highlight js/html/css(and any other,I think). and come out some errors show:The mode has failed while tokenizing the input.

There are some information that i think it will be useful below.

  • VSCode Version:code-oss_1.13.0-1495354883_armhf
  • OS Version: Raspbain Jessie(2017-4-10)

bug3

What can I do to fix it?

Thx.

Use dvorak keyboard layout

Hi, I just installed VSCode via your instructions, and it works amazingly well! Thanks for all your hard work! One question though ... I typically use the Dvorak keyboard layout (yes, I'm one of those people) and I can't figure out how to start the chroot for VS Code with the keyboard of my choice. Any pointers?

The window has crashed

Hi, when I launch Code-OSS, very often appear window with message:
We are sorry for the inconvenience! You can reopen the window to continue where you left off.
screenshot at 2017-06-19 19 08 17

Press button "Reopen" or "Close" does not result.
Alam-message appear again and again...

Version 1.14.0
Commit 435f1efb9e5e83a439c9b6492c7e3a807b3a5007
Date 2017-06-18T20:21:33.339Z
Shell 1.6.6
Renderer 56.0.2924.87
Node 7.4.0
OS: Linux mute 4.9.26v7-aufs #1 SMP Tue May 9 20:14:03 CEST 2017 armv7l armv7l armv7l GNU/Linux and on Raspbian (2017-04-10)

After that I don't open Settings and Marketplace:

  • Unable to open 'settings.json': Cannot read property 'getRoot' of null.
  • Marketplace returned 'ECONNREFUSED'. Please check the 'http.proxy' setting.

What can I do to fix it?
Thank you.

Title: Release server sends application/json MIME type for package downloads

Steps to reproduce:

  1. Visit https://code.headmelted.com/#linux-header-manual
  2. Click link for "code-oss_1.8.0-2016112710_amd64.deb" download

Expected results:

I'm prompted to install deb with the "Software Install" app

Actual results:

Server sends package with application/json MIME type, so I'm prompted to open
with gedit, instead.

Additional details:

Clicking on the other links (e.g., RPMs) gives the same results.

Also, minor nitpick: the arch lists for the debs and RPMs are listed in a
different order.

Code-OSS Won't Launch

When I type "code-oss" into the terminal to launch it, it always gives me the error "/usr/bin/code-oss: line 35: /usr/share/code-oss/bin/../code-oss: No such file or directory". Is there a way to fix this so I can successfully launch Code-OSS?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.