Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: You can't remove Visual Studio Code as it isn't installed #264

Closed
mrmanicou opened this issue Mar 13, 2016 · 7 comments
Closed

ERROR: You can't remove Visual Studio Code as it isn't installed #264

mrmanicou opened this issue Mar 13, 2016 · 7 comments

Comments

@mrmanicou
Copy link

Installed with
umake ide visual-studio-code

Tried to uninstall immediately with:
umake ide visual-studio-code --remove

I get the message

ERROR: You can't remove Visual Studio Code as it isn't installed

Am I missing something here?

@LyzardKing
Copy link
Collaborator

The version in github works.
They changed the license and the exec filename, so that should be the problem.

@zerkms
Copy link

zerkms commented Mar 16, 2016

Not sure if relevant but reinstalling (to get the newer version, not sure if there is a better way to do that) crashes with

[I Accept (a)/I don't accept (N)] a
Downloading and installing requirements                                                                                                          |
100% |###########################################################################################################################################|
Installing Visual Studio Code
ERROR: Unhandled exception                   #                                                                                                   |
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/umake/tools.py", line 158, in wrapper
    function(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/umake/frameworks/baseinstaller.py", line 411, in decompress_and_install_done
    self.post_install()
  File "/usr/lib/python3/dist-packages/umake/frameworks/ide.py", line 722, in post_install
    exec=self.exec_path,
AttributeError: 'VisualStudioCode' object has no attribute 'exec_path'

@LyzardKing
Copy link
Collaborator

Did you reinstall with the version from github or the release?
There have been a few changes in the VSCode download from microsoft.
They changed the exec filename, that's why you get that error.
We'll have a release out as soon as we fix a few tests.
You can download from git for the meantime.

On 16/03/2016 10:01, Ivan Kurnosov wrote:

Not sure if relevant but reinstalling (to get the newer version, not
sure if there is a better way to do that) crashes with

|[I Accept (a)/I don't accept (N)] a Downloading and installing
requirements | 100%
|###########################################################################################################################################|
Installing Visual Studio Code ERROR: Unhandled exception # | Traceback
(most recent call last): File
"/usr/lib/python3/dist-packages/umake/tools.py", line 158, in wrapper
function(_args, *_kwargs) File
"/usr/lib/python3/dist-packages/umake/frameworks/baseinstaller.py",
line 411, in decompress_and_install_done self.post_install() File
"/usr/lib/python3/dist-packages/umake/frameworks/ide.py", line 722, in
post_install exec=self.exec_path, AttributeError: 'VisualStudioCode'
object has no attribute 'exec_path' |


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#264 (comment)

@zerkms
Copy link

zerkms commented Mar 16, 2016

@LyzardKing I would wait until a new umake package is built, thanks

@LyzardKing
Copy link
Collaborator

As soon as there is a new release you can reinstall visual-studio-code.
That should fix these issues :)

On 16/03/2016 10:07, Ivan Kurnosov wrote:

@LyzardKing https://github.com/LyzardKing I would wait until a new
|umake| package is built, thanks


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#264 (comment)

@zerkms
Copy link

zerkms commented Mar 16, 2016

@LyzardKing great :-) Btw, am I missing something or there is really no way to upgrade a particular ide, but only to install it again? As well as there is no way to know if any of them (I have multiple ides from the ide category installed) have updates?

@LyzardKing
Copy link
Collaborator

It's not that easy. Some tools update themselves (Jetbrains, Eclipse,
and others). For the others what we would be doing is essentially
downloading the complete package again.
(#74)

One thing we could have is a --list-upgradable option, to see if there
is anything that needs updating, but that would require parsing all the
different websites.

On 16/03/2016 10:10, Ivan Kurnosov wrote:

@LyzardKing https://github.com/LyzardKing great :-) Btw, am I
missing something or there is really no way to |upgrade| a particular
ide, but only to install it again? As well as there is no way to know
if any of them (I have multiple ides from the |ide| category
installed) have updates?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#264 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants