Bug 1288175

Summary: [abrt] Zim: templateeditordialog.py:115:on_copy:TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Product: [Fedora] Fedora Reporter: Mikael <mikael79>
Component: ZimAssignee: Robin Lee <robinlee.sysu>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: fabian, oliver, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/3500b0d1c408d2e491a4468f33fb949f524982a7
Whiteboard: abrt_hash:a62db09fcfe1c2bfae4f36856178fc0b309cfaca;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 18:33: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:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Mikael 2015-12-03 18:22:00 UTC
Version-Release number of selected component:
Zim-0.65-1.fc22

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python /bin/zim --ipc-server-main /tmp/zim-mikael/zim-server-socket 30
executable:     /bin/zim
kernel:         4.2.5-201.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
templateeditordialog.py:115:on_copy:TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/templateeditordialog.py", line 115, in on_copy
    basename = name + '.' + ext
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Local variables in innermost frame:
a: (<Button object at 0x7fbe49bbabe0 (GtkButton at 0x2613350)>,)
name: None
default: <UnixFile: /usr/share/zim/templates/latex/Article.tex>
self: <TemplateEditorDialog object at 0x7fbe66af2a50 (zim+gui+widgets+Dialog at 0x274b170)>
custom: <UnixFile: /home/mikael/.local/share/zim/templates/latex/Article.tex>
source: <UnixFile: /usr/share/zim/templates/latex/Article.tex>
ext: u'tex'
_: u'Article'

Comment 1 Mikael 2015-12-03 18:22:03 UTC
Created attachment 1101881 [details]
File: backtrace

Comment 2 Mikael 2015-12-03 18:22:04 UTC
Created attachment 1101882 [details]
File: environ

Comment 3 Fedora End Of Life 2016-07-19 18:33:45 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.