Skip to content

log file name can not include “:” in Windows OS, or it will launch failed #13

@blueshark666

Description

@blueshark666

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

1

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