#20 update resultsdb for new python-flask-wtf
Closed: Fixed Opened by tflink.

With the update to python-flask-wtf on fedora 20, resultsdb crashes on any incoming requests due to an import change:

mod_wsgi (pid=16481): Target WSGI script '/usr/share/resultsdb/resultsdb.wsgi' cannot be loaded as Python module.
mod_wsgi (pid=16481): Exception occurred processing WSGI script '/usr/share/resultsdb/resultsdb.wsgi'.
Traceback (most recent call last):
  File "/usr/share/resultsdb/resultsdb.wsgi", line 15, in <module>
    from resultsdb import app as application
  File "/usr/lib/python2.7/site-packages/resultsdb/__init__.py", line 129, in <module>
    from resultsdb.controllers.login_page import login_page
  File "/usr/lib/python2.7/site-packages/resultsdb/controllers/login_page.py", line 21, in <module>
    from flask.ext.wtf import Form, TextField, PasswordField, HiddenField, RadioField
  File "/usr/lib/python2.7/site-packages/flask/exthook.py", line 87, in load_module
    raise ImportError('No module named %s' % fullname)
ImportError: No module named flask.ext.wtf.TextField

Fix resultsdb for the new version of flask-wtf and verify fix locally.


Closed by commit rRSDB7bc8305777f6.

Metadata