Setting up local server fails
Trying to run ./utils/init
fails, possibly because the listed cmsplugin-alerts
version (in requirements.txt
) isn't available on pypi. Bootstrap installation fails, too.
Log:
/inkscape-web$ rm -rf data/
/inkscape-web$ rm -rf pythonenv/
/inkscape-web$ ./utils/init
Installing new PIP...
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /inkscape-web/pythonenv/bin/python3
Also creating executable in /inkscape-web/pythonenv/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
Updating PythonEnv...
Collecting distribute
Using cached https://files.pythonhosted.org/packages/5f/ad/1fde06877a8d7d5c9b60eff7de2d452f639916ae1d48f0b8f97bf97e570a/distribute-0.7.3.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-llub2fv6/distribute/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library
File "/tmp/pip-install-llub2fv6/distribute/setuptools/extension.py", line 5, in <module>
from setuptools.dist import _get_unpatched
File "/tmp/pip-install-llub2fv6/distribute/setuptools/dist.py", line 7, in <module>
from setuptools.command.install import install
File "/tmp/pip-install-llub2fv6/distribute/setuptools/command/__init__.py", line 8, in <module>
from setuptools.command import install_scripts
File "/tmp/pip-install-llub2fv6/distribute/setuptools/command/install_scripts.py", line 3, in <module>
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/tmp/pip-install-llub2fv6/distribute/pkg_resources.py", line 1518, in <module>
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-llub2fv6/distribute/
Collecting python-dateutil==2.7.3 (from -r ./requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl
Collecting whoosh==2.7.4 (from -r ./requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/ba/19/24d0f1f454a2c1eb689ca28d2f178db81e5024f42d82729a4ff6771155cf/Whoosh-2.7.4-py2.py3-none-any.whl
Collecting pygments==2.2.0 (from -r ./requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl
Collecting django==1.11.15 (from -r ./requirements.txt (line 6))
Using cached https://files.pythonhosted.org/packages/f8/1c/31112c778b7a56ce18e3fff5e8915719fbe1cd3476c1eef557dddacfac8b/Django-1.11.15-py2.py3-none-any.whl
Collecting django-ajax-selects==1.7.0 (from -r ./requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/86/b3/c39c905268b57783c65b17c065f576c239798457f768aaa7e62ffebfe330/django_ajax_selects-1.7.0-py3-none-any.whl
Collecting django-haystack==2.8.1 (from -r ./requirements.txt (line 8))
Collecting django-contrib-comments==1.8.0 (from -r ./requirements.txt (line 9))
Using cached https://files.pythonhosted.org/packages/8f/6c/490306f717e242f21485264ef7432b4f6fea42ce17998f6ff3fa0a2a2e2f/django_contrib_comments-1.8.0-py2.py3-none-any.whl
Collecting django-markdown-deux==1.0.5 (from -r ./requirements.txt (line 10))
Collecting django-boxed-alerts==1.3.4 (from -r ./requirements.txt (line 11))
Using cached https://files.pythonhosted.org/packages/6c/ee/ae60fe3dbc589d351e21345533e11fa1958d7084fcf2b0142d5e6b54d600/django-boxed-alerts-1.3.4.tar.gz
Collecting django-cms==3.5.2 (from -r ./requirements.txt (line 14))
Using cached https://files.pythonhosted.org/packages/65/1a/44e1ae565766ac9b13c3722688bb18ec19ffe7c3bb6f5d0dfdafc364d273/django_cms-3.5.2-py2.py3-none-any.whl
Collecting djangocms-file==2.0.2 (from -r ./requirements.txt (line 15))
Collecting djangocms-text-ckeditor==3.6.0 (from -r ./requirements.txt (line 16))
Using cached https://files.pythonhosted.org/packages/fc/b1/33bf4b201808d66c576295e4f31f7951f7d4513b8b16cd222460c6a021de/djangocms_text_ckeditor-3.6.0-py2.py3-none-any.whl
Collecting cmsplugin-search==0.8.0 (from -r ./requirements.txt (line 17))
Collecting cmsplugin-alerts==1.2.1 (from -r ./requirements.txt (line 18))
Could not find a version that satisfies the requirement cmsplugin-alerts==1.2.1 (from -r ./requirements.txt (line 18)) (from versions: 1.1, 1.2)
No matching distribution found for cmsplugin-alerts==1.2.1 (from -r ./requirements.txt (line 18))
Updating Django...
* migrate
Traceback (most recent call last):
File "/inkscape-web/utils/../inkscape/manage.py", line 32, in <module>
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'
* DONE
Retrieving translations...
Klone nach 'website' ...
remote: Enumerating objects: 3169, done.
remote: Counting objects: 100% (3169/3169), done.
remote: Compressing objects: 100% (359/359), done.
remote: Total 3169 (delta 1053), reused 3113 (delta 1031)
Empfange Objekte: 100% (3169/3169), 5.83 MiB | 702.00 KiB/s, Fertig.
Löse Unterschiede auf: 100% (1053/1053), Fertig.
Branch 'live' folgt nun Remote-Branch 'live' von 'origin'.
Zu neuem Branch 'live' gewechselt
Traceback (most recent call last):
File "./utils/fix-po-files", line 16, in <module>
from polib import pofile
ModuleNotFoundError: No module named 'polib'
Compiling all message files, please wait...
Updating inkscape-web log...
Retrieving inkscape-docs...
Target doesn't exist: data/media/doc, Creating...
./utils/deploy-docs: Zeile 40: cd: data/media/doc: Datei oder Verzeichnis nicht gefunden
Traceback (most recent call last):
File "/inkscape-web/utils/../inkscape/manage.py", line 32, in <module>
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'
Copied static files from pythonenv to local static
Traceback (most recent call last):
File "/inkscape-web/utils/../inkscape/manage.py", line 32, in <module>
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'
Edited by Maren Hachmann