Hi, thanks for trying out Mayan EDMS. No changes needed for installation on Ubuntu 12.04, that's actually where I develop Mayan. The problem in this case seems to be MySQL-python requiring a more recent version of distribute (0.6.28) than that installed by default by virtualenv on Ubuntu (0.6.24). distribute is something I hope gets fixed soon, a lot of people seems to be having problems with it (http://stackoverflow.com/questions/1756721/what-is-causing-importerror-no-module-named-pkg-resources-after-upgrade-of-pyth, https://gist.github.com/3928953).
The solution is seems is to install the latest distribute package either with pip: pip install --upgrade distribute or by hand curl http://python-distribute.org/distribute_setup.py | python Try installing Mayan by hand for now, I will try to find a way to add a step to the install to upgrade distribute and test that it doesn't break anything. --Roberto On Monday, December 24, 2012 2:57:02 PM UTC-4, MGInstruct wrote: > > Roberto, > > Just found out about Maya-EDMS this week while studying for my CompTIA > CDIA+ Exam. I wanted to play around with Maya-EDMS. When installing > Maya-EDMS via Fabfile, I get errors. > > [localhost] out: Downloading MySQL-python-1.2.4c1.zip (113Kb): 113Kb > downloaded > [localhost] out: Running setup.py egg_info for package MySQL-python > [localhost] out: The required version of distribute (>=0.6.28) is not > available, > [localhost] out: and can't be installed while this script is running. > Please > [localhost] out: install a more recent version first, using > [localhost] out: 'easy_install -U distribute'. > [localhost] out: > [localhost] out: (Currently using distribute 0.6.24 > (/usr/share/mayan/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg)) > [localhost] out: Complete output from command python setup.py egg_info: > [localhost] out: The required version of distribute (>=0.6.28) is not > available, > > [localhost] out: and can't be installed while this script is running. > Please > > [localhost] out: install a more recent version first, using > > [localhost] out: 'easy_install -U distribute'. > > [localhost] out: (Currently using distribute 0.6.24 > (/usr/share/mayan/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg)) > > [localhost] out: ---------------------------------------- > [localhost] out: Command python setup.py egg_info failed with error code 2 > in /usr/share/mayan/build/MySQL-python > [localhost] out: Storing complete log in /home/user/.pip/pip.log > Fatal error: sudo() encountered an error (return code 1) while executing > 'source bin/activate; pip install MySQL-python' > Aborting. > > Is there something I needed to change when running the following to get > Mayan-EDMS running on Ubuntu server 12.04 LTS? (I've changed the > database_manager_admin_password when running the script). I saw previous > posts about some updates being made. > > cd /tmp && sudo apt-get install -y fabric wget tar gzip && wget > https://github.com/rosarior/mayan/raw/master/contrib/fabfile.tar.gz -O - | > tar -xvzf - && echo "database_manager_admin_password=<Your MySQL root > password>" > ~/.fabricrc && fab -H localhost install > > --
