Salut à tous,
J'ai installé un nouveau serveur zope/cps derniere version developpement
pour commencer à migrer tranquillement notre Intranet.
Je suis tombé sur un truc bizare dans la ZMI. En effet lorsque je clique la
première fois après un restart de Zope sur le localizer, j'ai un erreur dont
voici ci-dessous une partie du traceback. Ce qui est amusant, c'est que
lorsque je cliques une deuxiemme fois sur le localizer de mon site CPS, je
n'ai plus l'erreur et ce jusqu'au au prochain redémarage de Zope. J'ai
exactement le même comportement quand je rentre la première fois dans un des
"messagecatalog" de ce localizer. La première fois uniquement.
Je ne sais pas si c'est un bug, c'est pour ca que je me permet de le poster.
Je n'ai rien vu a ce sujet dans la liste jusqu'à présent.
Voila, voila,
Bonne journée,
Thibaut
(cps 3.3.8 / Zope 2.8.1-final / python 2.3.5)
Error Type: ValueError
Error Value: unpack list of wrong size
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 App.Management, line 70, in manage_workspace
* Module App.Management, line 45, in filtered_manage_options
* Module Products.Localizer.Localizer, line 95, in manage_options
* Module Products.Localizer.LocalFiles, line 81, in gettext
* Module Products.Localizer.LocalFiles, line 60, in get_translations
* Module gettext, line 176, in __init__
* Module gettext, line 294, in _parse
(traceback complet en attachement)
Error Type: ValueError
Error Value:
unpack list of wrong size
Traceback:
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 App.Management, line 70, in manage_workspace
* Module App.Management, line 45, in filtered_manage_options
* Module Products.Localizer.Localizer, line 95, in manage_options
* Module Products.Localizer.LocalFiles, line 81, in gettext
* Module Products.Localizer.LocalFiles, line 60, in get_translations
* Module gettext, line 176, in __init__
* Module gettext, line 294, in _parse
ValueError: unpack list of wrong size
form
cookies
tree-s 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEnWryAZJGvGlQgEegAFOhA9'
__ac_name 'tdu'
_ZopeId '22378474A2GC6itEa6o'
lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager
at /session_data_manager>>
other
_ec_cache {1159400524: <Products.PageTemplates.TALES.Context instance at
0x451dbc6c>}
URL0 'http://koda.province.namur.be:8080/Intranet/Localizer/manage_workspace'
URL3 'http://koda.province.namur.be:8080'
URL2 'http://koda.province.namur.be:8080/Intranet'
AcceptCharset <Products.Localizer.Accept.AcceptCharset instance at 0x45180d2c>
AUTHENTICATION_PATH ''
_oai_cache {1159400524: <Products.CMFCore.ActionInformation.oai instance
at 0x451dbe6c>}
AUTHENTICATED_USER cps
USER_PREF_LANGUAGES <Products.Localizer.Accept.AcceptLanguage instance at
0x4258552c>
SERVER_URL 'http://koda.province.namur.be:8080'
cpsskins_base_url '/Intranet/'
cpsskins_url
'http://koda.province.namur.be:8080/Intranet/Localizer/manage_workspace'
ACTUAL_URL
'http://koda.province.namur.be:8080/Intranet/Localizer/manage_workspace'
URL 'http://koda.province.namur.be:8080/Intranet/Localizer/manage_workspace'
cpsskins_cmfactions {'object': [], 'workflow': [], 'global': [{'category':
'global', 'available': True, 'title': 'action_manage_vocabularies', 'url':
'http://koda.province.namur.be:8080/Intranet/vocabularies_manage_form', 'name':
'action_manage_vocabularies', 'visible': True, 'allowed': True, 'id':
'manage_vocabularies', 'permissions': ('Modify portal content',)}, {'category':
'global', 'available': True, 'title': 'action_manage_languages', 'url':
'http://koda.province.namur.be:8080/Intranet/language_manage_form', 'name':
'action_manage_languages', 'visible': True, 'allowed': True, 'id':
'manage_languages', 'permissions': ('Modify portal content',)}, {'category':
'global', 'available': True, 'title': 'Directories', 'url':
'http://koda.province.namur.be:8080/Intranet/cpsdirectory_view', 'name':
'Directories', 'visible': True, 'allowed': True, 'id': 'directories',
'permissions': ('View',)}, {'category': 'global', 'available': True, 'title':
'action_boxes_root', 'url':
'http://koda.province.namur.be:8080/Intranet/box_manage_form', 'name':
'action_boxes_root', 'visible': True, 'allowed': True, 'id': 'boxes',
'permissions': ('Manage Boxes',)}, {'category': 'global', 'available': True,
'title': 'Reconfigure Portal', 'url':
'http://koda.province.namur.be:8080/Intranet/reconfig_form', 'name':
'Reconfigure Portal', 'visible': True, 'allowed': True, 'id': 'configPortal',
'permissions': ('Manage portal',)}, {'category': 'global', 'available': True,
'title': '_action_themes_reconfig_', 'url':
'http://koda.province.namur.be:8080/Intranet/cpsskins_themes_reconfig_form',
'name': '_action_themes_reconfig_', 'visible': True, 'allowed': True, 'id':
'configThemes', 'permissions': ('View',)}], 'global_header': [{'category':
'global_header', 'available': True, 'title': 'action_accessibility', 'url':
<bound method ActionInfo._getURL of {...}>, 'name': 'action_accessibility',
'visible': True, 'allowed': True, 'id': 'accessibility', 'permissions':
('View',)}, {'category': 'global_header', 'available': True, 'title':
'action_print', 'url': <bound method ActionInfo._getURL of {...}>, 'name':
'action_print', 'visible': True, 'allowed': True, 'id': 'print', 'permissions':
('View',)}, {'category': 'global_header', 'available': True, 'title':
'action_advanced_search', 'url': <bound method ActionInfo._getURL of {...}>,
'name': 'action_advanced_search', 'visible': True, 'allowed': True, 'id':
'advanced_search', 'permissions': ('View',)}, {'category': 'global_header',
'available': True, 'title': 'action_contact', 'url': <bound method
ActionInfo._getURL of {...}>, 'name': 'action_contact', 'visible': True,
'allowed': True, 'id': 'contact', 'permissions': ('View',)}], 'user':
[{'category': 'user', 'available': True, 'title': 'Log out', 'url':
'http://koda.province.namur.be:8080/Intranet/logout', 'name': 'Log out',
'visible': True, 'allowed': True, 'id': 'logout', 'permissions': ('View',)},
{'category': 'user', 'available': True, 'title': 'action_my_preferences',
'url':
'http://koda.province.namur.be:8080/Intranet/cpsdirectory_entry_view?dirname=members&id=cps',
'name': 'action_my_preferences', 'visible': True, 'allowed': True, 'id':
'action_my_preferences', 'permissions': ('View',)}, {'category': 'user',
'available': True, 'title': 'action_my_subscriptions', 'url':
'http://koda.province.namur.be:8080/Intranet/manage_my_subscriptions_form',
'name': 'action_my_subscriptions', 'visible': True, 'allowed': True, 'id':
'my_subscriptions', 'permissions': ('View My Subscriptions',)}], 'folder':
[{'category': 'folder', 'available': True, 'title': 'action_portlets', 'url':
'http://koda.province.namur.be:8080/Intranet/Localizer/portlet_manage_form',
'name': 'action_portlets', 'visible': True, 'allowed': True, 'id': 'portlets',
'permissions': ('Manage Portlets',)}]}
cpsskins_language 'fr'
cpsskins_mcat None
PUBLISHED <bound method Localizer.manage_workspace of <Localizer at
/Intranet/Localizer>>
_localizer_placeful_mc_cache {'Localizer/default': <MessageCatalog at
/Intranet/Localizer/default>, 'Localizer/cpsskins': <MessageCatalog at
/Intranet/Localizer/cpsskins>}
TraversalRequestNameStack []
_ts_domain_cache {'default': <LocalizerDomain at
/Intranet/translation_service/>, 'cpsskins': <LocalizerDomain at
/Intranet/translation_service/>}
BASE0 'http://koda.province.namur.be:8080'
BASE1 'http://koda.province.namur.be:8080'
BASE2 'http://koda.province.namur.be:8080/Intranet'
BASE3 'http://koda.province.namur.be:8080/Intranet/Localizer'
BASE4 'http://koda.province.namur.be:8080/Intranet/Localizer/manage_workspace'
AcceptLanguage <Products.Localizer.Accept.AcceptLanguage instance at
0x4258552c>
URL1 'http://koda.province.namur.be:8080/Intranet/Localizer'
_translation_service_cache <PlacefulTranslationService at
/Intranet/translation_service used for
/Intranet/portal_themes/740151930/2130661990/1060267354/1065028650>
URL0 http://koda.province.namur.be:8080/Intranet/Localizer/manage_workspace
URL1 http://koda.province.namur.be:8080/Intranet/Localizer
URL2 http://koda.province.namur.be:8080/Intranet
URL3 http://koda.province.namur.be:8080
BASE0 http://koda.province.namur.be:8080
BASE1 http://koda.province.namur.be:8080
BASE2 http://koda.province.namur.be:8080/Intranet
BASE3 http://koda.province.namur.be:8080/Intranet/Localizer
BASE4 http://koda.province.namur.be:8080/Intranet/Localizer/manage_workspace
environ
HTTP_COOKIE '__ac_name="tdu";
tree-s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEnWryAZJGvGlQgEegAFOhA9";
_ZopeId="22378474A2GC6itEa6o"'
SERVER_SOFTWARE 'Zope/(Zope 2.8.1-final, python 2.3.5, linux2) ZServer/1.1
CPS/3.3'
SCRIPT_NAME ''
REQUEST_METHOD 'GET'
PATH_INFO '/Intranet/Localizer/manage_workspace'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time 1132568807
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://koda.province.namur.be:8080/Intranet/manage_main'
SERVER_NAME '0.0.0.0'
REMOTE_ADDR '172.16.48.28'
PATH_TRANSLATED '/Intranet/Localizer/manage_workspace'
SERVER_PORT '8080'
HTTP_HOST 'koda.province.namur.be:8080'
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-be,en-us;q=0.7,en;q=0.3'
HTTP_ACCEPT_ENCODING 'gzip,deflate'
HTTP_KEEP_ALIVE '300'
_______________________________________________
cps-users-fr
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>