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

Importing PIL causes crash on V3 Beta6 #1665

Closed
bossanova808 opened this issue Dec 28, 2012 · 3 comments
Closed

Importing PIL causes crash on V3 Beta6 #1665

bossanova808 opened this issue Dec 28, 2012 · 3 comments
Milestone

Comments

@bossanova808
Copy link

The following code works fine on ubuntu, OSX, and Windows, but is crashing the latest Openelec beta

log("Importing PIL as extra features are activated.")
from PIL import Image

I am using this in my OzWeather addon (in the main XBMC repo). If you want to try it out, configure it with the following settings - postcode 3032 and radar code IDR022

I'd like to provide more info but basically it gets to that line, crashes, and there's no more info in the log.

(@SRUAE - long ago I helped you test importing PIL for precisely this add on when it was not yet available on OE, and it has since worked all through the Eden versions...I have only noticed this with a recent move to Frodo).

@bossanova808
Copy link
Author

Note it is the second time the addon is run that causes the crash (weather is retrieved very half an hour)

@bossanova808
Copy link
Author

I have submitted a pull request for my addon in the xbmc repo to reduce the updates of the backgrounds, so the crash will occur only once a week if there is no reboot inbetween, but the second run of ANY addon that use the from PIL import image code will cause the crash as far as I can tell.

@bossanova808
Copy link
Author

Happy to report - Issue is gone with RC1

shaun2029 pushed a commit to shaun2029/LibreELEC-HotPi that referenced this issue Sep 9, 2017
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