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

Accents dans les noms de fichiers #122

Open
domguard opened this issue Sep 28, 2012 · 0 comments
Open

Accents dans les noms de fichiers #122

domguard opened this issue Sep 28, 2012 · 0 comments

Comments

@domguard
Copy link
Member

ça plante l'upload (image/document)

POST sur http://www.xxxxxxx.fr/cms/upload-image/

Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "django/contrib/auth/decorators.py", line 20, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "coop_cms/views.py", line 345, in upload_image
    image.file.save(src.name, src)
  File "django/db/models/fields/files.py", line 86, in save
    self.name = self.storage.save(name, content)
  File "django/core/files/storage.py", line 44, in save
    name = self.get_available_name(name)
  File "django/core/files/storage.py", line 70, in get_available_name
    while self.exists(name):
  File "django/core/files/storage.py", line 230, in exists
    return os.path.exists(self.path(name))
  File "python2.7/genericpath.py", line 18, in exists
    os.stat(path)

``
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