-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[REF-2157] rx.download doesn't work with rx.get_upload_url from a backend event handler #2812
Comments
masenf
changed the title
rx.download doesn't work with rx.get_upload_url from a backend event handler
[REF-2157] rx.download doesn't work with rx.get_upload_url from a backend event handler
Mar 8, 2024
masenf
added a commit
that referenced
this issue
Mar 8, 2024
A common use case is processing some data, writing it to the `rx.get_upload_dir`, then triggering a download of the processed data. Using the `data` arg for `rx.download` works up to the size limitation of the browser data URI handling mechanism, but offering a real download can accomodate much larger data using the standard mechanism. Fix #2812
hello, is it possible that this is no longer working with more recent versions? i can download a file in "/assets" but not in "/uploaded_files" using a very similar code to what you have in the bug description. thank you |
yes it appears to be broken in 0.6.0+ |
masenf
added a commit
that referenced
this issue
Dec 3, 2024
Update the special case in a way that works with the new Var system and its unstoppable determination to concatenate strings instead of using template string This has been broken since 0.6.0, so a regression test was added to avoid future inadvertant breakage. Fix #2812 (again)
masenf
added a commit
that referenced
this issue
Dec 3, 2024
Update the special case in a way that works with the new Var system and its unstoppable determination to concatenate strings instead of using template string This has been broken since 0.6.0, so a regression test was added to avoid future inadvertant breakage. Fix #2812 (again)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I want to write a file to a path obtained via
rx.get_upload_dir()
and then cause the user to download it viarx.download
, but it doesn't work.To Reproduce
Expected behavior
Download the file that we write in the event handler
Instead, exception
Specifics (please complete the following information):
Additional context
Add any other context about the problem here.
REF-2157
The text was updated successfully, but these errors were encountered: