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

Crashing when attempting to run #3

Open
Hajto opened this issue Jan 25, 2025 · 0 comments
Open

Crashing when attempting to run #3

Hajto opened this issue Jan 25, 2025 · 0 comments

Comments

@Hajto
Copy link

Hajto commented Jan 25, 2025

Using python3 (3.13.1)
Traceback (most recent call last):
  File "/Users/hajto/Downloads/fake-x1c/fake_x1c/fake_x1c.py", line 57, in <module>
    main(args.printerip, args.printername)
    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hajto/Downloads/fake-x1c/fake_x1c/fake_x1c.py", line 28, in main
    interfaces = socket.getaddrinfo(host=socket.gethostname(), port=None, family=socket.AF_INET)
  File "/opt/homebrew/Cellar/[email protected]/3.13.1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/socket.py", line 975, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

I am calling following poetry run fake_x1c/fake_x1c.py 10.12.10.xxx XXX-XXX-XXX. Obfuscated the values with XXX. The acutal call did not had x-es.

socket.gethostname() returns 'Hajtos-MacBook-Pro.local'

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

No branches or pull requests

1 participant