comses / miracle

Repeatable data analysis workflows for computational models
1 stars 3 forks source link

Added command line project loader #20

Closed cpritcha closed 8 years ago

cpritcha commented 8 years ago
cpritcha commented 8 years ago

Works on my machine in vagrant and docker. Any suggestions @alee?

cpritcha commented 8 years ago

I've tried rebuilding the databases fab rebuild_database and recreating the docker containers but migrations still work.

alee commented 8 years ago

Sure, I'll take a look in a little bit. Am currently trying to finish debugging some issues with remote R script execution.

cpritcha commented 8 years ago

Seems to have to do with oauth 204.

cpritcha commented 8 years ago

The latest change gets it to run up to fab coverage. I got it to go a bit further by making sure django applies oauth migrations first. Still fails with the same error ProgrammingError: relation "auth_user" does not exist

cpritcha commented 8 years ago

Got it to not work on my machine.

In order to get this working I need to be able to apply the auth migrations in the test database before the other migrations.

cpritcha commented 8 years ago

I can get a fresh clone to work on my local machine by copying all my old migrations (including the binary .pyc files) to the clone. Without the .pyc files it does not work.

cpritcha commented 8 years ago

I'll add changes one by one and see where it breaks. That seems easier than trying to change the order the migrations are done in the test runner.

cpritcha commented 8 years ago

I merged a copy of the command line loader after checking in the files one by one. Everything seems to work now (but I'm not sure why it was not working before).