Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with Gnome 3.2 - "invalid 'in' operand method"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mmxgn
n00b
n00b


Joined: 03 Oct 2004
Posts: 11
Location: Greece

PostPosted: Thu Feb 16, 2012 12:10 pm    Post subject: Problem with Gnome 3.2 - "invalid 'in' operand method&q Reply with quote

Hello,

I installed (on a freshly installed gentoo ppc64 machine ) gnome 3.2.
However, whenever I am trying to start up gdm or X with gnome, the following happens:

result of "startx 2> error.log"

Code:

hostname: Unknown host
xauth:  file /home/mmxgn/.serverauth.3023 does not exist


X.Org X Server 1.11.4
Release Date: 2012-01-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.5-gentooemergencia ppc64 Gentoo
Current Operating System: Linux gentoo-imacG5 3.2.5-gentoo-emergencia #2 SMP PREEMPT Sat Feb 11 18:19:07 EET 2012 ppc64
Kernel command line: root=/dev/sda4 ro
Build Date: 11 February 2012  03:52:45AM
 
Current version of pixman: 0.24.2
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 16 13:51:12 2012
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "fbdev" (module does not exist, 0)
(II) [KMS] Kernel modesetting enabled.
** Message: couldn't access conrol socket: /tmp/keyring-EawVXw/control: No such file or directory
** Message: couldn't access conrol socket: /tmp/keyring-EawVXw/control: No such file or directory
** Message: couldn't access conrol socket: /tmp/keyring-EawVXw/control: No such file or directory
** Message: couldn't access conrol socket: /tmp/keyring-EawVXw/control: No such file or directory

(gnome-settings-daemon:3056): common-plugin-WARNING **: Key 0x70 (keycodes:  33)  with state 0x4000000 (resolved to 0x0)  has no usable modifiers (usable modifiers are 0x140000fd)
    JS ERROR: !!!   Exception was: TypeError: invalid 'in' operand method
    JS ERROR: !!!     lineNumber = '256'
    JS ERROR: !!!     fileName = '"/usr/share/gjs-1.0/dbus.js"'
    JS ERROR: !!!     stack = '"proxifyPrototype([object Object],[object Object])@/usr/share/gjs-1.0/dbus.js:256
makeProxyClass([object Object])@/usr/share/gjs-1.0/dbus.js:605
@/usr/share/gjs-1.0/dbus.js:609
"'
    JS ERROR: !!!     message = '"invalid 'in' operand method"'
    JS ERROR: !!!   Exception was: TypeError: invalid 'in' operand method
    JS ERROR: !!!     lineNumber = '256'
    JS ERROR: !!!     fileName = '"/usr/share/gjs-1.0/dbus.js"'
    JS ERROR: !!!     stack = '"proxifyPrototype([object Object],[object Object])@/usr/share/gjs-1.0/dbus.js:256
makeProxyClass([object Object])@/usr/share/gjs-1.0/dbus.js:605
@/usr/share/gjs-1.0/dbus.js:609
"'
    JS ERROR: !!!     message = '"invalid 'in' operand method"'
    JS ERROR: !!!   Exception was: TypeError: invalid 'in' operand method
    JS ERROR: !!!     lineNumber = '256'
    JS ERROR: !!!     fileName = '"/usr/share/gjs-1.0/dbus.js"'
    JS ERROR: !!!     stack = '"proxifyPrototype([object Object],[object Object])@/usr/share/gjs-1.0/dbus.js:256
makeProxyClass([object Object])@/usr/share/gjs-1.0/dbus.js:605
@/usr/share/gjs-1.0/dbus.js:609
"'
    JS ERROR: !!!     message = '"invalid 'in' operand method"'
Window manager warning: Log level 32: Execution of main.js threw exception: TypeError: invalid 'in' operand method
Failed to play sound: File or data not found
    JS ERROR: !!!   Exception was: TypeError: invalid 'in' operand method
    JS ERROR: !!!     lineNumber = '256'
    JS ERROR: !!!     fileName = '"/usr/share/gjs-1.0/dbus.js"'
    JS ERROR: !!!     stack = '"proxifyPrototype([object Object],[object Object])@/usr/share/gjs-1.0/dbus.js:256
