Comments

05/11/2012 10:03:04 PM UTC, Marcus Habermehl: post #18610

Python 3.2.3
speech-dispatcher 0.7.1

If I want to enable debugging of a speechd.client.SSIPClient instance, Python raises exceptions.

$ python3
>>> import speechd.client
>>> c = speechd.client.SSIPClient("test")
c.set_debug_destination("/tmp/debug")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/speechd/client.py", line 1036, in set_debug_destination
    assert isinstance(val, string)
NameError: global name 'val' is not defined
>>> c.set_debug(True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/speechd/client.py", line 1024, in set_debug
    self._conn.send_command('SET', scope.ALL, 'DEBUG', ssip_val)
NameError: global name 'scope' is not defined
>>>
Total records: 1
Note: You need to log in before you can post comments.