demexp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lyu Abe
Subject: [Demexp-dev] Re: Add response: erreur pyhton
Date: Tue, 11 Mar 2008 19:44:41 +0100
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Hi there,

I succeeded in using the "marshal" module so that I don't get the error
below anymore. However, I get an "Internal server error" from the
request. Can I add new answers and new questions with the "demo" account?

        Best Regards. Lyu


Bonjour,

j'essaye d'appeler la fonction

add_response(cookie,quetsion_id,response_desc_t,link_t)

et j'obtiens l'erreur suivante sous mod python:


====================================
File "C:\Program Files\wamp\www\Demexp\python\login.py", line 248, in validate_new_response
    s.add_response(cookie, this_question[0]['q_id'],new_response,"")

...............

  File "C:\Program Files\Python25\Lib\xmlrpclib.py", line 633, in __dump
    raise TypeError, "cannot marshal %s objects" % type(value)

TypeError: cannot marshal <class 'mod_python.util.StringField'> objects

====================================

Qu'est-ce que ca vous inspire?

        Merci. Lyu

PS: j'ai implemente la fonction de vote.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]