[Zope-dev] UnboundLocalError : LoginMgr 8.8b1, ZPatterns 4.3b1

Kim Friesen kimcorp@hotmail.com
Wed, 25 Oct 2000 11:05:56 CDT


Hi,

I am trying to get Login Manager working and I am getting the following 
error message when I add the LoginManager type to a user folder, has anyone 
encountered this before ?

Thanks,
Kim Friesen

__ACTION__
   Add User Folder
   Add Login Manager to User Folder
      Error

__PRODUCTS__
   LoginManager 0.8.8b1
   ZPatterns 0.4.3b1
   Zope2 (from CVS 2000-10-25)
   Python 2.0

__ERROR MESSAGE__

Zope Error

Zope has encountered an error while publishing this resource.

Error Type: UnboundLocalError
Error Value: Local variable 'path' referenced before assignment

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.

[Powered by Zope]

Traceback (innermost last):
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 
222, in publish_module
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 
187, in publish
  File /unix2/usr/src/python/Zope2/lib/python/Zope/__init__.py, line 221, in 
zpublisher_exception_hook
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 
171, in publish
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/mapply.py, line 
160, in mapply
    (Object: addLoginManager)
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/Publish.py, line 
112, in call_object
    (Object: addLoginManager)
  File /unix2/usr/src/python/Zope2/lib/python/App/special_dtml.py, line 120, 
in __call__
    (Object: addLoginManager)
    (Info: 
/unix2/usr/src/python/Zope2/lib/python/Products/LoginManager/addLoginManager.dtml)
  File /unix2/usr/src/python/Zope2/lib/python/DocumentTemplate/DT_String.py, 
line 528, in __call__
    (Object: addLoginManager)
  File /unix2/usr/src/python/Zope2/lib/python/DocumentTemplate/DT_In.py, 
line 633, in renderwob
    (Object: UserSourcesMetaTypes(this()))
  File /unix2/usr/src/python/Zope2/lib/python/DocumentTemplate/DT_Util.py, 
line 331, in eval
    (Object: UserSourcesMetaTypes(this()))
    (Info: UserSourcesMetaTypes)
  File /unix2/usr/src/python/Zope2/lib/python/ZPublisher/HTTPRequest.py, 
line 772, in __getitem__
UnboundLocalError: (see above)


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

Share information about yourself, create your own public profile at 
http://profiles.msn.com.