|
Issue 10 of
bowerymarc's issue collector
[zope-bowerymarc]
|
Title: |
NameError when trying to add a new CMFAudio object to Plone 2 site
|
Status: |
Pending
|
Security |
related:
No
|
Description: |
When I try to add a new CMFAudio object to 'My Folder', it returns the following error:
Traceback (innermost last):
Module ZPublisher.Publish, line...
|
From: |
nateaune
|
on: |
Mar 4, 04 16:55
|
|
nateaune
|
Last update:
|
Apr 14, 05 22:42
|
Topic/class: |
Product/bug
|
Importance:
|
*unassigned*
|
Version info: |
Plone 2.0 RC6
Zope 2.7.0
CMFAudio 0.6
Audio 0.5 |
Uploads: |
|
Issue 10 Transcript
|
5 entries
|
= Comment - Entry #5 by bowerymarc on Apr 14, 2005 10:42 pm
Uploaded: viewThreadsAtBottom.pt
any luck with this? I'm attaching the viewthreadsatbottom.pt you can put it in your custom skins (hack I know...)
________________________________________
= Comment - Entry #4 by bowerymarc on Mar 5, 2004 1:53 pm
yeah, or search your skins or the 1.4.3 source for those scripts or method definitions... no response from the lists yet....
________________________________________
= Comment - Entry #3 by nateaune on Mar 5, 2004 11:55 am
I'm using CMF 1.4.3-rc1. Should I revert to 1.4.2 and see if that makes a difference?
________________________________________
= Comment - Entry #2 by bowerymarc on Mar 4, 2004 9:55 pm
checkPermission is from inside the macro called here:
<span tal:replace="structure here/viewThreadsAtBottom"
tal:condition="here/viewThreadsAtBottom|nothing"></span>
Which is not part of CMFAudio... it smells like a Zope 2.7 issue. What CMF are you running? I'll post a Q on the Plone list....
________________________________________
= Request - Entry #1 by nateaune on Mar 4, 2004 4:55 pm
When I try to add a new CMFAudio object to 'My Folder', it returns the following error:
Traceback (innermost last):
Module ZPublisher.Publish, line 100, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Products.CMFCore.FSDTMLMethod, line 141, in __call__
Module DocumentTemplate.DT_String, line 474, in __call__
Module Shared.DC.Scripts.Bindings, line 320, in __render_with_namespace__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 191, in _exec
Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
Module Products.PageTemplates.PageTemplate, line 96, in pt_render
- <FSPageTemplate at /test/viewThreadsAtBottom used for /test/Members/admin/Audio.2004-03-04.3710375980>
Module TAL.TALInterpreter, line 189, in __call__
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 642, in do_defineMacro
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 459, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 220, in evaluate
- Line 6, Column 0
- Expression: <PythonExpr checkPermission('Reply to item', here)>
- Names:
{'container': <PloneSite instance at 9986830>,
'context': <CMFAudio at /test/Members/admin/Audio.2004-03-04.3710375980>,
'default': <Products.PageTemplates.TALES.Default instance at 0x8a2c9cc>,
'here': <CMFAudio at /test/Members/admin/Audio.2004-03-04.3710375980>,
'loop': <SafeMapping instance at acb70f0>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x8a25e8c>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at acb70f0>,
'request': <HTTPRequest, URL=http://216.93.188.205:8080/test/Members/admin/Audio.2004-03-04.3710375980/audioView>,
'root': <Application instance at 99493b0>,
'template': <FSPageTemplate at /test/viewThreadsAtBottom used for /test/Members/admin/Audio.2004-03-04.3710375980>,
'traverse_subpath': [],
'user': admin}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: checkPermission('Reply to item', here)
Module Python expression "checkPermission('Reply to item', here)", line 1, in <expression>
NameError: name 'checkPermission' is not defined
|
|
|