Skip to content

OverflowError: mktime argument out of range #1444

Open
@jung-hunsoo

Description

@jung-hunsoo

Describe the bug

Exception OverflowError: mktime argument out of range occurred while reading BLF file on Windows OS.

To Reproduce

import os
import can

blf_path = os.path.join("my_can_data.blf")
loaded_blf = can.BLFReader(blf_path)

Expected behavior

A given BLF file is read without exception.

Additional context

OS and version: Windows 11 Pro
Python version: 3.10.6
python-can version: 4.0.0
python-can interface/s (if applicable): n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfile-ioabout reading & writing to files

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions