|
Post by backyardhops on Nov 15, 2020 21:08:30 GMT -8
Any thoughts on the error below? I removed the LED "strip" but I'm wondering if this is something else like str()?
Running: sudo python3 SGS2.py
----------------------
Other Smart Garden System Expansions
----------------------
Weather: Present
GardenCam: Present
SunAirPlus: Not Present
SolarMAX: Not Present
Lightning Mode: Not Present
MySQL Logging Mode: Not Present
UseBlynk: Present
----------------------
Adding readSensors Job
done
Traceback (most recent call last):
File "SGS2.py", line 655, in <module>
initializeScheduler()
File "SGS2.py", line 463, in initializeScheduler
state.scheduler.add_job(pixelDriver.statusLEDs, 'interval', seconds=15, args=[strip, PixelLock])
NameError: name 'strip' is not defined
Thanks!
Charles
|
|
|
Post by SDL on Nov 17, 2020 12:43:35 GMT -8
What did you remove?
Did you remove the strip software? Or what specifically.
It shouldn't have any problem with not having the pixel plugged in or not, but you have done something with the software.
BP
|
|
|
Post by backyardhops on Nov 21, 2020 20:20:24 GMT -8
I "fixed" strip by reinstalling pretty much everything. I'm using a Raspberry 4. Any though on the following?
pi@SGS2:~/SDL_Pi_SmartGardenSystem2 $ sudo python3 SGS2.py Traceback (most recent call last): File "SGS2.py", line 12, in <module> from past.utils import old_div ModuleNotFoundError: No module named 'past'
I tried pip install future with no joy.
|
|
|
Post by SDL on Nov 22, 2020 6:58:06 GMT -8
Try:
sudo pip3 install future
and see if that works. Post the results.
BP
|
|
|
Post by backyardhops on Nov 22, 2020 19:26:49 GMT -8
Progress:
pi@SGS2:~ $ cd SDL_Pi_SmartGardenSystem2 pi@SGS2:~/SDL_Pi_SmartGardenSystem2 $ sudo python3 SGS2.py Traceback (most recent call last): File "SGS2.py", line 29, in <module> import SkyCamera File "/home/pi/SDL_Pi_SmartGardenSystem2/SkyCamera.py", line 12, in <module> from PIL import ImageFont, ImageDraw, Image ModuleNotFoundError: No module named 'PIL' pi@SGS2:~/SDL_Pi_SmartGardenSystem2 $
I'm using Model: Raspberry Pi 4 Model B Rev 1.2
PIP Version: ------------- pi@SGS2:~ $ pip -V pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
Python Version: --------------- pi@SGS2:~ $ python -V Python 3.7.3
Debian Version: --------------- pi@SGS2:~ $ cat /etc/debian_version 10.6
Release Version: ------------------ pi@SGS2:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
CPU Info --------- pi@SGS2:~ $ cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 1 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 2 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
processor : 3 model name : ARMv7 Processor rev 3 (v7l) BogoMIPS : 108.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3
Hardware : BCM2711 Revision : c03112 Serial : 100000009c79e99b Model : Raspberry Pi 4 Model B Rev 1.2
|
|
|
Post by SDL on Nov 24, 2020 15:41:40 GMT -8
sudo apt-get install python-imaging
and then
sudo apt-get install python-imaging-tk
BP
|
|
|
Post by backyardhops on Nov 26, 2020 17:29:22 GMT -8
No joy
pi@SGS2927:~/SDL_Pi_SmartGardenSystem2 $ sudo python3 SGSConfigure.py Traceback (most recent call last): File "SGSConfigure.py", line 4, in <module> import remi.gui as gui ModuleNotFoundError: No module named 'remi'
pi@SGS2927:~/SDL_Pi_SmartGardenSystem2 $ sudo python3 SGS2.py Traceback (most recent call last): File "SGS2.py", line 12, in <module> from past.utils import old_div ModuleNotFoundError: No module named 'past'
I reinstalled everything including Raspian Buster. We'll give it one more whirl and then go back to another SD card. My theory is everything is there, but its not being picked up in the tree.
Thanks!! Charles
|
|
|
Post by backyardhops on Nov 27, 2020 22:03:48 GMT -8
Progress being made using a different SD card.
|
|