name: snapcraft
summary: "easily create snaps"
publisher: canonical
contact: <email address hidden>
description: |
Snapcraft aims to make upstream developers' lives easier and as such is not a
single toolset, but instead is a collection of tools that enable the natural
workflow of an upstream to be extended with a simple release step into Snappy
enabled system.
commands:
- snapcraft
tracking: stable/new-cli
installed: 2.29.1+git51.3e5e2d8 (154) 53MB classic
refreshed: 2017-05-16 20:30:30 +0100 BST
channels:
latest/beta: 2.29.1 (99) 53MB classic
latest/edge: 2.29.1+git38.6387808 (168) 53MB classic
Here is the Traceback:
'ascii' codec can't decode byte 0xc3 in position 463: ordinal not in range(128)
Stopping local:snapcraft-nonnoumenally-insentient-despina
Traceback (most recent call last):
File "/snap/snapcraft/154/bin/snapcraft", line 32, in <module>
obj=dict(project=snapcraft.ProjectOptions()))
File "/snap/snapcraft/154/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/snap/snapcraft/154/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/snap/snapcraft/154/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/snap/snapcraft/154/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/snap/snapcraft/154/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/snap/snapcraft/154/lib/python3.6/site-packages/snapcraft/cli/lifecycle.py", line 202, in cleanbuild
lifecycle.cleanbuild(project_options, remote)
File "/snap/snapcraft/154/lib/python3.6/site-packages/snapcraft/internal/lifecycle.py", line 343, in cleanbuild
metadata=config.get_metadata(), remote=remote).execute()
File "/snap/snapcraft/154/lib/python3.6/site-packages/snapcraft/internal/lxd.py", line 125, in execute
raise e
File "/snap/snapcraft/154/lib/python3.6/site-packages/snapcraft/internal/lxd.py", line 119, in execute
self._container_run(command)
File "/snap/snapcraft/154/lib/python3.6/site-packages/snapcraft/internal/lxd.py", line 86, in _container_run
'HOME=/{}'.format(self._project_folder), '--'] + cmd)
File "/snap/snapcraft/154/usr/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['lxc', 'exec', 'local:snapcraft-nonnoumenally-insentient-despina', '--env', 'HOME=/build_vscode', '--', 'snapcraft', 'snap', '--output', 'vscode_1.12.2-1494422229_amd64.snap']' returned non-zero exit status 1.
Didn't work for me sadly.
$ snap info snapcraft
name: snapcraft git51.3e5e2d8 (154) 53MB classic git38.6387808 (168) 53MB classic
summary: "easily create snaps"
publisher: canonical
contact: <email address hidden>
description: |
Snapcraft aims to make upstream developers' lives easier and as such is not a
single toolset, but instead is a collection of tools that enable the natural
workflow of an upstream to be extended with a simple release step into Snappy
enabled system.
commands:
- snapcraft
tracking: stable/new-cli
installed: 2.29.1+
refreshed: 2017-05-16 20:30:30 +0100 BST
channels:
latest/beta: 2.29.1 (99) 53MB classic
latest/edge: 2.29.1+
Here is the Traceback:
'ascii' codec can't decode byte 0xc3 in position 463: ordinal not in range(128) -nonnoumenally- insentient- despina snapcraft/ 154/bin/ snapcraft" , line 32, in <module> dict(project= snapcraft. ProjectOptions( ))) snapcraft/ 154/lib/ python3. 6/site- packages/ click/core. py", line 722, in __call__ snapcraft/ 154/lib/ python3. 6/site- packages/ click/core. py", line 697, in main snapcraft/ 154/lib/ python3. 6/site- packages/ click/core. py", line 1066, in invoke result( sub_ctx. command. invoke( sub_ctx) ) snapcraft/ 154/lib/ python3. 6/site- packages/ click/core. py", line 895, in invoke self.callback, **ctx.params) snapcraft/ 154/lib/ python3. 6/site- packages/ click/core. py", line 535, in invoke snapcraft/ 154/lib/ python3. 6/site- packages/ snapcraft/ cli/lifecycle. py", line 202, in cleanbuild cleanbuild( project_ options, remote) snapcraft/ 154/lib/ python3. 6/site- packages/ snapcraft/ internal/ lifecycle. py", line 343, in cleanbuild config. get_metadata( ), remote= remote) .execute( ) snapcraft/ 154/lib/ python3. 6/site- packages/ snapcraft/ internal/ lxd.py" , line 125, in execute snapcraft/ 154/lib/ python3. 6/site- packages/ snapcraft/ internal/ lxd.py" , line 119, in execute _container_ run(command) snapcraft/ 154/lib/ python3. 6/site- packages/ snapcraft/ internal/ lxd.py" , line 86, in _container_run /{}'.format( self._project_ folder) , '--'] + cmd) snapcraft/ 154/usr/ lib/python3. 6/subprocess. py", line 291, in check_call ror(retcode, cmd) CalledProcessEr ror: Command '['lxc', 'exec', 'local: snapcraft- nonnoumenally- insentient- despina' , '--env', 'HOME=/ build_vscode' , '--', 'snapcraft', 'snap', '--output', 'vscode_ 1.12.2- 1494422229_ amd64.snap' ]' returned non-zero exit status 1.
Stopping local:snapcraft
Traceback (most recent call last):
File "/snap/
obj=
File "/snap/
return self.main(*args, **kwargs)
File "/snap/
rv = self.invoke(ctx)
File "/snap/
return _process_
File "/snap/
return ctx.invoke(
File "/snap/
return callback(*args, **kwargs)
File "/snap/
lifecycle.
File "/snap/
metadata=
File "/snap/
raise e
File "/snap/
self.
File "/snap/
'HOME=
File "/snap/
raise CalledProcessEr
subprocess.
And this is the .desktop file:
[Desktop Entry] share/code/ code --unity-launch %U share/pixmaps/ code.png Utility; TextEditor; Development; IDE; text/plain; inode/directory ;
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/
Icon=/usr/
Type=Application
StartupNotify=true
StartupWMClass=Code
Categories=
MimeType=
Actions=new-window;
Keywords=vscode;
[Desktop Action new-window] share/code/ code --new-window %U share/pixmaps/ code.png
Name=New Window
Name[de]=Neues Fenster
Name[es]=Nueva ventana
Name[fr]=Nouvelle fenêtre
Name[it]=Nuova finestra
Name[ja]=新規ウインドウ
Name[ko]=새 창
Name[ru]=Новое окно
Name[zh_CN]=新建窗口
Name[zh_TW]=開新視窗
Exec=/usr/
Icon=/usr/