file id not found during dpush

Bug #746123 reported by Jelmer Vernooij
This bug report is a duplicate of:  Bug #670035: git+ssh doesn't work on Windows. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
New
Undecided
Unassigned

Bug Description

I'm experimenting with the bzr-git plugin on Windows. Branching a git-repo works just fine. However 'dpush' always gets me this error:

[Error 2] The system cannot find the file specified.

The issue seems to rise as soon as I specify the 'git+ssh'-protocol. The command looks like this:

bzr dpush git+ssh://<email address hidden>/username/project

I'm working on a Windows machine. Any idea what the issue could be? Or a tip how to investigate the issue.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

What is the bzr branch you're trying to push?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

can you fetch over the git+ssh protocol without problems?

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 746123] [NEW] file id not found during dpush

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/31/2011 1:28 AM, Jelmer Vernooij wrote:
> Public bug reported:
>
> I'm experimenting with the bzr-git plugin on Windows. Branching a git-
> repo works just fine. However 'dpush' always gets me this error:
>
> [Error 2] The system cannot find the file specified.
>
> The issue seems to rise as soon as I specify the 'git+ssh'-protocol. The
> command looks like this:
>
> bzr dpush git+ssh://<email address hidden>/username/project
>
>
> I'm working on a Windows machine. Any idea what the issue could be? Or a
> tip how to investigate the issue.
>
> ** Affects: bzr-git
> Importance: Undecided
> Status: New
>

You should be able to run with -Derror, or look for "My
Documents/.bzr.log" to find the traceback. It would at least give more
context about where bzr is failing.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2UD10ACgkQJdeBCYSNAAOcqACdFPHX09D3Co+20SQkRey79n+L
xrIAoLDUjMRyPJFa8cM0pNKSFyNPL7rv
=DMi4
-----END PGP SIGNATURE-----

Revision history for this message
Gamlor (roman-stoffel) wrote :
Download full text (3.5 KiB)

Hi

Information I forgot to mention. Running Bazaar 2.3.1. With bzr-git trunk-version and dulwich-7.1

No, fetching over git+ssh also doesn't work.

I'm trying to branch/dpush this branch https://github.com/gamlerhart/db4opad.

Ran the the command with -Derror. This is the stack-trace for fetching via git+ssh:

C:\Users\Gamlor\Develop\VSProjects>bzr branch git+ssh://<email address hidden>/gamlerhart/db4opad.git -Derror
bzr: ERROR: exceptions.WindowsError: [Error 2] The system cannot find the file specified

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 926, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1126, in run_bzr
  File "bzrlib\commands.pyo", line 691, in run_argv_aliases
  File "bzrlib\commands.pyo", line 713, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1199, in run
  File "C:/Program Files (x86)/Bazaar/plugins\git\remote.py", line 402, in last_revision
  File "C:/Program Files (x86)/Bazaar/plugins\git\remote.py", line 416, in head
  File "C:/Program Files (x86)/Bazaar/plugins\git\remote.py", line 330, in get_refs
  File "C:/Program Files (x86)/Bazaar/plugins\git\remote.py", line 135, in fetch_pack
  File "C:\Program Files (x86)\Bazaar\plugins\git\_lib\dulwich\client.py", line 222, in fetch_pack
  File "C:\Program Files (x86)\Bazaar\plugins\git\_lib\dulwich\client.py", line 360, in _connect
  File "C:\Program Files (x86)\Bazaar\plugins\git\_lib\dulwich\client.py", line 338, in connect_ssh
  File "subprocess.pyo", line 623, in __init__
  File "subprocess.pyo", line 833, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified

And here's the output in the log:

Thu 2011-03-31 13:16:58 +0200
0.084 bazaar version: 2.3.1
0.084 bzr arguments: [u'branch', u'git+ssh://<email address hidden>/gamlerhart/db4opad.git', u'-Derror']
0.140 looking for plugins in C:/Users/Gamlor/AppData/Roaming/bazaar/2.0/plugins
0.140 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.763 encoding stdout as sys.stdout encoding 'cp850'
0.792 bzr-svn: using Subversion 1.6.6 (), subvertpy 0.7.5
1.051 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
1.051 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 926, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1126, in run_bzr
  File "bzrlib\commands.pyo", line 691, in run_argv_aliases
  File "bzrlib\commands.pyo", line 713, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1199, in run
  File "C:/Program Files (x86)/Bazaar/plugins\git\remote.py", line 402, in last_revision
  File "C:/Program Files (x86)/Bazaar/plugins\git\remote.py", line 416, in head
  File "C:/Program Files (x86)/Bazaar/plugins\git\remote.py", line 330, in get_refs
  File "C:/Program Files (x86)/Bazaar/plugins\git\remote.py", line 135, in fetch_pack
  File "C:\Program Files (x86)\Bazaar\plugins\git\_lib\dulwich\client.py", line 222, in fetch_pack
  File "C:\Program Files (x86)\Bazaar\plug...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.