Hi,
I am really stuck. We are running CPS 3.4.3 on zope 2.9.4 and suse 9.3.
Its a V-Server, so we cant change OS.
The Subscriptions are not working and we realy need them.
I installed the product and activated it, everyhing fine. If i want to
send a mail (already filled in the subject etc) I get the error:
Cps encoutered an error,
User admin does not have a getProperty
(all of the error see below)
I tried to send a mail with mail: from putty and it worked.
We already had some problems due to missing python eggs ans installed
someprogramms like:
gcc, libxml2, libxml2-dev, libxml2-python, libxslt,
libxslt-devel,libxslt-python, liby2util and some converters, too
Inside the ZMI the mailhost ist localhost 25. A similar error (cps encoutered
an error occurs if I want to send an pw-email reminder to myself)
Is this needed for the mails? Do we need to run an additional smtp-server on
our machine?
Or is it about some package missing. Or something different.
Thank You very much
Frank
Error Type: ValueError
Error Value:
User admin does not have a getProperty
Traceback:
Traceback (innermost last):
* Module ZPublisher.Publish, line 115, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 41, 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 30, in content_notify_sendmail *<FSPythonScript
at /Portal/content_notify_sendmail used for
/Portal/workspaces/templates>* *Line 30*
* Module Products.CPSUserFolder.CPSMemberDataTool, line 215, in
getProperty
ValueError: User admin does not have a getProperty
------------------------------------------------------------------------
form
content_notify_sendmail 'OK'
explicit_recipients_emails []
mail_subject 'hallo'
mail_body 'text'
members ['manager']
cookies
tree-s 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEnW1T0QJGvGlQgEegABzw/5'
__cp
'x%DA%D3%60b%60%60%C8%04b%86hF%20%A1%C1%06%24J%40%DCb%10%2B%20%BF%A8%241%A7%98%0B%C8%2C%CF/%CA..HLN-.%E6%04%A9I%CD-%C8I%2C%01%F2%84%40%06%24%EB%A6%E5%E7%A4%A4%16%E9%C2%C4K%84A%C2yy%F9e%89%25%99%F9y%BA%C9%19%89%B9%05%40%06%00%09%AC%1DR'
cpsskins_view_mode
'eyJ0aGVtZXNfcGFuZWwiOiAidGhlbWVzX21hbmFnZXIiLCAidGhlbWUiOiAiZGVmYXVsdCIsICJjdXJyZW50X3VybCI6ICJodHRwOi8vczE1MjAzMjk4Lm9ubGluZWhvbWUtc2VydmVyLmluZm86ODA4MC9Qb3J0YWwvd29ya3NwYWNlcyIsICJzY3JvbGx5IjogIjAifQ=='
_ZopeId '73586208A2waFF2E-Yg'
lazy items
SESSION <bound method SessionDataManager.getSessionData of
<SessionDataManager at /session_data_manager>>
other
URL4 'http://s15203298.onlinehome-server.info:8080'
URL0
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/content_notify_sendmail'
URL3 'http://s15203298.onlinehome-server.info:8080/Portal'
URL2 'http://s15203298.onlinehome-server.info:8080/Portal/workspaces'
AcceptCharset <Products.Localizer.Accept.AcceptCharset instance at
0xb2643f0c>
AUTHENTICATION_PATH ''
_oai_cache {-1303041876: <Products.CMFCore.ActionInformation.oai
instance at 0xb2559dcc>}
AUTHENTICATED_USER <User 'admin'>
USER_PREF_LANGUAGES <Products.Localizer.Accept.AcceptLanguage instance
at 0xb276eeac>
SERVER_URL 'http://s15203298.onlinehome-server.info:8080'
traverse_subpath []
cpsskins_base_url '/Portal/'
cpsskins_url
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/content_notify_sendmail'
cpsskins_effective_theme_page ('default', 'Default')
ACTUAL_URL
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/content_notify_sendmail'
URL
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/content_notify_sendmail'
cpsskins_cmfactions {'object': [{'category': 'object', 'available':
True, 'title': 'action_new_content', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/folder_factories',
'name': 'action_new_content', 'visible': True, 'allowed': True, 'id':
'new_content', 'permissions': (u'Add portal content',)}, {'category':
'object', 'available': True, 'title': 'action_edit', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/cpsdocument_edit_form',
'name': 'action_edit', 'visible': True, 'allowed': True, 'id': 'edit',
'permissions': (u'Modify portal content',)}, {'category': 'object',
'available': True, 'title': 'action_metadata', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/cpsdocument_metadata',
'name': 'action_metadata', 'visible': True, 'allowed': True, 'id':
'metadata', 'permissions': (u'View',)}, {'category': 'object',
'available': True, 'title': 'action_local_roles', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/folder_localroles.html',
'name': 'action_local_roles', 'visible': True, 'allowed': True, 'id':
'localroles', 'permissions': (u'Change permissions',)}, {'category':
'object', 'available': True, 'title': 'action_notify_content', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/content_notify_email_form',
'name': 'action_notify_content', 'visible': True, 'allowed': True, 'id':
'notify_content', 'permissions': ('Can Notify Content',)}], 'workflow':
[], 'global': [{'category': 'global', 'available': True, 'title':
'action_manage_vocabularies', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/vocabularies_manage_form',
'name': 'action_manage_vocabularies', 'visible': True, 'allowed': True,
'id': 'manage_vocabularies', 'permissions': ('Modify portal content',)},
{'category': 'global', 'available': True, 'title': 'Directories', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/cpsdirectory_view',
'name': 'Directories', 'visible': True, 'allowed': True, 'id':
'directories', 'permissions': ('View',)}, {'category': 'global',
'available': True, 'title': 'Type management', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/cpstypes_list',
'name': 'Type management', 'visible': True, 'allowed': True, 'id':
'typemaker', 'permissions': ('Manage portal',)}, {'category': 'global',
'available': <bound method ActionInfo._checkCondition of {...}>,
'title': '_action_themes_reconfig_', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/cpsskins_themes_reconfig_form',
'name': '_action_themes_reconfig_', 'visible': True, 'allowed': <bound
method ActionInfo._checkPermissions of {...}>, 'id': 'configThemes',
'permissions': ('View',)}, {'category': 'global', 'available': True,
'title': 'Reconfigure Portal', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/config_form',
'name': 'Reconfigure Portal', 'visible': True, 'allowed': True, 'id':
'configPortal', 'permissions': ('Manage portal',)}], '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',)}], 'document_actions': [{'category': 'document_actions',
'available': True, 'title': 'Send a mail notification', 'url': <bound
method ActionInfo._getURL of {...}>, 'name': 'Send a mail notification',
'visible': True, 'allowed': True, 'id': 'mnotify', 'permissions': ('Can
Notify Content',)}, {'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', 'permissions': ('View',)}], 'user': [{'category': 'user',
'available': True, 'title': 'Log out', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/logout', 'name':
'Log out', 'visible': True, 'allowed': True, 'id': 'logout',
'permissions': ('View',)}, {'category': 'user', 'available': True,
'title': 'action_my_subscriptions', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/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://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/portlet_manage_form',
'name': 'action_portlets', 'visible': True, 'allowed': True, 'id':
'portlets', 'permissions': ('Manage Portlets',)}, {'category': 'folder',
'available': True, 'title': 'action_folder_notifications', 'url':
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/folder_notifications_form',
'name': 'action_folder_notifications', 'visible': True, 'allowed': True,
'id': 'folder_notifications', 'permissions': ('Manage Subscriptions',)}]}
cpsskins_language 'en'
cpsskins_mcat None
PUBLISHED <FSPythonScript at /Portal/content_notify_sendmail used for
/Portal/workspaces/templates>
_localizer_placeful_mc_cache {'Localizer/default': <MessageCatalog at
/Portal/Localizer/default>}
TraversalRequestNameStack []
_ec_cache {-1303041876: <Products.PageTemplates.TALES.Context instance
at 0xb2559e8c>}
_ts_domain_cache {'default': <LocalizerDomain at
/Portal/translation_service/>}
BASE0 'http://s15203298.onlinehome-server.info:8080'
BASE1 'http://s15203298.onlinehome-server.info:8080'
BASE2 'http://s15203298.onlinehome-server.info:8080/Portal'
BASE3 'http://s15203298.onlinehome-server.info:8080/Portal/workspaces'
BASE4
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates'
BASE5
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/content_notify_sendmail'
AcceptLanguage <Products.Localizer.Accept.AcceptLanguage instance at
0xb276eeac>
URL1
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates'
_translation_service_cache <PlacefulTranslationService at
/Portal/translation_service used for
/Portal/portal_layouts/custom_portlet/w__portlet>
URL0
http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/content_notify_sendmail
URL1
http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates
URL2 http://s15203298.onlinehome-server.info:8080/Portal/workspaces
URL3 http://s15203298.onlinehome-server.info:8080/Portal
URL4 http://s15203298.onlinehome-server.info:8080
BASE0 http://s15203298.onlinehome-server.info:8080
BASE1 http://s15203298.onlinehome-server.info:8080
BASE2 http://s15203298.onlinehome-server.info:8080/Portal
BASE3 http://s15203298.onlinehome-server.info:8080/Portal/workspaces
BASE4
http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates
BASE5
http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/content_notify_sendmail
environ
HTTP_COOKIE
'cpsskins_view_mode="eyJ0aGVtZXNfcGFuZWwiOiAidGhlbWVzX21hbmFnZXIiLCAidGhlbWUiOiAiZGVmYXVsdCIsICJjdXJyZW50X3VybCI6ICJodHRwOi8vczE1MjAzMjk4Lm9ubGluZWhvbWUtc2VydmVyLmluZm86ODA4MC9Qb3J0YWwvd29ya3NwYWNlcyIsICJzY3JvbGx5IjogIjAifQ==";
tree-s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuRKCECUjWFEnW1T0QJGvGlQgEegABzw/5";
_ZopeId="73586208A2waFF2E-Yg";
__cp="x%DA%D3%60b%60%60%C8%04b%86hF%20%A1%C1%06%24J%40%DCb%10%2B%20%BF%A8%241%A7%98%0B%C8%2C%CF/%CA..HLN-.%E6%04%A9I%CD-%C8I%2C%01%F2%84%40%06%24%EB%A6%E5%E7%A4%A4%16%E9%C2%C4K%84A%C2yy%F9e%89%25%99%F9y%BA%C9%19%89%B9%05%40%06%00%09%AC%1DR"'
SERVER_SOFTWARE 'Zope/(Zope 2.9.4-final, python 2.4.3, linux2)
ZServer/1.1 CPS/3.4'
SCRIPT_NAME ''
REQUEST_METHOD 'POST'
HTTP_KEEP_ALIVE '300'
SERVER_PROTOCOL 'HTTP/1.0'
channel.creation_time 1173276982
CONTENT_LENGTH '119'
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; de;
rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2'
HTTP_REFERER
'http://s15203298.onlinehome-server.info:8080/Portal/workspaces/templates/content_notify_email_form'
SERVER_NAME '0.0.0.0'
REMOTE_ADDR '193.197.220.142'
HTTP_VIA '1.1 lise.itv:3128 (squid/2.5.STABLE12)'
PATH_TRANSLATED '/Portal/workspaces/templates/content_notify_sendmail'
SERVER_PORT '8080'
CONNECTION_TYPE 'keep-alive'
HTTP_HOST 's15203298.onlinehome-server.info:8080'
HTTP_CACHE_CONTROL 'max-age=259200'
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_X_FORWARDED_FOR '192.168.50.254'
HTTP_ACCEPT_LANGUAGE 'de-de,de;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 '/Portal/workspaces/templates/content_notify_sendmail'
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users