If not image is selected in "new image from file" a traceback is showed

Bug #1171896 reported by Marco Giusti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Virtualbricks
Fix Released
Undecided
Marco Giusti

Bug Description

Traceback (most recent call last):
  File "/home/marco/.virtualenvs/virtualbricks/src/vb-debug/virtualbricks/gui/gui.py", line 2066, in on_button_openimage_open_clicked
    name = os.path.basename(path)
  File "/home/marco/.virtualenvs/virtualbricks/lib/python2.7/posixpath.py", line 121, in basename
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

Related branches

Changed in virtualbrick:
status: New → Fix Committed
Changed in virtualbrick:
milestone: none → 1.0
status: Fix Committed → Fix Released
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.