Skip to content

[BUG] Nyxtext fails to start on MacOS Sonoma and Ubuntu 22.04 #51

@corelon

Description

@corelon

Nyx Text Bug Report

Description

When I try to run editor/scripts/main.py I get the following error:

Traceback (most recent call last):
  File "/Users/nikolaos.tzanos/Documents/projects/personal/nyxtext/editor/scripts/main.py", line 21, in <module>
    from hPyT import *
  File "/Users/nikolaos.tzanos/Documents/projects/personal/nyxtext/.venv/lib/python3.12/site-packages/hPyT/__init__.py", line 9, in <module>
    from .hPyT import (
  File "/Users/nikolaos.tzanos/Documents/projects/personal/nyxtext/.venv/lib/python3.12/site-packages/hPyT/hPyT.py", line 10, in <module>
    set_window_pos = ctypes.windll.user32.SetWindowPos
                     ^^^^^^^^^^^^^
AttributeError: module 'ctypes' has no attribute 'windll'

Steps to Reproduce

Try to run python editor/scripts/main.py

Expected Behavior

Program should start

Actual Behavior

Program fails with the exception mentioned above

Screenshots

N/A

Environment

  • OS: Ubuntu 22.04 and MacOS Sonoma
  • Nyx Text Version: latest from master

Your GitHub Username

@corelon

Labels

bug

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