Giter Club home page Giter Club logo

raineagle's People

Contributors

evilpete avatar jeffsf avatar owendelong avatar steve-gh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raineagle's Issues

setup.py errors out with zip-safe no file or directory

root@metrics:/home/erichardson/RainEagle# python setup.py --dry-run --verbose install
running install
running bdist_egg
running egg_info
creating RainEagle.egg-info
writing RainEagle.egg-info/PKG-INFO
writing top-level names to RainEagle.egg-info/top_level.txt
writing dependency_links to RainEagle.egg-info/dependency_links.txt
writing manifest file 'RainEagle.egg-info/SOURCES.txt'
writing manifest file 'RainEagle.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/RainEagle
copying RainEagle/__init__.py -> build/lib.linux-x86_64-2.7/RainEagle
copying RainEagle/EagleClass.py -> build/lib.linux-x86_64-2.7/RainEagle
warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no Python modules to install

installing package data to build/bdist.linux-x86_64/egg
running install_data
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/examples
copying bin/plot_power.py -> build/bdist.linux-x86_64/egg/examples
copying bin/gnup_poweruse.txt -> build/bdist.linux-x86_64/egg/examples
creating build/bdist.linux-x86_64/egg/bin
copying bin/meter_status.py -> build/bdist.linux-x86_64/egg/bin
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-2.7
copying and adjusting bin/meter_status.py -> build/scripts-2.7
copying and adjusting bin/plot_power.py -> build/scripts-2.7
changing mode of build/scripts-2.7/meter_status.py
changing mode of build/scripts-2.7/plot_power.py
zip_safe flag not set; analyzing archive contents...
error: [Errno 2] No such file or directory: 'build/bdist.linux-x86_64/egg/EGG-INFO/zip-safe'

problems running this

root@metrics:/home/erichardson/RainEagle# python
Python 2.7.9 (default, Jun 29 2016, 13:08:31)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import RainEagle
>>> raineagle = RainEagle.Eagle(debug=0, addr="192.168.1.222")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "RainEagle/EagleClass.py", line 192, in __init__
    mysetting = self.get_setting_data()
  File "RainEagle/EagleClass.py", line 533, in get_setting_data
    comm_responce = self._send_http_comm("get_setting_data", MacId=macid)
  File "RainEagle/EagleClass.py", line 813, in _send_http_comm
    req = urllib2.Request(url, commstr, headers={ "Authorization" : 'Basic ' + base64.b64encode(self.username+":"+self.password) })
TypeError: unsupported operand type(s) for +: 'int' and 'str'
>>>

cloned the repo, fired up python, stepped through...as soon as I got to the raineagle=... line, it errors out.

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.