1. What OS? (Wheezy or Jessie)
Jessie
2. What class/size SD card? (ex. class 10 16gb)
8gb
3. What Model Pi? (A+, A, B+, B, Pi2)
B
4. Please describe the bug / issue. Attaching any relevant screenshots would be very helpful! Thanks in advance.
After running the install script which appeared to complete ok and moving to step 3 - Cayenne
the web page showed Libraries Installed but the Agent indicator was the progress image for over 10 minutes
Rebooted RPi but still the same on the web page.
Ran install script with --verbose and got the following output:
- cd /tmp/myDevices-1.0
- chmod +x /tmp/myDevices-1.0/setup.sh
- /tmp/myDevices-1.0/setup.sh -code yt0qbjwetn --verbose
(0%)
Mon 21 Dec 18:20:51 AEDT 2015 Installing myDevices agent
Mon 21 Dec 18:20:52 AEDT 2015 Installing system libraries
Mon 21 Dec 18:20:52 AEDT 2015 Installing python3-dev
(2%)
Mon 21 Dec 18:20:55 AEDT 2015 Installing debian package: libpython3.2_3.2.3-7_armhf.deb
(4%)
Mon 21 Dec 18:21:06 AEDT 2015 Installing debian package: libssl1.0.0_1.0.1e-2+rvt+deb7u17_armhf.deb
(6%)
Mon 21 Dec 18:21:10 AEDT 2015 Installing debian package: libssl-dev_1.0.1e-2+rvt+deb7u17_armhf.deb
(8%)
Mon 21 Dec 18:21:13 AEDT 2015 Installing debian package: libexpat1_2.1.0-7_armhf.deb
(10%)
Mon 21 Dec 18:21:16 AEDT 2015 Installing debian package: libexpat1-dev_2.1.0-7_armhf.deb
(12%)
Mon 21 Dec 18:21:34 AEDT 2015 Installing debian package: python3.2-dev_3.2.3-7_armhf.deb
Mon 21 Dec 18:21:36 AEDT 2015 Found Python 3.4.2…
(80%)
Mon 21 Dec 18:21:36 AEDT 2015 Copying agent libraries
(85%)
Mon 21 Dec 18:21:51 AEDT 2015 Installing python utils
(90%)
Mon 21 Dec 18:21:55 AEDT 2015 Installing agent
Mon 21 Dec 18:21:57 AEDT 2015 Cannot install for Python 3.4.2 : missing development headers\n
Mon 21 Dec 18:21:57 AEDT 2015 Finished agent code
Mon 21 Dec 18:21:57 AEDT 2015 ERROR: myDevices cannot be installed - please check errors above
On trying to install python 3.4 headers got the following:
sudo apt-get install python3.4-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies:
libpython3.2 : Depends: python3.2 (= 3.2.3-7) but 3.2.4-1+b1 is to be installed
python3.2-dev : Depends: python3.2 (= 3.2.3-7) but 3.2.4-1+b1 is to be installed
python3.4-dev : Depends: libpython3.4-dev (= 3.4.2-1) but it is not going to be installed
Depends: libpython3.4 (= 3.4.2-1) but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
Did a apt-get -f install and after that able to install python 3.4 dev.
Rerun install script and the RPi appears on the web page.
Considering that Jessie comes with Python 3.4 by default, why is the myDevices setup installing 3.2 dev dependencies instead of 3.4 dev dependencies?