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

Crashes After Completing Interactive Setup #10

Open
lots0logs opened this issue Feb 27, 2020 · 2 comments
Open

Crashes After Completing Interactive Setup #10

lots0logs opened this issue Feb 27, 2020 · 2 comments

Comments

@lots0logs
Copy link

lots0logs commented Feb 27, 2020

Any idea what the problem could be?

__________       .__
\______   \ _____|__| ____   ____
|       _//  ___/  |/    \_/ ___\
|    |   \\___ \|  |   |  \  \___
|____|_  /____  >__|___|  /\___  >
\/     \/        \/     \/

Copyright 2019 C. J. Williams (CHURCHILL COLLEGE)
This is free software with ABSOLUTELY NO WARRANTY

Don't have: ".", entering first_sync mode
Ignore: []
Crawling: "." ⠹2020/02/26 21:17:21 Failed to lsjson: error in ListJSON: directory not found
Traceback (most recent call last):
File "/usr/bin/rsinc", line 11, in <module>
load_entry_point('rsinc==2.13.dev0', 'console_scripts', 'rsinc')()
File "/usr/lib/python3.8/site-packages/rsinc/rsinc.py", line 236, in main
rmt = lsl(path_rmt, HASH_NAME)
File "/usr/lib/python3.8/site-packages/rsinc/rclone.py", line 95, in lsl
list_of_dicts = ujson.load(result.stdout)
ValueError: Expected object or value

Here's what's in the config file:

{
    "BASE_L":"\/home\/dustin\/google-drive",
    "BASE_R":"Google:",
    "CASE_INSENSATIVE":false,
    "DEFAULT_DIRS":[

    ],
    "FAST_SAVE":false,
    "HASH_NAME":"MD5",
    "LOG_FOLDER":"\/home\/dustin\/.rsinc\/logs\/",
    "MASTER":"\/home\/dustin\/.rsinc\/master.json",
    "TEMP_FILE":"\/home\/dustin\/.rsinc\/rsinc.tmp"
}

AFAICT it is creating a new directory both locally and on my google drive named . then it fails. 😕

@lots0logs
Copy link
Author

So I'm guessing the problem is that I'm trying to have an entire directory synced as the root of my google drive but rsinc wants to be provided the names of the directories inside the root to sync. Is that correct? Does that mean what I want to do is not supported?

@ConorWilliams
Copy link
Owner

ConorWilliams commented Feb 27, 2020

I think you are correct. Rsinc expects a directory inside each root to sync. In addition rsinc does not know how to expand . if you were to enter the empty string as the folder to sync it 'might' work as expected though.

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

2 participants