slow authentication popup in 2.5.0?
Hello, Before moving my Zope installation to 2.5.0 i tested it on my own machine. It works fine, only the authentication popup shows after a long time (20-25 seconds). The rest is working normal. Is this "slow authentication popup" normal behaviour in 2.5? my test machine is not a very good machine (w98), but with 2.4 there was no problem with this. Hans de Wit Stichting Farmaceutische Kengetallen Postbus 30460 2500 GL DEN HAAG Tel. 070-3737448 Fax 070-3737445
Good day! I'm try to create OFS::Image based product. My actions: 1. Crate product Optomag 2. Add Zclass OptomagTovar based on OFS::Image (with Include standard Zope persistent object base classes) 3. In Zclass OptomagTovar add Property Sheets 'tovar' 4. add property 'articul' (string type) When try to add 'OptomagTovar' with any ID receive: Error Type: TypeError Error Value: argument title was ommitted And traceback: Traceback (innermost last): File D:\Zope\lib\python\ZPublisher\Publish.py, line 150, in publish_module File D:\Zope\lib\python\ZPublisher\Publish.py, line 114, in publish File D:\Zope\lib\python\Zope\__init__.py, line 158, in zpublisher_exception_hook (Object: OptomagTovar_factory) File D:\Zope\lib\python\ZPublisher\Publish.py, line 98, in publish File D:\Zope\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: OptomagTovar_add) File D:\Zope\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: OptomagTovar_add) File D:\Zope\lib\python\OFS\DTMLMethod.py, line 127, in __call__ (Object: OptomagTovar_add) File D:\Zope\lib\python\DocumentTemplate\DT_String.py, line 473, in __call__ (Object: OptomagTovar_add) File D:\Zope\lib\python\DocumentTemplate\DT_With.py, line 61, in render (Object: OptomagTovar.createInObjectManager(REQUEST['id'], REQUEST)) File D:\Zope\lib\python\DocumentTemplate\DT_Util.py, line 159, in eval (Object: OptomagTovar.createInObjectManager(REQUEST['id'], REQUEST)) (Info: REQUEST) File <string>, line 2, in f File D:\Zope\lib\python\ZClasses\ZClass.py, line 450, in createInObjectManager (Object: OptomagTovar) File D:\Zope\lib\python\ZPublisher\mapply.py, line 83, in mapply (Object: OptomagTovar) File D:\Zope\lib\python\ZPublisher\mapply.py, line 21, in default_missing_name TypeError: (see above) Who can explain me what is wrong? -- WBR, Mikhail ZSP Instock (http://www.instock.ru/)
Seems like you're not supplying a title Do you have a form element named "title" in your OptomagTovar_addForm method? Ex: <input type="hidden" name="title" value="myTitle"> Or use something like: OptomagTovar.createInObjectManager(REQUEST['id'],title='myTitle', REQUEST) -----Opprinnelig melding----- Fra: zope-admin@zope.org [mailto:zope-admin@zope.org] På vegne av Mikhail Sendt: 13. februar 2002 10:35 Til: zope@zope.org Emne: [Zope] OFS::Image based Zclass creation error Good day! I'm try to create OFS::Image based product. My actions: 1. Crate product Optomag 2. Add Zclass OptomagTovar based on OFS::Image (with Include standard Zope persistent object base classes) 3. In Zclass OptomagTovar add Property Sheets 'tovar' 4. add property 'articul' (string type) When try to add 'OptomagTovar' with any ID receive: Error Type: TypeError Error Value: argument title was ommitted And traceback: Traceback (innermost last): File D:\Zope\lib\python\ZPublisher\Publish.py, line 150, in publish_module File D:\Zope\lib\python\ZPublisher\Publish.py, line 114, in publish File D:\Zope\lib\python\Zope\__init__.py, line 158, in zpublisher_exception_hook (Object: OptomagTovar_factory) File D:\Zope\lib\python\ZPublisher\Publish.py, line 98, in publish File D:\Zope\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: OptomagTovar_add) File D:\Zope\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: OptomagTovar_add) File D:\Zope\lib\python\OFS\DTMLMethod.py, line 127, in __call__ (Object: OptomagTovar_add) File D:\Zope\lib\python\DocumentTemplate\DT_String.py, line 473, in __call__ (Object: OptomagTovar_add) File D:\Zope\lib\python\DocumentTemplate\DT_With.py, line 61, in render (Object: OptomagTovar.createInObjectManager(REQUEST['id'], REQUEST)) File D:\Zope\lib\python\DocumentTemplate\DT_Util.py, line 159, in eval (Object: OptomagTovar.createInObjectManager(REQUEST['id'], REQUEST)) (Info: REQUEST) File <string>, line 2, in f File D:\Zope\lib\python\ZClasses\ZClass.py, line 450, in createInObjectManager (Object: OptomagTovar) File D:\Zope\lib\python\ZPublisher\mapply.py, line 83, in mapply (Object: OptomagTovar) File D:\Zope\lib\python\ZPublisher\mapply.py, line 21, in default_missing_name TypeError: (see above) Who can explain me what is wrong? -- WBR, Mikhail ZSP Instock (http://www.instock.ru/) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I add tite and (after new error) file fields. Can manage, but cannt see image (empty space with IE red cross). I change my OptomagTovar_addForm <form action="OptomagTovar_add" enctype="multipart/form-data"> Id <input type=text name=id> Title <input type=text name="title"> Image <input type=file name="file"> <input type=submit value=" Add "> </form> -- WBR, Mikhail ZSP Instock (http://www.instock.ru/) -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of Arnt-Hugo Nilsen Sent: Wednesday, February 13, 2002 1:08 PM To: zope@zope.org Subject: SV: [Zope] OFS::Image based Zclass creation error Seems like you're not supplying a title Do you have a form element named "title" in your OptomagTovar_addForm method? Ex: <input type="hidden" name="title" value="myTitle"> Or use something like: OptomagTovar.createInObjectManager(REQUEST['id'],title='myTitle', REQUEST) -----Opprinnelig melding----- Fra: zope-admin@zope.org [mailto:zope-admin@zope.org] På vegne av Mikhail Sendt: 13. februar 2002 10:35 Til: zope@zope.org Emne: [Zope] OFS::Image based Zclass creation error Good day! I'm try to create OFS::Image based product. My actions: 1. Crate product Optomag 2. Add Zclass OptomagTovar based on OFS::Image (with Include standard Zope persistent object base classes) 3. In Zclass OptomagTovar add Property Sheets 'tovar' 4. add property 'articul' (string type) When try to add 'OptomagTovar' with any ID receive: Error Type: TypeError Error Value: argument title was ommitted And traceback: Traceback (innermost last): File D:\Zope\lib\python\ZPublisher\Publish.py, line 150, in publish_module File D:\Zope\lib\python\ZPublisher\Publish.py, line 114, in publish File D:\Zope\lib\python\Zope\__init__.py, line 158, in zpublisher_exception_hook (Object: OptomagTovar_factory) File D:\Zope\lib\python\ZPublisher\Publish.py, line 98, in publish File D:\Zope\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: OptomagTovar_add) File D:\Zope\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: OptomagTovar_add) File D:\Zope\lib\python\OFS\DTMLMethod.py, line 127, in __call__ (Object: OptomagTovar_add) File D:\Zope\lib\python\DocumentTemplate\DT_String.py, line 473, in __call__ (Object: OptomagTovar_add) File D:\Zope\lib\python\DocumentTemplate\DT_With.py, line 61, in render (Object: OptomagTovar.createInObjectManager(REQUEST['id'], REQUEST)) File D:\Zope\lib\python\DocumentTemplate\DT_Util.py, line 159, in eval (Object: OptomagTovar.createInObjectManager(REQUEST['id'], REQUEST)) (Info: REQUEST) File <string>, line 2, in f File D:\Zope\lib\python\ZClasses\ZClass.py, line 450, in createInObjectManager (Object: OptomagTovar) File D:\Zope\lib\python\ZPublisher\mapply.py, line 83, in mapply (Object: OptomagTovar) File D:\Zope\lib\python\ZPublisher\mapply.py, line 21, in default_missing_name TypeError: (see above) Who can explain me what is wrong? -- WBR, Mikhail ZSP Instock (http://www.instock.ru/) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Try: OptomagTovar.createInObjectManager(REQUEST['id'],file,title) -----Opprinnelig melding----- Fra: zope-admin@zope.org [mailto:zope-admin@zope.org] På vegne av Mikhail Sendt: 13. februar 2002 11:49 Til: zope@zope.org Emne: RE: [Zope] OFS::Image based Zclass creation error I add tite and (after new error) file fields. Can manage, but cannt see image (empty space with IE red cross). I change my OptomagTovar_addForm <form action="OptomagTovar_add" enctype="multipart/form-data"> Id <input type=text name=id> Title <input type=text name="title"> Image <input type=file name="file"> <input type=submit value=" Add "> </form> -- WBR, Mikhail ZSP Instock (http://www.instock.ru/) -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of Arnt-Hugo Nilsen Sent: Wednesday, February 13, 2002 1:08 PM To: zope@zope.org Subject: SV: [Zope] OFS::Image based Zclass creation error Seems like you're not supplying a title Do you have a form element named "title" in your OptomagTovar_addForm method? Ex: <input type="hidden" name="title" value="myTitle"> Or use something like: OptomagTovar.createInObjectManager(REQUEST['id'],title='myTitle', REQUEST) -----Opprinnelig melding----- Fra: zope-admin@zope.org [mailto:zope-admin@zope.org] På vegne av Mikhail Sendt: 13. februar 2002 10:35 Til: zope@zope.org Emne: [Zope] OFS::Image based Zclass creation error Good day! I'm try to create OFS::Image based product. My actions: 1. Crate product Optomag 2. Add Zclass OptomagTovar based on OFS::Image (with Include standard Zope persistent object base classes) 3. In Zclass OptomagTovar add Property Sheets 'tovar' 4. add property 'articul' (string type) When try to add 'OptomagTovar' with any ID receive: Error Type: TypeError Error Value: argument title was ommitted And traceback: Traceback (innermost last): File D:\Zope\lib\python\ZPublisher\Publish.py, line 150, in publish_module File D:\Zope\lib\python\ZPublisher\Publish.py, line 114, in publish File D:\Zope\lib\python\Zope\__init__.py, line 158, in zpublisher_exception_hook (Object: OptomagTovar_factory) File D:\Zope\lib\python\ZPublisher\Publish.py, line 98, in publish File D:\Zope\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: OptomagTovar_add) File D:\Zope\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: OptomagTovar_add) File D:\Zope\lib\python\OFS\DTMLMethod.py, line 127, in __call__ (Object: OptomagTovar_add) File D:\Zope\lib\python\DocumentTemplate\DT_String.py, line 473, in __call__ (Object: OptomagTovar_add) File D:\Zope\lib\python\DocumentTemplate\DT_With.py, line 61, in render (Object: OptomagTovar.createInObjectManager(REQUEST['id'], REQUEST)) File D:\Zope\lib\python\DocumentTemplate\DT_Util.py, line 159, in eval (Object: OptomagTovar.createInObjectManager(REQUEST['id'], REQUEST)) (Info: REQUEST) File <string>, line 2, in f File D:\Zope\lib\python\ZClasses\ZClass.py, line 450, in createInObjectManager (Object: OptomagTovar) File D:\Zope\lib\python\ZPublisher\mapply.py, line 83, in mapply (Object: OptomagTovar) File D:\Zope\lib\python\ZPublisher\mapply.py, line 21, in default_missing_name TypeError: (see above) Who can explain me what is wrong? -- WBR, Mikhail ZSP Instock (http://www.instock.ru/) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Probably a DNS issue. Can your test machine resolve its own hostname? H.de.Wit@SFK.NL wrote:
Hello, Before moving my Zope installation to 2.5.0 i tested it on my own machine. It works fine, only the authentication popup shows after a long time (20-25 seconds). The rest is working normal.
Is this "slow authentication popup" normal behaviour in 2.5?
my test machine is not a very good machine (w98), but with 2.4 there was no problem with this.
Hans de Wit Stichting Farmaceutische Kengetallen Postbus 30460 2500 GL DEN HAAG Tel. 070-3737448 Fax 070-3737445
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"
participants (5)
-
Arnt-Hugo Nilsen -
Arnt-Hugo Nilsen -
Chris McDonough -
H.de.Wit@SFK.NL -
Mikhail