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

pystorm.log.path must be set? #293

Closed
tdhopper opened this issue Jul 29, 2016 · 3 comments
Closed

pystorm.log.path must be set? #293

tdhopper opened this issue Jul 29, 2016 · 3 comments

Comments

@tdhopper
Copy link
Contributor

I've been running my topology on 344ce8c and am trying to move to 3.0.0. However a8861e4 results in this exception on sparse submit:

Traceback (most recent call last):
  File "/Users/tdhopper/miniconda/envs/dir/bin/sparse", line 11, in <module>
    sys.exit(main())
  File "/Users/tdhopper/miniconda/envs/dir/lib/python2.7/site-packages/streamparse/cli/sparse.py", line 56, in main
    args.func(args)
  File "/Users/tdhopper/miniconda/envs/dir/lib/python2.7/site-packages/streamparse/cli/submit.py", line 243, in main
    override_name=args.override_name)
  File "/Users/tdhopper/miniconda/envs/dir/lib/python2.7/site-packages/streamparse/cli/submit.py", line 208, in submit_topology
    env_config, nimbus_client, options=options)
  File "/Users/tdhopper/miniconda/envs/dir/lib/python2.7/site-packages/streamparse/cli/submit.py", line 72, in _submit_topology
    print("Routing Python logging to {}.".format(options['pystorm.log.path']))
KeyError: u'pystorm.log.path'

It goes away if I set the log path for my environment in config.json. However, I have it unset so python logs go to worker.log.

@dan-blanchard
Copy link
Member

This is what I get for sneaking in last minute changes. Will fix and push out 3.0.1 very soon.

@dan-blanchard
Copy link
Member

Fixed and streamparse 3.0.1 is up on PyPI

@tdhopper
Copy link
Contributor Author

Thanks @dan-blanchard. You do great work!

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