chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Qt egg - some examples does not work here


From: Arthur Maciel
Subject: Re: [Chicken-users] Qt egg - some examples does not work here
Date: Mon, 23 Aug 2010 21:12:38 -0300

Oops... running 'csi -s -:d test.scm' gives me:

(...)
[debug] entering toplevel toplevel...
[debug] forcing finalizers...
Error: "/var/tmp/kdecache-arthur" is owned by uid 1000 instead of uid 0.
#<qt-widget>
#<qt-widget>
#<qt-widget>
#<qt-pixmap>
#<qt-sound>

Error: unbound variable: 0.01

        Call history:

        <syntax>                (print "closed")
        <syntax>                (exit)
        <eval>          (qt:connect app "lastWindowClosed()" (qt:receiver (lambda () (print "closed") (exit))))
        <eval>          (qt:receiver (lambda () (print "closed") (exit)))
        <syntax>                (define t (qt:timer 0.01))
        <syntax>                (##core#set! t (qt:timer 0.01))
        <syntax>                (qt:timer 0.01)
        <eval>          (qt:timer 0.01) <--


It seems it is not accepting floating point numbers as a valid ones  (I say this because if I change (qt:timer 0.001) to (qt:timer 1), it complains about (gl:Vertex2f -0.5 -0.5) as -0.5 as an unbound variable).

What am I missing?

Thanks,
Arthur

2010/8/23 Arthur Maciel <address@hidden>
Mario and Felix, I've just searched on google about the error and many people say it occurs when they upgrade to Ubuntu 10.04.

Although in my case no IBus problem is mentioned, installing ibus and running it as daemon fixed the problem.
Really weird, but it works perfectly now.

BTW, any idea to support Qt printing functionalities for the egg?

Thanks!
Arthur



2010/8/23 Mario Domenech Goulart <address@hidden>

Hi Arthur

On Sun, 22 Aug 2010 16:53:43 -0300 Arthur Maciel <address@hidden> wrote:

> I`ve perfectly installed Qt egg (using qt-sdk package from Kubuntu as
> the Qt4 source) and hello-world.scm example runs smoothly.
>
> But when I try to run editor.scm or egg-browser.scm eggs I get:
>
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed:File or
> directory not found
> Segmentation fault
>
> What might be the problem?

I cannot reproduce the problem here (Ubuntu 9.10, chicken 4.5.0).

A google query for "QInotifyFileSystemWatcherEngine::addPaths:
inotify_add_watch failed:File" (without quotes) returns a lot of
things.  Maybe it's related to some system [mis]configuration.


Best wishes.
Mario
--
http://parenteses.org/mario



reply via email to

[Prev in Thread] Current Thread [Next in Thread]