Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot parse packup files with multiple versions #6

Open
IcEarthlight opened this issue Sep 5, 2024 · 0 comments
Open

Cannot parse packup files with multiple versions #6

IcEarthlight opened this issue Sep 5, 2024 · 0 comments

Comments

@IcEarthlight
Copy link

I'm trying to parse a .rpp-bak file with rpp.load or rpp.loads, and neither of them works. The structure of this file is like:

image

It always raise a ValueError. Though split these versions before parsing can be an alternative, I hope this module can handle loading and saving this kind of file. Thank you!

Version of Python: 3.12.4
Version of rpp: 0.5
Version of attrs: 24.2.0
Version of ply: 3.11
System: Windows 11 23H2 22631.4037
Reproduce:

rpp.loads("""<REAPER_PROJECT 0.1 "7.22/win64" 1725545821
>
<REAPER_PROJECT 0.1 "7.22/win64" 1725545830
>
<REAPER_PROJECT 0.1 "7.22/win64" 1725545839
>""")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant