Giter Site home page Giter Site logo

Tests are failing about pysunspec HOT 2 CLOSED

sunspec avatar sunspec commented on August 27, 2024
Tests are failing

from pysunspec.

Comments (2)

bobfox avatar bobfox commented on August 27, 2024

The github generated source zip file does not contain the SunSpec
information models as they are contained in another repository. If you
installed from the github generated source zip file that may be the issue.

Try downloading the pysunspec-1.0.7.zip from the release and using
setup.py to install.

On 3/22/16 3:57 AM, Bruno Binet wrote:

When I try to run the tests on Linux (Debian) laptop, I get the
following error:

|$ pysunspec_test.py pySunSpec version: 1.0.7 Test device path:
/home/bruno/.virtualenvs/tmp-d3111b3cabc0fa7b/lib/python2.7/site-packages/sunspec/core/test/devices
Traceback (most recent call last): File
"/home/bruno/.virtualenvs/tmp-d3111b3cabc0fa7b/bin/pysunspec_test.py",
line 13, in test.test_all() File
"/home/bruno/.virtualenvs/tmp-d3111b3cabc0fa7b/local/lib/python2.7/site-packages/sunspec/core/test/test_all.py",
line 42, in test_all (count_run, count_passed, count_failed) =
module.test_all(pathlist, stop_on_failure) File
"/home/bruno/.virtualenvs/tmp-d3111b3cabc0fa7b/lib/python2.7/site-packages/sunspec/core/test/test_device.py",
line 561, in test_all if test(pathlist) is True: File
"/home/bruno/.virtualenvs/tmp-d3111b3cabc0fa7b/lib/python2.7/site-packages/sunspec/core/test/test_device.py",
line 402, in test_device_from_pics
d1.from_pics(filename='pics_test_device_1.xml', pathlist=pathlist)
File
"/home/bruno/.virtualenvs/tmp-d3111b3cabc0fa7b/local/lib/python2.7/site-packages/sunspec/core/device.py",
line 111, in from_pics raise SunSpecError('Error loading PICS: %s' %
str(e)) |


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#8

from pysunspec.

bbinet avatar bbinet commented on August 27, 2024

I confirm that tests pass when using the release zip.
Thanks.

from pysunspec.

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.