Re: [Zope] DTML method to add a folder and put image inside
John Verzani writes:
Zope has me stumped.
I want to make a _simple_ form and process to add a folder then insert into that folder some properties and an image. Here is what I am trying with my DTML method for processing the form request:
<dtml-call "manage_addFolder(REQUEST['id'],REQUEST['title'])"> <dtml-with "REQUEST['id']"> Try <dtml-with "_[REQUEST['id']]"> <dtml-if image> <dtml-call "manage_addImage('image',image)"> </dtml-if> ....
Dieter
My Zope server dies miserably after I install the mysql adapter (it still dies after I delete the adaper files manually.) These are the only error messages I could retrieve from the server. could anyone help me? I use win98 Thanks -IGUN- asynchat.async_chat.handle_error (self) File "H:\Program Files\WebSite\ZServer\medusa\asyncore.py", line 321, in hand e_error self.close() File "H:\Program Files\WebSite\ZServer\HTTPServer.py", line 356, in close p.more() # free up resources held by producer File "H:\Program Files\WebSite\ZServer\Producers.py", line 108, in more getattr(self.logger, self.method)(self.bytes) File "H:\Program Files\WebSite\ZServer\medusa\http_server.py", line 275, in l g ' - - [%s] "%s" %d %d "%s" "%s"\n' % ( File "H:\Program Files\WebSite\ZServer\medusa\logger.py", line 243, in log self.logger.log ('%s%s' % (ip, message)) File "H:\Program Files\WebSite\ZServer\medusa\logger.py", line 77, in log self.write (message) File "H:\Program Files\WebSite\ZServer\medusa\logger.py", line 53, in write self.maybe_flush() File "H:\Program Files\WebSite\ZServer\medusa\logger.py", line 65, in maybe_f ush self.file.flush() IOError: [Errno 9] Bad file descriptor
Have you read the how-to on http://www.zope.org/Members/philh/mysql ? It worked perfectly for me, except that the libmysql.dll that came with mySQL gave me troubles, but after replacing it with the version mentioned in the how-to everything worked perfectly: Win2000, Zope 2.1.6, mySQL 3.23.19-beta. Gijs Reulen
-----Oorspronkelijk bericht----- Van: zope-admin@zope.org [mailto:zope-admin@zope.org]Namens Indra Gunawan Verzonden: zaterdag 8 juli 2000 14:16 Aan: zope@zope.org Onderwerp: [Zope] Zope server Dies
My Zope server dies miserably after I install the mysql adapter (it still dies after I delete the adaper files manually.) These are the only error messages I could retrieve from the server. could anyone help me? I use win98
Thanks -IGUN-
Have you read the how-to on http://www.zope.org/Members/philh/mysql ? It worked perfectly for me, except that the libmysql.dll that came with mySQL gave me troubles, but after replacing it with the version mentioned in the how-to everything worked perfectly: Win2000, Zope 2.1.6, mySQL 3.23.19-beta.
Gijs Reulen Yes.. I have read that documentation too. I've decided to reinstall the Zope, and everything seems working perfectly now. Thanks for the assistance. But I'm still curious what cause the previous error though.
-IGUN-
participants (3)
-
Dieter Maurer -
Gijs Reulen -
Indra Gunawan