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

[python] stream not found #132

Open
tekumara opened this issue Sep 17, 2023 · 1 comment
Open

[python] stream not found #132

tekumara opened this issue Sep 17, 2023 · 1 comment
Assignees

Comments

@tekumara
Copy link

https://natsbyexample.com/examples/jetstream/limits-stream/python#output

[1A�[1B�[0G�[?25l[+] Creating 2/0
 �[32m✔�[0m Network 263e8d57_default   �[32mCreated�[0m�[34m0.1s �[0m
 �[32m✔�[0m Container 263e8d57-nats-1  �[32mCreated�[0m�[34m0.0s �[0m
�[?25h�[1A�[1B�[0G�[?25l[+] Running 0/0

�[?25h�[1A�[1A�[0G�[?25l�[34m[+] Running 1/1�[0m
 �[32m✔�[0m Container 263e8d57-nats-1  �[32mStarted�[0m�[34m0.3s �[0m
�[?25hTraceback (most recent call last):
  File "//main.py", line 74, in <module>
    asyncio.run(main())
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "//main.py", line 22, in main
    await js.delete_stream('events')
  File "/usr/local/lib/python3.10/site-packages/nats/js/manager.py", line 120, in delete_stream
    resp = await self._api_request(
  File "/usr/local/lib/python3.10/site-packages/nats/js/manager.py", line 362, in _api_request
    raise APIError.from_error(resp['error'])
  File "/usr/local/lib/python3.10/site-packages/nats/js/errors.py", line 84, in from_error
    raise NotFoundError(**err)
nats.js.errors.NotFoundError: nats: NotFoundError: code=404 err_code=10059 description='stream not found'
exit status 1
@bruth bruth self-assigned this Oct 9, 2023
@bruth
Copy link
Collaborator

bruth commented Oct 9, 2023

Thanks for the report, I will check it out.

@scottf scottf assigned caspervonb and unassigned caspervonb and bruth Jun 15, 2024
@scottf scottf changed the title stream not found [python] stream not found Jun 15, 2024
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

3 participants