<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>32724</bug_id>
          
          <creation_ts>2016-11-07 11:38:02 +0300</creation_ts>
          <short_desc>fails with: unknown color name &quot;lime&quot;</short_desc>
          <delta_ts>2017-04-05 18:11:34 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>gitk</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>31581</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>sbolshakov</cc>
    
    <cc>vseleznv</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>159759</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2016-11-07 11:38:02 +0300</bug_when>
    <thetext>$ rpm -q gitk tk tcl
gitk-2.7.4-alt1
tk-8.5.9-alt3
tcl-8.5.9-alt2
$ gitk --all
Error in startup script: unknown color name &quot;lime&quot;
    (processing &quot;-fore&quot; option)
    invoked from within
&quot;$ctext tag conf m2 -fore [lindex $mergecolors 2]&quot;
    (procedure &quot;makewindow&quot; line 347)
    invoked from within
&quot;makewindow&quot;
    (file &quot;/usr/bin/gitk&quot; line 12432)
$ 

This happens only in a system installed from regular-wmaker.iso, i.e., with few packages installed.

On other systems, with the same version of these 3 packages, this error doesn&apos;t happen. Probably, there is an additional package installed there which provides this additional color...

Same problem described:

* http://stackoverflow.com/q/34637896/94687
* https://github.com/iuscommunity-pkg/git2u/commit/480cdcf4c9e62fa4d7d926abcfbfde0511703341
* https://github.com/iuscommunity-pkg/git2u/issues/3
* https://github.com/Homebrew/homebrew-core/issues/115

I think that instead of patching gitk&apos;s code to remove this color (as they do in the linked cases), we can simply find the package which provides this color and put it into gitk&apos;s dependencies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159760</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2016-11-07 12:21:48 +0300</bug_when>
    <thetext>(In reply to comment #0)

&gt; I think that instead of patching gitk&apos;s code to remove this color (as they do
&gt; in the linked cases), we can simply find the package which provides this color
&gt; and put it into gitk&apos;s dependencies.

No, the reason was not an absent package. Simply, the regular-wmaker was a fresh install, and it had no ~/.config/git/gitk yet.

I could reproduce this bug on a old system with:

$ mv ~/.config/git/gitk{,.saved}
$ gitk --all
Error in startup script: unknown color name &quot;lime&quot;
    (processing &quot;-fore&quot; option)
    invoked from within
&quot;$ctext tag conf m2 -fore [lindex $mergecolors 2]&quot;
    (procedure &quot;makewindow&quot; line 347)
    invoked from within
&quot;makewindow&quot;
    (file &quot;/usr/bin/gitk&quot; line 12432)
$ 

(~/.config/git/gitk was pointed to for me by filereq.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>