gitk: Error in startup script: bad screen distance "4.5"

Jonathan Nieder jrnieder at gmail.com
Thu Apr 12 09:13:54 UTC 2018


reassign 895446 libfontconfig1 2.13.0-2
severity 895470 serious
retitle 895470 fontconfig-2.13.0 globally sets the locale from the environment
forcemerge 895470 895446
affects 895470 + gitk
tags 895470 + patch fixed-upstream
quit

Jonathan Nieder wrote:
> Michael Biebl wrote:

>> gitk no longer successfully starts here. When I run it from a terminal,
>> I get
>>
>> $ gitk
>> Error in startup script: bad screen distance "4.5"
>>     while executing
>> "$canv conf -scrollregion [list 0 0 $canvxmax $ymax]"
>>     (procedure "setcanvscroll" line 6)
>>     invoked from within
>> "setcanvscroll"
>>     (procedure "initlayout" line 17)
>>     invoked from within
>> "initlayout"
>>     (procedure "getcommits" line 4)
>>     invoked from within
>> "getcommits {}"
>>     (file "/usr/bin/gitk" line 12613)
>> $ echo $?
>> 1
>
> I'm not yet able to reproduce this.  The package works fine for me.

Ah, I figured it out.  It's from libfontconfig's new setlocale() call.
I wasn't able to reproduce it because my locale uses a different decimal
separator.



More information about the Pkg-freedesktop-maintainers mailing list