Re: Problem with CPSSharedCalendar...

Julien Anguenot <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Organization NUXEO
Message-ID <[email protected]>
Christophe GAUTIER wrote:
> I tried again to install CPSSharedCalendar as I
> described before.
> I could access the site and I tried to create a
> personal calendar ("créer mon agenda personnel")
> but I got an error.
> The error message is below :

It smells a Windows encoding problem...

See this bug :
http://svn.nuxeo.org/trac/pub/ticket/1651

You will have to install a more recent Zope version (>= Zope-2.9.3) and
then install the CPS full version from scratch, I'm afraid. (or use a
Linux box if you can)

[...]

	J.
> 
> 
> "
> Exception traceback
> 
> Time 	2006/07/17 15:06:14.162 GMT+2
> User Name (User Id) 	admin (admin)
> Request URL 
> http://localhost/cps/portal_cpscalendar/createMemberCalendar
> Exception Type 	RuntimeError
> Exception Value 	Script (Python) give_attendee_manager
> 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.CPSSharedCalendar.calendartool,
> line 695, in createMemberCalendar
>     * Module Products.CPSWorkflow.workflowtool, line
> 306, in invokeFactoryFor
>     * Module Products.CPSWorkflow.workflowtool, line
> 449, in _createObject
>     * Module Products.CPSWorkflow.workflowtool, line
> 489, in _insertWorkflow
>     * Module Products.CPSWorkflow.workflow, line 1099,
> in insertIntoWorkflow
>     * 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/workspace_calendar_wf/scripts/give_attendee_manager>
> 
> RuntimeError: Script (Python) give_attendee_manager
> has errors.
> 
> Display traceback as text
> 
> REQUEST
> form
> -C	''
> cookies
> __ac_name	'admin'
> lazy items
> SESSION	<bound method
> SessionDataManager.getSessionData of
> <SessionDataManager at /session_data_manager>>
> other
> TraversalRequestNameStack	[]
> AUTHENTICATED_USER	<CPSUser admin>
> URL
> 'http://localhost/cps/portal_cpscalendar/createMemberCalendar'
> SERVER_URL	'http://localhost'
> AUTHENTICATION_PATH	'cps'
> USER_PREF_LANGUAGES
> <Products.Localizer.Accept.AcceptLanguage instance at
> 0x04591378>
> _ts_domain_cache	{'default': <LocalizerDomain at
> /cps/translation_service/>}
> PUBLISHED	<bound method
> CpsCalendarTool.createMemberCalendar of
> <CpsCalendarTool at /cps/portal_cpscalendar>>
> AcceptLanguage
> <Products.Localizer.Accept.AcceptLanguage instance at
> 0x04591378>
> AcceptCharset	<Products.Localizer.Accept.AcceptCharset
> instance at 0x04591C10>
> ACTUAL_URL
> 'http://localhost/cps/portal_cpscalendar/createMemberCalendar'
> URL0
> http://localhost/cps/portal_cpscalendar/createMemberCalendar
> URL1	http://localhost/cps/portal_cpscalendar
> URL2	http://localhost/cps
> URL3	http://localhost
> BASE0	http://localhost
> BASE1	http://localhost
> BASE2	http://localhost/cps
> BASE3	http://localhost/cps/portal_cpscalendar
> BASE4
> http://localhost/cps/portal_cpscalendar/createMemberCalendar
> environ
> HTTP_ACCEPT
> 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
> 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/members/admin/?portal_status_message=psm_logged_in'
> SERVER_NAME	'RE004027.ouest.capgemini.fr'
> GATEWAY_INTERFACE	'CGI/1.1'
> channel.creation_time	1153141539
> SERVER_SOFTWARE	'Zope/(Zope 2.9.0, python 2.4.2,
> win32) ZServer/1.1 CPS/3.4'
> REMOTE_ADDR	'127.0.0.1'
> HTTP_ACCEPT_LANGUAGE
> 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3'
> SCRIPT_NAME	''
> REQUEST_METHOD	'GET'
> HTTP_HOST	'localhost'
> HTTP_KEEP_ALIVE	'300'
> SERVER_PORT	'80'
> SERVER_PROTOCOL	'HTTP/1.1'
> PATH_TRANSLATED
> '\\cps\\portal_cpscalendar\\createMemberCalendar'
> CONNECTION_TYPE	'keep-alive'
> HTTP_ACCEPT_ENCODING	'gzip,deflate'
> HTTP_COOKIE	'__ac_name="admin";
> __ac="YWRtaW46cmVubmVzX2FkbWlu"'
> PATH_INFO
> '/cps/portal_cpscalendar/createMemberCalendar'
> "
> 
> 
> 
> If you may help me, please?
> 
> Thank you!
> 
> 
> Regards
> 
> 
> Christophe
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --- Julien Anguenot <[email protected]> a écrit :
> 
>> Christophe GAUTIER wrote:
>>> I will try again but I would like to be sure if my
>>> procedure is correct:
>>> 1. I install the CPS 3.4
>>> 2. I add the modules CPSSharedCalendar into the
>> folder
>>> "Data/Products"
>>> 3. I go to the ZMI : "CPS Portal_Setup" to upgrade
>> the
>>> system
>>> 4. I import the module "CPSSharedCalendar"
>>> 5. I restart the system
>>>
>>> Then, I assume I would be able to use the shared
>>> calendar with the portal.
>>> Is it correct, please ?
>> yup. this is correct.
>>
>> 	J.
>>
>> P.S : Please, stay on the list
>>
>>> --- Julien Anguenot <[email protected]> a écrit :
>>>
>>>> Christophe GAUTIER wrote:
>>>>> About the link you shew me
>>>>>> http://www.cps-project.org/sections/downloads
>>>>> There is the version 3.4 for Windows but it does
>>>> not
>>>>> include the modules CPSSharedCalendar,
>> CPSChat...
>>>>> I would like to install these modules.
>>>>> In fact, I first installed the version of CPS
>> you
>>>> shew
>>>>> with the link, then I searched on you site and I
>>>> found
>>>>> a full version of CPS with all modules (with
>>>>> CPSSharedCalendar, CPSChat...) I added these
>>>> modules,
>>>>> I went to the ZMI (CPS Portal_setup to upgrade
>> the
>>>>> system and I imported the modules I needed but I
>>>> got
>>>>> many error messages and it does not work).
>>>> I'm afraid, without you sending us the errors, we
>>>> won't be able to help you.
>>>>
>>>> 	J.
>>>>
>>>>
>>>>> --- Julien Anguenot <[email protected]> a écrit :
>>>>>
>>>>>> Christophe GAUTIER wrote:
>>>>>>> Thank you very much for your answer but I did
>>>> not
>>>>>>> found any Windows Installer... And there is no
>>>>>>> complete information how to install it...
>>>>>> http://www.cps-project.org/sections/downloads
>>>>>>
>>>>>>
>>>>>>> There is the version of CPS 3.4 for Windows
>> with
>>>> a
>>>>>>> Windows Installer but it is not the full
>>>> version. 
>>>>>>> My
>>>>>>> boss wants me to install the full version,
>> with
>>>>>> all
>>>>>>> modules (that's to say with CPSSharedCalendar,
>>>>>>> CPSChat...). If you may help me, please
>>>>>> Well, what did you try, what did you
>> understand,
>>>>>> what did you not
>>>>>> understand etc... You need to explain what's
>> the
>>>>>> status of your
>>>>>> investigation etc...
>>>>>>
>>>>>>
>> http://www.cps-project.org/sections/documentation
>>>>>> Use the search box for the archives.
>>>>>>
>>>>>> 	J.
>>>>>>
>>>>>>
>>>>>>> Christophe GAUTIER
>>>>>>>
>>>>>>>
>>>>>>> --- Julien Anguenot <[email protected]> a écrit :
>>>>>>>
>>>>>>>> Christophe GAUTIER wrote:
>>>>>>>>> I would like to know how to install properly
>>>> CPS
>>>>>>>> 3.4
>>>>>>>>> full version on Windows : I mean with all
>>>>>> modules
>>>>>>>> like
>>>>>>>>> CPSSharedcalendar, CPSChat...
>>>>>>>>> I found a full version on the Nuxeo site but
>>>> no
>>>>>>>>> install documentation for Windows... I tried
>>>> to
>>>>>>>>> install it but I got many error messages...
>>>>>>>>>
>>>>>>>>> If someone may help me, please ?
>>>>>>>>>
>>>>>>>> You should be able to use the windows
>>>> installer.
>>>>>>>> It's a full CPS
>>>>>>>> version. (I'm not sure if the Groupware
>>>> products
>>>>>> are
>>>>>>>> included though)
>>>>>>>>
>>>>>>>> If you got errors please report them.
>>>>>>>>
>>>>>>>> 	J.
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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
>>>>>>> 	
>>>>>>>
>>>>>>> 	
>>>>>>> 		
>>>>>>>
> ___________________________________________________________________________
>>>>>>> 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
>>>>>
>>>>> 	
>>>>>
>>>>> 	
>>>>> 		
>>>>>
> ___________________________________________________________________________
>>>>> 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
>>>>
>>>>
>>>
>>>
>>> 	
>>>
>>> 	
>>> 		
>>>
> ___________________________________________________________________________
>>> 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
>>
> 
> 
> 
> 	
> 
> 	
> 		
> ___________________________________________________________________________ 
> 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

iD8DBQFEu48VGhoG8MxZ/pIRAqM4AJ9FC9j/SwIfZsFNu6VOOJOwFwO1/QCeJvuV
sn0Wp8FufwH6n12F/ue2dDo=
=7JW7
-----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.