Skip to content
This repository was archived by the owner on Mar 9, 2024. It is now read-only.
This repository was archived by the owner on Mar 9, 2024. It is now read-only.

Docker quickstart works, importing of transactions errors out #32

@nathanpaul

Description

@nathanpaul
2023-02-01 14:20:24 Traceback (most recent call last):
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/ynam/main.py", line 24, in main
2023-02-01 14:20:24     mint_transactions = mint_api.get_transactions(start_date=arg('days'))
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/ynam/mint_api.py", line 48, in get_transactions
2023-02-01 14:20:24     client.authorize(self.cookies(), self.key())
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/ynam/mint_api.py", line 58, in cookies
2023-02-01 14:20:24     return ast.literal_eval(file.read())
2023-02-01 14:20:24   File "/usr/lib/python3.8/ast.py", line 59, in literal_eval
2023-02-01 14:20:24     node_or_string = parse(node_or_string, mode='eval')
2023-02-01 14:20:24   File "/usr/lib/python3.8/ast.py", line 47, in parse
2023-02-01 14:20:24     return compile(source, filename, mode, flags,
2023-02-01 14:20:24   File "<unknown>", line 0
2023-02-01 14:20:24     
2023-02-01 14:20:24     ^
2023-02-01 14:20:24 SyntaxError: unexpected EOF while parsing
2023-02-01 14:20:24 
2023-02-01 14:20:24 During handling of the above exception, another exception occurred:
2023-02-01 14:20:24 
2023-02-01 14:20:24 Traceback (most recent call last):
2023-02-01 14:20:24   File "/usr/local/bin/ynam", line 8, in <module>
2023-02-01 14:20:24     sys.exit(main())
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/ynam/main.py", line 26, in main
2023-02-01 14:20:24     mint_api.updateAuth()
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/ynam/mint_api.py", line 66, in updateAuth
2023-02-01 14:20:24     browser = self.browser(
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/mintapi/browser.py", line 55, in __init__
2023-02-01 14:20:24     self.login_and_get_token(
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/mintapi/browser.py", line 110, in login_and_get_token
2023-02-01 14:20:24     self.driver = driver or _create_web_driver_at_mint_com(
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/mintapi/signIn.py", line 311, in _create_web_driver_at_mint_com
2023-02-01 14:20:24     driver = Chrome(options=chrome_options)
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/seleniumrequests/request.py", line 148, in __init__
2023-02-01 14:20:24     super(RequestsSessionMixin, self).__init__(*args, **kwargs)
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/chrome/webdriver.py", line 80, in __init__
2023-02-01 14:20:24     super().__init__(
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/chromium/webdriver.py", line 104, in __init__
2023-02-01 14:20:24     super().__init__(
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 286, in __init__
2023-02-01 14:20:24     self.start_session(capabilities, browser_profile)
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 378, in start_session
2023-02-01 14:20:24     response = self.execute(Command.NEW_SESSION, parameters)
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
2023-02-01 14:20:24     self.error_handler.check_response(response)
2023-02-01 14:20:24   File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
2023-02-01 14:20:24     raise exception_class(message, screen, stacktrace)
2023-02-01 14:20:24 selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed.
2023-02-01 14:20:24   (unknown error: DevToolsActivePort file doesn't exist)
2023-02-01 14:20:24   (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
2023-02-01 14:20:24 Stacktrace:
2023-02-01 14:20:24 #0 0x00400065d303 <unknown>
2023-02-01 14:20:24 #1 0x004000431d37 <unknown>
2023-02-01 14:20:24 #2 0x00400045a157 <unknown>
2023-02-01 14:20:24 #3 0x004000456330 <unknown>
2023-02-01 14:20:24 #4 0x0040004974a6 <unknown>
2023-02-01 14:20:24 #5 0x00400048e753 <unknown>
2023-02-01 14:20:24 #6 0x004000461a14 <unknown>
2023-02-01 14:20:24 #7 0x004000462b7e <unknown>
2023-02-01 14:20:24 #8 0x0040006ac32e <unknown>
2023-02-01 14:20:24 #9 0x0040006afc0e <unknown>
2023-02-01 14:20:24 #10 0x004000692610 <unknown>
2023-02-01 14:20:24 #11 0x0040006b0c23 <unknown>
2023-02-01 14:20:24 #12 0x004000684545 <unknown>
2023-02-01 14:20:24 #13 0x0040006d16a8 <unknown>
2023-02-01 14:20:24 #14 0x0040006d1836 <unknown>
2023-02-01 14:20:24 #15 0x0040006ecd13 <unknown>
2023-02-01 14:20:24 #16 0x004002600609 start_thread
2023-02-01 14:20:24 

Stacktrace above. Not sure what else I should be doing to get this to work. --quickstart is working as expected, which is promising as it pulled from YNAB as I thought it would. I'm not sure if there's something wrong with how it's pulling from mint?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions