This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: report bug
Type: Stage: resolved
Components: Versions:
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Yaredoh, xiang.zhang
Priority: normal Keywords:

Created on 2017-04-06 12:45 by Yaredoh, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg291225 - (view) Author: Yared Gebre (Yaredoh) Date: 2017-04-06 12:45
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
msg291226 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2017-04-06 13:12
This tracker is for CPython developing. Your problem is in the third party module. You could refer Google or stackoverflow.
History
Date User Action Args
2022-04-11 14:58:45adminsetgithub: 74193
2017-04-06 13:12:07xiang.zhangsetstatus: open -> closed

nosy: + xiang.zhang
messages: + msg291226

resolution: third party
stage: resolved
2017-04-06 12:45:18Yaredohcreate