kc1212 / checo

MIT License
5 stars 2 forks source link

TypeError: not all arguments converted during string formatting #1

Closed synctext closed 7 years ago

synctext commented 7 years ago

After running on Ubuntu:

XPS13:~/GITHUB/consensus-thesis-code>python -m src.node 12347 4 1 --test mo14 --value 1 -o logs/node3.log --debug
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 861, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 734, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 465, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.7/logging/__init__.py", line 329, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Logged from file mo14.py, line 175