Page 7 of 31

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 5:46 am
by FatGiant
Thanks. Will do.

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

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 5:59 am
by LibrarianMike
Are you able to run it normally, not in daemon mode?

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 6:10 am
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...

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 6:21 am
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

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 6:27 am
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...

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 6:27 am
by LibrarianMike
I would assume so, I have just copied and pasted the steps and like I said am unable to test them myself

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 6:33 am
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

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 6:39 am
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.

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 6:58 am
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 ;)

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 7:19 am
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.

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 7:25 am
by Eejit
Apparently since installing and posting the message above, I became two commits behind. Updating reset all the config settings ???

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 7:57 am
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

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 8:18 am
by FatGiant
Ok, Thanks to the updated instructions it's now running...

So far it hasn't downloaded anything.

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 3:06 pm
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

Re: LazyLibrarian: Automate your ebook/author collection

Posted: November 22nd, 2012, 3:09 pm
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.