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
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
@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): 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 lib/python3. 7/dist- packages/ breezy- 3.0.3.dev0- py3.7-linux- x86_64. egg/breezy/ commands. py", line 1202, in run_bzr 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 **all_cmd_ args) lib/python3. 7/dist- packages/ breezy- 3.0.3.dev0- py3.7-linux- x86_64. egg/breezy/ commands. py", line 784, in run .run_simple( *args, **kwargs) lib/python3. 7/dist- packages/ breezy- 3.0.3.dev0- py3.7-linux- x86_64. egg/breezy/ cleanup. py", line 137, in run_simple 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 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(source) 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 p.iter_ commands) lib/python3. 7/dist- packages/ fastimport/ processor. py", line 75, in process _process( command_ iter) lib/python3. 7/dist- packages/ fastimport/ processor. py", line 91, in _process post_process( ) lib/python3. 7/dist- packages/ fastimport/ processors/ info_processor. py", line 137, in as_config_ list) lib/python3. 7/dist- packages/ fastimport/ processors/ info_processor. py", line 167, in formatter( value) lib/python3. 7/dist- packages/ fastimport/ processors/ info_processor. py", line 298, in as_config_ list
File "/usr/local/
return the_callable(*args, **kwargs)
File "/usr/local/
ret = run(*run_argv)
File "/usr/local/
return self.run(
File "/usr/local/
return self._operation
File "/usr/local/
self.cleanups, self.func, *args, **kwargs)
File "/usr/local/
result = func(*args, **kwargs)
File "/usr/local/
info = self._generate_
File "/usr/local/
return_code = proc.process(
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
post_process self.blobs.items(), len, _iterable_
File "/usr/local/
_dump_stats_group value = verbose_
File "/usr/local/
_iterable_
return ", ".join(items)
TypeError: sequence item 0: expected str instance, bytes found