tibia error in apache2

Robert Brewer rbre at aminus.org
Fri Dec 10 19:35:32 CET 2004


>From tibia log file:
2004-12-10 16:05:56,322 ERROR None: GET frameset
Traceback (most recent call last):
  File "C:\PYTHON23\lib\site-packages\tibia.py", line 997, in __init__
    self.username = self.username.split("\\")[-1]
AttributeError: 'NoneType' object has no attribute 'split'
2004-12-10 16:05:57,102 ERROR None: GET logo
Traceback (most recent call last):
  File "C:\PYTHON23\lib\site-packages\tibia.py", line 997, in __init__
    self.username = self.username.split("\\")[-1]
AttributeError: 'NoneType' object has no attribute 'split'
2004-12-10 16:05:57,102 ERROR None: GET logo
Traceback (most recent call last):
  File "C:\PYTHON23\lib\site-packages\tibia.py", line 997, in __init__
    self.username = self.username.split("\\")[-1]
AttributeError: 'NoneType' object has no attribute 'split'



You need to use some sort of authentication with Tibia, or it can't tell
who's an admin and who's not. The demo uses Basic Auth. Add something like
the following to your .conf for the tibia folder:

    AuthType Basic
    AuthName "Tibia"
    AuthUserFile D:\htdocs\tibia\passwords
    Require valid-user

...and then use htpasswd to create the passwords file.

I will look into ways to use Tibia without auth, for intranets, perhaps.
Thanks!


Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org




More information about the Python-list mailing list