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

Creating kvmd-webterm homedir error #8

Open
danfmihai opened this issue Nov 5, 2022 · 2 comments
Open

Creating kvmd-webterm homedir error #8

danfmihai opened this issue Nov 5, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@danfmihai
Copy link

chown: invalid user: ‘kvmd-webterm’
drwxr-xr-x 2 root root 4096 Nov  5 16:40 /home/kvmd-webterm
sed: can't read /lib/systemd/system/kvmd-webterm.service: No such file or directory
chown: invalid user: ‘kvmd-webterm’
Traceback (most recent call last):
  File "/usr/local/bin/kvmd", line 6, in <module>
    from kvmd.apps.kvmd import main
  File "/usr/local/lib/python3.9/dist-packages/kvmd/apps/__init__.py", line 40, in <module>
    from ..plugins.hid import get_hid_class
  File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/__init__.py", line 31, in <module>
    class BaseHid(BasePlugin):
  File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/__init__.py", line 67, in BaseHid
    def set_params(self, keyboard_output: (str | None)=None, mouse_output: (str | None)=None) -> None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
Did kvmd -m run properly?  [y/n] n
Please install missing packages as per the kvmd -m output in another ssh/terminal.
Traceback (most recent call last):
  File "/usr/local/bin/kvmd", line 6, in <module>
    from kvmd.apps.kvmd import main
  File "/usr/local/lib/python3.9/dist-packages/kvmd/apps/__init__.py", line 40, in <module>
    from ..plugins.hid import get_hid_class
  File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/__init__.py", line 31, in <module>
    class BaseHid(BasePlugin):
  File "/usr/local/lib/python3.9/dist-packages/kvmd/plugins/hid/__init__.py", line 67, in BaseHid
    def set_params(self, keyboard_output: (str | None)=None, mouse_output: (str | None)=None) -> None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Any idea why I get this error? I'm using arambian on a Orangepi PC2. Thanks.

@xe5700
Copy link
Owner

xe5700 commented Nov 7, 2022

Bug fix by rm /usr/local/lib/python3.9/dist-packages/kvmd, it will auto create account by systemd when you reboot

@xe5700 xe5700 added the bug Something isn't working label Nov 17, 2022
@finzzz
Copy link

finzzz commented Dec 30, 2022

doesn't work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants