Openmacro / openmacro

Multimodal Assistant. Human Interface for computers.
https://pypi.org/project/openmacro/
MIT License
87 stars 15 forks source link

os.getlogin() #7

Closed speaqrAI closed 1 month ago

speaqrAI commented 1 month ago

vince@ThinkPad-T490-07da850b:~$ macro Traceback (most recent call last): File "/home/vince/.local/bin/macro", line 5, in from openmacro.main import main File "/home/vince/.local/lib/python3.10/site-packages/openmacro/main.py", line 2, in from .core import Openmacro File "/home/vince/.local/lib/python3.10/site-packages/openmacro/core/init.py", line 1, in from ..computer import Computer File "/home/vince/.local/lib/python3.10/site-packages/openmacro/computer/init.py", line 6, in from ..utils import ROOT_DIR File "/home/vince/.local/lib/python3.10/site-packages/openmacro/utils/init.py", line 16, in USERNAME = os.getlogin() OSError: [Errno 6] No such device or address

i get this error while trying to use macro after it says, it installed. I am using elementary os, dont know if that may cause the problem.

amooo-ooo commented 1 month ago

Yeah, seems like a technical issue surrounding glibc with os.getlogin() on Linux based systems. I'll patch the problem soon, thanks for raising this 👍

amooo-ooo commented 1 month ago

Should be fixed, let me know if anything else is up 🙌