-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pySunSpec Release 1.0.8 does not suport python3 #70
Comments
The Sunspec alliance seems to have abandoned this repository.
Please correct me if im wrong. |
Thanks. I've done about the same thing using the original SunSpec repository for testing. I may adapt this repo when I get serious. However even the models smdx folder from sunspec are dated and seem incomplete. |
SunSpec has not abandoned the repository but we have not had the resources to respond to the issues. Also, work has been underway to propose extending the SunSpec information modeling which will cause a major revision to the library. We indicated a few months ago we would be adding resources to address this and are in the process of doing that now. SunSpec is committed to maintaining and enhancing the library and look forward to working with you on it. |
Thank you bobfox for responding. |
The problem for SunSpec on this specific topic is that there has been work to resolve these issues as well but possibly done in a different way. The desire was to reconcile the approaches rather than just accept all the pull requests. Unfortunately, this approach does take more time but does not serve the current github users well. I agree in hindsight something different should probably have been done. It was anticipated that the updated modeling would have been introduced by now but priorities have gotten in the way. This is now becoming one of our highest priorities so you will see progress shortly in a number of different ways. I hope you will hang in there and participate in the effort moving forward. |
Please, if possible commit the updated model list in the official repository. Unfortunately looks trhat Sunspec abandonated the official repository, but we can update and correct the pysunspec bugs. Is it possible? |
@bobfox For all: Keep in mind that despite claiming py3 support and having mostly implemented it, afaict you can't actually connect to a device with py3. Hence #60. I commented at sunspec/models#39 (comment) about my forks of the https://github.com/altendky/pysunspec |
I followed the instructions in the readme. It sends me to the latest release to download, unzip and install. I do that but use python3 instead of python for my commands. Then I try to run
python3 -m unittest discover -v sunspec
Attached are my errors. It looks like python2 compatible code.Help..
sunspec.log.gz
I also tried a git clone and a setup for python3 I get this:
charles:pysunspec$ sudo python3 setup.py install
r```
unning install
running build
running build_py
running build_scripts
running install_lib
byte-compiling /usr/local/lib/python3.6/dist-packages/sunspec/models/smdx/manifest.py to manifest.cpython-36.pyc
File "/usr/local/lib/python3.6/dist-packages/sunspec/models/smdx/manifest.py", line 89
except Exception, e:
^
SyntaxError: invalid syntax
running install_scripts
changing mode of /usr/local/bin/suns.py to 777
running install_egg_info
Removing /usr/local/lib/python3.6/dist-packages/pysunspec-2.0.0.egg-info
Writing /usr/local/lib/python3.6/dist-packages/pysunspec-2.0.0.egg-info
The text was updated successfully, but these errors were encountered: