Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Windows: Installing extension goes into infinite loop #6828

Closed

Description

@redmunds

Recipe:

  1. On Windows, start installation of extension (e.g. Select Parent)
  2. Install Extension Dialog says "Installing extension from..."

Result:
Infinite loop -- installation never terminates. But you can click Cancel, and when done the extension seems to be installed. In console log:

Uncaught Error: Paths must be absolute: 'C:\Users\redmunds\AppData\Local\Temp\brackets114110-11960-t510my' 

Activity

  1. added this to the Sprint 37 milestone on Feb 10, 2014
  2. ingorichter commented on Feb 11, 2014

    @ingorichter
    Contributor

    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)

  3. busykai commented on Feb 12, 2014

    @busykai
    Contributor

    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.

  4. added a commit that references this issue on Feb 12, 2014
    1dd4f03
  5. marcelgerber commented on Feb 12, 2014

    @marcelgerber
    Contributor

    I got this too, but I thought it was a local problem.
    Btw, updating extensions works fine - where's the difference?

  6. busykai commented on Feb 12, 2014

    @busykai
    Contributor

    @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).

  7. redmunds commented on Feb 26, 2014

    @redmunds
    ContributorAuthor

    @peterflynn Let me know if you're not working on this and I'll take it over.

  8. added a commit that references this issue on Feb 26, 2014
    f81d55a
  9. redmunds commented on Feb 26, 2014

    @redmunds
    ContributorAuthor

    Confirmed. Closing.

  10. peterflynn commented on Feb 26, 2014

    @peterflynn
    Member

    @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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions