thank you for the suggestion. Unfortunately I can't get the document_analyzer app to install. My situation is the following:
* I'm starting with the docker container -- not the NG one (yet), but the mayanedms/mayanedms:latest one. The image is running as a swarm-based service * Docker file is attached. The only change from the installation instructions given in the gitlab README is to copy the document_analyzer code into the mayan/apps directory. I did this rather than a symlink only because I was uncertain if the symlink was my problem. * This local.py works fine: from __future__ import absolute_import, unicode_literals from .base import * SECRET_KEY = 'iluml=7+pdsklj@ild8e%o*16b2a1=+m!ks9^o%5u54b&=2gh%' EMAIL_HOST = 'smtp.gmail.com' EMAIL_PORT = 587 EMAIL_HOST_USER = 'rws@shore.support' EMAIL_HOST_PASSWORD = 'RWS.$oct10' EMAIL_USE_TLS = True # INSTALLED_APPS += ( # 'document_analyzer', # ) * By "works fine" I mean I can login as admin, see the document types (only 1), upload a zip file of JPEGs, ... * As soon as I remove the comments around INSTALLED_APPS, nothing works. If I cycle the service, it refuses to come up. If I change the local.py file while the app is running and execute "mayan-edms.py migrate, I get a stack trace (attached) which ends with the following: File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 237, in get_containing_app_config self.check_apps_ready() File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 124, in check_apps_ready raise AppRegistryNotReady("Apps aren't loaded yet.") django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. * I've verified that exiftool is installed and appears to run properly, though the only thing I actually did was "exiftool -ver". Any suggestions? On Fri, Mar 2, 2018 at 6:10 AM, Matthias Löblich <mloebl...@gmail.com> wrote: > You can also use https://gitlab.com/mayan-edms/document_analyzer, which > includes the exif functionality. > > br > Matthias > > Am Samstag, 24. Februar 2018 18:47:16 UTC+1 schrieb RW Shore: >> >> Does anyone have a transformer that maps the embedded JPEG metadata >> (date/time taken, size, ...) into Mayan-EDMS metadata? Is such a >> transformation possible? >> > -- > > --- > 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 mayan-edms+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- --- 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 mayan-edms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
root@50e82dc53b58:/var/lib/mayan/settings# mayan-edms.py migrate mayan.settings <134> [INFO] "<module>() Good local.py found. Using user settings." Traceback (most recent call last): File "/usr/local/bin/mayan-edms.py", line 10, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 341, in execute django.setup() File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 27, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 116, in create mod = import_module(mod_path) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/local/lib/python2.7/dist-packages/mayan/apps/document_analyzer/apps.py", line 8, in <module> from documents.models import Document, DocumentVersion File "/usr/local/lib/python2.7/dist-packages/mayan/apps/documents/models.py", line 17, in <module> from acls.models import AccessControlList File "/usr/local/lib/python2.7/dist-packages/mayan/apps/acls/models.py", line 5, in <module> from django.contrib.contenttypes.fields import GenericForeignKey File "/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/fields.py", line 5, in <module> from django.contrib.contenttypes.models import ContentType File "/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/models.py", line 138, in <module> class ContentType(models.Model): File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 105, in __new__ app_config = apps.get_containing_app_config(module) File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 237, in get_containing_app_config self.check_apps_ready() File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 124, in check_apps_ready raise AppRegistryNotReady("Apps aren't loaded yet.") django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
Dockerfile
Description: Binary data