Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LivePreview not opening in Chrome because there is a "space" in my User Account name on my PC. #268

Closed
3 tasks
SunilSuresh5260 opened this issue Mar 21, 2023 · 5 comments · Fixed by #269
Closed
3 tasks

Comments

@SunilSuresh5260
Copy link

Prerequisites

  • Can you reproduce the problem with Debug -> Reload Without Extensions? (I didn't do this since the problem is because of the space in my User folder name on my PC.)
  • Did you perform a cursory search to see if your bug or enhancement is already reported? Yes. I couldn't find it reported by anyone else
  • Did you read the Troubleshooting guide? Yes. It didn't help.

For more information on how to write a good bug report read here
For more information on how to contribute read here

Description

I am unable to open Live Preview after updating to Brackets 2.2

If I enable the "Experimental Live Preview" feature and then try opening Live Preview, it says "Open an HTML file or make sure there is an index.html file in your project in order to launch live preview." I think this requirement is RIDICULOUS. Suppose I'm just editing a single file (say, "contact us.html")? Why can't I do a live preview of just that file?

Steps to Reproduce

  1. Open any html file in Brackets
  2. Try to open LivePreview of that file

Expected behavior: Obviously, I should be able to see a Live Preview of the file that was open in Brackets.

Actual behavior:

  1. With Experimental Live Preview enabled, I get an error message saying that there should be an index.html file in my project (as I've mentioned above).
  2. Without Experimental Live Preview enabled, I get the following error messages:
    a) I get an error message in Brackets -- "Failed to Create Directory: Google Chrome cannot read and write to its data directory: C\Users\Sunil" -- Chrome obviously cannot read/write to this folder because my user folder is "Sunil Suresh", not "Sunil".
    b) In my browser, a new tab opens with "http://suresh/AppData/Roaming/lp" which obviously doesn't load since there is no folder called "suresh" on my PC
    c) And of course, the LivePreview does not load.
    Please see the attached files.

So, I think there is a bug in the program in that it is not considering the "space" in my Users folder name.

Versions

Windows 10 Home 21H2 (build 19044.2728)
Brackets v.2.2.0-17942
Chrome 64-bit, v.111.0.5563.65
2a
2b
2c

@abose
Copy link
Member

abose commented Mar 21, 2023

@SunilSuresh5260 Thanks for reporting the issue, Release with the fix will be available in a few days.

@abose
Copy link
Member

abose commented Mar 22, 2023

Release with the fix is now available: https://github.com/brackets-cont/brackets/releases/tag/v2.2.1

@SunilSuresh5260
Copy link
Author

Thanks for the quick update. I've downloaded the updated exe. But when I run it, the setup says it cannot continue because another version of the product is already installed.

Is there some command line option I can use to tell it to upgrade/update the existing installation? I don't want to uninstall the existing installation because I think that will remove my existing configuration settings and add-ons.

@abose
Copy link
Member

abose commented Mar 25, 2023

Uninstalling will not remove any settings or configuration from your machine. Its safe to do so. Future versions based on phvode will be upgradable.

@Umutodabas
Copy link

still same problems persist

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

Successfully merging a pull request may close this issue.

3 participants