Closed Kaushik-Iyer-skima closed 7 months ago
i get 'gdown not found' when I run async, no errors when i run the same command in sync
The issue was that I performed pip install without sudo, so sidekiq could not get the local user installation of gdown. After installing using sudo, this is no longer an issue now
Provide environment information
Python3.8.10
What OS are you using?
Ubuntu 20.04.6
Describe the Bug
When I call a sidekiq job through my ruby on rails application synchronously, the file gets downloaded (I run gdown --fuzzy --id {file_id} -O {file_name}). The same job, with same parameters, in the same machine, when called asynchronously (perform_async), gdown doesnt download, neither is an error being thrown.
Expected Behavior
Downloading should happen even when called asynchronously
To Reproduce
Create a job in ruby on rails that performs system call to gdown download anything. Call it synchronously and asynchronously and see changes