Re: [Zope] Authentication Problem with migration from Zope 2.6.1 to Zope 2.9.4
hello andreas, am hereby giving the trace from log file. other than LDAPUF we r not using any other 3rd party products. what i want is just to get basic authentication popup dialog to come. if it comes then the problem will be solved i guess. is there a way to configure the application so that the popup dialog pops up when the application is accessed ? coz the error mesg is that its trying find user Anonymous in LDAP and not finding. if popup comes then it may pass the entered username/password to LDAPUF i guess. I have not yet tried migrating by just copying the Data.fs file. i'll try it out soon. till now i hv tried using import/export. please help. thanks and regards -yogeen trace : 2006-09-08T14:38:52 ERROR Zope.SiteErrorLog http://systemIP:8080/isac/PGA/index_html Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module OFS.DTMLDocument, line 128, in __call__ - <DTMLDocument at /isac/PGA/index_html> - URL: http://systemIP:8080/isac/PGA/index_html/manage_main - Physical Path: /isac/PGA/index_html Module DocumentTemplate.DT_String, line 476, in __call__ Module OFS.DTMLMethod, line 137, in __call__ - <DTMLMethod at /isac/PGA/cl_index_html> - URL: http://systemIP:8080/isac/PGA/cl_index_html/manage_main - Physical Path: /isac/PGA/cl_index_html Module DocumentTemplate.DT_String, line 476, in __call__ Module DocumentTemplate.DT_Let, line 75, in render Module DocumentTemplate.DT_Util, line 196, in eval - __traceback_info__: cl Module <string>, line 1, in <expression> Module DocumentTemplate.DT_Util, line 160, in render Module OFS.DTMLMethod, line 137, in __call__ - <DTMLMethod at /isac/PGA/cl/areYouCLpaRecoSanc> - URL: http://systemIP:8080/isac/PGA/cl/areYouCLpaRecoSanc/manage_main - Physical Path: /isac/PGA/cl/areYouCLpaRecoSanc Module DocumentTemplate.DT_String, line 476, in __call__ Module DocumentTemplate.DT_Let, line 76, in render Module DocumentTemplate.DT_Let, line 75, in render Module DocumentTemplate.DT_Util, line 196, in eval - __traceback_info__: _ Module <string>, line 1, in <expression> AttributeError: findUser --- Andreas Jung <lists@zopyx.com> wrote:
--On 8. September 2006 01:04:16 -0700 yogeen honnavar <yogeen@yahoo.com> wrote:
hello andreas, thanks for the response. u said Import/Export is supported between Identical installations only, then can u pls tell me how to migrate an application from an older version of zope to a newer version ?
To be honest: that's *your* problem :-) If you upgrade *only* your Zope with unchanged 3rd party-products (identical versions) then there is a chance the upgrading by copying the Data.fs and/or export/import might work. But export/import *is not* a migration tool. Migrations are specific to your products and your app.
reg LDAPUF versions...we hv LDAPUF vers
2.2beta
on old server. on the new system we hv installed LDAPUF version 2.7. following is the error i get when i access the URL
Error : AttributeError ErrorValue : findUser
I asked about the *full traceback*. This excerpt is useless.
-aj
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
yogeen honnavar wrote at 2006-9-8 03:10 -0700:
... trace :
2006-09-08T14:38:52 ERROR Zope.SiteErrorLog http://systemIP:8080/isac/PGA/index_html Traceback (innermost last): ... Module OFS.DTMLMethod, line 137, in __call__ - <DTMLMethod at /isac/PGA/cl/areYouCLpaRecoSanc> - URL: http://systemIP:8080/isac/PGA/cl/areYouCLpaRecoSanc/manage_main - Physical Path: /isac/PGA/cl/areYouCLpaRecoSanc Module DocumentTemplate.DT_String, line 476, in __call__ Module DocumentTemplate.DT_Let, line 76, in render Module DocumentTemplate.DT_Let, line 75, in render Module DocumentTemplate.DT_Util, line 196, in eval - __traceback_info__: _ Module <string>, line 1, in <expression> AttributeError: findUser
What you see is *not* an authentication problem but a DTML method ("DTMLMethod at /isac/PGA/cl/areYouCLpaRecoSanc") no longer fitting the implementation: it expects a method "findUser" and this is no longer there. -- Dieter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 8 Sep 2006, at 21:53, Dieter Maurer wrote:
yogeen honnavar wrote at 2006-9-8 03:10 -0700:
Module <string>, line 1, in <expression> AttributeError: findUser
What you see is *not* an authentication problem but a DTML method ("DTMLMethod at /isac/PGA/cl/areYouCLpaRecoSanc") no longer fitting the implementation: it expects a method "findUser" and this is no longer there.
The method still exists in version 2.7, so something else must be amiss. Does the product show up as installed correctly when you go to the Control_panel in the ZMI and click on Product Management? Do you see any error output when starting Zope in the foreground (-> set debug_mode to "on" in zope.conf and then start the instance with "zopectl fg"). Are you sure the DTML method is finding the correct obect to call "findUsers" on? You don't provide enough details I'm afraid. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFAdQZRAx5nvEhZLIRApX9AJ90+w/ZtyWp1mUnsAeI+5AuJPc7sgCfZmll Wcl6lcBK96XKo9K+a+p3nfg= =2AKA -----END PGP SIGNATURE-----
participants (3)
-
Dieter Maurer -
Jens Vagelpohl -
yogeen honnavar