GithubHelp home page GithubHelp logo

centerforcollectivelearning / dive-backend Goto Github PK

View Code? Open in Web Editor NEW
157.0 157.0 42.0 2.56 MB

Codebase for DIVE backend (server, worker, and ORM)

License: GNU General Public License v3.0

Python 94.58% Shell 0.06% HTML 5.36%

dive-backend's People

Contributors

gurum avatar juliaguo avatar kevinzenghu avatar psehong avatar szwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dive-backend's Issues

Missing dependencies

To name a few: pandas, flask, yaml, flask_compress, flask_cors, flask_login, flask_sqlalchemy etc.

Maybe this was never tried to be installed into a newly installed virtual machine like mine? I used an 18.04 LTS Ubuntu Server, completely fresh VM. If you need a more full list, I am happy to provide it, but then I would like you to promise that you'll merge it in :)

Website's registration broken

Both Firefox and Chrome complain about CORS and registration does not succeed. I have all blocking/adblocks/privacy badger/etc. turned off. Here is the Chrome console output:

register:1 Failed to decode downloaded font: https://d33wubrfki0l68.cloudfront.net/a571dd4a0c7e19690e66cf444b06be148f0f5ebb/b5b4a/assets/fonts/segoe-ui/segoeuisl.ttf
register:1 OTS parsing error: OS/2: Failed to parse table
register:1 Access to fetch at 'https://dive-api.media.mit.edu/auth/v1/anonymous_user' from origin 'https://dive.media.mit.edu' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
dive-api.media.mit.edu/auth/v1/anonymous_user:1 Failed to load resource: net::ERR_FAILED
register:1 Uncaught (in promise) TypeError: Failed to fetch
register:1 Access to fetch at 'https://dive-api.media.mit.edu/auth/v1/register' from origin 'https://dive.media.mit.edu' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
dive-api.media.mit.edu/auth/v1/register:1 Failed to load resource: net::ERR_FAILED
bundle.js:1 Registration failed TypeError: Failed to fetch
register:1 Failed to decode downloaded font: https://d33wubrfki0l68.cloudfront.net/a571dd4a0c7e19690e66cf444b06be148f0f5ebb/b5b4a/assets/fonts/segoe-ui/segoeuisl.ttf
register:1 OTS parsing error: OS/2: Failed to parse table

Is DIVE project active ??

I see not much movement in git repo for DIVE since June 2018.
Is the project in "Active" state ?

Also, how much data DIVE can handle for regression or correlation ??

Docker?

Is there a Docker image? Thanks.

unable to buld docker

Downloading https://files.pythonhosted.org/packages/7c/ef/79873517838910e8f1bd5610ab3de380a3886675103072727266eec91bbc/dbf-0.94.003.tar.gz (79kB)
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9f0aorln/dbf/setup.py'"'"'; file='"'"'/tmp/pip-install-9f0aorln/dbf/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: /tmp/pip-install-9f0aorln/dbf/
Complete output (8 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-9f0aorln/dbf/setup.py", line 4, in
import dbf
File "/tmp/pip-install-9f0aorln/dbf/dbf.py", line 339
print args
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1

Delete & CORS

When I delete a project, that project is deleted from the front end, but it reappears when I re-enter or reload the page.

SEC7120: [CORS] The origin 'https://dive.media.mit.edu' did not find 'https://dive.media.mit.edu' in the Access-Control-Allow-Origin response header for cross-origin resource at 'https://dive-api.media.mit.edu/projects/v1/projects/1643'.

HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request. (Fetch) DELETE - https://dive-api.media.mit.edu/projects/v1/projects/1643

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.