Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'compile-time': 0.07; 'lost.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.11; 'code?': 0.16; 'petr': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'stupid,': 0.16; 'subject:gui': 0.16; 'subject:run': 0.16; 'wrote:': 0.16; 'obviously': 0.16; 'integer': 0.18; '>>>': 0.20; 'versions': 0.20; 'tracker': 0.20; 'tkinter': 0.22; 'am,': 0.23; 'bit': 0.23; 'header:In-Reply-To:1': 0.24; 'url:bugs': 0.24; 'header:User- Agent:1': 0.26; 'command': 0.26; 'header:X-Complaints-To:1': 0.26; 'helpful': 0.27; 'subject:users': 0.29; 'skip:s 30': 0.31; 'option': 0.31; 'skip:_ 10': 0.32; 'possibly': 0.32; 'url:python': 0.33; 'call,': 0.33; 'open': 0.33; 'could': 0.35; 'i.e.': 0.35; 'subject:please': 0.35; 'something': 0.35; 'expected': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'version': 0.38; 'christian': 0.38; 'skip:p 20': 0.38; 'does': 0.39; 'to:addr:python.org': 0.40; 'decided': 0.66; '3.4': 0.84; '3.6': 0.84; 'gollwitzer': 0.84; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Linux users: please run gui tests Date: Fri, 28 Aug 2015 02:46:16 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-98-114-97-173.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1440744408 news.xs4all.nl 23759 [2001:888:2000:d::a6]:38097 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 4172 X-Received-Body-CRC: 2592861655 Xref: csiph.com comp.lang.python:95727 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. https://bugs.python.org/issue24951 -- Terry Jan Reedy