Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start with option --debug True #7

Open
paulorcf opened this issue Mar 20, 2014 · 3 comments
Open

Start with option --debug True #7

paulorcf opened this issue Mar 20, 2014 · 3 comments

Comments

@paulorcf
Copy link

Traceback (most recent call last):
File "parsible.py", line 256, in
p.main()
File "parsible.py", line 189, in main
for parsed_line in parsed_log_file:
File "parsible.py", line 145, in follow
self.logger.debug('Tick Tock, waited for {} iterations'.format(empty_iterations))
ValueError: zero length field name in format

@andrewgross
Copy link
Contributor

Hey Paulo,

Can you explain a bit more about how you got this error?

EDIT: Sorry for the typo in your name

@paulorcf
Copy link
Author

Hey Andrew,

I run the parsible using --debug True.

$ python parsible.py --log-file $LOG_PATH_FILE --parser parse_libxl --debug True

@paulorcf
Copy link
Author

In parsible.py, line 145
if self.debug:
self.logger.debug('Tick Tock, waited for {} iterations'.format(empty_iterations))

I delete ".format(empty_iterations)
self.logger.debug('Tick Tock, waited for {} iterations')

I don't explore the correct behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants