Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please help me #1

Open
DiOutdoor opened this issue Sep 18, 2020 · 6 comments
Open

please help me #1

DiOutdoor opened this issue Sep 18, 2020 · 6 comments

Comments

@DiOutdoor
Copy link

Screenshot_4

What I have to do

@roleoroleo
Copy link
Owner

Check if the clock of the cam is ok.

@roleoroleo
Copy link
Owner

curl not found is strange.
Check if you have the curl binary in the /tmp/sd/yi-hack/gdrive/ folder.
If it's not present check the "Step-by-step instruction for installing xiaomi_gdrive".

@denven
Copy link
Collaborator

denven commented Dec 3, 2020

/tmp/sd/yi-hack/bin # find / -name curl
/tmp/sd/yi-hack/gdrive/bin/curl
/tmp/sd/yi-hack/bin/curl

/tmp/sd/yi-hack/bin # ls -lh /tmp/sd/yi-hack/gdrive/bin/curl 
-rwx------    1 root     0         283.5K Nov 29 23:21 /tmp/sd/yi-hack/gdrive/bin/curl
/tmp/sd/yi-hack/bin # ls -lh /tmp/sd/yi-hack/bin/curl 
-rwx------    1 root     0         283.5K Nov 29 23:26 /tmp/sd/yi-hack/bin/curl

Maybe your issue is because the curl version in gdrive directory is not compitable with ash shell, as when I download the curl into my local machine, the curl in gdrive directory cannot run;

V0.3.8 contains curl tool, it's the same version with the one in the gdrive directory; I think it's already fixed.

@roleoroleo
Copy link
Owner

I don't remember curl tool in v0.3.8
curl binary in /tmp/sd/yi-hack/bin/ folder is installed by GDriveConf when you run the first configuration.
The binary is the same as the one in the /tmp/sd/yi-hack/gdrive/bin folder.

@denven
Copy link
Collaborator

denven commented Dec 4, 2020

I don't remember curl tool in v0.3.8
curl binary in /tmp/sd/yi-hack/bin/ folder is installed by GDriveConf when you run the first configuration.
The binary is the same as the one in the /tmp/sd/yi-hack/gdrive/bin folder.

You are right, from the GDrive.conf

gdrive_bin_dir="/tmp/sd/yi-hack/bin/"
....
cp ${gdrive_dir}bin/* ${gdrive_bin_dir}

@harmoant
Copy link

harmoant commented Mar 9, 2021

Hello. I have the same issue as @DiOutdoor:

/tmp/sd/yi-hack/gdrive/GDriveConf: line 213: /tmp/sd/yi-hack/bin/./curl: not found
grep: /tmp/sd/yi-hack/gdrive/conf/response: No such file or directory
grep: /tmp/sd/yi-hack/gdrive/conf/response: No such file or directory
Your code was expired or it is not correct. Please refresh a link in your browser and enter a new valid code:

Is the problem the version of the camera: Model year 2020, YI Home camera 3, 1080P, 9FUS, firmware 8.3.0*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants