OpenZWave / python-openzwave

Python wrapper for openzwave
Other
200 stars 141 forks source link

examples can't find openzwave/config #157

Open turboc1208 opened 5 years ago

turboc1208 commented 5 years ago

I'm trying out some of the examples but they cannot find ../openzwave/config . I did the install straight from the instructions and pyozw_check works fine. What directory should I be running the examples from and where under the embeded openzwave should this directory be pointing to. Is there a filename in this directory that I could use to run a find on?

Never mind found it. I tried getting to it with a relative path earlier but evidently it didn't like that. I specified the entire path from root and it's working.

kdschlosser commented 5 years ago

I submitted a PR #159 that evaluates the config path and the user path (if supplied) It expands the $, ~ and % variables if used and also changes the path to an absolute path (based off the cwd that is set in python).