mirror of
https://github.com/FujiwaraChoki/MoneyPrinterV2.git
synced 2026-04-26 06:35:51 +03:00
[GH-ISSUE #31] firefox profile #20
Labels
No labels
bug
enhancement
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/MoneyPrinterV2#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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" }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@FujiwaraChoki commented on GitHub (Feb 21, 2024):
Show us
.mp/youtube.json@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": [] } ] }@FujiwaraChoki commented on GitHub (Feb 21, 2024):
Make sure every firefox window is closed before starting MPV2.
@InternalShadow commented on GitHub (Feb 21, 2024):
All firefox windows are closed before running mpv2 still same issue
@InternalShadow commented on GitHub (Feb 21, 2024):
Does it have to do with firefox-dev vs firefox base and the selenium webdriver version compatibilities?
@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.