Search found 6 matches

by cj_
December 5th, 2009, 11:04 am
Forum: Bug Reports
Topic: Python 2.6 tvsort bug (fix inside)
Replies: 2
Views: 3785

Re: Python 2.6 tvsort bug (fix inside)

Oh, one other bug in the same module.  No fix here, but you might want to look at it.  Using a sort string like this: {%s.n.%ext} Doesn't work right.  The reason is that before the code converts {} to lowercase and strips it out, it does this: if path.endswith('%ext'):   ... Since the path does not ...
by cj_
December 5th, 2009, 10:43 am
Forum: Bug Reports
Topic: Python 2.6 tvsort bug (fix inside)
Replies: 2
Views: 3785

Python 2.6 tvsort bug (fix inside)

Found another bug that results in post processing crash with the following traceback:   File "/home/cjones/local/usenet/sabnzbd/tvsort.py", line 630, in check_for_multiple     regex = re.compile(regex, re.I)   File "/usr/lib/python2.6/re.py", line 190, in compile     return _comp...
by cj_
December 1st, 2009, 10:58 am
Forum: Beta Releases
Topic: Intermittent error after Quick Check
Replies: 5
Views: 3342

Re: Intermittent error after Quick Check

No problem, glad I could help.  Very pleased with the beta so far, this is the only issue I've encountered.
by cj_
December 1st, 2009, 7:02 am
Forum: Beta Releases
Topic: Intermittent error after Quick Check
Replies: 5
Views: 3342

Re: Intermittent error after Quick Check

Hello again, I figured it out.  The method to lower-case using {} is just broken.  The code from sabnzbd/tvsort.py: def toLowercase(path):    ''' Lowercases any characters enclosed in {} '''    RE_LOWERCASE = re.compile('\{([^\{]*)\}', re.I)    while 1:        m = RE_LOWERCASE.match(path)        if ...
by cj_
December 1st, 2009, 6:26 am
Forum: Beta Releases
Topic: Intermittent error after Quick Check
Replies: 5
Views: 3342

Re: Intermittent error after Quick Check

Well for what it's worth, this only happens with 0.5, and I encounter it on both Linux and FreeBSD. I restarted the server with debug set, and this is the last thing it shows before going into loop again: 2009-12-01 03:03:37,121::DEBUG::[__init__:1327] Starting postprocessor 2009-12-01 03:03:37,182:...
by cj_
December 1st, 2009, 5:51 am
Forum: Beta Releases
Topic: Intermittent error after Quick Check
Replies: 5
Views: 3342

Intermittent error after Quick Check

Hey, I am running the 0.5-beta1 release and have experienced this problem on both FreeBSD 7.2 stable and Ubuntu Jaunty using Python 2.5. Occasionally I have a download that has finished Quick Check, but it gets caught in a loop that consumes 100% CPU and never completes.  I am only ever to fix this ...