Bug dans les dépendances

Hello.
Il y a un bug dans les dépendances du plugin Zwave.
Durant la compilation, le script lance un upgrade du package python Louie

+ sudo pip2 install --force-reinstall --upgrade louie

Le package passe de la version 1.1 à la 2.0

Louie                    2.0

Hors la version 2.0 de Louie n’est compatible qu’à partir de la version 3.6 de Python. Alors que la version 1.1 est compatible avec Python 2.7
Ce qui cause une erreur lors de son installation

ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-caJ3Fn/louie/setup.py'"'"'; __file__='"'"'/tmp/pip-install-caJ3Fn/louie/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-MAfm14

L’ensemble du log

+ sudo pip2 install --force-reinstall --upgrade louie
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting louie
  Using cached Louie-2.0.tar.gz (13 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-caJ3Fn/louie/setup.py'"'"'; __file__='"'"'/tmp/pip-install-caJ3Fn/louie/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-MAfm14
         cwd: /tmp/pip-install-caJ3Fn/louie/
    Complete output (10 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-caJ3Fn/louie/setup.py", line 3, in <module>
        from louie import version
      File "louie/__init__.py", line 1, in <module>
        from . import dispatcher, error, plugin, robustapply, saferef, sender, signal, version
      File "louie/dispatcher.py", line 44
        f"Louie connects: {connects}\n"
        ^
    SyntaxError: invalid syntax
    ----------------------------------------
1 « J'aime »

Bonjour

Tu n’es pas sur Bulseye par hasard ?

Si c’est le cas openzwave n’est pas compatible (avec python 3)

Merci pour ton aide.
Je suis sur une Debian 10 (Buster). Effectivement openzwave 1.4.x n’exploite pas python 3.x
Et c’est là le problème lors de l’upgrade du package louie qui nécessite Python 3.6 ou supérieur.
Je propose de forcer la version 1.1 de louie dans le script de dépendance, ca évitera ce désagrément.

+ sudo pip2 install --force-reinstall --upgrade louie==1.1
1 « J'aime »

Bonjour,

Je viens d’installer Jeedom sur un PI3+ et j’ai restaurer ma sauvegarde courante dessus.
Je ne vois pas cette erreur dans l’installation des dépendances Z-Wave (elles sont ok).

//
0007|Preparing to unpack .../06-libpaper-utils_1.1.28_armhf.deb ...
0008|Unpacking libpaper-utils (1.1.28) ...
0009|Selecting previously unselected package python-roman.
0010|Preparing to unpack .../07-python-roman_2.0.0-3_all.deb ...
0011|Unpacking python-roman (2.0.0-3) ...
0012|Selecting previously unselected package python-docutils.
0013|Preparing to unpack .../08-python-docutils_0.14+dfsg-4_all.deb ...
0014|Unpacking python-docutils (0.14+dfsg-4) ...
0015|Selecting previously unselected package python-nose.
0016|Preparing to unpack .../09-python-nose_1.3.7-4_all.deb ...
0017|Unpacking python-nose (1.3.7-4) ...
0018|Selecting previously unselected package python-louie.
0019|Preparing to unpack .../10-python-louie_1.1-4_all.deb ...
0020|Unpacking python-louie (1.1-4) ...
0021|Selecting previously unselected package python-olefile.
0022|Preparing to unpack .../11-python-olefile_0.46-1_all.deb ...
0023|Unpacking python-olefile (0.46-1) ...
0024|Selecting previously unselected package python-pil:armhf.
0025|Preparing to unpack .../12-python-pil_5.4.1-2+deb10u3_armhf.deb ...
0026|Unpacking python-pil:armhf (5.4.1-2+deb10u3) ...
0027|Selecting previously unselected package python-pygments.
0028|Preparing to unpack .../13-python-pygments_2.3.1+dfsg-1+deb10u2_all.deb ...
0029|Unpacking python-pygments (2.3.1+dfsg-1+deb10u2) ...
0030|Setting up libpaper1:armhf (1.1.28) ...
0031|debconf: unable to initialize frontend: Dialog
0032|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0033|debconf: falling back to frontend: Readline
0034|Creating config file /etc/papersize with new version
0035|Setting up docutils-doc (0.14+dfsg-4) ...
0036|Setting up python-nose (1.3.7-4) ...
0037|Setting up libpaper-utils (1.1.28) ...
0038|Setting up python-pygments (2.3.1+dfsg-1+deb10u2) ...
0039|Setting up libimagequant0:armhf (2.12.2-1.1) ...
0040|Setting up python-roman (2.0.0-3) ...
0041|Setting up sgml-base (1.29) ...
0042|Setting up python-louie (1.1-4) ...
0043|Setting up python-olefile (0.46-1) ...
0044|Setting up python-pil:armhf (5.4.1-2+deb10u3) ...
0045|Setting up xml-core (0.18+nmu1) ...
0046|Processing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u1) ...
0047|Processing triggers for man-db (2.8.5-2) ...
0048|Processing triggers for shared-mime-info (1.10-1) ...
0049|Processing triggers for sgml-base (1.29) ...
0050|Setting up docutils-common (0.14+dfsg-4) ...
0051|Processing triggers for sgml-base (1.29) ...
0052|Setting up python-docutils (0.14+dfsg-4) ...
0053|update-alternatives: using /usr/share/docutils/scripts/python2/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode
0054|update-alternatives: using /usr/share/docutils/scripts/python2/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode
0055|update-alternatives: using /usr/share/docutils/scripts/python2/rst2html4 to provide /usr/bin/rst2html4 (rst2html4) in auto mode
0056|update-alternatives: using /usr/share/docutils/scripts/python2/rst2html5 to provide /usr/bin/rst2html5 (rst2html5) in auto mode
0057|update-alternatives: using /usr/share/docutils/scripts/python2/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode
0058|update-alternatives: using /usr/share/docutils/scripts/python2/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode
0059|update-alternatives: using /usr/share/docutils/scripts/python2/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode
0060|update-alternatives: using /usr/share/docutils/scripts/python2/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode
0061|update-alternatives: using /usr/share/docutils/scripts/python2/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode
0062|update-alternatives: using /usr/share/docutils/scripts/python2/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode
0063|update-alternatives: using /usr/share/docutils/scripts/python2/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode
0064|update-alternatives: using /usr/share/docutils/scripts/python2/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode
0065|update-alternatives: using /usr/share/docutils/scripts/python2/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode
0066|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0067|apt-get install --force-yes -y build-essential libudev-dev g++
0068|Reading package lists...
0069|Building dependency tree...
0070|Reading state information...
0071|build-essential is already the newest version (12.6).
0072|g++ is already the newest version (4:8.3.0-1+rpi2).
0073|g++ set to manually installed.
0074|libudev-dev is already the newest version (241-7~deb10u8+rpi1).
0075|The following package was automatically installed and is no longer required:
0076|raspi-gpio
0077|Use 'sudo apt autoremove' to remove it.
0078|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0079|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0080|apt-get install --force-yes -y cython
0081|Reading package lists...
0082|Building dependency tree...
0083|Reading state information...
0084|cython is already the newest version (0.29.2-2).
0085|The following package was automatically installed and is no longer required:
0086|raspi-gpio
0087|Use 'sudo apt autoremove' to remove it.
0088|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0089|W: --force-yes is deprecated, use one of the options starting with --allow instead.
0090|pip install nose-html
0091|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0092|Collecting nose-html
0093|Downloading https://www.piwheels.org/simple/nose-html/nose_html-1.1-py3-none-any.whl (8.7 kB)
0094|Collecting nose>=0.11.1
0095|Downloading https://www.piwheels.org/simple/nose/nose-1.3.7-py3-none-any.whl (154 kB)
0096|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.7/154.7 kB 598.5 kB/s eta 0:00:00
0097|Installing collected packages: nose, nose-html
0098|Successfully installed nose-1.3.7 nose-html-1.1
0099|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0100|pip install nose-progressive
0101|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0102|Collecting nose-progressive
0103|Downloading https://www.piwheels.org/simple/nose-progressive/nose_progressive-1.5.2-py3-none-any.whl (30 kB)
0104|Collecting blessings<2.0,>=1.3
0105|Downloading https://www.piwheels.org/simple/blessings/blessings-1.7-py3-none-any.whl (18 kB)
0106|Requirement already satisfied: nose>=1.2.1 in /usr/local/lib/python3.7/dist-packages (from nose-progressive) (1.3.7)
0107|Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from blessings<2.0,>=1.3->nose-progressive) (1.16.0)
0108|Installing collected packages: blessings, nose-progressive
0109|Successfully installed blessings-1.7 nose-progressive-1.5.2
0110|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0111|pip install coverage
0112|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0113|Collecting coverage
0114|Downloading https://www.piwheels.org/simple/coverage/coverage-6.4.2-cp37-cp37m-linux_armv7l.whl (203 kB)
0115|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 203.2/203.2 kB 122.5 kB/s eta 0:00:00
0116|Installing collected packages: coverage
0117|Successfully installed coverage-6.4.2
0118|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0119|pip install nose
0120|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0121|Requirement already satisfied: nose in /usr/local/lib/python3.7/dist-packages (1.3.7)
0122|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0123|pip install pylint
0124|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0125|Collecting pylint
0126|Downloading https://www.piwheels.org/simple/pylint/pylint-2.14.5-py3-none-any.whl (485 kB)
0127|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 485.6/485.6 kB 1.7 MB/s eta 0:00:00
0128|Collecting mccabe<0.8,>=0.6
0129|Downloading https://www.piwheels.org/simple/mccabe/mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
0130|Collecting dill>=0.2
0131|Downloading https://www.piwheels.org/simple/dill/dill-0.3.5.1-py2.py3-none-any.whl (95 kB)
0132|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.8/95.8 kB 77.2 kB/s eta 0:00:00
0133|Collecting platformdirs>=2.2.0
0134|Downloading https://www.piwheels.org/simple/platformdirs/platformdirs-2.5.2-py3-none-any.whl (14 kB)
0135|Collecting tomlkit>=0.10.1
0136|Downloading https://www.piwheels.org/simple/tomlkit/tomlkit-0.11.1-py3-none-any.whl (34 kB)
0137|Collecting isort<6,>=4.2.5
0138|Downloading https://www.piwheels.org/simple/isort/isort-5.10.1-py3-none-any.whl (103 kB)
0139|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.4/103.4 kB 385.8 kB/s eta 0:00:00
0140|Collecting typing-extensions>=3.10.0
0141|Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.3.0-py3-none-any.whl (25 kB)
0142|Collecting astroid<=2.12.0-dev0,>=2.11.6
0143|Downloading https://www.piwheels.org/simple/astroid/astroid-2.11.7-py3-none-any.whl (249 kB)
0144|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 250.0/250.0 kB 215.7 kB/s eta 0:00:00
0145|Collecting tomli>=1.1.0
0146|Downloading https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB)
0147|Collecting typed-ast<2.0,>=1.4.0
0148|Downloading https://www.piwheels.org/simple/typed-ast/typed_ast-1.5.4-cp37-cp37m-linux_armv7l.whl (359 kB)
0149|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 359.3/359.3 kB 168.9 kB/s eta 0:00:00
0150|Collecting wrapt<2,>=1.11
0151|Downloading https://www.piwheels.org/simple/wrapt/wrapt-1.14.1-cp37-cp37m-linux_armv7l.whl (51 kB)
0152|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 407.8 kB/s eta 0:00:00
0153|Collecting lazy-object-proxy>=1.4.0
0154|Downloading https://www.piwheels.org/simple/lazy-object-proxy/lazy_object_proxy-1.7.1-cp37-cp37m-linux_armv7l.whl (34 kB)
0155|Requirement already satisfied: setuptools>=20.0 in /usr/local/lib/python3.7/dist-packages (from astroid<=2.12.0-dev0,>=2.11.6->pylint) (63.2.0)
0156|Installing collected packages: wrapt, typing-extensions, typed-ast, tomlkit, tomli, platformdirs, mccabe, lazy-object-proxy, isort, dill, astroid, pylint
0157|Successfully installed astroid-2.11.7 dill-0.3.5.1 isort-5.10.1 lazy-object-proxy-1.7.1 mccabe-0.7.0 platformdirs-2.5.2 pylint-2.14.5 tomli-2.0.1 tomlkit-0.11.1 typed-ast-1.5.4 typing-extensions-4.3.0 wrapt-1.14.1
0158|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0159|#pip install docutils
0160|#pip install setuptools
0161|#The following line crashes with a core dump
0162|#pip install "Cython==0.22"
0163|Dependencies for users installed (python 2 7 16)
0164|sed -i -e '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h
0165|cd openzwave && make
0166|make[1]: Entering directory '/opt/python-openzwave/openzwave'
0167|CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/build/ -w
0168|make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/build'
0169|Building OpenZWave Version 1.4.-1
0170|Building tinystr.o
0171|Building tinyxmlerror.o
0172|Building tinyxml.o
0173|Building tinyxmlparser.o
0174|Building hid.o
0175|Building aeskey.o
0176|Building aescrypt.o
0177|Building aestab.o
0178|Building aes_modes.o
0179|Building SensorAlarm.o
0180|Building ThermostatFanMode.o
0181|Building ControllerReplication.o
0182|Building SwitchMultilevel.o
0183|Building CommandClass.o
0184|Building Indicator.o
0185|Building Association.o
0186|Building ManufacturerSpecific.o
0187|In file included from /usr/include/c++/8/map:60,
0188|from /opt/python-openzwave/openzwave/cpp/src/command_classes/CommandClasses.h:32,
0189|from /opt/python-openzwave/openzwave/cpp/src/command_classes/ManufacturerSpecific.cpp:28:
0190|/usr/include/c++/8/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = long long int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]':
0191|/usr/include/c++/8/bits/stl_tree.h:2411:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' {aka 'std::_Rb_tree_const_iterator >'} changed in GCC 7.1
0192|_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
0193|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0194|In file included from /usr/include/c++/8/map:61,
0195|from /opt/python-openzwave/openzwave/cpp/src/command_classes/CommandClasses.h:32,
0196|from /opt/python-openzwave/openzwave/cpp/src/command_classes/ManufacturerSpecific.cpp:28:
0197|/usr/include/c++/8/bits/stl_map.h: In static member function 'static bool OpenZWave::ManufacturerSpecific::LoadProductXML()':
0198|/usr/include/c++/8/bits/stl_map.h:518:8: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' {aka 'std::_Rb_tree_const_iterator >'} changed in GCC 7.1
0199|__i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
0200|/usr/include/c++/8/bits/stl_map.h:518:8: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' {aka 'std::_Rb_tree_const_iterator >'} changed in GCC 7.1
0201|__i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
0202|/usr/include/c++/8/bits/stl_map.h:518:8: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' {aka 'std::_Rb_tree_const_iterator >'} changed in GCC 7.1
0203|__i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
0204|Building DoorLockLogging.o
0205|/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp: In member function 'virtual bool OpenZWave::DoorLockLogging::HandleMsg(const uint8*, uint32, uint32)':
0206|/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp:312:15: warning: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Wrestrict]
0207|snprintf(usercode, sizeof(usercode), "%s %d", usercode, (int)_data[12+i]);
0208|^~~~~~~~                             ~~~~~~~~
0209|Building SwitchBinary.o
0210|Building Configuration.o
0211|Building SwitchToggleBinary.o
0212|Building Hail.o
0213|Building ThermostatMode.o
0214|Building SensorMultilevel.o
0215|Building UserCode.o
0216|Building CentralScene.o
0217|Building MeterPulse.o
0218|Building TimeParameters.o
0219|Building BarrierOperator.o
0220|Building ApplicationStatus.o
0221|Building ClimateControlSchedule.o
0222|Building SoundSwitch.o
0223|Building ZWavePlusInfo.o
0224|Building Language.o
0225|Building MultiChannelAssociation.o
0226|Building Protection.o
0227|Building NodeNaming.o
0228|Building ManufacturerProprietary.o
0229|Building SwitchAll.o
0230|Building SensorBinary.o
0231|Building Lock.o
0232|Building WakeUp.o
0233|Building MultiCmd.o
0234|Building MultiInstance.o
0235|Building Proprietary.o
0236|Building Powerlevel.o
0237|Building ThermostatFanState.o
0238|Building DoorLock.o
0239|Building AssociationCommandConfiguration.o
0240|Building ThermostatOperatingState.o
0241|Building Color.o
0242|Building Battery.o
0243|Building CRC16Encap.o
0244|Building Version.o
0245|Building Security.o
0246|Building SceneActivation.o
0247|Building Meter.o
0248|Building Clock.o
0249|Building Alarm.o
0250|Building ThermostatSetpoint.o
0251|Building NoOperation.o
0252|Building BasicWindowCovering.o
0253|Building EnergyProduction.o
0254|Building Basic.o
0255|Building DeviceResetLocally.o
0256|Building CommandClasses.o
0257|Building SwitchToggleMultilevel.o
0258|Building Value.o
0259|Building ValueList.o
0260|Building ValueButton.o
0261|Building ValueInt.o
0262|Building ValueStore.o
0263|Building ValueDecimal.o
0264|Building ValueRaw.o
0265|Building ValueString.o
0266|Building ValueByte.o
0267|Building ValueBool.o
0268|Building ValueSchedule.o
0269|Building ValueShort.o
0270|Building Wait.o
0271|Building Thread.o
0272|Building Controller.o
0273|Building Stream.o
0274|Building Log.o
0275|Building HidController.o
0276|Building Mutex.o
0277|Building SerialController.o
0278|Building Event.o
0279|Building FileOps.o
0280|Building TimeStamp.o
0281|Building FileOpsImpl.o
0282|Building TimeStampImpl.o
0283|Building WaitImpl.o
0284|Building ThreadImpl.o
0285|Building LogImpl.o
0286|Building MutexImpl.o
0287|Building SerialControllerImpl.o
0288|Building EventImpl.o
0289|Building Options.o
0290|Building Scene.o
0291|Building Utils.o
0292|Building Driver.o
0293|Building ZWSecurity.o
0294|Building Group.o
0295|Building Node.o
0296|Building Manager.o
0297|Building Msg.o
0298|Building Notification.o
0299|Creating vers.cpp
0300|Building vers.o
0301|Linking Static Library
0302|Linking Shared Library
0303|Making ozw_config file
0304|make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/build'
0305|CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/examples/MinOZW/ -w
0306|make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/examples/MinOZW'
0307|Building Main.o
0308|Linking /opt/python-openzwave/openzwave/.lib/MinOZW
0309|g++   -o /opt/python-openzwave/openzwave/.lib/MinOZW /opt/python-openzwave/openzwave/.lib/Main.o /opt/python-openzwave/openzwave/libopenzwave.so -pthread
0310|Creating Temporary Shell Launch Script
0311|make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/examples/MinOZW'
0312|make[1]: Leaving directory '/opt/python-openzwave/openzwave'
0313|python setup-lib.py build
0314|running build
0315|running build_ext
0316|cythoning src-lib/libopenzwave/libopenzwave.pyx to src-lib/libopenzwave/libopenzwave.cpp
0317|/usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /opt/python-openzwave/src-lib/libopenzwave/libopenzwave.pyx
0318|tree = Parsing.p_module(s, pxd, full_module_name)
0319|building 'libopenzwave' extension
0320|creating build
0321|creating build/temp.linux-armv7l-2.7
0322|creating build/temp.linux-armv7l-2.7/src-lib
0323|creating build/temp.linux-armv7l-2.7/src-lib/libopenzwave
0324|arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPY_SSIZE_T_CLEAN=1 -Iopenzwave/cpp/src/ -Iopenzwave/cpp/src/value_classes/ -Iopenzwave/cpp/src/platform/ -Iopenzwave/cpp/build/linux/ -I/usr/include/python2.7 -c src-lib/libopenzwave/libopenzwave.cpp -o build/temp.linux-armv7l-2.7/src-lib/libopenzwave/libopenzwave.o
0325|cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
0326|src-lib/libopenzwave/libopenzwave.cpp:3: warning: "PY_SSIZE_T_CLEAN" redefined
0327|#define PY_SSIZE_T_CLEAN
0328|: note: this is the location of the previous definition
0329|In file included from openzwave/cpp/src/aes/aescpp.h:26,
0330|from openzwave/cpp/src/Driver.h:42,
0331|from src-lib/libopenzwave/libopenzwave.cpp:638:
0332|openzwave/cpp/src/aes/aes.h:75: warning: ignoring #pragma warning  [-Wunknown-pragmas]
0333|#pragma warning( disable : 4324 )
0334|openzwave/cpp/src/aes/aes.h:93: warning: ignoring #pragma warning  [-Wunknown-pragmas]
0335|#pragma warning( default : 4324 )
0336|src-lib/libopenzwave/libopenzwave.cpp: In function 'PyObject* __pyx_pf_12libopenzwave_9PyManager_268beginControllerCommand(__pyx_obj_12libopenzwave_PyManager*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*)':
0337|src-lib/libopenzwave/libopenzwave.cpp:30325:204: warning: 'bool OpenZWave::Manager::BeginControllerCommand(uint32, OpenZWave::Driver::ControllerCommand, OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)' is deprecated [-Wdeprecated-declarations]
0338|__pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->manager->BeginControllerCommand(__pyx_t_1, __pyx_t_2, __pyx_f_12libopenzwave_ctrl_callback, ((void *)__pyx_v_pythonfunc), __pyx_t_3, __pyx_t_4, __pyx_t_5)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 4120, __pyx_L1_error)
0339|^
0340|In file included from src-lib/libopenzwave/libopenzwave.cpp:643:
0341|openzwave/cpp/src/Manager.h:1731:19: note: declared here
0342|DEPRECATED bool BeginControllerCommand( uint32 const _homeId, Driver::ControllerCommand _command, Driver::pfnControllerCallback_t _callback = NULL, void* _context = NULL, bool _highPower = false, uint8 _nodeId = 0xff, uint8 _arg = 0 );
0343|^~~~~~~~~~~~~~~~~~~~~~
0344|creating build/lib.linux-armv7l-2.7
0345|arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src-lib/libopenzwave/libopenzwave.o openzwave/libopenzwave.a -ludev -lstdc++ -o build/lib.linux-armv7l-2.7/libopenzwave.so
0346|python setup-lib.py install
0347|running install
0348|running bdist_egg
0349|running egg_info
0350|creating src-lib/libopenzwave.egg-info
0351|writing requirements to src-lib/libopenzwave.egg-info/requires.txt
0352|writing src-lib/libopenzwave.egg-info/PKG-INFO
0353|writing top-level names to src-lib/libopenzwave.egg-info/top_level.txt
0354|writing dependency_links to src-lib/libopenzwave.egg-info/dependency_links.txt
0355|writing manifest file 'src-lib/libopenzwave.egg-info/SOURCES.txt'
0356|reading manifest file 'src-lib/libopenzwave.egg-info/SOURCES.txt'
0357|writing manifest file 'src-lib/libopenzwave.egg-info/SOURCES.txt'
0358|installing library code to build/bdist.linux-armv7l/egg
0359|running install_lib
0360|running build_ext
0361|skipping 'src-lib/libopenzwave/libopenzwave.cpp' Cython extension (up-to-date)
0362|creating build/bdist.linux-armv7l
0363|creating build/bdist.linux-armv7l/egg
0364|copying build/lib.linux-armv7l-2.7/libopenzwave.so -> build/bdist.linux-armv7l/egg
0365|creating stub loader for libopenzwave.so
0366|byte-compiling build/bdist.linux-armv7l/egg/libopenzwave.py to libopenzwave.pyc
0367|installing package data to build/bdist.linux-armv7l/egg
0368|running install_data
0369|creating build/bdist.linux-armv7l/egg/config
0370|creating build/bdist.linux-armv7l/egg/EGG-INFO
0371|copying src-lib/libopenzwave.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
0372|copying src-lib/libopenzwave.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
0373|copying src-lib/libopenzwave.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
0374|copying src-lib/libopenzwave.egg-info/not-zip-safe -> build/bdist.linux-armv7l/egg/EGG-INFO
0375|copying src-lib/libopenzwave.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
0376|copying src-lib/libopenzwave.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
0377|writing build/bdist.linux-armv7l/egg/EGG-INFO/native_libs.txt
0378|creating dist
0379|creating 'dist/libopenzwave-0.3.1-py2.7-linux-armv7l.egg' and adding 'build/bdist.linux-armv7l/egg' to it
0380|removing 'build/bdist.linux-armv7l/egg' (and everything under it)
0381|Processing libopenzwave-0.3.1-py2.7-linux-armv7l.egg
0382|creating /usr/local/lib/python2.7/dist-packages/libopenzwave-0.3.1-py2.7-linux-armv7l.egg
0383|Extracting libopenzwave-0.3.1-py2.7-linux-armv7l.egg to /usr/local/lib/python2.7/dist-packages
0384|Adding libopenzwave 0.3.1 to easy-install.pth file
0385|Installed /usr/local/lib/python2.7/dist-packages/libopenzwave-0.3.1-py2.7-linux-armv7l.egg
0386|Processing dependencies for libopenzwave==0.3.1
0387|Searching for six==1.16.0
0388|Best match: six 1.16.0
0389|Adding six 1.16.0 to easy-install.pth file
0390|Using /usr/local/lib/python2.7/dist-packages
0391|Finished processing dependencies for libopenzwave==0.3.1
0392|Installation of lib finished.
0393|python setup-api.py install
0394|running install
0395|running bdist_egg
0396|running egg_info
0397|creating src-api/openzwave.egg-info
0398|writing requirements to src-api/openzwave.egg-info/requires.txt
0399|writing src-api/openzwave.egg-info/PKG-INFO
0400|writing top-level names to src-api/openzwave.egg-info/top_level.txt
0401|writing dependency_links to src-api/openzwave.egg-info/dependency_links.txt
0402|writing manifest file 'src-api/openzwave.egg-info/SOURCES.txt'
0403|reading manifest file 'src-api/openzwave.egg-info/SOURCES.txt'
0404|writing manifest file 'src-api/openzwave.egg-info/SOURCES.txt'
0405|installing library code to build/bdist.linux-armv7l/egg
0406|running install_lib
0407|running build_py
0408|creating build/lib.linux-armv7l-2.7/openzwave
0409|copying src-api/openzwave/singleton.py -> build/lib.linux-armv7l-2.7/openzwave
0410|copying src-api/openzwave/controller.py -> build/lib.linux-armv7l-2.7/openzwave
0411|copying src-api/openzwave/__init__.py -> build/lib.linux-armv7l-2.7/openzwave
0412|copying src-api/openzwave/object.py -> build/lib.linux-armv7l-2.7/openzwave
0413|copying src-api/openzwave/network.py -> build/lib.linux-armv7l-2.7/openzwave
0414|copying src-api/openzwave/command.py -> build/lib.linux-armv7l-2.7/openzwave
0415|copying src-api/openzwave/value.py -> build/lib.linux-armv7l-2.7/openzwave
0416|copying src-api/openzwave/node.py -> build/lib.linux-armv7l-2.7/openzwave
0417|copying src-api/openzwave/group.py -> build/lib.linux-armv7l-2.7/openzwave
0418|copying src-api/openzwave/scene.py -> build/lib.linux-armv7l-2.7/openzwave
0419|copying src-api/openzwave/option.py -> build/lib.linux-armv7l-2.7/openzwave
0420|creating build/bdist.linux-armv7l/egg
0421|copying build/lib.linux-armv7l-2.7/libopenzwave.so -> build/bdist.linux-armv7l/egg
0422|creating build/bdist.linux-armv7l/egg/openzwave
0423|copying build/lib.linux-armv7l-2.7/openzwave/singleton.py -> build/bdist.linux-armv7l/egg/openzwave
0424|copying build/lib.linux-armv7l-2.7/openzwave/controller.py -> build/bdist.linux-armv7l/egg/openzwave
0425|copying build/lib.linux-armv7l-2.7/openzwave/__init__.py -> build/bdist.linux-armv7l/egg/openzwave
0426|copying build/lib.linux-armv7l-2.7/openzwave/object.py -> build/bdist.linux-armv7l/egg/openzwave
0427|copying build/lib.linux-armv7l-2.7/openzwave/network.py -> build/bdist.linux-armv7l/egg/openzwave
0428|copying build/lib.linux-armv7l-2.7/openzwave/command.py -> build/bdist.linux-armv7l/egg/openzwave
0429|copying build/lib.linux-armv7l-2.7/openzwave/value.py -> build/bdist.linux-armv7l/egg/openzwave
0430|copying build/lib.linux-armv7l-2.7/openzwave/node.py -> build/bdist.linux-armv7l/egg/openzwave
0431|copying build/lib.linux-armv7l-2.7/openzwave/group.py -> build/bdist.linux-armv7l/egg/openzwave
0432|copying build/lib.linux-armv7l-2.7/openzwave/scene.py -> build/bdist.linux-armv7l/egg/openzwave
0433|copying build/lib.linux-armv7l-2.7/openzwave/option.py -> build/bdist.linux-armv7l/egg/openzwave
0434|byte-compiling build/bdist.linux-armv7l/egg/openzwave/singleton.py to singleton.pyc
0435|byte-compiling build/bdist.linux-armv7l/egg/openzwave/controller.py to controller.pyc
0436|byte-compiling build/bdist.linux-armv7l/egg/openzwave/__init__.py to __init__.pyc
0437|byte-compiling build/bdist.linux-armv7l/egg/openzwave/object.py to object.pyc
0438|byte-compiling build/bdist.linux-armv7l/egg/openzwave/network.py to network.pyc
0439|byte-compiling build/bdist.linux-armv7l/egg/openzwave/command.py to command.pyc
0440|byte-compiling build/bdist.linux-armv7l/egg/openzwave/value.py to value.pyc
0441|byte-compiling build/bdist.linux-armv7l/egg/openzwave/node.py to node.pyc
0442|byte-compiling build/bdist.linux-armv7l/egg/openzwave/group.py to group.pyc
0443|byte-compiling build/bdist.linux-armv7l/egg/openzwave/scene.py to scene.pyc
0444|byte-compiling build/bdist.linux-armv7l/egg/openzwave/option.py to option.pyc
0445|creating build/bdist.linux-armv7l/egg/EGG-INFO
0446|copying src-api/openzwave.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
0447|copying src-api/openzwave.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
0448|copying src-api/openzwave.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
0449|copying src-api/openzwave.egg-info/not-zip-safe -> build/bdist.linux-armv7l/egg/EGG-INFO
0450|copying src-api/openzwave.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
0451|copying src-api/openzwave.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
0452|writing build/bdist.linux-armv7l/egg/EGG-INFO/native_libs.txt
0453|creating 'dist/openzwave-0.3.1-py2.7.egg' and adding 'build/bdist.linux-armv7l/egg' to it
0454|removing 'build/bdist.linux-armv7l/egg' (and everything under it)
0455|Processing openzwave-0.3.1-py2.7.egg
0456|creating /usr/local/lib/python2.7/dist-packages/openzwave-0.3.1-py2.7.egg
0457|Extracting openzwave-0.3.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages
0458|Adding openzwave 0.3.1 to easy-install.pth file
0459|Installed /usr/local/lib/python2.7/dist-packages/openzwave-0.3.1-py2.7.egg
0460|Processing dependencies for openzwave==0.3.1
0461|Searching for libopenzwave==0.3.1
0462|Best match: libopenzwave 0.3.1
0463|Processing libopenzwave-0.3.1-py2.7-linux-armv7l.egg
0464|libopenzwave 0.3.1 is already the active version in easy-install.pth
0465|Using /usr/local/lib/python2.7/dist-packages/libopenzwave-0.3.1-py2.7-linux-armv7l.egg
0466|Searching for Louie==1.1
0467|Best match: Louie 1.1
0468|Adding Louie 1.1 to easy-install.pth file
0469|Using /usr/lib/python2.7/dist-packages
0470|Searching for six==1.16.0
0471|Best match: six 1.16.0
0472|Adding six 1.16.0 to easy-install.pth file
0473|Using /usr/local/lib/python2.7/dist-packages
0474|Finished processing dependencies for openzwave==0.3.1
0475|Installation of API finished.
0476|sed: can't read /etc/inittab: No such file or directory
0477|Raspberry Pi 3 Detected. If you use a Razberry board you must Disabling Bluetooth
0478|Please add 'dtoverlay=pi3-miniuart-bt' to the end of the file /boot/config.txt
0479|And reboot your Raspberry Pi
0480|Everything is successfully installed!
0481|+ echo 16
0482|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openzwave
0483|+ rm /tmp/jeedom_install_in_progress_openzwave
0484|+ echo '*******************End of package installation******************'
0485|*******************End of package installation******************

Le dépôt utilisé par Raspbian ne propose pas le package louie 2.0.
J’utilise la distribution Armbian https://www.armbian.com/ qui propose le package en 2.0

Sur Raspberry Pi OS installé manuellement, j’ai bien la version 1.1
Regardez dans Jeedom : Vérification des packages système
Si cela n’est pas réparable en 1 clic.

Merci Fabrice, idem le repo de Raspberry Pi OS ne délivre pas la 2.0 de louie, c’est pour cette raison que tu ne rencontres pas le pb.
La vérification des packages ne remonte aucune erreur.
Pour info, j’exploite un Odroid N2 d’où l’usage d’Armbian qui semble être plus à jour que les repos pour rapsberry :wink:

Si vous pouvez voir avec @akenad, sur ses sujets. Il y a fort à parier qu’il a traité ce point.
Voir sur son profil.

Après une discussion avec Akenad, j’ai basculé sur la version beta de zwave-js. Openzwave est désormais bcp trop vieux et non adapté aux récentes version d’OS.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.