You are not logged in.
Pages: 1
@Shalin, Thank you for fix the pigpio bug for arm32 version.
I had already run nanodlp on my ARM32 board, everything is fine now, except that I need to run the nanodlp from the same folder,
cd nanodlp
./nanodlp
everything is ok
But if you run it, for example
./nanodlp/nanodlp
The first nanodlp stand for the folder, the second nanodlp stands for the binary.
Failed!!! JSON files not found....
-----------------------------------------------------------------------------------------------------------------------------------
#./nanodlp/nanodlp &
2017/11/21 11:37:54.993614 {"Layer":"0","module":"JSON","level":"Error","msg":"Could Not Write to JSON File public/status.json open public/status.json: n}
2017/11/21 11:37:54.993761 {"Layer":"0","module":"Config","level":"Error","msg":"File db/machine.json issue. stat db/machine.json: no such file or direct}
2017/11/21 11:37:54.993828 {"Layer":"0","module":"Config","level":"Error","msg":"File db/profiles.json issue. stat db/profiles.json: no such file or dire}
2017/11/21 11:37:54.993885 {"Layer":"0","module":"Hardware","level":"Notice","msg":"Initializing build # 1695 -"}
2017/11/21 11:37:54.993943 {"Layer":"0","module":"Shutter","level":"Error","msg":"Pipe Access Problem open /dev/pigpio: no such file or directory"}
2017/11/21 11:37:54.995562 {"Layer":"0","module":"Terminal","level":"Notice","msg":"Terminal Reader Activated"}
2017/11/21 11:37:55.016013 {"Layer":"0","module":"WIFI","level":"Error","msg":"No WIFI dongle has been found."}
------------------------------------------------------------------------------------------------------------------------------
Why?
If you not runing binary from the same folder, the nanodlp can not find the json in db and public folder,
That it because @Shahin do not know where you store the nanodlp, use fixed directory in the source code instead.
How to solve this bug?
How about add config.json file, which include the directory of the nanodlp, and the nanodlp binary (your souce code) parse the config.json
to get the full directory,
Why I need to change it ?
Because cd into the naonodlp folder manually, then run it, it is quite a boring job, why not add into /etc/rc.local, automatic running the nanodlp?
I already get used to nanodlp, hope that this little bug can be fixed, Thank you @Shahin... You already created a great software..
And I look at the download page, find these notes:
ARM Users: (For boards other than Raspberry Pi - Without Desktop)
Download ARM 32bit .
Extract ZIP file.
The program is fully portable. You only need to run binary file. Make sure you are running binary from the same folder.
If you have issue running from file manager, from terminal go to the program's folder and run it from there.
Start using nanodlp by opening http://127.0.0.1:8080 link on your favorite.
Do you need help? Visit our forum.
Good warning, Please help to fix it...
Offline
Actually it is pretty easy to fix. Just need to set working directory to the binary folder. Will fix it shortly on beta version.
Offline
@Shahin, already fix on beta version?
Offline
Yes
Offline
Well done! Thank you!
Offline
Fixed on build 1753!
Offline
Pages: 1