anezih / mobi2stardict

Convert unpacked MOBI dictionaries to StarDict input formats: Babylon Glossary Source (GLS) format and StarDict Textual Dictionary Format
13 stars 2 forks source link

invalid syntaxc at line 9 HW:str #1

Closed Musrar closed 1 year ago

Musrar commented 1 year ago

Hello, when I try to use the script I get this error:

python mobi2stardict.py --html book.html --dict-name GDLC --textual --chunked --fix-links --author "Enciclopèdia Catalana" File "mobi2stardict.py", line 9 HW: str ^ SyntaxError: invalid syntax

I have both lxml and beautiful soup installed (I use bs4 to parse some online dictionaries), so I don't know what this error might be coming from. Also I might add I'm a bit of an amateur when it comes to programming.

Thanks

anezih commented 1 year ago

Which python version do you use? Try with the latest version, if possible.