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

catlog traceback when no units are specified #73

Open
markpeek opened this issue Jun 19, 2015 · 0 comments
Open

catlog traceback when no units are specified #73

markpeek opened this issue Jun 19, 2015 · 0 comments

Comments

@markpeek
Copy link
Member

@samrushing I'm sure we can catch this and give a better error message.

$ catlog -a 10 /var/log/output.log
Traceback (most recent call last):
  File "/usr/local/bin/catlog", line 4, in <module>
    __import__('pkg_resources').run_script('coro==1.0.5', 'catlog')
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 723, in run_script
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1643, in run_script
  File "/usr/local/lib/python2.7/dist-packages/coro-1.0.5-py2.7-linux-x86_64.egg/EGG-INFO/scripts/catlog", line 110, in <module>

  File "/usr/local/lib/python2.7/dist-packages/coro-1.0.5-py2.7-linux-x86_64.egg/EGG-INFO/scripts/catlog", line 40, in main

  File "/usr/local/lib/python2.7/dist-packages/coro-1.0.5-py2.7-linux-x86_64.egg/EGG-INFO/scripts/catlog", line 67, in seek

AttributeError: 'NoneType' object has no attribute 'groups'
samrushing added a commit that referenced this issue Jun 23, 2015
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

1 participant