Giter VIP home page Giter VIP logo

Comments (16)

Rhaedas avatar Rhaedas commented on August 17, 2024 1

Just to chime in, I have stuff like that and VA running, 1.2.4 still working okay with me.

from ed-scout.

joncage avatar joncage commented on August 17, 2024

Can you give this a shot?

EDScout-DiagnosticBuild-01-flaskwebuiextrareporting.zip

from ed-scout.

joncage avatar joncage commented on August 17, 2024

Tried running the above on my machine and I get amongst other things, a line like this:

2020-08-22T21:07:23.169Z - flaskwebgui-flaskwebgui - INFO - Opening browser in app mode with: ['C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe', '--new-window', '--window-size=800,600', '--app=http://127.0.0.1:5000/']

from ed-scout.

joncage avatar joncage commented on August 17, 2024

Better still, try this one (added even more debug):
EDScout-DiagnosticBuild-02-evenmoredebug.zip

from ed-scout.

joncage avatar joncage commented on August 17, 2024

More feedback from fenland after restoring his gfx options:

C:\Users\Ben\Desktop\EDScout>EDScout.exe 
2020-08-22T21:34:23.447Z - EDScoutWebUI-EDScout - INFO - ED Scout v1.2.2 Starting 
2020-08-22T21:34:23.447Z - EDScoutWebUI-EDScout - DEBUG - Current process: 7372 
2020-08-22T21:34:23.734Z - flaskwebgui-flaskwebgui - INFO - Found chrome here: 
2020-08-22T21:34:23.736Z - EDScoutWebUI-EDScout - INFO - Looking for HUD overrides in C:\Users\Ben\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics\GraphicsConfigurationOverride.xml 
2020-08-22T21:34:23.736Z - EDScoutWebUI-EDScout - ERROR - 'NoneType' object has no attribute 'strip' Traceback (most recent call last): 
File "EDScoutWebUI\EDScout.py", line 169, in <module> 
File "EDScoutWebUI\HudColourAdjuster.py", line 20, in get_matrix_values AttributeError: 'NoneType' object has no attribute 'strip' Traceback (most recent call last): 
File "EDScoutWebUI\EDScout.py", line 169, in <module> 
File "EDScoutWebUI\HudColourAdjuster.py", line 20, in get_matrix_values AttributeError: 'NoneType' object has no attribute 'strip' [7372] 
Failed to execute script EDScout

Gfx options issues aside (looks like a problem reading that file), it looks like we're failing to find chrome on this machine based on this line:

2020-08-22T21:34:23.734Z - flaskwebgui-flaskwebgui - INFO - Found chrome here: 

pyflaskwebgui looks for the following registry keys to try and locate chrome and it appears it's having problems with that:

  • Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe
  • Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe

from ed-scout.

joncage avatar joncage commented on August 17, 2024

I had a look at where flaskwebui is hunting for chrome in the registry and on my machine it's finding it here:

image

from ed-scout.

Rhaedas avatar Rhaedas commented on August 17, 2024

Mine is identical. Maybe older Chrome installs did different? Reinstall might fix.

from ed-scout.

joncage avatar joncage commented on August 17, 2024

One more diagnostic build to try with a fix to one of the third party libraries I use that might highlight something:

EDScout-DiagnosticBuild-03-attemptafix.zip

Of as Rhaed says, try re-installing chrome if you're able / happy to try that.

from ed-scout.

joncage avatar joncage commented on August 17, 2024

More diagnostic feedback:

C:\Users\Ben\Desktop\EDScout>EDScout.exe 
2020-08-22T22:13:45.707Z - EDScoutWebUI-EDScout - INFO - ED Scout v1.2.2 Starting 
2020-08-22T22:13:45.707Z - EDScoutWebUI-EDScout - DEBUG - Current process: 11008 
2020-08-22T22:13:46.020Z - flaskwebgui-flaskwebgui - INFO - Found chrome here: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe 
2020-08-22T22:13:46.021Z - flaskwebgui-flaskwebgui - INFO - Chrome path: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe 
2020-08-22T22:13:46.023Z - EDScoutWebUI-EDScout - INFO - Looking for HUD overrides in C:\Users\Ben\AppData\Local\Frontier Developments\Elite Dangerous\Options\Graphics\GraphicsConfigurationOverride.xml 
2020-08-22T22:13:46.023Z - EDScoutWebUI-EDScout - ERROR - 'NoneType' object has no attribute 'strip' Traceback (most recent call last): 
File "EDScoutWebUI\EDScout.py", line 169, in <module> 
File "EDScoutWebUI\HudColourAdjuster.py", line 20, in get_matrix_values AttributeError: 'NoneType' object has no attribute 'strip' Traceback (most recent call last): 
File "EDScoutWebUI\EDScout.py", line 169, in <module> 
File "EDScoutWebUI\HudColourAdjuster.py", line 20, in get_matrix_values AttributeError: 'NoneType' object has no attribute 'strip' [11008] 
Failed to execute script EDScout

from ed-scout.

joncage avatar joncage commented on August 17, 2024

More feedback:

ok here is the graphics xml. Perhaps the lack of data in blue is messing it up? I assume that should be 0,0,1 ? Also is the results of looking in regedit...

<?xml version="1.0" encoding="utf-8"?> 
<GraphicsConfig> 
<GUIColour> 
<Default> 
<LocalisationName>Standard</LocalisationName> 
<MatrixRed>1, 0, 0</MatrixRed> 
<MatrixGreen>0, 1, 0</MatrixGreen> 
<MatrixBlue></MatrixBlue> 
</Default> 
</GUIColour> 
</GraphicsConfig>
  • Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe : Under this one two entries, one is default, REG_SZ, C:\program files(x86)\google\chrome\application\chrome.exe the other is Path, REG_SZ, C:\program files(x86)\google\chrome\application
  • Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe under this entry there is Default, REG_SZ, (value not set)

from ed-scout.

joncage avatar joncage commented on August 17, 2024

One more diagnostic build with some more handling for unexpected HUD file formatting.

EDScout-DiagnosticBuild-04-unexpectedmatrixformathandling.zip

from ed-scout.

Rhaedas avatar Rhaedas commented on August 17, 2024

Interesting on the matrix. Guess you need to figure out a what-if when the input isn't a good one. I believe since this is an override file, the game will see the null and just use the default blue values, so you can probably do the same thing. If you don't get three numbers as expected, just go with the appropriate values for default for that color.

from ed-scout.

joncage avatar joncage commented on August 17, 2024

Yeah, using a default identity matrix is probably what the game does and certainly an option (or just spit out an error requesting that the user use the correct format).

from ed-scout.

joncage avatar joncage commented on August 17, 2024

Raised a bug report / pull request to fix PyFlaskWebGui here: ClimenteA/flaskwebgui#33

from ed-scout.

Rhaedas avatar Rhaedas commented on August 17, 2024

I wouldn't assume an error, as some of the popular HUD generators may create it that way. ED Profiler for one does this if no blue numbers are entered.

from ed-scout.

joncage avatar joncage commented on August 17, 2024

Yep, that was exactly the cause so I'll look at doing that.

from ed-scout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.