#1673 Application initialization failed: unknown color name

obsolete: 8.4.6
closed-fixed
9
2006-03-29
2004-03-16
Anonymous
No

Whne trying to run amsn on linux in the console i get
thiss error that i think has with wish to do?

Application initialization failed: unknown color name
"Black"

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-03-16
    • summary: Application initialization failed: unknown color name "Black --> Application initialization failed: unknown color name
    • status: open --> closed-invalid
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-03-16

    Logged In: YES
    user_id=72656

    "Black" is not a cross-platform safe color name, but "black"
    is (or better yet, #000000). Use of named colors should be
    restrictive (and all lower case) because the X server names
    the colors (and Tk on Windows or Mac just aliases them).

     
  • Don Porter

    Don Porter - 2006-02-21
    • assigned_to: hobbs --> dkf
    • status: closed-invalid --> open-remind
     
  • Don Porter

    Don Porter - 2006-02-21

    Logged In: YES
    user_id=80530

    Re-opening.

    If "Black" is not a portable color name,
    then Tk's own demo collection ought not
    be using it, right? It does.

     
  • Don Porter

    Don Porter - 2006-02-21

    Logged In: YES
    user_id=80530

    unix/tkUnixDefault.h also #defines
    macros to the value "Black". If it's
    against the rules to use this color name,
    then Tk itself is breaking those rules.

     
  • Donal K. Fellows

    • assigned_to: dkf --> hobbs
     
  • Don Porter

    Don Porter - 2006-03-10

    Logged In: YES
    user_id=80530

    resolve this for 8.4.13 ?

     
  • Don Porter

    Don Porter - 2006-03-10
    • priority: 5 --> 9
     
  • Kevin DeKorte

    Kevin DeKorte - 2006-03-24

    Logged In: YES
    user_id=685413

    I recently upgraded my fedora core 4 machine to FC5 and I am
    now getting this error. On a clean install of FC5 on another
    machine I am not getting this error. So it does not appear
    to be in the package. Is there a file I can look at to see
    where this is coming from.

    I run "wish" on the command line

    There is no .wishrc file in my home directory.

     
  • Don Porter

    Don Porter - 2006-03-29

    Logged In: YES
    user_id=80530

    Changed "Black" to "#000000"
    and "White" to "#ffffff"
    in unix/tkUnixDefault.h in
    order to work around the
    (broken?) X servers that don't
    accept these color names.

     
  • Don Porter

    Don Porter - 2006-03-29
    • assigned_to: hobbs --> dgp
    • status: open-remind --> closed-fixed
     
  • Kevin DeKorte

    Kevin DeKorte - 2006-03-29

    Logged In: YES
    user_id=685413

    I just found what my problem was. I was using xorg 7.0 and
    still had RgbPath in my xorg.conf file. I removed that line
    and wish started working properly.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks