fedn
fedn copied to clipboard
TypeError TypeError: send_file() got an unexpected keyword argument 'attachment_filename'
Severity
- [ ] Critical/Blocker (select if the issue makes the application unusable or causes serious data loss)
- [ ] High (select if the issue affects a major feature and there is no workaround or the available workaround is very complex)
- [x] Medium (select if the issue affects a minor feature or affects a major feature but has an easy enough workaround to not cause any major inconvenience)
- [ ] Low (select if the issue doesn't significantly affect the user experience, like minor visual bugs)
Describe the bug Cannot download the config file (client.yaml) from UI
Environment:
- OS: [Linux]
- Version: [Ubuntu 20]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Reproduction Steps Steps to reproduce the behavior:
- Go to '/network'
- Click on 'download client config'
- See error 'TypeError TypeError: send_file() got an unexpected keyword argument 'attachment_filename'
Expected behavior Download client.yaml
Screenshots If applicable, add screenshots to help explain your problem.
Contact Details An e-mail address in case we need to contact you for further details regarding this issue.
I can confirm this behavior (develop).
This issue affects users on Python 3.10, it is due to an update in the Flask API. Fix in PR #435