FlyingDiver wrote:I need to see the Interactive Shell output. That's the only way to see error messages from the subprocess.
Starting shell for plugin BMW ConnectedDrive.indigoPlugin.
To access the plugin instance use the global named self.
Python 2.7.16 (default, Jun 5 2020, 22:59:21)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-
Connected to Indigo Server v7.5.0, api v2.4 (localhost:1176)
Started Plugin BMW Connected Drive v1.0.2
>>> Traceback (most recent call last):
File "./wrapper.py", line 100, in <module>
asyncio.run(main(sys.argv))
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "./wrapper.py", line 73, in main
vehicle = account.get_vehicle(request['vin'])
KeyError: 'vin'
Exception in thread Thread-2:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "plugin.py", line 159, in wrapper_read
data = json.loads(msg)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Apr 13, 2021 at 12:23:31 PM
Action Group BMW Remote Call - Honk Horn
BMW Connected Drive Error Error in plugin execution ExecuteAction:
Traceback (most recent call last):
File "plugin.py", line 335, in sendCommandAction
File "plugin.py", line 151, in wrapper_write
IOError: (32, 'Broken pipe')
Apr 13, 2021 at 12:24:19 PM
Ring Front Door motion detected
Apr 13, 2021 at 12:25:10 PM
BMW Connected Drive Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 138, in runConcurrentThread
File "plugin.py", line 151, in wrapper_write
IOError: [Errno 32] Broken pipe
BMW Connected Drive Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
>>> Traceback (most recent call last):
File "./wrapper.py", line 100, in <module>
asyncio.run(main(sys.argv))
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "./wrapper.py", line 73, in main
vehicle = account.get_vehicle(request['vin'])
KeyError: 'vin'
FlyingDiver wrote:This is the key data:
- Code: Select all
>>> Traceback (most recent call last):
File "./wrapper.py", line 100, in <module>
asyncio.run(main(sys.argv))
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "./wrapper.py", line 73, in main
vehicle = account.get_vehicle(request['vin'])
KeyError: 'vin'
ryanbuckner wrote:Pun intended?
Apr 14, 2021 at 9:39:35 AM
Error plugin "BMW ConnectedDrive 7.23.44 PM.indigoPlugin" is missing file: /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/BMW ConnectedDrive 7.23.44 PM.indigoPlugin/Contents/Info.plist
Starting shell for plugin BMW ConnectedDrive.indigoPlugin.
To access the plugin instance use the global named self.
Python 2.7.16 (default, Jun 5 2020, 22:59:21)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-
Connected to Indigo Server v7.5.0, api v2.4 (localhost:1176)
Started Plugin BMW Connected Drive v1.0.2
>>> File "./wrapper.py", line 18
async def main(args) -> None:
^
SyntaxError: invalid syntax
ryanbuckner wrote:Ok, it required an Indigo restart. Looks like Indigo creates a copy of a plugin if you delete it.
ryanbuckner wrote:Here's the output when reloading into shell:
- Code: Select all
Starting shell for plugin BMW ConnectedDrive.indigoPlugin.
To access the plugin instance use the global named self.
Python 2.7.16 (default, Jun 5 2020, 22:59:21)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-
Connected to Indigo Server v7.5.0, api v2.4 (localhost:1176)
Started Plugin BMW Connected Drive v1.0.2
>>> File "./wrapper.py", line 18
async def main(args) -> None:
^
SyntaxError: invalid syntax
Users browsing this forum: No registered users and 2 guests