Comment 19 for bug 193502

Revision history for this message
Grant Bowman (grantbow) wrote :

I seem to be having a problem as well. I did not create the files manually. Here is my listing.

> ls -la ~/.5-a-day*
-rw-r--r-- 1 grantbow grantbow 9 2008-06-28 02:10 /home/grantbow/.5-a-day
-rw-r--r-- 1 grantbow grantbow 16 2008-07-15 22:14 /home/grantbow/.5-a-day-team

/home/grantbow/.5-a-day-grantbow:
total 16K
drwxr-xr-x 3 grantbow grantbow 4.0K 2008-07-15 21:56 ./
drwxr-xr-x 75 grantbow grantbow 4.0K 2008-07-15 22:14 ../
drwxr-xr-x 6 grantbow grantbow 4.0K 2008-07-15 21:56 .bzr/
-rw-r--r-- 1 grantbow grantbow 38 2008-07-15 22:56 data

Here's the full result of a run:

> 5-a-day --add 242085
Committing to: /home/grantbow/.5-a-day-grantbow/
modified data
Committed revision 3.
Traceback (most recent call last):
  File "/usr/bin/5-a-day", line 62, in <module>
    sys.exit(main())
  File "/usr/bin/5-a-day", line 33, in main
    return bzr.add(args[1:])
  File "/usr/lib/python2.5/site-packages/fiveaday/bzr.py", line 130, in add
    err = commit_changes(force_push or bool(filter(lambda a: a in ["-f", "--force"], args)))
  File "/usr/lib/python2.5/site-packages/fiveaday/bzr.py", line 102, in commit_changes
    b = branch.Branch.open("http://"+remote_branch().split("@")[1])
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 109, in open
    possible_transports=possible_transports)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 651, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 688, in open_from_transport
    redirected)
  File "/usr/lib/python2.5/site-packages/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line 1668, in do_catching_redirections
    transport = redirected(transport, e, redirection_notice)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 672, in redirected
    raise errors.NotBranchError(path=e.target)
bzrlib.errors.NotBranchError: Not a branch: "https://code.launchpad.net/".