Hello,
In last revision (70ecd1546c5d), I found a strange thing which wasn't here in previous releases.
Trying to explain ...
--- From home window, I go to tvguide
--- I select a show
--- I set "record only this show" (first choice)
--- "Activate this schedule" is already selected
--- I save
--- An error appears "Error: onClick" 'numRecorded' "
--- click OK
--- click on "cancel"
--- I go to "schedule a show" --> I see the show
--- I go to "Upcomings recordings" --> I don't see the show scheduled
Workaround:
--- I go back to "schedule a show"
--- I edit the schedule
--- I switch OFF "activate this schedule"
--- I save the schedule
--- I go back to "schedule a show"
--- I edit the schedule
--- I switch ON "activate this schedule"
--- I save the schedule
There, the show scheduled is activated and it appears in "upcomings recordings" window.
I dunno if I'm very clear ....
Here the log:
DEBUG | mythbox.ui | tvguide.py | MainThread | Line 387 | launching edit schedule dialog
DEBUG | mythbox.cache | filecache.py | MainThread | Line 111 | Cache HIT Hercule Poirot
DEBUG | mythbox.cache | filecache.py | MainThread | Line 111 | Cache HIT Hercule Poirot
DEBUG | mythbox.ui | schedules.py | MainThread | Line 257 | onClick 201
DEBUG | mythbox.ui | schedules.py | MainThread | Line 257 | onClick 212
DEBUG | mythbox.ui | schedules.py | MainThread | Line 257 | onClick 250
DEBUG | mythbox.ui | schedules.py | MainThread | Line 318 | Save button clicked
DEBUG | mythbox.core | db.py | MainThread | Line 830 | sql =
REPLACE INTO record (
recordid,
type,
chanid,
starttime,
startdate,
endtime,
enddate,
title,
subtitle,
description,
category,
station,
profile,
recpriority,
autoexpire,
maxepisodes,
maxnewest,
startoffset,
endoffset,
recgroup,
dupmethod,
dupin,
seriesid,
programid,
search,
autotranscode,
autocommflag,
autouserjob1,
autouserjob2,
autouserjob3,
autouserjob4,
findday,
findid,
inactive,
parentid)
VALUES (
NULL, 1, 1010, '13:30:00', '2011-03-29', '14:25:00', '2011-03-29',
%s, %s, %s, %s, %s,
'Default', 0, 0, 0, 0,
0, 0, 'Default', 2, 15, '167825396', 'EP16782539612', 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 0)
DEBUG | mythbox.core | db.py | MainThread | Line 845 | New scheduleId = 99
DEBUG | mythbox.perf | util.py | MainThread | Line 334 | TIMER: saveSchedule took 0.07 seconds
ERROR | mythbox.core | util.py | MainThread | Line 401 | (<class exceptions.KeyError at 0xa7e119d4>, <exceptions.KeyError instance at 0xaf28b9c>, <traceback object at 0xb11e1f4>)
ERROR | mythbox.core | util.py | MainThread | Line 402 | CATCHALL_UI: Caught <type 'instance'> exception 'numRecorded' on method onClick
Traceback (most recent call last):
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/util.py", line 399, in catchall_ui
return func(*args, **kw)
File "<string>", line 1, in <lambda>
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/util.py", line 212, in lirc_hack
return func(*args, **kwargs)
File "<string>", line 1, in <lambda>
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/conn.py", line 123, in inject_conn
result = func(*args, **kwargs)
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/ui/schedules.py", line 319, in onClick
self.conn().saveSchedule(self.schedule)
File "<string>", line 1, in <lambda>
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/db.py", line 138, in inject_db
result = func(*args, **kwargs)
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/conn.py", line 1039, in saveSchedule
self.rescheduleNotify(savedSchedule)
File "<string>", line 1, in <lambda>
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/util.py", line 327, in timed
result = func(*args, **kw)
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/conn.py", line 1059, in rescheduleNotify
log.debug('rescheduleNotify(schedule= %s)' % safe_str(schedule))
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/util.py", line 121, in safe_str
return str(obj)
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/domain.py", line 1341, in __repr__
return "%s {recordid=%s, type=%s, title=%s, subtitle=%s, starttime=%s, endtime=%s startdate=%s, enddate=%s, nr=%d}" % (
File "/home/user/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/domain.py", line 1361, in numRecorded
return int(self._data['numRecorded'])
KeyError: 'numRecorded'
Ready to provide further details if nobody understood what I mean ...
Gulliver