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

ED Scout stays blank, but remote connection works #145

Open
EoD opened this issue Nov 20, 2020 · 6 comments
Open

ED Scout stays blank, but remote connection works #145

EoD opened this issue Nov 20, 2020 · 6 comments

Comments

@EoD
Copy link

EoD commented Nov 20, 2020

When I am starting EDscout by ./EDScout.exe, the screen pops up and is empty:
image

But when I am opening the remote connection in a browser tab in parallel, it looks good:
http://localhost:5000/

Is it possible that the auto-launched chrome window is not using its own profile, like a guest profile?
Maybe some of my browser extensions are interfering with the main window.

@joncage
Copy link
Owner

joncage commented Nov 20, 2020

Now that is interesting. EDScout uses this module to launch the chrome instance: https://pypi.org/project/flaskwebgui/

The line in question is here: https://github.com/ClimenteA/flaskwebgui/blob/34a1e2d47eef6f9283f7f440db8b106315f0ee4c/src/flaskwebgui.py#L201

[self.browser_path, "--new-window", '--app={}'.format(self.localhost)]

i.e.

chrome.exe --new-window --app=http://127.0.0.1:5000

Some questions for you;

  1. When you plot a route after opening it in that state, does it recover?
  2. If you right-click on the stalled GUI and hit Inspect then go to the Console tab, do you see any error messages?
  3. What do the logs in C:\Users\<You>\AppData\Local\EDScout\Logs look like?

@joncage
Copy link
Owner

joncage commented Nov 20, 2020

Could be related to #105

@EoD
Copy link
Author

EoD commented Nov 26, 2020

chrome.exe --new-window --app=http://127.0.0.1:5000

That is probably the issue here. My "normal" Chrome does not allow many external scripts, especially none from 127.0.0.1. It would be preferable if you could launch chrome.exe --guest --new-window --app=http://127.0.0.1:5000 instead.
When I am doing this locally, it seems to work out of the box.

When you plot a route after opening it in that state, does it recover?

I was not able to make it show any kind of data

If you right-click on the stalled GUI and hit Inspect then go to the Console tab, do you see any error messages?

Nothing in particular, but plenty of messages regarding ad-blocking

What do the logs in C:\Users<You>\AppData\Local\EDScout\Logs look like?

I am not seeing any errors

@joncage
Copy link
Owner

joncage commented Nov 26, 2020

Gotcha. I'll give that a try and make a proposal to the maintainer of flaskwebgui. I've submitted quite a few alterations in the development of EDScout 😉

Might get you to try a beta to check this fix solves it for you if you're okay with that?

@EoD
Copy link
Author

EoD commented Dec 10, 2020

Might get you to try a beta to check this fix solves it for you if you're okay with that?

sure!

@Overcon
Copy link

Overcon commented Dec 18, 2020

I am having the same issue. It seems to work, then I logout for the night, but leave edscout running, come back and it will not update, despite closing and opening it. Replotting route doesn't help either.

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

No branches or pull requests

3 participants