git-import crashes in makedirs

Bug #733919 reported by Eli Zaretskii on 2011-03-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
Medium
Jelmer Vernooij

Bug Description

"bzr git-import" almost succeed, but died near the end (while creating branches, it seems) with the traceback shown below.

This is bzr 2.3.0 (installed with a stand-alone installer on Windows XP), bzr-git 0.5.4 and dulwich 0.7.0.

478.063 Traceback (most recent call last):
  File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 926, in exception_to_return_code
  File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 1126, in run_bzr
  File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 691, in run_argv_aliases
  File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 713, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "D:/usr/Bazaar/plugins\git\commands.py", line 108, in run
  File "os.pyo", line 157, in makedirs
WindowsError: [Error 3] The system cannot find the path specified: u''

Related branches

On Sat, 2011-03-12 at 17:10 +0000, Eli Zaretskii wrote:
> "bzr git-import" almost succeed, but died near the end (while creating
> branches, it seems) with the traceback shown below.
>
> This is bzr 2.3.0 (installed with a stand-alone installer on Windows
> XP), bzr-git 0.5.4 and dulwich 0.7.0.
>
> 478.063 Traceback (most recent call last):
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 926, in exception_to_return_code
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 1126, in run_bzr
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 691, in run_argv_aliases
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 713, in run
> File "bzrlib\cleanup.pyo", line 135, in run_simple
> File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
> File "D:/usr/Bazaar/plugins\git\commands.py", line 108, in run
> File "os.pyo", line 157, in makedirs
> WindowsError: [Error 3] The system cannot find the path specified: u''

Not sure what's going on, the line before that checks whether the
specified path is actually a directory. It's definitely a Windows
related issue.

I've now switch this code to use Bazaar's transport code, which *should*
fix it. I don't have a Windows machine to verify though. Please reopen
if you can still reproduce it with trunk.

  status fixcommitted
  importance medium
  tags win32

Cheers,

Jelmer

Changed in bzr-git:
importance: Undecided → Medium
status: New → Fix Committed
Eli Zaretskii (eliz) wrote :

The latest trunk solves the problem. Thanks.

Jelmer Vernooij (jelmer) on 2011-03-13
Changed in bzr-git:
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 0.6.0
Jelmer Vernooij (jelmer) on 2011-04-12
Changed in bzr-git:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers