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// synchronizing code and files between your desktop and Solo #291

Open
orhong opened this issue Feb 24, 2016 · 2 comments
Open

Comments

@orhong
Copy link

orhong commented Feb 24, 2016

[ http://dev.3dr.com/starting-installing.html]
I had to run: rsync -avz local/file/path/. [email protected]:/solo/path/.
but this occur error.....

pi@raspberrypi:~ $ rsync -avz local/file/path/. [email protected]:/solo/path/.
[email protected]'s password: TjSDBkAu
sending incremental file list
rsync: change_dir "/home/pi//local/file/path" failed: No such file or directory (2)
rsync: change_dir#3 "/solo/path" failed: No such file or directory (2)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(625) [Receiver=3.0.9]
rsync: connection unexpectedly closed (175 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Sender=3.1.1]

... what's the problem
???

@franknitty69
Copy link
Contributor

the problem is that 'local/file/path doesn't exist on your rasberry pi. nor does /solo/path exist on your solo.

the code isn't literal, it is just to show you how it is done. @hamishwillee i guess this should be made more clearer.

example
rasberry pi /orhong/mycode/mycode.py
solo /mycode

rsync -avz /orhong/mycode/. [email protected]:/mycode
this will copy mycode.py from /orhong/mycode to the solo at /mycode. if mycode doesen't exist it will be created.

also if you don't need advanced python bundling you should be using solo script pack and solo script run instead.

@hamishwillee
Copy link
Contributor

@orhong As @franknitty69 says, the local/file/path/ and /solo/path/ are a very common shorthand for "the file path for what you want to copy" and "the target location where you want to copy the file"

Would the following have been more clear for you (and you @franknitty69)?

rsync -avz source-file-path-on-local-computer [email protected]:/destination-file-path-on-solo

If you're working with python then the best tool to use is solo cli - see http://dev.3dr.com/starting-installing.html#installing-packages-using-the-solo-client

I think I'll reorganise the page to make that clear as python is probably the main use case.

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

3 participants