Zim stuck, killall zim - no process, kill parent python - bug report popup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zim (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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 14220 0.0 0.5 833260 31660 ? Sl Dec03 0:00 \_ /usr/bin/python /usr/bin/zim --ipc-server-main /tmp/zim-
alexey 14294 0.0 0.9 1120608 57396 ? Sl Dec03 2:15 \_ /usr/bin/python /usr/bin/zim --ipc-server-main /tmp/zim-
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_
Gtk version is (2, 24, 20)
Pygtk version is (2, 24, 0)
Platform is posix
Zim revision is:
branch: pyzim-trunk
revision: 672 <email address hidden>
date: 2013-04-30 19:27:20 +0200
======= Traceback =======
File "/usr/lib/
destroy = self.do_
File "/usr/lib/
self.
File "/usr/lib/
notebook = zim.ipc.
File "/usr/lib/
return self.get_
File "/usr/lib/
self.
File "/usr/lib/
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 14294 0.0 0.9 1120936 57408 ? Sl Dec03 2:15 /usr/bin/python /usr/bin/zim --ipc-server-main /tmp/zim-
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_
DISTRIB_
DISTRIB_
NAME="Ubuntu"
VERSION="13.10, Saucy Salamander"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 13.10"
VERSION_ID="13.10"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
-------
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
Will look into the code recovering processes.
What might help for this kind of cases is to first run "zim --index" after
pulling in the repository. That way the index is rebuilt, and the GUI will
be more responsive when first opening the notebook.
-- Jaap
On Sun, Dec 8, 2013 at 10:26 AM, Alexey Evstropov <email address hidden>wrote:
> Public bug reported: ------- ------- ------- ------- -- ------- ------- ------- ------- -- ------- ------- ------- ------- -- alexey/ zim-server- socket 30 alexey/ zim-server- socket 30 alexey/ zim-server- socket 30 ------- ------- ------- ------- -- ------- ------- ------- ------- -- info(major= 2, minor=7, micro=5, 'final' , serial=0) python2. 7/dist- packages/ zim/gui/ widgets. py", line 3012, response_ ok() python2. 7/dist- packages/ zim/gui/ notebookdialog. py", line self.result) python2. 7/dist- packages/ zim/gui/ __init_ _.py", line 1116, ServerProxy( ).get_notebook( notebook) python2. 7/dist- packages/ zim/ipc. py", line 805, in proxy(RemoteObj ect(self. _notebookklass, uri), open) python2. 7/dist- packages/ zim/ipc. py", line 787, in object( remoteobject) python2. 7/dist- packages/ zim/ipc. py", line 753, in call ------- ------- ------- ------- -- ------- ------- ------- ------- --
>
> 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 14220 0.0 0.5 833260 31660 ? Sl Dec03 0:00 \_
> /usr/bin/python /usr/bin/zim --ipc-server-main
> /tmp/zim-
> alexey 14294 0.0 0.9 1120608 57396 ? Sl Dec03 2:15 \_
> /usr/bin/python /usr/bin/zim --ipc-server-main
> /tmp/zim-
> 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_
> releaselevel=
> Gtk version is (2, 24, 20)
> Pygtk version is (2, 24, 0)
> Platform is posix
> Zim revision is:
> branch: pyzim-trunk
> revision: 672 <email address hidden>
> date: 2013-04-30 19:27:20 +0200
>
> ======= Traceback =======
> File "/usr/lib/
> in do_response
> destroy = self.do_
> File "/usr/lib/
> 348, in do_response_ok
> self.callback(
> File "/usr/lib/
> in open_notebook
> notebook = zim.ipc.
> File "/usr/lib/
> get_notebook
> return self.get_
> File "/usr/lib/
> get_proxy
> self.init_
> File "/usr/lib/
> 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/...