Baseflow / Baseflow/flutter_cache_manager
Windows fail
- Dominant language
- Dart
- Stars
- 809
- Forks
- 510
- Avg merge
- 6m
- Merged PRs (30d)
- 1
Description
untime/dart_vm_initializer.cc(41)] Unhandled Exception: FileSystemException: Exists failed, path = 'C:\Users\xx\AppData\Local\Temp\https://db.xx.cn/uploads/users/avatar/usrZK8kZTzEHC.png' (OS Error: 文件名、目录名或卷标语法不正确。
, errno = 123)
#0 _checkForErrorResponse (dart:io/common.dart:55:9)
#1 _Directory.exists. (dart:io/directory_impl.dart:84:7)
#2 _Directory.create. (dart:io/directory_impl.dart:101:28)
#3 ForwardingDirectory.create (package:file/src/forwarding/forwarding_directory.dart:16:12)
#4 IOFileSystem.createDirectory (package:flutter_cache_manager/src/storage/file_system/file_system_io.dart:19:5)
any idea?
Contributor guide
Research direction
Start from the reported stack trace and inspect package:flutter_cache_manager/src/storage/file_system/file_system_io.dart, then reproduce the cache operation on Windows using the shown URL path. Done means the operation no longer attempts to use an invalid Windows directory path and completes without the reported FileSystemException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100