I wrapped up a python script using the PyS60 application packager. When i ran the packaged application, it shows an error upon trying to send the data to a server:
Before packaging up the script, things were fine when I ran it using the python script shell on the phone. I've googled and found that a non-S60 packager (python-win32) also has this problem with importing the encodings modules. How do we include the encodings modules into the pyS60 application packager? Is the following syntax correct? Or was there anything I can do? Please advise. Thanks in advance.
Traceback (most recent call last):
File "default.py", line 19, in send_core_file
File "<string>", line 1, in connect
LookupError: unknown encoding: idna
ensymble.py py2sis my_script.py ...... --extra-modules=encodings\idna.py