makeProxyClass([object Object])@/usr/share/gjs-1.0/dbus.js:605
@/usr/share/gjs-1.0/dbus.js:609
"'
    JS ERROR: !!!     message = '"invalid 'in' operand method"'
    JS ERROR: !!!   Exception was: TypeError: invalid 'in' operand method
    JS ERROR: !!!     lineNumber = '256'
    JS ERROR: !!!     fileName = '"/usr/share/gjs-1.0/dbus.js"'
    JS ERROR: !!!     stack = '"proxifyPrototype([object Object],[object Object])@/usr/share/gjs-1.0/dbus.js:256
makeProxyClass([object Object])@/usr/share/gjs-1.0/dbus.js:605
@/usr/share/gjs-1.0/dbus.js:609
"'
    JS ERROR: !!!     message = '"invalid 'in' operand method"'
    JS ERROR: !!!   Exception was: TypeError: invalid 'in' operand method
    JS ERROR: !!!     lineNumber = '256'
    JS ERROR: !!!     fileName = '"/usr/share/gjs-1.0/dbus.js"'
    JS ERROR: !!!     stack = '"proxifyPrototype([object Object],[object Object])@/usr/share/gjs-1.0/dbus.js:256
makeProxyClass([object Object])@/usr/share/gjs-1.0/dbus.js:605
@/usr/share/gjs-1.0/dbus.js:609
"'
    JS ERROR: !!!     message = '"invalid 'in' operand method"'
Window manager warning: Log level 32: Execution of main.js threw exception: TypeError: invalid 'in' operand method
gnome-session[3045]: WARNING: App 'gnome-shell.desktop' respawning too quickly

(gnome-settings-daemon:3056): common-plugin-WARNING **: Key 0x70 (keycodes:  33)  with state 0x4000000 (resolved to 0x0)  has no usable modifiers (usable modifiers are 0x140000fd)

(gnome-settings-daemon:3056): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
xinit: connection to X server lost

waiting for X server to shut down Server terminated successfully (0). Closing log file.


And the not-very-informative "Oops, something went wrong" gnome error appears with only the option to log out.

Any hints?

Thanks for the answers.

Edit: Fixed the hostname: Uknown host error but I have the same problem with dbus.js.
_________________
morthul surinen
fanya quelli
RIP 0x7D4
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Fri Feb 17, 2012 5:43 am    Post subject: Reply with quote

What exact dev-libs/gjs version do you have?
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
mmxgn
n00b
n00b


Joined: 03 Oct 2004
Posts: 11
Location: Greece

PostPosted: Fri Feb 17, 2012 10:44 am    Post subject: Reply with quote

gjs-1.30.1 :)

I've tried to debug dbus.js a little bit and I've noticed the following.

Here's the code around line 256:

Code:

function proxifyPrototype(proto, iface) {
    if ('name' in iface)
        proto._dbusInterface = iface.name;
    else
        proto._dbusInterface = null;

    if ('methods' in iface) {
        let methods = iface.methods;

        for (let i = 0; i < methods.length; ++i) {
            let method = methods[i];

            if (!('name' in method))
                throw new Error("Method definition must have a name");

            /* To ease transition let's create two methods: Foo and FooRemote.
             * Foo will just log a warning so we can catch people using the
             * old naming system. FooRemote is the actual proxy method.
             */
            let methodName = method.name + "Remote";
            proto[methodName] = _makeProxyMethod(method);
            proto[method.name] = function() {
                log("PROXY-ERROR: " + method.name + " called, you should be using " +
                    methodName + " instead");
            };
        }
    }


I tried printing method.length and it returned 1. I also added a print(method) line inside the loop after the method variable declaration
and it iterated two times, first returing [object Object] and then undefined. The same code on my x86_64 archlinux machine returns again method.length: 1 and
iterates one time only.
_________________
morthul surinen
fanya quelli
RIP 0x7D4
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Sun Feb 19, 2012 1:18 am    Post subject: Reply with quote

Not really sure what's up. You may want to consider bringing this to bugzilla.
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
mmxgn
n00b
n00b


Joined: 03 Oct 2004
Posts: 11
Location: Greece

PostPosted: Sun Feb 19, 2012 10:22 pm    Post subject: Reply with quote

Already posted it to gnome bugzilla.
Seems an upstream bug related to gjs and spidermonkey's js.

https://bugzilla.gnome.org/show_bug.cgi?id=670350
https://bugzilla.redhat.com/show_bug.cgi?id=749604
https://bugzilla.mozilla.org/show_bug.cgi?id=674522
_________________
morthul surinen
fanya quelli
RIP 0x7D4
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum