Reply to comment

error handling SMS

hi,

i tried the SMS listener, but only get this error (debugging on x-terminal):

seven:~$ python /usr/lib/hildon-desktop/ussd-widget.py 0
Translation file for your language not found
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/hildon-desktop/ussd-widget.py", line 346, in handle_sms
    pdu = gsmdecode.decode_pdu (pdumsg)
  File "/usr/lib/python2.5/gsmdecode.py", line 283, in decode_pdu
    pdu['user_data'] = _decode_default_alphabet(deoctify(pdu['user_data']))[0:pdu['udl']]
NameError: global name 'deoctify' is not defined

hope this helps :-)

m.

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.