Re: Portrait Problems
from
Lucie Lejard
on Aug 15, 2007 02:22 PM
look at this:
http://plone.org/products/remember/issues/44
Justin Ryan wrote:
> I have this same problem, I'm pretty sure it has to do with the
> version of PAS not supporting image properties, and that Rob said if
> you upgrade to more recent PAS it should be fixed. At the time, that
> was probably svn trunk of PAS, not sure if that is still the case.
>
> On 8/15/07, Spanky <spanky@...> wrote:
>> I haven't done any testing on the matter, but I am getting an error
>> uploading a portrait:
>>
>> Site Error
>>
>> An error was encountered while publishing this resource.
>>
>> ValueError
>> Sorry, a site error occurred.
>>
>> Traceback (innermost last):
>>
>> * Module ZPublisher.Publish, line 196, in publish_module_standard
>> * Module Products.PlacelessTranslationService.PatchStringIO,
>> line 34, in new_publish
>> * Module ZPublisher.Publish, line 146, in publish
>> * Module Zope2.App.startup, line 222, in zpublisher_exception_hook
>> * Module ZPublisher.Publish, line 115, in publish
>> * Module ZPublisher.mapply, line 88, in mapply
>> * Module ZPublisher.Publish, line 41, in call_object
>> * Module Products.CMFFormController.FSControllerPageTemplate,
>> line 90, in __call__
>> * Module Products.CMFFormController.BaseControllerPageTemplate,
>> line 28, in _call
>> * Module Products.CMFFormController.ControllerBase, line 245, in
>> getNext
>> __traceback_info__: ['id = base_edit', 'status = success',
>> 'button=None', 'errors={}', 'context=<Account at spanky>', "kwargs=
>> {'portal_status_message': 'Changes saved.'}", 'next_action=None', '']
>> * Module Products.CMFFormController.Actions.TraverseTo, line 38,
>> in __call__
>> * Module ZPublisher.mapply, line 88, in mapply
>> * Module ZPublisher.Publish, line 41, in call_object
>> * Module Products.CMFFormController.FSControllerPythonScript,
>> line 106, in __call__
>> * Module Products.CMFFormController.ControllerBase, line 245, in
>> getNext
>> __traceback_info__: ['id = content_edit', 'status = success',
>> 'button=None', 'errors={}', 'context=<Account at spanky>', "kwargs=
>> {'portal_status_message': 'Changes saved.'}", 'next_action=None', '']
>> * Module Products.CMFFormController.Actions.TraverseTo, line 38,
>> in __call__
>> * Module ZPublisher.mapply, line 88, in mapply
>> * Module ZPublisher.Publish, line 41, in call_object
>> * Module Products.CMFFormController.FSControllerPythonScript,
>> line 106, in __call__
>> * Module Products.CMFFormController.ControllerBase, line 245, in
>> getNext
>> __traceback_info__: ['id = validate_integrity', 'status =
>> success', 'button=None', 'errors={}', 'context=<Account at spanky>',
>> "kwargs={'portal_status_message': 'Changes saved.'}",
>> 'next_action=None', '']
>> * Module Products.CMFFormController.Actions.TraverseTo, line 38,
>> in __call__
>> * Module ZPublisher.mapply, line 88, in mapply
>> * Module ZPublisher.Publish, line 41, in call_object
>> * Module Products.CMFFormController.FSControllerPythonScript,
>> line 106, in __call__
>> * Module Products.CMFFormController.ControllerBase, line 245, in
>> getNext
>> __traceback_info__: ['id = choose_destination', 'status =
>> edit', 'button=None', 'errors={}', 'context=<Account at spanky>',
>> "kwargs={'portal_status_message': 'Changes saved.'}",
>> 'next_action=None', '']
>> * Module Products.CMFFormController.Actions.TraverseToAction,
>> line 80, in __call__
>> * Module Products.CMFFormController.Actions.TraverseTo, line 38,
>> in __call__
>> * Module ZPublisher.mapply, line 88, in mapply
>> * Module ZPublisher.Publish, line 41, in call_object
>> * Module Products.CMFFormController.FSControllerPageTemplate,
>> line 90, in __call__
>> * Module Products.CMFFormController.BaseControllerPageTemplate,
>> line 31, in _call
>> * Module Shared.DC.Scripts.Bindings, line 311, in __call__
>> * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>> * Module Products.CMFCore.FSPageTemplate, line 195, in _exec
>> * Module Products.CacheSetup.patch_cmf, line 50, in FSPT_pt_render
>> * Module Products.CacheSetup.patch_cmf, line 116, in PT_pt_render
>> <FSControllerPageTemplate at /plone/base_edit used for /plone/
>> portal_memberdata/spanky>
>> * Module TAL.TALInterpreter, line 238, in __call__
>> * Module TAL.TALInterpreter, line 281, in interpret
>> * Module TAL.TALInterpreter, line 728, in do_defineMacro
>> * Module TAL.TALInterpreter, line 281, in interpret
>> * Module TAL.TALInterpreter, line 457, in do_optTag_tal
>> * Module TAL.TALInterpreter, line 442, in do_optTag
>> * Module TAL.TALInterpreter, line 437, in no_tag
>> * Module TAL.TALInterpreter, line 281, in interpret
>> * Module TAL.TALInterpreter, line 749, in do_useMacro
>> * Module TAL.TALInterpreter, line 281, in interpret
>> * Module TAL.TALInterpreter, line 457, in do_optTag_tal
>> * Module TAL.TALInterpreter, line 442, in do_optTag
>> * Module TAL.TALInterpreter, line 437, in no_tag
>> * Module TAL.TALInterpreter, line 281, in interpret
>> * Module TAL.TALInterpreter, line 749, in do_useMacro
>> * Module TAL.TALInterpreter, line 281, in interpret
>> * Module TAL.TALInterpreter, line 507, in do_setLocal_tal
>> * Module Products.PageTemplates.TALES, line 221, in evaluate
>> URL: file:CMFPlone/skins/plone_templates/global_defines.pt
>> Line 3, Column 0
>> Expression: standard:'plone_view/globalize'
>> Names:
>>
>> {'container': <PloneSite at /plone>,
>> 'context': <Account at /plone/portal_memberdata/spanky>,
>> 'default': <Products.PageTemplates.TALES.Default instance at
>> 0x2aaebe930e18>,
>> 'here': <Account at /plone/portal_memberdata/spanky>,
>> 'loop': <Products.PageTemplates.TALES.SafeMapping object at
>> 0x2aaaad8e4a70>,
>> 'modules':
>> <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance
>> at 0x2aaebe92f5a8>,
>> 'nothing': None,
>> 'options': {'args': (),
>> 'state':
>> <Products.CMFFormController.ControllerState.ControllerState object at
>> 0x2aaaad433f10>},
>> 'repeat': <Products.PageTemplates.TALES.SafeMapping object at
>> 0x2aaaad8e4a70>,
>> 'request': <HTTPRequest, URL=http://stage.st.barths.com/
>> portal_memberdata/spanky/base_edit>,
>> 'root': <Application at >,
>> 'template': <FSControllerPageTemplate at /plone/base_edit
>> used for /plone/portal_memberdata/spanky>,
>> 'traverse_subpath': [],
>> 'user': <MembraneUser 'spanky'>}
>>
>> * Module Products.PageTemplates.Expressions, line 185, in __call__
>> * Module Products.PageTemplates.Expressions, line 180, in _eval
>> * Module Products.PageTemplates.Expressions, line 85, in render
>> * Module Products.CMFPlone.browser.plone, line 66, in globalize
>> * Module Products.CMFPlone.browser.plone, line 118, in
>> _initializeData
>> * Module Products.CMFPlone.ActionsTool, line 47, in
>> listFilteredActionsFor
>> * Module Products.CMFPlone.ActionsTool, line 34, in _getActions
>> * Module Products.CMFCore.ActionProviderBase, line 107, in
>> listActionInfos
>> * Module Products.CMFCore.ActionInformation, line 87, in
>> __getitem__
>> * Module Products.CMFCore.ActionInformation, line 116, in
>> _checkCondition
>> * Module Products.CMFCore.ActionInformation, line 236, in
>> testCondition
>> * Module Products.CMFCore.Expression, line 44, in __call__
>> * Module Products.PageTemplates.Expressions, line 185, in __call__
>> * Module Products.PageTemplates.Expressions, line 180, in _eval
>> * Module Products.PageTemplates.Expressions, line 77, in render
>> * Module Products.PageTemplates.ZRPythonExpr, line 76, in
>> call_with_ns
>> * Module Products.CMFCore.FSPythonScript, line 103, in
>> __render_with_namespace__
>> * Module Shared.DC.Scripts.Bindings, line 325, in
>> __render_with_namespace__
>> * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>> * Module Products.CMFCore.FSPythonScript, line 164, in _exec
>> * Module None, line 18, in externalEditorEnabled
>> <FSPythonScript at /plone/externalEditorEnabled used for /
>> plone/portal_memberdata/spanky>
>> Line 18
>> * Module Products.remember.content.member, line 339, in getProperty
>> * Module Products.remember.content.member, line 131, in getUser
>> * Module Products.PluggableAuthService.PluggableAuthService,
>> line 224, in getUserById
>> * Module Products.PluggableAuthService.PluggableAuthService,
>> line 731, in _findUser
>> * Module Products.membrane.plugins.propertymanager, line 97, in
>> getPropertiesForUser
>> * Module Products.membrane.factories.properties, line 62, in
>> getPropertiesForUser
>> * Module Products.PluggableAuthService.UserPropertySheet, line
>> 99, in __init__
>> * Module Products.PluggableAuthService.UserPropertySheet, line
>> 77, in _guessSchema
>>
>> ValueError: Property portrait: unknown type (Also, the following
>> error occurred while attempting to render the standard error message,
>> please see the event log for full details: Property portrait: unknown
>> type)
>>
>> Troubleshooting Suggestions
>>
>> * The URL may be incorrect.
>> * The parameters passed to this resource may be incorrect.
>> * A resource that this resource relies on may be encountering an
>> error.
>>
>> For more detailed information about the error, please refer to the
>> error log.
>>
>> If the error persists please contact the site maintainer. Thank you
>> for your patience.
>>
>>
>> --
>> Archive: http://www.openplans.org/projects/remember/lists/remember/archive/2007/08/1187200290196
>> To unsubscribe send an email with subject unsubscribe to remember@.... Please contact remember-manager@... for questions.
>>
>>
>
>
--
S i x F e e t U p , I n c . | "Nowhere to go but open source"
Silicon Valley: +1 (650) 401-8579 x605
Midwest: +1 (317) 861-5948 x605
Toll-Free: 1-866-SIX-FEET
mailto:lucie@...
http://www.sixfeetup.com | Zope/Plone Custom Development