Coder Social home page Coder Social logo

ewn's People

Contributors

larrabee avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

isabella232

ewn's Issues

gelfclient==0.0.4 seems to be broken

python3 -m pip install ewn
Collecting ewn
Using cached ewn-1.0.7.tar.gz
Collecting gelfclient==0.0.4 (from ewn)
Using cached gelfclient-0.0.4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-3zjgc97_/gelfclient/setup.py", line 11, in
from gelfclient import version
File "/tmp/pip-build-3zjgc97_/gelfclient/gelfclient/init.py", line 2, in
from client import UdpClient
ImportError: No module named 'client'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3zjgc97_/gelfclient/

When I try to install gelfclient, it installs verson 0.0.5 ithout any errors. When I explicitly ask pip to install 0.0.4 it fails and outputs the same error as above. I observe the same in python 2.7

I believe updating dependency to 0.0.5 will solve the issue

Doesn't work in python 3.4

ewn -c "exit 2"

Traceback (most recent call last):
  File "/usr/bin/ewn", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python3.4/site-packages/ewn/__init__.py", line 110, in main
    RunFile().create()
  File "/usr/lib/python3.4/site-packages/ewn/__init__.py", line 42, in __init__
    self.file_name = hashlib.sha1(cli.command).hexdigest()
TypeError: Unicode-objects must be encoded before hashing

can be fixed quite easily though:
self.file_name = hashlib.sha1(cli.command.encode('utf-8')).hexdigest()

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.