Open smonaco694 opened 3 years ago
@smonaco694 could you paste the context for where this goes? Should probably be a pull request in https://github.com/ThePornDatabase/stash_theporndb_scraper as that looks to be the more updated version. (i'm also getting this error and the current version of the script has the errors here:
Traceback (most recent call last): File "M:\stash-tools\stash-theporndbscraper-new\stash_theporndb_scraper\scrapeScenes.py", line 1169, in main tag = my_stash.getTagByName(tag_name, False) File "M:\stash-tools\stash-theporndbscraper-new\stash_theporndb_scraper\StashInterface.py", line 620, in getTagByName logging.debug("Getting tag id for tag \'"+name+"\'.") TypeError: can only concatenate str (not "NoneType") to str
In order to get my script to function I had to add
result = tag_name.lower()
as a new line 956Debug error was:
"/stash_theporndb_scraper-master/scrapeScenes.py", line 955, in main tag = my_stash.getTagByName(tag_name, False) File "/stash_theporndb_scraper-master/StashInterface.py", line 613, in getTagByName logging.debug("Getting tag id for tag '"+name+"'.") TypeError: can only concatenate str (not "NoneType") to str