accidental share through qbzr

Asked by Monica Jae on 2018-09-03

gui prompted me--when doing a branch lp:XXXX--to share and format because it is "generally a good idea". then i noticed i was listed on the frikken project page.

why does bzr branch lp:XXXX constantly return an error? either permission denied, error 500, 400, and general inability to download anything...from all branches public.

Question information

Language:
English Edit question
Status:
Expired
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
2018-09-05
Last reply:
2018-09-21
Colin Watson (cjwatson) said : #1

Yes, recent active branches of a project are generally listed on its project page.

"bzr branch lp..." certainly works for me - I do it all the time. Can you give a specific example? Immediately after trying it, there should be log information about it in ~/.bzr.log - can you look in there and see if it gives more detailed information?

Monica Jae (monicajae) said : #2

well, i had been using "bzr branch ..." as root, so these are from the root log (even running that command as user, i get essentially the same results):

[ 4842] 2018-09-02 18:29:25.879 WARNING: You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
4.458 Transferred: 2kB (0.6kB/s r:2kB w:1kB)
4.461 Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1521, in run
    to_repo.fetch(br_from.repository, revision_id=revision_id)
  File "/usr/lib/python2.7/dist-packages/bzrlib/vf_repository.py", line 1268, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/fetch.py", line 658, in fetch
    mapping)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/fetch.py", line 715, in fetch_objects
    progress=lambda text: report_git_progress(pb, text))
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 461, in fetch_objects
    lambda x: os.write(fd, x), progress)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 451, in fetch_pack
    pack_data, progress)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 276, in fetch_pack
    raise parse_git_error(self.transport.external_url(), e)
RemoteGitError: unexpected http response 500 for http://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-plug-ins-extras/git/git-upload-pack

any more thoughts would definitely be appreciated :)

Monica Jae (monicajae) said : #3

oh, one more thing, the "suggestion" to "share" was withing bzr-explore.

Mon 2018-09-03 17:58:51 -0400
4.395 bazaar version: 2.8.0dev1
4.395 bzr arguments: [u'qsubprocess', u'--bencode', u'l3:new19:--shared-repository8:--format2:2a42:/home/monicajae/cairo-dock-plug-ins-extrase']
4.399 looking for plugins in /home/monicajae/.bazaar/plugins
4.399 looking for plugins in /usr/lib/python2.7/dist-packages/bzrlib/plugins
4.426 encoding stdout as osutils.get_user_encoding() 'utf-8'
8.151 bazaar version: 2.8.0dev1
8.151 bzr arguments: [u'new', u'--shared-repository', u'--format', u'2a', u'/home/monicajae/cairo-dock-plug-ins-extras']
10.446 encoding stdout as osutils.get_user_encoding() 'utf-8'
10.475 initialising workspace /home/monicajae/cairo-dock-plug-ins-extras using model <class 'bzrlib.plugins.explorer.lib.workspace_models.SharedRepoWorkspaceModel'>
10.477 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
10.477 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
10.480 Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/commands.py", line 829, in run
    return run_subprocess_command(cmd, bencoded)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/subprocess.py", line 1034, in run_subprocess_command
    return commands.run_bzr(argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer/lib/workspace_models.py", line 89, in init_workspace
    format, **model_params)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer/lib/workspace_models.py", line 344, in build
    init_repository(outf, location, format, no_trees=no_trees)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer/lib/workspace_models.py", line 117, in init_repository
    core_cmd.run(location, format=format, no_trees=no_trees)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 2211, in run
    repo_format_name=format.repository_format.get_format_string()))
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 1407, in initialize_on_transport_ex
    result = self.initialize_on_transport(transport)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 1321, in initialize_on_transport
    return self._initialize_on_transport_vfs(transport)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 1447, in _initialize_on_transport_vfs
    raise errors.AlreadyControlDirError(transport.base)
AlreadyControlDirError: A control directory already exists: "file:///home/monicajae/cairo-dock-plug-ins-extras/".

10.480 return code 3
 ----------------------------------------------------------------------------------------------------------------------------------------------------------------

is there any way to un-share this?

i found my user .bzr.log file, here is the latest error:

Wed 2018-09-05 15:10:49 -0400
0.098 bazaar version: 2.8.0dev1
0.098 bzr arguments: [u'branch', u'lp:inkscape']
1.493 looking for plugins in /home/monicajae/.bazaar/plugins
1.493 looking for plugins in /usr/lib/python2.7/dist-packages/bzrlib/plugins
1.560 encoding stdout as sys.stdout encoding 'UTF-8'
[27834] 2018-09-05 15:10:51.749 WARNING: You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
33.346 Transferred: 2kB (0.1kB/s r:2kB w:1kB)
35.833 Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1507, in run
    source_branch=br_from)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/dir.py", line 140, in sprout
    mapping=source_branch.mapping)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/fetch.py", line 715, in fetch_objects
    progress=lambda text: report_git_progress(pb, text))
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 461, in fetch_objects
    lambda x: os.write(fd, x), progress)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 451, in fetch_pack
    pack_data, progress)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/remote.py", line 276, in fetch_pack
    raise parse_git_error(self.transport.external_url(), e)
RemoteGitError: unexpected http response 502 for http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/git-upload-pack

35.834 return code 3
----------------------------------------------------------------------------------------------------------------------------------

thanks

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.