Hi,
Using CPS 3.3.3 on Debian I always get the following error when I try to
call the CPSExporter.
Do you have a solution for it?
Shall I create a new ticket in nuxeo trac?
Regards,
Mick
Error Type: AttributeError
Error Value: 'module' object has no attribute 'Exporter'
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 Products.CMFCore.FSPythonScript, line 108, in __call__
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 163, in _exec
Module None, line 7, in process_export_options
<FSPythonScript at /copilot/process_export_options>
Line 7
Module Products.CPSIO.XMLIOTool, line 107, in getExportPluginTemplate
AttributeError: 'module' object has no attribute 'Exporter'
----------------------------------------------------------------------------
----
formexport_module 'CPS3Exporter' process_export_options 'Ausw\xe4hlen'
cookies__ac_name 'padmin' _ZopeId '43980719A17P8IwKlu4' lazy
itemsotherexport_module 'CPS3Exporter' _ec_cache {1099129520:
<Products.PageTemplates.TALES.Context instance at 0x442fceac>} PATH_INFO
'/copilot/process_export_options' URL2 'http://server1:9673' AcceptCharset
<Products.Localizer.Accept.AcceptCharset instance at 0x43c60cec>
_translation_service_cache <PlacefulTranslationService at
/copilot/translation_service> AUTHENTICATION_PATH 'copilot' _oai_cache
{1099129520: <Products.CMFCore.ActionInformation.oai instance at
0x442fc5cc>} AUTHENTICATED_USER padmin USER_PREF_LANGUAGES
<Products.Localizer.Accept.AcceptLanguage instance at 0x4167230c> SERVER_URL
'http://server1:9673' traverse_subpath [] SESSION id: 11220374721350541422,
token: 43980719A17P8IwKlu4, contents: [] cpsskins_base_url '/copilot/'
cpsskins_url 'http://server1:9673/copilot/process_export_options' ACTUAL_URL
'http://server1:9673/copilot/process_export_options' URL
'http://server1:9673/copilot/process_export_options' cpsskins_cmfactions
{'object': [], 'workflow': [], 'global': [{'category': 'global',
'available': True, 'title': 'action_manage_vocabularies', 'url': <bound
method ActionInfo._getURL of {...}>, 'name': 'action_manage_vocabularies',
'visible': True, 'allowed': True, 'id': 'manage_vocabularies',
'permissions': ('Modify portal content',)}, {'category': 'global',
'available': True, 'title': 'action_manage_languages', 'url': <bound method
ActionInfo._getURL of {...}>, 'name': 'action_manage_languages', 'visible':
True, 'allowed': True, 'id': 'manage_languages', 'permissions': ('Modify
portal content',)}, {'category': 'global', 'available': True, 'title':
'action_boxes_root', 'url': <bound method ActionInfo._getURL of {...}>,
'name': 'action_boxes_root', 'visible': True, 'allowed': True, 'id':
'boxes', 'permissions': ('Manage Boxes',)}, {'category': 'global',
'available': True, 'title': 'Directories', 'url': <bound method
ActionInfo._getURL of {...}>, 'name': 'Directories', 'visible': True,
'allowed': True, 'id': 'directories', 'permissions': ('View',)},
{'category': 'global', 'available': True, 'title': 'action_xml_import',
'url': <bound method ActionInfo._getURL of {...}>, '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': <bound method ActionInfo._getURL of {...}>, 'name':
'action_xml_export', 'visible': True, 'allowed': True, 'id':
'action_xml_export', 'permissions': ('View management screens',)},
{'category': 'global', 'available': True, 'title': 'Reconfigure Portal',
'url': <bound method ActionInfo._getURL of {...}>, '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://server1:9673/copilot/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': 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': <bound
method ActionInfo._getURL of {...}>, 'name': 'Log out', 'visible': True,
'allowed': True, 'id': 'logout', 'permissions': ('View',)}, {'category':
'user', 'available': True, 'title': 'My stuff', 'url': <bound method
ActionInfo._getURL of {...}>, 'name': 'My stuff', 'visible': True,
'allowed': True, 'id': 'mystuff', 'permissions': ('View',)}, {'category':
'user', 'available': True, 'title': 'action_my_preferences', 'url': <bound
method ActionInfo._getURL of {...}>, 'name': 'action_my_preferences',
'visible': True, 'allowed': True, 'id': 'action_my_preferences',
'permissions': ('View',)}, {'category': 'user', 'available': True, 'title':
'action_add_favorites', 'url': <bound method ActionInfo._getURL of {...}>,
'name': 'action_add_favorites', 'visible': True, 'allowed': True, 'id':
'add_favorites', 'permissions': ('View',)}, {'category': 'user',
'available': True, 'title': 'action_view_favorites', 'url': <bound method
ActionInfo._getURL of {...}>, 'name': 'action_view_favorites', 'visible':
True, 'allowed': True, 'id': 'view_favorites', 'permissions': ('View',)},
{'category': 'user', 'available': True, 'title': 'Create my home calendar',
'url': <bound method ActionInfo._getURL of {...}>, 'name': 'Create my home
calendar', 'visible': True, 'allowed': True, 'id': 'create_my_calendar',
'permissions': ('View',)}, {'category': 'user', 'available': <bound method
ActionInfo._checkCondition of {...}>, 'title': 'action_my_subscriptions',
'url': <bound method ActionInfo._getURL of {...}>, '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://server1:9673/copilot/portlet_manage_form', 'name':
'action_portlets', 'visible': True, 'allowed': True, 'id': 'portlets',
'permissions': ('Manage Portlets',)}]} cpsskins_language 'de' cpsskins_mcat
None PUBLISHED <FSPythonScript at /copilot/process_export_options>
_localizer_placeful_mc_cache {'Localizer/default': <MessageCatalog at
/copilot/Localizer/default>} TraversalRequestNameStack [] _ts_domain_cache
{'default': <LocalizerDomain at /copilot/translation_service/>} BASE0
'http://server1:9673' BASE1 'http://server1:9673' BASE2
'http://server1:9673/copilot' BASE3
'http://server1:9673/copilot/process_export_options' AcceptLanguage
<Products.Localizer.Accept.AcceptLanguage instance at 0x4167230c> URL1
'http://server1:9673/copilot' URL0
'http://server1:9673/copilot/process_export_options' URL0
http://server1:9673/copilot/process_export_options URL1
http://server1:9673/copilot URL2 http://server1:9673 BASE0
http://server1:9673 BASE1 http://server1:9673 BASE2
http://server1:9673/copilot BASE3
http://server1:9673/copilot/process_export_options environHTTP_COOKIE
'__ac_name="padmin"; _ZopeId="43980719A17P8IwKlu4";
__ac="cGFkbWluOmRlcjV0ZQ%3D%3D"' SERVER_SOFTWARE 'Zope/(Zope 2.7.5-final,
python 2.3.5, linux2) ZServer/1.1 CPS/3.3' SCRIPT_NAME '' REQUEST_METHOD
'POST' PATH_INFO '/copilot/' SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time 1122037472 CONNECTION_TYPE 'Keep-Alive'
HTTP_USER_AGENT 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
.NET CLR 1.1.4322)' HTTP_REFERER
'http://server1:9673/copilot/cpsio_exporter_chooser' SERVER_NAME
'localhost.localdomain' REMOTE_ADDR '192.168.17.202' PATH_TRANSLATED
'/copilot' SERVER_PORT '9673' CONTENT_LENGTH '294' HTTP_HOST 'server1:9673'
HTTP_CACHE_CONTROL 'no-cache' HTTP_ACCEPT 'image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, application/security-layer,
application/security-capsule, */*' GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT_LANGUAGE 'de-at' CONTENT_TYPE 'multipart/form-data;
boundary=---------------------------7d5ab35370df2' HTTP_ACCEPT_ENCODING
'gzip, deflate'
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users