LazyLibrarian: Automate your ebook/author collection

Got a program that plays well with SABnzbd? Share it here!
al1937
Newbie
Newbie
Posts: 44
Joined: November 25th, 2009, 2:49 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by al1937 »

Hi

Ihave just git cloned the latest version to my desktop running windows 8 and I get the following error when I try to add an author:

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "N:\Progs\LazyLibrarian\cherrypy\_cprequest.py", line 645, in respond
response.body = self.handler()
File "N:\Progs\LazyLibrarian\cherrypy\lib\encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "N:\Progs\LazyLibrarian\cherrypy\_cpdispatch.py", line 29, in __call__
return self.callable(*self.args, **self.kwargs)
File "N:\Progs\LazyLibrarian\lazylibrarian\webServe.py", line 163, in search
searchresults = GR.find_results(name)
File "N:\Progs\LazyLibrarian\lazylibrarian\gr.py", line 229, in find_results
rootxml = sourcexml.getroot()
UnboundLocalError: local variable 'sourcexml' referenced before assignment

Any help?
al1937
Newbie
Newbie
Posts: 44
Joined: November 25th, 2009, 2:49 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by al1937 »

Hi

Forgot some info from the log:

2013-01-11 15:22:24 ERROR Error finding results: [Error 5] Access is denied: '.AuthorCache'
2013-01-11 15:22:24 INFO Searching for author at: http://www.goodreads.com/search.xml?q=J ... 7omh74ZZ6Q
2013-01-11 15:22:24 INFO James Patterson

TIA
Wimma
Newbie
Newbie
Posts: 46
Joined: October 18th, 2012, 3:50 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by Wimma »

Maybe a local permission issue looking at the cache file?
"Access is denied: '.AuthorCache'"
I saw a heap of entries for James Patterson, no issues with the search.
Added some new books last night fine also.
al1937
Newbie
Newbie
Posts: 44
Joined: November 25th, 2009, 2:49 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by al1937 »

Hi

I have given access to everyone but still no joy. Shutdown and restarted but still same error.
I am using Windows 8, how about you?
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

It has been tested as working on Ubuntu, windows 7 and Mac OS X. As far as I am aware no one has tried on windows 8 until now.
xfaith
Newbie
Newbie
Posts: 5
Joined: January 12th, 2013, 12:04 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by xfaith »

I just tried to setup LL, and got it to finally search for books, but having issues connecting to SAB, I could be doing something wrong....

2013-01-11 21:00:09 ERROR Failed to download nzb @ http://nzb.su.
2013-01-11 21:00:08 ERROR Unable to connect to SAB with URL: http://0.0.0.0:9089/api?nzbname=Bret+Ea ... rname=XXXX

Not sure exactly. Have no issues w/ SB or CP or HP at the moment.

I usaally have SAB setup as HTTPS://localhost:9095

But I tried the HTTP side @ 9089 also to see if that would work.
I verified the API for SAB also, and double checked it was in the ini.

Also if its been snatched, but not sent to SAB how can you re-snatch or re-send?

***Fixed** not sure what exactly

Next issue is I accidently deleted the GoodReads API.
Last edited by xfaith on January 12th, 2013, 1:36 am, edited 1 time in total.
al1937
Newbie
Newbie
Posts: 44
Joined: November 25th, 2009, 2:49 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by al1937 »

Hi Mike

I started using LL early on and it worked quite reliably using Windows 8 for several weeks. It started to give me problems about 2 or 3 weeks before Christmas and has done since. I guess I will have to downgrade to Windows 7. I have just set it up on XUbuntu and it worked fine if a little slowly, but I prefer Windows so it looks like 7 for me. Thanks for your hard work so far.
nutski
Release Testers
Release Testers
Posts: 45
Joined: July 6th, 2009, 4:53 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by nutski »

LibrarianMike wrote:It has been tested as working on Ubuntu, windows 7 and Mac OS X. As far as I am aware no one has tried on windows 8 until now.
I've been running on Windows 8 x64 since the beginning
nutski
Release Testers
Release Testers
Posts: 45
Joined: July 6th, 2009, 4:53 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by nutski »

I'm having trouble looking for books with the latest version, if i search for C S Lewis as an example from my private NewzNab:

In the logs it shows connection string as

Code: Select all

http://192.168.0.3/api?q=C+%2BS+%2B+Lewis&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&t=search&extended=1&cat=7020
This responds back finding nothing.

If i change the search string to

Code: Select all

http://192.168.0.3/api?q=C%20S%20Lewis&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx&t=search&extended=1&cat=7020
I find plenty of results
luzer
Newbie
Newbie
Posts: 8
Joined: January 6th, 2013, 6:04 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by luzer »

nutski wrote:I'm having trouble looking for books with the latest version, if i search for C S Lewis as an example from my private NewzNab:

In the logs it shows connection string as

Code: Select all

http://192.168.0.3/api?q=C+%2BS+%2B+Lewis&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&t=search&extended=1&cat=7020
This responds back finding nothing.

If i change the search string to

Code: Select all

http://192.168.0.3/api?q=C%20S%20Lewis&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx&t=search&extended=1&cat=7020
I find plenty of results
this sounds similar to what i am experiencing

it doesnt work even with books i know exist

---nzb---
http://www.sicksab.com/details/a7c54b8b ... k%20Meeink


---logs---
Timestamp Level Message
2013-01-13 16:50:04 INFO Searching for Frank Meeink. at: https://www.nzbfinder.ws/
2013-01-13 16:50:04 INFO Searching for Frank Meeink. at: http://www.sicksab.com/
2013-01-13 16:49:49 INFO Processing complete: Added 1 books to the database
2013-01-13 16:49:43 INFO Processing books for author with ID: 3114759
2013-01-13 16:49:38 INFO Processing info for authorID: 3114759
2013-01-13 16:49:32 INFO Found author: Frank Meeink with GoodReads-id: 3114759
2013-01-13 16:49:27 INFO Searching for author with name: {'id': 'Frank Meeink'}
simonk83
Jr. Member
Jr. Member
Posts: 69
Joined: December 11th, 2010, 3:41 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by simonk83 »

Is it just me or is https://github.com/LibrarianMike/LazyLibrarian dead? I get a 404 when I try and access it (I want to re-clone the repo)...
feerlessleadr
Jr. Member
Jr. Member
Posts: 67
Joined: April 30th, 2009, 12:09 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by feerlessleadr »

same for me. I was coming to this thread to ask the exact same question.
al1937
Newbie
Newbie
Posts: 44
Joined: November 25th, 2009, 2:49 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by al1937 »

Did you remember the .git at the end??
simonk83
Jr. Member
Jr. Member
Posts: 69
Joined: December 11th, 2010, 3:41 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by simonk83 »

al1937 wrote:Did you remember the .git at the end??
I haven't actually tried cloning it as the repo (at the link above at least) doesn't seem to exist
nutski
Release Testers
Release Testers
Posts: 45
Joined: July 6th, 2009, 4:53 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by nutski »

Seems to be gone which is very strange, i cloned it over the weekend so if anyone wants it grab from https://github.com/Nutski/LazyLibrarian
Post Reply