django-shop icon indicating copy to clipboard operation
django-shop copied to clipboard

shopcustomers management command gives TypeError: expected string or bytes-like object

Open racitup opened this issue 6 years ago • 0 comments

./manage.py help shopcustomers causes the following error in v0.11:

./manage.py help shopcustomers Traceback (most recent call last): File "./manage.py", line 22, in execute_from_command_line(sys.argv) File "/Users/rich/.pyenv/versions/3.5.2/lib/python3.5/site-packages/django/core/management/init.py", line 367, in execute_from_command_line utility.execute() File "/Users/rich/.pyenv/versions/3.5.2/lib/python3.5/site-packages/django/core/management/init.py", line 351, in execute self.fetch_command(options.args[0]).print_help(self.prog_name, options.args[0]) File "/Users/rich/.pyenv/versions/3.5.2/lib/python3.5/site-packages/django/core/management/base.py", line 275, in print_help parser.print_help() File "/Users/rich/.pyenv/versions/3.5.2/lib/python3.5/argparse.py", line 2358, in print_help self._print_message(self.format_help(), file) File "/Users/rich/.pyenv/versions/3.5.2/lib/python3.5/argparse.py", line 2342, in format_help return formatter.format_help() File "/Users/rich/.pyenv/versions/3.5.2/lib/python3.5/argparse.py", line 278, in format_help help = self._root_section.format_help() File "/Users/rich/.pyenv/versions/3.5.2/lib/python3.5/argparse.py", line 208, in format_help func(*args) File "/Users/rich/.pyenv/versions/3.5.2/lib/python3.5/argparse.py", line 483, in _format_text return self._fill_text(text, text_width, indent) + '\n\n' File "/Users/rich/.pyenv/versions/3.5.2/lib/python3.5/argparse.py", line 619, in _fill_text text = self._whitespace_matcher.sub(' ', text).strip() TypeError: expected string or bytes-like object

racitup avatar Oct 05 '17 08:10 racitup