arches project loading package error

54 views
Skip to first unread message

Ελένη Γκαδόλου

unread,
Mar 9, 2020, 3:29:22 PM3/9/20
to Arches Development
Hello, 

I am new to Arches project and with almost limited programming skills but I have installed Arches succesfully in order to test it and promote it in my team for further exploitation. Nevertheless, I try to load a demo package (as given here by the installation instructions: python manage.py packages -o load_package -s https://github.com/archesproject/arches4-example-pkg/archive/master.zip -db true) - actually I have downloaded the zip file and point to my disc directory. When I open the arches project (localhost:8000) I can't see the loaded resource models or can't load any new. I attach the command prompt results. Is there an error/conflict in the whole procedure? I see for example the following:

psycopg2.errors.ForeignKeyViolation: insert or update on table "resource_2_resource_constraints" violates foreign key constraint "resource_2_resource__resourceclassfrom_fc606e16_fk_nodes_nod"
DETAIL:  Key (resourceclassfrom)=(99417384-b8fa-11e6-84a5-026d961c88e6) is not present in table "nodes".

or also this: Could not connect to db

Could you please help?

Thank you!

Eleni
command_prompt.txt

Annabel Enriquez

unread,
Mar 9, 2020, 10:20:00 PM3/9/20
to Arches Development
Hello Eleni,

I think that perhaps the issue here is that we have not yet posted a similar demo package for Arches v5. On the main Arches forum, there was a post asking about a package (the HIP package) that existed for older versions of Arches (https://groups.google.com/forum/#!topic/archesproject/jUNXRsz5Ty4) and there is some direction there. However, I wanted to let you know that we are in the process of creating a sample package for v5 along with more documentation for creating and customizing resource models that will hopefully be of help to you and everyone else who would like a starting point in configuring Arches. Until that happens, you can also configure Arches via the interface without loading an existing package. 

We will be posting an announcement about the new package resources via our main forum as well as via social media, so be sure to follow the Arches project via one of those channels. 

All the best,

Annabel
Arches team

Eleni Gadolou

unread,
Mar 11, 2020, 7:52:36 AM3/11/20
to arche...@googlegroups.com
Thank you very much!

--
You received this message because you are subscribed to the Google Groups "Arches Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arches-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/arches-dev/b8f6e153-195a-4993-85d9-879d209d935e%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages