Trouble with Jedi

11 views
Skip to first unread message

James Baker

unread,
Feb 23, 2011, 7:21:52 PM2/23/11
to Jazz Scheme
I was trying to get jazz + jedi to run on my mac (10.6.6, xquartz
2.6.0) but all I get is the following output:

Mac-mini:bin james$ ./jedi
0 jazz.platform.cairo.cairo-x11.cairo_xlib_surface_create
1 jazz.ui.window.platform.x11.with-platform-painting
"../jazz/lib/jazz.ui/src/jazz/ui/window/platform/x11.jazz"@828:33
proc == '#<procedure #16>
2 ##gc-hash-table-for-each
3 ##table-for-each
4 jazz.ui.window.platform.x11.process-messages-single-threaded
"../jazz/lib/jazz.ui/src/jazz/ui/window/platform/x11.jazz"@461:11
thunk == '#<procedure #17>
msg == '#<XEvent* #18 0x105e5a3c0>
display-fd == 3
fdset == '#<fd_set* #19 0x105e5a4e0>
5 jazz.ui.window.platform.x11.process-messages-single-threaded
"../jazz/lib/jazz.ui/src/jazz/ui/window/platform/x11.jazz"@453:5
msg == '#<XEvent* #18 0x105e5a3c0>
fdset == '#<fd_set* #19 0x105e5a4e0>
6 jazz.ui.window.process-events
"../jazz/lib/jazz.ui/src/jazz/ui/window/_window.jazz"@104:7
7 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
"../jazz/lib/jazz.ui/src/jazz/ui/hosting/Dialog-Host.jazz"@140:20
self == '{Dialog-Host root {Point 0 0} {Dimension 400 216}
#20}
8 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
"../jazz/lib/jazz.ui/src/jazz/ui/hosting/Dialog-Host.jazz"@126:12
self == '{Dialog-Host root {Point 0 0} {Dimension 400 216}
#20}
9 ##call-with-values
10 ##call-with-values
11 jazz.system.application.Application.Application.prepare-environment
"../jazz/lib/jazz.system/src/jazz/system/application/
Application.jazz"@129:5
self == '{Jedi #21}
12 jazz.system.process.Process.Process.prepare-phase
"../jazz/lib/jazz.system/src/jazz/system/process/Process.jazz"@158:5
self == '{Jedi #21}
13 jazz.system.process.Process.Process.boot-environment
"../jazz/lib/jazz.system/src/jazz/system/process/Process.jazz"@119:7
self == '{Jedi #21}
14 jazz.executable-main
"../jazz/kernel/runtime/setup.scm"@239:3
James-Bakers-Mac-mini:bin james$ ./jedi
0 jazz.platform.cairo.cairo-x11.cairo_xlib_surface_create
1 jazz.ui.window.platform.x11.with-platform-painting
"../jazz/lib/jazz.ui/src/jazz/ui/window/platform/x11.jazz"@828:33
proc == '#<procedure #16>
2 ##gc-hash-table-for-each
3 ##table-for-each
4 jazz.ui.window.platform.x11.process-messages-single-threaded
"../jazz/lib/jazz.ui/src/jazz/ui/window/platform/x11.jazz"@461:11
thunk == '#<procedure #17>
msg == '#<XEvent* #18 0x105e59e70>
display-fd == 3
fdset == '#<fd_set* #19 0x105e59f90>
5 jazz.ui.window.platform.x11.process-messages-single-threaded
"../jazz/lib/jazz.ui/src/jazz/ui/window/platform/x11.jazz"@453:5
msg == '#<XEvent* #18 0x105e59e70>
fdset == '#<fd_set* #19 0x105e59f90>
6 jazz.ui.window.process-events
"../jazz/lib/jazz.ui/src/jazz/ui/window/_window.jazz"@104:7
7 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
"../jazz/lib/jazz.ui/src/jazz/ui/hosting/Dialog-Host.jazz"@140:20
self == '{Dialog-Host root {Point 0 0} {Dimension 400 216}
#20}
8 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
"../jazz/lib/jazz.ui/src/jazz/ui/hosting/Dialog-Host.jazz"@126:12
self == '{Dialog-Host root {Point 0 0} {Dimension 400 216}
#20}
9 ##call-with-values
10 ##call-with-values
11 jazz.system.application.Application.Application.prepare-environment
"../jazz/lib/jazz.system/src/jazz/system/application/
Application.jazz"@129:5
self == '{Jedi #21}
12 jazz.system.process.Process.Process.prepare-phase
"../jazz/lib/jazz.system/src/jazz/system/process/Process.jazz"@158:5
self == '{Jedi #21}
13 jazz.system.process.Process.Process.boot-environment
"../jazz/lib/jazz.system/src/jazz/system/process/Process.jazz"@119:7
self == '{Jedi #21}
14 jazz.executable-main
"../jazz/kernel/runtime/setup.scm"@239:3

Guillaume Cartier

unread,
Feb 25, 2011, 8:16:38 AM2/25/11
to jazzs...@googlegroups.com
To help get information about the installed version of Jedi and Jazz, I added a new 'jam info' command. It basically does a 'git log -1' in Jedi's directory and in the Jazz git submodule directory.

Can you pull the latest Jedi. Build it: 'jam make' to make sure you still have the same problem running it, and send us the result of 'jam info'.

Thanks,

Guillaume


--
You received this message because you are subscribed to the Google Groups "Jazz Scheme" group.
To post to this group, send email to jazzs...@googlegroups.com.
To unsubscribe from this group, send email to jazzscheme+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jazzscheme?hl=en.



James Baker

unread,
Feb 25, 2011, 10:07:50 PM2/25/11
to jazzs...@googlegroups.com
Guillaume,

I grabbed the latest Jedi, but unfortunately the same thing occurs.

./jam info
Jedi
commit 5706a01c21fc02d27ac516daf9b78edc7bdab89b
Author: Guillaume Cartier <gcar...@jazzscheme.org>
Date: Thu Feb 24 18:21:13 2011 -0500

Sync for bug fix

Jazz
commit 169f0921277190cbfa688596464ddd1fcc631db3
Author: Guillaume Cartier <gcar...@jazzscheme.org>
Date: Thu Feb 24 18:20:33 2011 -0500

Not finding the active-project doesn't stop Jedi from launching anymore

Guillaume Cartier

unread,
Mar 1, 2011, 12:06:03 PM3/1/11
to jazzs...@googlegroups.com
Hi James,

We got someone at work with a Mac to build and run Jedi yesterday and everything worked fine.

To help track the problem, here's a simplified test to isolate the problem :

Put the following code inside the jazz.test module, e.g. paste it the code just after (module jazz.test jazz

The jazz.test module is located at jazz/lib/jazz/src/jazz/test/_test.jazz.

You can then run the code using : bin/kernel -run test

Here is the output I get on my X11 box :

user@ubuntu:~/jedi$ build/release/kernel -run test
#<cairo_surface_t* #2 0xaf9f780>

Guillaume

-----------------------

(import (jazz.platform)
        (jazz.platform.cairo)
        (jazz.system)
        (jazz.ui))

(definition package (test)
  (initialize-windowing get-setting)
  (let ((window (new Window))
        (visual (XDefaultVisual x11-default-display (XDefaultScreen x11-default-display))))
    (debug (cairo_xlib_surface_create x11-default-display (get-handle~ window) visual (get-width~ window) (get-height~ window)))))

(test)
Reply all
Reply to author
Forward
0 new messages