Skip to content

🐞 tryinng to load flp errors #201

@uhokay4

Description

@uhokay4

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: <enum 'EventEnum'> 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?

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

Screenshots, Additional info

Admin isnt acutally my user name its just censored

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions