Bug 1798147

Summary: [abrt] drawing: set_text(): Gtk.py:757:set_text:TypeError: Argument 1 does not allow None as a value
Product: [Fedora] Fedora Reporter: Krzysztof Setlak <bigfoot19>
Component: drawingAssignee: Artem <ego.cordatus>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: ego.cordatus
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/afbeeb349c6efa3ea979ac67ff1393fcab6e2d61
Whiteboard: abrt_hash:b70e1fd4ef52c2b819946054c86452ce3535f8c1;VARIANT_ID=workstation;
Fixed In Version: drawing-0.4.11-1.fc30 drawing-0.4.11-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-25 14:38:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Krzysztof Setlak 2020-02-04 16:36:16 UTC
Version-Release number of selected component:
drawing-0.4.9-1.fc31

Additional info:
reporter:       libreport-2.11.3
cgroup:         0::/user.slice/user-1000.slice/user/gnome-launched-com.github.maoschanz.drawing.desktop-44504.scope
cmdline:        /usr/bin/python3 /usr/bin/drawing
crash_function: set_text
exception_type: TypeError
executable:     /usr/bin/drawing
interpreter:    python3-3.7.6-2.fc31.x86_64
kernel:         5.4.10-200.fc31.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
Gtk.py:757:set_text:TypeError: Argument 1 does not allow None as a value

Traceback (most recent call last):
  File "/usr/share/drawing/drawing/window.py", line 976, in action_paste
    self.tools['text'].force_text_tool(string)
  File "/usr/share/drawing/drawing/tool_text.py", line 87, in force_text_tool
    self.set_string(string)
  File "/usr/share/drawing/drawing/tool_text.py", line 90, in set_string
    self.entry.get_buffer().set_text(string, -1)
  File "/usr/lib64/python3.7/site-packages/gi/overrides/Gtk.py", line 757, in set_text
    Gtk.TextBuffer.set_text(self, text, length)
TypeError: Argument 1 does not allow None as a value

Local variables in innermost frame:
self: <Gtk.TextBuffer object at 0x7f622ad59320 (GtkTextBuffer at 0x55ebd8aa3200)>
text: None
length: -1

Comment 1 Krzysztof Setlak 2020-02-04 16:36:19 UTC
Created attachment 1657619 [details]
File: backtrace

Comment 2 Krzysztof Setlak 2020-02-04 16:36:20 UTC
Created attachment 1657620 [details]
File: cpuinfo

Comment 3 Krzysztof Setlak 2020-02-04 16:36:22 UTC
Created attachment 1657621 [details]
File: environ

Comment 4 Krzysztof Setlak 2020-02-04 16:36:23 UTC
Created attachment 1657622 [details]
File: mountinfo

Comment 5 Krzysztof Setlak 2020-02-04 16:36:24 UTC
Created attachment 1657623 [details]
File: namespaces

Comment 6 Krzysztof Setlak 2020-02-04 16:36:26 UTC
Created attachment 1657624 [details]
File: open_fds

Comment 7 Artem 2020-02-07 20:42:25 UTC
@Krzysztof, it's fixed in master branch
https://github.com/maoschanz/drawing/issues/181#issuecomment-583167805

Need to wait for 0.4.11 and then build and update. Many thanks for reporting.

Comment 8 Fedora Update System 2020-02-16 05:44:11 UTC
FEDORA-2020-6955b14761 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-6955b14761

Comment 9 Fedora Update System 2020-02-16 05:48:44 UTC
FEDORA-2020-02eac8df44 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-02eac8df44

Comment 10 Fedora Update System 2020-02-17 01:03:03 UTC
drawing-0.4.11-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6955b14761

Comment 11 Fedora Update System 2020-02-17 01:14:57 UTC
drawing-0.4.11-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-02eac8df44

Comment 12 Fedora Update System 2020-02-25 14:38:49 UTC
drawing-0.4.11-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2020-02-26 17:58:48 UTC
drawing-0.4.11-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.