[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnshell.py problem

From: Faheem Mitha <faheem_at_email.unc.edu>
Date: 2003-07-18 19:04:36 CEST

On Thu, 17 Jul 2003 23:03:55 -0700, craig.howard@shadnet.shad.ca
<craig.howard@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
Received on Fri Jul 18 19:06:54 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.