Opened 11 years ago
Closed 10 years ago
#12103 closed Bug Report - General (Fixed)
Metadata library will pull an inetref from ttvdb.py, and then pull data for that inetref from tmdb3.py
Reported by: | Owned by: | Raymond Wagner | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27.4 |
Component: | MythTV - Mythmetadatalookup | Version: | 0.27-fixes |
Severity: | medium | Keywords: | tmdb3.py crash |
Cc: | Ticket locked: | no |
Description
MythTV Version : v0.27-188-g036a336
Reproduction of the crash with: $ /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 99151
See attached crash file from /var/crash for details.
See also bug on launchpad: https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/1236657
Attachments (1)
Change History (8)
Changed 11 years ago by
Attachment: | _usr_share_mythtv_metadata_Movie_tmdb3.py.1000.crash added |
---|
comment:2 Changed 11 years ago by
Resolution: | Invalid |
---|---|
Status: | closed → new |
Replying to wagnerrp:
TheMovieDB does not have a movie registered to the IDs 99151 or 266092. At best, I could give you a more human-readable error code, but there's really nothing to fix here.
Did you see the crash report from apport in the attachment? In my opinion there is no need for a human-readable error code. Instead I would recommend to add an error handling to prevent the crash.
comment:3 Changed 11 years ago by
Resolution: | → Invalid |
---|---|
Status: | new → closed |
You're requesting data for an ID that does not exist. That is a fatal error. Whether the exception is handled or not, that's the end of the script. There is nowhere further to go. Handling the exception is a purely cosmetic issue.
comment:4 Changed 11 years ago by
Resolution: | Invalid |
---|---|
Status: | closed → new |
Further investigation shows that mythmetadatalookup does the failure. It uses tmdb3.py instead of ttvdb.py, although there is a season number / episode number > 0. Is there a way to move the bug to another component? And which component should we choose for mythmetadatalookup?
comment:5 Changed 11 years ago by
Component: | Bindings - Python → MythTV - Mythmetadatalookup |
---|---|
Milestone: | unknown → 0.28 |
Status: | new → assigned |
Summary: | MythTV.tmdb3.tmdb_exceptions.TMDBRequestInvalid: Invalid id - The pre-requisite id is invalid or not found. → Metadata library will pull an inetref from ttvdb.py, and then pull data for that inetref from tmdb3.py |
This is a known issue that has come up a couple times before on the mailing list. I thought there was already a ticket open for it, but I've not found it.
comment:7 Changed 10 years ago by
Milestone: | 0.28 → 0.27.4 |
---|---|
Resolution: | → Fixed |
Status: | assigned → closed |
crash file from /var/crash/