Bug 1038966

Summary: [abrt] cherrytree-0.30.5-1.fc19: clipboard.py:257:to_plain_text:TypeError: GtkTextBuffer.insert() argument 2 must be string or read-only buffer, not None
Product: [Fedora] Fedora Reporter: Lorenzo Pellegrino <cidippo>
Component: cherrytreeAssignee: Robin Lee <robinlee.sysu>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: giuspen, mr.zqfan, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a35c2a493f2688f433a4e535061f72030dacb103
Whiteboard: abrt_hash:f90773899943df7b33a96c72d6168a01c2118c8a
Fixed In Version: cherrytree-0.32.0-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-15 06:56:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Lorenzo Pellegrino 2013-12-06 09:15:10 UTC
Version-Release number of selected component:
cherrytree-0.30.5-1.fc19

Additional info:
reporter:       libreport-2.1.9
cmdline:        /usr/bin/python /usr/bin/cherrytree
executable:     /usr/bin/cherrytree
kernel:         3.11.9-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
clipboard.py:257:to_plain_text:TypeError: GtkTextBuffer.insert() argument 2 must be string or read-only buffer, not None

Traceback (most recent call last):
  File "/usr/share/cherrytree/modules/clipboard.py", line 257, in to_plain_text
    self.dad.curr_buffer.insert(iter_insert, plain_text)
TypeError: GtkTextBuffer.insert() argument 2 must be string or read-only buffer, not None

Local variables in innermost frame:
selectiondata: <GtkSelectionData at 0x77b7100>
self: <clipboard.ClipboardHandler instance at 0x198da28>
plain_text: None
start_offset: 13
clipboard: <gtk.Clipboard object at 0x19b52d0 (GtkClipboard at 0x143f8b0)>
data: None
iter_insert: <GtkTextIter at 0x774ade0>

Comment 1 Lorenzo Pellegrino 2013-12-06 09:15:15 UTC
Created attachment 833482 [details]
File: backtrace

Comment 2 Lorenzo Pellegrino 2013-12-06 09:15:17 UTC
Created attachment 833483 [details]
File: environ

Comment 3 Giuseppe Penone 2013-12-06 11:18:25 UTC
weird behave from the clipboard but anyway I added a check for versions > 0.31.4 thank you

Comment 4 Fedora Update System 2014-02-03 06:58:54 UTC
cherrytree-0.32.0-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/FEDORA-2014-1922/cherrytree-0.32.0-1.fc19

Comment 5 Fedora Update System 2014-02-15 06:56:45 UTC
cherrytree-0.32.0-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.