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

OSError: [Errno 22] Invalid argument: 'partial-batch-future-2023-08-01 16:57:44.453376.json' #357

Closed
jon-wurtz opened this issue Aug 1, 2023 · 1 comment · Fixed by #379
Labels
bug Something isn't working
Milestone

Comments

@jon-wurtz
Copy link

When submitting a batch job to BraKet:

submitted_job = job.submit()

  File ~\AppData\Local\anaconda3\envs\root3\lib\site-packages\bloqade\task\cloud_base.py:230 in submit
    cloud_batch_result.save_json(future_file, indent=2)

  File ~\AppData\Local\anaconda3\envs\root3\lib\site-packages\bloqade\task\cloud_base.py:39 in save_json
    with open(filename_or_io, mode) as f:

OSError: [Errno 22] Invalid argument: 'partial-batch-future-2023-08-01 16:57:44.453376.json'
@jon-wurtz
Copy link
Author

It is the colon :. Windows does not like colons in file names

@weinbe58 weinbe58 added this to the internal-beta-1 milestone Aug 9, 2023
@weinbe58 weinbe58 linked a pull request Aug 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants