Comments (3)
Nope, it is unit tested on 2.6; however, I clearly didn't test the setup.py
installer on a 2.5 system! Pull requests appreciated -- I'm in Jerusalem
right now so won't get to it for a few days...
On Wednesday, November 12, 2014, Johan Forsberg [email protected]
wrote:
I tried installing cppio under Python 2.6 (CentOS 6) and I got this error:
Downloading/unpacking cpppo
Downloading cpppo-2.9.1.tar.gz (202kB): 202kB downloaded
Running setup.py egg_info for package cpppo
Traceback (most recent call last):
File "", line 16, in
File "/tmp/pip-build-johfor/cpppo/setup.py", line 14, in
if sys.version_info.major < 3:
AttributeError: 'tuple' object has no attribute 'major'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):File "", line 16, in
File "/tmp/pip-build-johfor/cpppo/setup.py", line 14, in
if sys.version_info.major < 3:
AttributeError: 'tuple' object has no attribute 'major'
This is apparently only supported in >=2.7. I have no idea if there are
other things preventing cpppo from working on 2.6, but at least it's a good
idea to state somewhere that it's only compatible with 2.7 and up.—
Reply to this email directly or view it on GitHub
#2.
-pjk
from cpppo.
Sorry, on a 2.6 system (writing this from my phone...)
On Wednesday, November 12, 2014, Perry Kundert [email protected]
wrote:
Nope, it is unit tested on 2.6; however, I clearly didn't test the
setup.py
installer on a 2.5 system! Pull requests appreciated -- I'm in Jerusalem
right now so won't get to it for a few days...On Wednesday, November 12, 2014, Johan Forsberg <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');>
wrote:I tried installing cppio under Python 2.6 (CentOS 6) and I got this
error:Downloading/unpacking cpppo
Downloading cpppo-2.9.1.tar.gz (202kB): 202kB downloaded
Running setup.py egg_info for package cpppo
Traceback (most recent call last):
File "", line 16, in
File "/tmp/pip-build-johfor/cpppo/setup.py", line 14, in
if sys.version_info.major < 3:
AttributeError: 'tuple' object has no attribute 'major'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):File "", line 16, in
File "/tmp/pip-build-johfor/cpppo/setup.py", line 14, in
if sys.version_info.major < 3:
AttributeError: 'tuple' object has no attribute 'major'
This is apparently only supported in >=2.7. I have no idea if there are
other things preventing cpppo from working on 2.6, but at least it's a
good
idea to state somewhere that it's only compatible with 2.7 and up.—
Reply to this email directly or view it on GitHub
#2.-pjk
—
Reply to this email directly or view it on GitHub
#2 (comment).
-pjk
from cpppo.
I was incorrect -- cpppo was not unit tested under 2.6! I mis-remembered; I extensively tested one of packages it uses (greenery) under 2.6, but not cpppo!
This has been fixed; cpppo 2.9.2 now works correctly under Python 2.6, and installs correctly via pip. Due to some changes in how python -m executes modules, in order to run the cpppo.server.enip and cpppo.server.enip.client, you must specify the 'main' file explicitly, eg: 'python -m cpppo.server.enip.main --print TAGNAME=DINT[1000]'.
from cpppo.
Related Issues (20)
- Connection manager: unconnected send
- Receiving (not pulling or writing) data from AB Compact GuardLogix PLC
- Question: Getting single attribute
- Question: read an array of structures in one request
- Question: write to structure field
- CIP Class 0x66
- AssertionError on harvest HOT 1
- Simulate Omron Adapter
- (Question) Duplicate Responses to CIP Discovery Packet HOT 3
- Sending SINT write request using client results in error
- Python 3.11 import problem HOT 1
- Question: What is the meaning of "Tag communications capability"
- Question: CPPPO Server configuration as Generic Ethernet Module in Studio 5000
- Client import problem HOT 1
- SMC JXC91 write HOT 5
- Question: How to call vendor specific services?
- Question: How to send Instance Service "reset (0x05)" instead of "get_attributes_all (0x01)" using Cpppo? HOT 1
- AssertionError: Failed to receive any response
- Implicit (cyclic) communication for lower latency
- Can we have a simple example of writing a single register to a ControlLogix please
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 cpppo.