Created
July 24, 2017 19:42
-
-
Save anonymous/fe005788abaeade4d4da2a37be2d9965 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "C:\Python27\ArcGIS10.3\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript | |
exec codeObject in __main__.__dict__ | |
File "C:\Users\nrose\Desktop\TestScript\toolbox_stormscript.py", line 86, in <module> | |
decompress('location', workSpace, oldCSV, newCSV) | |
File "C:\Users\nrose\Desktop\TestScript\toolbox_stormscript.py", line 31, in decompress | |
with gzip.open(oldFilePath, 'rb') as file_in, open(newFilePath, 'wb') as file_out: | |
File "C:\Python27\ArcGIS10.3\lib\gzip.py", line 34, in open | |
return GzipFile(filename, mode, compresslevel) | |
File "C:\Python27\ArcGIS10.3\lib\gzip.py", line 94, in __init__ | |
fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb') | |
IOError: [Errno 22] invalid mode ('rb') or filename: u'C:\\Users\\nrose\\Desktop\\TestScript\\?C=N;O=D' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment