-
-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I used your framework, and the above problem occurred. The problem is probably like this. The local image can be accessed before. After the network image is abnormally cached, the local image cannot be accessed. The image of the network map cache cannot be accessed. #53
Comments
@renefloor flutter: ══╡ EXCEPTION CAUGHT BY SERVICES ╞══════════════════════════════════════════════════════════════════ flutter: ══╡ EXCEPTION CAUGHT BY SERVICES ╞══════════════════════════════════════════════════════════════════ |
@selfworth I guess this is the real problem 'OS Error: Too many open files, errno = 24', so either the same file is being opened to much or the file is downloaded very often and many files are made. I have been very busy last time and didn't really have time to support my package. I expect to do a rewrite of most of the code somewhere in september/oktober when I have more time. Could you make a minimal code snippit to reproduce this issue? |
@renefloor Come on! Keep going |
flutter: ══╡ EXCEPTION CAUGHT BY SERVICES ╞══════════════════════════════════════════════════════════════════
flutter: The following FileSystemException was thrown resolving an image codec:
flutter: Cannot open file, path =
flutter: '/var/mobile/Containers/Data/Application/D5A0EACB-201C-4485-ADA2-A8084B4C2EB9/Library/Cachescache/85d17d70-6f10-11e8-8449-ff445fc9670e.jpeg'
flutter: (OS Error: Too many open files, errno = 24)
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0 _File.open. (dart:io/file_impl.dart:368:9)
flutter: (elided 8 frames from package dart:async)
flutter:
flutter: Image provider:
flutter: CachedNetworkImageProvider("http://c.hiphotos.baidu.com/image/pic/item/72f082025aafa40f99d4e82aa764034f78f01932.jpg",
flutter: scale: 1.0)
flutter: Image key:
flutter: CachedNetworkImageProvider("http://c.hiphotos.baidu.com/image/pic/item/72f082025aafa40f99d4e82aa764034f78f01932.jpg",
flutter: scale: 1.0)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: FileSystemException: Cannot open file, path = '/var/mobile/Containers/Data/Application/D5A0EACB-201C-4485-ADA2-A8084B4C2EB9/Library/Cachescache/85d41580-6f10-11e8-d587-d38abd5e4d64.jpeg' (OS Error: Too many open files, errno = 24)
flutter: Another exception was thrown: FileSystemException: Cannot open file, path = '/var/mobile/Containers/Data/Application/D5A0EACB-201C-4485-ADA2-A8084B4C2EB9/Library/Cachescache/85cfa8b0-6f10-11e8-9092-6bd4d446cf01.jpeg' (OS Error: Too many open files, errno = 24)
flutter: Another exception was thrown: FileSystemException: Cannot open file, path = '/var/mobile/Containers/Data/Application/D5A0EACB-201C-4485-ADA2-A8084B4C2EB9/Library/Cachescache/85dd8b60-6f10-11e8-a33c-bf8e2fc40dd2.jpeg' (OS Error: Too many open files, errno = 24)
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/no_choice.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/delete.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/my_class.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/mine_right.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/my_photo.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/my_archives.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/feedback.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/problem.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/background_music.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/skin.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/mine_setting.png
flutter: Another exception was thrown: Unable to load asset: images/dynamic/3.0x/dynamic.png
flutter: Another exception was thrown: Unable to load asset: images/task/3.0x/task.png
flutter: Another exception was thrown: Unable to load asset: images/news/3.0x/news.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/me_select.png
flutter: Another exception was thrown: SocketException: Failed host lookup: 'github.com' (OS Error: nodename nor servname provided, or not known, errno = 8)
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/mine_background_image.png
flutter: Another exception was thrown: Unable to load asset: images/task/3.0x/task_select.png
flutter: Another exception was thrown: Unable to load asset: images/mine/3.0x/me.png
flutter: Another exception was thrown: Unable to load asset: images/task/3.0x/task_finish.png
flutter: Another exception was thrown: Unable to load asset: images/task/3.0x/task_image_1.png
flutter: Another exception was thrown: Unable to load asset: images/task/3.0x/task_image_2.png
flutter: Another exception was thrown: Unable to load asset: images/task/3.0x/task_image_3.png
flutter: Another exception was thrown: Unable to load asset: images/task/3.0x/task_image_4.png
flutter: Another exception was thrown: Unable to load asset: images/task/3.0x/task_image_5.png
flutter: Another exception was thrown: Unable to load asset: images/task/3.0x/task_image_6.png
flutter: Another exception was thrown: Unable to load asset: images/dynamic/3.0x/dynamic_select.png
flutter: Another exception was thrown: Unable to load asset: images/dynamic/3.0x/dynamic_fabu.png
The text was updated successfully, but these errors were encountered: