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

Open Samba directory #6028

Closed
FezVrasta opened this issue Nov 18, 2013 · 6 comments
Closed

Open Samba directory #6028

FezVrasta opened this issue Nov 18, 2013 · 6 comments
Assignees

Comments

@FezVrasta
Copy link
Contributor

In my company we have Windows servers and we use Samba to open directories from our workstations.

I've updated Brackets from Sprint 33 to Sprint 34 today and now I can't open samba folders anymore.

I can select the folder in the folder selector that appears clicking **File > Open folder...**but once I click Select folder it says:

Error loading project
An error occurred when trying to load the directory //myserver/c$/intepub/wwwroot/folder/. (error NotFound)

I've tried to open a file stored in that server giving to notepad.exe the path and it opens it correctly.
If I try with Sprint 33 everything works fine.

Am I the only one with this issue?
Thanks.

@marcelgerber
Copy link
Contributor

Seems like this is related to the New FileSystem API.

@peterflynn @iwehrman @gruehle

@FezVrasta
Copy link
Contributor Author

Yes I've thought it. Will be fixed soon I hope, I'm stuck to the S33 till this bug is not fixed.

@iwehrman
Copy link
Contributor

Perhaps path normalization is failing on paths that start with two slashes. What platform is this?

I suggest we call this high priority.

@iwehrman
Copy link
Contributor

@FezVrasta Can you tell us if anything is reported in the console when this error is triggered? To view the console:

  1. Load Brackets;
  2. Open http://localhost:9234/ in Chrome;
  3. Click the link to open Dev Tools
  4. Click the Console tab in the top bar.

If anything is reported there when you try to open the directory, would you mind pasting it in here? Thanks for the report!

@FezVrasta
Copy link
Contributor Author

Ok so,
if I load Brackets without extensions the console doesn't report anything when I try to open the folder.

If I load brackets with extensions (included Project Manager), then I try to open the folder the console says:

Error unwatching project root:  C:/Program Files (x86)/Brackets/samples/root/Getting Started/ Root is not watched. ProjectManager.js:916
Error watching project root:  //v-bpmsrv01/c$/ A parent of this root is already watched ProjectManager.js:899

The error occurs on Windows 7 and Windows 8 x64

@iwehrman
Copy link
Contributor

iwehrman commented Jan 7, 2014

Fixed by #6401.

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

No branches or pull requests

3 participants