Skip to content
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

From gallery : No such file or directory #347

Closed
rsanjuan87 opened this issue Mar 4, 2023 · 0 comments
Closed

From gallery : No such file or directory #347

rsanjuan87 opened this issue Mar 4, 2023 · 0 comments

Comments

@rsanjuan87
Copy link

I post and refer here because it's maybe a bug in project
sawankumarbundelkhandi/edge_detection#120

Just ran your example and got this error and had pretty much the same on my project.

The Flutter DevTools debugger and profiler on iPhone 14 Pro Max is available at: http://127.0.0.1:9102?uri=http://127.0.0.1:52355/Am-AXM7VDfQ=/
flutter: /Users/quentinpayre/Library/Developer/CoreSimulator/Devices/B82FFF0C-19CC-4BA0-ABC2-9A29F6946FF7/data/Containers/Data/Application/62A6CEC7-5C81-4888-B8AE-E29E6588BC8E/Library/Application Support/1675089091.jpeg : _imagePath
flutter: success: true

══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
The following PathNotFoundException was thrown resolving an image codec:
Cannot retrieve length of file, path =
'/Users/quentinpayre/Library/Developer/CoreSimulator/Devices/B82FFF0C-19CC-4BA0-ABC2-9A29F6946FF7/data/Containers/Data/Application/62A6CEC7-5C81-4888-B8AE-E29E6588BC8E/Library/Application
Support/1675089091.jpeg' (OS Error: No such file or directory, errno = 2)

When the exception was thrown, this was the stack:
#0      _checkForErrorResponse (dart:io/common.dart:42:9)
#1      _File.length.<anonymous closure> (dart:io/file_impl.dart:372:7)
<asynchronous suspension>
#2      FileImage._loadAsync (package:flutter/src/painting/image_provider.dart:998:31)
<asynchronous suspension>

Path:
/Users/quentinpayre/Library/Developer/CoreSimulator/Devices/B82FFF0C-19CC-4BA0-ABC2-9A29F6946FF7/data/Containers/Data/Application/62A6CEC7-5C81-4888-B8AE-E29E6588BC8E/Library/Application
Support/1675089091.jpeg```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant