[GH-ISSUE #31] firefox profile #20

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

Originally created by @InternalShadow on GitHub (Feb 21, 2024).
Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/31

With this config.json I am getting the below error

config.json

{ "verbose": true, "firefox_profile": "C:\\Users\\mikey\\AppData\\Local\\Mozilla\\Firefox\\Profiles\\40n7xz2q.dev-edition-default", "headless": false, "twitter_language": "English", "llm": "gpt4", "image_prompt_llm": "gpt4", "image_model": "v3", "threads": 2, "zip_url": "", "is_for_kids": false, "google_maps_scraper": "https://github.com/gosom/google-maps-scraper/archive/refs/tags/v0.9.7.zip", "email": { "smtp_server": "smtp.gmail.com", "smtp_port": 587, "username": "", "password": "" }, "google_maps_scraper_niche": "", "scraper_timeout": 300, "outreach_message_subject": "I have a question...", "outreach_message_body_file": "outreach_message.html", "assembly_ai_api_key": "1234567890sdfghjk6789", "font": "bold_font.ttf", "imagemagick_path": "C:\\Program Files\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe" }

image

Error along with stacktrace

Traceback (most recent call last): File "C:\Users\mikey\Desktop\Projects\MoneyPrinterV2\src\main.py", line 364, in main() File "C:\Users\mikey\Desktop\Projects\MoneyPrinterV2\src\main.py", line 79, in main youtube = YouTube( File "C:\Users\mikey\Desktop\Projects\MoneyPrinterV2\src\classes\YouTube.py", line 83, in __init__ self.browser: webdriver.Firefox = webdriver.Firefox(service=self.service, options=self.options) File "C:\Users\mikey\.pyenv\pyenv-win\versions\3.9.13\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 69, in __init__ super().__init__(command_executor=executor, options=options) File "C:\Users\mikey\.pyenv\pyenv-win\versions\3.9.13\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 208, in __init__ self.start_session(capabilities) File "C:\Users\mikey\.pyenv\pyenv-win\versions\3.9.13\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 292, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] File "C:\Users\mikey\.pyenv\pyenv-win\versions\3.9.13\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 347, in execute self.error_handler.check_response(response) File "C:\Users\mikey\.pyenv\pyenv-win\versions\3.9.13\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 1

Originally created by @InternalShadow on GitHub (Feb 21, 2024). Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/31 With this config.json I am getting the below error <p><h4>config.json</h4><code> { "verbose": true, "firefox_profile": "C:\\Users\\mikey\\AppData\\Local\\Mozilla\\Firefox\\Profiles\\40n7xz2q.dev-edition-default", "headless": false, "twitter_language": "English", "llm": "gpt4", "image_prompt_llm": "gpt4", "image_model": "v3", "threads": 2, "zip_url": "", "is_for_kids": false, "google_maps_scraper": "https://github.com/gosom/google-maps-scraper/archive/refs/tags/v0.9.7.zip", "email": { "smtp_server": "smtp.gmail.com", "smtp_port": 587, "username": "", "password": "" }, "google_maps_scraper_niche": "", "scraper_timeout": 300, "outreach_message_subject": "I have a question...", "outreach_message_body_file": "outreach_message.html", "assembly_ai_api_key": "1234567890sdfghjk6789", "font": "bold_font.ttf", "imagemagick_path": "C:\\Program Files\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe" } </code> </p> ![image](https://github.com/FujiwaraChoki/MoneyPrinterV2/assets/76181682/40cef727-893f-48e1-b058-48ee94723e5b) <p> <h4>Error along with stacktrace</h4> <code> Traceback (most recent call last): File "C:\Users\mikey\Desktop\Projects\MoneyPrinterV2\src\main.py", line 364, in <module> main() File "C:\Users\mikey\Desktop\Projects\MoneyPrinterV2\src\main.py", line 79, in main youtube = YouTube( File "C:\Users\mikey\Desktop\Projects\MoneyPrinterV2\src\classes\YouTube.py", line 83, in __init__ self.browser: webdriver.Firefox = webdriver.Firefox(service=self.service, options=self.options) File "C:\Users\mikey\.pyenv\pyenv-win\versions\3.9.13\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 69, in __init__ super().__init__(command_executor=executor, options=options) File "C:\Users\mikey\.pyenv\pyenv-win\versions\3.9.13\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 208, in __init__ self.start_session(capabilities) File "C:\Users\mikey\.pyenv\pyenv-win\versions\3.9.13\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 292, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] File "C:\Users\mikey\.pyenv\pyenv-win\versions\3.9.13\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 347, in execute self.error_handler.check_response(response) File "C:\Users\mikey\.pyenv\pyenv-win\versions\3.9.13\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 1 </code></p>
kerem closed this issue 2026-03-02 04:06:16 +03:00
Author
Owner

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

Show us .mp/youtube.json

<!-- gh-comment-id:1957786096 --> @FujiwaraChoki commented on GitHub (Feb 21, 2024): Show us `.mp/youtube.json`
Author
Owner

@InternalShadow commented on GitHub (Feb 21, 2024):

{ "accounts": [ { "id": "8ea01b82-cc59-4e3f-b8e6-618c2b48b820", "nickname": "not-a-bot", "firefox_profile": " C:\\Users\\mikey\\AppData\\Local\\Mozilla\\Firefox\\Profiles\\40n7xz2q.dev-edition-default", "niche": "science", "language": "english", "videos": [] } ] }
<!-- gh-comment-id:1957788533 --> @InternalShadow commented on GitHub (Feb 21, 2024): <code> { "accounts": [ { "id": "8ea01b82-cc59-4e3f-b8e6-618c2b48b820", "nickname": "not-a-bot", "firefox_profile": " C:\\Users\\mikey\\AppData\\Local\\Mozilla\\Firefox\\Profiles\\40n7xz2q.dev-edition-default", "niche": "science", "language": "english", "videos": [] } ] } </code>
Author
Owner

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

Make sure every firefox window is closed before starting MPV2.

<!-- gh-comment-id:1957835129 --> @FujiwaraChoki commented on GitHub (Feb 21, 2024): Make sure every firefox window is closed before starting MPV2.
Author
Owner

@InternalShadow commented on GitHub (Feb 21, 2024):

All firefox windows are closed before running mpv2 still same issue

<!-- gh-comment-id:1957846136 --> @InternalShadow commented on GitHub (Feb 21, 2024): All firefox windows are closed before running mpv2 still same issue
Author
Owner

@InternalShadow commented on GitHub (Feb 21, 2024):

Does it have to do with firefox-dev vs firefox base and the selenium webdriver version compatibilities?

<!-- gh-comment-id:1957888615 --> @InternalShadow commented on GitHub (Feb 21, 2024): Does it have to do with firefox-dev vs firefox base and the selenium webdriver version compatibilities?
Author
Owner

@InternalShadow commented on GitHub (Feb 21, 2024):

That was the exact issue with this. the selenium webdriver is only configured for firefox not firefox-dev profiles.

<!-- gh-comment-id:1957903941 --> @InternalShadow commented on GitHub (Feb 21, 2024): That was the exact issue with this. the selenium webdriver is only configured for firefox not firefox-dev profiles.
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#20
No description provided.