[Zope-PTK] Problem with copying users
Priya Ramkumar
pra@baba9.com
Sat, 17 Feb 2001 09:32:41 +0530
Hi
When I try to copy users from my existing PTK to CMFusing the external
method "copy_users", I get the following error.
Error Type: NameError
Error Value: URL
Traceback (innermost last):
File /export/usr/local/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
File /export/usr/local/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py,
line 187, in publish
File /export/usr/local/Zope-2.2.4-src/lib/python/Zope/__init__.py, line
221, in zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
File /export/usr/local/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py,
line 171, in publish
File /export/usr/local/Zope-2.2.4-src/lib/python/ZPublisher/mapply.py,
line 160, in mapply
(Object: calltocopyusers)
File /export/usr/local/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py,
line 112, in call_object
(Object: calltocopyusers)
File /export/usr/local/Zope-2.2.4-src/lib/python/OFS/DTMLMethod.py, line
172, in __call__
(Object: calltocopyusers)
File
/export/usr/local/Zope-2.2.4-src/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: calltocopyusers)
File
/export/usr/local/Zope-2.2.4-src/lib/python/DocumentTemplate/DT_Util.py,
line 337, in eval
(Object: copy_users('/intra/acl_users','/cmf/acl_users'))
(Info: copy_users) File <string>, line 0, in ?
File
/export/usr/local/Zope-2.2.4-src/lib/python/Products/ExternalMethod/External
Method.py, line 270, in __call__
(Object: copy_users)
(Info: (('/intra/acl_users', '/cmf/acl_users'), {}, None))
File /export/usr/local/Zope-2.2.4-src/Extensions/copy_users.py, line 103,
in copyUsers
(Object: ApplicationDefaultPermissions)
File /export/usr/local/Zope-2.2.4-src/lib/python/AccessControl/User.py,
line 663, in manage_users
(Object: RoleManager)
File /export/usr/local/Zope-2.2.4-src/lib/python/AccessControl/User.py,
line 595, in _addUser
(Object: RoleManager)
File /export/usr/local/Zope-2.2.4-src/lib/python/App/special_dtml.py, line
120, in __call__
(Object: manage_main)
(Info:
/export/usr/local/Zope-2.2.4-src/lib/python/AccessControl/mainUser.dtml)
File
/export/usr/local/Zope-2.2.4-src/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: manage_main)
File /export/usr/local/Zope-2.2.4-src/lib/python/App/special_dtml.py, line
120, in __call__
(Object: manage_tabs)
(Info: /export/usr/local/Zope-2.2.4-src/lib/python/App/manage_tabs.dtml)
File
/export/usr/local/Zope-2.2.4-src/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: manage_tabs)
File
/export/usr/local/Zope-2.2.4-src/lib/python/DocumentTemplate/DT_With.py,
line 146, in render
(Object: _(manage_options=filtered_manage_options()))
File
/export/usr/local/Zope-2.2.4-src/lib/python/DocumentTemplate/DT_In.py, line
691, in renderwob
(Object: manage_options)
File
/export/usr/local/Zope-2.2.4-src/lib/python/DocumentTemplate/DT_Util.py,
line 337, in eval
(Object: URL[-(_.len(action)):]==action or
URL[-17:]=='/manage_workspace' and _['sequence-start'])
(Info: action) File <string>, line 0, in ?NameError: (see above)
Could anyone please tell me how this can be corrected?
Thanks
Priya