Eddi
2018-06-07 15:31:16 UTC
The first time I am in the "mayan-edms/bin" directory executing
mayan-edms.py migrate and the second time I am in "mayan-edms" and than I
have to specify the path to mayan-edms.py whitch is in the "bin" directory.
Just a matter from where I try to execute the mayan-edms.py. I also could
have "cd" into the bin directory and than ran ./mayan-edms.py instead of
bin/mayan-edms.py. Hope this makes sense, the result is the same.
I have installed ubuntu 14.4 with the latest updates and than followed the
instructions from the mayan-edms main site and installed the Mayan-EDMS
2.7.3. Whatever the default python and django versions are when installing
Mayan, thats what is used. Same applies to PYTHONPATH and the command that
starts Mayan. I have not changed anything from the default installation.
To restart Mayan, I just reboot.
PS: I would love to answer your questions more specific, bu I do not know,
how to get the specific version etc.
Eddi
mayan-edms.py migrate and the second time I am in "mayan-edms" and than I
have to specify the path to mayan-edms.py whitch is in the "bin" directory.
Just a matter from where I try to execute the mayan-edms.py. I also could
have "cd" into the bin directory and than ran ./mayan-edms.py instead of
bin/mayan-edms.py. Hope this makes sense, the result is the same.
I have installed ubuntu 14.4 with the latest updates and than followed the
instructions from the mayan-edms main site and installed the Mayan-EDMS
2.7.3. Whatever the default python and django versions are when installing
Mayan, thats what is used. Same applies to PYTHONPATH and the command that
starts Mayan. I have not changed anything from the default installation.
To restart Mayan, I just reboot.
PS: I would love to answer your questions more specific, bu I do not know,
how to get the specific version etc.
Eddi
what is the command which starts mayan succesfull (without
document_analyzer)
what is in your PYTHONPATH ?
which python version are you using ?
which mayan version are you using ?
which django version are you using ?
document_analyzer)
what is in your PYTHONPATH ?
which python version are you using ?
which mayan version are you using ?
which django version are you using ?
I removed the copy I previously created and created a link as you advised
drwxr-xr-x 5 www-data www-data 41 May 23 21:58 django_gpg/
lrwxrwxrwx 1 www-data www-data 46 Jun 7 13:07 document_analyzer ->
/root/git/document_analyzer/document_analyzer//
drwxr-xr-x 5 www-data www-data 27 May 23 21:58 document_comments/
total 31
drwxr-xr-x 5 www-data www-data 21 Jun 7 13:08 ./
drwxr-xr-x 6 www-data www-data 15 Jun 6 14:15 ../
-rw-r--r-- 1 www-data www-data 334 Jun 6 14:15 __init__.py
-rw-r--r-- 1 www-data www-data 597 Jun 7 13:08 __init__.pyc
-rw-r--r-- 1 www-data www-data 433 Jun 6 14:15 admin.py
-rw-r--r-- 1 www-data www-data 3691 Jun 6 14:15 apps.py
-rw-r--r-- 1 www-data www-data 3811 Jun 7 13:08 apps.pyc
drwxr-xr-x 2 www-data www-data 6 Jun 6 14:15 backends/
-rw-r--r-- 1 www-data www-data 967 Jun 6 14:15 classes.py
-rw-r--r-- 1 www-data www-data 217 Jun 6 14:15 handlers.py
-rw-r--r-- 1 www-data www-data 1730 Jun 6 14:15 links.py
-rw-r--r-- 1 www-data www-data 125 Jun 6 14:15 literals.py
-rw-r--r-- 1 www-data www-data 1181 Jun 6 14:15 managers.py
drwxr-xr-x 2 www-data www-data 6 Jun 6 14:15 migrations/
-rw-r--r-- 1 www-data www-data 2298 Jun 6 14:15 models.py
-rw-r--r-- 1 www-data www-data 935 Jun 6 14:15 permissions.py
-rw-r--r-- 1 www-data www-data 935 Jun 6 14:15 settings.py
-rw-r--r-- 1 www-data www-data 2598 Jun 6 14:15 tasks.py
drwxr-xr-x 2 www-data www-data 7 Jun 6 14:15 tests/
-rw-r--r-- 1 www-data www-data 1300 Jun 6 14:15 urls.py
-rw-r--r-- 1 www-data www-data 5601 Jun 6 14:15 views.py
When I comment out "document_analyzer" from settings/local.py, Mayan
starts working after restarting the services.
Hope this helps.
Eddi
You received this message because you are subscribed to a topic in the
Google Groups "Mayan EDMS" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/mayan-edms/dWfo8N_gg-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
For more options, visit https://groups.google.com/d/optout.
drwxr-xr-x 5 www-data www-data 41 May 23 21:58 django_gpg/
lrwxrwxrwx 1 www-data www-data 46 Jun 7 13:07 document_analyzer ->
/root/git/document_analyzer/document_analyzer//
drwxr-xr-x 5 www-data www-data 27 May 23 21:58 document_comments/
total 31
drwxr-xr-x 5 www-data www-data 21 Jun 7 13:08 ./
drwxr-xr-x 6 www-data www-data 15 Jun 6 14:15 ../
-rw-r--r-- 1 www-data www-data 334 Jun 6 14:15 __init__.py
-rw-r--r-- 1 www-data www-data 597 Jun 7 13:08 __init__.pyc
-rw-r--r-- 1 www-data www-data 433 Jun 6 14:15 admin.py
-rw-r--r-- 1 www-data www-data 3691 Jun 6 14:15 apps.py
-rw-r--r-- 1 www-data www-data 3811 Jun 7 13:08 apps.pyc
drwxr-xr-x 2 www-data www-data 6 Jun 6 14:15 backends/
-rw-r--r-- 1 www-data www-data 967 Jun 6 14:15 classes.py
-rw-r--r-- 1 www-data www-data 217 Jun 6 14:15 handlers.py
-rw-r--r-- 1 www-data www-data 1730 Jun 6 14:15 links.py
-rw-r--r-- 1 www-data www-data 125 Jun 6 14:15 literals.py
-rw-r--r-- 1 www-data www-data 1181 Jun 6 14:15 managers.py
drwxr-xr-x 2 www-data www-data 6 Jun 6 14:15 migrations/
-rw-r--r-- 1 www-data www-data 2298 Jun 6 14:15 models.py
-rw-r--r-- 1 www-data www-data 935 Jun 6 14:15 permissions.py
-rw-r--r-- 1 www-data www-data 935 Jun 6 14:15 settings.py
-rw-r--r-- 1 www-data www-data 2598 Jun 6 14:15 tasks.py
drwxr-xr-x 2 www-data www-data 7 Jun 6 14:15 tests/
-rw-r--r-- 1 www-data www-data 1300 Jun 6 14:15 urls.py
-rw-r--r-- 1 www-data www-data 5601 Jun 6 14:15 views.py
When I comment out "document_analyzer" from settings/local.py, Mayan
starts working after restarting the services.
Hope this helps.
Eddi
Hi Eddi,
is there now a link or a copy of the apps folder ?
If you comment out the "document_analyzer" from settings, is it working ?
br
Matthias
---is there now a link or a copy of the apps folder ?
If you comment out the "document_analyzer" from settings, is it working ?
br
Matthias
Hi Matthias,
I followed you advice and created a link to the analyzer. Now when I
run mayan-edms.py migrate, it seems to find the document_analyzer app, but
it sill does not add it and breaks Mayan EDMS.
File "bin/mayan-edms.py", line 10, in <module>
execute_from_command_line(sys.argv)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 367, in execute_from_command_line
utility.execute()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 341, in execute
django.setup()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/__init__.py",
line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/apps/registry.py",
line 85, in populate
app_config = AppConfig.create(entry)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-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/share/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/document_analyzer/apps.py",
line 8, in <module>
from documents.models import Document, DocumentVersion
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/models.py",
line 17, in <module>
from acls.models import AccessControlList
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/acls/models.py",
line 5, in <module>
from django.contrib.contenttypes.fields import GenericForeignKey
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/contrib/contenttypes/fields.py",
line 5, in <module>
from django.contrib.contenttypes.models import ContentType
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/contrib/contenttypes/models.py",
line 138, in <module>
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/db/models/base.py",
line 105, in __new__
app_config = apps.get_containing_app_config(module)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/apps/registry.py",
line 237, in get_containing_app_config
self.check_apps_ready()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-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 hope this helps. Thank you for assisting!!!
Eddi
You received this message because you are subscribed to a topic in the
Google Groups "Mayan EDMS" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/mayan-edms/dWfo8N_gg-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
For more options, visit https://groups.google.com/d/optout.
--I followed you advice and created a link to the analyzer. Now when I
run mayan-edms.py migrate, it seems to find the document_analyzer app, but
it sill does not add it and breaks Mayan EDMS.
File "bin/mayan-edms.py", line 10, in <module>
execute_from_command_line(sys.argv)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 367, in execute_from_command_line
utility.execute()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 341, in execute
django.setup()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/__init__.py",
line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/apps/registry.py",
line 85, in populate
app_config = AppConfig.create(entry)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-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/share/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/document_analyzer/apps.py",
line 8, in <module>
from documents.models import Document, DocumentVersion
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/documents/models.py",
line 17, in <module>
from acls.models import AccessControlList
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/acls/models.py",
line 5, in <module>
from django.contrib.contenttypes.fields import GenericForeignKey
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/contrib/contenttypes/fields.py",
line 5, in <module>
from django.contrib.contenttypes.models import ContentType
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/contrib/contenttypes/models.py",
line 138, in <module>
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/db/models/base.py",
line 105, in __new__
app_config = apps.get_containing_app_config(module)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/apps/registry.py",
line 237, in get_containing_app_config
self.check_apps_ready()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-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 hope this helps. Thank you for assisting!!!
Eddi
Hi Eddi,
looks like the "django app-loader" can not find document_analyzer
module.
Have you created the link from the mayan/apps folder to the
document_analyzer folder ?
cd /yourmayanroot/apps
ln -s /yourgitroot/document_analyzer/document_analyzer/ .
br
Matthias
---looks like the "django app-loader" can not find document_analyzer
module.
Have you created the link from the mayan/apps folder to the
document_analyzer folder ?
cd /yourmayanroot/apps
ln -s /yourgitroot/document_analyzer/document_analyzer/ .
br
Matthias
Hi,
I am running Mayan EDMS 2.7.3 on Ubuntu 14. I also tried to install
document_analyzer. I pulled the doc_analyzer from
https://gitlab.com/startmat/document_analyzer.
When enter the info in local.py as stated under the install section,
Mayan EDMS does not work after a reboot or restart of the services.
INSTALLED_APPS += (
'document_analyzer',
)
File "./mayan-edms.py", line 10, in <module>
execute_from_command_line(sys.argv)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 367, in execute_from_command_line
utility.execute()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 341, in execute
django.setup()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/__init__.py",
line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/apps/registry.py",
line 85, in populate
app_config = AppConfig.create(entry)
File
"/usr/share/mayan-edms/local/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 document_analyzer
I also have installed the exiftool software installed and its
functioning properly.
How can I fix this issue to have document_analyzer running?
Thanks.
Eddi
--I am running Mayan EDMS 2.7.3 on Ubuntu 14. I also tried to install
document_analyzer. I pulled the doc_analyzer from
https://gitlab.com/startmat/document_analyzer.
When enter the info in local.py as stated under the install section,
Mayan EDMS does not work after a reboot or restart of the services.
INSTALLED_APPS += (
'document_analyzer',
)
File "./mayan-edms.py", line 10, in <module>
execute_from_command_line(sys.argv)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 367, in execute_from_command_line
utility.execute()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 341, in execute
django.setup()
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/__init__.py",
line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File
"/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/apps/registry.py",
line 85, in populate
app_config = AppConfig.create(entry)
File
"/usr/share/mayan-edms/local/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 document_analyzer
I also have installed the exiftool software installed and its
functioning properly.
How can I fix this issue to have document_analyzer running?
Thanks.
Eddi
You received this message because you are subscribed to a topic in the
Google Groups "Mayan EDMS" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/mayan-edms/dWfo8N_gg-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the
Google Groups "Mayan EDMS" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/mayan-edms/dWfo8N_gg-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
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+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.