Coder Social home page Coder Social logo

Comments (51)

BrianGilbert avatar BrianGilbert commented on July 29, 2024

I'm seeing this behaviour as well

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

It's entirely possible I made a configuration mistake, although I have configure Sickbeard and Couchpotato with great success.

from mylar.

evilhero avatar evilhero commented on July 29, 2024

If Mylar has added them correctly, when you click on the Comic Name on the main page you're brought into the detail page where it shows the comic details and the issues. It also will not show Error in the Status for the comic. There are a couple of things that I need to know before I can figure out exactly what the problem is.

  • are you using the latest commit ?
  • do you have http:// in the SABnzbd server name (instead of just localhost)
  • SAB API is correct ?
  • Do you have the Blackhole option ticked off ?
  • When you change an issue to wanted status - does it download the file but just doesn't get sent to SAB? Do you have the Rename option checked off in the Configuration. If Rename is checked off, it sends to SAB via direct link, otherwise it downloads the nzb and the readds it via the SABnzbd API.

The log in Mylar should give more detail as to exactly what's happening. Please post that as a starting point after the above and I'll look more into it.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

Thanks so much.
*"Check for new version" give successful and green checkmark
*I have listed as http://localhost:9090/ (Note: I realized that the mylar config had the wrong port, so I've switched it to 9090. However, clicking any "force" options still produces nothing
*Blackhole option isn't ticked. Should it be?
Looking at log...

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

I tried to change a couple of issues to "Skipped" so I could change back to "Wanted" on the Upcoming page, and got the "you haven't selected any" error, despite two being checked.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

On the overview page for avengers vs x-men, I was able to change to skipped by clicking skipped link. When I went to change them back to wanted, "there was a error". However a refresh showed those issues as wanted.

from mylar.

evilhero avatar evilhero commented on July 29, 2024

Ok that might be the issue - the Upcoming page is abit borked ..it broke a few commits ago and for some reason it just refuses to work properly at this point. Try doing it from the actual comic detail page and see if you get better results (at least for the time being, until the Upcoming page can be addressed)

from mylar.

evilhero avatar evilhero commented on July 29, 2024

try shutting down Mylar and restarting - it looks like you got the Error on hung problem. When it errors out, any subsequent action results in a problem. Shutting it down and trying again may very well solve the issue. Otherwise, are you selecting several at a time and changing the status to wanted ? or clicking on the Wanted link for an issue itself ?

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

I have been restarting after every change. I last changed to issues from skipped back to wanted on the details page. BTW here is some log:

23-Sep-2012 20:55:51 - INFO :: MainThread : Starting Mylar on port: 8090
23-Sep-2012 20:56:41 - INFO :: Thread-12 : Shhh be very quiet...I'm looking for Daredevil issue: 1.00 using nzb.su
23-Sep-2012 20:57:46 - INFO :: CP Server Thread-6 : Marking Daredevil 18.00 as Skipped
23-Sep-2012 20:59:35 - INFO :: CP Server Thread-8 : Marking Avengers Vs. X-Men issue # 0.00 as skipped...
23-Sep-2012 20:59:38 - INFO :: CP Server Thread-8 : Marking Avengers Vs. X-Men issue # 1.00 as skipped...
23-Sep-2012 20:59:42 - INFO :: CP Server Thread-8 : Marking Avengers Vs. X-Men issue: 1.00 as wanted...
23-Sep-2012 20:59:43 - INFO :: CP Server Thread-8 : Shhh be very quiet...I'm looking for Avengers Vs. X-Men issue: 1.00 using nzb.su
23-Sep-2012 20:59:46 - INFO :: CP Server Thread-8 : Marking Avengers Vs. X-Men issue: 0.00 as wanted...
23-Sep-2012 20:59:46 - INFO :: CP Server Thread-8 : Shhh be very quiet...I'm looking for Avengers Vs. X-Men issue: 0.00 using nzb.su
23-Sep-2012 21:03:23 - INFO :: MainThread : Received signal: restart
23-Sep-2012 21:03:28 - INFO :: MainThread : Mylar is restarting...
23-Sep-2012 21:03:28 - INFO :: MainThread : Restarting Mylar with ['/usr/bin/python', '/home/misterfantastic/.mylar/Mylar.py', '--nolaunch']
23-Sep-2012 21:03:31 - INFO :: MainThread : Checking to see if the database has all tables....
23-Sep-2012 21:03:31 - DEBUG :: MainThread : Trying to execute: "git rev-parse HEAD" with shell in /home/misterfantastic/.mylar
23-Sep-2012 21:03:31 - DEBUG :: MainThread : Git output: d366004

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

FF keeps on with a spinning wheel.

FYI, when I go to "edit settings" on any comic title, all the fields, like Directory, have a 1 in their boxes.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

If I click the link to go to comicvine's listing for FF, it's a 404 not found error. http://www.comicvine.com/volume/39453/

