Bonjour,
    Bien volontiers! Pour être plus explicite: lorsque ma boîte contient un e-mail, CPS ne renvoye pas d'erreur. Tandis que lorsque ma boîte contient un e-mail, le message suivant est retourné:

Meilleures salutations.
Jean Tinguely.

CPS a rencontré une erreur

Veuillez nous excuser pour la gêne occasionnée.

Retour.

Contacter l'administrateur.

Error Type: AttributeError
Error Value:
'NoneType' object has no attribute 'split'
Traceback:

Traceback (innermost last):

    
    
  • Module ZPublisher.Publish, line 101, in publish
  • Module ZPublisher.mapply, line 88, in mapply
  • Module ZPublisher.Publish, line 39, in call_object
  • Module Shared.DC.Scripts.Bindings, line 306, in __call__
  • Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  • Module Products.CMFCore.FSPageTemplate, line 188, in _exec
  • Module Products.CMFCore.FSPageTemplate, line 127, in pt_render
  • Module Products.PageTemplates.PageTemplate, line 96, in pt_render <FSPageTemplate at /cps/webmail_fetch>
  • Module TAL.TALInterpreter, line 190, in __call__
  • Module TAL.TALInterpreter, line 234, in interpret
  • Module TAL.TALInterpreter, line 460, in do_setLocal_tal
  • Module Products.PageTemplates.TALES, line 221, in evaluate URL: file:CPSWebMail/skins/cpswebmail_default/webmail_fetch.pt Line 1, Column 0 _expression_: <PythonExpr valid_conn and folder.getNumberOfUnreadIMAPMessage(request)> Names:
    {'container': <CPSDefaultSite instance at 01E2AE00>,
     'context': <CPSDefaultSite instance at 01E2AE00>,
     'default': <Products.PageTemplates.TALES.Default instance at 0x010969B8>,
     'here': <CPSDefaultSite instance at 01E2AE00>,
     'loop': <SafeMapping instance at 026D9220>,
     'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x0109CD50>,
     'nothing': None,
     'options': {'args': ()},
     'repeat': <SafeMapping instance at 026D9220>,
     'request': <HTTPRequest, URL="" class="moz-txt-link-freetext" href="http://icmusic:99/cps/webmail_fetch">http://icmusic:99/cps/webmail_fetch>,
     'root': <Application instance at 01E05FB0>,
     'template': <FSPageTemplate at /cps/webmail_fetch>,
     'traverse_subpath': [],
     'user': tinguely}
  • Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ __traceback_info__: valid_conn and folder.getNumberOfUnreadIMAPMessage(request)
  • Module Python _expression_ "valid_conn and folder.getNumberOfUnreadIMAPMessage(request)", line 1, in <_expression_>
  • Module Products.CPSWebMail.IMAPFolder, line 126, in getNumberOfUnreadIMAPMessage
  • Module Products.CPSWebMail.IMAPGateway, line 407, in getNumberOfUnreadMessage
  • Module Products.CPSWebMail.IMAPGateway, line 401, in getNumberOfReadMessage
  • Module string, line 121, in split
  • AttributeError: 'NoneType' object has no attribute 'split'

    form

    IMAPName'INBOX'
    sortmail'date'
    order'desc'
    start'0'
    sort'date'

    cookies

    __ac_name'tinguely'
    _ZopeId'20041856A150pi.NwXc'

    lazy items

    SESSION<bound method SessionDataManager.getSessionData of <SessionDataManager instance at 03801290>>

    other

    _ec_cache{40738160: <Products.PageTemplates.TALES.Context instance at 0x04768788>}
    URL0'http://icmusic:99/cps/webmail_fetch'
    URL2'http://icmusic:99'
    IMAPName'INBOX'
    AcceptCharset<Products.Localizer.Accept.AcceptCharset instance at 0x0476E378>
    AUTHENTICATION_PATH'cps'
    _oai_cache{40738160: <Products.CMFCore.ActionInformation.oai instance at 0x04749E40>}
    AUTHENTICATED_USERtinguely
    USER_PREF_LANGUAGES<Products.Localizer.Accept.AcceptLanguage instance at 0x0476EE18>
    sortmail'date'
    SERVER_URL'http://icmusic:99'
    traverse_subpath[]
    cpsskins_base_url'/cps/'
    cpsskins_url'http://icmusic:99/cps/webmail_fetch?IMAPName=INBOX&sortmail=date&sort=date&order=desc&start=0'
    ACTUAL_URL'http://icmusic:99/cps/webmail_fetch'
    URL'http://icmusic:99/cps/webmail_fetch'
    cpsskins_cmfactions{'object': [], 'workflow': [], 'global': [{'category': 'global', 'available': True, 'title': 'action_manage_vocabularies', 'url': 'http://icmusic:99/cps/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://icmusic:99/cps/language_manage_form', 'name': 'action_manage_languages', 'visible': True, 'allowed': True, 'id': 'manage_languages', 'permissions': ('Modify portal content',)}, {'category': 'global', 'available': True, 'title': 'action_boxes_root', 'url': ' http://icmusic:99/cps/box_manage_form', 'name': 'action_boxes_root', 'visible': True, 'allowed': True, 'id': 'boxes', 'permissions': ('Manage Boxes',)}, {'category': 'global', 'available': True, 'title': 'Directories', 'url': 'http://icmusic:99/cps/cpsdirectory_view', 'name': 'Directories', 'visible': True, 'allowed': True, 'id': 'directories', 'permissions': ('View',)}, {'category': 'global', 'available': True, 'title': 'Type management', 'url': 'http://icmusic:99/cps/cpstypes_list', 'name': 'Type management', 'visible': True, 'allowed': True, 'id': 'typemaker', 'permissions': ('Manage Portal',)}, {'category': 'global', 'available': True, 'title': 'action_xml_import', 'url': 'http://icmusic:99/cps/cpsio_importer_chooser', 'name': 'action_xml_import', 'visible': True, 'allowed': True, 'id': 'action_xml_import', 'permissions': ('View management screens',)}, {'category': 'global', 'available': True, 'title': 'action_xml_export', 'url': 'http://icmusic:99/cps/cpsio_exporter_chooser', 'name': 'action_xml_export', 'visible': True, 'allowed': True, 'id': 'action_xml_export', 'permissions': ('View management screens',)}, {'category': 'global', 'available': True, 'title': 'Reconfigure Portal', 'url': 'http://icmusic:99/cps/reconfig_form', 'name': 'Reconfigure Portal', 'visible': True, 'allowed': True, 'id': 'configPortal', 'permissions': ('Manage portal',)}, {'category': 'global', 'available': <bound method ActionInfo._checkCondition of {...}>, 'title': '_action_themes_reconfig_', 'url': 'http://icmusic:99/cps/cpsskins_themes_reconfig_form', 'name': '_action_themes_reconfig_', 'visible': True, 'allowed': <bound method ActionInfo._checkPermissions of {...}>, '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': T rue, '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',)}], 'document_actions': [{'category': 'document_actions', 'available': True, 'title': 'Print this page', 'url': <bound method ActionInfo._getURL of {...}>, 'name': 'Print this page', 'visible': True, 'allowed': True, 'id': 'print', 'permissions': ('View',)}, {'category': 'document_actions', 'available': True, 'title': 'RSS feed', 'url': <bound method ActionInfo._getURL of {...}>, 'name': 'RSS feed', 'visible': True, 'allowed': True, 'id': 'rss', 'permissions': ('View',)}, {'category': 'document_actions', 'available': True, 'title': 'ATOM feed', 'url': <bound method ActionInfo._getURL of {...}>, 'name': 'ATOM feed', 'visible': True, 'allowed': True, 'id': 'atom', 'permissio ns': ('View',)}], 'user': [{'category': 'user', 'available': True, 'title': 'Log out', 'url': 'http://icmusic:99/cps/logout', 'name': 'Log out', 'visible': True, 'allowed': True, 'id': 'logout', 'permissions': ('View',)}, {'category': 'user', 'available': True, 'title': 'My stuff', 'url': 'http://icmusic:99/cps/workspaces/members/tinguely/folder_contents', 'name': 'My stuff', 'visible': True, 'allowed': True, 'id': 'mystuff', 'permissions': ('View',)}, {'category': 'user', 'available': True, 'title': 'action_my_preferences', 'url': 'http://icmusic:99/cps/cpsdirectory_entry_view?dirname=members&id=tinguely', 'name': 'action_my_preferences', 'visible': True, 'allowed': True, 'id ': 'action_my_preferences', 'permissions': ('View',)}, {'category': 'user', 'available': True, 'title': 'action_add_favorites', 'url': 'http://icmusic:99/cps/addtoFavorites', 'name': 'action_add_favorites', 'visible': True, 'allowed': True, 'id': 'add_favorites', 'permissions': ('View',)}, {'category': 'user', 'available': True, 'title': 'My calendar', 'url': 'http://icmusic:99/cps/workspaces/members/tinguely/calendar', 'name': 'My calendar', 'visible': True, 'allowed': True, 'id': 'my_calendar', 'permissions': ('View',)}, {'category': 'user', 'available': True, 'title': '_list_mail_', 'url': 'http://icmusic:99/cps/webmail_show', 'name': '_list_mail_', 'visible': True, 'allowed': True, 'id': 'webmail', 'permissions': ('View',)}, {'category': 'user', 'available': <bound method ActionInfo._checkCondition of {...}>, 'title': 'action_my_subscriptions', 'url': 'http://icmusic:99/cps/manage_my_subscriptions_form', 'name': 'action_my_subscriptions', 'visible': True, 'allowed': <bound method ActionInfo._checkPermissions of {...}>, 'id': 'my_subscriptions', 'permissions': ('View My Subscriptions',)}], 'folder': [{'category': 'folder', 'available': True, 'title': 'action_portlets', 'url': 'http://icmusic:99/cps/portlet_manage_form', 'name': 'action_portlets', 'visible': True, 'allowed': True, 'id': 'portlets', 'permissions': ('Manage Portlets',)}]}
    cpsskins_language'fr'
    cpsskins_mcatNone
    PUBLISHED<FSPageTemplate at /cps/webmail_fetch>
    _localizer_placeful_mc_cache{'Localizer/default': <MessageCatalog at /cps/Localizer/default>}
    TraversalRequestNameStack[]
    _ts_domain_cache{'default': <LocalizerDomain at /cps/translation_service/>}
    BASE0'http://icmusic:99'
    BASE1'http://icmusic:99'
    BASE2'http://icmusic:99/cps'
    BASE3'http://icmusic:99/cps/webmail_fetch'
    AcceptLanguage<Products.Localizer.Accept.AcceptLanguage instance at 0x0476EE18>
    URL1'http://icmusic:99/cps'
    _translation_service_cache<PlacefulTranslationService at /cps/translation_service>
    URL0http://icmusic:99/cps/webmail_fetch
    URL1http://icmusic:99/cps
    URL2http://icmusic:99
    BASE0http://icmusic:99
    BASE1http://icmusic:99
    BASE2http://icmusic:99/cps
    BASE3http://icmusic:99/cps/webmail_fetch

    environ

    HTTP_COOKIE'__ac_name="tinguely"; __ac="dGluZ3VlbHk6dGluZ3VlbHkxMjM0"; _ZopeId="20041856A150pi.NwXc"'
    SERVER_SOFTWARE'Zope/(Zope 2.7.5-final, python 2.3.5, win32) ZServer/1.1 CPS/3.3'
    SCRIPT_NAME''
    REQUEST_METHOD'GET'
    HTTP_KEEP_ALIVE'300'
    SERVER_PROTOCOL'HTTP/1.1'
    QUERY_STRING'IMAPName=INBOX&sortmail=date&sort=date&order=desc&start=0'
    channel.creation_time1120647857
    CONNECTION_TYPE'keep-alive'
    HTTP_ACCEPT_CHARSET'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
    HTTP_USER_AGENT'Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.7) Gecko/20050414 Firefox/1.0.3'
    HTTP_REFERER'http://icmusic:99/cps/webmail_fetch?IMAPName=INBOX&sortmail=date&sort=date&order=desc&start=0'
    SERVER_NAME'icmusic'
    REMOTE_ADDR'10.0.0.8'
    PATH_TRANSLATED'\\cps\\webmail_fetch'
    SERVER_PORT'99'
    HTTP_HOST'icmusic:99'
    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'
    HTTP_ACCEPT_ENCODING'gzip,deflate'
    PATH_INFO'/cps/webmail_fetch'


    Anahide Tchertchian a écrit :
    Bonjour,

    [EMAIL PROTECTED] wrote:
      Si il n'y a pas de messages dans la boîte aux lettres, CPSwebmail renvoye une erreur lorsque l'on veut avoir la liste des e-mail.
      Est-ce que ce serait pas un bug?

    Peut-être, ça n'est pas voulu en tout cas :-)
    Si vous donnez plus de détails concernant l'erreur, nous pourrons savoir s'il s'agit d'un problème de configuration ou si c'est un bug de CPSWebMail.

    Cordialement,

    _______________________________________________
    cps-users-fr 
    Adresse de la liste : [email protected]
    Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>
    

    Répondre à