[Zope3-Users] problem adding view to a tool

Marcus J. Ertl marcus.ertl at larp-welt.de
Sun Jan 2 13:46:05 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I'm trying to write a tool, for storing configuration data. I'm able to
add the utility to the web-site folder, but If I try to view it, I get
an error:

~  File "/usr/local/Zope3/src/zope/app/publisher/browser/menu.py", line
338, in getMenu
~    result = [{'title': item.title,
TypeError: unpack non-sequence

If i remove the one and only view, I have added for the utility, all
works fine! This is, how I have added the view:

	<page
		name="overview.html"
		for="lw.configure.configure.LocalConfigure"
		permission="zope.ManageServices"
		class=".browser.Overview"
		template="overview.pt"
		menu="zmi_views" title="Configuration" />

What's wrong with this?

Bye and thank you!
~   Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB2EFty/n27QxUdPIRAlLqAJ4xt+rZWdeJriHrXRIlhgdbePIRhgCfRnvV
6zqY1JofKrEsjCA+mDq8xrw=
=Cndb
-----END PGP SIGNATURE-----


More information about the Zope3-users mailing list