from mylar.

evilhero avatar evilhero commented on July 29, 2024

Yeah edit settings tab is just a placeholder - I'll remove it next commit (that will be useable hopefully in the next little while).

The link to comcvine's listing has no bearing on Mylar. the /volumen/39453/ is actually a link used by API which has a different url referencing than the actual http:// link. Don't pay it any mention - it's an incorrect http atm.

When you go back to the main home page, is the status of FF still 'Loading' ? or is it 'Active' or 'Error'?

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

Here's logs of me adding FF, and changing a couple of issues of "dark reign: fantastic four" from wanted to skipped and back again:

23-Sep-2012 21:08:15 - INFO :: CP Server Thread-4 : Now adding/updating: FF
23-Sep-2012 21:08:25 - INFO :: CP Server Thread-4 : Sucessfully retrieved details for FF
23-Sep-2012 21:08:25 - INFO :: CP Server Thread-4 : Directory (/home/misterfantastic/Dropbox/Comics/FF (2011)) already exists! Continuing...
23-Sep-2012 21:08:26 - INFO :: CP Server Thread-4 : Sucessfully retrieved issue details for FF
23-Sep-2012 21:08:26 - INFO :: CP Server Thread-4 : Now adding/updating issues forFF
23-Sep-2012 21:08:26 - INFO :: CP Server Thread-4 : Checking directory for existing issues.
23-Sep-2012 21:08:29 - INFO :: CP Server Thread-4 : Now checking files for FF (2011) in /home/misterfantastic/Dropbox/Comics/FF (2011)
23-Sep-2012 21:08:45 - INFO :: CP Server Thread-4 : Now adding/updating: Dark Reign: Fantastic Four
23-Sep-2012 21:08:48 - INFO :: CP Server Thread-4 : Sucessfully retrieved details for Dark Reign: Fantastic Four
23-Sep-2012 21:08:48 - INFO :: CP Server Thread-4 : Directory (/home/misterfantastic/Dropbox/Comics/Dark Reign Fantastic Four (2009)) already exists! Continuing...
23-Sep-2012 21:08:48 - INFO :: CP Server Thread-4 : Sucessfully retrieved issue details for Dark Reign: Fantastic Four
23-Sep-2012 21:08:48 - INFO :: CP Server Thread-4 : Now adding/updating issues forDark Reign: Fantastic Four
23-Sep-2012 21:08:48 - INFO :: CP Server Thread-4 : Checking directory for existing issues.
23-Sep-2012 21:08:50 - INFO :: CP Server Thread-4 : Now checking files for Dark Reign: Fantastic Four (2009) in /home/misterfantastic/Dropbox/Comics/Dark Reign Fantastic Four (2009)
23-Sep-2012 21:08:51 - INFO :: CP Server Thread-4 : I've found 0 / 6 issues.
23-Sep-2012 21:08:51 - INFO :: CP Server Thread-4 : Updating complete for: Dark Reign: Fantastic Four
23-Sep-2012 21:08:51 - INFO :: CP Server Thread-4 : Attempting to grab wanted issues for : Dark Reign: Fantastic Four
23-Sep-2012 21:08:51 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for Dark Reign: Fantastic Four issue: 1.00 using nzb.su
23-Sep-2012 21:08:54 - INFO :: CP Server Thread-4 : Couldn't find Issue 1 of Dark Reign: Fantastic Four(2009). Status kept as wanted.
23-Sep-2012 21:08:54 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for Dark Reign: Fantastic Four issue: 2.00 using nzb.su
23-Sep-2012 21:08:56 - INFO :: CP Server Thread-4 : Couldn't find Issue 2 of Dark Reign: Fantastic Four(2009). Status kept as wanted.
23-Sep-2012 21:08:56 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for Dark Reign: Fantastic Four issue: 3.00 using nzb.su
23-Sep-2012 21:08:58 - INFO :: CP Server Thread-4 : Couldn't find Issue 3 of Dark Reign: Fantastic Four(2009). Status kept as wanted.
23-Sep-2012 21:08:58 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for Dark Reign: Fantastic Four issue: 4.00 using nzb.su
23-Sep-2012 21:09:00 - INFO :: CP Server Thread-4 : Couldn't find Issue 4 of Dark Reign: Fantastic Four(2009). Status kept as wanted.
23-Sep-2012 21:09:00 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for Dark Reign: Fantastic Four issue: 5.00 using nzb.su
23-Sep-2012 21:09:02 - INFO :: CP Server Thread-4 : Couldn't find Issue 5 of Dark Reign: Fantastic Four(2009). Status kept as wanted.
23-Sep-2012 21:09:02 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for Dark Reign: Fantastic Four issue: 0.00 using nzb.su
23-Sep-2012 21:09:05 - INFO :: CP Server Thread-4 : Couldn't find Issue 0 of Dark Reign: Fantastic Four(0000). Status kept as wanted.
23-Sep-2012 21:09:05 - INFO :: CP Server Thread-4 : Finished grabbing what I could.
23-Sep-2012 21:10:00 - INFO :: CP Server Thread-5 : Deleting all traces of Comic: FF
23-Sep-2012 21:10:19 - INFO :: Thread-12 : Now adding/updating: FF
23-Sep-2012 21:10:29 - INFO :: Thread-12 : Sucessfully retrieved details for FF
23-Sep-2012 21:10:29 - INFO :: Thread-12 : Directory (/home/misterfantastic/Dropbox/Comics/FF (2011)) already exists! Continuing...
23-Sep-2012 21:10:30 - INFO :: Thread-12 : Sucessfully retrieved issue details for FF
23-Sep-2012 21:10:30 - INFO :: Thread-12 : Now adding/updating issues forFF
23-Sep-2012 21:10:30 - INFO :: Thread-12 : Checking directory for existing issues.
23-Sep-2012 21:10:33 - INFO :: Thread-12 : Now checking files for FF (2011) in /home/misterfantastic/Dropbox/Comics/FF (2011)

