Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not read XML param #31

Closed
savichev opened this issue Jul 1, 2015 · 2 comments
Closed

not read XML param #31

savichev opened this issue Jul 1, 2015 · 2 comments

Comments

@savichev
Copy link
Contributor

savichev commented Jul 1, 2015

Hi!
I add this code in file vrtManager/instance.py

def graphics_passwd(self, name):
    inst = self.get_instance(name)
    gpasswd = util.get_xml_path(inst.XMLDesc(0), "/domain/devices/graphics/@passwd")
    if gpasswd is None:
        return ''
    return gpasswd

result always is None.

@savichev
Copy link
Contributor Author

savichev commented Jul 1, 2015

for example

def graphics_type(self, name):
    inst = self.get_instance(name)
    gtype = util.get_xml_path(inst.XMLDesc(0), "/domain/devices/graphics/@type")
    return gtype

return the correct result

@savichev
Copy link
Contributor Author

savichev commented Jul 1, 2015

decision proved to zero

@savichev savichev closed this as completed Jul 1, 2015
catborise added a commit that referenced this issue Aug 17, 2023
* Log for failed login attempts

* Logger configuration for logging to file

* interface fixes

* login log fix, added logged in too

* bootstrap icons setup

* font-awesome icons replaced with bootstrap icons

* replaced i-tags with django_bootstrap_icons

* removed icons library from project

* bug fix

---------

Co-authored-by: catborise <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant