compsoc-edinburgh / mapp

πŸ—ΊοΈπŸ“‘πŸ’ƒ The Marauders App helps you find rooms with free machines in university labs and helps you find your friends. It does this by SSHing into every machine and dialling home.
https://mapp.betterinformatics.com
MIT License
4 stars 4 forks source link

Fix Pipfile & set up Travis #14

Closed neanias closed 5 years ago

neanias commented 6 years ago

Oh, joy

On 31 Oct 2018, at 16:02, Qais Patankar notifications@github.com wrote:

@qaisjp requested changes on this pull request.

A 404 is now being reported for all pages.

  • Serving Flask app "map:app" (lazy loading)
  • Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead.
  • Debug mode: on
  • Running on http://0.0.0.0:9000/ (Press CTRL+C to quit)
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 155-229-607 192.41.131.250 - - [31/Oct/2018 15:52:19] "GET / HTTP/1.0" 404 - 192.41.131.250 - - [31/Oct/2018 15:52:49] "GET /about HTTP/1.0" 404 - 192.41.131.250 - - [31/Oct/2018 15:52:52] "GET /site/6.06 HTTP/1.0" 404 - 192.41.131.250 - - [31/Oct/2018 15:52:58] "GET / HTTP/1.0" 404 -

β€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

neanias commented 6 years ago

@qaisjp, what action caused this error?

qaisjp commented 6 years ago

@qaisjp, what action caused this error?

After logging in, visiting /site/6.06.

qaisjp commented 6 years ago

That fixed the error.

New error (GET / not logged in)

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/code/map/__init__.py", line 38, in <module>
    app = create_app()
  File "/code/map/__init__.py", line 20, in create_app
    from .blueprints import api, auth, views
  File "/code/map/blueprints/api.py", line 16, in <module>
    bp.config.from_object('config')
AttributeError: 'Blueprint' object has no attribute 'config'
qaisjp commented 5 years ago

It saddens me to close this but it likely will never be merged. Too many changes / too buggy.

It is worth slow incorporating changes from this PR still