Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Can't install some extensions #1

Open
peio72 opened this issue Jul 29, 2015 · 15 comments
Open

Can't install some extensions #1

peio72 opened this issue Jul 29, 2015 · 15 comments

Comments

@peio72
Copy link

peio72 commented Jul 29, 2015

Some extensions can be installed on a windows 7 non admin computer and other like emmet or beautify for example, not working. Please help.

@sagiegurari
Copy link
Owner

I tried beautify and it works for me just fine.
As for non admin, what do you get?

@peio72
Copy link
Author

peio72 commented Jul 29, 2015

I've got installation failed and in the debugguer:

[Extension] failed to load
//***/Users/**/AppData/Roaming/Brackets/extensions/user/brackets-beautify

Thanx to help.

P.

Le 29/07/2015 16:19, Sagie Gur-Ari a écrit :

I tried beautify and it works for me just fine.
As for non admin, what do you get?

Reply to this email directly or view it on GitHub [1].

Links:

[1]
#1 (comment)

@sagiegurari
Copy link
Owner

I have a guess on why you got that.
So this is based on portableapps.com launcher which in this case copies appdata/.../brackets from/to your pc from a local folder.
In case you close the app and than start it up before it finished to do the copy, the data may get corrupted.
its a known limitation of the portableapps launcher I'm afraid.

@peio72
Copy link
Author

peio72 commented Jul 29, 2015

Is there a way to bypass that behaviour ?

Manual install ?

Le 29/07/2015 17:00, Sagie Gur-Ari a écrit :

I have a guess on why you got that.
So this is based on portableapps.com launcher which in this case
copies appdata/.../brackets from/to your pc from a local folder.
In case you close the app and than start it up before it finished to
do the copy, the data may get corrupted.
its a known limitation of the portableapps launcher I'm afraid.

Reply to this email directly or view it on GitHub [1].

Links:

[1]
#1 (comment)

@sagiegurari
Copy link
Owner

thats what portable is all about, the ability to NOT store on your computer anything and keep everything in the brackets portable folder.
this way you can take the folder with you in a USB to any computer and run it with all your preferences and plugins.

Another option, which maybe i'll try, is to make the brackets process think the appdata is somewhere else (that's actually supported I believe by the paf launcher), which would remove the need from doing copy to and back.
that would solve the issue, but just need to make sure its feasible with the launcher to point it to the portable brackets folder.

by the way, you could for now...., simply delete the data folder in your brackets portable folder (when brackets is shutdown) which than simply resets brackets to original state (basically it deletes your configurations/extensions).

@peio72
Copy link
Author

peio72 commented Jul 29, 2015

Ok I tried deleting the Data folder, restart Brackets and trying to add
the Beautify extension. Got same error as before ...

Le 29/07/2015 17:11, Sagie Gur-Ari a écrit :

thats what portable is all about, the ability to NOT store on your
computer anything and keep everything in the brackets portable folder.
this way you can take the folder with you in a USB to any computer
and run it with all your preferences and plugins.

Another option, which maybe i'll try, is to make the brackets process
think the appdata is somewhere else (that's actually supported I
believe by the paf launcher), which would remove the need from doing
copy to and back.
that would solve the issue, but just need to make sure its feasible
with the launcher to point it to the portable brackets folder.

by the way, you could for now...., simply delete the data folder in
your brackets portable folder (when brackets is shutdown) which than
simply resets brackets to original state (basically it deletes your
configurations/extensions).

Reply to this email directly or view it on GitHub [1].

Links:

[1]
#1 (comment)

@sagiegurari
Copy link
Owner

was brackets up when you deleted that folder?

@peio72
Copy link
Author

peio72 commented Jul 29, 2015

yes resetted.

Le 29 juil. 2015 à 19:37, Sagie Gur-Ari notifications@github.com a écrit :

was brackets up when you deleted that folder?


Reply to this email directly or view it on GitHub.

@sagiegurari
Copy link
Owner

no, not restart.
do as follows

  1. if brackets is up and running, close it.
  2. wait for few seconds for data to sync
  3. delete data folder from brackets portable folder.
  4. now and only now, startup brackets again.
  5. check for any errors before installing anything, if you have errors now, if yes, tell me.
  6. if no errors, install your plugin and check for issues

also, did you have brackets installed on that pc already?

@sagiegurari
Copy link
Owner

wait a minute with the testing. i'm doing a change that i hope will solve all issues.

@sagiegurari
Copy link
Owner

I'm uploading a new version right now, guess it will be available in few minutes.
its version 1.4.0.2 in the github releases page.
just use https://github.com/sagiegurari/brackets-portable/releases/latest to get there.
please check if it solves the issues.

@peio72
Copy link
Author

peio72 commented Jul 30, 2015

I tried to reinstall with 1.4.0.3 version.

I checked and found an issue in the debugguer at first start:

Error setting menu item shortcut: 1/command/Menus.js:820 (anonymous
function)
/LiveDevelopment/MultiBrowserImpl/transports/NodeSocketTransport.js:87
NodeSocketTransport - start

The i tried installing extensions: same errors as before

I tried to close, delete Data folder and restart Brackets, extension
install with same error.

Brackets have already been installed on this PC using Portable
Installer.

Let me know.

Thanx.

Le 30/07/2015 8:23, Sagie Gur-Ari a écrit :

I'm uploading a new version right now, guess it will be available in
few minutes.
its version 1.4.0.2 in the github releases page.
just use
https://github.com/sagiegurari/brackets-portable/releases/latest [1]
to get there.
please check if it solves the issues.

Reply to this email directly or view it on GitHub [2].

Links:

[1] https://github.com/sagiegurari/brackets-portable/releases/latest
[2]
#1 (comment)

@peio72
Copy link
Author

peio72 commented Jul 30, 2015

I think the issue could be linked with this behavior:

brackets-userland/brackets-git#879

Le 30/07/2015 8:23, Sagie Gur-Ari a écrit :

I'm uploading a new version right now, guess it will be available in
few minutes.
its version 1.4.0.2 in the github releases page.
just use
https://github.com/sagiegurari/brackets-portable/releases/latest [1]
to get there.
please check if it solves the issues.

Reply to this email directly or view it on GitHub [2].

Links:

[1] https://github.com/sagiegurari/brackets-portable/releases/latest
[2]
#1 (comment)

@sagiegurari
Copy link
Owner

its possible. I'm only wrapping brackets to make it portable, but i can't solve brackets code issues.
The wrapping exists since the start of 2014 and its first time I hear of this issue and if it is in brackets itself, I'm afraid you are kind of start.

@sagiegurari
Copy link
Owner

link to brackets issue: adobe/brackets#10628

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

No branches or pull requests

2 participants