wsgi problem: str-unicode return-type mismatch
Hi,
I have a problem. When I'm running my webservice (using apache2, python 2.6, mod_wsgi 2.0), sometimes I get this error:
Return-type mismatch in WebService:
or
Return-type mismatch in WebService:
It's strange because sometimes the Get_ToAndCC method run successfull more times, and just one time I get this error.
Moreover I print the return string type to an error log file and it's 'unicode'. I can't understand how can I get a"Expected <type 'str>" message when there is not any string which type is 'str'.
How does it possible?
I think this is caused by wsgi because when is run the webservice with ladon2.6ctl testserve command it works fine.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- ladon Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- nelko
- Solved:
- Last query:
- Last reply: