The bug is fixed in upstream release 3.1.3 and thus fixed in
3.1.3+dfsg1-1 in Ubuntu 17.04 (zesty).
** Changed in: spyder (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Changed in: spyderlib
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1663392
Title:
spyder3: UnboundLocalError: local variable 'img_path' referenced
before
** Changed in: spyderlib
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1663392
Title:
spyder3: UnboundLocalError: local variable 'img_path' referenced
before
** Bug watch added: github.com/spyder-ide/spyder/issues #4127
https://github.com/spyder-ide/spyder/issues/4127
** Also affects: spyderlib via
https://github.com/spyder-ide/spyder/issues/4127
Importance: Unknown
Status: Unknown
--
You received this bug notification because you
The relevant code (taken from version 3.1.2+dfsg1-1):
def get_image_path(name, default="not_found.png"):
"""Return image absolute path"""
for img_path in IMG_PATH:
full_path = osp.join(img_path, name)
if osp.isfile(full_path):
return osp.abspath(full_path)