libpng warning after updating python notebook to Jupyter within anaconda

1,336 views
Skip to first unread message

egayer

unread,
Jul 13, 2015, 1:42:27 PM7/13/15
to spyd...@googlegroups.com
Hi all, 

I just updated my python notebook to the last version called Jupyter throughout conda update. 
Everything went OK, but now, when starting spyder from the terminal I get these errors :

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: cHRM chunk does not match sRGB

libpng warning: iCCP: known incorrect sRGB profile

libpng warning: iCCP: cHRM chunk does not match sRGB

libpng warning: iCCP: known incorrect sRGB profile


Just after the Jupyter update, I could not use matplotlib within spyder, and after updating matplotlib, I can use it but I still have the messages above when starting spyder and calling a matplotlib figure

any idea ?

thanks

Eric

Mac OSX 10.9.5

Spyder 2.3.4

Python 2.7.10 64bits, Qt 4.8.6, PyQt4 (API v2) 4.11.3 on Darwin


Python 2.7.10 |Anaconda 2.0.1 (x86_64)| (default, May 28 2015, 17:04:42) 
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
NumPy 1.9.2, SciPy 0.14.0, Matplotlib 1.4.3

egayer

unread,
Jul 13, 2015, 2:05:19 PM7/13/15
to spyd...@googlegroups.com
I can't recall if libpng has been updated while updating iPython Notebook to Jupyter, but I am guessing it is the case, do I need to downgrade to an older version of libpng ?

Thanks
Eric

David Verelst

unread,
Jul 13, 2015, 5:01:56 PM7/13/15
to spyder
The libpng warnings are because more recent versions have stricter checks on the format of the image files. This was fixed for Spyder 2.3.5 (here's the PR in case you are interested in the corresponding discussion: https://github.com/spyder-ide/spyder/pull/2216). You do not need to downgrade libpng, the only reason to either downgrade libpng or upgrade to spyder 2.3.5 is (as far as I am aware of at least) that these messages could annoy you :-)

Regards,
David

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To post to this group, send email to spyd...@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

egayer

unread,
Jul 14, 2015, 4:14:34 AM7/14/15
to spyd...@googlegroups.com
Thanks for your help David, 
Since matplotlib crashed in spyder right after these error messages appeared for the first time, I first thought the libpng pb would be bad, but if it is just annoying me then I think I'll manage :)
thanks again !
Reply all
Reply to author
Forward
0 new messages