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.




_______________________________________________
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev

Répondre à