I can't seem to find a solution, any help is appreciated. ZIP files are not a problem for 7-Zip, which can.create new ZIP archives but also extract files from them.to create 7Z and. n_ack_function(request=request, response=response)įile "/opt/venv/lib/python3.8/site-packages/slack_bolt/listener/custom_listener.py", line 49, in run_ack_functionįile "/app/app/routes/events.py", line 62, in handle_file_sharedįile "/app/app/lib/file_shared.py", line 28, in get_file_sharedįile "/opt/venv/lib/python3.8/site-packages/py7zr/py7zr.py", line 324, in _init_įileNotFoundError: No such file or directory: 'test_file.7z' With py7zr.SevenZipFile(file_name, mode='r', password=pw) as file:Įrror: Failed to run listener function (error: No such file or directory: 'test_file.7z')įile "/opt/venv/lib/python3.8/site-packages/slack_bolt/listener/thread_runner.py", line 103, in run_ack_function_asynchronously Response = requests.request("GET", url=file_url, headers=headers) The authentication is good, I see the byte data in my logger but still having issues. The information is being grabbed from a slack api by the 'url_private' property. I see the binary data being returned but still getting an error that the file is not downloaded. Having an issue trying to download a encrypted/compressed 7zip file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |