192.168.100.17 - - [12/Aug/2024 02:56:30] "GET /media/C:/Users/PMLS/Pictures/wallpapers/wallpape-ezgif.com-webp-to-jpg-converter.jpg HTTP/1.1" 200 -
192.168.100.17 - - [12/Aug/2024 02:56:30] "GET /static/icons/next.svg HTTP/1.1" 304 -
192.168.100.17 - - [12/Aug/2024 02:56:30] "GET /static/icons/close.svg HTTP/1.1" 304 -
192.168.100.17 - - [12/Aug/2024 02:56:39] "GET /static/icons/loading.svg HTTP/1.1" 304 -
192.168.100.17 - - [12/Aug/2024 02:56:39] "GET /img/directory HTTP/1.1" 200 -
192.168.100.17 - - [12/Aug/2024 02:56:39] "GET /media/C:/Users/PMLS/Downloads/RishtaApp/RishtaApp/build/flutter_assets/assets/icons/icon%202.png HTTP/1.1" 500 -
Traceback (most recent call last):
File "C:\MainDrive\Work\Projects\pictopyGSOC\picenv\lib\site-packages\flask\app.py", line 1498, in __call__
return self.wsgi_app(environ, start_response)
File "C:\MainDrive\Work\Projects\pictopyGSOC\picenv\lib\site-packages\flask\app.py", line 1476, in wsgi_app
response = self.handle_exception(e)
File "C:\MainDrive\Work\Projects\pictopyGSOC\picenv\lib\site-packages\flask\app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "C:\MainDrive\Work\Projects\pictopyGSOC\picenv\lib\site-packages\flask\app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\MainDrive\Work\Projects\pictopyGSOC\picenv\lib\site-packages\flask\app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "C:\MainDrive\Work\Projects\pictopyGSOC\picenv\lib\site-packages\flask\app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "C:\MainDrive\Work\Projects\pictopyGSOC\main.py", line 147, in sendFile
return send_file(decodeLinkPath(path))
File "C:\MainDrive\Work\Projects\pictopyGSOC\picenv\lib\site-packages\flask\helpers.py", line 499, in send_file
return werkzeug.utils.send_file( # type: ignore[return-value]
File "C:\MainDrive\Work\Projects\pictopyGSOC\picenv\lib\site-packages\werkzeug\utils.py", line 439, in send_file
raise TypeError(
TypeError: Unable to detect the MIME type because a file name is not available. Either set 'download_name', pass a path instead of a file, or set 'mimetype'.
Open in browser and select images, Also can be replicated when AI sorting is enabled and disabled