Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#8243 closed defect (fixed)
jamu.py crashed with TypeError in _can_int()
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Forwarding upstream. System: mythvideo 0.23.0+fixes23789
Traceback (most recent call last): File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 6394, in <module> main() File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 6379, in main process.processMythTvMetaData() File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 5665, in processMythTvMetaData if _can_int(meta_dict['inetref']) and not meta_dict['inetref'] == u'00000000' and not meta_dict['inetref'] == '': File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 804, in _can_int int(x) TypeError: int() argument must be a string or a number, not 'NoneType'
I assume the above is enough, but if system logs are needed, they are available: https://bugs.launchpad.net/mythbuntu/+bug/549352
Change History (4)
Note: See
TracTickets for help on using
tickets.
Although this error will be handled in the jamu code it is likely that this videometadata record has been changed outside of MythVideo?. Both MythVideo? and Jamu initialize the inetref field to a value of "00000000". It is never left as Null or None, which is the situation triggering this abort.