LazyLibrarian: Automate your ebook/author collection

Got a program that plays well with SABnzbd? Share it here!
Post Reply
FatGiant
Newbie
Newbie
Posts: 17
Joined: November 13th, 2010, 7:47 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by FatGiant »

Thanks. Will do.

EDIT: No luck. It's probably my fault... I'll look for a solution.
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

Are you able to run it normally, not in daemon mode?
Wimma
Newbie
Newbie
Posts: 46
Joined: October 18th, 2012, 3:50 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by Wimma »

Few issues here too (ubuntu server 12.04 64bit, python 2.7 I think) & noob to boot.

Edit: my bad, had to set the app path in config.ini...
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

There is a basic guide for setting it up on ubuntu which can be found in the readme at https://github.com/LibrarianMike/LazyLibrarian which was written by one of the previous maintainers if that helps at all
Wimma
Newbie
Newbie
Posts: 46
Joined: October 18th, 2012, 3:50 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by Wimma »

LibrarianMike wrote:There is a basic guide for setting it up on ubuntu which can be found in the readme at https://github.com/LibrarianMike/LazyLibrarian which was written by one of the previous maintainers if that helps at all
"sudo cp initd.ubuntu /etc/init.d/lazylibrarian" meaning ubuntu.initd?
likewise default.ubuntu...
Last edited by Wimma on November 22nd, 2012, 6:28 am, edited 1 time in total.
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

I would assume so, I have just copied and pasted the steps and like I said am unable to test them myself
Wimma
Newbie
Newbie
Posts: 46
Joined: October 18th, 2012, 3:50 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by Wimma »

LibrarianMike wrote:I would assume so, I have just copied and pasted the steps and like I said am unable to test them myself
Meant they should be ubuntu.initd not initd.ubuntu! (just a typo)
and ubuntu.default not default.ubuntu

Having some issues updating via web gui too.

22-Nov-2012 22:30:38 - INFO :: MAIN : LazyLibrarian is updating...
INFO:lazylibrarian:MAIN : LazyLibrarian is updating...
DEBUG:lazylibrarian:MAIN : Trying to execute: "git pull origin master" with shell in /home/simon/LazyLibrarian
DEBUG:lazylibrarian:MAIN : Git output: From https://github.com/LibrarianMike/LazyLibrarian
* branch master -> FETCH_HEAD
error: Your local changes to the following files would be overwritten by merge:
cherrypy/__init__.pyc
....
mako/util.pyc
Please, commit your changes or stash them before you can merge.
Aborting
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

I ran into the same issue before, its basically because you have updated something locally so git won't override the changes from the repo as it assumes the files on git are older than your local copy. Try deleting the __init__.pyc file or just downloading and overriding the files in lazylibrarian/lazylibrarian manually. From then on it should work as expected.
Last edited by LibrarianMike on November 22nd, 2012, 7:04 am, edited 2 times in total.
Wimma
Newbie
Newbie
Posts: 46
Joined: October 18th, 2012, 3:50 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by Wimma »

LibrarianMike wrote:I ran into the same issue before, its basically because you have updated something locally so got won't override the changes from git as it assumes the files on git are older than your local copy. Try deleting the __init__.pyc file or just downloading and overriding the files in lazylibrarian/lazylibrarian manually. From then on it should work as expected.
Ta. Couldn't see that file (quick man look only, lol) so just removed and re-cloned fresh git.
Now finds author I searched on!

Next up - how to get it working with sabnzbd!

Thanks again, great to see some activity on this ;)
Eejit
Sr. Member
Sr. Member
Posts: 267
Joined: September 10th, 2008, 5:46 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by Eejit »

Couldn't find Python 2.6, so installed 2.7.3 instead on my Win7 Server that also runs SAB, SB & CP.

Didn't take any time at all to set up, once I found the Config page hiding under the Add Button. Confusing that.

Runs fine and dandy locally (http://server-pc:8082/home) but I just can't connect to it from my network using Chrome, but can using IE9.
SB (http://server-pc:5766/home/) and SAB (http://server-pc:5765/sabnzbd/) connect just fine from any browser on any PC/Tablet/Phone on my network. Any ideas?


Never mind. Found out what the problem was.
Last edited by Eejit on November 22nd, 2012, 7:33 am, edited 1 time in total.
Eejit - The name say's it all !!
Image
Eejit
Sr. Member
Sr. Member
Posts: 267
Joined: September 10th, 2008, 5:46 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by Eejit »

Apparently since installing and posting the message above, I became two commits behind. Updating reset all the config settings ???
Eejit - The name say's it all !!
Image
Wimma
Newbie
Newbie
Posts: 46
Joined: October 18th, 2012, 3:50 am

Re: LazyLibrarian: Automate your ebook/author collection

Post by Wimma »

Eejit wrote: Didn't take any time at all to set up, once I found the Config page hiding under the Add Button. Confusing that.
Ah, handy that! Didn't realise it was there.
Logdir default had "LazyLibrary" in path for me, not "LazyLibrarian" as I'd expect. Very minor.
Can see it searching nzbmatrix now too - nice! ;D
FatGiant
Newbie
Newbie
Posts: 17
Joined: November 13th, 2010, 7:47 pm

Re: LazyLibrarian: Automate your ebook/author collection

Post by FatGiant »

Ok, Thanks to the updated instructions it's now running...

So far it hasn't downloaded anything.
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

Eejit wrote:Apparently since installing and posting the message above, I became two commits behind. Updating reset all the config settings ???
If you downloaded the zip file, that will never be as up to date as pulling the changes directly from git
LibrarianMike

Re: LazyLibrarian: Automate your ebook/author collection

Post by LibrarianMike »

FatGiant wrote:Ok, Thanks to the updated instructions it's now running...

So far it hasn't downloaded anything.
Under import options can you try putting 'en' in import language and 'ePub' in ebook type. Make sure you have entered an Api key for sabnzbd and nzbmatrix as well. You may need to restart lazy librarian after changing these settings. If you click on the log tab the messages should indicate why nothing is downloading.
Post Reply