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

[BUG] 使用该库从相册选择图片,报错,一直打不开,具体报错日志已贴到描述中 #1214

Closed
yuanhoujun opened this issue Oct 30, 2024 · 8 comments · Fixed by #1216

Comments

@yuanhoujun
Copy link

yuanhoujun commented Oct 30, 2024

Describe the bug

并非所有手机都能复现,目前测试在MIX3手机上面一直出现。

Steps to reproduce the behavior:

使用该库从相册选择图片,报错,一直打不开

Expected behavior

可以正常打开相册选择图片

Screenshots (If contains)

Version information

  • Device: MIX3
  • OS: Android 10
  • Package Version: 9.3.3
  • Flutter Version: 3.24.3
    Additional context

从提示来看,是从数据库中查询到数据,实际并不存在该图片,可确定是否在某些情况下,存在数据库查询图片存在,而实际并不存在导致,是否可以过滤掉不存在的图片,仅显示已经存在的图片。

@AlexV525
Copy link
Member

日志?

@std-s
Copy link

std-s commented Oct 31, 2024

@AlexV525 Hi, I encountered a similar problem.
Snipaste_2024-10-31_11-15-57
Snipaste_2024-10-31_11-16-30

@AlexV525
Copy link
Member

@std-s Can you paste your full log here? Also please provide the version of photo_manager you are using (in your pubspec.lock) and your device info like the one in the issue template.

@yuanhoujun
Copy link
Author

日志?

@AlexV525 不好意思,我记得当时贴了日志,没想到忘记了,具体报错日志跟 @std-s 是几乎一样的。

@AlexV525
Copy link
Member

Revert to 3.5.0 should temporary fix this.

@AlexV525
Copy link
Member

Could someone verify if #1216 fixes this?

@yuanhoujun
Copy link
Author

Could someone verify if #1216 fixes this?

I fixed the version of photo_manager to 3.5.0 and everything worked fine, I think your solution is correct

@AlexV525
Copy link
Member

I think your solution is correct

It would be great if you can test with the PR :)

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