Whatsapp install problem

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Ritmeester
Posts: 53
Joined: Thursday 06 March 2014 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Whatsapp install problem

Post by Ritmeester »

I have a problem with installing WhatsApp message system in Domoticz.

I have a test system with a clean install of Domoticz 3.4834. After install I did expand the filesystem and ran de OS updates with:

sudo apt-get update
sudo apt-get upgrade

After this I update Domoticz to latest beta version.

Then I start to install the WhatsApp tools according to the page on Instructables link in the Wiki page.
My WhatsApp registration went very well without errors and I get a password.

After installing and creating the config file I must start de CLI client to test a message.

And here is goes wrong and I don’t know what to do now:

Code: Select all

pi@raspberrypi:~/yowsup$ cd /home/pi/yowsup
pi@raspberrypi:~/yowsup$ yowsup-cli demos --yowsup --config config


Traceback (most recent call last):
  File "/usr/local/bin/yowsup-cli", line 4, in <module>
    __import__('pkg_resources').run_script('yowsup2==2.5.0', 'yowsup-cli')
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2876, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 449, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 745, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 645, in resolve
    requirements.extend(dist.requires(req.extras)[::-1])
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2401, in requires
    dm = self._dep_map
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2386, in _dep_map
    for extra, reqs in split_sections(self._get_metadata(name)):
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2841, in split_sections
    for line in yield_lines(s):
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2078, in yield_lines
    for ss in strs:
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2415, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1413, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1405, in get_metadata
    return self._get(self._fn(self.egg_info, name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1514, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/protobuf-3.0.0b3-py2.7.egg/EGG-INFO/requires.txt'

pi@raspberrypi:~/yowsup$
User avatar
sincze
Posts: 1302
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Whatsapp install problem

Post by sincze »

mmm interesting.
Should work indeed.
http://www.instructables.com/id/WhatsAp ... /?ALLSTEPS

I do see in your log:

Code: Select all

IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/protobuf-3.0.0b3-py2.7.egg/EGG-INFO/requires.txt'

But I guess you already tried this command with sudo??
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Rafik89
Posts: 2
Joined: Monday 01 January 2018 14:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Whatsapp install problem

Post by Rafik89 »

It should be like this:

Code: Select all

./yowsup-cli demos --yowsup --config config
MarcosFields
Posts: 1
Joined: Friday 18 September 2020 4:39
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Whatsapp install problem

Post by MarcosFields »

If you have problems installing whatsapp then try switching over to using gb whatsapp at techbigs. The app lets you text and call your loved ones for free.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest