Closed azaroth42 closed 4 years ago
Same error occurs with local copy of the file (as anticipated). Previous issue with missing APP_ROOT isn't the cause (it's in settings_local.py).
I'll try building a new container from master, and try to load in the package and see if I replicate this so I can pin down why it happened.
Thanks Ben! I'm working from current master. Can experiment with a previous version, but in order to test archesproject/#5299 it would be good to have it aligned. Hopefully not too much work!
The error comes when it attempts to load an internal file '$APP_ROOT/arches/app/functions/primary_descriptors.py' using the fn.py plugin loader. Why this is I am not sure, I have asked on the slack. I am beginning to suspect that they anticipate that all packages would be loaded into blank or separate Arches 'projects' and that trying to add one to the root instance is not their use pattern.
Yep, I just had it confirmed that the assumption is that Arches will be installed and then you will set up an Arches 'project' and that the package installation/handling code is written based on this assumption
python manage.py packages -o load_package -s https://github.com/thegetty/arches-urldatatype/archive/v1.1.zip -y
Generates this traceback:
Not sure if this is a new package API requirement or why the error is happening :(