Hi,
I'm using Debian Squeeze amd64. Yesterday, when upgrading mythtv from
0.23.1 to 0.24-04, the python-mythtv shows the following error:
Procesando disparadores para python-support ...
Compiling /usr/lib/pymodules/python2.4/MythTV/connections.py ...
File "/usr/lib/pymodules/python2.4/MythTV/connections.py", line 405
with self._socklock:
^
SyntaxError: invalid syntax
Compiling /usr/lib/pymodules/python2.4/MythTV/database.py ...
File "/usr/lib/pymodules/python2.4/MythTV/database.py", line 83
with db.cursor(log) as cursor:
^
SyntaxError: invalid syntax
Compiling /usr/lib/pymodules/python2.4/MythTV/dataheap.py ...
File "/usr/lib/pymodules/python2.4/MythTV/dataheap.py", line 405
with self._db.cursor(self._log) as cursor:
^
SyntaxError: invalid syntax
Compiling /usr/lib/pymodules/python2.4/MythTV/logging.py ...
File "/usr/lib/pymodules/python2.4/MythTV/logging.py", line 202
with self._lock:
^
SyntaxError: invalid syntax
Compiling /usr/lib/pymodules/python2.4/MythTV/methodheap.py ...
File "/usr/lib/pymodules/python2.4/MythTV/methodheap.py", line 92
with self.db.cursor(self.log) as cursor:
^
SyntaxError: invalid syntax
Compiling /usr/lib/pymodules/python2.4/MythTV/mythproto.py ...
File "/usr/lib/pymodules/python2.4/MythTV/mythproto.py", line 88
with self.db.cursor(self.log) as cursor:
^
SyntaxError: invalid syntax
Compiling /usr/lib/pymodules/python2.4/MythTV/system.py ...
File "/usr/lib/pymodules/python2.4/MythTV/system.py", line 219
if r.subtitle is not None else \
^
SyntaxError: invalid syntax
Compiling /usr/lib/pymodules/python2.4/MythTV/ttvdb/cache.py ...
SyntaxError: ('future feature with_statement is not defined',)
Compiling /usr/lib/pymodules/python2.4/MythTV/utility.py ...
File "/usr/lib/pymodules/python2.4/MythTV/utility.py", line 143
with self.inst.cursor(self.inst.log) as cursor:
^
SyntaxError: invalid syntax
Compiling /usr/lib/pymodules/python2.4/MythTV/wikiscripts/wikiscripts.py ...
File
"/usr/lib/pymodules/python2.4/MythTV/wikiscripts/wikiscripts.py", line 63
with self._lock:
^
SyntaxError: invalid syntax
Thanks,
Marcelo