Comments (2)
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.
I confirm that tests pass when using the release zip.
Thanks.
from pysunspec.
Related Issues (20)
- Wrong NaN value?
- PyModbus based server HOT 2
- RTU Encapsulation over TCP HOT 1
- pySunSpec Release 1.0.8 does not suport python3 HOT 7
- int16 with SF -1 set = 84.3 turns it into 84.2 (rounding/scaling error)
- I don't see a way to remove pysunspec from my Linux Debian system HOT 3
- Is handling of NaN values in scope of spec/library? HOT 5
- Fronius Modbus Card returns empty objects HOT 3
- point_class call in Model.load() is not keyworded HOT 1
- Feature request domoticz
- Unable to understand the way to get data from a sunspec device
- Outback AXS Port HOT 1
- cloning with --recursive option resulting older than the newest version of models submodule HOT 3
- Reference to apt+pyserial seems out of place or unneeded.
- Travis only building PRs
- Adopt a uniform CI testing solution HOT 1
- error in scan with pyhon 3.7.2 HOT 2
- Question - Can I read historic data from inverter
- Create Modbus Server HOT 1
- NoneType attribute label exception on Skybox inverter query HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysunspec.