Code Monkey home page Code Monkey logo

bottlelog's Introduction

pklaus

Mono-repo with collected Python works.

bottlelog's People

Contributors

axsapronov avatar pklaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bottlelog's Issues

Problems while install via pip

root@ThinkPad-X230:~# pip install bottlelog
Downloading/unpacking bottlelog
Could not find any downloads that satisfy the requirement bottlelog
No distributions at all found for bottlelog
Storing complete log in /home/user/.pip/pip.log

pip.log

------------------------------------------------------------
/usr/bin/pip run on Mon Aug 17 18:50:58 2015
Downloading/unpacking bottlelog
  Getting page http://pypi.python.org/simple/bottlelog
  Could not fetch URL http://pypi.python.org/simple/bottlelog: HTTP Error 404: Not Found
  Will skip URL http://pypi.python.org/simple/bottlelog when looking for download links for bottlelog
  Getting page http://pypi.python.org/simple/
  URLs to search for versions for bottlelog:
  * http://pypi.python.org/simple/bottlelog/
  Getting page http://pypi.python.org/simple/bottlelog/
  Could not fetch URL http://pypi.python.org/simple/bottlelog/: HTTP Error 404: Not Found
  Will skip URL http://pypi.python.org/simple/bottlelog/ when looking for download links for bottlelog
  Could not find any downloads that satisfy the requirement bottlelog
No distributions at all found for bottlelog
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main
    self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 948, in prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 152, in find_requirement
    raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for bottlelog

bottlelog does not support generator ,something comes from yield

in my scripts,I usually use 'yield' to show sentences one by one, so ,could you make it possible?

in init.py,
from inspect import isgenerator

and change this line:
bodylen = len(body) if not isinstance(body, HTTPResponse) and not isgenerator(body) else 0

thanks

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.