evilhero / mylar

An automated Comic Book downloader (cbr/cbz) for use with SABnzbd, NZBGet and torrents
GNU General Public License v3.0
976 stars 172 forks source link

Error and Unable to Succesfully Add Series #1829

Closed k-e-i-z-a-i closed 3 years ago

k-e-i-z-a-i commented 6 years ago

Although I am able to add a series (i.e. an entry is created on the home page), it never populates with any information, besides the Comic ID. The log is showing the following error message:

Uncaught exception: Traceback (most recent call last):
File "c:\Mylar\mylar\logger.py", line 177, in new_run
old_run(*args, **kwargs)
File "c:\Python27\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "c:\Mylar\mylar\importer.py", line 233, in addComictoDB
comlocation = os.path.join(mylar.CONFIG.DESTINATION_DIR, helpers.replace_all(chunk_folder_format, values))
File "c:\Python27\lib\ntpath.py", line 65, in join
result_drive, result_path = splitdrive(path)
File "c:\Python27\lib\ntpath.py", line 115, in splitdrive
if len(p) > 1:
TypeError: object of type 'NoneType' has no len()

How can this be corrected?

Thank you!

evilhero commented 6 years ago

Just posting the error itself is not helpful without the context. Throw in the lines leading up to this error so I can understand what you're attempting to do from where.

Best guess without seeing the additional info, is your Comic Location is not set.

k-e-i-z-a-i commented 6 years ago

My bad! Apologies for omitting the lead-up to the error. You were correct, however, that is was the Comic Location not being set, another omission on my part.