You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been running into exceptions with the print functions in logging that various bits or rez calls.
For example, in commands(), if stop('Hello world') is called, the print_error falls over:
Traceback (most recent call last):
File "/packages/rez/2.27.0/platform-linux/python-2.7/bin/rez/rez", line 4, in <module>
run()
File "/packages/rez/2.27.0/platform-linux/python-2.7/lib/python2.7/site-packages/rez-2.27.0-py2.7.egg/rez/cli/_main.py", line 148, in run
print_error("%s: %s" % (e.__class__.__name__, str(e)))
File "/packages/rez/2.27.0/platform-linux/python-2.7/lib/python2.7/site-packages/rez-2.27.0-py2.7.egg/rez/utils/logging_.py", line 22, in print_error
logger.error(msg % nargs)
TypeError: not enough arguments for format string
The text was updated successfully, but these errors were encountered:
j0yu
changed the title
[Fix
Fix nargs for logging_.print_* functions
Feb 28, 2019
j0yu
changed the title
Fix nargs for logging_.print_* functions
nargs errors for logging_.print_* functions
Feb 28, 2019
rez
2.27.0I've been running into exceptions with the print functions in logging that various bits or rez calls.
For example, in
commands()
, ifstop('Hello world')
is called, theprint_error
falls over:The text was updated successfully, but these errors were encountered: