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

RuntimeError #2

Open
nsk126 opened this issue Feb 25, 2022 · 0 comments
Open

RuntimeError #2

nsk126 opened this issue Feb 25, 2022 · 0 comments

Comments

@nsk126
Copy link

nsk126 commented Feb 25, 2022

Facing threading issue on close of the program.

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
qt.xkb.compose: failed to create compose table
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/home/suresh/work/pyModSlave-code-0.4.3-2/RepeatTimer.py", line 37, in run
    self.function(*self.args, **self.kwargs)
  File "/home/suresh/work/pyModSlave-code-0.4.3-2/ModFactory.py", line 159, in _blockValues
    self.coils_data_model.update_model(self.get_coils_data())
  File "/home/suresh/work/pyModSlave-code-0.4.3-2/ModSlaveMBDataModel.py", line 41, in update_model
    idx = self.model.index(row, col, QtCore.QModelIndex())
RuntimeError: wrapped C/C++ object of type QStandardItemModel has been deleted
^CException ignored in: <module 'threading' from '/usr/lib/python3.9/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 1470, in _shutdown
    lock.acquire()

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