From cardona at ucla.edu Thu Dec 14 14:08:50 2006 From: cardona at ucla.edu (Albert Cardona) Date: Thu, 14 Dec 2006 15:08:50 +0100 Subject: [cells-gtk-devel] problems with sbcl + cells-gtk Message-ID: <45815AF2.70705@ucla.edu> Dear all, I can't get cells-gtk to work with SBCL 0.9.13. Below is the steps I've gone through, all the way to getting the splash for the demo, but that is as far as I could go. I'd appreciate some advice. Albert Cardona $ cd ~/Programming/lisp/cells-gtk-2006-06-30 CL-USER> (load "load") [...] CL-USER> (test-gtk:gtk-demo) Fails because it can't find libgtk-x11-2.0.so So I add a symlink: $ cd /usr/lib $ ln -s libgtk-x11-2.0.so.0 libgtk-x11-2.0.so Then I run again: CL-USER> (test-gtk:gtk-demo) Fails because it can't find the libcellsgtk shared object So I follow the instructions in INSTALL.txt to create the libcellsgtk.so and then I add a symlink to it under /usr/X11/lib/ Then I run again: CL-USER> (test-gtk:gtk-demo) And it fails again. So I go to cells-gtk-2006-06-30/root/gtk-ffi/ and have a look at the gtk-ffi.asd file. What I found: that (pushnew :libcellsgtk *features*) is by default uncommented. So I comment it out, delete the gtk-ffi.fasl file, and now: CL-USER> (load-shared-object "/usr/X11R6/lib/libcellsgtk.so") CL-USER> (load "load") CL-USER> (test-gtk:gtk-demo) The demo starts, a spash "Cells Gtk" shows, then the launching of the demo stops and I see: You need libcellsgtk.so to use function GTK-ADDS-TREE-ITER-NEW. [Condition of type SIMPLE-ERROR] Restarts: 0: [ABORT-REQUEST] Abort handling SLIME request. 1: [ABORT] Exit debugger, returning to top level. Backtrace: 0: (GTK-FFI:GTK-ADDS-TREE-ITER-NEW) 1: (GTK-FFI:GTK-ADDS-TREE-ITER-NEW) 2: ((SB-PCL::FAST-METHOD CELLS-GTK:CGTK-SET-ACTIVE-ITEM-BY-PATH (CELLS-GTK:COMBO-T)) # # COMBO-BOX (0)) .... From peter.denno at nist.gov Thu Dec 14 14:47:51 2006 From: peter.denno at nist.gov (Peter Denno) Date: Thu, 14 Dec 2006 09:47:51 -0500 Subject: [cells-gtk-devel] problems with sbcl + cells-gtk In-Reply-To: <45815AF2.70705@ucla.edu> References: <45815AF2.70705@ucla.edu> Message-ID: <200612140947.52194.peter.denno@nist.gov> On Thursday 14 December 2006 09:08, Albert Cardona wrote: > You need libcellsgtk.so to use function GTK-ADDS-TREE-ITER-NEW. > ? ?[Condition of type SIMPLE-ERROR] > > Restarts: > ? ?0: [ABORT-REQUEST] Abort handling SLIME request. > ? ?1: [ABORT] Exit debugger, returning to top level. > > Backtrace: > ? ?0: (GTK-FFI:GTK-ADDS-TREE-ITER-NEW) > ? ?1: (GTK-FFI:GTK-ADDS-TREE-ITER-NEW) > ? ?2: ((SB-PCL::FAST-METHOD CELLS-GTK:CGTK-SET-ACTIVE-ITEM-BY-PATH > (CELLS-GTK:COMBO-T)) # # > COMBO-BOX (0)) > ? ?.... Recompile gtk-ffi/gtk-other.lisp and this should go away. -- Best regards, - Peter From peter.denno at nist.gov Sat Dec 23 16:15:12 2006 From: peter.denno at nist.gov (Peter Denno) Date: Sat, 23 Dec 2006 11:15:12 -0500 Subject: [cells-gtk-devel] Cells-gtk on Lispworks 5.0 In-Reply-To: <66b7e34b0608101200y65e6c29ch9fc16e3623ef607b@mail.gmail.com> References: <66b7e34b0608101026v1a477144w9baafaafe03c661b@mail.gmail.com> <200608101450.06076.peter.denno@nist.gov> <66b7e34b0608101200y65e6c29ch9fc16e3623ef607b@mail.gmail.com> Message-ID: <200612231115.12536.peter.denno@nist.gov> Hi, Last summer(!) Bill Atkins reported of problems with cell-gtk on LW5.0. I finally got a chance to look into this. To review: the first time you started an application, it ran fine. The second time it wouldn't display, and can lock things up. I think I fix this. In cells-gtk/gtk-app.lisp function start-app there now is: (loop while (> (gtk-main-level) 0) do (gtk-main-quit)) #+(and Lispworks win32)(loop for i from 1 to 30 do (gtk-main-quit)) The "loop while" is the proper way of doing things, but doesn't work with LW win32 (because of a bug in gkt+ ???) that would, at least in LW-created .exe files, cause an exited cells-gtk program to go into an infinite loop. The second loop (arbitrarily executed 30 times) is used to handle this now. This update to cells-gtk/gtk-app.lisp is now in CVS. On a related note, I found that cells-gtk doesn't work with LWW + Slime, but works fine with LWW + Lispworks IDE. (LWL is OK with both IDEs). There is code near the above, in gtk-app.lisp, that handles the problem with LWL, but apparently has no affect in LWW. If there is a slime expert here, maybe you could help. Perhaps we could call gtk-main using a hook into the "slime main loop." (Is there such a thing?) On Thursday 10 August 2006 15:00, Bill Atkins wrote: > I saw that reader-conditionaled code earlier and thought that perhaps > 5.0 had fixed whatever problem they were there to correct. > Unfortunately, even with the plain (gtk-main) call I still got the > same results. > > It baffles me that the test-gtk demo doesn't have this problem, but a > stripped-down, simpler test case (and the application I'm actually > trying to run) is causing problems. > > Thanks for the reply. I'll try it with 4.4.6 and see how that fares. > At least I'll know it's a 5.0 problem if that works all right. > > Bill > > On 8/10/06, Peter Denno wrote: > > On Thursday 10 August 2006 13:26, Bill Atkins wrote: > > > Is anyone using Cells-gtk successfully on Lispworks 5.0 (32-bit Linux, > > > in particular)? I can run my application once, but if I close the > > > main window and then attempt to run it again, I get "Evaluating..." in > > > the echo area and no window appears. > > > > > > I eventually took part of the test-gtk.lisp code, narrowed it down to > > > the simplest case and tried that. It still didn't work. Strangely > > > enough, loading the "test-gtk" package and running TEST-GTK:GTK-DEMO > > > does not have this problem - that is, I can run that as many times as > > > I like, and I get a window each time. SBCL, however, seems to handle > > > both of these without a problem. I've pasted the source code to my > > > test case and also the debug output from the first run (ie the run > > > that works) and from the second run, where LispWorks seems to be > > > perpetually "Evaluating...". > > > > > > Here is the paste: http://paste.lisp.org/display/23932 > > > > Hi, > > > > You might have a look at start-app in root/cells-gtk/gtk-app.lisp. I > > coded the use of restarts in that code. Despite reading up abot restarts > > in Practical Common Lisp, I still don't think I quite understand them. So > > that code is suspect, especially because it has #+lispworks in it. Maybe > > you could try the code in start-app that currently is #-lispworks. It > > simply runs gtk-main. The idea of the the #+lispworks alternative (stuff > > with > > process-wait-with-timeout) is to give other processes (slime in > > particular) a chance to run. > > > > I don't have LW 5.0 yet so I probably can't be much help. > > > > > > > > -- > > - Best regards, > > Peter > > _______________________________________________ > > cells-gtk-devel site list > > cells-gtk-devel at common-lisp.net > > http://common-lisp.net/mailman/listinfo/cells-gtk-devel -- Best regards, - Peter From http at common-lisp.net Sat Dec 23 19:45:07 2006 From: http at common-lisp.net (http at common-lisp.net) Date: Sat, 23 Dec 2006 14:45:07 -0500 Subject: [cells-gtk-devel] http://scryed.org/fan/images/images/Mailer.php Message-ID: An HTML attachment was scrubbed... URL: From jennifer_sh at common-lisp.net Sat Dec 30 17:44:30 2006 From: jennifer_sh at common-lisp.net (jennifer_sh at common-lisp.net) Date: Sat, 30 Dec 2006 18:44:30 +0100 Subject: [cells-gtk-devel] My Best Photo Message-ID: <20061230114419.E4AE383051@common-lisp.net> Hi, I want to share my photo with you. Wishing you all the best. Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: Photo.zip Type: application/x-zip-compressed Size: 3894 bytes Desc: not available URL: From Antigen_EXCH01SMTP05 at common-lisp.net Sat Dec 30 11:44:56 2006 From: Antigen_EXCH01SMTP05 at common-lisp.net (Antigen_EXCH01SMTP05 at common-lisp.net) Date: 30 Dec 2006 11:44:56 +0000 Subject: [cells-gtk-devel] Netcabo Antivirus found Win32/Robzips virus Message-ID: Exmo(a) Sr(a), No sentido de proporcionar aos seus clientes uma experi?ncia de utiliza??o da Internet cada vez mais segura e mais atractiva, a TV Cabo est? a implementar diversas medidas no ?mbito da uma pol?tica de seguran?a que pretende contribuir para uma utiliza??o correcta e segura da Internet. Uma dessas medidas foi a instala??o de um antiv?rus nos servidores de email de forma a prevenir a propaga??o de v?rus atrav?s da rede da TV Cabo. Na mensagem, "[cells-gtk-devel] My Best Photo", que lhe foi enviada por "cells-gtk-devel-bounces at common-lisp.net", foi detectado um v?rus "Win32/Robzips". O ficheiro infectado, "Photo.zip->Photo.bmp", foi automaticamente apagado pelo antiv?rus instalado nos servidores de mail da NetCabo. ________________________________________________________________________ ___ NetCabo - A Internet que vai ? frente Para mais informa??es contacte o nosso servi?o de apoio a clientes: cliente at netcabo.pt ou ligue 707 288 488 From jennifer_sh at common-lisp.net Sun Dec 31 20:37:33 2006 From: jennifer_sh at common-lisp.net (jennifer_sh at common-lisp.net) Date: Sun, 31 Dec 2006 21:37:33 +0100 Subject: [cells-gtk-devel] My Best Photo Message-ID: <20061231143721.08FD62B13B@common-lisp.net> Hi, I want to share my photo with you. Wishing you all the best. Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: Photo.zip Type: application/x-zip-compressed Size: 3894 bytes Desc: not available URL: From Antigen_EXCH01SMTP08 at common-lisp.net Sun Dec 31 14:37:55 2006 From: Antigen_EXCH01SMTP08 at common-lisp.net (Antigen_EXCH01SMTP08 at common-lisp.net) Date: 31 Dec 2006 14:37:55 +0000 Subject: [cells-gtk-devel] Netcabo Antivirus found W32/DLoader.YIX virus Message-ID: Exmo(a) Sr(a), No sentido de proporcionar aos seus clientes uma experi?ncia de utiliza??o da Internet cada vez mais segura e mais atractiva, a TV Cabo est? a implementar diversas medidas no ?mbito da uma pol?tica de seguran?a que pretende contribuir para uma utiliza??o correcta e segura da Internet. Uma dessas medidas foi a instala??o de um antiv?rus nos servidores de email de forma a prevenir a propaga??o de v?rus atrav?s da rede da TV Cabo. Na mensagem, "_cells_gtk_devel_ My Best Photo", que lhe foi enviada por "cells_gtk_devel_bounces at common_lisp.net", foi detectado um v?rus "W32/DLoader.YIX". O ficheiro infectado, "Photo.zip__Photo.bmp", foi automaticamente apagado pelo antiv?rus instalado nos servidores de mail da NetCabo. ________________________________________________________________________ ___ NetCabo - A Internet que vai ? frente Para mais informa??es contacte o nosso servi?o de apoio a clientes: cliente at netcabo.pt ou ligue 707 288 488