from mylar.

evilhero avatar evilhero commented on July 29, 2024

here's my add for Avengers vs X-Men:

2012-09-24 00:17:01     INFO    Marking Avengers Vs. X-Men issue: 0.00 as wanted...
2012-09-24 00:17:02     INFO    Shhh be very quiet...I'm looking for Avengers Vs. X-Men issue: 0.00 using experimental
2012-09-24 00:17:03     INFO    I found 1 results doing my search...now I'm going to analyze the results.
2012-09-24 00:17:19     INFO    Found :Avengers Vs. X-Men (2012) issue: 0 using experimental
2012-09-24 00:17:20     INFO    Updating now complete for Avengers Vs. X-Men issue: 0.00

Try disabling nzb.su and just running Mylar with the Experimental Search option enabled. You'll have to shutdown and restart Mylar after you make the change and save the settings. I'm thinking it might be a problem with the nzb.su portion at this point.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

answering question about FF "loading"
Marvel Avengers Vs. X-Men 2012 Active # 11.00 (2012-09-12) 0/12
Marvel Daredevil 2011 Active # 18.00 (2012-09-19) 0/19
Marvel Dark Reign: Fantastic Four 2009 Active # 5.00 (2009-09-01) 0/6
Marvel FF 2011 Loading # None (None) 0/22
(in other words, yes, spinning wheel on FF) others are active, as you can see.

from mylar.

evilhero avatar evilhero commented on July 29, 2024

I'll try updating the importer.py with the version I'm running currently. I can't recall if I did any changes, altho I know I have updated the searching method as well as some others.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

By the way I did as you asked, uncheck nzb.su, checked experimental search, restarted. changed a couple of issues of daredevil to skipped. when changing them back to wanted "there was a error" but a refresh showed they were changed.

just for the heck of it I restarted Sab. I then restarted mylar. I went to "force check" and still nothing happening.

23-Sep-2012 21:33:38 - INFO :: MainThread : Received signal: restart
23-Sep-2012 21:33:43 - INFO :: MainThread : Mylar is restarting...
23-Sep-2012 21:33:43 - INFO :: MainThread : Restarting Mylar with ['/usr/bin/python', '/home/misterfantastic/.mylar/Mylar.py', '--nolaunch']
23-Sep-2012 21:33:45 - INFO :: MainThread : Checking to see if the database has all tables....
23-Sep-2012 21:33:45 - DEBUG :: MainThread : Trying to execute: "git rev-parse HEAD" with shell in /home/misterfantastic/.mylar
23-Sep-2012 21:33:45 - DEBUG :: MainThread : Git output: d366004

23-Sep-2012 21:33:45 - INFO :: MainThread : Retrieving latest version information from github
23-Sep-2012 21:33:46 - INFO :: MainThread : Comparing currently installed version with latest github version
23-Sep-2012 21:33:46 - INFO :: MainThread : Mylar is up to date
23-Sep-2012 21:33:46 - INFO :: MainThread : Starting Mylar on port: 8090
23-Sep-2012 21:35:10 - INFO :: Thread-12 : Shhh be very quiet...I'm looking for Daredevil issue: 1.00 using experimental
23-Sep-2012 21:35:14 - INFO :: Thread-12 : I found 7 results doing my search...now I'm going to analyze the results.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

My comicRN.py file was moved to the directory where sab looks for scripts and it was selected from the drop down list in sab, so presumably it's in the right place. Then here is what it looks like:

#----CONFIG SECTION

Path to root of Comics directory (include trailing /)

comdir = '/media/DATA/sab/complete/comics/'

#----SETTINGS SECTION

Integrate with Mylar (yes/no)

