Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probably path error in Windows #6

Open
IsaacLuo opened this issue Jan 30, 2018 · 1 comment
Open

Probably path error in Windows #6

IsaacLuo opened this issue Jan 30, 2018 · 1 comment

Comments

@IsaacLuo
Copy link

test code:

import flametree
chromats = flametree.file_tree('chromats.zip')
chromats._all_files[0].open('rb')

thrown error:

KeyError: "There is no item named 'chromats\\\\seq11.ab1' in the archive"
@Zulko
Copy link
Member

Zulko commented Jan 30, 2018

From here:

"If a member filename is an absolute path, a drive/UNC sharepoint and leading (back)slashes will be stripped, e.g.: ///foo/bar becomes foo/bar on Unix, and C:\foo\bar becomes foo\bar on Windows."

So it should be fixable. It is a problem that the lib is not tested against Windows, but Travis doesnt allow it. AppVeyor does, but not sure if its worth the change now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants