Skip to content

OverflowError: mktime argument out of range #1444

Open

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

Activity

  1. jung-hunsoo commented on Nov 23, 2022

    @jung-hunsoo
    Author

    No exception occurred when running the same code on Linux environment.

  2. added this to the Next Release milestone on Nov 24, 2022
  3. added
    file-io
    on Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfile-io

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions