danthedeckie / OpenLP-To-ProPresenter5-Converter

A small simple converter from OpenLP to ProPresenter5
19 stars 9 forks source link

AntiUnicode Error - Possible Python 3.x clash #5

Open adneethling opened 3 years ago

adneethling commented 3 years ago

Hi there

I realise this may not be an active project, but it could be really helpful for us.

I'm using Python 3.7 and have replaced the "unicode" references with "str" where applicable, but still get the following error, which seems to indicate that the object passed to regex's sub function isn't quite right. I'm not overly familiar with regex, so any help would be greatly appreciated!

Traceback (most recent call last): File "D:\Downloads\OpenLP-To-ProPresenter5-Converter-master\converter.py", line 374, in main() File "D:\Downloads\OpenLP-To-ProPresenter5-Converter-master\converter.py", line 348, in main for v in ParseLyric(song['lyrics'])]) File "D:\Downloads\OpenLP-To-ProPresenter5-Converter-master\converter.py", line 348, in for v in ParseLyric(song['lyrics'])]) File "D:\Downloads\OpenLP-To-ProPresenter5-Converter-master\converter.py", line 193, in VerseBlock