GithubHelp home page GithubHelp logo

Comments (2)

bjudson avatar bjudson commented on July 21, 2024

I'm getting this exception on every request, whether I use --start or not. Also should note that it returns results before crashing.

Version: 0.0.2
Python: 2.7.3 (default, Feb 27 2014, 20:00:17) 
[GCC 4.6.3]
boto version: 2.38.0
Platform: Linux-3.2.0-23-generic-pae-i686-with-Ubuntu-12.04-precise
Config: {'output_group_enabled': True, 'end': None, 'aws_secret_access_key': 'SENSITIVE', 'log_stream_name': u'.', 'aws_region': u'us-east-1', 'watch': False, 'start': u'24h', 'log_group_name': u'app.log', 'func': 'list_logs', 'aws_access_key_id': 'SENSITIVE', 'color_enabled': True, 'output_stream_enabled': True}
Args: ['/vagrant/.virtualenvs/noun/bin/awslogs', 'get', 'app.log', '.', '..', '.DS_Store', '.env', '.git', '.gitignore', '.sass-cache', '.tx', '.vagrant', '--aws-region', 'us-east-1']

Traceback (most recent call last):
  File "/vagrant/.virtualenvs/noun/lib/python2.7/site-packages/awslogs/bin.py", line 121, in main
    getattr(logs, options.func)()
  File "/vagrant/.virtualenvs/noun/lib/python2.7/site-packages/awslogs/core.py", line 236, in list_logs
    pool.join()
  File "/vagrant/.virtualenvs/noun/lib/python2.7/site-packages/gevent/pool.py", line 100, in join
    self._empty_event.wait(timeout=timeout)
  File "/vagrant/.virtualenvs/noun/lib/python2.7/site-packages/gevent/event.py", line 77, in wait
    result = self.hub.switch()
  File "/vagrant/.virtualenvs/noun/lib/python2.7/site-packages/gevent/hub.py", line 331, in switch
    return greenlet.switch(self)
LoopExit: This operation would block forever

from awslogs.

jorgebastida avatar jorgebastida commented on July 21, 2024

I've just pushed a new version (0.1.0) to pypi which should fix this issue.
https://pypi.python.org/pypi/awslogs/0.1.0

from awslogs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.