[New-bugs-announce] [issue30007] report bug

Yared Gebre report at bugs.python.org
Thu Apr 6 08:45:18 EDT 2017


New submission from Yared Gebre:

Hello,

I am using python 3.6 could you look at this bug. Thanks.

/home/yared/anaconda3/lib/python3.6/site-packages/mlimages/util/file_api.py
in add_ext_name(cls, path, ext_name)     63     @classmethod     64
 def add_ext_name(cls, path, ext_name):---> 65         name, ext =
os.path.splitext(os.path.basename(path))     66         added =
os.path.join(os.path.dirname(path), name + ext_name + ext)     67
   return added
/home/yared/anaconda3/lib/python3.6/posixpath.py in basename(p)    142
def basename(p):    143     """Returns the final component of a
pathname"""--> 144     p = os.fspath(p)    145     sep = _get_sep(p)
 146     i = p.rfind(sep) + 1

TypeError: expected str, bytes or os.PathLike object, not ImageProperty

----------
messages: 291225
nosy: Yaredoh
priority: normal
severity: normal
status: open
title: report bug

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30007>
_______________________________________


More information about the New-bugs-announce mailing list