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

Handle Download Block - file path is not assigned to the variable #1850

Open
xartuu opened this issue Oct 31, 2024 · 2 comments
Open

Handle Download Block - file path is not assigned to the variable #1850

xartuu opened this issue Oct 31, 2024 · 2 comments

Comments

@xartuu
Copy link

xartuu commented Oct 31, 2024

Describe the bug
After using the Handle download block, when the file is already downloaded and the next block is started, the file path of the downloaded file is not assigned to the set variable.

To Reproduce
Steps to reproduce the behavior:

  1. Use the Handle download block.
  2. Check the Wait for the file to be downloaded setting and enter the variable name in Assign to variable.
  3. Run the workflow and download the file from any site
  4. Go into the workflow logs and see if the variable has assigned itself

Expected behavior
After using the Handle download block, the `{{variables.path}} variable should contain the path to the downloaded file.

Screenshots
image
image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Brave Browser
  • Extension Version: 1.28.27

Additional context
Add any other context about the problem here.

@pzw943969386
Copy link

The processing download module may not get the file path immediately, you can add a delay

@xartuu
Copy link
Author

xartuu commented Dec 28, 2024

I added a delay and tested:

  • the file is downloaded in 2 seconds
  • module after 20 seconds does not return the path
  • module changes the previously set variable and leaves it empty
image

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

2 participants