[mythtv-commits] Ticket #9280: Python Bindings (Python 2.7 and oursql) - Year out of range
MythTV
mythtv at cvs.mythtv.org
Tue Nov 23 23:51:51 UTC 2010
#9280: Python Bindings (Python 2.7 and oursql) - Year out of range
-----------------------------------+----------------------------------------
Reporter: anonymous | Owner: wagnerrp
Type: Bug Report | Status: new
Priority: minor | Milestone: unknown
Component: Bindings - Python | Version: Trunk Head
Severity: medium | Keywords:
Ticket locked: 0 |
-----------------------------------+----------------------------------------
With trunk r27327 the initial mirobridge environment error is now
resolved. This has however uncovered another issue that affects both jamu
and mirobridge. I've patched oursql 0.9.2 but I'm not 100% sure if this is
the bindings or oursql.
Jamu:
Traceback (most recent call last):
File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 6382, in
<module>
main()
File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 6367, in main
process.processMythTvMetaData()
File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 5608, in
processMythTvMetaData
metadata =
mythvideo.searchVideos(exactfile=self.rtnRelativePath(videopath,
u'mythvideo'), host=localhostname.lower()).next()
File "/usr/lib/python2.7/site-packages/MythTV/utility.py", line 176, in
__call__
for row in cursor:
File "cursor.pyx", line 185, in oursql.Cursor.fetchone
(oursqlx/oursql.c:16675)
File "statement.pyx", line 502, in oursql._Statement.fetchone
(oursqlx/oursql.c:11283)
ValueError: year is out of range
Mirobridge:
2010-11-23 18:39:22,849 INFO No items downloading
Traceback (most recent call last):
File "/usr/share/doc/mythtv-
docs-0.24/contrib/imports/mirobridge/mirobridge.py", line 2649, in
<module>
main()
File "/usr/share/doc/mythtv-
docs-0.24/contrib/imports/mirobridge/mirobridge.py", line 2326, in main
videostodelete = getOldrecordedOrphans()
File "/usr/share/doc/mythtv-
docs-0.24/contrib/imports/mirobridge/mirobridge.py", line 1121, in
getOldrecordedOrphans
recorded_array = list(mythdb.searchRecorded(chanid=channel_id,
hostname=localhostname))
File "/usr/lib/python2.7/site-packages/MythTV/utility.py", line 176, in
__call__
for row in cursor:
File "cursor.pyx", line 185, in oursql.Cursor.fetchone
(oursqlx/oursql.c:16675)
File "statement.pyx", line 499, in oursql._Statement.fetchone
(oursqlx/oursql.c:11234)
ValueError: year is out of range
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/9280>
MythTV <http://www.mythtv.org/>
MythTV Media Center
More information about the mythtv-commits
mailing list