Automatic OBD-II Indigo Plugin (discontinued)

Posted on
Sat Nov 25, 2017 8:09 am
dgarozzo offline
Posts: 132
Joined: Jan 08, 2009

Re: Automatic OBD-II Indigo Plugin

Also, I'm running Indigo 7.1.1.

Posted on
Sat Nov 25, 2017 9:14 am
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: Automatic OBD-II Indigo Plugin

I'm getting exactly those errors on the socket install via pip:
Code: Select all
   DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling six-1.4.1:
Exception:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 778, in install
    requirement.uninstall(auto_confirm=True)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 754, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
    renames(path, new_path)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py", line 267, in renames
    shutil.move(old, new)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
    copy2(src, real_dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
    copystat(src, dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
    os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/tmp/pip-rBcx7l-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'


This happens with or without sudo used on the pip install command.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sat Nov 25, 2017 9:24 am
dgarozzo offline
Posts: 132
Joined: Jan 08, 2009

Re: Automatic OBD-II Indigo Plugin

I think that’s normal. Does the plugin run?

Posted on
Sat Nov 25, 2017 9:47 am
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: Automatic OBD-II Indigo Plugin

Nope :(

Code: Select all
  Automatic OBD-II Error          Error in plugin execution InitializeMain:

Traceback (most recent call last):
  File "plugin.py", line 55, in <module>
ImportError: No module named socketIO_client

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sat Nov 25, 2017 10:01 am
dgarozzo offline
Posts: 132
Joined: Jan 08, 2009

Re: Automatic OBD-II Indigo Plugin

Can you please try rebooting your computer?

Posted on
Sat Nov 25, 2017 10:03 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

dgarozzo wrote:
Can you please try rebooting your computer?

Not sure who the request is directed at but I did that several times. No help.

Posted on
Sat Nov 25, 2017 11:44 am
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: Automatic OBD-II Indigo Plugin

If that restart request was aimed at me, I did so and there's no change to the startup error.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sat Nov 25, 2017 12:45 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

I notice that I do have a directory socketIO_client in my Python3.5 library. Is it possible that the plugin is set up to look in a different Python version?

Posted on
Sat Nov 25, 2017 1:36 pm
dgarozzo offline
Posts: 132
Joined: Jan 08, 2009

Re: Automatic OBD-II Indigo Plugin

Does Indigo run 3.5? I thought it only ran 2.7.

Posted on
Sat Nov 25, 2017 1:56 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

dgarozzo wrote:
Does Indigo run 3.5? I thought it only ran 2.7.

Not sure about that but I do have both 3.5 and 2.7 installed. I don't know how to properly install SocketIO_client into 2.7. Tried copying the directories from 3.5 and rebooting but that did not make any difference.

If you have any other suggestions, I would be happy to try them.

Thanks.

Posted on
Sat Nov 25, 2017 2:35 pm
dgarozzo offline
Posts: 132
Joined: Jan 08, 2009

Re: Automatic OBD-II Indigo Plugin

I think I have 3.5 and 2.7 installed, too, but in order for me to invoke 3.5 I have to call it explicitl; 2.7 runs by default.

Posted on
Sat Nov 25, 2017 2:40 pm
ottoppp offline
Posts: 12
Joined: Oct 21, 2013

Re: Automatic OBD-II Indigo Plugin

The six package installation is a known problem with pip on macOS and is due to System Integrity Protection. You can work around it using this command:

sudo -H pip install -U socketIO-client --ignore-installed six

Reference:

https://github.com/pypa/pip/issues/3165

Posted on
Sat Nov 25, 2017 2:51 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

ottoppp wrote:
The six package installation is a known problem with pip on macOS and is due to System Integrity Protection. You can work around it using this command:

sudo -H pip install -U socketIO-client --ignore-installed six

Reference:

https://github.com/pypa/pip/issues/3165

Success! By using this command with pip2.7 instead of pip, it started without an error. Thanks!

Posted on
Sat Nov 25, 2017 2:55 pm
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: Automatic OBD-II Indigo Plugin

Thanks Otto that got socket installed for me!

Now I'm waiting on the Automatic dev site to upgrade my access.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sat Nov 25, 2017 3:28 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

OK, I tried to move on with the temporary approval while waiting for my scope authorization. When I enter the URL, I get an error that "there was a problem getting my access token." When asked to log into my localhost redirect URL, I'm not sure what account I'm logging into. My Indigo web server, Automatic account or what? Could you elaborate please? Thanks.

--Dave

Who is online

Users browsing this forum: No registered users and 2 guests