Closed EnisBerk closed 2 years ago
@EnisBerk can you confirm that you have run python manage.py migrate
on this database before trying to load the package? If you have, then from the errors here I assume what's going on is that the graphs (either resource models or branches) rely on custom functions, widgets, and datatypes that should be loaded by the HER package but are not. Therefore, I think this ticket would be more fitting on the arches_her repo, instead of here on the core Arches repo.
I believe @mradamcox is correct that this is an arches_her issue. I'll transfer this ticket.
I haven't been able to reproduce this issue. @EnisBerk, please let me know if the issue reoccurs for you.
Describe the bug
I am trying to install pkg from her package to default arches installation. I only need graphs and collections. There is an import error for many of the items.
To Reproduce Steps to reproduce the behavior:
Using Python 3.7.10, and postgres (PostgreSQL) 12.7 (Ubuntu 12.7-1.pgdg20.04+1)
1) installed arches stable/5.2.x 2) install pkg with following command
python manage.py packages -o load_package -s ~/arches_her/pkg -db
Logs
Expected behavior Installing graphs and collections from HER package succesfuly.