Python plugins not working Topic is solved
Moderator: leecollings
-
- Posts: 14
- Joined: Monday 06 February 2017 15:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Python plugins not working
Hi,
on my raspy, python plugins do not work anymore with the latest beta
Version: 3.6707
Build Hash: 6674ca2
They did work before the update. Now, the start log tells me:
: 2017-02-14 16:20:33.647 PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
But libpython3.4 is installed on the system, plugins worked before V 3.6707.
Do I miss something here?
- thomas
on my raspy, python plugins do not work anymore with the latest beta
Version: 3.6707
Build Hash: 6674ca2
They did work before the update. Now, the start log tells me:
: 2017-02-14 16:20:33.647 PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
But libpython3.4 is installed on the system, plugins worked before V 3.6707.
Do I miss something here?
- thomas
-
- Posts: 51
- Joined: Thursday 26 January 2017 23:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
I'm experiencing exactly the same problem. I opened a bug report for it as well: https://github.com/domoticz/domoticz/issues/1230
-
- Posts: 81
- Joined: Sunday 04 January 2015 0:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest-1
- Location: /dev/null
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
Two minutes ago I compiled V3.6708 with python support with your buienradar plugin. Everything works fine!
--Gerard
--Gerard
-
- Posts: 14
- Joined: Monday 06 February 2017 15:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
I'm sorry, still no luck:
- thomas
Code: Select all
pi@raspberrypi:~$ domoticz/domoticz -verbose 2
2017-02-14 17:32:59.280 Domoticz V3.6708 (c)2012-2017 GizMoCuz
2017-02-14 17:32:59.280 Build Hash: 7b91f74, Date: 2017-02-14 16:52:55
2017-02-14 17:32:59.281 System: Raspberry Pi
2017-02-14 17:32:59.281 Startup Path: /home/pi/domoticz/
2017-02-14 17:32:59.406 Sunrise: 07:37:00 SunSet:17:41:00
2017-02-14 17:32:59.406 EventSystem: reset all events...
2017-02-14 17:32:59.412 PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
Code: Select all
root@raspberrypi:/home/pi# dpkg -l | grep libpython3.4
ii libpython3.4:armhf 3.4.2-1 armhf Shared Python runtime library (version 3.4)
ii libpython3.4-minimal:armhf 3.4.2-1 armhf Minimal subset of the Python language (version 3.4)
ii libpython3.4-stdlib:armhf 3.4.2-1 armhf Interactive high-level object-oriented language (standard library, version 3.4)
- Brutus
- Posts: 249
- Joined: Friday 26 September 2014 9:33
- Target OS: Windows
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
Works for me to!gerardvs wrote:Two minutes ago I compiled V3.6708 with python support with your buienradar plugin. Everything works fine!
--Gerard
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
-
- Posts: 51
- Joined: Thursday 26 January 2017 23:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
v3.6708 still has the problem for me:
Are we missing some additional required packages?
Are we missing some additional required packages?
Code: Select all
2017-02-14 21:04:02.523 Domoticz V3.6708 (c)2012-2017 GizMoCuz
2017-02-14 21:04:02.528 Build Hash: 7b91f74, Date: 2017-02-14 16:52:55
2017-02-14 21:04:02.528 System: Raspberry Pi
2017-02-14 21:04:02.529 Startup Path: /home/pi/domoticz/
2017-02-14 21:04:02.825 EventSystem: reset all events...
2017-02-14 21:04:02.833 PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2017-02-14 21:04:02.836 PluginSystem: 'Weer' Registration ignored, Plugins are not enabled.
2017-02-14 21:04:02.888 WebServer(HTTP) started on address: :: with port 8080
2017-02-14 21:04:02.914 WebServer(SSL) started on address: :: with port 443
2017-02-14 21:04:02.921 Proxymanager started.
2017-02-14 21:04:02.934 TCPServer: shared server started...
2017-02-14 21:04:02.934 RxQueue: queue worker started...
2017-02-14 21:04:04.939 EventSystem: reset all events...
2017-02-14 21:04:04.941 EventSystem: reset all device statuses...
2017-02-14 21:04:04.943 Philips Hue: Worker started...
2017-02-14 21:04:04.943 Hardware Monitor: Started
2017-02-14 21:04:04.944 ToonThermostat: Worker started...
2017-02-14 21:04:04.946 EventSystem: Started
Code: Select all
pi@domoticz:~/domoticz $ dpkg -l | grep libpython3.4
ii libpython3.4:armhf 3.4.2-1 armhf Shared Python runtime library (version 3.4)
ii libpython3.4-minimal:armhf 3.4.2-1 armhf Minimal subset of the Python language (version 3.4)
ii libpython3.4-stdlib:armhf 3.4.2-1 armhf Interactive high-level object-oriented language (standard library, version 3.4)
pi@domoticz:~/domoticz $ uname -a
Linux domoticz 4.4.38+ #938 Thu Dec 15 15:17:54 GMT 2016 armv6l GNU/Linux
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
I haven't changed this for a while (wasn't broken so I didn't try and fix it) but will have a look at it.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 51
- Joined: Thursday 26 January 2017 23:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
Just did
Which seems to solve it. A bit strange that it is suddenly needed.
Code: Select all
sudo apt-get install python3-dev
Re: Python plugins not working anymore with latest beta Version: 3.6707
As far as I know this was always needed, at least if you compile from sourceffes wrote:Just did
Which seems to solve it. A bit strange that it is suddenly needed.Code: Select all
sudo apt-get install python3-dev
-
- Posts: 51
- Joined: Thursday 26 January 2017 23:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
I never compiled from sources (at least on my pi). Previous betas didn't need this. But apparently python3-dev is needed to run.
-
- Posts: 14
- Joined: Monday 06 February 2017 15:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
that fixed it, thank you!
-
- Posts: 179
- Joined: Friday 12 July 2013 13:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta Ch
- Location: The Netherlands
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
Reinstalling python3-dev did the trick
Strange, before 3.6707 (or maybe 1 version earlier) Python and the plugins were running smoothly. And yes, had python3-dev already installed.
Could also be related that I did a; apt-get install update+upgrade.
Strange, before 3.6707 (or maybe 1 version earlier) Python and the plugins were running smoothly. And yes, had python3-dev already installed.
Could also be related that I did a; apt-get install update+upgrade.
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
I tried an upgrade+update on Ubuntu 16.04 and it still worked afterwards without a re-install.Strange, before 3.6707 (or maybe 1 version earlier) Python and the plugins were running smoothly. And yes, had python3-dev already installed.
Could also be related that I did a; apt-get install update+upgrade.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
On Ubuntu 14.04 and Domoticz v3.6708 the plugins are also still working without a re-install.
Not using Domoticz anymore
-
- Posts: 110
- Joined: Sunday 22 March 2015 7:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Holland
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
Upgraded to the latest beta 3.7349 result with the error
PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform
Tried
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python3-dev
But stil same error.
PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform
Tried
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python3-dev
But stil same error.
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
@mikeoo,
You need to provide more details.
You need to provide more details.
- Was it ever working?
- What OS are you running?
- Have you installed libpython3.x as the error suggests? (python3-dev is for when you build from source)
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 110
- Joined: Sunday 22 March 2015 7:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Holland
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
@Dnpwwo
I just noticed the error and not sure if is was there before.
Using on Raspbian GNU/Linux 7 (wheezy)
Tried to run: sudo apt-get install libpython3.4 result with: Couldn't find any package by regex 'libpython3.4'
Bit lost now
I just noticed the error and not sure if is was there before.
Using on Raspbian GNU/Linux 7 (wheezy)
Tried to run: sudo apt-get install libpython3.4 result with: Couldn't find any package by regex 'libpython3.4'
Bit lost now
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
@mikeoo,
Wheezy does not have a version of Python compatible with Domoticz. If you don't want to upgrade to Jessie then there are instructions here: http://www.domoticz.com/wiki/Linux#Prob ... ing_Python
In short you need to build a version from source using:
Wheezy does not have a version of Python compatible with Domoticz. If you don't want to upgrade to Jessie then there are instructions here: http://www.domoticz.com/wiki/Linux#Prob ... ing_Python
In short you need to build a version from source using:
Code: Select all
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
tar -xvf Python-3.5.2.tar.xz
cd Python-3.5.2
./configure --enable-shared
make
sudo make install
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 110
- Joined: Sunday 22 March 2015 7:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Holland
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
That one fixed the problemDnpwwo wrote:@mikeoo,
Wheezy does not have a version of Python compatible with Domoticz. If you don't want to upgrade to Jessie then there are instructions here: http://www.domoticz.com/wiki/Linux#Prob ... ing_Python
In short you need to build a version from source using:Code: Select all
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz tar -xvf Python-3.5.2.tar.xz cd Python-3.5.2 ./configure --enable-shared make sudo make install

Status: PluginSystem: Started, Python version '3.5.2'.
Thanks for the support.
- leecollings
- Posts: 167
- Joined: Tuesday 30 June 2015 18:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: United Kingdom
- Contact:
Re: Python plugins not working anymore with latest beta Version: 3.6707
Hey,
Just wanted to ask, is it usual for it to take a considerable long time after the last command here? I'm not sure if I've had a crash or not.
It's taking ages after the MAKE command, outputting blocks of text after every few minutes like this:
gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -I. -I./Include -fPIC -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c
Just wanted to ask, is it usual for it to take a considerable long time after the last command here? I'm not sure if I've had a crash or not.
It's taking ages after the MAKE command, outputting blocks of text after every few minutes like this:
gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -I. -I./Include -fPIC -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c
Who is online
Users browsing this forum: No registered users and 0 guests