-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
helpwantedPlease contribute to fixing this!Please contribute to fixing this!
Description
Something is causing the default column width to return -1 when subcommands are run via docker entrypoint. This bug does not happen when the command is run normally via the shell.
Traceback:
5/7/2019 4:07:25 PMTraceback (most recent call last):
5/7/2019 4:07:25 PM File "/usr/local/bin/calc_ingest", line 10, in <module>
5/7/2019 4:07:25 PM sys.exit(Main.console_script())
5/7/2019 4:07:25 PM File "/usr/local/lib/python3.7/site-packages/pytool/cmd.py", line 315, in console_script
5/7/2019 4:07:25 PM cls().start(sys.argv[1:])
5/7/2019 4:07:25 PM File "/usr/local/lib/python3.7/site-packages/pytool/cmd.py", line 138, in __init__
5/7/2019 4:07:25 PM self.set_opts()
5/7/2019 4:07:25 PM File "/usr/src/app/calc_ingest/__main__.py", line 24, in set_opts
5/7/2019 4:07:25 PM self.subcommand('run', help="Run the service")
5/7/2019 4:07:25 PM File "/usr/local/lib/python3.7/site-packages/pytool/cmd.py", line 284, in subcommand
5/7/2019 4:07:25 PM kwargs['description'] = pytool.text.wrap(kwargs['description'])
5/7/2019 4:07:25 PM File "/usr/local/lib/python3.7/site-packages/pytool/text.py", line 124, in wrap
5/7/2019 4:07:25 PM line = wrapper.fill(line)
5/7/2019 4:07:25 PM File "/usr/local/lib/python3.7/textwrap.py", line 363, in fill
5/7/2019 4:07:25 PM return "\n".join(self.wrap(text))
5/7/2019 4:07:25 PM File "/usr/local/lib/python3.7/textwrap.py", line 354, in wrap
5/7/2019 4:07:25 PM return self._wrap_chunks(chunks)
5/7/2019 4:07:25 PM File "/usr/local/lib/python3.7/textwrap.py", line 248, in _wrap_chunks
5/7/2019 4:07:25 PM raise ValueError("invalid width %r (must be > 0)" % self.width)
5/7/2019 4:07:25 PMValueError: invalid width -1 (must be > 0)
Metadata
Metadata
Assignees
Labels
helpwantedPlease contribute to fixing this!Please contribute to fixing this!