[Zope-PTK] Membership system without demoportal (again)

kamon ayeva kayeva@hotmail.com
Tue, 18 Jul 2000 13:35:58 GMT


Hi,

It seems that this problem could be solved by using the last 
ZPatterns-0-4-0a5. I just downloaded it but I am still unable to complete my 
test because the DynPersist C extension requires to be built and I cannot 
run the setup file on my Windows 2000 at work. So I have to wait and try it 
on my Linux box at home tonight.

Rgds
Kamon

>From: "kamon ayeva" <kayeva@hotmail.com>
>To: zope-ptk@zope.org
>Subject: [Zope-PTK] Membership system without demoportal (again)
>Date: Mon, 17 Jul 2000 07:48:16 GMT
>
>Hi,
>
>I don't know why but I succeeded to install the Membership system last week
>once (and even play with it to a certain extend), but after that I can no
>more do it.
>I use the combination MembershipZ + Membership + LoginManager +
>PythonMethods + ZPatterns 0-3-0 (+ PTKBase + PTKDemo) on 2.2 final.
>Seems to bug in the doInstall python method.
>I don't know if it is important, but some precision: I try to install at 
>the
>root whre I already have a User Folder containing the user 'manager' (owner
>of the site). When doing, I am logged as 'manager'.
>
>Here's the traceback:
>
>  Zope Error
>Zope has encountered an error while publishing this resource.
>
>Error Type: TypeError
>Error Value: keyword parameter redefined
>
>
>
>--------------------------------------------------------------------------------
>
>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:\Zope22\lib\python\ZPublisher\Publish.py, line 222, in
>publish_module
>  File C:\Zope22\lib\python\ZPublisher\Publish.py, line 187, in publish
>  File C:\Zope22\lib\python\Zope\__init__.py, line 221, in
>zpublisher_exception_hook
>    (Object: RoleManager)
>  File C:\Zope22\lib\python\ZPublisher\Publish.py, line 171, in publish
>  File C:\Zope22\lib\python\ZPublisher\mapply.py, line 160, in mapply
>    (Object: doInstall)
>  File C:\Zope22\lib\python\ZPublisher\Publish.py, line 112, in call_object
>    (Object: doInstall)
>  File /home/kid/Zope2/lib/python/Products/PythonMethod/PythonMethod.py,
>line 168, in __call__
>    (Object: doInstall)
>    (Info: ((<Factory instance at 014A97F8>, 'on', None, None, 0, 
>'manager',
>'kayeva@hotmail.com', '123', '123', ZServerHTTPResponse(''),
><h3>form</h3><table><tr valign="top"
>align="left"><th>portal_url</th><td>http://localhost:8080</td></tr><tr
>valign="top" align="left"><th>validate_email</th><td>0</td></tr><tr
>valign="top" align="left"><th>password</th><td>123</td></tr><tr 
>valign="top"
>align="left"><th>username</th><td>manager</td></tr><tr valign="top"
>align="left"><th>email_from_name</th><td>defdsdf</td></tr><tr valign="top"
>align="left"><th>title</th><td>Le Portail MP3</td></tr><tr valign="top"
>align="left"><th>confirm_replace</th><td>on</td></tr><tr valign="top"
>align="left"><th>description</th><td>dsfsfgd</td></tr><tr valign="top"
>align="left"><th>confirm</th><td>123</td></tr><tr valign="top"
>align="left"><th>email</th><td>kayeva@hotmail.com</td></tr><tr valign="top"
>align="left"><th>email_from_address</th><td>sdfsfgv</td></tr></table><h3>cookies</h3><table><tr
>valign="top"
>align="left"><th>tree-s</th><td>eJyLjlZ3hANPW3UdhWiEiEdRoK16LFAIScQTQ8QRKAIEAMVvE1U</td></tr><tr
>valign="top" align="left"><th>dtpref_rows</th><td>20</td></tr><tr
>valign="top"
>align="left"><th>dtpref_cols</th><td>75</td></tr></table><h3>other</h3><table><tr
>valign="top" align="left"><th>email</th><td>kayeva@hotmail.com</td></tr><tr
>valign="top" align="left"><th>dtpref_rows</th><td>20</td></tr><tr
>valign="top" align="left"><th>confirm_replace</th><td>on</td></tr><tr
>valign="top"
>align="left"><th>BASE4</th><td>http://localhost:8080/manage_addProduct/MembershipZ/mFactory</td></tr><tr
>valign="top" align="left"><th>dtpref_cols</th><td>75</td></tr><tr
>valign="top"
>align="left"><th>BASE3</th><td>http://localhost:8080/manage_addProduct/MembershipZ</td></tr><tr
>valign="top"
>align="left"><th>URL2</th><td>http://localhost:8080/manage_addProduct/MembershipZ</td></tr><tr
>valign="top"
>align="left"><th>BASE1</th><td>http://localhost:8080</td></tr><tr
>valign="top"
>align="left"><th>BASE0</th><td>http://localhost:8080</td></tr><tr
>valign="top"
>align="left"><th>portal_url</th><td>http://localhost:8080</td></tr><tr
>valign="top"
>align="left"><th>SERVER_URL</th><td>http://localhost:8080</td></tr><tr
>valign="top" align="left"><th>title</th><td>Le Portail MP3</td></tr><tr
>valign="top"
>align="left"><th>TraversalRequestNameStack</th><td>[]</td></tr><tr
>valign="top"
>align="left"><th>email_from_address</th><td>sdfsfgv</td></tr><tr
>valign="top" align="left"><th>AUTHENTICATION_PATH</th><td></td></tr><tr
>valign="top" align="left"><th>password</th><td>123</td></tr><tr 
>valign="top"
>align="left"><th>URL1</th><td>http://localhost:8080/manage_addProduct/MembershipZ/mFactory</td></tr><tr
>valign="top" align="left"><th>username</th><td>manager</td></tr><tr
>valign="top"
>align="left"><th>URL3</th><td>http://localhost:8080/manage_addProduct</td></tr><tr
>valign="top"
>align="left"><th>URL0</th><td>http://localhost:8080/manage_addProduct/MembershipZ/mFactory/doInstall</td></tr><tr
>valign="top"
>align="left"><th>URL4</th><td>http://localhost:8080</td></tr><tr
>valign="top" align="left"><th>validate_email</th><td>0</td></tr><tr
>valign="top"
>align="left"><th>BASE5</th><td>http://localhost:8080/manage_addProduct/MembershipZ/mFactory/doInstall</td></tr><tr
>valign="top"
>align="left"><th>tree-s</th><td>eJyLjlZ3hANPW3UdhWiEiEdRoK16LFAIScQTQ8QRKAIEAMVvE1U</td></tr><tr
>valign="top"
>align="left"><th>URL</th><td>http://localhost:8080/manage_addProduct/MembershipZ/mFactory/doInstall</td></tr><tr
>valign="top"
>align="left"><th>BASE2</th><td>http://localhost:8080/manage_addProduct</td></tr><tr
>valign="top" align="left"><th>description</th><td>dsfsfgd</td></tr><tr
>valign="top" align="left"><th>confirm</th><td>123</td></tr><tr valign="top"
>align="left"><th>AUTHENTICATED_USER</th><td>manager</td></tr><tr
>valign="top" align="left"><th>email_from_name</th><td>defdsdf</td></tr><tr
>valign="top"
>align="left"><th>URL0</th><td>http://localhost:8080/manage_addProduct/MembershipZ/mFactory/doInstall</td></tr><tr
>valign="top"
>align="left"><th>URL1</th><td>http://localhost:8080/manage_addProduct/MembershipZ/mFactory</td></tr><tr
>valign="top"
>align="left"><th>URL2</th><td>http://localhost:8080/manage_addProduct/MembershipZ</td></tr><tr
>valign="top"
>align="left"><th>URL3</th><td>http://localhost:8080/manage_addProduct</td></tr><tr
>valign="top"
>align="left"><th>URL4</th><td>http://localhost:8080</td></tr><tr
>valign="top"
>align="left"><th>BASE0</th><td>http://localhost:8080</td></tr><tr
>valign="top"
>align="left"><th>BASE1</th><td>http://localhost:8080</td></tr><tr
>valign="top"
>align="left"><th>BASE2</th><td>http://localhost:8080/manage_addProduct</td></tr><tr
>valign="top"
>align="left"><th>BASE3</th><td>http://localhost:8080/manage_addProduct/MembershipZ</td></tr><tr
>valign="top"
>align="left"><th>BASE4</th><td>http://localhost:8080/manage_addProduct/MembershipZ/mFactory</td></tr><tr
>valign="top"
>align="left"><th>BASE5</th><td>http://localhost:8080/manage_addProduct/MembershipZ/mFactory/doInstall</td></tr></table><h3>environ</h3><table><tr
>valign="top" align="left"><th>SCRIPT_NAME</th><td></td></tr><tr 
>valign="top"
>align="left"><th>HTTP_ACCEPT_ENCODING</th><td>gzip, deflate</td></tr><tr
>valign="top" align="left"><th>CONTENT_LENGTH</th><td>241</td></tr><tr
>valign="top"
>align="left"><th>channel.creation_time</th><td>963819080</td></tr><tr
>valign="top"
>align="left"><th>HTTP_REFERER</th><td>http://localhost:8080/manage_addProduct/MembershipZ/mFactory</td></tr><tr
>valign="top" align="left"><th>SERVER_PROTOCOL</th><td>1.1</td></tr><tr
>valign="top"
>align="left"><th>CONTENT_TYPE</th><td>application/x-www-form-urlencoded</td></tr><tr
>valign="top"
>align="left"><th>PATH_TRANSLATED</th><td>\manage_addProduct\MembershipZ\mFactory\doInstall</td></tr><tr
>valign="top" align="left"><th>HTTP_ACCEPT</th><td>image/gif,
>image/x-xbitmap, image/jpeg, image/pjpeg, */*</td></tr><tr valign="top"
>align="left"><th>REQUEST_METHOD</th><td>POST</td></tr><tr valign="top"
>align="left"><th>SERVER_SOFTWARE</th><td>Zope/Zope 2.2.0 (binary release,
>python 1.5.2, win32-x86) ZServer/1.1b1</td></tr><tr valign="top"
>align="left"><th>HTTP_COOKIE</th><td>dtpref_rows=&quot;20&quot;;
>dtpref_cols=&quot;75&quot;;
>tree-s=&quot;eJyLjlZ3hANPW3UdhWiEiEdRoK16LFAIScQTQ8QRKAIEAMVvE1U&quot;</td></tr><tr
>valign="top"
>align="left"><th>PATH_INFO</th><td>/manage_addProduct/MembershipZ/mFactory/doInstall</td></tr><tr
>valign="top" align="left"><th>HTTP_ACCEPT_LANGUAGE</th><td>fr</td></tr><tr
>valign="top" align="left"><th>HTTP_HOST</th><td>localhost:8080</td></tr><tr
>valign="top" 
>align="left"><th>GATEWAY_INTERFACE</th><td>CGI/1.1</td></tr><tr
>valign="top" align="left"><th>SERVER_PORT</th><td>8080</td></tr><tr
>valign="top" align="left"><th>SERVER_NAME</th><td>server</td></tr><tr
>valign="top" align="left"><th>REMOTE_ADDR</th><td>127.0.0.1</td></tr><tr
>valign="top" align="left"><th>HTTP_USER_AGENT</th><td>Mozilla/4.0
>(compatible; MSIE 5.01; Windows NT 5.0)</td></tr><tr valign="top"
>align="left"><th>CONNECTION_TYPE</th><td>Keep-Alive</td></tr></table>), {},
>('off', None, None, 0, None, None, None, None, None, None)))
>  File <string>, line 44, in doInstall
>    (Object: RoleManager)
>TypeError: (see above)
>
>Any help appreciated.
>
>Rgds
>Kamon
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
>_______________________________________________
>Zope-PTK maillist  -  Zope-PTK@zope.org
>http://lists.zope.org/mailman/listinfo/zope-ptk
>
>See http://www.zope.org/Products/PTK/Tracker for bug reports and feature 
>requests
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com