demberto / demberto/PyFLP

🐞 Unicode Error when parsing flp

Open
#203 1 comment 0 reactions 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

Just ran the basic
```
import pyflp
project = pyflp.parse("C:\Users\surfe\Documents\Image-Line\FL Studio\Projects\Riser.flp")

```

Got a SyntaxError saying
_"[unicode error] 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
Freshly installed Python and PyFlp._

### What version of PyFLP are you using?

2.2.1

### What code caused this issue?

```python3
import pyflp
project = pyflp.parse("C:\Users\surfe\Documents\Image-Line\FL Studio\Projects\Riser.flp")
```

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