Zim

zim crashing on startup after python update - RHEL 6.6

Bug #1390368 reported by Tarundeep Singh
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

I do ./zim.py in zim folder, here is the output -

This is zim 0.62
Platform: posix
Locale: en_US UTF8
FS encoding: UTF-8
Python: (2, 6, 6, 'final', 0)
Gtk: (2, 24, 23)
Pygtk: (2, 16, 0)
Zim revision is:
  branch: zim-trunk
  revision: 738 <email address hidden>
  date: 2014-09-30 21:17:15 +0200

======= Traceback =======
  File "/home/tarundeep/zim/zim-0.62/zim/main.py", line 446, in main
    obj.run()
  File "/home/tarundeep/zim/zim-0.62/zim/main.py", line 214, in run
    gui.present(page=page, **self.get_options('geometry', 'fullscreen'))
  File "/home/tarundeep/zim/zim-0.62/zim/ipc.py", line 769, in call
    raise re
ValueError: No such object: <RemoteObject: zim.gui.GtkInterface(file:///home/tarundeep/Notes)>

Revision history for this message
Tarundeep Singh (tarundeep) wrote :

Output of ./test.py -

./test.py
/home/tarundeep/zim/zim-0.62/zim/gui/__init__.py:242: GtkWarning: Could not find the icon 'zim-zim-attachment'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
 http://icon-theme.freedesktop.org/releases
  pixbuf = icon_theme.load_icon(name, 24, 0)
Traceback (most recent call last):
  File "./test.py", line 312, in <module>
    main()
  File "./test.py", line 89, in main
    suite = tests.load_tests(loader, None, None)
  File "/home/tarundeep/zim/zim-0.62/tests/__init__.py", line 98, in load_tests
    test = loader.loadTestsFromName(name)
  File "/usr/lib/python2.6/site-packages/unittest2/loader.py", line 111, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/home/tarundeep/zim/zim-0.62/tests/errors.py", line 14, in <module>
    from zim.gui.widgets import ErrorDialog
  File "/home/tarundeep/zim/zim-0.62/zim/gui/__init__.py", line 252, in <module>
    load_zim_stock_icons()
  File "/home/tarundeep/zim/zim-0.62/zim/gui/__init__.py", line 244, in load_zim_stock_icons
    pixbuf = gtk.gdk.pixbuf_new_from_file(str(dir+file))
glib.GError: Couldn't recognize the image file format for file '/home/tarundeep/zim/zim-0.62/data/pixmaps/zim-attachment.png'
[tarundeep@oc6488051422 zim-0.62]$

Revision history for this message
Hynek (hsechovsky) wrote :

I have the same error on Scientific Linux after the update of python:

ValueError: No such object: <RemoteObject: zim.gui.GtkInterface after ./zim.py

and

glib.GError: Couldn't recognize the image file format for file '/home/hysech/Install/zim-0.60/data/pixmaps/attachment.png'
after ./zim.py

attachment.png opened in Gimp shows a picture/icon of clip

Installed Packages
python.x86_64 2.6.6-51.el6

Thanks in advance for the advice,
Hynek

Revision history for this message
Eli (eliarbel) wrote :

Same here after recent update:

Traceback (most recent call last):
  File "/usr/bin/zim", line 74, in <module>
    zim.main(argv)
  File "/usr/lib/python2.6/site-packages/zim/__init__.py", line 445, in main
    gui = server.get_notebook(notebook)
  File "/usr/lib/python2.6/site-packages/zim/ipc.py", line 805, in get_notebook
    return self.get_proxy(RemoteObject(self._notebookklass, uri), open)
  File "/usr/lib/python2.6/site-packages/zim/ipc.py", line 785, in get_proxy
    if not self.has_object(remoteobject):
  File "/usr/lib/python2.6/site-packages/zim/ipc.py", line 750, in call
    conn = Client(SERVER_ADDRESS, SERVER_ADDRESS_FAMILY)
  File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client
    c = SocketClient(address)
  File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in SocketClient
    s.connect(address)
  File "<string>", line 1, in connect
socket.error: [Errno 2] No such file or directory

===============================================

Traceback (most recent call last):
  File "/usr/bin/zim", line 74, in <module>
    zim.main(argv)
  File "/usr/lib/python2.6/site-packages/zim/__init__.py", line 446, in main
    gui.present(page, **optsdict)
  File "/usr/lib/python2.6/site-packages/zim/ipc.py", line 756, in call
    raise re
ValueError: No such object: <RemoteObject: zim.gui.GtkInterface(file:///home/arbel/Documents/Notebooks/Notes)>

Revision history for this message
Tarundeep Singh (tarundeep) wrote :

I searched RHEL bugzilla but could not find any,

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1390368] Re: zim crashing on startup after python update - RHEL 6.6

Could you file it as a new issue for zim in RHEL then?

Thanks!

Jaap

On Thu, Nov 13, 2014 at 8:03 AM, Tarundeep Singh <email address hidden>
wrote:

> I searched RHEL bugzilla but could not find any,
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1390368
>
> Title:
> zim crashing on startup after python update - RHEL 6.6
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1390368/+subscriptions
>

Revision history for this message
Tarundeep Singh (tarundeep) wrote :

Yes, I am trying to do that on RHEL bugzilla, but struggling to find right components.

Meanwhile zim 0.56 is working fine, just in case anybody needs to have a workaround.

Revision history for this message
Tarundeep Singh (tarundeep) wrote :

Done - https://bugzilla.redhat.com/show_bug.cgi?id=1163667

But, since zim was not displaying in RHEL6.5 I have selected Fedora el6 as the component.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.