Dear,

I'm following the examples of the book: Mobile Python, Rapid Prototyping of Applications on the Mobile Platform

On example 17 (page 69): SMS receiver happens the following error:

Traceback (most recent call last):
File "e:\data\python\example_17.py", line 4, in message_received
appuifw.note(u"New message: %s" %box, content(msg_id))
SymbianError: [Errno -21] KErrAccessDenied

What does it means?

What should I do?

Thanks,
Markos

PS example_17.py

import inbox, appuifw, e32
def message_received(msg_id):
box = inbox.Inbox()
appuifw.note(u"New message: %s" % box.content(msg_id))
app_lock.signal()
box = inbox.Inbox()
box.bind(message_received)
print "Waiting for new SMS messages.."
app_lock = e32.Ao_lock()
app_lock.wait()
print "Message handled!"