skariel / webalchemy

Modern web development with Python
MIT License
346 stars 21 forks source link

Hello World Errors: #126

Closed jcrubino closed 10 years ago

jcrubino commented 10 years ago

Error When Running Simple Hello.py https://dpaste.de/1m1J

TL;DR AttributeError: 'WebSocketHandler' object has no attribute 'local_doc_initialized'

skariel commented 10 years ago

It's working in my system- the problem is that webalchemy uses list.clear() which was introduced in Python 3.3 (which is what webalchemy was developed in), and you are using Python 3.2

I'll fix it in a few moments by changing this to del list[:]

Thanks for reporting!

skariel commented 10 years ago

fixed now both in PYPI and github. You can upgrade to the new version

Thanks again for reporting!