LazyLibrarian: Automate your ebook/author collection
Re: LazyLibrarian: Automate your ebook/author collection
Here's the full log. This is what happens when I click 'manal processing'. When i download a book I never see POSTPROCESS of the book. Is this process run on a schedule or should it kick off after a book is downloaded successfully?
28-Dec-2012 13:13:01 - INFO :: Thread-12 : Postprocessing has begun.
28-Dec-2012 13:13:01 - DEBUG :: POSTPROCESS : nzbtitle xx is in downloads
28-Dec-2012 13:13:01 - DEBUG :: POSTPROCESS : Found folder yy.
28-Dec-2012 13:13:01 - DEBUG :: POSTPROCESS : Could not chmod author directory
28-Dec-2012 13:13:01 - INFO :: Thread-12 : Postprocessing has begun.
28-Dec-2012 13:13:01 - DEBUG :: POSTPROCESS : nzbtitle xx is in downloads
28-Dec-2012 13:13:01 - DEBUG :: POSTPROCESS : Found folder yy.
28-Dec-2012 13:13:01 - DEBUG :: POSTPROCESS : Could not chmod author directory
Re: LazyLibrarian: Automate your ebook/author collection
Its run on a schedule, or it can be run manually.
Re: LazyLibrarian: Automate your ebook/author collection
I ran lazylibrarian from the terminal and then ran 'manual processing'. Here is the error on the terminal...
user@computer:/etc/rc3.d$ Exception in thread POSTPROCESS:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/user/.lazylibrarian/lazylibrarian/postprocess.py", line 55, in processDir
dest_path = authorname + os.sep + bookname
UnboundLocalError: local variable 'authorname' referenced before assignment
user@computer:/etc/rc3.d$ Exception in thread POSTPROCESS:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/user/.lazylibrarian/lazylibrarian/postprocess.py", line 55, in processDir
dest_path = authorname + os.sep + bookname
UnboundLocalError: local variable 'authorname' referenced before assignment
Re: LazyLibrarian: Automate your ebook/author collection
okay thanks that helps alot
Re: LazyLibrarian: Automate your ebook/author collection
See if the latest update works
Re: LazyLibrarian: Automate your ebook/author collection
Works...thx a bunch
Re: LazyLibrarian: Automate your ebook/author collection
No problemscochr wrote:Works...thx a bunch
Re: LazyLibrarian: Automate your ebook/author collection
Why doesn't it process all books? Is it because it cannot find them on Goodreads? I can manually look them up on Goodreads.
Re: LazyLibrarian: Automate your ebook/author collection
Im not quite sure what you mean
Re: LazyLibrarian: Automate your ebook/author collection
Post processing does not process all of the books that are download (ie move them to the final destination).
Re: LazyLibrarian: Automate your ebook/author collection
What happens is it queries the database for all of the books with the status snatched. Gets the title of the nzb file which was passed to sabnzbd and looks for it in the download directory. When it is found, the book in that folder should be post processed. If the book is named differently than what LL is looking for then at present it wont be post processed.
Re: LazyLibrarian: Automate your ebook/author collection
Here's some examples. Here's some examples of folders and files downloaded by LL that it does not successfully postprocess.
./Cara Summers A Wolf in Sheeps Clothing Tell Me Your Secrets:
Joan Johnston & Cara Summers - [Wolf 02] - A Wolf in Sheep's Clothing [SD-658] & Tell Me Your Secrets [HBZ-286] (mobi).mobi
./Christina Skye Code Name Blondie:
Skye, Christina -Code Name 3-5- Baby (3); Blondie (4); Bikini (5).lit
./Christina Skye The Draycott Legacy:
Christina Skye - [Draycott Abbey 01,04] - The Draycott Legacy (Enchantment; Bridge of Dreams) (v5.0) (epub).epub
./Christine Feehan Dark Celebration:
Christine Feehan - [Dark 10,15-18] - Dark Symphony; Dark Secret; Dark Demon; Dark Celebration; Dark Possession (v5.0) (epub).epub
./Cara Summers A Wolf in Sheeps Clothing Tell Me Your Secrets:
Joan Johnston & Cara Summers - [Wolf 02] - A Wolf in Sheep's Clothing [SD-658] & Tell Me Your Secrets [HBZ-286] (mobi).mobi
./Christina Skye Code Name Blondie:
Skye, Christina -Code Name 3-5- Baby (3); Blondie (4); Bikini (5).lit
./Christina Skye The Draycott Legacy:
Christina Skye - [Draycott Abbey 01,04] - The Draycott Legacy (Enchantment; Bridge of Dreams) (v5.0) (epub).epub
./Christine Feehan Dark Celebration:
Christine Feehan - [Dark 10,15-18] - Dark Symphony; Dark Secret; Dark Demon; Dark Celebration; Dark Possession (v5.0) (epub).epub
Re: LazyLibrarian: Automate your ebook/author collection
Are you using the sabnzbd api or saving the nzb files to a directory?
Re: LazyLibrarian: Automate your ebook/author collection
I'm sending to sabnzbd
Re: LazyLibrarian: Automate your ebook/author collection
Ok, so just going to update (from d841da3a9def61f481f2623f7b11fa92c08fdc6b) but when I do it comes back with the same version, again telling me I'm 5 commits behind. Has anything changed lately in the upgrade process?
It's working ok now, so happy to leave for a bit.
Rather not have to re-do the database again...
It's working ok now, so happy to leave for a bit.
Rather not have to re-do the database again...