From: Laurent S. <lsa...@ap...> - 2007-10-27 16:24:04
|
Hi Rich, In my environment darkroom.rb hangs, I can't reproduce the AppKit assertion failure. It used to work in Leopard in the past, I would definitely suspect WebKit to have changed in the meantime. Laurent On Oct 27, 2007, at 4:20 PM, Rich Curtis wrote: > Hi List, > > Tried running the RubyCocoa darkroom.rb (/Developer/Examples/ > RubyCocoa/ > Scripts/darkroom.rb) example today that came with the Leopard Dev > Tools Examples and it horked: > > 2007-10-27 10:18:43.399 ruby[544:10b] *** Assertion failure in - > [WebHTMLView lockFocus], /SourceCache/AppKit/AppKit-949/ > AppKit.subproj/ > NSView.m:4751 > 2007-10-27 10:18:43.401 ruby[544:10b] > ActiveReload::DarkRoom::Processor#webView_didFinishLoadForFrame: > OSX::OCException: NSInternalInconsistencyException - - > [WebHTMLView(0x9f023e0) lockFocus] failed with window=0x3ebc90, > windowNumber=-1, [self isHiddenOrHasHiddenAncestor]=0 > /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_wrapper.rb:50:in `ocm_send' > /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_wrapper.rb:50:in `method_missing' > darkroom.rb:99:in `capture_and_save' > darkroom.rb:95:in `webView_didFinishLoadForFrame' > /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_wrapper.rb:50:in `ocm_send' > /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_wrapper.rb:50:in `method_missing' > darkroom.rb:62:in `shoot' > darkroom.rb:52:in `initialize' > darkroom.rb:109:in `new' > darkroom.rb:109 > /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/ > oc_wrapper.rb:51: [BUG] Segmentation fault > > Anyone have a clue as to why the shipping RubyCocoa that comes with > Leopard would have a problem with this script? > > Thanks, > rich > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |