msmexplorer / msmexplorer-d3

A d3.js/HTML5 webtool for analysis and interactive visualization of MSM data.
http://msmexplorer-d3.herokuapp.com
MIT License
2 stars 0 forks source link

Installation #13

Closed girodat closed 6 years ago

girodat commented 6 years ago

I have been trying to install msmexplorer-d3 and I run into the error

File "app.py", line 87 print "if youre developing locally, you need to get the MONGOLAB_URI" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print "if youre developing locally, you need to get the MONGOLAB_URI")?

when trying to run python app.py

I am not familiar with MONGOLAB or with heroku and I feel like the problem is within these two dependencies.

Any help would be appreciated.

Cheers, Dylan

cxhernandez commented 6 years ago

Well, this particular error is due to two things: 1) using Python 3 to run a Python 2.7 app (see conda-requirements.txt for a full list of dependencies) and 2) it seems that MONGOLAB_URI has be changed to MONGODB_URI. You can find more information about this in the Heroku docs.

It seems that the demo is also affected by these changes. In all honesty, I have not been maintaining this package since starting msmbuilder/msmexplorer, so I'm not 100% sure how much work it might take to get this working on Heroku again.