View previous topic :: View next topic |
Author |
Message |
mmxgn n00b
Joined: 03 Oct 2004 Posts: 11 Location: Greece
|
Posted: Thu Feb 16, 2012 12:10 pm Post subject: Problem with Gnome 3.2 - "invalid 'in' operand method&q |
|
|
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 |
|
|
Leio Developer
Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
Posted: Fri Feb 17, 2012 5:43 am Post subject: |
|
|
What exact dev-libs/gjs version do you have? _________________ GNOME team lead; GStreamer; MIPS/ARM64 |
|
Back to top |
|
|
mmxgn n00b
Joined: 03 Oct 2004 Posts: 11 Location: Greece
|
Posted: Fri Feb 17, 2012 10:44 am Post subject: |
|
|
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 |
|
|
Leio Developer
Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
Posted: Sun Feb 19, 2012 1:18 am Post subject: |
|
|
Not really sure what's up. You may want to consider bringing this to bugzilla. _________________ GNOME team lead; GStreamer; MIPS/ARM64 |
|
Back to top |
|
|
mmxgn n00b
Joined: 03 Oct 2004 Posts: 11 Location: Greece
|
|
Back to top |
|
|
|
|
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
|
|