#1528 unable to run pagure_createdb.py script
Closed: Fixed Opened by wattersmt.

I am attempting to install pagure on a Fedora 24 server however there appears to be an issue in the database creation script. When I run "PAGURE_CONFIG=/etc/pagure/pagure.cfg python /usr/share/pagure/pagure_createdb.py" I receive the following error message.

PAGURE_CONFIG=/etc/pagure/pagure.cfg python /usr/share/pagure/pagure_createdb.py
Traceback (most recent call last):
File "/usr/share/pagure/pagure_createdb.py", line 7, in
from pagure import APP
File "/usr/lib/python2.7/site-packages/pagure/init.py", line 93, in
from flask_fas_openid import FAS
ImportError: No module named flask_fas_openid

There doesn't appear to be a package that provides this module in Fedora and pip also has no results.


The package is part of python-fedora: https://pagure.io/pagure/blob/master/f/requirements.txt#_35

In Fedora the package name is python-fedora-flask, you can just dnf install it :)

In Fedora the package name is python-fedora-flask, you can just dnf install it :)

Thanks. That appears to have resolved the issue.

Let's close as such then, thanks :)

@pingou changed the status to Closed

Metadata