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

open_for_write fails with 500 server error if branch is not given in URL #69

Open
hoytak opened this issue Aug 18, 2023 · 0 comments
Open

Comments

@hoytak
Copy link

hoytak commented Aug 18, 2023

Repro:

In [9]: xet_fs = pyxet.XetFS()
   ...: with xet_fs.transaction:
   ...:     with xet_fs.open("xet://hoytak/cp_test_2/data.dat", 'wb') as f:
   ...:         print("writing")
   ...:         f.write(b"00000")
   ...:         print("done")  # Fine
   ...:

writing
done
Failed to commit https://hub.xetsvc.com/hoytak/cp_test_2/data.dat: HTTP status server error (500 Internal Server Error) for url (https://hub.xetsvc.com/api/xet/repos/hoytak/cp_test_2/commits)
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

1 participant