[mythtv-commits] Ticket #12442: Patch: New PROTO_TOKEN prevents Python bindings from working
MythTV
noreply at mythtv.org
Tue Apr 28 01:44:18 UTC 2015
#12442: Patch: New PROTO_TOKEN prevents Python bindings from working
----------------------------------------+-------------------------
Reporter: Bill Meek <keemllib@…> | Owner: wagnerrp
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: Bindings - Python | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
----------------------------------------+-------------------------
It appears that the '(ノಠ益ಠ)ノ彡┻━┻' PROTO_TOKEN makes
Python unhappy (assuming some user decided to update the
Python PROTO_VERSION to match the current version.) Maybe
the correct fix belongs in the bindings, but this is at
least a workaround.
v0.28-pre-2861-gbcd7d65-dirty
{{{
from MythTV import MythBE
MythBE()
Traceback (most recent call last):
...
File "/usr/local/lib/python2.7/dist-packages/MythTV/connections.py",
line 263, in check_version
% (PROTO_VERSION, PROTO_TOKEN)).split(BACKEND_SEP)
File "/usr/local/lib/python2.7/dist-packages/MythTV/connections.py",
line 295, in backendCommand
self.socket.sendheader(data.encode('utf-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 23:
ordinal not in range(128)
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12442>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list