[GH-ISSUE #15] Error when running on Mac #9

Closed
opened 2026-03-02 04:06:09 +03:00 by kerem · 4 comments
Owner

Originally created by @s4-hub on GitHub (Feb 19, 2024).
Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/15

image

Hi. I got error when running on Mac.
What should i do ?

Originally created by @s4-hub on GitHub (Feb 19, 2024). Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/15 ![image](https://github.com/FujiwaraChoki/MoneyPrinterV2/assets/57908082/80aae8c1-45e1-493d-8124-7f25cdb60889) Hi. I got error when running on Mac. What should i do ?
kerem closed this issue 2026-03-02 04:06:10 +03:00
Author
Owner

@FujiwaraChoki commented on GitHub (Feb 19, 2024):

Your firefox path is incorrect.

<!-- gh-comment-id:1952192898 --> @FujiwaraChoki commented on GitHub (Feb 19, 2024): Your firefox path is incorrect.
Author
Owner

@margox commented on GitHub (Feb 20, 2024):

Your firefox path is incorrect.

Could you show us a correct firefox profile path example?

<!-- gh-comment-id:1953573715 --> @margox commented on GitHub (Feb 20, 2024): > Your firefox path is incorrect. Could you show us a correct firefox profile path example?
Author
Owner

@s4-hub commented on GitHub (Feb 20, 2024):

Your firefox path is incorrect.

Could you show us a correct firefox profile path example?

"firefox_profile": "/Users/yagami_ai/Library/Application Support/Firefox/Profiles/p4cq53t0.default"
this is my firefox profile path

<!-- gh-comment-id:1953643453 --> @s4-hub commented on GitHub (Feb 20, 2024): > > Your firefox path is incorrect. > > Could you show us a correct firefox profile path example? "firefox_profile": "/Users/yagami_ai/Library/Application Support/Firefox/Profiles/p4cq53t0.default" this is my firefox profile path
Author
Owner

@neilk17 commented on GitHub (Dec 31, 2024):

"firefox_profile": "Users/neil/Library/Application Support/Firefox/Profiles/xxx.default"

  File "/Users/neil/apps/MoneyPrinterV2/src/main.py", line 377, in <module>
    main()
  File "/Users/neil/apps/MoneyPrinterV2/src/main.py", line 92, in main
    youtube = YouTube(
  File "/Users/neil/apps/MoneyPrinterV2/src/classes/YouTube.py", line 83, in __init__
    self.browser: webdriver.Firefox = webdriver.Firefox(service=self.service, options=self.options)
  File "/Users/neil/apps/MoneyPrinterV2/venv/lib/python3.9/site-packages/selenium/webdriver/firefox/webdriver.py", line 71, in __init__
    super().__init__(command_executor=executor, options=options)
  File "/Users/neil/apps/MoneyPrinterV2/venv/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 241, in __init__
    self.start_session(capabilities)
  File "/Users/neil/apps/MoneyPrinterV2/venv/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 329, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "/Users/neil/apps/MoneyPrinterV2/venv/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 384, in execute
    self.error_handler.check_response(response)
  File "/Users/neil/apps/MoneyPrinterV2/venv/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 232, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Failed to set preferences: unknown error

I used this as my firefox profile but I'm still getting the same error on Mac. What am I missing?

<!-- gh-comment-id:2566236025 --> @neilk17 commented on GitHub (Dec 31, 2024): "firefox_profile": "Users/neil/Library/Application Support/Firefox/Profiles/xxx.default" ```Traceback (most recent call last): File "/Users/neil/apps/MoneyPrinterV2/src/main.py", line 377, in <module> main() File "/Users/neil/apps/MoneyPrinterV2/src/main.py", line 92, in main youtube = YouTube( File "/Users/neil/apps/MoneyPrinterV2/src/classes/YouTube.py", line 83, in __init__ self.browser: webdriver.Firefox = webdriver.Firefox(service=self.service, options=self.options) File "/Users/neil/apps/MoneyPrinterV2/venv/lib/python3.9/site-packages/selenium/webdriver/firefox/webdriver.py", line 71, in __init__ super().__init__(command_executor=executor, options=options) File "/Users/neil/apps/MoneyPrinterV2/venv/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 241, in __init__ self.start_session(capabilities) File "/Users/neil/apps/MoneyPrinterV2/venv/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 329, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] File "/Users/neil/apps/MoneyPrinterV2/venv/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 384, in execute self.error_handler.check_response(response) File "/Users/neil/apps/MoneyPrinterV2/venv/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 232, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: Failed to set preferences: unknown error ``` I used this as my firefox profile but I'm still getting the same error on Mac. What am I missing?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/MoneyPrinterV2#9
No description provided.