Re: Problem with CPSChat

Julien Anguenot <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Organization NUXEO
Message-ID <[email protected]>
Christophe GAUTIER wrote:
> Good afternoon
> 
> Thank you for help.
> 
> I installed CPSChat. I used the version of CPSCore
> 3.33 as indicated in the DEPENDENCIES.txt file
> When I wanted to use it, I could create a chat but I
> did not get the messages on the screen and I got this
> error :

I guess same problem as last time. Encoding problem on Windows. Did you
update Zope to a more recent version ?

	J.

> 
> 
> 
> "
> Exception traceback
> 
> Time 	2006/07/18 15:25:51.448 GMT+2
> User Name (User Id) 	admin (admin)
> Request URL 
> http://localhost/cps/workspaces/my_chat/cps_chat_post_message
> Exception Type 	RuntimeError
> Exception Value 	Script (Python) publish_question has
> errors.
> 
> Traceback (innermost last):
> 
>     * Module ZPublisher.Publish, line 113, in publish
>     * Module ZPublisher.mapply, line 88, in mapply
>     * Module ZPublisher.Publish, line 40, in
> call_object
>     * Module Products.CMFCore.FSPythonScript, line
> 108, in __call__
>     * Module Shared.DC.Scripts.Bindings, line 311, in
> __call__
>     * Module Shared.DC.Scripts.Bindings, line 348, in
> _bindAndExec
>     * Module Products.CMFCore.FSPythonScript, line
> 164, in _exec
>     * Module None, line 9, in cps_chat_post_message
>       <FSPythonScript at /cps/cps_chat_post_message
> used for /cps/workspaces/my_chat>
>       Line 9
>     * Module Products.CPSChat.Chat, line 283, in
> addChatItem
>     * Module Products.CPSWorkflow.workflowtool, line
> 707, in doActionFor
>     * Module Products.CPSWorkflow.workflowtool, line
> 734, in _doActionFor
>     * Module Products.CMFCore.WorkflowTool, line 614,
> in _invokeWithNotification
>     * Module Products.DCWorkflow.DCWorkflow, line 290,
> in doActionFor
>     * Module Products.CPSWorkflow.workflow, line 339,
> in _changeStateOf
>     * Module Products.CPSWorkflow.workflow, line 1013,
> in _executeTransition
>     * Module Shared.DC.Scripts.Bindings, line 311, in
> __call__
>     * Module Shared.DC.Scripts.Bindings, line 348, in
> _bindAndExec
>     * Module Products.PythonScripts.PythonScript, line
> 312, in _exec
>       <PythonScript at
> /cps/portal_workflow/chat_item_workspace_wf/scripts/publish_question>
> 
> RuntimeError: Script (Python) publish_question has
> errors.
> 
> Display traceback as text
> 
> REQUEST
> form
> tmp_message	''
> message	'Deuxi\xe8me tour du chat n\xb02'
> cookies
> __ac_name	'admin'
> _ZopeId	'53230629A2bl55f2K2Y'
> lazy items
> SESSION	<bound method
> SessionDataManager.getSessionData of
> <SessionDataManager at /session_data_manager>>
> other
> TraversalRequestNameStack	[]
> AUTHENTICATED_USER	<CPSUser admin>
> URL
> 'http://localhost/cps/workspaces/my_chat/cps_chat_post_message'
> SERVER_URL	'http://localhost'
> AUTHENTICATION_PATH	'cps'
> traverse_subpath	[]
> USER_PREF_LANGUAGES
> <Products.Localizer.Accept.AcceptLanguage instance at
> 0x042CD878>
> _ts_domain_cache	{'default': <LocalizerDomain at
> /cps/translation_service/>}
> PUBLISHED	<FSPythonScript at
> /cps/cps_chat_post_message used for
> /cps/workspaces/my_chat>
> AcceptLanguage
> <Products.Localizer.Accept.AcceptLanguage instance at
> 0x042CD878>
> AcceptCharset	<Products.Localizer.Accept.AcceptCharset
> instance at 0x04734698>
> ACTUAL_URL
> 'http://localhost/cps/workspaces/my_chat/cps_chat_post_message'
> _localizer_placeful_mc_cache	{'Localizer/default':
> <MessageCatalog at /cps/Localizer/default>}
> URL0
> http://localhost/cps/workspaces/my_chat/cps_chat_post_message
> URL1	http://localhost/cps/workspaces/my_chat
> URL2	http://localhost/cps/workspaces
> URL3	http://localhost/cps
> URL4	http://localhost
> BASE0	http://localhost
> BASE1	http://localhost
> BASE2	http://localhost/cps
> BASE3	http://localhost/cps/workspaces
> BASE4	http://localhost/cps/workspaces/my_chat
> BASE5
> http://localhost/cps/workspaces/my_chat/cps_chat_post_message
> environ
> HTTP_COOKIE	'__ac_name="admin";
> __ac="YWRtaW46cmVubmVzX2FkbWlu";
> _ZopeId="53230629A2bl55f2K2Y"'
> SERVER_SOFTWARE	'Zope/(Zope 2.9.0, python 2.4.2,
> win32) ZServer/1.1 CPS/3.4'
> SCRIPT_NAME	''
> REQUEST_METHOD	'POST'
> HTTP_KEEP_ALIVE	'300'
> SERVER_PROTOCOL	'HTTP/1.1'
> channel.creation_time	1153229012
> CONNECTION_TYPE	'keep-alive'
> HTTP_ACCEPT_CHARSET	'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
> HTTP_USER_AGENT	'Mozilla/5.0 (Windows; U; Windows NT
> 5.1; fr-FR; rv:1.7.12) Gecko/20050919 Firefox/1.0.7'
> HTTP_REFERER
> 'http://localhost/cps/workspaces/my_chat/cps_chat_view'
> SERVER_NAME	'...'
> REMOTE_ADDR	'127.0.0.1'
> PATH_TRANSLATED
> '\\cps\\workspaces\\my_chat\\cps_chat_post_message'
> SERVER_PORT	'80'
> CONTENT_LENGTH	'50'
> HTTP_HOST	'localhost'
> HTTP_ACCEPT
> 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
> GATEWAY_INTERFACE	'CGI/1.1'
> HTTP_ACCEPT_LANGUAGE
> 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3'
> CONTENT_TYPE	'application/x-www-form-urlencoded'
> HTTP_ACCEPT_ENCODING	'gzip,deflate'
> PATH_INFO
> '/cps/workspaces/my_chat/cps_chat_post_message'
> "
> 
> 
> On the other hand, I would to know how I could install
> the full version of CPS on Windows, that's to say with
> all modules. (I did not found any install file
> anywhere...)
> 
> 
> Thank you for you help
> 
> Regards
> 
> 
> Christophe
> 
> 
> 
> 
> 
> 	
> 
> 	
> 		
> ___________________________________________________________________________ 
> Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
> http://fr.mail.yahoo.com


-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEvOZpGhoG8MxZ/pIRAnw/AJ4h1UBds6IQGiAmilAd2N/6Sf7eKgCdG4m2
tW6X16EfW0CqKr0nvpXFni4=
=V4Qf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.