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

Unable to track a local directory #97

Open
sbmthakur opened this issue May 6, 2020 · 0 comments
Open

Unable to track a local directory #97

sbmthakur opened this issue May 6, 2020 · 0 comments

Comments

@sbmthakur
Copy link

sbmthakur commented May 6, 2020

I got the following error when I attempted to track a local directory. The folder is named vids and is present in my E drive, so the path is E:\vids. I ran this in a Linux shell (Ubuntu 18.04- WSL) on a Windows 10 machine.

Created a tracked directory
Traceback (most recent call last):
  File "C:\Users\Acer\AppData\Local\Programs\Python\Python37-32\Scripts\drive-script.py", line 11, in <module>
    load_entry_point('drive-cli', 'console_scripts', 'drive')()
  File "c:\users\acer\appdata\local\programs\python\python37-32\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\users\acer\appdata\local\programs\python\python37-32\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\users\acer\appdata\local\programs\python\python37-32\lib\site-packages\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\acer\appdata\local\programs\python\python37-32\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\acer\appdata\local\programs\python\python37-32\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "e:\drive-cli\drive_cli\actions.py", line 178, in create_remote
    utils.push_content(child_cwd, child_id)
  File "e:\drive-cli\drive_cli\utils.py", line 474, in push_content
    local_lis = list_local(cwd)
  File "e:\drive-cli\drive_cli\utils.py", line 441, in list_local
    local_lis = os.listdir(cwd)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:vids'

After this, I did a drive.exe view-files and could find an entry for vids:

vids | xxxxxxxxxxxxxxxxxxx | vnd.google-apps.folder | 2020-05-06T18:29:29.757

However, there is no such folder (or file) visible in the drive when I accessed it through a browser.

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

1 participant