Hi Alexei, Thanks for having a look. This is what I'm seeing....
best, Lily --------------- Mar 03 09:41:09.941 [staging-arches-ruscha] arches 127.0.0.1 - - [03/Mar/2020:17:41:09 +0000] “DELETE /arches/ruscha/graph/f5ed3e88-550f-11ea-a96c-02ba3a331460/delete HTTP/1.0” 500 27483 “https://staging-tools.getty.edu/arches/ruscha/graph/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:73.0) Gecko/20100101 Firefox/73.0” Mar 03 09:41:09.940 [staging-arches-ruscha] arches arches.app.models.models.Value.DoesNotExist: Value matching query does not exist. Mar 03 09:41:09.940 [staging-arches-ruscha] arches raise self.model.DoesNotExist( Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py”, line 406, in get Mar 03 09:41:09.940 [staging-arches-ruscha] arches return getattr(self.get_queryset(), name)(*args, **kwargs) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/ENV/lib/python3.8/site-packages/django/db/models/manager.py”, line 82, in manager_method Mar 03 09:41:09.940 [staging-arches-ruscha] arches self.value_lookup[valueid] = models.Value.objects.get(pk=valueid) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/arches/arches/app/datatypes/concept_types.py”, line 32, in get_value Mar 03 09:41:09.940 [staging-arches-ruscha] arches new_val = self.get_value(uuid.UUID(val)) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/arches/arches/app/datatypes/concept_types.py”, line 275, in get_display_value Mar 03 09:41:09.940 [staging-arches-ruscha] arches value = datatype.get_display_value(tile, node) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/arches/arches/app/functions/primary_descriptors.py”, line 29, in get_primary_descriptor_from_nodes Mar 03 09:41:09.940 [staging-arches-ruscha] arches return PrimaryDescriptorsFunction.get_primary_descriptor_from_nodes(self, functionConfig[0].config[descriptor]) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/arches/arches/app/models/resource.py”, line 66, in get_descriptor Mar 03 09:41:09.940 [staging-arches-ruscha] arches return self.get_descriptor(“name”) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/arches/arches/app/models/resource.py”, line 80, in displayname Mar 03 09:41:09.940 [staging-arches-ruscha] arches self.save_edit(edit_type=“delete”, user=user, note=self.displayname) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/arches/arches/app/models/resource.py”, line 346, in delete Mar 03 09:41:09.940 [staging-arches-ruscha] arches resource.delete() Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/arches/arches/app/models/graph.py”, line 417, in delete_instances Mar 03 09:41:09.940 [staging-arches-ruscha] arches graph.delete_instances() Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/arches/arches/app/views/graph.py”, line 414, in delete Mar 03 09:41:09.940 [staging-arches-ruscha] arches return view_func(request, *args, **kwargs) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/ENV/lib/python3.8/site-packages/django/contrib/auth/decorators.py”, line 21, in _wrapped_view Mar 03 09:41:09.940 [staging-arches-ruscha] arches return bound_method(*args, **kwargs) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/ENV/lib/python3.8/site-packages/django/utils/decorators.py”, line 45, in _wrapper Mar 03 09:41:09.940 [staging-arches-ruscha] arches return handler(request, *args, **kwargs) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/ENV/lib/python3.8/site-packages/django/views/generic/base.py”, line 97, in dispatch Mar 03 09:41:09.940 [staging-arches-ruscha] arches return self.dispatch(request, *args, **kwargs) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/ENV/lib/python3.8/site-packages/django/views/generic/base.py”, line 71, in view Mar 03 09:41:09.940 [staging-arches-ruscha] arches response = wrapped_callback(request, *callback_args, **callback_kwargs) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/ENV/lib/python3.8/site-packages/django/core/handlers/base.py”, line 113, in _get_response Mar 03 09:41:09.940 [staging-arches-ruscha] arches response = self.process_exception_by_middleware(e, request) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/ENV/lib/python3.8/site-packages/django/core/handlers/base.py”, line 115, in _get_response Mar 03 09:41:09.940 [staging-arches-ruscha] arches response = get_response(request) Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/ENV/lib/python3.8/site-packages/django/core/handlers/exception.py”, line 34, in inner Mar 03 09:41:09.940 [staging-arches-ruscha] arches Traceback (most recent call last): Mar 03 09:41:09.940 [staging-arches-ruscha] arches During handling of the above exception, another exception occurred: Mar 03 09:41:09.940 [staging-arches-ruscha] arches KeyError: UUID(‘f874a20e-795c-408e-ab80-b56101b4930c’) Mar 03 09:41:09.940 [staging-arches-ruscha] arches return self.value_lookup[valueid] Mar 03 09:41:09.940 [staging-arches-ruscha] arches File “/web_root/arches/arches/app/datatypes/concept_types.py”, line 30, in get_value Mar 03 09:41:09.940 [staging-arches-ruscha] arches Traceback (most recent call last): Mar 03 09:41:09.940 [staging-arches-ruscha] arches Internal Server Error: /arches/ruscha/graph/f5ed3e88-550f-11ea-a96c-02ba3a331460/delete On Tuesday, March 3, 2020 at 10:01:31 AM UTC-8, Alexei Peters wrote: > > Hi Lily, > Are you getting any error messages in the terminal running Arches, or any > messages in the arches.log file? > Cheers, > Alexei > > Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 > > > On Mon, Mar 2, 2020 at 4:42 PM Lily Pregill <[email protected] > <javascript:>> wrote: > >> Hi all, >> >> I have a data model that I'm trying to delete in a v.5 instance, but the >> system is preventing me from removing it. I suspect I deleted a concept and >> resource in the wrong order and there are data remnants lingering in the >> system. I've tried to Delete Instances under the Arches Designer --> Manage >> and I get the following: >> >> Request Failed... >> >> >> Sorry! The request failed. Please try again. Contact your system >> administrator if the problem persists. >> >> >> I get the same message when I go to Manage --> Delete Model. >> >> >> I currently don't have any resources in the system, but I would like to >> avoid wiping this instance and starting again. Any suggestions for things >> to try from the community would be most welcome. >> >> >> Thanks, >> >> Lily >> >> -- >> -- To post, send email to [email protected] <javascript:>. To >> unsubscribe, send email to [email protected] <javascript:>. For >> more information, visit >> https://groups.google.com/d/forum/archesproject?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Arches Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/archesproject/08969c3a-5e61-4bd0-9dda-94e47c21d9b1%40googlegroups.com >> >> <https://groups.google.com/d/msgid/archesproject/08969c3a-5e61-4bd0-9dda-94e47c21d9b1%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/887c7b93-fcae-4c49-8a94-7c7144ec1a6d%40googlegroups.com.
