Answer the question
In order to leave comments, you need to log in
collectstatic error in Django 1.10 Windows 10, root is specified. Where to "dig"?
Django is based on python3.4 (32bit), but versions 3.5 give the same thing.
Error traceback:
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "C:\Users\user\Envs\fp\lib\site-packages\django\core\management\__init__.py", line 367, in execute_from_command_line
utility.execute()
File "C:\Users\user\Envs\fp\lib\site-packages\django\core\management\__init__.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\user\Envs\fp\lib\site-packages\django\core\management\base.py", line 305, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\user\Envs\fp\lib\site-packages\django\core\management\base.py", line 356, in execute
output = self.handle(*args, **options)
File "C:\Users\user\Envs\fp\lib\site-packages\django\contrib\staticfiles\management\commands\collectstatic.py", line 193, in handle
collected = self.collect()
File "C:\Users\user\Envs\fp\lib\site-packages\django\contrib\staticfiles\management\commands\collectstatic.py", line 124, in collect
handler(path, prefixed_path, storage)
File "C:\Users\user\Envs\fp\lib\site-packages\django\contrib\staticfiles\management\commands\collectstatic.py", line 347, in copy_file
self.storage.save(prefixed_path, source_file)
File "C:\Users\user\Envs\fp\lib\site-packages\django\core\files\storage.py", line 54, in save
return self._save(name, content)
File "C:\Users\user\Envs\fp\lib\site-packages\django\core\files\storage.py", line 357, in _save
locks.unlock(fd)
File "C:\Users\user\Envs\fp\lib\site-packages\django\core\files\locks.py", line 86, in unlock
ret = UnlockFileEx(hfile, 0, 0, 0xFFFF0000, byref(overlapped))
ctypes.ArgumentError: argument 5: <class 'TypeError'>: expected LP_OVERLAPPED instance instead of pointer to OVERLAPPED
Answer the question
In order to leave comments, you need to log in
https://msdn.microsoft.com/en-us/library/windows/d...
apparently some file is already locked OS
Fix for Windows standard
do not engage in nonsense to develop on Windows!! Linux in virtualbox and fight!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question