On 12/8/10 12:21 PM, Victor Terán wrote:
> Hello every one, I am traying to registering a simple view for a
> content type that I am making, but I am having some troubles whit
> that. I do not know why but when i saved the content type, I am
> getting a "does not exist error", checking in the terminal after
> delete the elements of error_log I am getting this tracerback.
>
> Traceback (innermost last):
> Module ZPublisher.Publish, line 119, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 42, in call_object
> Module App.Management, line 87, in manage_workspace
> Redirect:
http://localhost:8080/justvideos/manage_main
> 2010-12-08 15:25:34 ERROR Zope.SiteErrorLog
> 1291838134.670.00556198444575
>
http://localhost:8080/justvideos/test/@@audio_view
> Traceback (innermost last):
> Module ZPublisher.Publish, line 110, in publish
> Module ZPublisher.BaseRequest, line 506, in traverse
> Module ZPublisher.HTTPResponse, line 686, in debugError
> NotFound: <h2>Site Error</h2>
> <p>An error was encountered while publishing this resource.
> </p>
> <p><strong>Debugging Notice</strong></p>
>
> Zope has encountered a problem publishing your object.<p>
> Cannot locate object at:
>
http://localhost:8080/justvideos/test/@@audio_view</p>
> <hr noshade="noshade"/>
>
> <p>Troubleshooting Suggestions</p>
>
> <ul>
> <li>The URL may be incorrect.</li>
> <li>The parameters passed to this resource may be incorrect.</li>
> <li>A resource that this resource relies on may be
> encountering an error.</li>
> </ul>
>
> <p>For more detailed information about the error, please
> refer to the error log.
> </p>
>
> <p>If the error persists please contact the site maintainer.
> Thank you for your patience.
> </p>
>
> I was searching in the Plone documentation and I found a reference to
> this, but the instruction about the use of "pdb.ser_trace()" in the
> __init__() method does not work for me. I am thinking that is a
> problem in the configuration of the zcml slugs. But I am not sure,
> otherwise I have two content types and the other is working
> perfectilly. I hope some one could help me, I am go to paste next my
> /profiles/default/audio.xml
http://pastebin.com/GrR1MNDB, my
> profiles/types.xml
http://pastebin.com/yYmKCwKj, my browserlayer.xml
>
http://pastebin.com/hfVWrC8t and the configure.zcml of the browser
> package
http://pastebin.com/d7JFYYS6.
>
> Grettings,
>
> Víctor Teran