slgobinath / SafeEyes

Protect your eyes from eye strain using this simple and beautiful, yet extensible break reminder
http://slgobinath.github.io/SafeEyes/
GNU General Public License v3.0
1.45k stars 163 forks source link

Stopped working after updating to Gnome 45 #541

Closed ghost closed 9 months ago

ghost commented 11 months ago

Describe the bug It does not run anymore after having updated the system to Gnome 45.

If I try to open it from terminal it gives me this error:

(safeeyes:13881): Gtk-WARNING **: 12:10:12.194: Theme parsing error: gtk.css:6616:68: Invalid name of pseudo-class
Traceback (most recent call last):
  File "/usr/bin/safeeyes", line 33, in <module>
    sys.exit(load_entry_point('safeeyes==2.1.6', 'console_scripts', 'safeeyes')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/safeeyes/__main__.py", line 151, in main
    safe_eyes.start()
  File "/usr/lib/python3.11/site-packages/safeeyes/safeeyes.py", line 107, in start
    self.__start_rpc_server()
  File "/usr/lib/python3.11/site-packages/safeeyes/safeeyes.py", line 321, in __start_rpc_server
    self.rpc_server = RPCServer(self.config.get('rpc_port'), self.context)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/safeeyes/rpc.py", line 36, in __init__
    self.__server = SimpleXMLRPCServer(("localhost", port), logRequests=False, allow_none=True)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/xmlrpc/server.py", line 594, in __init__
    socketserver.TCPServer.__init__(self, addr, requestHandler, bind_and_activate)
  File "/usr/lib/python3.11/socketserver.py", line 456, in __init__
    self.server_bind()
  File "/usr/lib/python3.11/socketserver.py", line 472, in server_bind
    self.socket.bind(self.server_address)
socket.gaierror: [Errno -5] No address associated with hostname

Desktop (please complete the following information):

Debug Log safeeyes.log