Command not found errors
- From: Eric Lake <ericlake gmail com>
- To: meld-list gnome org
- Subject: Command not found errors
- Date: Wed, 23 Jun 2010 20:12:33 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At work we are using meld 1.2 in our production environment with svn.
Most of the time there are no issues at all and everything runs really
well. However there are times when we see the following error:
sh: bzr: command not found
The thing is that we do not have bzr loaded on any of the systems. We
only use svn and in some cases git. I have been able to recreate the
issue locally and here are the steps.
1) In a dir that is under svn version control do a "meld .". This gives
just what would be expected.
2) Do a "mkdir .bzr" (doesn't need to be a real bzr pull or anything"
and then run "meld ." again. You will not see any files listed that show
that they have diff information. In the terminal window where you
started meld you will see the error message "sh: bzr: command not
found". Don't do anything at this point other than close the meld window.
3) Remove the .bzr dir with a "rmdir .bzr"
4) Run "meld ." again and it should be back to the working condition again.
5) Run "mkdir .bzr" again and then start meld once more. This time when
in the meld window click the update button. Meld will attempt to do a
bzr pull. You will once again see the command not found error.
6) Remove the .bzr dir again.
7) Start meld again. Assuming that you get the same results that I have
been getting then you should have the same issue as if the .bzr dir were
still there.
The only way that we have found to get back to a working state is to
reboot the box. I can only assume that something is being cached but I
can not find out where.
Note that the 1.3 version of meld has the same issue but throws a
traceback as shown below. The difference is that I can remove the .bzr
folder and get the system back to working order without a reboot.
[Wed 10/06/23 20:09 EDT][pts/2][i386/linux-gnu/2.6.33.5-124.fc13.i686.PAE]
<elake carter:~/code/svntest>
zsh 175 [1] (svn)-[testrepo:1]-% ls -a
. .. .bzr foo.py .svn
[Wed 10/06/23 20:09 EDT][pts/2][i386/linux-gnu/2.6.33.5-124.fc13.i686.PAE]
<elake carter:~/code/svntest>
zsh 176 (svn)-[testrepo:1]-% /usr/bin/meld .
Traceback (most recent call last):
File "/usr/share/meld/task.py", line 130, in iteration
ret = task()
File "/usr/share/meld/vcview.py", line 290, in _search_recursively_iter
self.vc.cache_inventory(rootname)
File "/usr/share/meld/vc/_vc.py", line 178, in cache_inventory
self._tree_cache = self._lookup_tree_cache(directory)
File "/usr/share/meld/vc/bzr.py", line 64, in _lookup_tree_cache
branch_root = _vc.popen([self.CMD] + self.CMDARGS + ["root",
rootdir]).read().rstrip('\n')
File "/usr/share/meld/vc/_vc.py", line 192, in popen
return subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE).stdout
File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Thanks,
Eric Lake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJMIqLxAAoJEDo0c0ZaUVHWmjUP/A4b2LzkgcDMDpxqUzVHU/qf
iZ1JaV3dsDgZ6YHKxD5UBoFqeLuGBI2i+uw6cpf5h8LwQFreRmi5OCexfnogkjkR
9z4eCW1xc98kk6MYzLNtKT236romtxiWR4xXOUc6IHknhE/MnqGUlfTLY26o2T/8
ZSXTwNR+ADyKvyc4Y4B6FWdUjbmkbrYQBt4xZ2rDO5yn6+3H/k27FpsY0rw8uWde
qFujbiUm7Em51bWSqaWicyFKVyMfU/Pz8ep/84zmfCPxw61OkBT/xWulcu/LOaq+
FRp6YD/XILDtVsuGqIMQkBLgbJ2sLsc0VxpM/bIIPhjOoVKlE+gmy6XRRieqHk3h
BAGXNnsLQekQv5wT+ek8Ncs1yq+H0rSOzhG8IY+QECqLGcd7mj6jthNbko2kaNjR
CoGp3XWP0qdRhQKDhM+788gtacgVF1/1lnayAc9+XZ9lKyuJWuchPsM7NbZQaZCW
SoO9BuR6O0UigQ//9CkfllHnje7SO2oXsgGE76JJVSxXR4+tF7Ch0aHJYti5n1fC
LPSujIUefrivjvcCKe473qrmHAjw1514T3WpCelxfW9TI9GTYHtKXWX/wK40llz5
g9TkpKkbbD7OX3hMyCoGFLS2lwR1UV/CUMKLCmA9HPSZvM7aDyWGFK4BIkI9ALC4
+YGC/rFwm6cU5Zccv6JA
=WUOT
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]