SilvaLayout (TRUNK) + Zope 2.9
Roman Joost <rj-w5oghCfH6z/[email protected]>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Organization | gocept GmbH & Co. KG |
| Message-ID | <[email protected]> |
Hi,
while hacking on SilvaBlog and migrating the public views to
Five/SilvaLayout, I was wondering how we deal with the Formulator forms
- using schemas or formlib.
J-W pointed me to zope 2.9, which includes formlib. I tried to setup a
new zope 2.9 instance. Unfortunately, I'm running into one error during
the start of the instance:
2006-04-07 08:41:34 ERROR Zope Could not import Products.SilvaLayout
Traceback (most recent call last):
File "/opt/Zope2.9/lib/python/OFS/Application.py", line 715, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/home/roman/works/projects/SilvaBlog/Products/SilvaLayout/__init__.py", line 6, in ?
import install, helpers
File "/home/roman/works/projects/SilvaBlog/Products/SilvaLayout/helpers.py", line 7, in ?
from zope.component.presentation import SkinRegistration
ImportError: No module named presentation
Traceback (most recent call last):
File "/opt/Zope2.9/lib/python/Zope2/Startup/run.py", line 56, in ?
run()
File "/opt/Zope2.9/lib/python/Zope2/Startup/run.py", line 21, in run
starter.prepare()
File "/opt/Zope2.9/lib/python/Zope2/Startup/__init__.py", line 98, in prepare
self.startZope()
File "/opt/Zope2.9/lib/python/Zope2/Startup/__init__.py", line 257, in startZope
Zope2.startup()
File "/opt/Zope2.9/lib/python/Zope2/__init__.py", line 47, in startup
_startup()
File "/opt/Zope2.9/lib/python/Zope2/App/startup.py", line 46, in startup
OFS.Application.import_products()
File "/opt/Zope2.9/lib/python/OFS/Application.py", line 692, in import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File "/opt/Zope2.9/lib/python/OFS/Application.py", line 730, in import_product
raise sys.exc_info()
KeyError
So, I'm not sure which module provides similar methods for registering
skins. But using formlib instead of Formulator in Five would be much
more straight forward, right?
Greetings,
--
Róman Joost
gocept gmbh & co. kg Forsterstrasse 29 06112 Halle/Saale
fon +49 (0)345 122 98 89 2
_______________________________________________
silva-dev mailing list
[email protected]
https://infrae.com/mailman/listinfo/silva-dev
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFENgo48CscaEkpx0IRAghAAJ9yPV6hGSmUz5Du9J3QYwwwGBNdrwCfeOTg e2Yyelm7RB8ZxCCZgvJQAs4= =I22r -----END PGP SIGNATURE-----