-
Notifications
You must be signed in to change notification settings - Fork 1
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
Error with can't set attribute 'mode' #2
Comments
Hi Luca! You can update this package to the latest version 1.1.3.
And try it again. |
Oh thank you! Odd that conda did not apply the update automatically though... |
Uhm, updating to 1.1.3 does not seem to solve the issue:
|
Hi Luca, Thank you so much for bringing this issue. Would it be possible for you to test with other
Your cooperation is invaluable as it will help me in reproducing this bug. 😊 Looking forward to your response. |
Yes, it happens on every file I try. Here's a sample file that gives the same error on my system! |
Thank you |
Yes not sure why. UI won't accept .HEIC files: We don’t support that file type. Try again with GIF, JPEG, JPG, MOV, MP4, PNG, SVG, WEBM, CPUPROFILE, CSV, DMP, DOCX, FODG, FODP, FODS, FODT, GZ, JSON, JSONC, LOG, MD, ODF, ODG, ODP, ODS, ODT, PATCH, PDF, PPTX, TGZ, TXT, XLS, XLSX or ZIP. ...so I tried zipping it as that should be supported. |
Try this service |
Try again from above, maybe it was just slow... .zip file seems to be available now. |
Okay, I got the zip file |
This is on Mac OS 13.5.2 (on an Apple M2 Max), with conda 23.10.0 and python 3.10.12 |
Thank you! I am aware of your system specifications, but my Mac is not currently with me. My current suspicion is that the issue may be caused by the versions of other dependent packages. I will help you with the testing once I have access to a macOS environment. |
aiofiles==22.1.0 |
I've successfully run it on my Mac without any problems. Here are the spec of my system:
Additionally, I followed the requirements you provided and executed them accordingly. Based on this, I would recommend trying to reinstall the pillow library, specifically version 10.1.0 from PyPI. You can do this using the following commands:
After reinstalling pillow, proceed with installing the heic2png package using this command:
This should potentially resolve the issue you're encountering. |
Yes, reinstalling pillow fixed the issue - thank you!!! |
Worked fine until a few days ago, but now:
----- Input file path is
./IMG_4393.HEIC
----- Error with can't set attribute 'mode'
----- Please report this issue!
This is with version 1.0.1, installed on Mac OS 13.5.2 using conda's 23.10.0 python -m pip heic2png .
The text was updated successfully, but these errors were encountered: