Menu

#2 Error when running swocket

v1.0_(example)
open-later
auth.ldap (1)
2
2001-09-30
2001-09-18
No

Python 2.1.1 on Win32 (Windows 2000)

swocket.auth.plaintext: reloading passwords.txt, file
has changed
Traceback (most recent call last):
File "swocketserver.py", line 12, in ?
servers.append(
File "swocket\server.py", line 203, in __init__
self.validate()
File "swocket\server.py", line 218, in validate
k = virtualHost(self,x)
File "swocket\server.py", line 247, in __init__
self.validate()
File "swocket\server.py", line 254, in validate
k = serviceContainer(self,x)
File "swocket\server.py", line 279, in __init__
self.validate()
File "swocket\server.py", line 288, in validate
self.authmodule = string_import
(self.authmoduleName)
File "swocket\core.py", line 46, in string_import
mod = reload(sys.modules[name])
File "swocket\auth\ldap.py", line 3, in ?
import _ldap
ImportError: No module named _ldap

Seems there's a typo in .\auth\ldap.py, since I don't
need LDAP at the moment I have removed the entry and
the application is working.

Discussion

  • Bob Ippolito

    Bob Ippolito - 2001-09-30

    Logged In: YES
    user_id=139309

    Well, it's not a typo in the file, it's just a dependency.
    It's certainly optional though.. I'll make sure to catch
    that exception next time I updated the code (will be soon,
    I promise :)

     
  • Bob Ippolito

    Bob Ippolito - 2001-09-30
    • labels: --> auth.ldap
    • milestone: --> v1.0_(example)
    • priority: 5 --> 2
    • assigned_to: nobody --> etrepum
    • status: open --> open-later
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.