View Single Post
Old 04-16-2017, 03:29 PM   #14
jasonreadmobile
Junior Member
jasonreadmobile began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2017
Device: kobo
Quote:
Originally Posted by dijks005 View Post
Hi, I checked all 10k+ titles and not such an example is present in my database.
A bit of a necro-thread... I ran into the same problem as others with processing stopping midway. The plugin code needs to be modified to treat the fields it reads from the metadata more carefully.
The use of re.search with raw strings in the python code is interpreting "regex-like" strings from the title and author fields as regexes. Specific cases of "[2003-LABEL]" or something similar are seen as invalid character class ranges.
I modified my local version of the code to preprocess the title and author strings with "re.escape(str)" prior to use to protect against this.
I don't know how to resubmit my changes for the plugin, the owner can probably fix this if he/she cares.
jasonreadmobile is offline   Reply With Quote