Hi, I'm looking for a really small Python web framework for an embedded system (with low RAM, CPU, etc.) and ran into web.py, which looks like "the thing".
I'm experimenting with version 0.31 on Debian (which for some reason is called 0.310), but I can't get the "User authentication" example from http://webpy.org/tutorial3 running. Problem: When I try to access http://0.0.0.0:8080, I get a long exception backtrace, starting with: Traceback (innermost first) * /var/lib/python-support/python2.5/web/utils.py in __getattr__ 56. AttributeError: 'a' 57. 58. """ 59. def __getattr__(self, key): 60. try: 61. return self[key] 62. except KeyError, k: 63. raise AttributeError, k ... 64. 65. def __setattr__(self, key, value): 66. self[key] = value 67. 68. def __delattr__(self, key): 69. try: ▶ Local vars Variable Value k KeyError('user',) key 'user' self <Storage {}> Before I'm starting to spam the list with tons of logs, I like to ask: Is the example supposed to work with web.py 0.31? Am I doing something obviously stupid? Many thanks in advance! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
