[GH-ISSUE #392] errror setting VNC parameters #295

Closed
opened 2026-02-27 16:38:45 +03:00 by kerem · 1 comment
Owner

Originally created by @dilib on GitHub (Aug 23, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/392

using 05ff41cc20

when trying to set VNC password or VNC keymap, I recieve an server error:

ERROR:django.request:Internal Server Error: /instance/1/test/
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 115, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/var/www/webvirtmgr/instance/views.py", line 567, in instance
    conn.set_vnc_keymap(keymap)
  File "/var/www/webvirtmgr/vrtManager/instance.py", line 403, in set_vnc_keymap
    graphics_vnc = root.find("devices/graphics[@type='vnc']")
  File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 330, in find
    return ElementPath.find(self, path)
  File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
    return _compile(path).find(element)
  File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
    p = Path(path)
  File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in __init__
    "expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)
[23/Aug/2014 18:22:43] "POST /instance/1/test/ HTTP/1.1" 500 1849
Originally created by @dilib on GitHub (Aug 23, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/392 using 05ff41cc20 when trying to set VNC password or VNC keymap, I recieve an server error: ``` ERROR:django.request:Internal Server Error: /instance/1/test/ Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 115, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/var/www/webvirtmgr/instance/views.py", line 567, in instance conn.set_vnc_keymap(keymap) File "/var/www/webvirtmgr/vrtManager/instance.py", line 403, in set_vnc_keymap graphics_vnc = root.find("devices/graphics[@type='vnc']") File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 330, in find return ElementPath.find(self, path) File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find return _compile(path).find(element) File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile p = Path(path) File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in __init__ "expected path separator (%s)" % (op or tag) SyntaxError: expected path separator ([) [23/Aug/2014 18:22:43] "POST /instance/1/test/ HTTP/1.1" 500 1849 ```
kerem closed this issue 2026-02-27 16:38:46 +03:00
Author
Owner

@dilib commented on GitHub (Aug 27, 2014):

same error is also in method set_vnc_password()

<!-- gh-comment-id:53588432 --> @dilib commented on GitHub (Aug 27, 2014): same error is also in method set_vnc_password()
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/webvirtmgr#295
No description provided.