Skip to content

Fails to start #8

@DoDoENT

Description

@DoDoENT

OS: MacOS 12.6 on Apple Silicon (M1Pro)
Python: 3.10.6 from Homebrew

When starting cruiz, I get the following output:

$ cruiz
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.10/site-packages/psutil/_psosx.py", line 343, in wrapper
    return fun(self, *args, **kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/psutil/_psosx.py", line 401, in cmdline
    return cext.proc_cmdline(self.pid)
ProcessLookupError: [Errno 3] assume no such process (originated from sysctl(KERN_PROCARGS2) -> EINVAL)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/homebrew/bin/cruiz", line 8, in <module>
    sys.exit(main())
  File "/opt/homebrew/lib/python3.10/site-packages/cruiz/entrypoint.py", line 138, in main
    window = MainWindow()
  File "/opt/homebrew/lib/python3.10/site-packages/cruiz/mainwindow.py", line 197, in __init__
    self._configure_ssh_agent_statusbar()
  File "/opt/homebrew/lib/python3.10/site-packages/cruiz/mainwindow.py", line 270, in _configure_ssh_agent_statusbar
    if "ssh-agent" in process.name():
  File "/opt/homebrew/lib/python3.10/site-packages/psutil/__init__.py", line 628, in name
    cmdline = self.cmdline()
  File "/opt/homebrew/lib/python3.10/site-packages/psutil/__init__.py", line 681, in cmdline
    return self._proc.cmdline()
  File "/opt/homebrew/lib/python3.10/site-packages/psutil/_psosx.py", line 348, in wrapper
    raise NoSuchProcess(self.pid, self._name)
psutil.NoSuchProcess: process no longer exists (pid=1100)

And then the app just hangs - no GUI is displayed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions