[GH-ISSUE #306] RelatedObjectDoesNotExist at /instances/1/ThinPC/ #203

Open
opened 2026-02-27 15:57:44 +03:00 by kerem · 1 comment
Owner

Originally created by @PetrusZ on GitHub (Apr 8, 2020).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/306

Request Method: | GET
-- | --
http://192.168.2.71:80/instances/1/ThinPC/
1.11.28
RelatedObjectDoesNotExist
User has no userattributes.
/srv/webvirtcloud/venv/local/lib/python2.7/site-packages/django/db/models/fields/related_descriptors.py in __get__, line 407
/srv/webvirtcloud/venv/bin/python2
2.7.17
['/srv/webvirtcloud',  '/srv/webvirtcloud/venv/bin',  '/srv/webvirtcloud/venv/lib/python2.7',  '/srv/webvirtcloud/venv/lib/python2.7/plat-x86_64-linux-gnu',  '/srv/webvirtcloud/venv/lib/python2.7/lib-tk',  '/srv/webvirtcloud/venv/lib/python2.7/lib-old',  '/srv/webvirtcloud/venv/lib/python2.7/lib-dynload',  '/usr/lib/python2.7',  '/usr/lib/python2.7/plat-x86_64-linux-gnu',  '/usr/lib/python2.7/lib-tk',  '/srv/webvirtcloud/venv/local/lib/python2.7/site-packages',  '/srv/webvirtcloud/venv/lib/python2.7/site-packages']
Wed, 8 Apr 2020 08:16:06 +0000

Can't get in instances before edit user info. It's best to have to a warning than just throw out error.

Originally created by @PetrusZ on GitHub (Apr 8, 2020). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/306 ``` Request Method: | GET -- | -- http://192.168.2.71:80/instances/1/ThinPC/ 1.11.28 RelatedObjectDoesNotExist User has no userattributes. /srv/webvirtcloud/venv/local/lib/python2.7/site-packages/django/db/models/fields/related_descriptors.py in __get__, line 407 /srv/webvirtcloud/venv/bin/python2 2.7.17 ['/srv/webvirtcloud', '/srv/webvirtcloud/venv/bin', '/srv/webvirtcloud/venv/lib/python2.7', '/srv/webvirtcloud/venv/lib/python2.7/plat-x86_64-linux-gnu', '/srv/webvirtcloud/venv/lib/python2.7/lib-tk', '/srv/webvirtcloud/venv/lib/python2.7/lib-old', '/srv/webvirtcloud/venv/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/srv/webvirtcloud/venv/local/lib/python2.7/site-packages', '/srv/webvirtcloud/venv/lib/python2.7/site-packages'] Wed, 8 Apr 2020 08:16:06 +0000 ``` Can't get in instances before edit user info. It's best to have to a warning than just throw out error.
Author
Owner

@tomkcook commented on GitHub (Oct 21, 2025):

Do you have a workaround for this? I've set a username and email and added an SSH key but still get the same exception. The exception screen isn't easy to copy-and-paste into the issue, but the gist of it is RelatedObjectDoesNotExist at /instances/2/tkc-inst - User has no userattributes.

<!-- gh-comment-id:3427553793 --> @tomkcook commented on GitHub (Oct 21, 2025): Do you have a workaround for this? I've set a username and email and added an SSH key but still get the same exception. The exception screen isn't easy to copy-and-paste into the issue, but the gist of it is `RelatedObjectDoesNotExist at /instances/2/tkc-inst - User has no userattributes`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#203
No description provided.