Page 23 of 31
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 4:25 pm
by scochr
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
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 4:28 pm
by LibrarianMike
Its run on a schedule, or it can be run manually.
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 4:39 pm
by scochr
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
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 4:41 pm
by LibrarianMike
okay thanks that helps alot
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 4:47 pm
by LibrarianMike
See if the latest update works
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 4:56 pm
by scochr
Works...thx a bunch
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 4:58 pm
by LibrarianMike
scochr wrote:Works...thx a bunch
No problem
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 5:01 pm
by scochr
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
Posted: December 28th, 2012, 5:04 pm
by LibrarianMike
Im not quite sure what you mean
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 5:15 pm
by scochr
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
Posted: December 28th, 2012, 5:19 pm
by LibrarianMike
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
Posted: December 28th, 2012, 5:22 pm
by scochr
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
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 5:25 pm
by LibrarianMike
Are you using the sabnzbd api or saving the nzb files to a directory?
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 28th, 2012, 6:03 pm
by scochr
I'm sending to sabnzbd
Re: LazyLibrarian: Automate your ebook/author collection
Posted: December 29th, 2012, 7:49 am
by Wimma
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...