Page 6 of 11

Re: Automatic OBD-II Indigo Plugin

PostPosted: Sun Nov 26, 2017 9:00 pm
by Dewster35
Late night... mistyped. That is the version of Python that I am using.

Did the terminal command and it did seem to do an install of some sort:

Ran this and got this result:

Code: Select all
Server:~ ddewey$ sudo -H pip install -U socketIO-client --ignore-installed six
Password:
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3081, in _call_aside
    f(*args, **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 658, in _build_master
    ws.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 959, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 846, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pip==1.5.6' distribution was not found and is required by the application


Again any help is greatly appreciated!

FlyingDiver wrote:
Dewster35 wrote:
Python 2.7.10 is the version of python I am installing.

which is perhaps why I was mixing up the two. Is there a straighforward way to go about installing? I've found this: https://packaging.python.org/tutorials/ ... -packages/
but it is still giving me the No module named pip error message.


DON'T INSTALL PYTHON. It's already on your system and if you install a non-Apple version you'll almost certainly break Indigo or some plugins.

Now, what exactly makes you think you need a different version of Python.

If pip is not installed, you can install it with this command:

Code: Select all
sudo easy_install pip

Re: Automatic OBD-II Indigo Plugin

PostPosted: Sun Nov 26, 2017 9:24 pm
by dgarozzo
You might want to try to install pip again, as recommended by FlyingDiver:

Code: Select all
sudo easy_install pip


I keep seeing people use pip2.7, so maybe you can also try that?


Dewster35 wrote:
Late night... mistyped. That is the version of Python that I am using.

Did the terminal command and it did seem to do an install of some sort:

Ran this and got this result:

Code: Select all
Server:~ ddewey$ sudo -H pip install -U socketIO-client --ignore-installed six
Password:
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3081, in _call_aside
    f(*args, **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 658, in _build_master
    ws.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 959, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 846, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pip==1.5.6' distribution was not found and is required by the application


Again any help is greatly appreciated!

FlyingDiver wrote:
Dewster35 wrote:
Python 2.7.10 is the version of python I am installing.

which is perhaps why I was mixing up the two. Is there a straighforward way to go about installing? I've found this: https://packaging.python.org/tutorials/ ... -packages/
but it is still giving me the No module named pip error message.


DON'T INSTALL PYTHON. It's already on your system and if you install a non-Apple version you'll almost certainly break Indigo or some plugins.

Now, what exactly makes you think you need a different version of Python.

If pip is not installed, you can install it with this command:

Code: Select all
sudo easy_install pip

Re: Automatic OBD-II Indigo Plugin

PostPosted: Sun Nov 26, 2017 9:27 pm
by dgarozzo
Hey all. I updated the plugin again on GitHub. Please download the latest version - 1.0.2. I noticed that I left in some conn.close() calls that will throw an exception because I don't use conn anymore. Plus, I added a polling of updating the states for when the location updates information isn't available yet. So, basically, instead of waiting for location information to show up through the socket connection, it'll make requests for vehicle information every minute. If the vehicle information changes, it'll save it. I also added code to have it call out to Google Maps to get location information based on the vehicle information. Previously, I only called Google Maps when the location update data came over the socket connection. Hopefully this gives you some better data while waiting for your location approval from Automatic.

Re: Automatic OBD-II Indigo Plugin

PostPosted: Mon Nov 27, 2017 7:34 pm
by Dewster35
Still no dice...

Code: Select all
Server:~ ddewey$ sudo easy_install pip
Password:
Searching for pip
Best match: pip 1.5.6
Adding pip 1.5.6 to easy-install.pth file
Installing pip script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing pip3.4 script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing pip3 script to /Library/Frameworks/Python.framework/Versions/2.7/bin

Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Processing dependencies for pip
Finished processing dependencies for pip
Server:~ ddewey$ sudo -H pip install -U socketIO-client --ignore-installed six
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3081, in _call_aside
    f(*args, **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 658, in _build_master
    ws.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 959, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 846, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pip==1.5.6' distribution was not found and is required by the application
Server:~ ddewey$


dgarozzo wrote:
You might want to try to install pip again, as recommended by FlyingDiver:

Code: Select all
sudo easy_install pip


I keep seeing people use pip2.7, so maybe you can also try that?

Re: Automatic OBD-II Indigo Plugin

PostPosted: Mon Nov 27, 2017 7:39 pm
by dgarozzo
Does this do anything:

sudo -H pip2.7 install -U socketIO-client --ignore-installed six

Dewster35 wrote:
Still no dice...

Code: Select all
Server:~ ddewey$ sudo easy_install pip
Password:
Searching for pip
Best match: pip 1.5.6
Adding pip 1.5.6 to easy-install.pth file
Installing pip script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing pip3.4 script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing pip3 script to /Library/Frameworks/Python.framework/Versions/2.7/bin

Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Processing dependencies for pip
Finished processing dependencies for pip
Server:~ ddewey$ sudo -H pip install -U socketIO-client --ignore-installed six
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3081, in _call_aside
    f(*args, **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 658, in _build_master
    ws.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 959, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 846, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pip==1.5.6' distribution was not found and is required by the application
Server:~ ddewey$


dgarozzo wrote:
You might want to try to install pip again, as recommended by FlyingDiver:

Code: Select all
sudo easy_install pip


I keep seeing people use pip2.7, so maybe you can also try that?

Re: Automatic OBD-II Indigo Plugin

PostPosted: Tue Nov 28, 2017 4:22 am
by Dewster35
Still saying pip is not found.

Code: Select all
Server:~ ddewey$ sudo -H pip2.7 install -U socketIO-client --ignore-installed six
Password:
Traceback (most recent call last):
  File "/usr/local/bin/pip2.7", line 7, in <module>
    from pip import main
ImportError: No module named pip
Server:~ ddewey$


dgarozzo wrote:
Does this do anything:

sudo -H pip2.7 install -U socketIO-client --ignore-installed six


Re: Automatic OBD-II Indigo Plugin

PostPosted: Tue Nov 28, 2017 8:28 am
by dgarozzo
Ok. I've updated the plugin to include all of the dependencies. Hopefully that will make it much easier for everybody to install. Please get the latest code from GitHub. v1.0.4.

Re: Automatic OBD-II Indigo Plugin

PostPosted: Tue Nov 28, 2017 4:03 pm
by mlooss
dgarozzo wrote:
Ok. I've updated the plugin to include all of the dependencies. Hopefully that will make it much easier for everybody to install. Please get the latest code from GitHub. v1.0.4.


I just installed this new version and now the plug-in is running and I was able to create an Indigo device for my car. :D Now, all I need is to get the approval for my app from Automatic.

Code: Select all
Nov 28, 2017, 5:55:56 PM
   Reloading plugin "Automatic OBD-II 1.0.4"
   Stopping plugin "Automatic OBD-II 1.0.4" (pid 5279)
   Stopped plugin "Automatic OBD-II 1.0.4"
   Starting plugin "Automatic OBD-II 1.0.4" (pid 63904)
   Started plugin "Automatic OBD-II 1.0.4"
   Automatic OBD-II                socketIO connect

Re: Automatic OBD-II Indigo Plugin

PostPosted: Tue Nov 28, 2017 4:06 pm
by mlooss
The instruction call for generating two Google API keys, the Google Maps Distance Matrix API and Google Maps Geolocation API. The keys that I got are different for each API, but your configuration asks only for one, which one do I use here?

Thanks

Re: Automatic OBD-II Indigo Plugin

PostPosted: Tue Nov 28, 2017 7:44 pm
by dgarozzo
When I registered for mine, both were the same. I’ll have to do some research to find out why.

Re: Automatic OBD-II Indigo Plugin

PostPosted: Wed Dec 06, 2017 10:14 am
by DVDDave
Has anyone gotten their approval from Automatic yet? It's been 12 days since I applied and I haven't heard anything since they said my request was received.

Re: Automatic OBD-II Indigo Plugin

PostPosted: Wed Dec 06, 2017 11:25 am
by Dewster35
Me neither. They probably got inundated with home automation apps and were like WTF?

Re: Automatic OBD-II Indigo Plugin

PostPosted: Wed Dec 06, 2017 11:55 am
by berkinet
DVDDave wrote:
Has anyone gotten their approval from Automatic yet? It's been 12 days since I applied and I haven't heard anything since they said my request was received.
I emailed tech support asking for an update and...
Automatic Tech Support wrote:
You would need to email developer@automatic.com for assistance. We respond to all general support tickets within 2 business days, but unfortunately that doesn't include dev support.
My emphasis added. BTW, I can't believe there are that many Indigo users with Automatic hardware, certainly not enough to slow down their entire development support department.

Re: Automatic OBD-II Indigo Plugin

PostPosted: Wed Dec 06, 2017 1:51 pm
by eme jota ce
DVDDave wrote:
Has anyone gotten their approval from Automatic yet? It's been 12 days since I applied and I haven't heard anything since they said my request was received.


Same situation. Submitted request to Automatic on 11/18. No response (beyond 11/18 confirmation email) after 18 days.

Re: Automatic OBD-II Indigo Plugin

PostPosted: Wed Dec 06, 2017 5:44 pm
by Dewster35
Look at their forums... they only have 1 or 2 people answering support questions. I don't think they are a very big organization. Not that I think that is what is actually slowing them down, but getting a larger than usual request may have given them pause.

berkinet wrote:
I can't believe there are that many Indigo users with Automatic hardware, certainly not enough to slow down their entire development support department.