Skip to content

startup issues #3

Description

@AnilDaoud

Trying to run this on mac os with python 3.6.5, can you point me to what i am not doing right?

as per the readme, i first run:
PYTHONPATH=./OmegaUI/ python socket_logging.py flask run
Output is

  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 976-742-544
    (48529) wsgi starting up on http://0.0.0.0:5000

Then i run
PYTHONPATH=./OmegaUI/ python omega_ui/app.py
Output is

/usr/local/lib/python3.6/site-packages/empyrical/utils.py:32: UserWarning:

Unable to import pandas_datareader. Suppressing import error and continuing. All data reading functionality will raise errors; but has been deprecated and will be removed in a later version.

  • Serving Flask app "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:8050/ (Press CTRL+C to quit)
  • Restarting with stat
    /usr/local/lib/python3.6/site-packages/empyrical/utils.py:32: UserWarning:

Unable to import pandas_datareader. Suppressing import error and continuing. All data reading functionality will raise errors; but has been deprecated and will be removed in a later version.

  • Debugger is active!
  • Debugger PIN: 366-796-704

Then when i navigate to http://localhost:8050/
i see:

redis.exceptions.ConnectionError: Error 61 connecting to 127.0.0.1:6379. Connection refused.

And the page layout is all garbled, i can't input or select anything anywhere. See screenshot
screenshot

I have tried modifying socket_logging.py and forcing it to start on port 6379 (changing the last line to socketio.run(s_app, host='0.0.0.0', debug=True, port=6379) ) but then i get the following error:

redis.exceptions.ConnectionError: Error while reading from socket: ('Connection closed by server.',)

And on the redis side:

(48768) wsgi starting up on http://0.0.0.0:6379
(48768) accepted ('127.0.0.1', 58583)
127.0.0.1 - - [29/Jul/2018 16:38:48] code 400, message Bad request syntax ('*2')
127.0.0.1 - - [29/Jul/2018 16:38:48] "*2" 400 -
(48768) accepted ('127.0.0.1', 58584)
127.0.0.1 - - [29/Jul/2018 16:38:48] code 400, message Bad request syntax ('*2')
127.0.0.1 - - [29/Jul/2018 16:38:48] "*2" 400 -

tx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions