Discussion:
Trouble with Jedi
James Baker
2011-02-24 00:21:52 UTC
Permalink
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
--
You received this message because you are subscribed to the Google Groups "Jazz Scheme" group.
To post to this group, send email to jazzscheme-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to jazzscheme+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/jazzscheme?hl=en.
Guillaume Cartier
2011-02-25 13:16:38 UTC
Permalink
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
Post by James Baker
I was trying to get jazz + jedi to run on my mac (10.6.6, xquartz
Mac-mini:bin james$ ./jedi
0 jazz.platform.cairo.cairo-x11.cairo_xlib_surface_create
1 jazz.ui.window.platform.x11.with-platform-painting
proc == '#<procedure #16>
2 ##gc-hash-table-for-each
3 ##table-for-each
4 jazz.ui.window.platform.x11.process-messages-single-threaded
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
msg == '#<XEvent* #18 0x105e5a3c0>
fdset == '#<fd_set* #19 0x105e5a4e0>
6 jazz.ui.window.process-events
7 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
self == '{Dialog-Host root {Point 0 0} {Dimension 400 216}
#20}
8 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
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/
self == '{Jedi #21}
12 jazz.system.process.Process.Process.prepare-phase
self == '{Jedi #21}
13 jazz.system.process.Process.Process.boot-environment
self == '{Jedi #21}
14 jazz.executable-main
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
proc == '#<procedure #16>
2 ##gc-hash-table-for-each
3 ##table-for-each
4 jazz.ui.window.platform.x11.process-messages-single-threaded
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
msg == '#<XEvent* #18 0x105e59e70>
fdset == '#<fd_set* #19 0x105e59f90>
6 jazz.ui.window.process-events
7 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
self == '{Dialog-Host root {Point 0 0} {Dimension 400 216}
#20}
8 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
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/
self == '{Jedi #21}
12 jazz.system.process.Process.Process.prepare-phase
self == '{Jedi #21}
13 jazz.system.process.Process.Process.boot-environment
self == '{Jedi #21}
14 jazz.executable-main
--
You received this message because you are subscribed to the Google Groups
"Jazz Scheme" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/jazzscheme?hl=en.
--
You received this message because you are subscribed to the Google Groups "Jazz Scheme" group.
To post to this group, send email to jazzscheme-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to jazzscheme+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/jazzscheme?hl=en.
James Baker
2011-02-26 03:07:50 UTC
Permalink
Guillaume,

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

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

Sync for bug fix

Jazz
commit 169f0921277190cbfa688596464ddd1fcc631db3
Author: Guillaume Cartier <gcartier-***@public.gmane.org>
Date: Thu Feb 24 18:20:33 2011 -0500

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


On Sat, Feb 26, 2011 at 12:16 AM, Guillaume Cartier
Post by Guillaume Cartier
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
Post by James Baker
I was trying to get jazz + jedi to run on my mac (10.6.6, xquartz
Mac-mini:bin james$ ./jedi
0  jazz.platform.cairo.cairo-x11.cairo_xlib_surface_create
1  jazz.ui.window.platform.x11.with-platform-painting
       proc == '#<procedure #16>
2  ##gc-hash-table-for-each
3  ##table-for-each
4  jazz.ui.window.platform.x11.process-messages-single-threaded
       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
       msg == '#<XEvent* #18 0x105e5a3c0>
       fdset == '#<fd_set* #19 0x105e5a4e0>
6  jazz.ui.window.process-events
7  jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
       self == '{Dialog-Host root {Point 0 0} {Dimension 400 216}
#20}
8  jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
       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/
       self == '{Jedi #21}
12 jazz.system.process.Process.Process.prepare-phase
       self == '{Jedi #21}
13 jazz.system.process.Process.Process.boot-environment
       self == '{Jedi #21}
14 jazz.executable-main
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
       proc == '#<procedure #16>
2  ##gc-hash-table-for-each
3  ##table-for-each
4  jazz.ui.window.platform.x11.process-messages-single-threaded
       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
       msg == '#<XEvent* #18 0x105e59e70>
       fdset == '#<fd_set* #19 0x105e59f90>
6  jazz.ui.window.process-events
7  jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
       self == '{Dialog-Host root {Point 0 0} {Dimension 400 216}
#20}
8  jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
       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/
       self == '{Jedi #21}
12 jazz.system.process.Process.Process.prepare-phase
       self == '{Jedi #21}
13 jazz.system.process.Process.Process.boot-environment
       self == '{Jedi #21}
14 jazz.executable-main
--
You received this message because you are subscribed to the Google Groups
"Jazz Scheme" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/jazzscheme?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Jazz Scheme" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/jazzscheme?hl=en.
--
You received this message because you are subscribed to the Google Groups "Jazz Scheme" group.
To post to this group, send email to jazzscheme-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
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.
Guillaume Cartier
2011-03-01 17:06:03 UTC
Permalink
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 :

***@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)
Post by James Baker
Guillaume,
I grabbed the latest Jedi, but unfortunately the same thing occurs.
./jam info
Jedi
commit 5706a01c21fc02d27ac516daf9b78edc7bdab89b
Date: Thu Feb 24 18:21:13 2011 -0500
Sync for bug fix
Jazz
commit 169f0921277190cbfa688596464ddd1fcc631db3
Date: Thu Feb 24 18:20:33 2011 -0500
Not finding the active-project doesn't stop Jedi from launching anymore
On Sat, Feb 26, 2011 at 12:16 AM, Guillaume Cartier
Post by Guillaume Cartier
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
Post by Guillaume Cartier
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
Post by James Baker
I was trying to get jazz + jedi to run on my mac (10.6.6, xquartz
Mac-mini:bin james$ ./jedi
0 jazz.platform.cairo.cairo-x11.cairo_xlib_surface_create
1 jazz.ui.window.platform.x11.with-platform-painting
proc == '#<procedure #16>
2 ##gc-hash-table-for-each
3 ##table-for-each
4 jazz.ui.window.platform.x11.process-messages-single-threaded
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
msg == '#<XEvent* #18 0x105e5a3c0>
fdset == '#<fd_set* #19 0x105e5a4e0>
6 jazz.ui.window.process-events
7 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
self == '{Dialog-Host root {Point 0 0} {Dimension 400 216}
#20}
8 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
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/
self == '{Jedi #21}
12 jazz.system.process.Process.Process.prepare-phase
self == '{Jedi #21}
13 jazz.system.process.Process.Process.boot-environment
self == '{Jedi #21}
14 jazz.executable-main
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
proc == '#<procedure #16>
2 ##gc-hash-table-for-each
3 ##table-for-each
4 jazz.ui.window.platform.x11.process-messages-single-threaded
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
msg == '#<XEvent* #18 0x105e59e70>
fdset == '#<fd_set* #19 0x105e59f90>
6 jazz.ui.window.process-events
7 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
self == '{Dialog-Host root {Point 0 0} {Dimension 400 216}
#20}
8 jazz.ui.hosting.Dialog-Host.Dialog-Host.process-modal
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/
self == '{Jedi #21}
12 jazz.system.process.Process.Process.prepare-phase
self == '{Jedi #21}
13 jazz.system.process.Process.Process.boot-environment
self == '{Jedi #21}
14 jazz.executable-main
--
You received this message because you are subscribed to the Google
Groups
Post by Guillaume Cartier
Post by James Baker
"Jazz Scheme" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/jazzscheme?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Jazz Scheme" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/jazzscheme?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Jazz Scheme" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/jazzscheme?hl=en.
--
You received this message because you are subscribed to the Google Groups "Jazz Scheme" group.
To post to this group, send email to jazzscheme-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to jazzscheme+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/jazzscheme?hl=en.
Loading...