Bug 5828 - 'idle' from tkinter fails to load icons
: 'idle' from tkinter fails to load icons
Status: RESOLVED FIXED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-24 18:53 MSD by Denis Silakov
Modified: 2015-06-29 23:50 MSD (History)
0 users

See Also:
RPM Package:
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Silakov 2015-06-24 18:53:22 MSD
[nik@nik-desktop ~]$ idle
Traceback (most recent call last):
  File "/usr/bin/idle", line 5, in <module>
    main()
  File "/usr/lib64/python2.7/idlelib/PyShell.py", line 1556, in main
    icons = [PhotoImage(file=iconfile) for iconfile in iconfiles]
  File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 3362, in __init__
    Image.__init__(self, 'photo', name, cnf, master, **kw)
  File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 3316, in __init__
    self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: unfinalized data stream in PNG data


workaround:

# cd /usr/lib64/python2.7/idlelib/Icons
# rm -f idle_32.png idle_48.png
# convert idle_32.gif idle_32.png
# convert idle_48.gif idle_48.png

Details:
http://forum.rosalab.ru/viewtopic.php?f=53&t=5759&p=46590#p46590
Comment 1 Denis Silakov 2015-06-29 23:50:40 MSD
Fixed with latest tcl/tk updates.