-
Notifications
You must be signed in to change notification settings - Fork 254
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
Could not update extension binaries execution permissions #107
Comments
Another sample log. |
macOS 10.13.3, clean install of VS Code 1.20.1, no other extensions. VS Live Share 0.2.163. The error I get is "Could not update the extension binaries execution permissions." This leads me to out/src/util.js:299 and it appears the paths it's having trouble with (from
None of which exist relative to |
The following paths do exist:
|
Disable, uninstall, reload, install, reload lead to Live Share downloading the extra bits it needed; appears to be working now. Logs attached. |
Thanks @abl for mentioning that the files don't actually exist on disk. It looks like we have a path where the code that's copying the files is failing silently in some cases (it's expected to fail the install if the copy fails). We'll investigate. |
I was able to get around it by uninstalling VS Code, reinstall of code and Live Share. Working fine now. |
@theAndrewCline @abl Have you seen this one happen again? We just released a fix for #112 that might help with this particular scenario as well. I'm curious if anyone has seen it happen recently. |
I'm seeing this now as of a few hours ago. The error pops up anytime I reload the window. Let me know what info I can give you to help debug. |
@aaroncraig10e So sorry to hear that! Thanks for letting us know. We recently released an updated version of the extension. Am I correct in assuming you'd used a previous version of the extension without issue or was this your first install? |
I've used it before once or twice -- have yet to have a session work with it, but I haven't seen any errors yet. Mostly it just doesn't sync, or the session silently dies shortly after beginning. Very hopeful for a working version soon -- the idea is great so keep up the good work! 👍 |
@aaroncraig10e It would be great to get your logs if you could mail them to [email protected] or attach them here. You can get them by running the "Live Share: Export Logs" command. After that I'd be interested to know if uninstalling and reinstalling resolves the problem for you. We've seen that work in the past and believe this is somehow tied to corrupted downloads but we clearly haven't found all the spots given what you are encountering. Appreciate the help and feedback! |
Attaching the logs -- I will re-install before trying to share a session here and report back here if that changes things. |
@Chuxel I have not had any issues since I uninstalled VS Code and Reinstalled. I’ll double check soon. |
So this is weird -- when I go to reinstall the plug in, I discover that there are two! The one that appears as installed on my system is "ms-vsliveshare.vsliveshare". Another appears when I search for available plugins called "MS-vsliveshare.vsliveshare". Attached are screenshots of the two -- note that one has download counts and a repository link, while the other does not. Could this be part (or all) of the problem? I installed the one I have (IIRC) by following the prompts in the email I received when I was invited to the preview beta. |
@aaroncraig10e That is super strange! Out of curiosity, are you on a Mac with a case sensitive filesystem enabled? You can run |
@Chuxel no, not case sensitive, judging by this output:
|
@aaroncraig10e That's really odd - To flush things out, try uninstalling both, bouncing VS Code, and the installing from the marketplace. I'm not 100% sure how you could have gotten in that state so it will be interesting to see if it fixes the issue. Hopefully this unblocks you while we see what we can figure out. |
Before doing that, can you share which version is reported for each one? (Not seeing it in the screen shot) |
This could be a manifestation of microsoft/vscode#43813 (comment) - VS Code extracts an extension to a |
To be clear, only one is reported as installed (and it's the one without a repository link, stars or a download count). The other one is not reported as installed, and has a repository link, stars and download count. I'll uninstall the one now, and reinstall the other that looks more legit, and see if that clears things up. |
Uninstalled and reinstalled, and no change. Is it possible that (because the version numbers are the same) it's reinstalled the same plugin from some cache as mentioned by @srivatsn? Where can I find these cached files so I can nuke them? |
@aaroncraig10e Extensions are stored in ~/.vscode/extensions (or ~/.vscode-insiders/extensions/ for insiders). You should be able to simply delete the folder with the extension in this location to remove it. ms-vsliveshare.vsliveshare-0.2.307 would be the folder name for the Live Share version for 0.2.307. Note that renaming the folder isn't enough. I'd actually be interested to know if you see two extensions at that location. |
@aaroncraig10e Oh - one thing I forgot to mention, if the bug Sri pointed out is indeed the issue, there would be another extension at .ms-vsliveshare.vsliveshare-0.2.307 (note the dot before the extension name). To see this in Finder use Command+Shift+. (period) to turn on seeing hidden files. Otherwise use ls -a in the terminal. After that you'd see both: |
That seems to have fixed it -- I did not have the hidden directory version of the plugin. I kept the original folder if you're interested in seeing it. |
@aaroncraig10e Yes, that would be awesome so we can see what might have gone wrong. |
Here you go: https://drive.google.com/file/d/15bWObn4gfsvEupjSOzx9AbW7ftdKaf12/view?usp=sharing Hope I got the share settings right 😄 |
@aaroncraig10e You did, came down without a hitch! We'll take a look. Thanks so much for helping and bearing with us and glad you were unblocked! Love to hear more feedback as you dig in as well. |
For anyone that hits this, try the following:
Let us know what variation you hit. Thanks!! |
@Chuxel Will definitely give you feedback as I can -- I do a lot of mentoring and heavily lean on pair sessions, so really hoping this plugin facilitates that! |
We just released v0.2.399 that should provide some improvements in this space. It would be interesting to hear if anyone hits this again with this update. |
Closing this as resolved since we addressed it in an update, and we haven't seen it reported since. Please re-open if you experience this bug again. Thanks! |
Add a couple clarifications for accessibility purposes.
Product and Version [VSCode]:
OS Version [macOS]:
Live Share Extension Version:
Target Platform or Language [Node.js]:
Steps to Reproduce / Scenario:
error.zip
The text was updated successfully, but these errors were encountered: