Re: [Demexp-dev] Re: Add response: erreur pyhton

2008-03-12 Par sujet Lyu Abe
Hi again, I got this error: == File C:\Program Files\wamp\www\Demexp\python\login.py, line 335, in validate_new_response s.add_response(cookie,this_question[0]['q_id'],new_response.encode('utf8'),new_response_link.encode('utf8')) File C:\Program

Re: [Demexp-dev] Re: Add response: erreur pyhton

2008-03-12 Par sujet Lyu Abe
Hi David, Well, I don't really understand why you would need such marshal calls. Because at first I got an error message mentionning Cannot marshal %s objects (see my other mail in the comments) For the new_question and add_response, I will send you a test code by this evening.

Re: [Demexp-dev] Re: Add response: erreur pyhton

2008-03-12 Par sujet Lyu Abe
Good evening Dave Here is a piece of code that produces the error. If you have Mod Pyhton installed, you need to include the following to the httpd.conf file: LoadModule python_module modules/mod_python.so and Directory c:/Program Files/Wamp/www/demexp/python AddHandler mod_python .py