If this is set to "yes", will integrate into Mylar for finding series information, etc.

setting this to "no" will enable stand-alone SABnzbd integration

mylaron = "yes"

Replace spaces?

repblank = "no"

If 'yes', what character do you want me to replace with.

- Be careful, weird characters will bugger things up and there's no

also be sure to put the character inbetween single quotations.

NB. this doesn't work...currently only is set for to replace spaces

with _

repwith = " "

Remove crap from filename (ie. c2c, noads, rlsgroup, pxcount, etc)

If this is set to "no", filename will not be renamed at all.

remcrap = "yes"

Append Series / Comic year to respective title directory and filename.

it will appear as : someComic (2012) / someComic 001 (2009).cbz

THIS WILL ONLY WORK WHEN USED WITH MYLAR.

comicyearopt = "yes"

how do you want issues (0 digit, 1 digit, 2 digits) to handle zero suppression

if set to leave, will not expand zeros...

.... if set to 0 digit: #1 will be #1, #10 will be #10, #100 will be #100

.... if set to 1 digit: #1 will be #1, #10 will be #10, #100 will be #100

.... if set to 2 digit: #1 will be #1, #10 will be #10, #100 will be #100

zerosup = "2"

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

I just noticed apostrophes around the comics directory has apostrophes around it. Was that my mistake? Edit: nevermind, I see your original file has the apostrophes.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

Here is a link to screenshots of my config pages: http://www.flickr.com/photos/67575129@N04/sets/72157631609422969/

from mylar.

evilhero avatar evilhero commented on July 29, 2024

try latest commit - might help...also note that the ComicRN script has been updated as well so you may want to update your version if you use the renaming.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

You are amazing. I'll update and tell you how it goes.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

Are you sure the comicRN file is new?

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

Virtually no change here.

23-Sep-2012 23:10:05 - INFO :: MainThread : Received signal: restart
23-Sep-2012 23:10:10 - INFO :: MainThread : Mylar is restarting...
23-Sep-2012 23:10:10 - INFO :: MainThread : Restarting Mylar with ['/usr/bin/python', '/home/misterfantastic/.mylar/Mylar.py', '--nolaunch']
23-Sep-2012 23:10:10 - INFO :: MainThread : Checking to see if the database has all tables....
23-Sep-2012 23:10:10 - DEBUG :: MainThread : Trying to execute: "git rev-parse HEAD" with shell in /home/misterfantastic/.mylar
23-Sep-2012 23:10:10 - DEBUG :: MainThread : Git output: 69888df

23-Sep-2012 23:10:10 - INFO :: MainThread : Retrieving latest version information from github
23-Sep-2012 23:10:11 - INFO :: MainThread : Comparing currently installed version with latest github version
23-Sep-2012 23:10:12 - INFO :: MainThread : Mylar is up to date
23-Sep-2012 23:10:13 - INFO :: MainThread : Starting Mylar on port: 8090
23-Sep-2012 23:19:49 - INFO :: CP Server Thread-5 : Marking Avengers Vs. X-Men issue # 10.00 as skipped...
23-Sep-2012 23:19:55 - INFO :: CP Server Thread-5 : Marking Avengers Vs. X-Men issue: 10.00 as wanted...
23-Sep-2012 23:19:55 - INFO :: CP Server Thread-5 : Shhh be very quiet...I'm looking for Avengers Vs. X-Men issue: 10.00 using experimental
23-Sep-2012 23:19:58 - INFO :: CP Server Thread-5 : I found 3 results doing my search...now I'm going to analyze the results.
23-Sep-2012 23:20:09 - INFO :: CP Server Thread-5 : Now adding/updating: Avengers Vs. X-Men
23-Sep-2012 23:20:20 - INFO :: CP Server Thread-5 : Sucessfully retrieved details for Avengers Vs. X-Men
23-Sep-2012 23:20:20 - INFO :: CP Server Thread-5 : Directory (/home/misterfantastic/Dropbox/Comics/Avengers Vs. X-Men (2012)) already exists! Continuing...
23-Sep-2012 23:20:20 - INFO :: CP Server Thread-5 : Sucessfully retrieved issue details for Avengers Vs. X-Men
23-Sep-2012 23:20:20 - INFO :: CP Server Thread-5 : Now adding/updating issues forAvengers Vs. X-Men
23-Sep-2012 23:20:20 - INFO :: CP Server Thread-5 : Checking directory for existing issues.
23-Sep-2012 23:20:23 - INFO :: CP Server Thread-5 : Now checking files for Avengers Vs. X-Men (2012) in /home/misterfantastic/Dropbox/Comics/Avengers Vs. X-Men (2012)
23-Sep-2012 23:20:25 - INFO :: CP Server Thread-5 : I've found 0 / 12 issues.
23-Sep-2012 23:20:25 - INFO :: CP Server Thread-5 : Updating complete for: Avengers Vs. X-Men
23-Sep-2012 23:20:25 - INFO :: CP Server Thread-5 : Attempting to grab wanted issues for : Avengers Vs. X-Men
23-Sep-2012 23:20:25 - INFO :: CP Server Thread-5 : Shhh be very quiet...I'm looking for Avengers Vs. X-Men issue: 0.00 using experimental
23-Sep-2012 23:20:26 - INFO :: CP Server Thread-5 : I found 1 results doing my search...now I'm going to analyze the results.
23-Sep-2012 23:20:28 - INFO :: Thread-12 : Now checking files for Avengers Vs. X-Men (2012) in /home/misterfantastic/Dropbox/Comics/Avengers Vs. X-Men (2012)
23-Sep-2012 23:20:31 - INFO :: Thread-12 : I've found 0 / 12 issues.
23-Sep-2012 23:20:39 - INFO :: Thread-13 : Shhh be very quiet...I'm looking for Daredevil issue: 2.00 using experimental
23-Sep-2012 23:20:41 - INFO :: Thread-13 : I found 4 results doing my search...now I'm going to analyze the results.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

