Closed sndrtj closed 8 years ago
Hello sndrtj , Thanks a lot for reporting. It looks like the docs are missing a critical step. I will try again to reinstall the whole app from scratch to see what's missing, and will fix it asap. I have an idea of what happens here. Stay in touch !
I published a fix for that bug, along with important changes from our master branch. The (mysql) users db is empty at this point but the app wanted to do something with it. I also fixed the docs following that point, as the Roles entries have to be filled before the Users entries. I could successfully run the backend server from a fresh git clone of the Github version. Tell me if you could not.
Thanks for the quick reply! It seems to work now :-)
One small issue I had is with the last loaddata
command. Loading the data_dbaccess.json
will fail because the mydb.db
that is created is is obviously empty. You might want to add a sentence about first having to create a Gemini database under that name before running said command.
Very true, thanks. Actually what I want is to ship a small test database so that it works right away. But I must be very careful with what data I share publicly...
My main concern now is that because I have to hard-code models in Django, it will complain if one of the expected annotations is not found in the Gemini db. There is a new chapter in the docs about what commands we run with both VEP and Gemini after calling with GATK. Please tell me if you run into such an issue. As a quick fix I may deactivate some annotation on this branch.
Hi there,
I've been trying to set up an instance of varapp, but I'm stuck at the database migrations step. Per the documentation it should be as simple as running as
python manage migrate
after setting up the database, but this step fails with the following stacktrace:The error seems to be at line 47 in
varapps/app.py
. TheVarappConfig
object attempt to load allVariantsDb
objects before the table has been created.This not only causes
migrate
to fail, but pretty much any command ofmanage.py
(even-h
does not work)I've tried the approach outlined here, but - although I do get
manage -h
to work again - uncommenting varapp from theINSTALLED_APPS
list causes another exception (RuntimeError: Model class varapp.models.gemini.GeneDetailed doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
as might be reasonably expected).