We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error detail:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\*****\\Desktop\\icli\\runlogs\\2024\\09\\icli-id=0-2024-09-02_04:37:25.508095-04:00-ibkr.log'
The reason is because Windows don't support ":" in file name, suggest add .replace(":","_") in LOG_FILE_TEMPLATE
.replace(":","_")
The text was updated successfully, but these errors were encountered:
Which means, the code should be:
LOG_FILE_TEMPLATE = str( LOGDIR / f"icli-id={ICLI_CLIENT_ID}-{pendulum.now('US/Eastern')}".replace(" ", "_").replace(":", "-") )
in file cli.py in line 118 This works for me on my windows machine, too. And should work an any os. So please consider this change in the main repo!
cli.py
... and thanks alot for aour work..
Sorry, something went wrong.
No branches or pull requests
Error detail:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\*****\\Desktop\\icli\\runlogs\\2024\\09\\icli-id=0-2024-09-02_04:37:25.508095-04:00-ibkr.log'
The reason is because Windows don't support ":" in file name, suggest add
.replace(":","_")
in LOG_FILE_TEMPLATE
The text was updated successfully, but these errors were encountered: