and:
ython main interpreter initialized at 0x9b6b20
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145536 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
added /usr/share/mayan-edms/lib/python2.7/site-packages/ to pythonpath.
Traceback (most recent call last):
File "/usr/share/mayan-edms/lib/python2.7/site-packages/mayan/wsgi.py",
line 16, in <module>
application = get_wsgi_application()
File
"/usr/share/mayan-edms/lib/python2.7/site-packages/django/core/wsgi.py",
line 13, in get_wsgi_application
django.setup(set_prefix=False)
File
"/usr/share/mayan-edms/lib/python2.7/site-packages/django/__init__.py",
line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File
"/usr/share/mayan-edms/lib/python2.7/site-packages/django/apps/registry.py",
line 85, in populate
app_config = AppConfig.create(entry)
File
"/usr/share/mayan-edms/lib/python2.7/site-packages/django/apps/config.py",
line 90, in create
module = import_module(entry)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named storages
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 2853)
spawned uWSGI worker 1 (pid: 2872, cores: 1)
On Saturday, September 9, 2017 at 12:31:47 PM UTC+2, Tony Nys wrote:
>
> Cannot connect to django storages with mayan to Azure blob storage backend:
>
> I'm breaking my head around this for 6 hours:
>
> 1. the connection to azure works fine, manually when testing with python
> Azure SDK1 classes
> 2. the connection is also ok with mayan working on Docker with azure
> storage
>
> however, in the ubuntu/advanced installation , I can't get it running, and
> i need it desperately for my Proof of Concept
>
>
>
> Traceback (most recent call last):
> File "/usr/share/mayan-edms/lib/python2.7/site-packages/mayan/wsgi.py",
> line 16, in <module>
> application = get_wsgi_application()
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/django/core/wsgi.py",
> line 13, in get_wsgi_application
> django.setup(set_prefix=False)
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/django/__init__.py",
> line 27, in setup
> apps.populate(settings.INSTALLED_APPS)
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/django/apps/registry.py",
> line 108, in populate
> app_config.import_models(all_models)
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/django/apps/config.py",
> line 199, in import_models
> self.models_module = import_module(models_module_name)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/mayan/apps/cabinets/models.py",
>
> line 13, in <module>
> from documents.models import Document
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/mayan/apps/documents/models.py",
>
> line 39, in <module>
> from .runtime import cache_storage_backend, storage_backend
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/mayan/apps/documents/runtime.py",
>
> line 5, in <module>
> storage_backend = import_string(setting_storage_backend.value)()
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/django/utils/module_loading.py",
>
> line 20, in import_string
> module = import_module(module_path)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named storages.backends.azure_storage
> unable to load app 0 (mountpoint='') (callable not found or import error)
> *** no app loaded. going in full dynamic mode ***
> *** uWSGI is running in multiple interpreter mode ***
>
>
> in /usr/share/mayan-edms/mayan/settings/local.py
> i have adde this:
>
> Traceback (most recent call last):
> File "/usr/share/mayan-edms/lib/python2.7/site-packages/mayan/wsgi.py",
> line 16, in <module>
> application = get_wsgi_application()
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/django/core/wsgi.py",
> line 13, in get_wsgi_application
> django.setup(set_prefix=False)
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/django/__init__.py",
> line 27, in setup
> apps.populate(settings.INSTALLED_APPS)
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/django/apps/registry.py",
> line 108, in populate
> app_config.import_models(all_models)
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/django/apps/config.py",
> line 199, in import_models
> self.models_module = import_module(models_module_name)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/mayan/apps/cabinets/models.py",
>
> line 13, in <module>
> from documents.models import Document
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/mayan/apps/documents/models.py",
>
> line 39, in <module>
> from .runtime import cache_storage_backend, storage_backend
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/mayan/apps/documents/runtime.py",
>
> line 5, in <module>
> storage_backend = import_string(setting_storage_backend.value)()
> File
> "/usr/share/mayan-edms/lib/python2.7/site-packages/django/utils/module_loading.py",
>
> line 20, in import_string
> module = import_module(module_path)
> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named storages.backends.azure_storage
> unable to load app 0 (mountpoint='') (callable not found or import error)
> *** no app loaded. going in full dynamic mode ***
> *** uWSGI is running in multiple interpreter mode ***
>
>
--
---
You received this message because you are subscribed to the Google Groups
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.