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

[BUG] No module named 'blinker._saferef' #455

Open
2 tasks done
roie-r opened this issue May 11, 2024 · 3 comments
Open
2 tasks done

[BUG] No module named 'blinker._saferef' #455

roie-r opened this issue May 11, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@roie-r
Copy link

roie-r commented May 11, 2024

Before submitting a bug report...

  • This bug wasn't already reported.
    (I have checked every bug report on GitHub)

Title

  • The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug

As the error says, missing module... not much to describe.

Copy and paste your error

D:\Docs\_Code\Microsoft-Rewards-Farmer-master>python main.py -v
Traceback (most recent call last):
  File "D:\Docs\_Code\Microsoft-Rewards-Farmer-master\main.py", line 9, in <module>
    from src import Browser, DailySet, Login, MorePromotions, PunchCards, Searches
  File "D:\Docs\_Code\Microsoft-Rewards-Farmer-master\src\__init__.py", line 1, in <module>
    from .browser import Browser
  File "D:\Docs\_Code\Microsoft-Rewards-Farmer-master\src\browser.py", line 9, in <module>
    import seleniumwire.undetected_chromedriver as webdriver
  File "C:\Program Files\Python312\Lib\site-packages\seleniumwire\undetected_chromedriver\__init__.py", line 1, in <module>
    from .webdriver import Chrome, ChromeOptions
  File "C:\Program Files\Python312\Lib\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 12, in <module>
    from seleniumwire.inspect import InspectRequestsMixin
  File "C:\Program Files\Python312\Lib\site-packages\seleniumwire\inspect.py", line 7, in <module>
    from seleniumwire import har
  File "C:\Program Files\Python312\Lib\site-packages\seleniumwire\har.py", line 11, in <module>
    from seleniumwire.thirdparty.mitmproxy import connections
  File "C:\Program Files\Python312\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\connections.py", line 10, in <module>
    from seleniumwire.thirdparty.mitmproxy.net import tls, tcp
  File "C:\Program Files\Python312\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\net\tls.py", line 15, in <module>
    import seleniumwire.thirdparty.mitmproxy.options
  File "C:\Program Files\Python312\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\options.py", line 5, in <module>
    from seleniumwire.thirdparty.mitmproxy import optmanager
  File "C:\Program Files\Python312\Lib\site-packages\seleniumwire\thirdparty\mitmproxy\optmanager.py", line 9, in <module>
    import blinker._saferef
ModuleNotFoundError: No module named 'blinker._saferef'

Screenshots

1

Value of dashboard variable

1

@roie-r roie-r added the bug Something isn't working label May 11, 2024
@cal4
Copy link

cal4 commented May 12, 2024

Fixed here. h/t https://www.marekrost.cz/selenium-wire-how-to-resolve-blinker-saferef

@roie-r roie-r closed this as completed May 12, 2024
@cal4
Copy link

cal4 commented May 12, 2024

@roie-r, might want to leave this open to get more visibility since my project is a fork

@G6KG
Copy link

G6KG commented May 30, 2024

added : blinker<1.8.0 to your requirements.txt and then : pip install -r requirements.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants