manojmj92 / subtitle-downloader

Python script to automatically download subtitles for any movie/tv series episode.
GNU General Public License v3.0
777 stars 239 forks source link

AttributeError("'builtin_function_or_method' object has no attribute 'namelist'",) #54

Open jalla2000 opened 6 years ago

jalla2000 commented 6 years ago

$ ~/apps/subtitle-downloader/subtitle-downloader.py Interstellar.2014.IMAX.1080p.Bluray.x264.DTS-EVO.mkv Error in fetching subtitle for Interstellar.2014.IMAX.1080p.Bluray.x264.DTS-EVO.mkv ('Error', (<type 'exceptions.AttributeError'>, AttributeError("'builtin_function_or_method' object has no attribute 'namelist'",), <traceback object at 0x7fb7fcfd2cf8>))

Git clone on ubuntu 16.04 LTS

amard33p commented 6 years ago

Line # 99. zip is missing the underscore shutil.move(root2+zip_.namelist()[0], os.path.join(root2, root + ".srt")

nitbeat commented 6 years ago

Thanks :) It works now