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

ubuntu 20 no virtualization tab #304

Open
dongfanglong2012 opened this issue Jun 15, 2020 · 6 comments
Open

ubuntu 20 no virtualization tab #304

dongfanglong2012 opened this issue Jun 15, 2020 · 6 comments
Labels

Comments

@dongfanglong2012
Copy link

I have installed wok kimchi and ginger-base after editing the .deb to have pyrhon3 where needed. I kept finding in various places that doing so would fix the dependencies problem on ubuntu 20. The wok page does load just fine and there are no errors. I also changed the "/etc/kimchi/template.conf" file to point to images as mine is not default. I still have not virtualization tab though. I don't know what information would help but if there is anything you need to know let me know and ill try to provide it.

@dongfanglong2012
Copy link
Author

dongfanglong2012 commented Jun 15, 2020

found some more info from sudo python3 /bin/wokd --environment=dev
https://pastebin.com/mZzsa5S8

this line is odd to me.
("Config error in section: 'wok', option: 'enable', value: 'True'. Config values must be valid Python.", 'TypeError',

because the file has enable = True and last i checked that is a valid command in python. i even tested it locally and it works. So im not sure what it means by valid python.

also checked the pydocs for 3.8 to see if it was right.
https://docs.python.org/3/library/configparser.html
and it looks right to me so i have no idea what it is wanting

@ejinnis
Copy link

ejinnis commented Aug 26, 2020

+1 on this. Just installed on Ubuntu 20.04 and I am getting the exact same error.

@fisimania
Copy link

+1 on this. I have the same error on Ubuntu 20.04.

@nrdmtt
Copy link

nrdmtt commented Sep 30, 2020

Can you check /var/log/wok/wok-error.log to better understand the problem? I suspect it is something related to issue 1318

@fisimania
Copy link

Log says:
Failed to load plugin conf from /etc/wok/plugins.d/kimchi.conf: ("Config error in section: 'wok', option: 'enable', value: 'True'. Config values must be valid Python.", 'TypeError', ("unrepr does not recognize 'Constant'",))

If I change function "def build(self, o):" in "class _Builder3:" to
"def build(self, o):
return o.value"
then kimchi plugin is loading, but noVNC is not working.

@nrdmtt
Copy link

nrdmtt commented Sep 30, 2020

Yep, that is another problem with ubuntu 20 :) All should be fixed with the next release.

If you are on a headless machine, see here for a temporary workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants