sagiegurari / brackets-portable

Windows portable version of adobe brackets web development editor.
MIT License
130 stars 21 forks source link

Can't install some extensions #1

Open peio72 opened 9 years ago

peio72 commented 9 years ago

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 commented 9 years ago

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

peio72 commented 9 years ago

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] https://github.com/sagiegurari/brackets-portable/issues/1#issuecomment-125966044

sagiegurari commented 9 years ago

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 commented 9 years ago

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] https://github.com/sagiegurari/brackets-portable/issues/1#issuecomment-125980784

sagiegurari commented 9 years ago

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 commented 9 years ago

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] https://github.com/sagiegurari/brackets-portable/issues/1#issuecomment-125983933

sagiegurari commented 9 years ago

was brackets up when you deleted that folder?

peio72 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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

sagiegurari commented 9 years ago

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 commented 9 years ago

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] https://github.com/sagiegurari/brackets-portable/issues/1#issuecomment-126200436

peio72 commented 9 years ago

I think the issue could be linked with this behavior:

https://github.com/zaggino/brackets-git/issues/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] https://github.com/sagiegurari/brackets-portable/issues/1#issuecomment-126200436

sagiegurari commented 9 years ago

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 commented 9 years ago

link to brackets issue: adobe/brackets#10628