Oh, the FF title did finally stop spinning. But no downloads, unfortunately.

from mylar.

evilhero avatar evilhero commented on July 29, 2024

So if it's adding and searching ok - then the issue is probably something to do with SAB or the transfer to SAB.

Actually I think I just noticed in your screenshot - take out the trailing '/' in your SAB Host address. I'm going to guess that it's putting an extra slash in the send-to-sab behind the scenes and it's causing it to bork up :)

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

No change in results unfortunately.

24-Sep-2012 08:14:10 - INFO :: MainThread : Restarting Mylar with ['/usr/bin/python', '/home/misterfantastic/.mylar/Mylar.py', '--nolaunch']
24-Sep-2012 08:14:13 - INFO :: MainThread : Checking to see if the database has all tables....
24-Sep-2012 08:14:13 - DEBUG :: MainThread : Trying to execute: "git rev-parse HEAD" with shell in /home/misterfantastic/.mylar
24-Sep-2012 08:14:13 - DEBUG :: MainThread : Git output: 69888df

24-Sep-2012 08:14:13 - INFO :: MainThread : Retrieving latest version information from github
24-Sep-2012 08:14:14 - INFO :: MainThread : Comparing currently installed version with latest github version
24-Sep-2012 08:14:15 - INFO :: MainThread : Mylar is up to date
24-Sep-2012 08:14:15 - INFO :: MainThread : Starting Mylar on port: 8090
24-Sep-2012 08:16:08 - INFO :: CP Server Thread-6 : Marking Daredevil issue: 1.00 as wanted...
24-Sep-2012 08:16:08 - INFO :: CP Server Thread-6 : Shhh be very quiet...I'm looking for Daredevil issue: 1.00 using experimental
24-Sep-2012 08:16:12 - INFO :: CP Server Thread-6 : I found 7 results doing my search...now I'm going to analyze the results.

from mylar.

evilhero avatar evilhero commented on July 29, 2024

hmm ok - there's something amiss somewhere then. Make sure the SAB API key you give to Mylar is the full API key, and not just the NZB API key. Mylar needs full access to SAB in order to work. I'll try adding in some more detailed output to see if we can trap the error, right now it seems that you're the lone wolf having problems which makes me think it's possibly some kind of configuration problem with Mylar. Can you run Mylar from the console and post the console output ? If it's erroring out it will blurb out the error on the console - if you're running just the daemon, it won't.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

It's definitely the API code and not the NZB code.

By the way on that config page in mylar, under Download, enter the full path where Sab downloads your comics, there's no field to enter anything there.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

When you say "AB API key you give to Mylar is the full API key, and not just the NZB API key." I only put the API key in, am I supposed to put the NZB code in somewhere?

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

