Fwd: [abrt] Zim-0.56-3.fc17: clipboard.py:143:parsetree_from_selectiondata:AttributeError: 'NoneType' object has no attribute 'decode'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
Low
|
Unassigned |
Bug Description
https:/
Version-Release number of selected component:
Zim-0.56-3.fc17
Additional info:
libreport version: 2.0.13
abrt_version: 2.0.12
cmdline: /usr/bin/python /usr/bin/zim
kernel: 3.5.3-1.fc17.x86_64
backtrace:
:clipboard.
:
:Traceback (most recent call last):
: File "/usr/lib/
: self.get_
: File "/usr/lib/
: parsetree = clipboard.
: File "/usr/lib/
: return parsetree_
: File "/usr/lib/
: return get_format(
:AttributeError: 'NoneType' object has no attribute 'decode'
:
:Local variables in innermost frame:
:text: None
:selectiondata: <GtkSelectionData at 0x1273900>
:notebook: <Notebook object at 0xf87d20 (zim+notebook+
:targetname: 'UTF8_STRING'
:path: <FileStorePage: Zapisky:9 Tue 18.9.2012>
Patch:
< return get_format( 'plain' ).Parser( ).parse( text.decode( 'utf-8' ))
> if text: 'plain' ).Parser( ).parse( text.decode( 'utf-8' ))
> return get_format(
> else:
> return ''