-
Notifications
You must be signed in to change notification settings - Fork 111
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
ValueError: path is on mount 'S:', start on mount 'C:' #56
Comments
Did you set the |
I met it to.
The error says that something tried to calculate the relative path between two pathes on the different drives. And it is defenetly a problem inside because there is no the "S:" mount in my case; and I suppose in @kevtv 's case too |
As for "S:" drive appearance see https://bugs.python.org/issue44810 But the root problem is returning the url with quotes by |
I am getting |
See for the solution: #73 |
I am getting this error, Any idea why?
Log
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "C:\ProgramData\Anaconda3\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\pywebcopy\elements.py", line 331, in run
contents = self.replace_urls(req.content, self.repl)
File "C:\ProgramData\Anaconda3\lib\site-packages\pywebcopy\elements.py", line 292, in replace_urls
contents = CSS_URLS_RE.sub(repl, css_string)
File "C:\ProgramData\Anaconda3\lib\site-packages\pywebcopy\elements.py", line 273, in repl
url = pathname2url(relate(new_element.file_path, self.file_path))
File "C:\ProgramData\Anaconda3\lib\site-packages\pywebcopy\urls.py", line 438, in relate
return os.path.join(os.path.relpath(target_dir, start_dir), os.path.basename(target_file))
File "C:\ProgramData\Anaconda3\lib\ntpath.py", line 562, in relpath
path_drive, start_drive))
ValueError: path is on mount 'S:', start on mount 'C:'
The text was updated successfully, but these errors were encountered: