Zim

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

Bug #1522653 reported by Robin Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Confirmed
Undecided
Unassigned

Bug Description

https://bugzilla.redhat.com/show_bug.cgi?id=1288175

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'

Tags: 2min
Changed in zim:
status: New → Confirmed
tags: added: 2min
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.