freenode/#clim - IRC Chatlog
Search
11:32:15
davd33
Hello there! I'm having a small issue with fonts on ubuntu from SLIME, running an McCLIM app (the super-app as in the manual) :
11:32:18
davd33
Stream #<BASIC-FILE-BINARY-INPUT-STREAM ("/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"/6 ISO-8859-1) #x30200610C45D> is private to #<PROCESS lparallel(47) [semaphore wait] #x3020060658FD>
11:43:00
john-a-carroll
davd33: I also got this error when I used to develop in ccl. (I use sbcl now). I wrote a patch to get around it, but it's very ugly and I thought the problem might be specific to my setup so I didn't make it public. It's the last 50-or-so lines of http://svn.delph-in.net/lkb/branches/fos/src/general/openmcl-patches.lisp
12:03:51
davd33
pjb: Where do you pass those? I'm having this issue when running an app defined with (define-application-frame).
12:07:53
john-a-carroll
Run it from any package, after loading mcclim. For safety it uses a named lock and adds a missing finaliser - maybe these are unnecessary but I didn't want to risk any problems since my application is used by non-programmers.
12:29:04
pjb
davd33: so I guess you still need a patch, but it's a little one: #+ccl :sharing #+ccl t
12:29:53
pjb
On the other hand, perhaps the opening and closing could be done by the thread that reads the font, instead of outside of it? That could be safer.