On 8/28/2015 1:56 AM, Christian Gollwitzer wrote:
Am 27.08.15 um 20:32 schrieb Terry Reedy:
On 8/27/2015 4:56 AM, Petr Viktorin wrote:
1321, in _configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: expected integer but got ""
Very puzzling. The only obviously even possibly relevant change from 3.4
to 3.6 is that the Tk version for 3.4.3 is 8.6.1. configDialog is
identical in 3.4 and 3.6.
tkinter is a bit stupid, as it does not report the command that was
passed to Tcl. It would be helpful if you printed it out before the
call, i.e.

print(_flatten((self._w, cmd)) + self._options(cnf))

Can you inject this into both versions of the code?

There is something about fonts. It could also have something to do with
Xft, a compile-time option of Tk, to use fontconfig (vague guess).

I decided to open a tracker issue so this does not get lost.

Terry Jan Reedy

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 40 of 42 | next ›
Discussion Overview
grouppython-list @
postedAug 7, '15 at 2:07a
activeAug 29, '15 at 4:48a



site design / logo © 2018 Grokbase