qstokkink / TriblerExperimental

GNU General Public License v3.0
6 stars 2 forks source link

Initial connection failing (Ubuntu) #21

Closed qstokkink closed 5 months ago

qstokkink commented 5 months ago

Sometimes the following error occurs and the core does not link up to the GUI:

INFO:EventRequestManager:Connecting to events endpoint (with retrying)
INFO:tribler.tribler_config:Load: /home/quinten/.TriblerExperimental/configuration.json.
tribler.gui.utilities.CreationTraceback: 
  File "/home/quinten/Documents/TriblerExperimental/src/run_tribler.py", line 73, in <module>
    main()
  File "/home/quinten/Documents/TriblerExperimental/src/run_tribler.py", line 69, in main
    run_gui(api_port, api_key, root_state_dir)
  File "/home/quinten/Documents/TriblerExperimental/src/tribler/gui/start_gui.py", line 15, in run_gui
    window = TriblerWindow(app.manager, root_state_dir, api_port, api_key=api_key)
  File "/home/quinten/Documents/TriblerExperimental/src/tribler/gui/tribler_window.py", line 98, in __init__
    self.events_manager = EventRequestManager(api_port, api_key, self.error_handler, root_state_dir)
  File "/home/quinten/Documents/TriblerExperimental/src/tribler/gui/event_request_manager.py", line 56, in __init__
    connect(self.connect_timer.timeout, self.reconnect)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/quinten/Documents/TriblerExperimental/src/tribler/gui/utilities.py", line 455, in trackback_wrapper
    raise exc from CreationTraceback(traceback_str)
  File "/home/quinten/Documents/TriblerExperimental/src/tribler/gui/utilities.py", line 452, in trackback_wrapper
    callback(*args, **kwargs)
  File "/home/quinten/Documents/TriblerExperimental/src/tribler/gui/event_request_manager.py", line 187, in reconnect
    self._connect_to_core(reschedule_on_err)
  File "/home/quinten/Documents/TriblerExperimental/src/tribler/gui/event_request_manager.py", line 199, in _connect_to_core
    self.reply.deleteLater()
RuntimeError: wrapped C/C++ object of type QNetworkReply has been deleted