Open rcooke opened 7 years ago
Update:
I realized a bunch of the errors above were from trying to compile Pillow. So I downloaded Pillow source package and used the dependance installer script for Ubuntu 14 to get all the pre-goodies. Then re-ran each part of the one-liner, skipping things that were already done. This got me to the Yaml setup file for bootstrap. Which gets the same error I am getting trying to install this on Python Anywhere:
(leonardo_venv)rcooke@ubuntu14:~/leonardo_venv/myproject$ python manage.py bootstrap_site --url=http://github.com/django-leonardo/django-leonardo/raw/master/contrib/bootstrap/demo.yaml
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:74: UserWarning: leonardo_site.local.settings is obsolete use new location
'leonardo_site.local.settings is obsolete use new location')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:91: UserWarning: local_settings was not found in $PYTHONPATH !
'local_settings was not found in $PYTHONPATH !')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:269: UserWarning: Missing local_settings !
'Missing local_settings !')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:287: UserWarning: DEBUG is set to True but, DEBUG tools is not installed please run "pip install django-leonardo[debug]"
warnings.warn('DEBUG is set to True but, DEBUG tools '
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/dbtemplates/utils/template.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
[01/Aug/2017 17:23:10] WARNING [py.warnings:9] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/dbtemplates/utils/template.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/feincms/models.py:625: RuntimeWarning: Cannot create content type using leonardo.module.web.widget.application.models.ApplicationWidget for leonardo.module.web.models.page.Page, because applicationwidget_set is already taken.
RuntimeWarning)
[01/Aug/2017 17:23:10] WARNING [py.warnings:625] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/feincms/models.py:625: RuntimeWarning: Cannot create content type using leonardo.module.web.widget.application.models.ApplicationWidget for leonardo.module.web.models.page.Page, because applicationwidget_set is already taken.
RuntimeWarning)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/contrib/admin/util.py:7: RemovedInDjango19Warning: The django.contrib.admin.util module has been renamed. Use django.contrib.admin.utils instead.
"Use django.contrib.admin.utils instead.", RemovedInDjango19Warning)
[01/Aug/2017 17:23:10] WARNING [py.warnings:7] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/contrib/admin/util.py:7: RemovedInDjango19Warning: The django.contrib.admin.util module has been renamed. Use django.contrib.admin.utils instead.
"Use django.contrib.admin.utils instead.", RemovedInDjango19Warning)
System check identified some issues:
WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DEBUG.
Syncing widget themes...
Successfully created 7 new widget themes
Successfully synced 145 widget themes
Syncing widget themes complete.
Syncing page themes...
Successfully created 1 page themes
Page themes synced 1
Page Skins synced 2
Syncing page themes complete.
Syncing common templates...
Successfully synced common templates (404.html, 403.html, 500.html, crossdomain.txt, robots.txt)
Syncing common templates complete.
Compressing static files...
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_filters.py:20: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
uni_formset_template = memoize(uni_formset_template, {}, 1)
[01/Aug/2017 17:23:22] WARNING [py.warnings:30] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_filters.py:20: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
uni_formset_template = memoize(uni_formset_template, {}, 1)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_filters.py:25: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
uni_form_template = memoize(uni_form_template, {}, 1)
[01/Aug/2017 17:23:22] WARNING [py.warnings:30] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_filters.py:25: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
uni_form_template = memoize(uni_form_template, {}, 1)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_tags.py:197: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
whole_uni_formset_template = memoize(whole_uni_formset_template, {}, 1)
[01/Aug/2017 17:23:22] WARNING [py.warnings:30] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_tags.py:197: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
whole_uni_formset_template = memoize(whole_uni_formset_template, {}, 1)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_tags.py:202: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
whole_uni_form_template = memoize(whole_uni_form_template, {}, 1)
[01/Aug/2017 17:23:22] WARNING [py.warnings:30] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_tags.py:202: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
whole_uni_form_template = memoize(whole_uni_form_template, {}, 1)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/templatetags/future.py:25: RemovedInDjango19Warning: Loading the `url` tag from the `future` library is deprecated and will be removed in Django 1.9. Use the default `url` tag instead.
RemovedInDjango19Warning)
[01/Aug/2017 17:23:22] WARNING [py.warnings:25] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/templatetags/future.py:25: RemovedInDjango19Warning: Loading the `url` tag from the `future` library is deprecated and will be removed in Django 1.9. Use the default `url` tag instead.
RemovedInDjango19Warning)
[01/Aug/2017 17:23:25] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:23:25] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:23:25] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:23:25] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:23:25] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:23:25] ERROR [scss.ast:222] Function not found: font-path:1
Compressing... [01/Aug/2017 17:24:31] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:31] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:31] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:31] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:31] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:31] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:36] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:36] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:36] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:36] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:36] ERROR [scss.ast:222] Function not found: font-path:1
[01/Aug/2017 17:24:36] ERROR [scss.ast:222] Function not found: font-path:1
done
Compressed 7 block(s) from 5 template(s) for 3 context(s).
Compressing static files complete.
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/urllib3/util/ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
SNIMissingWarning
[01/Aug/2017 17:24:40] WARNING [py.warnings:339] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/urllib3/util/ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
SNIMissingWarning
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
[01/Aug/2017 17:24:40] WARNING [py.warnings:137] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
[01/Aug/2017 17:24:40] WARNING [py.warnings:137] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
output = self.handle(*args, **options)
File "/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/leonardo_sitestarter/management/commands/bootstrap_site.py", line 38, in handle
force=force)
File "/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/leonardo_sitestarter/scaffold_web.py", line 192, in create_new_site
_handle_regions(regions, page)
File "/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/leonardo_sitestarter/scaffold_web.py", line 91, in _handle_regions
name=w_attrs['base_theme'])
KeyError: 'base_theme'
Just to be safe, I ran the dev server to see what I would get. The page loads, it looks blank but actually has lots of code and structure in there (see attached). The server start messages were:
(leonardo_venv)rcooke@ubuntu14:~/leonardo_venv/myproject$ ./manage.py runserver 0.0.0.0:8080
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:74: UserWarning: leonardo_site.local.settings is obsolete use new location
'leonardo_site.local.settings is obsolete use new location')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:91: UserWarning: local_settings was not found in $PYTHONPATH !
'local_settings was not found in $PYTHONPATH !')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:269: UserWarning: Missing local_settings !
'Missing local_settings !')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:287: UserWarning: DEBUG is set to True but, DEBUG tools is not installed please run "pip install django-leonardo[debug]"
warnings.warn('DEBUG is set to True but, DEBUG tools '
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/dbtemplates/utils/template.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
[01/Aug/2017 18:00:27] WARNING [py.warnings:9] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/dbtemplates/utils/template.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/feincms/models.py:625: RuntimeWarning: Cannot create content type using leonardo.module.web.widget.application.models.ApplicationWidget for leonardo.module.web.models.page.Page, because applicationwidget_set is already taken.
RuntimeWarning)
[01/Aug/2017 18:00:27] WARNING [py.warnings:625] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/feincms/models.py:625: RuntimeWarning: Cannot create content type using leonardo.module.web.widget.application.models.ApplicationWidget for leonardo.module.web.models.page.Page, because applicationwidget_set is already taken.
RuntimeWarning)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/contrib/admin/util.py:7: RemovedInDjango19Warning: The django.contrib.admin.util module has been renamed. Use django.contrib.admin.utils instead.
"Use django.contrib.admin.utils instead.", RemovedInDjango19Warning)
[01/Aug/2017 18:00:28] WARNING [py.warnings:7] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/contrib/admin/util.py:7: RemovedInDjango19Warning: The django.contrib.admin.util module has been renamed. Use django.contrib.admin.utils instead.
"Use django.contrib.admin.utils instead.", RemovedInDjango19Warning)
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:74: UserWarning: leonardo_site.local.settings is obsolete use new location
'leonardo_site.local.settings is obsolete use new location')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:91: UserWarning: local_settings was not found in $PYTHONPATH !
'local_settings was not found in $PYTHONPATH !')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:269: UserWarning: Missing local_settings !
'Missing local_settings !')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:287: UserWarning: DEBUG is set to True but, DEBUG tools is not installed please run "pip install django-leonardo[debug]"
warnings.warn('DEBUG is set to True but, DEBUG tools '
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/dbtemplates/utils/template.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
[01/Aug/2017 18:00:32] WARNING [py.warnings:9] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/dbtemplates/utils/template.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/feincms/models.py:625: RuntimeWarning: Cannot create content type using leonardo.module.web.widget.application.models.ApplicationWidget for leonardo.module.web.models.page.Page, because applicationwidget_set is already taken.
RuntimeWarning)
[01/Aug/2017 18:00:32] WARNING [py.warnings:625] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/feincms/models.py:625: RuntimeWarning: Cannot create content type using leonardo.module.web.widget.application.models.ApplicationWidget for leonardo.module.web.models.page.Page, because applicationwidget_set is already taken.
RuntimeWarning)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/contrib/admin/util.py:7: RemovedInDjango19Warning: The django.contrib.admin.util module has been renamed. Use django.contrib.admin.utils instead.
"Use django.contrib.admin.utils instead.", RemovedInDjango19Warning)
[01/Aug/2017 18:00:32] WARNING [py.warnings:7] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/contrib/admin/util.py:7: RemovedInDjango19Warning: The django.contrib.admin.util module has been renamed. Use django.contrib.admin.utils instead.
"Use django.contrib.admin.utils instead.", RemovedInDjango19Warning)
Performing system checks...
System check identified some issues:
WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DEBUG.
System check identified 1 issue (0 silenced).
August 01, 2017 - 18:00:33
Django version 1.8.18, using settings 'leonardo.settings'
Starting development server at http://0.0.0.0:8080/
Quit the server with CONTROL-C.
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/templatetags/future.py:25: RemovedInDjango19Warning: Loading the `url` tag from the `future` library is deprecated and will be removed in Django 1.9. Use the default `url` tag instead.
RemovedInDjango19Warning)
[01/Aug/2017 18:01:19] WARNING [py.warnings:25] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/templatetags/future.py:25: RemovedInDjango19Warning: Loading the `url` tag from the `future` library is deprecated and will be removed in Django 1.9. Use the default `url` tag instead.
RemovedInDjango19Warning)
[01/Aug/2017 18:01:19] "GET / HTTP/1.1" 200 14384
[01/Aug/2017 18:01:19] "GET /static/compressed/js/699edce23ae9.js HTTP/1.1" 200 1791
[01/Aug/2017 18:01:19] "GET /static/compressed/js/4bc1de7ab861.js HTTP/1.1" 200 569402
[01/Aug/2017 18:01:19] "GET /static/compressed/css/a416c19897c6.css HTTP/1.1" 200 349993
[01/Aug/2017 18:01:20] "GET /i18n/js/leonardo/ HTTP/1.1" 200 2372
[01/Aug/2017 18:01:20] "GET /static/compressed/js/188d53092582.js HTTP/1.1" 200 1024826
[01/Aug/2017 18:01:20] "GET /static/compressed/css/266fb5163fb5.css HTTP/1.1" 200 1175707
[01/Aug/2017 18:01:20] "GET /static/ckeditor/ckeditor/ckeditor.js HTTP/1.1" 200 535264
[01/Aug/2017 18:01:20] "GET /static/framework/widgets/toast/toast.html HTTP/1.1" 200 262
[01/Aug/2017 18:01:21] "GET /static/leonardo/img/icon.png HTTP/1.1" 200 8402
[01/Aug/2017 18:02:52] "GET / HTTP/1.1" 200 13898
[01/Aug/2017 18:02:52] "GET /static/leonardo/img/icon.png HTTP/1.1" 304 0
[01/Aug/2017 18:02:52] "GET /static/compressed/js/4bc1de7ab861.js HTTP/1.1" 304 0
[01/Aug/2017 18:02:52] "GET /static/compressed/js/188d53092582.js HTTP/1.1" 304 0
[01/Aug/2017 18:02:52] "GET /static/compressed/js/699edce23ae9.js HTTP/1.1" 304 0
[01/Aug/2017 18:02:52] "GET /static/compressed/css/a416c19897c6.css HTTP/1.1" 304 0
[01/Aug/2017 18:02:52] "GET /static/ckeditor/ckeditor/ckeditor.js HTTP/1.1" 304 0
[01/Aug/2017 18:02:52] "GET /static/compressed/css/a416c19897c6.css HTTP/1.1" 304 0
[01/Aug/2017 18:02:52] "GET /static/compressed/js/699edce23ae9.js HTTP/1.1" 304 0
[01/Aug/2017 18:02:53] "GET /static/compressed/js/4bc1de7ab861.js HTTP/1.1" 304 0
[01/Aug/2017 18:02:53] "GET /i18n/js/leonardo/ HTTP/1.1" 200 2372
[01/Aug/2017 18:02:53] "GET /static/compressed/css/266fb5163fb5.css HTTP/1.1" 304 0
[01/Aug/2017 18:02:53] "GET /static/compressed/css/266fb5163fb5.css HTTP/1.1" 304 0
[01/Aug/2017 18:02:53] "GET /static/compressed/js/188d53092582.js HTTP/1.1" 304 0
[01/Aug/2017 18:02:53] "GET /static/framework/widgets/toast/toast.html HTTP/1.1" 304 0
[01/Aug/2017 18:02:53] "GET /static/ckeditor/ckeditor/ckeditor.js HTTP/1.1" 304 0
[01/Aug/2017 18:02:53] "GET /static/framework/widgets/toast/toast.html HTTP/1.1" 304 0
[01/Aug/2017 18:03:35] "GET /static/leonardo/img/icon.png HTTP/1.1" 200 8402
[01/Aug/2017 18:03:35] "GET /favicon.ico HTTP/1.1" 301 0
[01/Aug/2017 18:03:35] "GET /static/img/favicon.ico HTTP/1.1" 200 894
Yes, now you are able to login with credentials and enable frontend edit, in the default state you see blank bootstrap page, you can navigate to /admin and login, after that you can go to http://localhost:8000?frontend_editing=1 which enable FE edit and you will see all tools, you can install bootswatch theme which has some color variations, theme which was on demo site is not public, because its not open source, but still you can easily implement themes which you want.
@rcooke for all features you needs packages which are here https://github.com/salt-formulas/salt-formula-leonardo/blob/master/leonardo/map.jinja#L4
O M G !
FFFFFFFF-----udge!
I did not think of trying /admin
!!!
Ok. So I can get the admin view. Now I need to read the tutorial....
I still get a lot or warnings when I start the dev server.
@michaelkuty I am installing the packages listed in the SALT formula in the VM. I see my first install got errors for missing Python.h. I'm going to try and re-run the installer. But if SCSS errors persist I assume I will have to wipe and start clean?
I notice you have specified a repo, but I just used the default sources.
@michaelkuty I'm poking around the FE edit menus. I don't see how to add a theme to the site.
I'll see if there is any documentation, but the documentation seems to be spread out over many sites!
@michaelkuty I tried to install bootswatch and then did a sync all command both get errors:
Install BOOTSWATCH: Note "django-leonardo 1.0.6.dev503 does not provide the extra 'bootswatch'"
(leonardo_venv)rcooke@ubuntu14:~/leonardo_venv/myproject$ pip install django-leonardo[bootswatch]
Requirement already satisfied: django-leonardo[bootswatch] in /home/rcooke/leonardo_venv/src/django-leonardo
django-leonardo 1.0.6.dev503 does not provide the extra 'bootswatch'
Requirement already satisfied: pbr<2.0,>=0.11 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: Django<1.9,>=1.7 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: FeinCMS==1.11.1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: django-extensions==1.5.9 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: django-floppyforms==1.5.1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: django-crispy-forms==1.4.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: django_compressor==2.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: Django-Select2==5.2.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: python-app-loader>=0.0.8 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: docutils==0.12 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: django-pyscss>=1.0.3 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: django-filer==1.0.6 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: django-markupfield>=1.3.4 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: django-haystack==2.5 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: sorl-thumbnail==12.3 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: easy-thumbnails==2.3 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: horizon-contrib>=2016.9.4 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: leonardo_horizon==2016.8.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: leonardo_dbtemplates>=1.0.0a0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: leonardo_constance>=1.0.0a10.dev1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: django-picklefield==0.3.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: leonardo-system>=0.0.8.post4 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: leonardo-admin>=2015.10.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: leonardo-sitestarter>=1.0.0a2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: leonardo-ckeditor>=1.0.0b2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: leonardo-epiceditor>=0.0.5 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: Whoosh==2.7.4 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-leonardo[bootswatch])
Requirement already satisfied: Pillow>=2.0.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from FeinCMS==1.11.1->django-leonardo[bootswatch])
Requirement already satisfied: feedparser>=5.0.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from FeinCMS==1.11.1->django-leonardo[bootswatch])
Requirement already satisfied: django-mptt>=0.7.1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from FeinCMS==1.11.1->django-leonardo[bootswatch])
Requirement already satisfied: pytz>=2014.10 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from FeinCMS==1.11.1->django-leonardo[bootswatch])
Requirement already satisfied: six>=1.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-extensions==1.5.9->django-leonardo[bootswatch])
Requirement already satisfied: rcssmin==1.0.6 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django_compressor==2.0->django-leonardo[bootswatch])
Requirement already satisfied: rjsmin==1.0.12 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django_compressor==2.0->django-leonardo[bootswatch])
Requirement already satisfied: django-appconf>=0.4 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django_compressor==2.0->django-leonardo[bootswatch])
Requirement already satisfied: pyScss>=1.3.4 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-pyscss>=1.0.3->django-leonardo[bootswatch])
Requirement already satisfied: pathlib in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-pyscss>=1.0.3->django-leonardo[bootswatch])
Requirement already satisfied: django-polymorphic<0.9,>=0.7 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-filer==1.0.6->django-leonardo[bootswatch])
Requirement already satisfied: Unidecode<0.05,>=0.04 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-filer==1.0.6->django-leonardo[bootswatch])
Requirement already satisfied: requests>=2.1.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from horizon-contrib>=2016.9.4->django-leonardo[bootswatch])
Requirement already satisfied: Babel>=1.3 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: Pint>=0.5 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: django-babel>=0.4.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: httplib2>=0.7.5 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: iso8601>=0.1.9 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: netaddr!=0.7.16,>=0.7.12 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: oslo.concurrency>=3.5.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: oslo.config>=3.7.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: oslo.i18n>=2.1.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: oslo.policy>=0.5.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: oslo.serialization>=1.10.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: oslo.utils>=3.5.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: PyYAML>=3.1.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic>=1.0.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Angular>=1.3.7 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Angular-Bootstrap>=0.11.0.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Angular-Gettext>=2.1.0.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Angular-lrdragndrop>=1.0.2.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Bootstrap-Datepicker>=1.3.1.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Bootstrap-SCSS>=3 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-bootswatch>=3.3.5.3 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-D32>=3.1.6.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Hogan>=2.0.0.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Font-Awesome>=4.3.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Jasmine>=2.1.2.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-jQuery>=1.7.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-JQuery-Migrate>=1.2.1.1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-JQuery.quicksearch>=2.0.3.1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-JQuery.TableSorter>=2.14.5.1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-jquery-ui>=1.10.1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-JSEncrypt>=2.0.0.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-mdi==1.1.70.1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Rickshaw>=1.5.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-roboto-fontface>=0.4.3.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-smart-table>=1.4.5.3 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-Spin>=1.2.5.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: XStatic-term.js>=0.0.4 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: pip>=7.1.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo-system>=0.0.8.post4->django-leonardo[bootswatch])
Requirement already satisfied: django-ckeditor==5.0.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from leonardo-ckeditor>=1.0.0b2->django-leonardo[bootswatch])
Requirement already satisfied: olefile in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from Pillow>=2.0.0->FeinCMS==1.11.1->django-leonardo[bootswatch])
Requirement already satisfied: enum34 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from pyScss>=1.3.4->django-pyscss>=1.0.3->django-leonardo[bootswatch])
Requirement already satisfied: setuptools in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from django-polymorphic<0.9,>=0.7->django-filer==1.0.6->django-leonardo[bootswatch])
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from requests>=2.1.0->horizon-contrib>=2016.9.4->django-leonardo[bootswatch])
Requirement already satisfied: idna<2.6,>=2.5 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from requests>=2.1.0->horizon-contrib>=2016.9.4->django-leonardo[bootswatch])
Requirement already satisfied: certifi>=2017.4.17 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from requests>=2.1.0->horizon-contrib>=2016.9.4->django-leonardo[bootswatch])
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from requests>=2.1.0->horizon-contrib>=2016.9.4->django-leonardo[bootswatch])
Requirement already satisfied: fasteners>=0.7 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from oslo.concurrency>=3.5.0->leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: stevedore>=1.20.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from oslo.config>=3.7.0->leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: rfc3986>=0.3.1 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from oslo.config>=3.7.0->leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: debtcollector>=1.2.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from oslo.config>=3.7.0->leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: msgpack-python>=0.4.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from oslo.serialization>=1.10.0->leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: netifaces>=0.10.4 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from oslo.utils>=3.5.0->leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: funcsigs>=0.4; python_version == "2.7" or python_version == "2.6" in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from oslo.utils>=3.5.0->leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: monotonic>=0.6 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from oslo.utils>=3.5.0->leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: pyparsing>=2.1.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from oslo.utils>=3.5.0->leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
Requirement already satisfied: wrapt>=1.7.0 in /home/rcooke/leonardo_venv/lib/python2.7/site-packages (from debtcollector>=1.2.0->oslo.config>=3.7.0->leonardo_horizon==2016.8.2->django-leonardo[bootswatch])
SYNC_ALL: Note: ERROR [scss.ast:222] Function not found: font-path:1
(leonardo_venv)rcooke@ubuntu14:~/leonardo_venv/myproject$ ./manage.py sync_all
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:74: UserWarning: leonardo_site.local.settings is obsolete use new location
'leonardo_site.local.settings is obsolete use new location')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:91: UserWarning: local_settings was not found in $PYTHONPATH !
'local_settings was not found in $PYTHONPATH !')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:269: UserWarning: Missing local_settings !
'Missing local_settings !')
/home/rcooke/leonardo_venv/src/django-leonardo/leonardo/settings.py:287: UserWarning: DEBUG is set to True but, DEBUG tools is not installed please run "pip install django-leonardo[debug]"
warnings.warn('DEBUG is set to True but, DEBUG tools '
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/dbtemplates/utils/template.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
[02/Aug/2017 21:31:05] WARNING [py.warnings:9] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/dbtemplates/utils/template.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/feincms/models.py:625: RuntimeWarning: Cannot create content type using leonardo.module.web.widget.application.models.ApplicationWidget for leonardo.module.web.models.page.Page, because applicationwidget_set is already taken.
RuntimeWarning)
[02/Aug/2017 21:31:05] WARNING [py.warnings:625] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/feincms/models.py:625: RuntimeWarning: Cannot create content type using leonardo.module.web.widget.application.models.ApplicationWidget for leonardo.module.web.models.page.Page, because applicationwidget_set is already taken.
RuntimeWarning)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/contrib/admin/util.py:7: RemovedInDjango19Warning: The django.contrib.admin.util module has been renamed. Use django.contrib.admin.utils instead.
"Use django.contrib.admin.utils instead.", RemovedInDjango19Warning)
[02/Aug/2017 21:31:05] WARNING [py.warnings:7] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/contrib/admin/util.py:7: RemovedInDjango19Warning: The django.contrib.admin.util module has been renamed. Use django.contrib.admin.utils instead.
"Use django.contrib.admin.utils instead.", RemovedInDjango19Warning)
System check identified some issues:
WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DEBUG.
Syncing widget themes...
Successfully synced 76 widget themes
Syncing widget themes complete.
Syncing page themes...
Page themes synced 1
Page Skins synced 2
Syncing page themes complete.
Syncing common templates...
Successfully synced common templates (404.html, 403.html, 500.html, crossdomain.txt, robots.txt)
Syncing common templates complete.
Compressing static files...
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_filters.py:20: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
uni_formset_template = memoize(uni_formset_template, {}, 1)
[02/Aug/2017 21:31:08] WARNING [py.warnings:30] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_filters.py:20: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
uni_formset_template = memoize(uni_formset_template, {}, 1)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_filters.py:25: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
uni_form_template = memoize(uni_form_template, {}, 1)
[02/Aug/2017 21:31:08] WARNING [py.warnings:30] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_filters.py:25: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
uni_form_template = memoize(uni_form_template, {}, 1)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_tags.py:197: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
whole_uni_formset_template = memoize(whole_uni_formset_template, {}, 1)
[02/Aug/2017 21:31:08] WARNING [py.warnings:30] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_tags.py:197: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
whole_uni_formset_template = memoize(whole_uni_formset_template, {}, 1)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_tags.py:202: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
whole_uni_form_template = memoize(whole_uni_form_template, {}, 1)
[02/Aug/2017 21:31:08] WARNING [py.warnings:30] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/crispy_forms/templatetags/crispy_forms_tags.py:202: RemovedInDjango19Warning: memoize wrapper is deprecated and will be removed in Django 1.9. Use django.utils.lru_cache instead.
whole_uni_form_template = memoize(whole_uni_form_template, {}, 1)
/home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/templatetags/future.py:25: RemovedInDjango19Warning: Loading the `url` tag from the `future` library is deprecated and will be removed in Django 1.9. Use the default `url` tag instead.
RemovedInDjango19Warning)
[02/Aug/2017 21:31:09] WARNING [py.warnings:25] /home/rcooke/leonardo_venv/local/lib/python2.7/site-packages/django/templatetags/future.py:25: RemovedInDjango19Warning: Loading the `url` tag from the `future` library is deprecated and will be removed in Django 1.9. Use the default `url` tag instead.
RemovedInDjango19Warning)
[02/Aug/2017 21:31:11] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:31:12] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:31:12] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:31:12] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:31:12] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:31:12] ERROR [scss.ast:222] Function not found: font-path:1
Compressing... [02/Aug/2017 21:32:26] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:26] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:26] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:26] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:26] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:26] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:40] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:40] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:40] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:40] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:40] ERROR [scss.ast:222] Function not found: font-path:1
[02/Aug/2017 21:32:40] ERROR [scss.ast:222] Function not found: font-path:1
done
Compressed 7 block(s) from 5 template(s) for 3 context(s).
Compressing static files complete.
To help others, this is the edited install file that built a "working" system (but see notes below):
#!/bin/bash
mkvirtualenv leonardo_venv
workon leonardo_venv
# Stop annoying insecure platform warnings!
pip install --upgrade urllib3[secure] pyOpenSSL ndg-httpsclient pyasn1 certifi cffi cryptography
sudo apt install python-pip python-virtualenv python-memcache python-psycopg2 python-imaging python-docutils python-simplejson python-tz python-dev gettext libpq-dev libffi-dev mercurial libjpeg-dev libssl-dev
pip install -e git+https://github.com/django-leonardo/django-leonardo@master#egg=django-leonardo
#pip install -e git+https://github.com/django-leonardo/django-leonardo#egg=django-leonardo
pip install -r $PWD/src/django-leonardo/requirements.txt
django-admin startproject --template=https://github.com/django-leonardo/site-template/archive/master.zip myproject
export PYTHONPATH=$PWD/myproject
cd myproject
python manage.py makemigrations --noinput
python manage.py migrate --noinput
python manage.py bootstrap_site --url=http://github.com/django-leonardo/django-leonardo/raw/master/contrib/bootstrap/demo.yaml
echo "from django.contrib.auth.models import User; User.objects.create_superuser('root', 'mail@leonardo.cz', 'admin')" | python manage.py shell
#python manage.py runserver 0.0.0.0:80
# Login via the /admin page:
# http://localhost:80/admin
# Then enable front end editing to see tools on home page:
# http://localhost:80?frontend_editing=1
Notes:
I setup Ubuntu 14 32-bit Server edition in VirtualBox. I installed git and virtualenv.
Then I ran the one-liner. Below is the output. Many warnings a few errors and it hangs on the last error.