Zope.SiteErrorLog atct_edit

classic Classic list List threaded Threaded
4 messages Options
Julie Kosakowski Julie Kosakowski
Reply | Threaded
Open this post in threaded view
|

Zope.SiteErrorLog atct_edit

Hi All,

I have Plone2.1.1, Zope-2.8, python2.3 on a Suse9sp2 box.
I installed poi (defect tracker) and in the process there were some
incompatibilities, which broke my instance. I've restored it and I've since
removed all poi products and links, but when I try to simply "add file" I'm
getting the following traceback- apologies for the long traceback but I need
help deciphering it:
Any insights/pointers, much appreciated.

---
Thanks,
Julie
2005-10-19T13:45:16 ERROR Zope.SiteErrorLog
http://osie.fc.hp.com/plone-bugs/portal_factory/File/file.2005-10-19.1142806156/atct_edit

Traceback (most recent call last):

File "/opt/Zope-2.8/lib/python/ZPublisher/Publish.py", line 113, in publish

request, bind=1)

File "/opt/Zope-2.8/lib/python/ZPublisher/mapply.py", line 88, in mapply

if debug is not None: return debug(object,args,context)

File "/opt/Zope-2.8/lib/python/ZPublisher/Publish.py", line 40, in

call_object result=apply(object,args) # Type s<cr> to step into

published object.

File "/var/opt/zope/osie/Products/CMFPlone/FactoryTool.py", line 358, in
__call__

self.REQUEST, bind=1)

File "/opt/Zope-2.8/lib/python/ZPublisher/mapply.py", line 88, in mapply

if debug is not None: return debug(object,args,context)

File "/opt/Zope-2.8/lib/python/ZPublisher/Publish.py", line 40, in

call_object result=apply(object,args) # Type s<cr> to step into

published object.

File
"/var/opt/zope/osie/Products/CMFFormController/FSControllerPageTemplate.py",
line 98, in __call__

return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'),

*args, **kwargs)

File
"/var/opt/zope/osie/Products/CMFFormController/BaseControllerPageTemplate.py",
line 42, in _call return inherited_call(self, *args, **kwargs)

File "/opt/Zope-2.8/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in
__call__

return self._bindAndExec(args, kw, None)

File "/opt/Zope-2.8/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in
_bindAndExec

return self._exec(bound_data, args, kw)

File "/var/opt/zope/osie/Products/CMFCore/FSPageTemplate.py", line 188, in
_exec

result = self.pt_render(extra_context=bound_names)

File "/var/opt/zope/osie/Products/CMFCore/FSPageTemplate.py", line 127, in
pt_render

result = FSPageTemplate.inheritedAttribute('pt_render')(

File "/opt/Zope-2.8/lib/python/Products/PageTemplates/PageTemplate.py", line
102, in pt_render

tal=not source, strictinsert=0)()

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 206, in __call__

