Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#696318: zim crash at startup (ValueError: No such object: RemoteObject: zim.gui.GtkInterface)

42 views
Skip to first unread message

Damien Couroussé

unread,
Dec 19, 2012, 5:50:01 AM12/19/12
to
Package: zim
Version: 0.58-1
Severity: important


Hello,

zim crashes at startup. I suspect a missing dependency of this release
version to python-gobject-2, or to a more recent version of
python-gobject which comes with python-gobject-2. I have also found this bug in the previous
release 0.57.

Here is the trace :

========================
$ zim

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

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

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

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

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

** (process:13884): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
File "/usr/bin/zim", line 73, in <module>
zim.main(argv)
File "/usr/lib/python2.6/dist-packages/zim/__init__.py", line 446, in main
gui.present(page, **optsdict)
File "/usr/lib/python2.6/dist-packages/zim/ipc.py", line 708, in call
raise re
ValueError: No such object: <RemoteObject: zim.gui.GtkInterface(file:///home/damien/Notebooks/Notes)>
========================

I am on a stable-based installation with python2.6. The same problem
appears with python2.7. The problem does not appear in a chroot, where a
new version of python-gobject is installed (v3:2.2-1). With this new version comes python-gobect-2, which is not present on my original setup.

$ reportbug --template zim
(...)
Package: zim
Version: 0.58-1

Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zim depends on:
ii python 2.7.3~rc2-1
ii python-gobject 3.2.2-1
ii python-gtk2 2.24.0-3
ii python-xdg 0.19-4

Versions of packages zim recommends:
ii python-gtkspell 2.25.3-12

Versions of packages zim suggests:
pn bzr <none>
pn ditaa <none>
ii dvipng 1.14-1+b1
pn git <none>
pn gnuplot <none>
pn graphviz <none>
pn lilypond <none>
pn mercurial <none>
pn python-zeitgeist <none>
pn r-base <none>
pn scrot <none>

(...)


regards,
Damien





-- System Information:
Debian Release: 6.0.6
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates'), (400, 'unstable'), (200, 'testing'), (10, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zim depends on:
ii python 2.6.7-3 interactive high-level object-orie
ii python-gobject 2.21.4+is.2.21.3-1 Python bindings for the GObject li
ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge
ii python-xdg 0.19-2 Python library to access freedeskt

Versions of packages zim recommends:
ii python-gtkspell 2.25.3-7 Python bindings for the GtkSpell l

Versions of packages zim suggests:
ii bzr 2.1.2-1 easy to use distributed version co
pn ditaa <none> (no description available)
pn dvipng <none> (no description available)
ii git 1:1.7.2.5-3 fast, scalable, distributed revisi
pn gnuplot <none> (no description available)
ii graphviz 2.26.3-5 rich set of graph drawing tools
pn lilypond <none> (no description available)
ii mercurial 2.2.2-1 easy-to-use, scalable distributed
pn python-zeitgeist <none> (no description available)
pn r-base <none> (no description available)
ii scrot 0.8-13 command line screen capture utilit

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Raphael Hertzog

unread,
Dec 20, 2012, 3:00:01 AM12/20/12
to
Hi,

On Wed, 19 Dec 2012, Damien Couroussé wrote:
> zim crashes at startup. I suspect a missing dependency of this release
> version to python-gobject-2, or to a more recent version of
> python-gobject which comes with python-gobject-2. I have also found this bug in the previous
> release 0.57.
>
> Here is the trace :
> ========================
> $ zim
[...]
> ** (process:13884): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
> Traceback (most recent call last):
> File "/usr/bin/zim", line 73, in <module>
> zim.main(argv)
> File "/usr/lib/python2.6/dist-packages/zim/__init__.py", line 446, in main
> gui.present(page, **optsdict)
> File "/usr/lib/python2.6/dist-packages/zim/ipc.py", line 708, in call
> raise re
> ValueError: No such object: <RemoteObject: zim.gui.GtkInterface(file:///home/damien/Notebooks/Notes)>

Jaap, does this problem speak to you? Do you confirm the requirement of a
newer gobject?

Do you know the correct minimal version?

Cheers,
--
Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
http://debian-handbook.info/get/

Jaap Karssenberg

unread,
Dec 20, 2012, 3:20:01 AM12/20/12
to
On Thu, Dec 20, 2012 at 8:50 AM, Raphael Hertzog <her...@debian.org> wrote:
> Jaap, does this problem speak to you? Do you confirm the requirement of a
> newer gobject?
>
> Do you know the correct minimal version?

I do not recognize it, but my first guess would be that it is an
incompatibility between two packages, e.g. gobject python bindings and
gtk python bindings compiled to different versions of the library.

Reason is that the warnings are about declaration of gio constants.
These are declared in the C library, not in the python code. If
declarations are not correct, I guess we have two conflicting versions
of the library linked.

As to minimum version I only specified gtk >= 2.6 that will pull in a
minimum version of gobject, but that would be a rather old version.

Use of the gio library is optional in zim, but when used it likely
pulls in a minimum version of gobject as well.

Hope this helps,

Jaap
0 new messages