exa-analytics / exa

The exa framework for data management, processing, and visualization
https://exa-analytics.github.io/exa
Apache License 2.0
2 stars 10 forks source link

Windows filepath length limitations #192

Closed avmarchenko closed 4 years ago

avmarchenko commented 4 years ago

Describe the bug

    if isinstance(path_stream_or_string, six.string_types) and os.path.exists(path_stream_or_string):                                                                               _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _                                                                                                                                                                                     path = ' -- written by exatomic v0.4.1\n\n    1    -4.000000    -4.000000    -4.000000\n   17     0.500000     0.000000     0...03 -2.802800E-03 -2.956900E-03 -2.929500E-03\n -2.752300E-03 -2.471200E-03 -2.133000E-03 -1.776800E-03 -1.431900E-03\n'                                                                                                                                                                                                                                                                                                         def exists(path):                                                                                                                                                                       """Test whether a path exists.  Returns False for broken symbolic links"""                                                                                                          try:                                                                                                                                                                        >           os.stat(path)                                                                                                                                                           E           ValueError: stat: path too long for Windows    

To Reproduce I ran pytest for exatomic to generate the above error.

Expected behavior Tests should pass

Screenshots I included a snippet of the error above

Desktop (please complete the following information):