SmartSections question
Dear All, I played with the SmartSections online demo on Iuveno's site (http://demo.iuveno-net.de/iuveno/Products/SmartSection/Demo) and it looked pretty damn good. I can't get it working. Has anyone had success or have any pointers? I've installed both Transparent & Ordered folder products as instructed with no errors. SmartSections appears in the "Add" drop-down but I get the traceback error below when I try to Add it. It complains about not having "translate" connected to a database. I've got to create a d/b connection, no worries. Does anyone know any more detail about what tables or configuration are needed? Thanks for your time, Simon. Error Type: Database Error Error Value: translate is not connected to a database -------------------------------------------------------------------------------- Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File C:\ttw\lib\python\ZPublisher\Publish.py, line 223, in publish_module File C:\ttw\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\ttw\lib\python\Zope\__init__.py, line 226, in zpublisher_exception_hook File C:\ttw\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\ttw\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: addSmartSection) File C:\ttw\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: addSmartSection) File C:\ttw\lib\python\Shared\DC\Scripts\Bindings.py, line 324, in __call__ (Object: addSmartSection) File C:\ttw\lib\python\Shared\DC\Scripts\Bindings.py, line 354, in _bindAndExec (Object: addSmartSection) File C:\ttw\lib\python\App\special_dtml.py, line 244, in _exec (Object: addSmartSection) File C:\ttw\lib\python\DocumentTemplate\DT_Util.py, line 231, in eval (Object: manage_form_title(this(), _, form_title=translate('Add Smart Section'), )) (Info: this) File <string>, line 0, in ? File C:\ttw\lib\python\Shared\DC\ZRDB\DA.py, line 471, in __call__ (Object: translate) Database Error: (see above)
I played with the SmartSections online demo on Iuveno's site (http://demo.iuveno-net.de/iuveno/Products/SmartSection/Demo) and it looked pretty damn good. I can't get it working. Has anyone had success or have any pointers?
I've installed both Transparent & Ordered folder products as instructed with no errors. SmartSections appears in the "Add" drop-down but I get the traceback error below when I try to Add it.
It complains about not having "translate" connected to a database. I've got to create a d/b connection, no worries. Does anyone know any more detail about what tables or configuration are needed?
Weired. I think the error is wrong. The bug is actually in OrderedFolders 0.4.0. There was an undetected dependency on ZBabel, which is fixed in the current CVS version. Of course, you can also use OrderedFolder 0.3.0 or install ZBabel. :-) BTW, I will make a fixed OrderedFolder release soon. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
Simon Brogden writes:
.... SmartSections appears in the "Add" drop-down but I get the traceback error below when I try to Add it.
It complains about not having "translate" connected to a database. I've got to create a d/b connection, no worries. Does anyone know any more detail about what tables or configuration are needed?
Thanks for your time, Simon.
Error Type: Database Error Error Value: translate is not connected to a database Seems it wants ZBabel's "translate".
I remember, there was a message in the mailing lists, that there is now a ZBabel proxy around that can emulate ZBabel, when it is not installed (--> mailing list archives). Dieter
On Tue, 2002-01-22 at 14:26, Simon Brogden wrote: Hello everybody :)
Dear All, I played with the SmartSections online demo on Iuveno's site (http://demo.iuveno-net.de/iuveno/Products/SmartSection/Demo) and it looked pretty damn good. I can't get it working. Has anyone had success or have any pointers?
I've installed both Transparent & Ordered folder products as instructed with no errors. SmartSections appears in the "Add" drop-down but I get the traceback error below when I try to Add it.
It complains about not having "translate" connected to a database. I've got to create a d/b connection, no worries. Does anyone know any more detail about what tables or configuration are needed?
Thanks for your time, Simon.
Well, I got another error. I installed Ordered folder 0.3.0, Formulator 1.1.0, Transparent folders 0.3.2 and SmartSections 0.3.0 on a fresh zope 2.5.0b4 installation. I don't wanna use ZBabel... Everything appear good, after install the products... So, when I selected "Smart Section" in product list: Error Type: NameError Error Value: name 'translate' is not defined Traceback (innermost last): File /home/acamargo/zope250b4/lib/python/ZPublisher/Publish.py, line 150, in publish_module File /home/acamargo/zope250b4/lib/python/ZPublisher/Publish.py, line 114, in publish File /home/acamargo/zope250b4/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook File /home/acamargo/zope250b4/lib/python/ZPublisher/Publish.py, line 98, in publish File /home/acamargo/zope250b4/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: addSmartSection) File /home/acamargo/zope250b4/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: addSmartSection) File /home/acamargo/zope250b4/lib/python/Shared/DC/Scripts/Bindings.py, line 252, in __call__ (Object: addSmartSection) File /home/acamargo/zope250b4/lib/python/Shared/DC/Scripts/Bindings.py, line 283, in _bindAndExec (Object: addSmartSection) File /home/acamargo/zope250b4/lib/python/App/special_dtml.py, line 172, in _exec (Object: addSmartSection) File /home/acamargo/zope250b4/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval (Object: manage_form_title(this(), _, form_title=translate('Add Smart Section'), )) (Info: this) File <string>, line 0, in ? NameError: (see above) I was looking into code and I think that translate method isn't in namespace for DTMLMethod... How can I fix this? Thanks in advance. andré
participants (4)
-
André Camargo -
Dieter Maurer -
Simon Brogden -
Stephan Richter