django-storages: SFTP problem

I get this error:

File "/home/vagrant/.virtualenvs/gazex/lib/python3.5/site-packages/paramiko/client.py", line 70, in __init__
    self._system_host_keys = HostKeys()
RecursionError: maximum recursion depth exceeded

which really doesn’t say much about the real problem. I know that there is a mkdir loop, but what causes it?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

I think the real trouble is here: https://github.com/jschneier/django-storages/blob/master/storages/backends/sftpstorage.py#L78

We catch all exception without raise critical errors. Let me sometime to make a better try/except block