[issue24562] ntpath splitdrive fails on line 161: tuple has no attribute 'replace'
New submission from Dan Zemke: Traceback was: File "\drzblobio.py", line 70, in load full_read_path = os.path.join(read_path, fname) File "C:\Python34\lib\ntpath.py", line 110, in join p_drive, p_path = splitdrive(p) File "C:\Python34\lib\ntpath.py", line 161, in splitdrive normp = p.replace(_get_altsep(p), sep) AttributeError: 'tuple' object has no attribute 'replace' -- components: Library (Lib) messages: 246217 nosy: zemke priority: normal severity: normal status: open title: ntpath splitdrive fails on line 161: tuple has no attribute 'replace' type: crash versions: Python 3.4 ___ Python tracker <http://bugs.python.org/issue24562> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24562] ntpath splitdrive fails on line 161: tuple has no attribute 'replace'
Dan Zemke added the comment: Sorry. I just figured that out. Thank you! On Fri, 7/3/15, R. David Murray wrote: Subject: [issue24562] ntpath splitdrive fails on line 161: tuple has no attribute 'replace' To: ze...@yahoo.com Date: Friday, July 3, 2015, 4:39 PM R. David Murray added the comment: This error is raised because you called os.path.join incorrectly (with a tuple as one of the arguments). -- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status: open -> closed type: crash -> behavior ___ Python tracker <http://bugs.python.org/issue24562> ___ -- ___ Python tracker <http://bugs.python.org/issue24562> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com