Package: ruby2.3-tcltk Version: 2.3.0-4 Severity: normal Dear Maintainer,
the tcltk lib for ruby2.3 crashes with a TypeError when adding an Image to a canvas. A simplified (and tested) version of my code: require 'tk' require 'tkextlib/tkimg' root = TkRoot.new canvas = TkCanvas.new root canvas.grid :column => 0, :row => 0 img = TkPhotoImage.new :file => "/tmp/l.png" TkcImage.new canvas, 0, 0, :anchor => :nw, :image => img Tk.mainloop When i run it with ruby2.2 it works faultlessly, with ruby2.3 it crashes at "TkcImage.new" with the following message: /usr/lib/ruby/2.3.0/tk/itemconfig.rb:115:in `hash_kv': wrong argument type nil (expected Array) (TypeError) from /usr/lib/ruby/2.3.0/tk/itemconfig.rb:115:in `itemconfig_hash_kv' from /usr/lib/ruby/2.3.0/tk/canvas.rb:722:in `_parse_create_args' from /usr/lib/ruby/2.3.0/tk/canvas.rb:735:in `create' from /usr/lib/ruby/2.3.0/tk/canvas.rb:758:in `create_self' from /usr/lib/ruby/2.3.0/tk/canvas.rb:751:in `initialize' from ui.rb:8:in `new' from ui.rb:8:in `<main>' The image file type seems irrelevant, i have tested a hand full of formats with the same result. Sincerely. IpsumJ -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: armel, armhf Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ruby2.3-tcltk depends on: ii libc6 2.21-9 ii libgmp10 2:6.1.0+dfsg-2 ii libruby2.3 2.3.0-4 ii libtcl8.5 8.5.19-1 ii libtk8.5 8.5.19-1 ii libx11-6 2:1.6.3-1 ruby2.3-tcltk recommends no packages. ruby2.3-tcltk suggests no packages.

