-
-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bug] bytes-like error when exporting from g.gui.animation and g.gui.tplot #827
Comments
I believe the tplot error was solved in #690 |
If you have Pillow >= 3.4.0, export to GIF should work (works for me). Otherwise it uses a different implementation, which produces the error you posted. |
Indeed, I don't get this error in grass-dev. Was it backported? |
My system reports python3-pillow-7.0.0-4.fc32.x86_64 installed. How to know if it uses (or needs) something else? I get the same error in grass-dev |
Yes |
try:
|
Seems PILLOW_VERSION is deprecated (python-pillow/Pillow#3082). |
Test with NC sample data: https://grass.osgeo.org/download/data/#SpecialTopicDatasets
Error also here (may contain typos since I used OCR to convert it to text):
|
Just a note here, there are 2 implementations in images2gif, one calls Pillow and if Pillow is not available, then there is custom implementation. This fixes detection of Pillow, so if you have reasonably new Pillow, it will use the Pillow implementation. The other implementation is still broken, but it's unlikely somebody would use it. |
When trying to export an animation as gif out of g.gui.animation, I get the following:
The same error appears when I try to export a csv file from g.gui.tplot:
If I remove the csv part in the command, then it works, but I get the following warning (which also appears after using g.gui.timeline):
System description:
The text was updated successfully, but these errors were encountered: