hi, I find the solution in an other post :
git clone https://github.com/mayan-edms/mayan-edms.git cd mayan-edms git checkout development virtualenv venv source venv/bin/activate pip install -r requirements.txt ./manage.py initialsetup ./manage.py runserver - In the browser go to 127.0.0.1:8000 - Login - Change the language using the language selector int he top right of the screen To update your copy after new commits have been made do a: git pull The packaged version is very outdated, there is a repository to try to create an easier to maintain packaged version ( https://github.com/mayan-edms/mayan-edms-docker) but it is very experimental. Thx to rosario Le vendredi 26 décembre 2014 14:27:14 UTC+1, Laurent p a écrit : > > To test the development branch i ran theses command : > > - virtualenv mayan > > - pip install git+https://github.com/mayan-edms/mayan-edms.git@development > > - mayan-edms.py initialsetup > > > then i have this error : > > (mayan)[root@localhost bin]# mayan-edms.py initialsetup > > Traceback (most recent call last): > > File "/root/mayan/bin/mayan-edms.py", line 10, in <module> > > execute_from_command_line(sys.argv) > > File > "/root/mayan/lib/python2.7/site-packages/django/core/management/__init__.py", > line 399, in execute_from_command_line > > utility.execute() > > File > "/root/mayan/lib/python2.7/site-packages/django/core/management/__init__.py", > line 392, in execute > > self.fetch_command(subcommand).run_from_argv(self.argv) > > File > "/root/mayan/lib/python2.7/site-packages/django/core/management/base.py", > line 242, in run_from_argv > > self.execute(*args, **options.__dict__) > > File > "/root/mayan/lib/python2.7/site-packages/django/core/management/base.py", > line 280, in execute > > translation.activate('en-us') > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/translation/__init__.py", > > line 130, in activate > > return _trans.activate(language) > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py", > > line 188, in activate > > _active.value = translation(language) > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py", > > line 177, in translation > > default_translation = _fetch(settings.LANGUAGE_CODE) > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py", > > line 159, in _fetch > > app = import_module(appname) > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/importlib.py", line > 40, in import_module > > __import__(name) > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/tags/__init__.py", line > 7, in <module> > > from documents.models import Document > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/documents/__init__.py", > line 10, in <module> > > from dynamic_search.classes import SearchModel > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/dynamic_search/__init__.py", > > line 13, in <module> > > APIEndPoint('search', app_name='dynamic_search') > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/rest_api/classes.py", > line 27, in __init__ > > api_urls = load_backend('{}.urls.api_urls'.format(app_name or name)) > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/common/utils.py", line > 238, in load_backend > > return getattr(import_module(module_name), klass) > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/importlib.py", line > 40, in import_module > > __import__(name) > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/dynamic_search/urls.py", > line 3, in <module> > > from .api_views import (APIRecentSearchListView, APIRecentSearchView, > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/dynamic_search/api_views.py", > > line 8, in <module> > > from .classes import SearchModel > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/dynamic_search/classes.py", > > line 15, in <module> > > from .models import RecentSearch > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/dynamic_search/models.py", > > line 15, in <module> > > class RecentSearch(models.Model): > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/dynamic_search/models.py", > > line 19, in RecentSearch > > user = models.ForeignKey(User, verbose_name=_(u'User'), editable=True) > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/translation/__init__.py", > > line 76, in ugettext > > return _trans.ugettext(message) > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py", > > line 281, in ugettext > > return do_translate(message, 'ugettext') > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py", > > line 263, in do_translate > > _default = translation(settings.LANGUAGE_CODE) > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py", > > line 177, in translation > > default_translation = _fetch(settings.LANGUAGE_CODE) > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/translation/trans_real.py", > > line 159, in _fetch > > app = import_module(appname) > > File > "/root/mayan/lib/python2.7/site-packages/django/utils/importlib.py", line > 40, in import_module > > __import__(name) > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/sources/__init__.py", > line 6, in <module> > > from documents.models import Document > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/documents/models.py", > line 34, in <module> > > from .literals import LANGUAGE_CHOICES > > File > "/root/mayan/lib/python2.7/site-packages/mayan/apps/documents/literals.py", > line 1, in <module> > > import pycountry > > ImportError: No module named pycountry > > > thanks for your help and happy christmas ;-) > > > On Friday, December 26, 2014 1:59:14 PM UTC+1, Laurent p wrote: >> >> hello >> >> i'm not an expert with git and python but i successfully install mayan on >> linux (nice document). after some minutes i find a bug with the ocr and >> some pdf. >> I find on google group / GIT some guys are implement a solution for next >> version... the path is available on the development branch, but i don't >> know how to install the development version of mayan... >> >> can you help me please. >> >> thanks > > -- --- 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.
