NightRang3r / Broadlink-e-control-db-dump

These two scripts will "parse" the broadlink e-Control Android application database or SharedData and dump the IR / RF codes for selected accessories into a text file which can be later used with broadlink-python to send the codes to the RM PRO hub
149 stars 52 forks source link

IOError: [Errno 2] No such file or directory: 'jsonSubIr' #10

Closed jeylites closed 6 years ago

jeylites commented 6 years ago

Any idea what the error code is? I have all three files in the same folder with the script....

User:~ User$ python --version Python 2.7.10 User:~ User$

Last login: Wed Sep 6 01:39:46 on console User:~ User$ python /Users/User/Desktop/untitled\ folder/getBroadlinkSharedData.py Traceback (most recent call last): File "/Users/Desktop/untitled folder/getBroadlinkSharedData.py", line 27, in jsonSubIr = open("jsonSubIr").read() IOError: [Errno 2] No such file or directory: 'jsonSubIr' User:~ User$

NightRang3r commented 6 years ago

It can't access one of the files for some reason, not sure why, make sure files are complete and contain data, try to move the files and the script to another folder