Open pdeclerc opened 12 years ago
Got the same problem on Arch Linux 64 bit
Traceback (most recent call last):
File "create_db.py", line 2, in <module>
from route53.models import db
File "/home/mathew/Sources/route53manager/route53/__init__.py", line 5, in <module>
from route53.views.zones import zones
File "/home/mathew/Sources/route53manager/route53/views/zones.py", line 8, in <module>
from route53.forms import ZoneForm
File "/home/mathew/Sources/route53manager/route53/forms.py", line 1, in <module>
from flaskext import wtf
File "/home/mathew/Sources/route53manager/lib/python2.7/site-packages/flaskext/wtf/__init__.py", line 72, in <module>
__all__ += fields.__all__
AttributeError: 'module' object has no attribute '__all__'
Same problem with Ubuntu 10.04 (french). Python and python-pip were installed with apt-get.
Same issue on OSX 10.7.4
This may be related to an issue in Flask-WTF (https://bitbucket.org/danjac/flask-wtf/issue/21/flask-wtf-is-broken-with-wtforms-10)
Try upgrading to Flask-WTF==0.6
(or Flask-WTF<0.8
)
In case you are running in a virtual environment, run the following:
/path/to/your/environment/bin/pip install "Flask-WTF<0.8"
Running this pulled in version 0.6 for me and it was working again! Note that Flask-WTF >= 0.8
requires Flask 0.9
! If you're okay with that, you can of course install a more recent version of Flask-WTF
:)
:+1: for @exhuma — that fixed it. Thanks!
i am also come across this issue, and upgrading to Flask-WTF==0.6 ,then fix it .thanks,suggest upgrade the requirements.txt ‘s content : Flask==0.10 Flask-SQLAlchemy==0.9.1 Flask-WTF==0.6 simplejson -e git://github.com/boto/boto.git#egg=boto pyactiveresource==1.0.1
Hello I tried to configure Route53Manager and when executing "create_db.py I get the following message: Traceback (most recent call last): File "./create_db.py", line 2, in
from route53.models import db
File "/root/route53manager/route53/init.py", line 5, in
from route53.views.zones import zones
File "/root/route53manager/route53/views/zones.py", line 8, in
from route53.forms import ZoneForm
File "/root/route53manager/route53/forms.py", line 1, in
from flaskext import wtf
File "/usr/local/lib/python2.7/dist-packages/flaskext/wtf/init.py", line 72, in
all += fields.all
AttributeError: 'module' object has no attribute 'all'