You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Windows: Installing extension goes into infinite loop #6828
It looks like the path is not normalized to be used with the new filesystem impl. Peter made a change here dd0cabf to throw this error when the path doesn't have forward slashes (as required by the filesystem impl)
FWIW, i saw a similar behavior when installing extensions (manifested itself differently). this place returns literal native windows path (when on Windows :) as reported by the node command (which, in turn, uses path.join => native separators). i can submit a PR for this.
@SAplayer if you do update first thing when you start Brackets, does it fail silently as well? For me it was failing only the first time and the problem was with unlink (delete). Brackets starts then leaving temp downloaded files silently without deleting them. I do have a different file system implementation though (I remember I was not understanding how AppShellFS goes around win native path returned by node command).
@redmunds@busykai Is there any way we could write a unit test for this? It'd have to be an 'integration test' I guess with the full window open... but validating the full Node-to-Brackets installation workflow does seem valuable...
Activity
ingorichter commentedon Feb 11, 2014
It looks like the path is not normalized to be used with the new filesystem impl. Peter made a change here dd0cabf to throw this error when the path doesn't have forward slashes (as required by the filesystem impl)
busykai commentedon Feb 12, 2014
FWIW, i saw a similar behavior when installing extensions (manifested itself differently). this place returns literal native windows path (when on Windows :) as reported by the node command (which, in turn, uses path.join => native separators). i can submit a PR for this.
Fix adobe#6828. Bracketize Win paths returned by node.
marcelgerber commentedon Feb 12, 2014
I got this too, but I thought it was a local problem.
Btw, updating extensions works fine - where's the difference?
busykai commentedon Feb 12, 2014
@SAplayer if you do update first thing when you start Brackets, does it fail silently as well? For me it was failing only the first time and the problem was with unlink (delete). Brackets starts then leaving temp downloaded files silently without deleting them. I do have a different file system implementation though (I remember I was not understanding how AppShellFS goes around win native path returned by node command).
redmunds commentedon Feb 26, 2014
@peterflynn Let me know if you're not working on this and I'll take it over.
Merge pull request #6848 from busykai/fix-6828
redmunds commentedon Feb 26, 2014
Confirmed. Closing.
peterflynn commentedon Feb 26, 2014
@redmunds @busykai Is there any way we could write a unit test for this? It'd have to be an 'integration test' I guess with the full window open... but validating the full Node-to-Brackets installation workflow does seem valuable...