hardbyte / hardbyte/python-can

OverflowError: mktime argument out of range

未关闭
#1,444 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug file-io
主要语言
Python
星标
1.6k
派生
697
PR 合并指标
30 天内没有已合并 PR

描述

### 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。