#3167 AttributeError: 'module' object has no attribute 'lib'
Closed: Invalid Opened by jflorian.

Standing up a new Pagure instance on Fedora 27 using pagure-3.5-1.fc27.noarch
with a PostgreSQL backend. Followed the install/config docs and am getting
the following in my httpd error_log trying to access the site:

mod_wsgi (pid=10244): Target WSGI script '/usr/share/pagure/pagure.wsgi' cannot be loaded as Python module.
mod_wsgi (pid=10244): Exception occurred processing WSGI script '/usr/share/pagure/pagure.wsgi'.
Traceback (most recent call last):
  File "/usr/share/pagure/pagure.wsgi", line 27, in <module>
    from pagure import APP as application
  File "/usr/lib/python2.7/site-packages/pagure/__init__.py", line 187, in <module>
    SESSION = pagure.lib.create_session(APP.config['DB_URL'])
AttributeError: 'module' object has no attribute 'lib'

Any clues? Is this a bug?


Disregard. I traced this down to SEL preventing access to the DB.

Metadata Update from @jflorian:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

Metadata