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

Fixing versionless link file read error on Windows #1692

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

MagicRedDeer
Copy link
Contributor

When you create versionless naming entries on Windows with python3, an error is thrown on server.add_file on the corresponding snapshot. This is due to the fact that we are opening "link" files as binaries and comparing the content with unicode literals.

File "pyasm\common\common.py", line 359, in relative_dir
TypeError: endswith first arg must be bytes or a tuple of bytes, not str

  File "pyasm\common\common.py", line 359, in relative_dir
    TypeError: endswith first arg must be bytes or a tuple of bytes, not str
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

Successfully merging this pull request may close these issues.

2 participants