AssertionError | Python 2.3.4: /usr/bin/python Sat Mar 5 19:52:17 2005 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/user/lib/python2.3/site-packages/quixote/publish.py in process_request(self=<simplequiz.SimplePublisher.SimplePublisher instance>, request=<quixote.http_request.HTTPRequest instance>, env={'HTTP_COOKIE': 'QX_session="4196581b6746cce6"',...alse', 'REMOTE_HOST': 'sonne', 'USER': 'user'}) |
526 except: |
527 # Some other exception, generate error messages to the logs, etc. |
528 output = self.finish_failed_request(request) |
529 output = self.filter_output(request, output) |
530 self.log_request(request) |
output undefined, self = <simplequiz.SimplePublisher.SimplePublisher instance>, self.finish_failed_request = <bound method SimplePublisher.finish_failed_requ...lequiz.SimplePublisher.SimplePublisher instance>>, request = <quixote.http_request.HTTPRequest instance> |
/home/user/lib/python2.3/site-packages/quixote/publish.py in try_publish(self=<simplequiz.SimplePublisher.SimplePublisher instance>, request=<quixote.http_request.HTTPRequest instance>, path='/') |
459 output = "SystemExit exception caught, shutting down" |
460 self.log(output) |
461 self.exit_now = 1 |
462 |
463 if output is None: |
self = <simplequiz.SimplePublisher.SimplePublisher instance>, self.exit_now = 0 |
/home/user/public_html/simplequiz/simplequiz/SimplePublisher.py in __call__(self=<simplequiz.SimplePublisher.DummyNamespace instance>, request=<quixote.http_request.HTTPRequest instance>) |
21 |
22 def __call__(self, request): |
23 return self.method(request) |
24 |
25 class SimplePublisher(SessionPublisher): |
self = <simplequiz.SimplePublisher.DummyNamespace instance>, self.method = <bound method WebApplication.login of <simplequiz.WebApplication.WebApplication instance>>, request = <quixote.http_request.HTTPRequest instance> |
/home/user/public_html/simplequiz/simplequiz/WebApplication.py in login(self=<simplequiz.WebApplication.WebApplication instance>, request=<quixote.http_request.HTTPRequest instance>) |
133 def login(self, request): |
134 login=request.form.get("login") |
135 assert login, "Variable login muss übergeben werden" |
136 errors={} |
137 msg="" |
login = None |
AssertionError: Variable login muss übergeben werden
args =
('Variable login muss \xfcbergeben werden',)
QX_session | 4196581b6746cce6 |
---|
HTTP_COOKIE | QX_session="4196581b6746cce6" |
---|---|
SERVER_SOFTWARE | SimpleHTTP/0.6 Python/2.3.4 |
PATH_INFO | / |
SERVER_PROTOCOL | HTTP/1.0 |
QUERY_STRING | |
PATH | /home/user/bin:/home/user/scripts:/home/user/bin:/home/user/scripts:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:.:/usr/sbin:/sbin:.:/usr/sbin:/sbin |
SERVER_NAME | sonne |
SESSION_MANAGER | local/sonne:/tmp/.ICE-unix/873 |
SERVER_PORT | 8080 |
HOME | /home/user |
PATH_TRANSLATED | /home/user/public_html/simplequiz/docroot/cgi-bin |
CONTENT_LENGTH | |
HTTP_USER_AGENT | Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.6) Gecko/20040614 Firefox/0.8 |
HTTP_ACCEPT | text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1 |
REMOTE_ADDR | 192.168.1.100 |
SCRIPT_NAME | /index.py |
PWD | /home/user/python/simplequiz/simplequiz |
REQUEST_METHOD | GET |
CONTENT_TYPE | text/plain |
REMOTE_HOST | sonne |
Status: 200 OK Date: Sat, 05 Mar 2005 18:52:17 GMT Expires: -1