[Zope-CMF] Re: Debugging in Houston?
J Cameron Cooper
zope-cmf at jcameroncooper.com
Thu Dec 29 13:48:40 EST 2005
Ignacio Valdes wrote:
> Thanks, I have it working now, it was an indentation problem but now I
> have to delve into the mysteries of fixing broken objects. The zopelabs
> recipe for doing this seems to be broken at:
>
>>>> obj=root.unrestrictedTraverse('/linuxmednews')
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> NameError: name 'root' is not defined
It would be nice to provide the URL. I will assume you're talking about
http://zopelabs.com/cookbook/1095965033
Probably it means 'app' intstead, which you should be told about when
entering the debug console. I think WinShell binds a different name, though.
--jcc
--
"Building Websites with Plone"
http://plonebook.packtpub.com/
Enfold Systems, LLC
http://www.enfoldsystems.com
More information about the Zope-CMF
mailing list