When are you seeing this error?
Are you just now updating to 0.9.5?
Are you using custom scrollbars that worked in a previous release?
etc...
Somewhere something is setting the scrollbar (not the outlineview)
theme properties...
If it happens when you're building capp, you should try doing a clean
build.
--
You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
To post to this group, send email to objec...@googlegroups.com.
To unsubscribe from this group, send email to objectivej+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/objectivej?hl=en.
> Uncaught CPInvalidArgumentException: CPScroller does not contain theme attribute 'scroller-width'
> Uncaught CPInvalidArgumentException: CPScroller does not contain theme attribute 'knob-inset'
Is it possible to upload a demo project provoking the problem with your current version of Cappuccino statically installed in Frameworks (not just as symlinks) ?
Thanks,
--
Antoine Mercadal
> I see this too, in a fresh install of 0.9.5. I have a CPTableView that
> completely fills the left-hand side of a split view, and I get the
> exceptions. If I make the CPTableView one pixel less wide, there's no
> exception.
>
>
>> Uncaught CPInvalidArgumentException: CPScroller does not contain theme attribute 'scroller-width'
>> Uncaught CPInvalidArgumentException: CPScroller does not contain theme attribute 'knob-inset'
>
Are you sure you removed your CAPP_BUILD directory? Before a fresh install you have to remove it.
Nicolas
> Are you sure you removed your CAPP_BUILD directory? Before a fresh install you have to remove it.
Regards,
Aparajita
2011/11/29 Aparajita Fishman <apar...@aparajitaworld.com>:
My app still crashed, but this time complaining about a call to
_updateCornerAndHeaderView. That is also called (via
performSelector:) in CPScrollView's initWithCoder, prefaced by this
comment "Due to the anything goes nature of decoding, our subviews may
not exist yet, so layout at the end of the run loop when we're sure
everything is in a correct state." Indeed so, but it would seem that
even at the end of the run loop is still too soon in this case. I
tried also commenting out the line that calls
_updateCornerAndHeaderView (with a target of the contentView) and my
app then launched without crashing. All my scrollViews and scrollers
look just fine, with the new Lion style. The tableView still needs
the cornerAndHeaderView update, though.
This is obviously an empirical hack (my speciality) and I suspect I've
merely worked around a symptom, but it's got me up and running again
and I hope will help others to find the real cause of this problem and
implement a proper fix.
Nigel
PS In case it helps anyone who doesn't know (I only discovered it
recently), clicking on the Safari Web Inspector bottom-left "pause"
button until it turns purple will pause on uncaught exceptions. (See
this Apple developer article: http://tinyurl.com/2vjzgm2 )
On Nov 29, 10:28 pm, Diego Germán Vivero <dgviv...@gmail.com> wrote:
> Hi, I have the same problem with a TableView in cib, if I build a cib
> again the problem disapear.
>
> 2011/11/29 Aparajita Fishman <aparaj...@aparajitaworld.com>:
My app still crashed, but this time complaining about a call to
_updateCornerAndHeaderView. That is also called (via
performSelector:) in CPScrollView's initWithCoder, prefaced by this
comment "Due to the anything goes nature of decoding, our subviews may
not exist yet, so layout at the end of the run loop when we're sure
everything is in a correct state." Indeed so, but it would seem that
even at the end of the run loop is still too soon somehow. I tried
also commenting out the line that calls _updateCornerAndHeaderView
(with a target of the contentView) and my app then launched without
crashing. All my scrollViews and scrollers look just fine, with the
new Lion style. The tableView still needs the cornerAndHeaderView
update, though.
This is obviously an empirical hack (my speciality) and I suspect I've
merely worked around a symptom, but it's got me up and running again
and I hope will help others to find the real cause of this problem and
implement a proper fix.
Nigel
PS In case it helps anyone who doesn't know (I only discovered it
recently), clicking on the Safari Web Inspector bottom-left "pause"
button until it turns purple will pause on uncaught exceptions. (See
this Apple developer article: http://tinyurl.com/2vjzgm2 )
On Nov 29, 10:28 pm, Diego Germán Vivero <dgviv...@gmail.com> wrote:
> Hi, I have the same problem with a TableView in cib, if I build a cib
> again the problem disapear.
>
> 2011/11/29 Aparajita Fishman <aparaj...@aparajitaworld.com>:
Maybe you could implement this fix in CPScrollView and CPTableView and submit a pull request. As I noted in the message, ultimately we need to go through all of the classes and check for this kind of problem.
Regards,
Aparajita
I wish I'd noticed or remembered seeing your good advice about
decoding objects, it is indeed exactly the problem here.
About the fix and pull request – I'll certainly give it a try,
although as you can probably tell, I'm not particularly confident
about getting it right.
It seems that the TinyURL to the developer article messed up as
well. :-( If anyone's interested, just Google: Safari Debugging Your
Website.
Nigel
On Dec 1, 2:19 am, Aparajita Fishman <aparaj...@aparajitaworld.com>
wrote:
> I ran into this same problem with the responder chain a long time ago. I discussed the problem and solution here:
>
> http://groups.google.com/group/objectivej-dev/browse_thread/thread/c5...
peace,
k.