Still no joy. From Terminal (if that's what you were asking for):

24-Sep-2012 12:17:51 - INFO :: MainThread : Mylar is up to date
24-Sep-2012 12:17:51 - INFO :: MainThread : Starting Mylar on port: 8090
24-Sep-2012 13:52:17 - INFO :: CP Server Thread-4 : Marking Avengers Vs. X-Men issue # 10.00 as skipped...
24-Sep-2012 13:52:21 - INFO :: CP Server Thread-4 : Marking Avengers Vs. X-Men issue: 10.00 as wanted...
24-Sep-2012 13:52:21 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for Avengers Vs. X-Men issue: 10.00 using experimental
24-Sep-2012 13:52:25 - INFO :: CP Server Thread-4 : I found 3 results doing my search...now I'm going to analyze the results.
space detected
space detected
24-Sep-2012 14:17:51 - INFO :: Thread-12 : Shhh be very quiet...I'm looking for Daredevil issue: 1.00 using experimental
24-Sep-2012 14:17:54 - INFO :: Thread-12 : I found 7 results doing my search...now I'm going to analyze the results.
space detected
space detected
space detected

from mylar.

evilhero avatar evilhero commented on July 29, 2024

latest commit has a test/search.py directory now. Copy the search.py from the test directory and put it in the mylar directory (where all the other .py scripts are). Try doing stuff again, and paste the console log here if you can - it should give abit more detailed information about what it's doing and I can track it down hopefully better using this method.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

I'm grateful for the help! Doing it momentarily.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

replaced search.py which didn't go so well!

Traceback (most recent call last):
File "Mylar.py", line 24, in
from mylar import webstart, logger
File "/home/misterfantastic/.mylar/mylar/webstart.py", line 23, in
from mylar.webserve import WebInterface
File "/home/misterfantastic/.mylar/mylar/webserve.py", line 28, in
from mylar import logger, db, importer, mb, search, filechecker, helpers, updater, parseit, weeklypull
File "/home/misterfantastic/.mylar/mylar/importer.py", line 24, in
from mylar import logger, helpers, db, mb, albumart, cv, parseit, filechecker, search, updater
File "/home/misterfantastic/.mylar/mylar/search.py", line 4

^
SyntaxError: invalid syntax

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

okay part of my problem with this task might be my newness to ubuntu and/or github. For some reason when I save the file it becomes a !DOC

I tried copying and pasting the new code into the old search.py. It's not longer a doc, but it still didn't go perfectly.

misterfantastic@RobbieTheRobot:~/.mylar$ python Mylar.py
Traceback (most recent call last):
File "Mylar.py", line 24, in
from mylar import webstart, logger
File "/home/misterfantastic/.mylar/mylar/webstart.py", line 23, in
from mylar.webserve import WebInterface
File "/home/misterfantastic/.mylar/mylar/webserve.py", line 28, in
from mylar import logger, db, importer, mb, search, filechecker, helpers, updater, parseit, weeklypull
File "/home/misterfantastic/.mylar/mylar/importer.py", line 24, in
from mylar import logger, helpers, db, mb, albumart, cv, parseit, filechecker, search, updater
File "/home/misterfantastic/.mylar/mylar/search.py", line 410
print ("sab host set to :" + mylar.SAB_HOST)
^
IndentationError: unexpected indent

from mylar.

evilhero avatar evilhero commented on July 29, 2024

When you copy & paste stuff, indents play a big part in Python and that's causing the break now.

You don't have to copy/paste text between files actually...just update to newest commit. After doing so in the mylar home directory there will be a directory called test. In that directory is a debugging search.py file. Copy that search.py file into the mylar/ directory. So if I'm looking at your paths - from the console (after doing a git update and making sure that Mylar is shutdown) do :
cp /home/misterfantastic/.mylar/test/search.py /home/misterfantastic/.mylar/mylar/

It will hammer your existing search.py - but it's all good. Start up Mylar and then do something...you'll see more results displayed to the console and the post that up in here.

Doing another git update will replace the debugging version of search.py that you copied with the corrected version :)

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

Oh thank you!

Traceback (most recent call last):
File "Mylar.py", line 24, in
from mylar import webstart, logger
File "/home/misterfantastic/.mylar/mylar/webstart.py", line 23, in
from mylar.webserve import WebInterface
File "/home/misterfantastic/.mylar/mylar/webserve.py", line 28, in
from mylar import logger, db, importer, mb, search, filechecker, helpers, updater, parseit, weeklypull
File "/home/misterfantastic/.mylar/mylar/importer.py", line 24, in
from mylar import logger, helpers, db, mb, albumart, cv, parseit, filechecker, search, updater
File "/home/misterfantastic/.mylar/mylar/search.py", line 475
queue_file = queue_file.replace("_", " ")

from mylar.

evilhero avatar evilhero commented on July 29, 2024

my bad - indentation level was wrong on that one since I put in the debugs. Newest commit should fix it so you can try again.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

what's the command for updating? Difficult to update from web interface in this situation.

from mylar.

evilhero avatar evilhero commented on July 29, 2024

no it's the same - start up Mylar, it'll state if your up-to-date or not ..update that way. Git will push down the newest test/search.py and then just do the instructions I gave above to copy it into the right folder.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

I'm probably missing something obvious. :)

With search.py replaced with bad file, mylar won't start in order to replace with good file! 8)

from mylar.

evilhero avatar evilhero commented on July 29, 2024

Yeah that's a big boo-boo. Copy off your config.ini and mylar.db (if you have comics added) to somewhere else and delete mylar. Then do a fresh install and you should be tickity-boo once you mv back the config.ini and mylar.db

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

I had a backup of the search.py file, unless you want me to delete and start fresh anyway!

from mylar.

evilhero avatar evilhero commented on July 29, 2024

