[Openmcl-devel] Clozure CL 1.3-RC1: still cannot load Webkit

Gary Byers gb at clozure.com
Thu Mar 12 15:20:44 PDT 2009


I've never seen that; I don't know whether it's a timing issue or
a version issue (or something else.)

You can do

(process-interrupt gui::*cocoa-event-process* #'browser-window "http://openmcl.clozure.com")

to force all of the window/view creation to happen on the primary thread.


On Thu, 12 Mar 2009, Alexander Repenning wrote:

> got that: pointed to a folder that did not exist
>
> next problem:
>
> - open the WebKit.lisp file
> - load buffer -> no problems
> - eval browser-window expression:
>
> ? (ccl::browser-window "http://openmcl.clozure.com")
>> Error: Objective-C runtime exception:
>>        objc_object* -[WebView initWithFrame:frameName:groupName:](WebView*, 
>> objc_selector*, NSRect, NSString*, NSString*) was called from a secondary 
>> thread
>> While executing: CCL::CHECK-NS-EXCEPTION, in process Listener(6).
>> Type :POP to abort, :R for a list of available restarts.
>> Type :? for other options.
>
>
> The strange thing is I got it to work once. It must be threading problem but 
> I do not know what changed.
>
> alex
>
>
>
>
>
> On Mar 12, 2009, at 1:53 PM, Gary Byers wrote:
>
>> It worked fine for me just now, and whatever's causing that
>> error isn't the same bug that existed in previous versions.
>> 
>> It looks like it's not finding the webkit interfaces. What does:
>> 
>> ? (truename "ccl:")
>> 
>> return in the environment where you get this error ?
>> 
>> 
>> 
>> On Thu, 12 Mar 2009, Alexander Repenning wrote:
>> 
>>> 
>>> Welcome to Clozure Common Lisp Version 1.3-RC1-r11719M  (DarwinPPC32)!
>>> 
>>> ;; this still does not work. Is there a better way to load a framework?
>>> 
>>> (eval-when (:compile-toplevel :load-toplevel :execute)
>>> (objc:load-framework "WebKit" :webkit))
>>> 
>>>> Error: value NIL is not of the expected type (SIGNED-BYTE 32).
>>>> While executing: CCL::FD-LSEEK, in process Listener(6).
>>>> Type :POP to abort, :R for a list of available restarts.
>>>> Type :? for other options.
>>> 1 >
>>> 
>>> 
>>> alex
>>> 
>>> Prof. Alexander Repenning
>>> 
>>> University of Colorado
>>> Computer Science Department
>>> Boulder, CO 80309-430
>>> 
>>> vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf
>>> 
>>> 
>>> 
>> 
>
> Prof. Alexander Repenning
>
> University of Colorado
> Computer Science Department
> Boulder, CO 80309-430
>
> vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf
>
>



More information about the Openmcl-devel mailing list