LazyLibrarian: Automate your ebook/author collection
Re: LazyLibrarian: Automate your ebook/author collection
Can it be because I have Sab on https://
Re: LazyLibrarian: Automate your ebook/author collection
I use sabnzbd on https, as long as you make sure to put in your username and password for sab in the config that shouldn't be an issue
Re: LazyLibrarian: Automate your ebook/author collection
Changed Sab port to the normal one, (not https://)
Nothing yet.
Also, even after the last update, no logs tab and no config button.
Added a bunch of authors, that I checked NZBMatrix beforehand, added books that I found available.
Sample of my log:
Nothing yet.
Also, even after the last update, no logs tab and no config button.
Added a bunch of authors, that I checked NZBMatrix beforehand, added books that I found available.
Sample of my log:
Re: LazyLibrarian: Automate your ebook/author collection
Here is a look at a small update to the downloaded bar
Re: LazyLibrarian: Automate your ebook/author collection
When it says Found 50 nzb's... it means found 50 for the author in total. Essentially the way it works is it searches for books by an author and attempts to match the words in the books title to the 50 results found. A match will only download if all words in the title of the book are found in the title of the nzb file. That being said, I have successfully tested and been able to download a number of books from that author so it must be an issue related to your config.FatGiant wrote:Changed Sab port to the normal one, (not https://)
Nothing yet.
Also, even after the last update, no logs tab and no config button.
Added a bunch of authors, that I checked NZBMatrix beforehand, added books that I found available.
Sample of my log:
Wimma was able to get it working on Ubuntu so it would have to be an issue thats spesific to your configuration
Have a look at your settings and see if changing them to match these helps:
sab hostname: 0.0.0.0
sab port: 80
sab api: (copy in sab's 'API Key' NOT 'NZB Key')
sab username: (Enter a username if you setup sab with a login)
sab password: (Enter a password if you setup sab with a login)
languages: 'en'
ebook format: 'epub'
Re: LazyLibrarian: Automate your ebook/author collection
Apparently the problem starts with the matching of names in NZBMatrix.
Taking a good look at my settings there.
Taking a good look at my settings there.
Re: LazyLibrarian: Automate your ebook/author collection
When you get a chance, could you add a "Check for Updates" button, and also something somewhere that says which commit you're currently on? Just saves restarting each time there's an update
Also I don't think the updater is working... At least for me, after a restart it'll tell me there's an update available, but after clicking it and waiting for LL to reboot it still shows updates as available, and I can see the changes haven't gone through.
EDIT: Just tried a git pull through the console and it gave the old "local changes will be overwritten, commit or stash" blah blah, so perhaps that's stopping it (I haven't changed anything manually BTW). I did a git stash, then a pull and it went through OK.
Thanks!!
Also I don't think the updater is working... At least for me, after a restart it'll tell me there's an update available, but after clicking it and waiting for LL to reboot it still shows updates as available, and I can see the changes haven't gone through.
EDIT: Just tried a git pull through the console and it gave the old "local changes will be overwritten, commit or stash" blah blah, so perhaps that's stopping it (I haven't changed anything manually BTW). I did a git stash, then a pull and it went through OK.
Thanks!!
Re: LazyLibrarian: Automate your ebook/author collection
Added the button on the config page with the current version at the bottom of the page. Lazy librarian will now also check for the version every 2 hours automatically.
EDIT: the updater will now also ignore local file changes
EDIT: the updater will now also ignore local file changes
Last edited by LibrarianMike on November 24th, 2012, 5:30 pm, edited 1 time in total.
Re: LazyLibrarian: Automate your ebook/author collection
Cool, thanks.LibrarianMike wrote:Added the button on the config page with the current version at the bottom of the page. Lazy librarian will now also check for the version every 2 hours automatically.
Something is still wrong somewhere though:
Code: Select all
macmini:LazyLibrarian Simon$ git pull
remote: Counting objects: 25, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 13 (delta 11), reused 13 (delta 11)
Unpacking objects: 100% (13/13), done.
From https://github.com/LibrarianMike/LazyLibrarian
71353ca..77ce795 master -> origin/master
Updating 71353ca..77ce795
error: Your local changes to the following files would be overwritten by merge:
lazylibrarian/__init__.pyc
lazylibrarian/versioncheck.pyc
lazylibrarian/webServe.pyc
Please, commit your changes or stash them before you can merge.
Aborting
I'm not sure how SickBeard and CouchPotato get around this?
Re: LazyLibrarian: Automate your ebook/author collection
I have just pushed another small update which tells git to ignore any local file changes. Should fix that problem when updating through the application.
Re: LazyLibrarian: Automate your ebook/author collection
Awesome, thanks, I'll keep an eye on it next time there's an updateLibrarianMike wrote:I have just pushed another small update which tells git to ignore any local file changes. Should fix that problem when updating through the application.
Just one other feature suggestion while i'm annoying you. Would you be able to add a "default" in the setting somewhere to choose how many books you want displayed? I generally change it to 100 but it resets whenever you do anything
Re: LazyLibrarian: Automate your ebook/author collection
I'm getting an error 32 code when trying to update. It says its in use by another process (the log file)
Re: LazyLibrarian: Automate your ebook/author collection
Can you provide some more details. What system are you running? Do you have the file open with something else? Have you tried deleting the log file?
Re: LazyLibrarian: Automate your ebook/author collection
Code: Select all
25-Nov-2012 15:05:20 - INFO :: MAIN : Checking database
25-Nov-2012 15:05:20 - INFO :: MAIN : Starting LazyLibrarian on port: 8082
25-Nov-2012 15:05:43 - INFO :: MAIN : LazyLibrarian is updating...
25-Nov-2012 15:05:43 - INFO :: MAIN : Downloading update from: https://github.com/LibrarianMike/lazylibrarian/tarball/master
25-Nov-2012 15:05:47 - INFO :: MAIN : Extracing fileD:\LazyLibrarian-master\master
25-Nov-2012 15:05:51 - INFO :: MAIN : Deleting fileD:\LazyLibrarian-master\master
25-Nov-2012 15:05:51 - WARNING :: MAIN : LazyLibrarian failed to update: [Error 32] The process cannot access the file because it is being used by another process: 'D:\\LazyLibrarian-master\\Logs\\lazylibrarian.log'. Restarting.
25-Nov-2012 15:05:51 - INFO :: MAIN : LazyLibrarian is restarting ...
25-Nov-2012 15:05:51 - INFO :: MAIN : Restarting LazyLibrarian with ['D:\\Python27\\python.exe', 'D:\\LazyLibrarian-master\\LazyLibrarian.py', '--nolaunch']
25-Nov-2012 15:05:55 - INFO :: MAIN : Checking database
25-Nov-2012 15:05:55 - INFO :: MAIN : Starting LazyLibrarian on port: 8082
This is the log after I deleted the old on. Still no joy.
Re: LazyLibrarian: Automate your ebook/author collection
Try updating it again, I believe I have fixed the log issue.