Ticket #105 (closed defect: fixed)
Image asset creation is broken
| Reported by: | tarmo | Owned by: | anonymous |
|---|---|---|---|
| Priority: | major | Milestone: | 0.0.2 Sprint 1 |
| Component: | generic | Version: | |
| Keywords: | Cc: | ||
| Time spent: | 1h | Time remaining: | 0h |
| Time planned: | 1h |
Description
Trying to create an image asset throws an exception:
- Module ZPublisher.Publish, line 187, in publish_module_standard
- Module Products.PlacelessTranslationService?.PatchStringIO, line 51, in new_publish
- Module ZPublisher.Publish, line 144, in publish
- Module Zope2.App.startup, line 199, in zpublisher_exception_hook
- Module ZPublisher.Publish, line 113, in publish
- Module ZPublisher.mapply, line 88, in mapply
- Module ZPublisher.Publish, line 40, in call_object
- Module Products.CMFFormController.FSControllerPageTemplate, line 98, in call
- Module Products.CMFFormController.BaseControllerPageTemplate?, line 42, 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 188, in _exec
- Module Products.CMFCore.FSPageTemplate, line 127, in pt_render
- Module Products.PageTemplates.PageTemplate?, line 102, in pt_render <FSControllerPageTemplate at /demo4/atct_edit used for /demo4/imageasset.2005-11-25.4887094558>
- Module TAL.TALInterpreter, line 206, in call
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 709, in do_useMacro
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 426, in do_optTag_tal
- Module TAL.TALInterpreter, line 411, in do_optTag
- Module TAL.TALInterpreter, line 406, in no_tag
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 709, in do_useMacro
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 426, in do_optTag_tal
- Module TAL.TALInterpreter, line 411, in do_optTag
- Module TAL.TALInterpreter, line 406, in no_tag
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 740, in do_defineSlot
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 426, in do_optTag_tal
- Module TAL.TALInterpreter, line 411, in do_optTag
- Module TAL.TALInterpreter, line 406, in no_tag
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 688, in do_defineMacro
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 675, in do_condition
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 426, in do_optTag_tal
- Module TAL.TALInterpreter, line 411, in do_optTag
- Module TAL.TALInterpreter, line 406, in no_tag
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 709, in do_useMacro
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 709, in do_useMacro
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 426, in do_optTag_tal
- Module TAL.TALInterpreter, line 411, in do_optTag
- Module TAL.TALInterpreter, line 406, in no_tag
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 675, in do_condition
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 477, in do_setLocal_tal
- Module Products.PageTemplates.TALES, line 221, in evaluate URL: file:CMFPlone/skins/plone_templates/global_contentmenu.pt Line 169, Column 4 Expression: standard:'here/getSelectableViews' Names:
{'container': <PloneSite? at /demo4>,
'context': <ImageAsset? at /demo4/imageasset.2005-11-25.4887094558>, 'default': <Products.PageTemplates.TALES.Default instance at 0x40a7772c>, 'here': <ImageAsset? at /demo4/imageasset.2005-11-25.4887094558>, 'loop': <Products.PageTemplates.TALES.SafeMapping? object at 0x4438adec>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x40a8a5cc>, 'nothing': None, 'options': {'args': (),
'state': <Products.CMFFormController.ControllerState?.ControllerState? object at 0x4355b52c>},
'repeat': <Products.PageTemplates.TALES.SafeMapping? object at 0x4438adec>, 'request': <HTTPRequest, URL=http://localhost:9080/demo4/imageasset.2005-11-25.4887094558/atct_edit>, 'root': <Application at >, 'template': <FSControllerPageTemplate at /demo4/atct_edit used for /demo4/imageasset.2005-11-25.4887094558>, 'traverse_subpath': [], 'user': Tarmo}
- Module Products.PageTemplates.Expressions, line 183, in call
- Module Products.PageTemplates.Expressions, line 178, in _eval
- Module Products.PageTemplates.Expressions, line 77, in render
- Module Products.PageTemplates.ZRPythonExpr, line 73, 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 163, in _exec
- Module None, line 15, in getSelectableViews <FSPythonScript at /demo4/getSelectableViews used for /demo4/imageasset.2005-11-25.4887094558> Line 15
- Module Products.CMFDynamicViewFTI.browserdefault, line 227, in getAvailableLayouts
AttributeError?: getAvailableViewMethods (Also, an error occurred while attempting to render the standard error message.
