You are not logged in.

#1 2012-06-28 14:21:36

bigtoung
Member
Registered: 2012-06-28
Posts: 3

Problems Starting Guake?

Just installed guake and when I try to install it I get this error

** (process:1387): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:1387): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:1387): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/usr/bin/guake", line 34, in <module>
    import dbus
  File "/usr/lib/python2.7/site-packages/dbus/__init__.py", line 82, in <module>
    import dbus.types as types
  File "/usr/lib/python2.7/site-packages/dbus/types.py", line 6, in <module>
    from _dbus_bindings import (
ImportError: /usr/lib/python2.7/site-packages/_dbus_bindings.so: undefined symbol: dbus_validate_utf8

Offline

#2 2012-06-29 17:06:37

big_bum
Member
From: Bucharest,Romania,Europe,World
Registered: 2011-08-29
Posts: 47

Re: Problems Starting Guake?

I'm having the same problem. I downgraded i don't know if this i related, but i've downgraded dbus to version 1.4.20. Can you tell me what dbus verision you are using?

pacman -Qi dbus dbus-core | grep Version

Last edited by big_bum (2012-06-29 18:59:16)

Offline

#3 2012-06-29 18:20:07

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Problems Starting Guake?

Just installed guake and when I try to install it I get this error

You mean when you try to run it.

Post your rc.conf.


By the way, this also would have worked:

$ pacman -Q dbus dbus-core
dbus 1.6.0-1
dbus-core 1.6.0-5

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-06-29 23:19:47

cuihao
Member
Registered: 2011-03-19
Posts: 27

Re: Problems Starting Guake?

I also got this when using "systemd-analyze":

cuihao@cuihao-arch ~ $ systemd-analyze plot
Traceback (most recent call last):
  File "/usr/bin/systemd-analyze", line 3, in <module>
    import getopt, dbus, sys, os
  File "/usr/lib/python2.7/site-packages/dbus/__init__.py", line 82, in <module>
    import dbus.types as types
  File "/usr/lib/python2.7/site-packages/dbus/types.py", line 6, in <module>
    from _dbus_bindings import (
ImportError: /usr/lib/python2.7/site-packages/_dbus_bindings.so: undefined symbol: dbus_validate_utf8

Forgive my poor English. I am a senior student from China.

Offline

#5 2012-07-01 02:26:36

cuihao
Member
Registered: 2011-03-19
Posts: 27

Re: Problems Starting Guake?

I have solved my problem.

I checked shared library dependencies of _dbus_bindings.so:

cuihao@cuihao-arch ~ $ ldd /usr/lib/python2.7/site-packages/_dbus_bindings.so
	linux-vdso.so.1 =>  (0x00007fff945ff000)
	libdbus-1.so.3 => /lib/libdbus-1.so.3 (0x00007fcfc8ebe000)
	libc.so.6 => /lib/libc.so.6 (0x00007fcfc8b1d000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007fcfc8900000)
	librt.so.1 => /lib/librt.so.1 (0x00007fcfc86f8000)
	/lib/ld-linux-x86-64.so.2 (0x0000003d96a00000)

Checking the ownership of libdbus-1.so.3, pacman told that no package owned it (hmm, the Chinese message means it):

cuihao@cuihao-arch ~ $ pacman -Qo /lib/libdbus-1.so.3
错误:没有软件包拥有 /lib/libdbus-1.so.3

The correct library is installed in another place:

cuihao@cuihao-arch ~ $ pacman -Ql dbus-core | grep libdbus
dbus-core /usr/lib/libdbus-1.so
dbus-core /usr/lib/libdbus-1.so.3
dbus-core /usr/lib/libdbus-1.so.3.7.1

So I deleted the duplicated library and systemd-analyze works  now:

cuihao@cuihao-arch ~ $ sudo rm /lib/libdbus-1.so.3*

Forgive my poor English. I am a senior student from China.

Offline

Board footer

Powered by FluxBB