Comments (3)
I had the same issue. TBH I don't understand the logic of the code looking for the ini file in the relative path A-OK_AM43_Blind_Drive/AOK-AM43.ini
if the python script is running inside the A-OK_AM43_Blind_Drive
directory. anyways, I just changed that line in the script to point to the absolute path. In your case should be ~/A-OK_AM43_Blind_Drive/AOK-AM43.ini
if that doesn't work run the following commands:
cd ~
pwd
cd ~ will take you to your home directory, pwd returns the full path, edit the python script and set inifilepath
to the output of pwd + /A-OK_AM43_Blind_Drive/AOK-AM43.ini
from a-ok-am43-blinds-drive.
Thank you lutierigb, sorry it has taken so long to reply but we took some time away for our anniversary.
I issued the CD~ and PWD commands which returned home/pi/
I made the suggested change for the call at line 34 to read (inifilepath = "home/pi/A-OK_AM43_Blind_Drive/AOK-AM43.ini") as you recommended.
When I run the script I get the message (ERROR: Cannot find ini file: home/pi/A-OK_AM43_Blind_Drive/AOK-AM43.ini! Correct the path in this script or put the ini file in the correct directory). Still very confused am I am sure this is just lack of experience.
from a-ok-am43-blinds-drive.
should probably be /home/pi/A-OK_AM43_Blind_Drive/AOK-AM43.ini instead of home/pi/A-OK_AM43_Blind_Drive/AOK-AM43.ini
from a-ok-am43-blinds-drive.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a-ok-am43-blinds-drive.