demberto / demberto/PyFLP

🐞 Unlocking trial project fails on FL's latest version

Open
#119 2 comments 0 reactions 1 assignee Claimed by @demberto View on GitHub
bug project-general
Dominant language
Python
Stars
212
Forks
30
PR merge metrics
No merged PRs in 30d

Description

### Describe the issue

I made a little command line application that should "unlock" a project saved from a trial instance of FL studio. When I run the program and try to re-open the project with FL studio, it crashes, saying "An error occurred while reading the FLP file. It may be corrupted, or some plugin caused an error while opening."

### What version of PyFLP are you using?

2.0.0a7.post0

### What code caused this issue?

```python3
import pyflp
import sys

project = pyflp.parse(sys.argv[1])

project.licensed = True

pyflp.save(project, sys.argv[1])
```

### Screenshots, Additional info

_No response_

### 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.