Hello all. I'm trying to make authentication work for my webapp, but I didn't get anything but Internal Server Errors. I'm using web.py 0.21 and installed flup on my machine, on the same directory that a have my code.
I copied and pasted the code that is in http://webpy.org/track/wiki/SimpleAuthenticationMethod . I don't know what (and if) there is something in web.ctx dict that I am supposed to change. I'm assuming that the code in the page would work as-is. However, when I run my code and try to access http://localhost:8080/ , I get the following error: Traceback (most recent call last): File "/home/kurumin/Python Files/authtest/web/webapi.py", line 303, in wsgifunc result = func() File "/home/kurumin/Python Files/authtest/web/request.py", line 123, in <lambda> func = lambda: handle(inp, fvars) File "/home/kurumin/Python Files/authtest/web/request.py", line 47, in handle cls = mod[cls] TypeError: unsubscriptable object I am trying to figure out this, but I had no luck so far. I checked some other discussions in the group regarding similar errors, but all of them seemed to be figured out, and the poster wrote that the code in the wiki was wrong, and that it needed to be updated. I'm assuming it was. :) Any help would be greatly appreciated. Regards, MaurĂcio --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
