Comment 4 for bug 1854607

Revision history for this message
Peter J. Mello (roguescholar) wrote : Re: [fastimport 3.0.2] AttributeError: 'NoneType' object has no attribute '_transport'

@jelmer,

I just compiled python-fastimport from git master (your GitHub repo) and the fastimport-fix-2 branch you linked in your comment. Prior to that I uninstalled Cython and reinstalled to try and eliminate any other variables. Sadly, while the error message has changed slightly, it hasn't abated. This is what it says now

...

brz: ERROR: TypeError: sequence item 0: expected str instance, bytes found

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/breezy-3.0.3.dev0-py3.7-linux-x86_64.egg/breezy/commands.py", line 1016, in exception_to_return_code
  return the_callable(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/breezy-3.0.3.dev0-py3.7-linux-x86_64.egg/breezy/commands.py", line 1202, in run_bzr
  ret = run(*run_argv)
File "/usr/local/lib/python3.7/dist-packages/breezy-3.0.3.dev0-py3.7-linux-x86_64.egg/breezy/commands.py", line 759, in run_argv_aliases
  return self.run(**all_cmd_args)
File "/usr/local/lib/python3.7/dist-packages/breezy-3.0.3.dev0-py3.7-linux-x86_64.egg/breezy/commands.py", line 784, in run
  return self._operation.run_simple(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/breezy-3.0.3.dev0-py3.7-linux-x86_64.egg/breezy/cleanup.py", line 137, in run_simple
  self.cleanups, self.func, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/breezy-3.0.3.dev0-py3.7-linux-x86_64.egg/breezy/cleanup.py", line 166, in _do_with_cleanups
  result = func(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/breezy-3.0.3.dev0-py3.7-linux-x86_64.egg/breezy/plugins/fastimport/cmds.py", line 304, in run
  info = self._generate_info(source)
File "/usr/local/lib/python3.7/dist-packages/breezy-3.0.3.dev0-py3.7-linux-x86_64.egg/breezy/plugins/fastimport/cmds.py", line 336, in _generate_info
  return_code = proc.process(p.iter_commands)
File "/usr/local/lib/python3.7/dist-packages/fastimport/processor.py", line 75, in process
  self._process(command_iter)
File "/usr/local/lib/python3.7/dist-packages/fastimport/processor.py", line 91, in _process
  self.post_process()
File "/usr/local/lib/python3.7/dist-packages/fastimport/processors/info_processor.py", line 137, in
  post_process self.blobs.items(), len, _iterable_as_config_list)
File "/usr/local/lib/python3.7/dist-packages/fastimport/processors/info_processor.py", line 167, in
  _dump_stats_group value = verbose_formatter(value)
File "/usr/local/lib/python3.7/dist-packages/fastimport/processors/info_processor.py", line 298, in
_iterable_as_config_list
  return ", ".join(items)
TypeError: sequence item 0: expected str instance, bytes found