Code Monkey home page Code Monkey logo

Comments (4)

k24voigt avatar k24voigt commented on July 17, 2024

2021-05-05 16:45:38 INFO: Launching Firefox using default profile: Profiles/4it0kylj.default-release-1620245470017
.'(Default)').VersionInfo.ProductVersion was unexpected at this time.
Traceback (most recent call last):
File "C:\Users\k24\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\k24\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\k24\Documents\nvidia-sniper\sniper_main
.py", line 285, in
loop.run_until_complete(main())
File "C:\Users\k24\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "C:\Users\k24\Documents\nvidia-sniper\sniper_main
.py", line 99, in main
driver = webdriver.create()
File "C:\Users\k24\Documents\nvidia-sniper\sniper\webdriver.py", line 55, in create
firefox_profile=profile, executable_path=GeckoDriverManager().install())
File "C:\Users\k24.virtualenvs\nvidia-sniper-4lKBC0c6\lib\site-packages\webdriver_manager\firefox.py", line 22, in init
self.driver = GeckoDriver(version=version,
File "C:\Users\k24.virtualenvs\nvidia-sniper-4lKBC0c6\lib\site-packages\webdriver_manager\driver.py", line 83, in init
self.browser_version = firefox_version()
File "C:\Users\k24.virtualenvs\nvidia-sniper-4lKBC0c6\lib\site-packages\webdriver_manager\utils.py", line 164, in firefox_version
raise ValueError(f'Could not get version for Firefox with this command: {cmd}')
ValueError: Could not get version for Firefox with this command: (Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe').'(Default)').VersionInfo.ProductVersion

from nvidia-sniper.

alexanderjacuna avatar alexanderjacuna commented on July 17, 2024

The last line looks to be a command that can be run in Windows PowerShell. I am getting the same error and can run the command just fine.

ValueError: Could not get version for Firefox with this command: (Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe').'(Default)').VersionInfo.ProductVersion

PS C:\Users\Alexander> (Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe').'(Default)').VersionInfo.ProductVersion
88.0.1

from nvidia-sniper.

Dommm56 avatar Dommm56 commented on July 17, 2024

Same error here:
, line 164, in firefox_version
raise ValueError(f'Could not get version for Firefox with this command: {cmd}')
ValueError: Could not get version for Firefox with this command: (Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe').'(Default)').VersionInfo.ProductVersion

Some kind of version error? som1 got a fix? @philippnormann

from nvidia-sniper.

BBBBBbruce avatar BBBBBbruce commented on July 17, 2024

getting same error both in cmd and powershell.

from nvidia-sniper.

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.