leopard problem with: [[NSColorPanel sharedColorPanel] setColor:

  • when i run my app on leopard, i get the following message on the
    console window:

    Custom ColorPicker class with name .com.freeverselib could
    not be loaded.

    i've traced it to the following line of code (in my override of
    windowDidBecomeKey)

    [[NSColorPanel sharedColorPanel] setColor: [self tableColor]];

    and when printing [self tableColor] in the debugger, i get:

    NSCalibratedWhiteColorSpace 0 1

    this does not show up if i run my app on tiger.

    can anyone tell me what is going on here? and more importantly, what
    i can do to stop tis message from showing up?

    thanx,
    ken
  • On Dec 13, 2007, at 3:34 PM, Ken Victor wrote:

    > when i run my app on leopard, i get the following message on the
    > console window:
    >
    > Custom ColorPicker class with name .com.freeverselib could not be
    > loaded.
    >
    > i've traced it to the following line of code (in my override of
    > windowDidBecomeKey)
    >
    > [[NSColorPanel sharedColorPanel] setColor: [self tableColor]];
    >
    > and when printing [self tableColor] in the debugger, i get:
    >
    > NSCalibratedWhiteColorSpace 0 1
    >
    >
    > this does not show up if i run my app on tiger.
    >
    > can anyone tell me what is going on here? and more importantly, what
    > i can do to stop tis message from showing up?

    It means that you've got a custom color picker installed that doesn't
    properly implement all the required methods that a custom color picker
    is suppose to.

    Look in you ~/Library/ColorPickers folder (and /Library/ColorPickers)
    and see what's there...

    Glenn Andreas                      <gandreas...>
      <http://www.gandreas.com/> wicked fun!
    quadrium | prime : build, mutate, evolve, animate : the next
    generation of fractal art
  • glenn,
    thanx for the response. thats what i thought it meant. however, prior
    to posting i had already checked those places and
    /System/Library/colorPickers. the only place there are any is in
    /System/Library/ColorPickers and the only ones installed there are:
    NSColorPickerWheel.colorPicker
    NSColorPickerCrayon.colorPicker
    NSColorPickerPageableNameList.colorPicker
    NSColorPickerSliders.colorPicker
    NSColorPickerUser.colorPicker
    when i examined the packages for each of these, none of them had an
    info.plist that refered to .com.freeverselib. in fact, all of them
    appear to be vanilla apple pickers. hence my confusion and posting.

    any other ideas? or anyplace else to look?

    thanx,
    ken

    At 3:53 PM -0600 12/13/07, glenn andreas wrote:
    > On Dec 13, 2007, at 3:34 PM, Ken Victor wrote:
    >
    >> when i run my app on leopard, i get the following message on the
    >> console window:
    >>
    >> Custom ColorPicker class with name .com.freeverselib could
    >> not be loaded.
    >>
    >> i've traced it to the following line of code (in my override of
    >> windowDidBecomeKey)
    >>
    >> [[NSColorPanel sharedColorPanel] setColor: [self tableColor]];
    >>
    >> and when printing [self tableColor] in the debugger, i get:
    >>
    >> NSCalibratedWhiteColorSpace 0 1
    >>
    >>
    >> this does not show up if i run my app on tiger.
    >>
    >> can anyone tell me what is going on here? and more importantly,
    >> what i can do to stop tis message from showing up?
    >
    > It means that you've got a custom color picker installed that
    > doesn't properly implement all the required methods that a custom
    > color picker is suppose to.
    >
    > Look in you ~/Library/ColorPickers folder (and
    > /Library/ColorPickers) and see what's there...
    >
    >
    > Glenn Andreas                      <gandreas...>
    > <http://www.gandreas.com/> wicked fun!
    > quadrium | prime : build, mutate, evolve, animate : the next
    > generation of fractal art
  • You have a file in ~/Library/ColorPickers or /Library/ColorPickers with
    the name ".com.freeverselib".
    It probably won't show up in the Finder due to the dot at the front of
    its name.
    It's nothing you did wrong, not your bug. Although I'd be a little
    concerned that somebody (Freeverse?) is trying to do something sneaky in
    all apps, which is bad, except that it doesn't appear to be working in
    Leopard anyway.
    I had this happening in my app yesterday, but the filename was
    ".DS_Store". I filed a bug, since it really shouldn't litter the Console
    with errors like that.

    Ken Victor wrote:
    > when i run my app on leopard, i get the following message on the
    > console window:
    >
    > Custom ColorPicker class with name .com.freeverselib could not be
    > loaded.
    >
    > i've traced it to the following line of code (in my override of
    > windowDidBecomeKey)
    >
    > [[NSColorPanel sharedColorPanel] setColor: [self tableColor]];
    >
    > and when printing [self tableColor] in the debugger, i get:
    >
    > NSCalibratedWhiteColorSpace 0 1
    >
    >
    > this does not show up if i run my app on tiger.
    >
    > can anyone tell me what is going on here? and more importantly, what i
    > can do to stop tis message from showing up?
    >
    > thanx,
    > ken
  • To make Finder show all files, including those that are hidden, in
    Terminal type...

    >> defaults write com.apple.finder AppleShowAllFiles Yes
    >> killall Finder

    Under Tiger, this makes all the icons, both in Finder windows and on the
    desktop, appear lighter than normal, although I'm informed this has been
    fixed in Leopard.

    Rob

    John Stiles wrote:
    > You have a file in ~/Library/ColorPickers or /Library/ColorPickers
    > with the name ".com.freeverselib".
    > It probably won't show up in the Finder due to the dot at the front of
    > its name.
    > It's nothing you did wrong, not your bug. Although I'd be a little
    > concerned that somebody (Freeverse?) is trying to do something sneaky
    > in all apps, which is bad, except that it doesn't appear to be working
    > in Leopard anyway.
    > I had this happening in my app yesterday, but the filename was
    > ".DS_Store". I filed a bug, since it really shouldn't litter the
    > Console with errors like that.
    >
    >
    > Ken Victor wrote:
    >> when i run my app on leopard, i get the following message on the
    >> console window:
    >>
    >> Custom ColorPicker class with name .com.freeverselib could not be
    >> loaded.
    >>
    >> i've traced it to the following line of code (in my override of
    >> windowDidBecomeKey)
    >>
    >> [[NSColorPanel sharedColorPanel] setColor: [self tableColor]];
    >>
    >> and when printing [self tableColor] in the debugger, i get:
    >>
    >> NSCalibratedWhiteColorSpace 0 1
    >>
    >>
    >> this does not show up if i run my app on tiger.
    >>
    >> can anyone tell me what is going on here? and more importantly, what
    >> i can do to stop tis message from showing up?
    >>
    >> thanx,
    >> ken

  • john,
    thanx. i did in fact have such a file in ~/Library/ColorPickers whose
    name was .com.freeverselib...  i deleted this with the terminal and
    the message is gone.
    thanx again,
    ken

    At 2:11 PM -0800 12/13/07, John Stiles wrote:
    > You have a file in ~/Library/ColorPickers or /Library/ColorPickers
    > with the name ".com.freeverselib".
    > It probably won't show up in the Finder due to the dot at the front
    > of its name.
    > It's nothing you did wrong, not your bug. Although I'd be a little
    > concerned that somebody (Freeverse?) is trying to do something
    > sneaky in all apps, which is bad, except that it doesn't appear to
    > be working in Leopard anyway.
    > I had this happening in my app yesterday, but the filename was
    > ".DS_Store". I filed a bug, since it really shouldn't litter the
    > Console with errors like that.
    >
    >
    > Ken Victor wrote:
    >> when i run my app on leopard, i get the following message on the
    >> console window:
    >>
    >> Custom ColorPicker class with name .com.freeverselib could not be loaded.
    >>
    >> i've traced it to the following line of code (in my override of
    >> windowDidBecomeKey)
    >>
    >> [[NSColorPanel sharedColorPanel] setColor: [self tableColor]];
    >>
    >> and when printing [self tableColor] in the debugger, i get:
    >>
    >> NSCalibratedWhiteColorSpace 0 1
    >>
    >>
    >> this does not show up if i run my app on tiger.
    >>
    >> can anyone tell me what is going on here? and more importantly,
    >> what i can do to stop tis message from showing up?
    >>
    >> thanx,
    >> ken
previous month december 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Go to today