Bug 1046099

Summary: [abrt] Zim: ipc.py:756:call:ValueError: No such object: <RemoteObject: zim.gui.GtkInterface(file:///home/apjena/Dropbox/ZIM)>
Product: [Fedora] Fedora Reporter: apjena <apjena>
Component: ZimAssignee: Robin Lee <robinlee.sysu>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: atenrok, fabian, lnie, oliver, robinlee.sysu, scx.mail, tarundeep
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/cbeeb7cb07c17a2522420d4012b5249f23f20bde
Whiteboard: abrt_hash:d016b8c8c2786bb0a8c8fd7909602b2ddce062f1
Fixed In Version: Zim-0.62-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-25 15:32:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ
none
first error message when starting zim (with debug info)
none
second error message when starting zim (with debug info) none

Description apjena 2013-12-23 16:43:34 UTC
Version-Release number of selected component:
Zim-0.60-2.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /usr/bin/zim
executable:     /usr/bin/zim
kernel:         3.12.5-302.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
ipc.py:756:call:ValueError: No such object: <RemoteObject: zim.gui.GtkInterface(file:///home/apjena/Dropbox/ZIM)>

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

Local variables in innermost frame:
name: 'present'
self: <zim.ipc.RemoteObjectProxy object at 0x11b14d0>
args: (None,)
re: ValueError('No such object: <RemoteObject: zim.gui.GtkInterface(file:///home/apjena/Dropbox/ZIM)>',)
kwargs: {}
msg: <RemoteMethodCall: 1770: zim.gui.GtkInterface(file:///home/apjena/Dropbox/ZIM).present((None,), {})>
conn: <read-write Connection, handle 4>

Comment 1 apjena 2013-12-23 16:43:39 UTC
Created attachment 840873 [details]
File: backtrace

Comment 2 apjena 2013-12-23 16:43:42 UTC
Created attachment 840874 [details]
File: environ

Comment 3 Robin Lee 2014-02-03 06:47:31 UTC
Is this issue reproducible?

Comment 4 Robin Lee 2014-08-20 01:43:14 UTC
*** Bug 1131568 has been marked as a duplicate of this bug. ***

Comment 5 Oliver Ilian 2014-10-20 15:12:34 UTC
I can confirm this bug happening now with Zim-0.60-1.el6.noarch and Zim-0.62-1.el6.noarch after upgrade to RHEL 6.6

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 jaap.karssenberg
  date: 2014-09-30 21:17:15 +0200

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

Comment 6 Robin Lee 2014-10-21 01:59:13 UTC
Do you know the steps to reproduce this issue?

Comment 7 Oliver Ilian 2014-10-21 02:05:34 UTC
I made the update from RHEL 6.5 to RHEL 6.6 (while Zim 0.60 from epel was installed, and i got this error. So i installed Zim 0.62 from epel testing, but the error stays.

error is showing when you run zim. First time it says "ERROR: No such file or directory", 2nd time it shows the error. Nothing has changed on the Notes folder.

********
[ohaessle@ohaessle ~]$ zim
ERROR: No such file or directory
[ohaessle@ohaessle ~]$ zim
ERROR: Exception in main()
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/zim/main.py", line 446, in main
    obj.run()
  File "/usr/lib/python2.6/site-packages/zim/main.py", line 214, in run
    gui.present(page=page, **self.get_options('geometry', 'fullscreen'))
  File "/usr/lib/python2.6/site-packages/zim/ipc.py", line 769, in call
    raise re
ValueError: No such object: <RemoteObject: zim.gui.GtkInterface(file:///home/ohaessle/Notebooks/Notes)>

Comment 8 Oliver Ilian 2014-10-24 16:36:43 UTC
Created attachment 950424 [details]
first error message when starting zim (with debug info)

Comment 9 Oliver Ilian 2014-10-24 16:37:01 UTC
Created attachment 950425 [details]
second error message when starting zim (with debug info)

Comment 10 Oliver Ilian 2014-10-24 16:37:24 UTC
I have added 2 error logs when running: zim -D

Comment 11 Tarundeep Singh 2014-11-07 10:24:01 UTC
I am also facing, here is the debug output - 

[tarundeep@oc6488051422 ~]$ zim -D
INFO: This is zim 0.60
DEBUG: Python version is (2, 6, 6, 'final', 0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
  branch: pyzim-trunk
  revision: 672 jaap.karssenberg
  date: 2013-04-30 19:27:20 +0200
DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/tarundeep/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share>, <Dir: /usr/local/share>]
DEBUG: Set XDG_CONFIG_HOME to /home/tarundeep/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/tarundeep/.cache
DEBUG: Running command: gui
INFO: Opening default notebook
DEBUG: Remote call from 8140: <RemoteMethodCall: 8140: zim.ipc.Server(None).ping((), {})>
DEBUG: Remote call returned to 8140: ('ACK', 8090)
DEBUG: Remote call from 8140: <RemoteMethodCall: 8140: zim.ipc.Server(None).has_object((<RemoteObject: zim.gui.GtkInterface(file:///home/tarundeep/1%3D~/Notebooks/Notes)>,), {})>
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

Comment 12 Robin Lee 2014-11-13 12:08:00 UTC
*** Bug 1163664 has been marked as a duplicate of this bug. ***

Comment 13 Fedora Update System 2014-11-16 05:04:32 UTC
Zim-0.62-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/Zim-0.62-2.fc21

Comment 14 Fedora Update System 2014-11-16 05:05:21 UTC
Zim-0.62-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/Zim-0.62-2.fc20

Comment 15 Fedora Update System 2014-11-16 05:06:15 UTC
Zim-0.62-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/Zim-0.62-2.fc19

Comment 16 Fedora Update System 2014-11-17 06:30:24 UTC
Package Zim-0.62-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing Zim-0.62-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15222/Zim-0.62-2.fc20
then log in and leave karma (feedback).

Comment 17 lnie 2014-11-17 08:49:51 UTC
Zim-0.62-2.fc20 works

Comment 18 Fedora Update System 2014-11-25 15:28:08 UTC
Zim-0.62-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2014-11-25 15:32:56 UTC
Zim-0.62-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2014-12-06 10:33:20 UTC
Zim-0.62-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.