mirror of
https://github.com/naruxde/revpipyload.git
synced 2025-11-08 15:13:52 +01:00
RevPiModIO2 2.1.6 muss verwendet werden wegen Device-Iterator
Watch mode Daten schneller zusammenfassen
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE Project SYSTEM "Project-5.1.dtd">
|
||||
<!-- eric project file for project revpipyload -->
|
||||
<!-- Saved: 2018-06-24, 10:04:03 -->
|
||||
<!-- Saved: 2018-06-27, 11:29:04 -->
|
||||
<!-- Copyright (C) 2018 Sven Sager, akira@narux.de -->
|
||||
<Project version="5.1">
|
||||
<Language>en_US</Language>
|
||||
@@ -9,7 +9,7 @@
|
||||
<ProgLanguage mixed="0">Python3</ProgLanguage>
|
||||
<ProjectType>Console</ProjectType>
|
||||
<Description>Dieser Loader wird über das Init-System geladen und führt das angegebene Pythonprogramm aus. Es ist für den RevolutionPi gedacht um automatisch das SPS-Programm zu starten.</Description>
|
||||
<Version>0.6.6</Version>
|
||||
<Version>0.6.7</Version>
|
||||
<Author>Sven Sager</Author>
|
||||
<Email>akira@narux.de</Email>
|
||||
<Eol index="1"/>
|
||||
|
||||
@@ -143,7 +143,7 @@ class ProcimgServer():
|
||||
"""Liefert Prozessabbild an Client.
|
||||
@return Binary() bytes or None"""
|
||||
if self.rpi.readprocimg() and self.rpi.syncoutputs():
|
||||
bytebuff = b''
|
||||
bytebuff = bytearray()
|
||||
for dev in self.rpi.device:
|
||||
bytebuff += bytes(dev)
|
||||
return Binary(bytebuff)
|
||||
|
||||
@@ -50,7 +50,7 @@ from time import asctime
|
||||
from xmlrpc.client import Binary
|
||||
from xrpcserver import SaveXMLRPCServer
|
||||
|
||||
pyloadversion = "0.6.6"
|
||||
pyloadversion = "0.6.7"
|
||||
|
||||
|
||||
class RevPiPyLoad():
|
||||
@@ -319,7 +319,7 @@ class RevPiPyLoad():
|
||||
self.xml_ps = None
|
||||
proginit.logger.warning(
|
||||
"can not load revpimodio2 module. maybe its not installed "
|
||||
"or an old version (required at least 2.0.5). if you "
|
||||
"or an old version (required at least 2.1.6). if you "
|
||||
"like to use the process monitor feature, update/install "
|
||||
"revpimodio2: 'apt-get install python3-revpimodio2'"
|
||||
)
|
||||
|
||||
4
setup.py
4
setup.py
@@ -27,11 +27,11 @@ setup(
|
||||
|
||||
license="LGPLv3",
|
||||
name="revpipyload",
|
||||
version="0.6.6",
|
||||
version="0.6.7",
|
||||
|
||||
scripts=["data/revpipyload"],
|
||||
|
||||
install_requires=["revpimodio2"],
|
||||
install_requires=["revpimodio2 >= 2.1.6"],
|
||||
python_requires=">=3.2",
|
||||
|
||||
data_files=[
|
||||
|
||||
Reference in New Issue
Block a user