You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by cr...@shadnet.shad.ca on 2003/07/18 06:03:55 UTC
svnshell.py problem
I recently did away with the Gentoo subversion packages, as I wasn't happy
with the setup. I did a make and make install-swig-py, then upgraded my
databases from db4.0 to db4.1 by doing an svnadmin recover. Now when I try
to use svnshell.py I get this:
craig@laptop backup $ ~/dls/subversion-0.25/tools/examples/svnshell.py
/home/svnroot/src
Traceback (most recent call last):
File "/home/craig/dls/subversion-0.25/tools/examples/svnshell.py", line 303,
in ?
main()
File "/home/craig/dls/subversion-0.25/tools/examples/svnshell.py", line 300,
in main
core.run_app(SVNShell, sys.argv[1])
File "/usr/lib/python2.2/svn/core.py", line 33, in run_app
return apply(func, (pool,) + args, kw)
File "/home/craig/dls/subversion-0.25/tools/examples/svnshell.py", line 42,
in __init__
self.cmdloop()
File "/usr/lib/python2.2/cmd.py", line 98, in cmdloop
self.preloop()
File "/usr/lib/python2.2/cmd.py", line 140, in preloop
if self.completekey:
AttributeError: SVNShell instance has no attribute 'completekey'
This looks more like a bug than bad setup on my part. Am I mistaken? Thanks.
--
Craig Howard
3B Computer Science -- University of Waterloo
craig.howard@shadnet.shad.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svnshell.py problem
Posted by Ben Collins-Sussman <su...@collab.net>.
craig.howard@shadnet.shad.ca writes:
> File "/usr/lib/python2.2/cmd.py", line 140, in preloop
> if self.completekey:
> AttributeError: SVNShell instance has no attribute 'completekey'
>
> This looks more like a bug than bad setup on my part. Am I mistaken?
Not sure what the problem is, svnshell.py is working fine for me with
my HEAD installation:
$ ./svnshell.py /usr/local/svn/bigrepos
<rev: 6445 />$ ls
REV AUTHOR NODE-REV-ID SIZE DATE NAME
----------------------------------------------------------------------------
2755 kfogel < wz.0.24j> 1331 Jul 28 01:37 README
6437 pll < nh.0.go6> Jul 10 12:35 branches/
6387 xela < sh.0.gbr> Jul 2 01:41 clients/
6445 < jz.0.gpd> Jul 17 14:31 tags/
6444 blair < 1.0.gp0> Jul 10 18:30 trunk/
<rev: 6445 />$
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svnshell.py problem
Posted by Faheem Mitha <fa...@email.unc.edu>.
On Thu, 17 Jul 2003 23:03:55 -0700, craig.howard@shadnet.shad.ca
<cr...@shadnet.shad.ca> wrote:
> I recently did away with the Gentoo subversion packages, as I wasn't happy
> with the setup. I did a make and make install-swig-py, then upgraded my
> databases from db4.0 to db4.1 by doing an svnadmin recover. Now when I try
> to use svnshell.py I get this:
>
> craig@laptop backup $ ~/dls/subversion-0.25/tools/examples/svnshell.py
> /home/svnroot/src
> Traceback (most recent call last):
> File "/home/craig/dls/subversion-0.25/tools/examples/svnshell.py", line 303,
> in ?
> main()
> File "/home/craig/dls/subversion-0.25/tools/examples/svnshell.py", line 300,
> in main
> core.run_app(SVNShell, sys.argv[1])
> File "/usr/lib/python2.2/svn/core.py", line 33, in run_app
> return apply(func, (pool,) + args, kw)
> File "/home/craig/dls/subversion-0.25/tools/examples/svnshell.py", line 42,
> in __init__
> self.cmdloop()
> File "/usr/lib/python2.2/cmd.py", line 98, in cmdloop
> self.preloop()
> File "/usr/lib/python2.2/cmd.py", line 140, in preloop
> if self.completekey:
> AttributeError: SVNShell instance has no attribute 'completekey'
>
> This looks more like a bug than bad setup on my part. Am I mistaken? Thanks.
For what it is worth, I have exactly the same problem (almost identical error
message) on Debian. I'm mostly tracking sarge, but using Debian
package from unstable for subversion 0.25. I haven't done anything but
upgrade throughout the 0.2* series. I'm including my error message below.
Just typing svnshell, by the way, gets the expected response.
Faheem.
*************************************************************************
faheem ~>svnshell /home/faheem/svn
Traceback (most recent call last):
File "/usr/bin/svnshell", line 303, in ?
main()
File "/usr/bin/svnshell", line 300, in main
core.run_app(SVNShell, sys.argv[1])
File
"/build/buildd/subversion-0.25/debian/tmp/usr/lib/python2.2
/site-packages/svn/core.py",
line 33, in run_app
File "/usr/bin/svnshell", line 42, in __init__
self.cmdloop()
File "/usr/lib/python2.2/cmd.py", line 98, in cmdloop
self.preloop()
File "/usr/lib/python2.2/cmd.py", line 140, in preloop
if self.completekey:
AttributeError: SVNShell instance has no attribute 'completekey'
faheem ~>svnshell
usage: /usr/bin/svnshell REPOS_PATH
Once the program has started, type 'help' at the prompt for hints on
using the shell.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org