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

No attribute 'WindowsAzureMissingResourceError' #102

Closed
yarnball opened this issue Dec 9, 2015 · 6 comments
Closed

No attribute 'WindowsAzureMissingResourceError' #102

yarnball opened this issue Dec 9, 2015 · 6 comments
Labels

Comments

@yarnball
Copy link

yarnball commented Dec 9, 2015

Hi,

I've not used django-storages with any provider. I keep getting the error 'module' object has no attribute 'WindowsAzureMissingResourceError'.

Here is the traceback http://dpaste.com/12F5D3S

Here is a snippet of my 'settings.py':

DEFAULT_FILE_STORAGE = 'storages.backends.azure_storage.AzureStorage'

AZURE_ACCOUNT_NAME = "account_name"

AZURE_ACCOUNT_KEY = "xxxxx"

AZURE_CONTAINER = "container_name"

MEDIA_ROOT = '/media/'

MEDIA_URL = 'stashdimages.core.windows.net/'

Models.py

testfile = models.FileField("Test File", blank=True, null= True)

@jschneier
Copy link
Owner

Hi and thanks for the report. This sounds like a version issue. Can you tell me what version of azure you have installed?

@zuck
Copy link
Contributor

zuck commented Mar 7, 2016

I think the problem is related with not installed dependencies.

Is azure Python module installed in your environment?

It seems django-storages doesn't automatically install it (as the dropbox module for DropBoxStorage class).

@aleccool213
Copy link
Contributor

If the azure pip package needs to be installed alongside why isnt this in the docs?

@ZuluPro
Copy link
Contributor

ZuluPro commented Oct 15, 2016

@aleccool213 As django-storage is free software, we'll be happy to receive a contribution from you about it.

@aleccool213
Copy link
Contributor

@ZuluPro Thought there might have been a different reason for this :) lol will do 👍

@sww314
Copy link
Contributor

sww314 commented Aug 23, 2018

Fixed in #565

@sww314 sww314 closed this as completed Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants