Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unidecode module not found #25

Closed
2 tasks done
angelo5619 opened this issue Nov 28, 2020 · 4 comments
Closed
2 tasks done

unidecode module not found #25

angelo5619 opened this issue Nov 28, 2020 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@angelo5619
Copy link

angelo5619 commented Nov 28, 2020

Checklist:

  • I updated to the latest version available
  • I checked that my MQTT broker is otherwise working

Release with the issue:

Last working release (if known):

Hardware Raspberry PI 3B, Operating System, Python version:3.8.6

Description of problem:
I follow all steps as your guide to install script. All OK.
In "Choose Run Style"->as system daemon
sudo systemctl start isp-rpi-reporter.service
i have following result:
.....
Nov 28 15:00:02 raspA python3[1140]: Traceback (most recent call last):
Nov 28 15:00:02 raspA python3[1140]: File "/opt/RPi-Reporter-MQTT2HA-Daemon/ISP-RPi-mqtt-daemon.py", line 22, in
Nov 28 15:00:02 raspA python3[1140]: from unidecode import unidecode
Nov 28 15:00:02 raspA python3[1140]: ModuleNotFoundError: No module named 'unidecode'
Nov 28 15:00:02 raspA systemd[1]: isp-rpi-reporter.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
.....
python 3.8.6 Homeassistant core (0.118.3) on Raspberry 3B

Run our report script 'genBugInfo' on your failing device and include the output here:

SCRIPT genBugInfo v1.1 run 20/11/28-15:29:12

----------------------------------------------------------------------

/bin/cat /etc/apt/sources.list | /bin/egrep -v '#'

deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi


/bin/cat /etc/apt/sources.list | /bin/egrep -v '#' | /usr/bin/awk '{ print $3 }' | /bin/grep . | /usr/bin/sort -u | head -1

buster


/bin/uname -r

5.4.72-v7+


/bin/hostname -f

raspA


/usr/bin/uptime

15:29:12 up 31 min, 1 user, load average: 0.27, 0.31, 0.29


/sbin/ifconfig

eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:86:9e:25 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 1873 bytes 154698 (151.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1873 bytes 154698 (151.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.23 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::617c:71ee:b6bd:1967 prefixlen 64 scopeid 0x20
ether b8:27:eb:d3:cb:70 txqueuelen 1000 (Ethernet)
RX packets 41028 bytes 13006172 (12.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 19146 bytes 3322505 (3.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


/sbin/ifconfig | /bin/egrep 'Link|flags|inet|ether' | /bin/egrep -v -i 'lo:|loopback|inet6|::1|127.0.0.1'

eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:86:9e:25 txqueuelen 1000 (Ethernet)
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.23 netmask 255.255.255.0 broadcast 192.168.1.255
ether b8:27:eb:d3:cb:70 txqueuelen 1000 (Ethernet)


/sbin/route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default vodafone 0.0.0.0 UG 303 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 303 0 0 wlan0


/bin/ls -l /var/log/dpkg.log /var/log/dpkg.log.1 2>/dev/null

/bin/ls: cannot access '/var/log/dpkg.log.1': No such file or directory
-rw-r--r-- 1 root root 131177 Nov 28 10:55 /var/log/dpkg.log


/bin/grep 'status installed' /var/log/dpkg.log /var/log/dpkg.log.1 2>/dev/null | sort | tail -1

/var/log/dpkg.log:2020-11-28 10:55:16 status installed python3-tzlocal:all 1.5.1-1


/bin/df -m

Filesystem 1M-blocks Used Available Use% Mounted on
/dev/root 112391 6399 101378 6% /
devtmpfs 430 0 430 0% /dev
tmpfs 463 0 463 0% /dev/shm
tmpfs 463 13 450 3% /run
tmpfs 5 1 5 1% /run/lock
tmpfs 463 0 463 0% /sys/fs/cgroup
/dev/sda1 253 54 199 22% /boot
tmpfs 93 0 93 0% /run/user/1000


/bin/df -m | /usr/bin/tail -n +2 | /bin/egrep -v 'tmpfs|boot'

/dev/root 112391 6399 101378 6% /


ls -l /opt/vc/bin/vcgencmd /usr/bin/vcgencmd

-rwxr-xr-x 1 root root 16460 Jul 20 08:51 /opt/vc/bin/vcgencmd
lrwxrwxrwx 1 root root 20 Oct 22 16:32 /usr/bin/vcgencmd -> /opt/vc/bin/vcgencmd



**Python errors shown in the logs (if applicable):**


**Additional information:**
@angelo5619 angelo5619 added the bug Something isn't working label Nov 28, 2020
@ironsheep ironsheep self-assigned this Nov 28, 2020
@ironsheep
Copy link
Owner

ironsheep commented Nov 28, 2020

@angelo5619 Hmmm.... I'm not sure why this would show up all of a sudden. Maybe this package is no longer installed by default? I'm looking into it.

@angelo5619
Copy link
Author

I resolved with:
sudo apt-get install git python3 python3-pip python3-tzlocal python3-sdnotify python3-colorama python3-unidecode python3-paho-mqtt
instead of:
sudo apt-get install git python3 python3-pip python3-tzlocal python3-sdnotify python3-colorama

Angelo

@ironsheep
Copy link
Owner

@angelo5619 well, that's good news. I'll update the README to ensure people do get this installed!

Thanks!

@ironsheep ironsheep added documentation Improvements or additions to documentation and removed Looking Into This bug Something isn't working labels Nov 30, 2020
ironsheep added a commit that referenced this issue Nov 30, 2020
@ironsheep
Copy link
Owner

README updated. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants