demberto / demberto/PyFLP

🐞 tryinng to load flp errors

Open
#201 3 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Python
Stars
212
Forks
30
PR merge metrics
No merged PRs in 30d

Description

### Describe the issue

Traceback (most recent call last):
File "c:\Users\Admin\3D Objects\python\flptesting.py", line 2, in
project = pyflp.parse("flptest.flp")
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyflp\__init__.py", line 123, in parse
id = EventEnum(int.from_bytes(stream.read(1), "little"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python312\Lib\enum.py", line 748, in __call__
raise TypeError(
TypeError: has no members; specify `names=()` if you meant to create a new, empty, enum

### What version of PyFLP are you using?

v2.2.1

### What code caused this issue?

```python3
import pyflp
project = pyflp.parse("flptest.flp")
```

### Screenshots, Additional info

Admin isnt acutally my user name its just censored

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

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.