You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite adding path for chrome canary in #27 the chrome-browser still fails:
N:\git\webruntime>webruntime https://www.abc.net.au/ chrome-browser
Traceback (most recent call last):
File "c:\users\lewisneal\appdata\local\programs\python\python38\lib\runpy.py", line 194, in run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\lewisneal\appdata\local\programs\python\python38\lib\runpy.py", line 87,
in run_code
exec(code, run_globals)
File "C:\Users\lewisneal\AppData\Local\Programs\Python\Python38\Scripts\webruntime.exe_main.py", line 7, in
File "c:\users\lewisneal\appdata\local\programs\python\python38\lib\site-packages\webruntime_main.py", line 32, in main
rt = webruntime.launch(sys.argv[1], sys.argv[2])
File "c:\users\lewisneal\appdata\local\programs\python\python38\lib\site-packages\webruntime_init.py", line 200, in launch
raise ValueError('Could not detect a suitable backend among %r.' % runtimes)
ValueError: Could not detect a suitable backend among ['googlechrome-browser', 'chromium-browser'].
[end]
The text was updated successfully, but these errors were encountered:
I think I've found the source of that error. When the Chrome runtime could not be found, it would still try to use it if it had a cache of it. This is addressed in #29.
This does not solve the original problem. It looks like _get_google_chrome_exe() still returns None for you. I'd recommend running the code of that function directly (e.g. in an interactive session) and seeing where it goes wrong.
Despite adding path for chrome canary in #27 the chrome-browser still fails:
N:\git\webruntime>webruntime https://www.abc.net.au/ chrome-browser
Traceback (most recent call last):
File "c:\users\lewisneal\appdata\local\programs\python\python38\lib\runpy.py", line 194, in run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\lewisneal\appdata\local\programs\python\python38\lib\runpy.py", line 87,
in run_code
exec(code, run_globals)
File "C:\Users\lewisneal\AppData\Local\Programs\Python\Python38\Scripts\webruntime.exe_main.py", line 7, in
File "c:\users\lewisneal\appdata\local\programs\python\python38\lib\site-packages\webruntime_main.py", line 32, in main
rt = webruntime.launch(sys.argv[1], sys.argv[2])
File "c:\users\lewisneal\appdata\local\programs\python\python38\lib\site-packages\webruntime_init.py", line 200, in launch
raise ValueError('Could not detect a suitable backend among %r.' % runtimes)
ValueError: Could not detect a suitable backend among ['googlechrome-browser', 'chromium-browser'].
[end]
The text was updated successfully, but these errors were encountered: