You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jeff, I am following your instructions (hopefully to the letter). I did the git install and checked all dependancies. I am running in the venv py3cv3 (from pyimagesearch). When I try running imagenode with test1, I get an error that it cannot find the imagenode.yaml file. I tried just loading python, import OS, and print(os.path.expanduser("~")) it returns /home/pi and obviously does not find the yaml file there. I figured I could just tweak to fix it, but this usually solves one problem and causes several more.
This happens both in VSCode as well as from the terminal. receivetest.py is running in the background in the same environment with no errors.
2021-11-16 20:22:08,886 ~ Unanticipated error with no Exception handler. Traceback (most recent call last): File "imagenode.py", line 29, in main settings = Settings() # get settings for node cameras, ROIs, GPIO File "/home/pi/imagenode/imagenode/tools/imaging.py", line 1337, in __init__ with open(os.path.join(userdir, "imagenode.yaml")) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/imagenode.yaml' 2021-11-16 20:22:08,890 ~ Exiting imagenode.py
The text was updated successfully, but these errors were encountered:
Jeff, I am following your instructions (hopefully to the letter). I did the git install and checked all dependancies. I am running in the venv py3cv3 (from pyimagesearch). When I try running imagenode with test1, I get an error that it cannot find the imagenode.yaml file. I tried just loading python, import OS, and print(os.path.expanduser("~")) it returns /home/pi and obviously does not find the yaml file there. I figured I could just tweak to fix it, but this usually solves one problem and causes several more.
This happens both in VSCode as well as from the terminal. receivetest.py is running in the background in the same environment with no errors.
2021-11-16 20:22:08,886 ~ Unanticipated error with no Exception handler. Traceback (most recent call last): File "imagenode.py", line 29, in main settings = Settings() # get settings for node cameras, ROIs, GPIO File "/home/pi/imagenode/imagenode/tools/imaging.py", line 1337, in __init__ with open(os.path.join(userdir, "imagenode.yaml")) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/imagenode.yaml' 2021-11-16 20:22:08,890 ~ Exiting imagenode.py
The text was updated successfully, but these errors were encountered: