hardbyte / hardbyte/python-can

OverflowError: mktime argument out of range

Ouverte
#1,444 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
bug file-io
Langage dominant
Python
Étoiles
1.6k
Forks
697
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.