doesn't matter. Copy back the backup, start it up - update, shut it down, copy the debugging search.py over, restart!

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

24-Sep-2012 21:45:51 - INFO :: MainThread : Mylar is up to date
24-Sep-2012 21:45:51 - INFO :: MainThread : Starting Mylar on port: 8090
24-Sep-2012 21:46:51 - INFO :: CP Server Thread-4 : Marking Dark Reign: Fantastic Four issue # 5.00 as skipped...
24-Sep-2012 21:47:00 - INFO :: CP Server Thread-4 : Marking Dark Reign: Fantastic Four issue: 5.00 as wanted...
24-Sep-2012 21:47:00 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for Dark Reign: Fantastic Four issue: 5.00 using experimental
24-Sep-2012 21:47:03 - INFO :: CP Server Thread-4 : I found 0 results doing my search...now I'm going to analyze the results.
24-Sep-2012 21:47:04 - INFO :: CP Server Thread-4 : I found 3 results doing my search...now I'm going to analyze the results.
Comic:dark reign fantastic four 05
year detected!
2009 - right - years match baby!
length match..proceeding
issue detected
this should be a match!
issues match!
cache directory set to: /home/misterfantastic/.mylar/cache
savefile set to: /home/misterfantastic/.mylar/cache/22270183.nzb
sucessfully retrieve nzb to : /home/misterfantastic/.mylar/cache/22270183.nzb
sab host set to :http://localhost:9090

I see you were channeling George Costanza there! I do see colons in weird places there, but I have no idea what I'm talking about!

from mylar.

evilhero avatar evilhero commented on July 29, 2024

haha - yeah gotta love the Constanza!

On the plus, it's finding the file and is preparing to send it to SABnzbd. But from the looks of it, it's failing right before it attempts to pause the SAB queue. Since it's printing out your SAB host fine, can you verify that your SAB API key is correct within Mylar since it uses the API key to pause SABnzbd before sending the file? If it's good I'll have to throw up another revision of the search.py file to segment this out.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

I've been copying and pasting it directly from Sab. To try something a little different, I copied it and pasted it from Couchpotato, which has been working all day.

A couple of things I noticed. I don't have "black hole" checked. In couch potato the url for sab is just listed as "localhost:9090" with no http:// in front of it. Just thought I would mention those things.

24-Sep-2012 22:03:07 - INFO :: MainThread : Restarting Mylar with ['/usr/bin/python', '/home/misterfantastic/.mylar/Mylar.py', '--nolaunch']
INFO:mylar:MainThread : Restarting Mylar with ['/usr/bin/python', '/home/misterfantastic/.mylar/Mylar.py', '--nolaunch']
misterfantastic@RobbieTheRobot:~/.mylar$ 24-Sep-2012 22:03:08 - INFO :: MainThread : Checking to see if the database has all tables....
24-Sep-2012 22:03:08 - INFO :: MainThread : Retrieving latest version information from github
24-Sep-2012 22:03:09 - INFO :: MainThread : Comparing currently installed version with latest github version
24-Sep-2012 22:03:10 - INFO :: MainThread : Mylar is up to date
24-Sep-2012 22:03:11 - INFO :: MainThread : Starting Mylar on port: 8090
24-Sep-2012 22:03:42 - INFO :: CP Server Thread-4 : Marking FF issue # 19.00 as skipped...
24-Sep-2012 22:03:48 - INFO :: CP Server Thread-4 : Marking FF issue: 19.00 as wanted...
24-Sep-2012 22:03:48 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for FF issue: 19.00 using experimental
24-Sep-2012 22:03:50 - INFO :: CP Server Thread-4 : I found 0 results doing my search...now I'm going to analyze the results.
24-Sep-2012 22:03:52 - INFO :: CP Server Thread-4 : I found 2 results doing my search...now I'm going to analyze the results.
Comic:ff 14
year detected!
2012 - right - years match baby!
length match..proceeding
issue detected
this should be a match!
Comic:ff 12
year detected!
2012 - right - years match baby!
length match..proceeding
issue detected
this should be a match!
24-Sep-2012 22:03:52 - INFO :: CP Server Thread-4 : More than one search provider given - trying next one.
24-Sep-2012 22:03:52 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for FF issue: 19.00 using nzb.su
Comic:ff 019
year detected!
2012 - right - years match baby!
length match..proceeding
issue detected
this should be a match!
issues match!
cache directory set to: /home/misterfantastic/.mylar/cache
savefile set to: /home/misterfantastic/.mylar/cache/5549c19f081684fa1741d1297ce365e5.nzb
sucessfully retrieve nzb to : /home/misterfantastic/.mylar/cache/5549c19f081684fa1741d1297ce365e5.nzb
sab host set to :http://localhost:9090

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

I think I figured out what's wrong!

