Hi, Following the instructions [1], I cloned and tried "bin/quick-setup.sh". It ended in failure:
[...] Setting up system-config-printer (1.5.12-1) ... Setting up python3-django-jsonfield (1.1.0-2) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for man-db (2.9.0-2) ... Processing triggers for mime-support (3.64) ... QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' >>> Installing a configuration file >>> Downloading a pre-built sample database file Traceback (most recent call last): File "bin/sample-database-url", line 20, in <module> download_url = td.parent.findChild('a', class_='btn-build')['href'] TypeError: 'NoneType' object is not subscriptable I can't run it a second time: $ bin/quick-setup.sh ERROR: You already have a configuration file (distro_tracker/project/settings/ local.py) So I tried the the next step -- start a local test server: $ ./manage.py runserver Performing system checks... System check identified no issues (0 silenced). You have 41 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): accounts, admin, auth, contenttypes, core, debian, django_email_accounts, mail, sessions. Run 'python manage.py migrate' to apply them. February 23, 2020 - 01:41:08 Django version 2.2.10, using settings 'distro_tracker.project.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. Suggestions as to what to do about the "unapplied migrations"? The web server is available, but it seems broken. Tried to search for a package and I get: OperationalError at /search no such table: core_packagename Request Method: GET Request URL: http://127.0.0.1:8000/search?package_name=gmp Django Version: 2.2.10 Exception Type: OperationalError Exception Value: no such table: core_packagename Exception Location: /usr/lib/python3/dist-packages/django/db/backends/ sqlite3/base.py in execute, line 383 Python Executable: /usr/bin/python3 Python Version: 3.7.6 Python Path: ['/home/steve/Packages/pts/distro-tracker', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/home/steve/.local/lib/python3.7/site-packages', '/usr/local/lib/python3.7/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.7/dist-packages'] Server time: Sun, 23 Feb 2020 01:44:18 +0000 [1] https://qa.pages.debian.net/distro-tracker/contributing.html
signature.asc
Description: This is a digitally signed message part.