hardbyte / hardbyte/python-can

OverflowError: mktime argument out of range

Open
#1,444 1 comment 0 reactions 0 assignees View on GitHub
bug file-io
Dominant language
Python
Stars
1.6k
Forks
697
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

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

### To Reproduce

```python
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.