You have been subscribed to a public bug:

Tried to fast-import a git repository to brz but failed:(

```
root@first:/mnt/Git/McCLIM/McCLIM# git --version
git version 2.17.1
root@first:/mnt/Git/McCLIM/McCLIM# git fast-export --all --signed-tags=verbatim 
> project.fi
root@first:/mnt/Git/McCLIM/McCLIM# brz fast-import project.fi McCLIM.brz
brz: ERROR: AttributeError: 'NoneType' object has no attribute '_transport'

Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/commands.py",
 line 1016, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/commands.py",
 line 1202, in run_bzr
    ret = run(*run_argv)
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/commands.py",
 line 759, in run_argv_aliases
    return self.run(**all_cmd_args)
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/commands.py",
 line 784, in run
    return self._operation.run_simple(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/cleanup.py",
 line 137, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/cleanup.py",
 line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/plugins/fastimport/cmds.py",
 line 322, in run
    user_map=user_map)
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/plugins/fastimport/cmds.py",
 line 51, in _run
    return proc.process(p.iter_commands)
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/plugins/fastimport/processors/generic_processor.py",
 line 282, in process
    super(GenericProcessor, self)._process(command_iter)
  File "build/bdist.linux-x86_64/egg/fastimport/processor.py", line 78, in 
_process
    self.pre_process()
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/plugins/fastimport/processors/generic_processor.py",
 line 147, in pre_process
    self._load_info_and_params()
  File 
"/usr/local/lib/python2.7/dist-packages/breezy-3.0.2-py2.7-linux-x86_64.egg/breezy/plugins/fastimport/processors/generic_processor.py",
 line 210, in _load_info_and_params
    repo_transport = self.repo.control_files._transport
AttributeError: 'NoneType' object has no attribute '_transport'

brz 3.0.2 on python 2.7.15 (Linux-5.3.0-23-generic-x86_64-with-
    Ubuntu-18.04-bionic)
arguments: ['/usr/local/bin/brz', 'fast-import', 'project.fi', 'McCLIM.brz']
plugins: bash_completion[3.0.2], changelog_merge[3.0.2],
    commitfromnews[3.0.2], cvs[3.0.2], darcs[3.0.2], email[3.0.2],
    fastimport[3.0.2], launchpad[3.0.2], mtn[3.0.2],
    netrc_credential_store[3.0.2], news_merge[3.0.2], po_merge[3.0.2],
    propose[3.0.2], repodebug[3.0.2], stats[3.0.2], upload[3.0.2],
    weave_fmt[3.0.2]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'C.UTF-8'

*** Bazaar has encountered an internal error.  This probably indicates a
    bug in Bazaar.  You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/brz/+filebug
    including this traceback and a description of the problem.

```

** Affects: breezy (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
[fastimport 3.0.2] AttributeError: 'NoneType' object has no attribute 
'_transport'
https://bugs.launchpad.net/bugs/1854607
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to