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

请问下同步静态文件报这个错误是什么原因? #49

Open
Alvin88 opened this issue Oct 16, 2020 · 0 comments
Open

请问下同步静态文件报这个错误是什么原因? #49

Alvin88 opened this issue Oct 16, 2020 · 0 comments

Comments

@Alvin88
Copy link

Alvin88 commented Oct 16, 2020

(base) [hongye@host172-235 hongye-wx-api]$ python manage.py collectstatic

You have requested to collect static files at the destination
location as specified in your settings.

This will overwrite existing files!
Are you sure you want to do this?

Type 'yes' to continue, or 'no' to cancel: yes
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/home/hongye/miniconda3/lib/python3.7/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/home/hongye/miniconda3/lib/python3.7/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/hongye/miniconda3/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/hongye/miniconda3/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/home/hongye/miniconda3/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
collected = self.collect()
File "/home/hongye/miniconda3/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
handler(path, prefixed_path, storage)
File "/home/hongye/miniconda3/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 352, in copy_file
self.storage.save(prefixed_path, source_file)
File "/home/hongye/miniconda3/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
return self._save(name, content)
File "/home/hongye/miniconda3/lib/python3.7/site-packages/qiniustorage/backends.py", line 124, in _save
self._put_file(name, content_str)
File "/home/hongye/miniconda3/lib/python3.7/site-packages/qiniustorage/backends.py", line 131, in _put_file
raise QiniuError(info)
qiniustorage.utils.QiniuError: _ResponseInfo__response:None, exception:('Connection aborted.', timeout('timed out')), status_code:-1, text_body:None, req_id:None, x_log:None, error:('Connection aborted.', timeout('timed out'))

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