Route and py_gsm error..!

I have been running python manage.py route
Traceback (most recent call last):
File “manage.py”, line 47, in
rapidsms.manager.start(sys.argv)
File “rapidsms/lib/rapidsms/manager.py”, line 123, in start
handler(conf, *args[2:])
File “rapidsms/lib/rapidsms/manager.py”, line 13, in route
router.set_logger(conf[“log”][“level”], conf[“log”][“file”])
File “rapidsms/lib/rapidsms/config.py”, line 205, in getitem
return self.data[key]
KeyError: ‘log’

and here what i get after i tryd
pygsm_demo /dev/ttyUSB1

write 'AT+CMGL=0\r’
read '\r\n’
read '^RSSI:3\r\n’
read '\r\n’
read 'OK\r\n’
Traceback (most recent call last):
File “/usr/local/bin/pygsm_demo”, line 44, in
msg = modem.next_message()
File “/usr/local/lib/python2.6/dist-packages/pygsm/gsmmodem.py”,
line 567, in next_message
self._fetch_stored_messages()
File “/usr/local/lib/python2.6/dist-packages/pygsm/gsmmodem.py”,
line 546, in _fetch_stored_messages
messages = self.smshandler.parse_stored_messages(lines)
File “/usr/local/lib/python2.6/dist-packages/pygsm/
pdusmshandler.py”, line 113, in parse_stored_messages
raise(errors.GsmReadError())
pygsm.errors.GsmReadError

and idea on how to solve this error… or what actually cause it.?

Turns out this solves both problems:

[7:14:47 PM] Rowena Luk: For the first error, add the following lines to
your rapidsms.ini or local.ini file:

[log]
level=debug
file=/var/log/shadowpoll/rapidsms.log

··· On Thu, Mar 18, 2010 at 7:08 PM, Allen Machary wrote:

I have been running python manage.py route
Traceback (most recent call last):
File “manage.py”, line 47, in
rapidsms.manager.start(sys.argv)
File “rapidsms/lib/rapidsms/manager.py”, line 123, in start
handler(conf, *args[2:])
File “rapidsms/lib/rapidsms/manager.py”, line 13, in route
router.set_logger(conf[“log”][“level”], conf[“log”][“file”])
File “rapidsms/lib/rapidsms/config.py”, line 205, in getitem
return self.data[key]
KeyError: ‘log’

and here what i get after i tryd
pygsm_demo /dev/ttyUSB1

write 'AT+CMGL=0\r’
read '\r\n’
read '^RSSI:3\r\n’
read '\r\n’
read 'OK\r\n’
Traceback (most recent call last):
File “/usr/local/bin/pygsm_demo”, line 44, in
msg = modem.next_message()
File “/usr/local/lib/python2.6/dist-packages/pygsm/gsmmodem.py”,
line 567, in next_message
self._fetch_stored_messages()
File “/usr/local/lib/python2.6/dist-packages/pygsm/gsmmodem.py”,
line 546, in _fetch_stored_messages
messages = self.smshandler.parse_stored_messages(lines)
File “/usr/local/lib/python2.6/dist-packages/pygsm/
pdusmshandler.py”, line 113, in parse_stored_messages
raise(errors.GsmReadError())
pygsm.errors.GsmReadError

and idea on how to solve this error… or what actually cause it.?

Why is that required?

Turns out this solves both problems:

[7:14:47 PM] Rowena Luk: For the first error, add the following lines to
your rapidsms.ini or local.ini file:

[log]
level=debug
file=/var/log/shadowpoll/rapidsms.log

··· On Mar 18, 2010 9:48 AM, "Rowena Luk" wrote:

On Thu, Mar 18, 2010 at 7:08 PM, Allen Machary allen.machary@gmail.com wrote:

I have been ru…