Ok… I suppose I need some kind of password. So I tried to do what I did before without problems and now it doesnt work
dvc remote modify --local mountedremote user me
ERROR: configuration error - config file error: extra keys not allowed @ data['remote']['mountedremote']['user']
dvc remote modify mountedremote auth basic
ERROR: configuration error - config file error: extra keys not allowed @ data['remote']['mountedremote']['auth']
What are these “extra keys”?
I am planning to incorporate DVC in my work and introduce it to my company but frankly if it is going to be this complicated I am rethinking the idea…
Is the remote mounted as read-only? Could you please provide a verbose output (add -v to the push command, please)?
Since it is a local filesystem, you don’t need to set user or password. They are only useful for remote filesystems where you access them via ssh/http/webdav, or and other methods.
If you have mounted the NAS as read-only, please mount it with read/write permissions so that dvc can push files to it.
There is the possibility (I didnt check before umounting it) that it was RO.
But is the lack of permissions of a remote originate that now none of the dvc commands work? Not even dvc status? That is very odd…
Anyway I remounted with RW permissions but of course nothing in dvc works.
For example
dvc remote add -d myremote /home/me/RemoteAccess/DataDVCTry/
Setting 'myremote' as a default remote.
ERROR: configuration error - config file error: expected 'url' for dictionary value @ data['remote']['myremote1']
(example1-ui6lFrCK-py3.9) me@me-Zephyrus-Ubuntu:~/MyStudy/2024/example1(SetupRemote)$ dvc push
ERROR: configuration error - config file error: expected 'url' for dictionary value @ data['remote']['myremote1']
Is there some way to recover the use of DVC in the repo. Thankfully this is a toy repo but if I have to erase everything and clone the repo again then the solution is not workable
dvc config remote.myremote --unset
ERROR: configuration error - config file error: expected 'url' for dictionary value @ data['remote']['myremote1']
What does ERROR: configuration error - config file error: expected ‘url’ for dictionary value @ data[‘remote’][‘myremote1’] mean and why it appear? and why it refuses to go?
I even now deleted the file and start with setting the remote again, still that error appear