self.interpret(self.program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 709, in
do_useMacro

self.interpret(macro)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal

self.do_optTag(stuff)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag

return self.no_tag(start, program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 406, in no_tag

self.interpret(program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 709, in
do_useMacro

self.interpret(macro)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal

self.do_optTag(stuff)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag

return self.no_tag(start, program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 406, in no_tag

self.interpret(program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 740, in
do_defineSlot

self.interpret(block)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal

self.do_optTag(stuff)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag

return self.no_tag(start, program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 406, in no_tag

self.interpret(program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 688, in
do_defineMacro

self.interpret(macro)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 732,
in do_defineSlot

self.interpret(slot)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal

self.do_optTag(stuff)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag

return self.no_tag(start, program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 406, in no_tag

self.interpret(program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 688, in
do_defineMacro

self.interpret(macro)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal

self.do_optTag(stuff)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag

return self.no_tag(start, program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 406, in no_tag

self.interpret(program)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 709, in
do_useMacro

self.interpret(macro)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 740, in
do_defineSlot

self.interpret(block)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 250, in
interpret

handlers[opcode](self, args)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 426, in
do_optTag_tal

self.do_optTag(stuff)

File "/opt/Zope-2.8/lib/python/TAL/TALInterpreter.py", line 411, in
do_optTag

return self.no_tag(start, program)

File "Script (Python)", line 9, in getBestIcon

File "/opt/Zope-2.8/lib/python/OFS/Traversable.py", line 233, in
restrictedTraverse

return self.unrestrictedTraverse(path, default, restricted=1)

File "/opt/Zope-2.8/lib/python/OFS/Traversable.py", line 213, in
unrestrictedTraverse

raise NotFound, name

NotFound: iso.png









-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Plone-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Dieter Maurer Dieter Maurer
Reply | Threaded
Open this post in threaded view
|

Re: Zope.SiteErrorLog atct_edit

Julie Kosakowski wrote at 2005-10-19 14:19 -0600:
> ...
>but when I try to simply "add file" I'm
>getting the following traceback- apologies for the long traceback but I need
>help deciphering it:

You should not look at this type of traceback (a stupid Python
traceback which you find in the logfile)
but at the much more informative traceback
you find in "error_log" (a Zope aware traceback)

--
Dieter


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Plone-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Julie Kosakowski Julie Kosakowski
Reply | Threaded
Open this post in threaded view
|

Re: Zope.SiteErrorLog atct_edit

Thanks, below is more descriptive output.

----
Traceback (innermost last):
  Module ZPublisher.Publish, line 113, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 40, in call_object
  Module Products.CMFPlone.FactoryTool, line 358, in __call__
  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 /Plone/atct_edit used for
/Plone/portal_factory/File/file.2005-10-20.1445755571>
  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 732, 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 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 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 651, in do_loop_tal
  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 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 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 424, in do_optTag_tal
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 732, 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 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 477, in do_setLocal_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: file:Archetypes/skins/archetypes/widgets/file.pt
   - Line 17, Column 8
   - Expression: standard:'unit/getBestIcon | nothing'
   - Names:
      {'container': <PloneSite at /Plone>,
       'context': <ATFile at
/Plone/portal_factory/File/file.2005-10-20.1445755571 used for /Plone>,
       'default': <Products.PageTemplates.TALES.Default instance at
0x40b4c90c>,
       'here': <ATFile at
/Plone/portal_factory/File/file.2005-10-20.1445755571 used for /Plone>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at
0x4338f1ec>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x40b5c7cc>,
       'nothing': None,
       'options': {'args': (),
                   'state':
<Products.CMFFormController.ControllerState.ControllerState object at
0x433f748c>},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x4338f1ec>,
       'request': <HTTPRequest,
URL=http://osie.fc.hp.com/portal_factory/File/file.2005-10-20.1445755571/atct_edit>,
       'root': <Application at >,
       'template': <FSControllerPageTemplate at /Plone/atct_edit used for
/Plone/portal_factory/File/file.2005-10-20.1445755571>,
       'traverse_subpath': [],
       'user': admin}
  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 9, in getBestIcon
   - <FSPythonScript at /Plone/getBestIcon used for
/Plone/portal_factory/File/file.2005-10-20.1445755571/file>
   - Line 9
  Module OFS.Traversable, line 233, in restrictedTraverse
  Module OFS.Traversable, line 213, in unrestrictedTraverse
   - __traceback_info__: ([], 'iso.png')
NotFound: iso.png

"Dieter Maurer" <[hidden email]> wrote in
message news:[hidden email]...

> Julie Kosakowski wrote at 2005-10-19 14:19 -0600:
>> ...
>>but when I try to simply "add file" I'm
>>getting the following traceback- apologies for the long traceback but I
>>need
>>help deciphering it:
>
> You should not look at this type of traceback (a stupid Python
> traceback which you find in the logfile)
> but at the much more informative traceback
> you find in "error_log" (a Zope aware traceback)
>
> --
> Dieter
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl 





-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Plone-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Dieter Maurer Dieter Maurer
Reply | Threaded
Open this post in threaded view
|

Re: Re: Zope.SiteErrorLog atct_edit

Julie Kosakowski wrote at 2005-10-20 14:57 -0600:
> ...
>  Module None, line 9, in getBestIcon
>   - <FSPythonScript at /Plone/getBestIcon used for
>/Plone/portal_factory/File/file.2005-10-20.1445755571/file>
>   - Line 9

In line 9 (ATT: you cannot trust line number information for
'FSPythonScript': the interpreter does not see the '##' comments at
the start of the script (which you may see))
of "getBestIcon", something looks for "iso.png" (which does not exist).

The easiest way would be to create an "iso.png" (apparently an icon
for some "iso" file). The more difficult way would be to fix
"getBestIcon", as a non existing icon is obviously not best...

--
Dieter


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Plone-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users