rpp icon indicating copy to clipboard operation
rpp copied to clipboard

Cannot parse packup files with multiple versions

Open IcEarthlight opened this issue 1 year ago • 0 comments

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
>""")

IcEarthlight avatar Sep 05 '24 14:09 IcEarthlight