My sab is running on https not http. I changed it https. It has paused Sab and added an nzb, but it may be stuck on pause. Will keep you posted in a minute.

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

Is it stuck on pause because of the test version of search.py?

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

24-Sep-2012 22:13:32 - INFO :: CP Server Thread-4 : Marking Avengers Vs. X-Men issue # 10.00 as skipped...
24-Sep-2012 22:13:39 - INFO :: CP Server Thread-4 : Marking Avengers Vs. X-Men issue: 10.00 as wanted...
24-Sep-2012 22:13:40 - INFO :: CP Server Thread-4 : Shhh be very quiet...I'm looking for Avengers Vs. X-Men issue: 10.00 using experimental
24-Sep-2012 22:13:44 - INFO :: CP Server Thread-4 : I found 3 results doing my search...now I'm going to analyze the results.
Comic:avengers vs x-men 010
year detected!
2012 - right - years match baby!
length match..proceeding
issue detected
this should be a match!
issues match!
cache directory set to: /home/misterfantastic/.mylar/cache
savefile set to: /home/misterfantastic/.mylar/cache/79647793.nzb
sucessfully retrieve nzb to : /home/misterfantastic/.mylar/cache/79647793.nzb
sab host set to :https://localhost:9090
Queue paused
sab api string:https://localhost:9090/api?mode=addlocalfile&name=/home/misterfantastic/.mylar/cache/79647793.nzb&pp=3&cat=comics&script=ComicRN.py&apikey=057842859129e4c9539132931b3e350c
outqueue line generated
passed api request to SAB
there are 31 things in SABnzbd's queue
Thor 2011 1080p PROPER BluRay x264 MOOVEE
79647793
The Avengers 2012 1080p BluRay x264 REFiNED
79647793
The Avengers 2012 1080p BluRay x264 REFiNED
79647793
Southland.S04E01.Wednesday.720p.WEB.DL.DD5-1
79647793
Southland.S04E02.720p.WEB.DL.DD5.1.H-264
79647793
Southland.S04E03.720p.WEB.DL.DD5.1.H-264
79647793
Southland.S04E04.720p.WEB.DL.DD5.1.H-264
79647793
Southland.S04E05.720p.WEB.DL.DD5.1.H-264
79647793
Southland.S04E06.720p.WEB.DL.DD5.1.H-264
79647793
Southland.S04E07.720p.WEB.DL.DD5.1.H-264
79647793
Southland.S04E08.720p.WEB.DL.DD5.1.H-264
79647793
Southland.S04E09.720p.WEB.DL.DD5.1.H-264
79647793
Southland.S04E10.720p.WEB.DL.DD5.1.H-264
79647793
Southland.S03E01.Let.It.Snow.720p.WEB.DL.DD5.1.AVC-DON
79647793
Southland.S03E02.Punching.Water.720p.WEB.DL.DD5.1.AVC-DON
79647793
Southland.S03E03.Discretion.720p.WEB.DL.DD5.1.AVC-DON
79647793
Southland.S03E04.720p.WEB.DL.DD5.1.AVC-DON
79647793
Southland.S03E05.720p.WEB.DL.DD5.1.AVC-DON
79647793
Southland.S03E06.720p.WEB.DL.DD5.1.AVC-DON
79647793
Southland.S03E07.720p.WEB.DL.DD5.1.AVC-DON
79647793
Southland.S03E08.720p.WEB.DL.DD5.1.AVC-DON
79647793
Southland.S03E09.720p.WEB.DL.DD5.1.AVC-DON
79647793
Southland.S03E10.720p.WEB.DL.DD5.1.AVC-DON
79647793
Southland.S02E01.720p.WEB.DL.DD5.1.H.264-LP
79647793
Southland.S02E02.720p.WEB.DL.DD5.1.H.264-LP
79647793
Southland.S02E03.U.Boat.720p.WEB.DL.DD5.1.H.264-LP
79647793
Southland.S02E04.720p.WEB.DL.DD5.1.H.264-ATHD
79647793
Southland.S02E05.720p.WEB.DL.DD5.1.H.264-ATHD
79647793
Southland.S02E06.720p.WEB.DL.DD5.1.H.264-ATHD
79647793
Southland.S01E07.720p.WEB.DL.H.264-LP
79647793
79647793
79647793
matched
slot_nzoid: SABnzbd_nzo_k8xNxt
attempting to rename queue to https://localhost:9090/api?mode=queue&name=rename&apikey=(api deleted by ataribaby for security)&value=SABnzbd_nzo_k8xNxt&value2=Avengers Vs. X-Men 10 (2012) (2012)

from mylar.

AtariBaby avatar AtariBaby commented on July 29, 2024

I re-installed and I think it's working now! Amazing experience, working with you on this. I'lll let you know if this isn't fixed and I'll probably let you know various issues as I see them, if that's cool. Thank you so much for this gift! I would like to donate.

from mylar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.