Public bug reported:

I distribute my Zim notebooks with Git on a couple of my computers so
that I can get my data from everywhere.

Today I pulled an updated repository with a new relatively large (about 7 MB) 
notebook. In Zim I added it to the notebooks list, but when I tried to open it, 
Zim stuck. After about 30 minutes I decided that there is no hope and tried to 
kill it with "killall zim". This returned "no process found". Then I tried:
-------------------------------------
ps aux --forest | grep zim
-------------------------------------
The output was:
-------------------------------------
alexey   14210  0.0  0.3 928696 23312 ?        Sl   Dec03   0:00 
/usr/bin/python /usr/bin/zim --ipc-server-main 
/tmp/zim-alexey/zim-server-socket 30
alexey   14220  0.0  0.5 833260 31660 ?        Sl   Dec03   0:00  \_ 
/usr/bin/python /usr/bin/zim --ipc-server-main 
/tmp/zim-alexey/zim-server-socket 30
alexey   14294  0.0  0.9 1120608 57396 ?       Sl   Dec03   2:15  \_ 
/usr/bin/python /usr/bin/zim --ipc-server-main 
/tmp/zim-alexey/zim-server-socket 30
alexey    9829  0.0  0.0  10680   944 pts/12   S+   10:42   0:00      \_ grep 
--color=auto zim
-------------------------------------
So I tried "kill 14210", and that throwed me a pop up named "Looks like you 
found a bug" with the following contents:
-------------------------------------
This is zim 0.60
Python version is sys.version_info(major=2, minor=7, micro=5, 
releaselevel='final', serial=0)
Gtk version is (2, 24, 20)
Pygtk version is (2, 24, 0)
Platform is posix
Zim revision is:
  branch: pyzim-trunk
  revision: 672 jaap.karssenb...@gmail.com-20130430172720-n6jaw95wiyevdqln
  date: 2013-04-30 19:27:20 +0200

======= Traceback =======
  File "/usr/lib/python2.7/dist-packages/zim/gui/widgets.py", line 3012, in 
do_response
    destroy = self.do_response_ok()
  File "/usr/lib/python2.7/dist-packages/zim/gui/notebookdialog.py", line 348, 
in do_response_ok
    self.callback(self.result)
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 1116, in 
open_notebook
    notebook = zim.ipc.ServerProxy().get_notebook(notebook)
  File "/usr/lib/python2.7/dist-packages/zim/ipc.py", line 805, in get_notebook
    return self.get_proxy(RemoteObject(self._notebookklass, uri), open)
  File "/usr/lib/python2.7/dist-packages/zim/ipc.py", line 787, in get_proxy
    self.init_object(remoteobject)
  File "/usr/lib/python2.7/dist-packages/zim/ipc.py", line 753, in call
    re = conn.recv()
EOFError: 
-------------------------------------
After "kill 14210" all stucked Zim windows disappeared, but "ps aux --forest" 
still gave me:
-------------------------------------
alexey   14220  0.0  0.5 833260 31660 ?        Sl   Dec03   0:00 
/usr/bin/python /usr/bin/zim --ipc-server-main 
/tmp/zim-alexey/zim-server-socket 30
alexey   14294  0.0  0.9 1120936 57408 ?       Sl   Dec03   2:15 
/usr/bin/python /usr/bin/zim --ipc-server-main 
/tmp/zim-alexey/zim-server-socket 30
alexey   10385  0.0  0.0  10680   940 pts/12   S+   11:08   0:00      \_ grep 
--color=auto zim
-------------------------------------
Just in case I killed 14220 and 14294 without any consequent warnings. After 
that opening Zim and the new notebook was just OK. 

Zim version: 0.60 (Ubuntu repository)

System:
cat /etc/*-release
-------------------------------------
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.10
DISTRIB_CODENAME=saucy
DISTRIB_DESCRIPTION="Ubuntu 13.10"
NAME="Ubuntu"
VERSION="13.10, Saucy Salamander"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 13.10"
VERSION_ID="13.10"
HOME_URL="http://www.ubuntu.com/";
SUPPORT_URL="http://help.ubuntu.com/";
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
-------------------------------------
uname -a
-------------------------------------
Linux version 3.11.0-13-generic (buildd@roseapple) (gcc version 4.8.1 
(Ubuntu/Linaro 4.8.1-10ubuntu8) ) #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013

** Affects: zim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258886

Title:
  Zim stuck, killall zim - no process, kill parent python - bug report
  popup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1258886/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to