Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1798147 - [abrt] drawing: set_text(): Gtk.py:757:set_text:TypeError: Argument 1 does not allow None as a value
Summary: [abrt] drawing: set_text(): Gtk.py:757:set_text:TypeError: Argument 1 does no...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: drawing
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b70e1fd4ef52c2b819946054c86...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-04 16:36 UTC by Krzysztof Setlak
Modified: 2020-02-26 17:58 UTC (History)
1 user (show)

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:
Clone Of:
Environment:
Last Closed: 2020-02-25 14:38:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (deleted)
2020-02-04 16:36 UTC, Krzysztof Setlak
no flags Details
File: cpuinfo (deleted)
2020-02-04 16:36 UTC, Krzysztof Setlak
no flags Details
File: environ (deleted)
2020-02-04 16:36 UTC, Krzysztof Setlak
no flags Details
File: mountinfo (deleted)
2020-02-04 16:36 UTC, Krzysztof Setlak
no flags Details
File: namespaces (deleted)
2020-02-04 16:36 UTC, Krzysztof Setlak
no flags Details
File: open_fds (deleted)
2020-02-04 16:36 UTC, Krzysztof Setlak
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github maoschanz drawing issues 181 0 None closed drawing: set_text(): Gtk.py:757:set_text:TypeError: Argument 1 does not allow None as a value 2020-02-16 05:19:20 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.