Baseflow / Baseflow/flutter_cached_network_image
.jpg load fail
- Dominant language
- Dart
- Stars
- 2.6k
- Forks
- 731
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
## 🐛 Bug Report
thanks in advance !
my problem: some image load fail, but if i use Image.network('http://dzj-test.img-cn-shanghai.aliyuncs.com/2022/06/15/62a99adce4b069fbb36aab0f.jpg'), it works.
code:
```
SizedBox( width: 50, height: 50,child: CachedNetworkImage(
imageUrl: 'http://dzj-test.img-cn-shanghai.aliyuncs.com/2022/06/15/62a99adce4b069fbb36aab0f.jpg',
fit: BoxFit.cover,
placeholder: (context, url) => const Center(child: CircularProgressIndicator(),),
errorWidget: (context, url, error) => const Icon(Icons.error),
)),
```
> error info:
> FileSystemException: Cannot open file, path = '/data/user/0/com.ihidea.dzj_flutter.host/cache/libCachedImageData/a4bd7ad0-ed3a-11ec-ba9c-ffe742037f29.jpg/png/jpeg' (OS Error: No such file or directory, errno = 2)
>
### Expected behavior
### Reproduction steps
### Configuration
11.4 20F71 darwin-x64, locale zh-Hans-CN)
• Flutter version 2.8.1 at /usr/local/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (6 months ago), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/dzj/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] VS Code
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.40.0
• No issues found!
**Version:** cached_network_image: 3.2.0
**Platform:**
- [ ] :iphone: iOS
- [ ] :robot: Android
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.