In my case python. I want to write a logger for my Symbian Phone.
Should be part of my IGCLogger.
http://sites.google.com/site/pys60software/igclogger-features

http://wiki.openstreetmap.org/wiki/API_v0.6#Uploading_Traces

In my post before you see the complete Error message.

The python code: