5-a-day complains about bzr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
five-a-day |
Fix Released
|
Medium
|
Daniel Holbach |
Bug Description
With bzr version 0.90.0:
~$ add-5-a-day 180456 68134 27638 77569 139116
bzr: ERROR: Unknown branch format: 'Bazaar pack repository format 1 (needs bzr 0.92)\n'
bzr: ERROR: Not a branch: /home/wolfger/
bzr: ERROR: Not a branch: /home/wolfger/
bzr: ERROR: Not a branch: /home/wolfger/
with bzr version 1.2.0:
~$add-5-a-day 193351 193480
bzr: ERROR: Not a branch: "/home/
bzr: ERROR: Not a branch: "/home/
bzr: ERROR: Not a branch: "/home/
Greg Grossmeier (greg.grossmeier) wrote : | #1 |
Changed in 5-a-day-data: | |
status: | New → Confirmed |
Changed in 5-a-day-data: | |
assignee: | nobody → dholbach |
importance: | Undecided → Critical |
Greg Grossmeier (greg.grossmeier) wrote : | #2 |
It is working now for me.
After having a false start with the old version of bzr I had to delete all of .5-a-day-data (forcing it to start clean) and then it would work.
Greg Grossmeier (greg.grossmeier) wrote : | #3 |
Marking invalid since as far as I can tell it was an issue with having the wrong version of bzr installed initially and then updating.
Please re-open if I have missed something.
Changed in 5-a-day-data: | |
status: | Confirmed → Invalid |
wolfger (wolfger) wrote : | #4 |
re-opening, since the package is still actually broken, and doesn't work against the version of bzr available in gutsy repos. (0.90.0) Not sure how to fix that, except maybe include an appropriate version of bzr in the ppa and depend on that?
Changed in 5-a-day-data: | |
status: | Invalid → Confirmed |
Daniel Holbach (dholbach) wrote : | #5 |
https:/
deb http://
deb http://
deb http://
Alejandro Díaz-Caro (janus) wrote : | #6 |
It's issue still there?
Daniel Holbach (dholbach) wrote : | #7 |
The new version should require a newer version of bzr too.
Changed in five-a-day: | |
status: | Confirmed → Incomplete |
Daniel Holbach (dholbach) wrote : | #8 |
Fixed. Please reopen if it's still a problem.
Changed in five-a-day: | |
importance: | Critical → Medium |
status: | Incomplete → Fix Released |
Johnathon (kirrus) wrote : | #9 |
I'm experiencing this issue with bzr version 1.3.1, on hardy.
jtinsley@asus:~$ 5-a-day --add 193282
bzr: ERROR: Not a branch: "/home/
Changed in five-a-day: | |
status: | Fix Released → Confirmed |
Daniel Holbach (dholbach) wrote : | #10 |
Johnathon: did you manually create ~/.5-a-day-data ? Can you post the output of ls -la ~/.5-a-day-data ?
Johnathon (kirrus) wrote : Re: [Bug 193502] Re: [GUTSY] add-5-a-day complains about bzr | #11 |
Hi,
No, I didn't manually create the folder... Unfortunately, the computer that I was trying to put the program on has since died. Again. (Hard-drive failure... I think something is wrong with the PSU or SATA controller.)
I'll try it on my laptop once I've got everything else I need to do done :)
Daniel Holbach (dholbach) wrote : Re: [GUTSY] add-5-a-day complains about bzr | #12 |
Did you find out anything more?
Changed in five-a-day: | |
status: | Confirmed → Incomplete |
Johnathon (kirrus) wrote : Re: [Bug 193502] Re: [GUTSY] add-5-a-day complains about bzr | #13 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel Holbach wrote:
| Did you find out anything more?
I'm afraid not. I'm not currently able to test this... I don't have the
spare time to triage...
I'll try it out again once I've got more time...
Thanks, :)
Johnathon
|
| ** Changed in: five-a-day
| Status: Confirmed => Incomplete
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFIWKyC81b
gkQfyEIClqObu7k
=+qsh
-----END PGP SIGNATURE-----
Daniel Holbach (dholbach) wrote : Re: [GUTSY] add-5-a-day complains about bzr | #14 |
Closing the bug for now.
Changed in five-a-day: | |
status: | Incomplete → Invalid |
Mackenzie Morgan (maco.m) wrote : | #15 |
I've got this bug on a fresh Hardy install. 64bit, whatever version of bzr is in Hardy. All ~/.5-a-day* are 644 permission, my user & group. Changing to 755 doesn't help.
$ 5-a-day --update
bzr: ERROR: Not a branch: "bzr+ssh://<email address hidden>
bzr failed with error code 768
Mackenzie Morgan (maco.m) wrote : | #16 |
Oh, er, obviously it happens for me on 5-a-day --update.
Daniel Holbach (dholbach) wrote : | #17 |
Can you do a
- ls -la ~/.5-a-day* and post the output here?
- Is the output you posted everything that 5-a-day said?
Changed in five-a-day: | |
status: | Invalid → Incomplete |
Mackenzie Morgan (maco.m) wrote : Re: [Bug 193502] Re: 5-a-day complains about bzr | #18 |
On Thu, Jul 10, 2008 at 3:34 AM, Daniel Holbach
<email address hidden> wrote:
> Can you do a
> - ls -la ~/.5-a-day* and post the output here?
> - Is the output you posted everything that 5-a-day said?
I'm not on that computer right now, but ls -la was the first thing I
checked, and it showed 644 permissions for all ~/.5-a-day* and user &
group were both maco (my user). Yes, that's the whole output.
Grant Bowman (grantbow) wrote : | #19 |
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/
-rw-r--r-- 1 grantbow grantbow 16 2008-07-15 22:14 /home/grantbow/
/home/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/
modified data
Committed revision 3.
Traceback (most recent call last):
File "/usr/bin/5-a-day", line 62, in <module>
sys.
File "/usr/bin/5-a-day", line 33, in main
return bzr.add(args[1:])
File "/usr/lib/
err = commit_
File "/usr/lib/
b = branch.
File "/usr/lib/
possible_
File "/usr/lib/
return BzrDir.
File "/usr/lib/
redirected)
File "/usr/lib/
return obj(*args, **kwargs)
File "/usr/lib/
transport = redirected(
File "/usr/lib/
raise errors.
bzrlib.
Grant Bowman (grantbow) wrote : | #20 |
oops, forgot this info:
ii bzr 1.3.1-1ubuntu0.1 easy to use distributed version control system
ii five-a-day 0.44~hardy1 utilities to participate in 5-A-Day statistics
seisen1 (seisen-deactivatedaccount-deactivatedaccount) wrote : | #21 |
I am having the same problems Grant is having, here is what mine says:
Committed revision 3.
Traceback (most recent call last):
File "/usr/bin/5-a-day", line 62, in <module>
sys.
File "/usr/bin/5-a-day", line 33, in main
return bzr.add(args[1:])
File "/usr/lib/
err = commit_
File "/usr/lib/
b = branch.
File "/usr/lib/
possible_
File "/usr/lib/
return BzrDir.
File "/usr/lib/
redirected)
File "/usr/lib/
return obj(*args, **kwargs)
File "/usr/lib/
transport = redirected(
File "/usr/lib/
raise errors.
bzrlib.
Running Intrepid Ibex updated as of today.
Daniel Holbach (dholbach) wrote : | #22 |
To version 0.45 (just uploaded) I added a debug statement to find out which branch it is trying to check. Can you all please try again and paste the full output in a comment?
Thanks.
Grant Bowman (grantbow) wrote : | #23 |
Aha, thanks Daniel. It's seems to modify the local data correctly but when committing across the network it's looking in the wrong place on my disk for the repository.
Checking 'http://
The only place I have bzr information right now is ~grantbow/
Here's the full traceback:
5-a-day --add 193502
Committing to: /home/grantbow/
modified data
Committed revision 5.
Checking 'http://
Traceback (most recent call last):
File "/usr/bin/5-a-day", line 62, in <module>
sys.
File "/usr/bin/5-a-day", line 33, in main
return bzr.add(args[1:])
File "/usr/lib/
err = commit_
File "/usr/lib/
b = branch.
File "/usr/lib/
possible_
File "/usr/lib/
return BzrDir.
File "/usr/lib/
redirected)
File "/usr/lib/
return obj(*args, **kwargs)
File "/usr/lib/
transport = redirected(
File "/usr/lib/
raise errors.
bzrlib.
Grant Bowman (grantbow) wrote : | #24 |
I tried ln -s .5-a-day-grantbow 5-a-day-data. After some attempts at trying to checkout the branch manually, I don't think the repository on the server side exists either. I got the following traceback:
5-a-day --add 253924
Committing to: /home/grantbow/
modified data
Committed revision 6.
Checking 'http://
Traceback (most recent call last):
File "/usr/bin/5-a-day", line 62, in <module>
sys.
File "/usr/bin/5-a-day", line 33, in main
return bzr.add(args[1:])
File "/usr/lib/
err = commit_
File "/usr/lib/
b = branch.
File "/usr/lib/
possible_
File "/usr/lib/
return BzrDir.
File "/usr/lib/
redirected)
File "/usr/lib/
return obj(*args, **kwargs)
File "/usr/lib/
transport = redirected(
File "/usr/lib/
raise errors.
bzrlib.
Daniel Holbach (dholbach) wrote : | #25 |
Symlinking should not be necessary. I'll dive into the code again and provide a package with more debug output.
Daniel Holbach (dholbach) wrote : | #26 |
- five-a-day_0.46_all.deb Edit (27.8 KiB, application/x-debian-package)
Please try again with the following package.
Grant Bowman (grantbow) wrote : | #27 |
I removed the sym link and ran it. Here's my result:
$ 5-a-day --add 193502
Committing to: /home/grantbow/
modified data
Committed revision 7.
Checking 'http://
Permission denied (publickey).
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
branch_from = Branch.
File "/usr/lib/
control = bzrdir.
File "/usr/lib/
redirected)
File "/usr/lib/
return action(transport)
File "/usr/lib/
transport, _server_
File "/usr/lib/
return format.
File "/usr/lib/
request = client.
File "/usr/lib/
return SmartClientStre
File "/usr/lib/
raise errors.
TooManyConcurre
bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'pull', 'bzr+ssh://<email address hidden>
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
gtk /usr/lib/
launchpad /usr/lib/
svn /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
bzr failed with error code 1024
bzr failed with error code 103
Grant Bowman (grantbow) wrote : | #28 |
What is the spec for both the client side and the server side? Exactly where should the the data be on both sides? What is the best way I can verify these manually?
Daniel Holbach (dholbach) wrote : | #29 |
The result you're getting is really weird. Especially "Permission denied (publickey)." - are you sure it's your right SSH key on Launchpad?
Local: ~/.5-a-day-<LPID>
Remote: bzr+ssh:
What does
find ~/.5-a-day-grantbow
give you?
Daniel Holbach (dholbach) wrote : | #30 |
What about everybody else who got the error? Does 0.46 help?
Grant Bowman (grantbow) wrote : | #31 |
There was a single character missing from my ssh key. I've updated it and it seems to work now. I think catching that kind of error better and informing the user of the problem with the ssh key would be ideal. Here's the output of another test run.
$ 5-a-day --add 193504
Committing to: /home/grantbow/
modified data
Committed revision 9.
Checking 'http://
bzr: ERROR: Not a branch: "bzr+ssh://<email address hidden>
bzr failed with error code 768
bzr failed with error code 103
I still need to know how to manually verify exactly what should exist. Inside of both the Local and the Remote location should be a file named "data", right? That file looks like a simple two column, space separated data file with the first column the output from `date +%s` (epoch seconds) and the second the bug number, right?
I'm sorry about the rudimentary bzr/launchpad questions. If I need to RTFM somewhere, just let me know; if you have a pointer to a specific portion of the docs that would be greatly appreciated.
I've attached the info about my local directory with the output of that find command.
Daniel Holbach (dholbach) wrote : | #32 |
From what you say, your local branch seems to be fine.
Can you cd ~/.5-a-
Ping me on IRC if you like.
Grant Bowman (grantbow) wrote : | #33 |
Handling those errors would be incredibly useful - I'm sure others
have had similar problems. I just double checked the instructions at
https:/
page on how to go about solving problems or how to create a good bzr
branch on launchpad manually.
Seems I just missed you on IRC. Here's the output I got:
~/.5-a-day-grantbow $ bzr info
Standalone tree (format: pack-0.92)
Location:
branch root: .
Grant Bowman (grantbow) wrote : | #34 |
Hi Daniel, thanks for following up through these strange results and
for the offer but I just missed you in IRC. We'll catch up later.
Many thanks to james_w in #ubuntu-bugs for helping me fix this
problem. After backing up the data I removed my ~/.5-a-day-grantbow
directory and started over. Since it had the right ssh key this time
it did create the branch. I think it's working now.
Daniel Holbach (dholbach) wrote : | #35 |
I'll dive in the code later today and try to make every case of bzr interaction more failsafe.
wolfger (wolfger) wrote : | #36 |
It's been a while since the last update, and I had no such problem on a fresh Intrepid install. Should this be marked "fix released" now?
Mackenzie Morgan (maco.m) wrote : | #37 |
Yes.
Changed in five-a-day: | |
status: | Incomplete → Fix Released |
Confirmed on Gutsy.