Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Bug report: Python script won't start

A topic by >Lit______ created 45 days ago Views: 43 Replies: 3
Viewing posts 1 to 4

(.venvs) [arch btw]$ python3 '/home/lit/Downloads/PyNori v2.0.2/game.py' 

pygame 2.6.1 (SDL 2.28.4, Python 3.13.5)

Hello from the pygame community. https://www.pygame.org/contribute.html

Heads up! Because you're not playing on Windows, rpc_id.dll is useless for you. You should be able to delete it and still play the game.

= A SERIOUS ERROR HAS OCCURRED! =

PyNori version: 2.0.2

Timestamp: 2025-08-25 06:56:28.774160

Error Message: [Errno 111] Connection refused

Traceback (oldest to most recent):

  File "/home/lit/Downloads/PyNori v2.0.2/game.py", line 11310, in <module>

    try: PyNoriRPC_ClientID = bytes.fromhex("31333830333633363634383333353135353330").decode(); RPC = Presence(str(PyNoriRPC_ClientID)); RPC.connect()

                                                                                                                                         ~~~~~~~~~~~^^

  File "/home/lit/.venvs/lib/python3.13/site-packages/pypresence/presence.py", line 43, in connect

    self.loop.run_until_complete(self.handshake())

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete

    return future.result()

           ~~~~~~~~~~~~~^^

  File "/home/lit/.venvs/lib/python3.13/site-packages/pypresence/baseclient.py", line 112, in handshake

    self.sock_reader, self.sock_writer = await asyncio.wait_for(asyncio.open_unix_connection(ipc_path), self.connection_timeout)

                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3.13/asyncio/tasks.py", line 507, in wait_for

    return await fut

           ^^^^^^^^^

  File "/usr/lib/python3.13/asyncio/streams.py", line 97, in open_unix_connection

    transport, _ = await loop.create_unix_connection(

                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

        lambda: protocol, path, **kwds)

        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3.13/asyncio/unix_events.py", line 263, in create_unix_connection

    await self.sock_connect(sock, path)

  File "/usr/lib/python3.13/asyncio/selector_events.py", line 641, in sock_connect

    return await fut

           ^^^^^^^^^

  File "/usr/lib/python3.13/asyncio/selector_events.py", line 649, in _sock_connect

    sock.connect(address)

    ~~~~~~~~~~~~^^^^^^^^^

To submit this error to the developer, visit https://shirley-xml.itch.io/pynori/community, create a topic under Bug Report, then paste the contents of the most recent text document in the body of the topic, give the topic a (readable) name, and submit it.

System : Linux
(+1)

This appears to be an issue with a library, not the game itself (thankfully). Try running the game with "python3 '/home/lit/Downloads/PyNori v2.0.2/game.py --skip_rpc". If the game still crashes, please send the crash log again.

seems that rpc_id.dll for Discord activity, which I don't really need it tbh

"python3 '/home/lit/Downloads/PyNoriv2.0.2*/game.py --skip_rpc"  that did work
*
I rename it without space so python can easily sees it

(+1)

Yeah, DLLs are Windows-only, so you don't need it since you're on Linux. Glad the game works with --skip_rpc (I dunno why it wouldn't, but Python likes to break).

Glad I could help!