This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author catafest
Recipients catafest
Date 2019-10-26.08:45:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572079504.05.0.0514921170938.issue38596@roundup.psfhosted.org>
In-reply-to
Content
My simple notepad code with QtWidgets.QPlainTextEdit() give me a crash dump on Linux Fedora 30 with python3

Python 3.7.4 (default, Jul  9 2019, 16:32:37) 
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux

[mythcat@desk pyqt5_examples]$ uname -a
Linux desk 5.3.7-200.fc30.x86_64 #1 SMP Fri Oct 18 20:13:59 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

[mythcat@desk pyqt5_examples]$ python3 notepad.py 

** (python3:3077): WARNING **: 11:26:06.007: AT-SPI: Could not obtain desktop path or name


** (python3:3077): WARNING **: 11:26:06.029: atk-bridge: GetRegisteredEvents returned message with unknown signature

** (python3:3077): WARNING **: 11:26:06.029: atk-bridge: get_device_events_reply: unknown signature

** (python3:3077): WARNING **: 11:26:06.029: atk-bridge: get_device_events_reply: unknown signature
Traceback (most recent call last):
  File "notepad.py", line 222, in assign_syntax_py
    self.syntax = mytext(self.text_widget.document())
NameError: name 'mytext' is not defined
Traceback (most recent call last):
  File "notepad.py", line 222, in assign_syntax_py
    self.syntax = mytext(self.text_widget.document())
NameError: name 'mytext' is not defined
Aborted (core dumped)

The code is self.syntax = my_notepad.mytext(self.text_widget.document())
History
Date User Action Args
2019-10-26 08:45:04catafestsetrecipients: + catafest
2019-10-26 08:45:04catafestsetmessageid: <1572079504.05.0.0514921170938.issue38596@roundup.psfhosted.org>
2019-10-26 08:45:04catafestlinkissue38596 messages
2019-10-26 08:45:03catafestcreate