Page 25 of 31

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 11th, 2013, 5:27 pm
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?

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 11th, 2013, 5:36 pm
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

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 11th, 2013, 5:48 pm
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.

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 11th, 2013, 6:56 pm
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?

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 11th, 2013, 7:41 pm
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.

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 12th, 2013, 12:10 am
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.

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 12th, 2013, 12:48 am
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.

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 12th, 2013, 9:11 am
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

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 12th, 2013, 10:26 am
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

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 13th, 2013, 4:56 pm
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'}

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 13th, 2013, 6:56 pm
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)...

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 13th, 2013, 10:25 pm
by feerlessleadr
same for me. I was coming to this thread to ask the exact same question.

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 14th, 2013, 1:02 am
by al1937
Did you remember the .git at the end??

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 14th, 2013, 1:05 am
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

Re: LazyLibrarian: Automate your ebook/author collection

Posted: January 14th, 2013, 5:59 am
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