New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem trying to setup demo site on Win7 #196

Closed
aiApple opened this Issue Dec 20, 2017 · 4 comments

Comments

Projects
None yet
2 participants
@aiApple

aiApple commented Dec 20, 2017

I installed django-leonardo using "pip install django-leonardo" and create a project using the master.zip file template, set up the enviroment "set PYTHONPATH=D://dev//myproject/".
Then I ran the command "python manage.py makemigrations --noinput", then many warnings are showed:

C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:74: UserWarning: le
onardo_site.local.settings is obsolete use new location
  'leonardo_site.local.settings is obsolete use new location')
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:91: UserWarning: lo
cal_settings was not found in $PYTHONPATH !
  'local_settings was not found in $PYTHONPATH !')
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_apps', 'leonardo_config', 'leonardo_css_files', 'le
onardo_js_files', 'leonardo_optgroup', 'leonardo_public', 'leonardo_urls_conf']
in <module 'leonardo_ckeditor' from 'C:\Users\John\Envs\leo\lib\site-packages\leo
nardo_ckeditor\__init__.pyc'> We recommend add these keys into LEONARDO_CONF_SPE
C
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_middlewares'] in <module 'leonardo_sitestarter' fro
m 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_sitestarter\__init__.pyc'> W
e recommend add these keys into LEONARDO_CONF_SPEC
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_ordering', 'leonardo_page_actions'] in <module 'leo
nardo_system' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_system\__in
it__.pyc'> We recommend add these keys into LEONARDO_CONF_SPEC
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\module\search\__init__.py:28: U
serWarning: Haystack search engine is disabled because: The HAYSTACK_CONNECTIONS
 setting is required.
  'Haystack search engine is disabled because: {}'.format(e))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\module\search\__init__.py:25: U
serWarning: Haystack search engine is disabled because: cannot import name signa
ls
  'Haystack search engine is disabled because: {}'.format(e))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_widgets'] in <module 'leonardo.module.devel' from '
C:\Users\John\Envs\leo\lib\site-packages\leonardo\module\devel\__init__.pyc'> We
recommend add these keys into LEONARDO_CONF_SPEC
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:129: UserWarning: We
found new keys([('leonardo_apps', ['leonardo_ckeditor', 'ckeditor', 'ckeditor_up
loader']), ('leonardo_config', {'CKEDITOR_CONFIGS': ({'default': {'filebrowserWi
ndowWidth': 940, 'width': 835, 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic
']], 'skin': 'moono', 'filebrowserWindowHeight': 725, 'allowedContent': True, 't
oolbar_Full': [['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo
', 'Redo'], ['Find', 'Replace', '-', 'SelectAll', '-', 'SpellChecker', 'Scayt'],
 ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'Ima
geButton', 'HiddenField'], ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript'
, 'Superscript', '-', 'RemoveFormat'], ['NumberedList', 'BulletedList', '-', 'Ou
tdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCe
nter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl'], ['Link', 'Unl
ink', 'Anchor'], ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'Specia
lChar', 'PageBreak', 'Iframe'], ['Styles', 'Format', 'Font', 'FontSize'], ['Text
Color', 'BGColor'], ['Maximize', 'ShowBlocks'], ['Source']], 'toolbar': 'Full',
'height': 350}}, 'ckeditor config'), 'CKEDITOR_UPLOAD_PATH': ('', 'CKEditor uplo
ad directory')}), ('leonardo_css_files', ['ckeditor/ckeditor/skins/moono/editor.
css']), ('leonardo_js_files', ['leonardo_ckeditor/js/ckeditor-modal-init.js']),
('leonardo_optgroup', 'CKEditor'), ('leonardo_public', True), ('leonardo_urls_co
nf', 'ckeditor_uploader.urls'), ('leonardo_middlewares', ['leonardo_sitestarter.
middleware.QuickStartMiddleware']), ('leonardo_ordering', 150), ('leonardo_page_
actions', ['system/module_actions.html']), ('leonardo_widgets', ['leonardo.modul
e.devel.models.ClientInfoWidget', 'leonardo.module.devel.models.VisualTestWidget
'])]) and start loading again...It's recommended add new keys into leonardo_CONF
IG_SPEC
  self.CONFIG_PREFIX))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_site' from 'D:\Dev\myleo\leonardo_site\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <class
 'app_loader.apps.Config'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <class
 'constance.apps.ConstanceConfig'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_admin' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_admin\
__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_ckeditor' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_cke
ditor\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_epiceditor' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_e
piceditor\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_sitestarter' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_
sitestarter\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.web' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo\m
odule\web\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.nav' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo\m
odule\nav\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.media' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo
\module\media\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.search' from 'C:\Users\John\Envs\leo\lib\site-packages\leonard
o\module\search\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.devel' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo
\module\devel\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.leonardo_auth' from 'C:\Users\John\Envs\leo\lib\site-packages\
leonardo\module\leonardo_auth\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_system' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_syste
m\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:249: UserWarning: M
issing local_settings !
  'Missing local_settings !')
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:279: UserWarning: D
EBUG is set to True but, DEBUG tools is not installed please run "pip install dj
ango-leonardo[debug]"
  warnings.warn('DEBUG is set to True but, DEBUG tools '
C:\Users\John\Envs\leo\lib\site-packages\constance\backends\database\models.py:14
: RemovedInDjango19Warning: Model class constance.backends.database.models.Const
ance doesn't declare an explicit app_label and either isn't in an application in
 INSTALLED_APPS or else was imported before its application was loaded. This wil
l no longer be supported in Django 1.9.
  class Constance(models.Model):

[20/Dec/2017 16:37:06] WARNING [py.warnings:116] C:\Users\John\Envs\leo\lib\site-
packages\constance\backends\database\models.py:14: RemovedInDjango19Warning: Mod
el class constance.backends.database.models.Constance doesn't declare an explici
t app_label and either isn't in an application in INSTALLED_APPS or else was imp
orted before its application was loaded. This will no longer be supported in Dja
ngo 1.9.
  class Constance(models.Model):

C:\Users\John\Envs\leo\lib\site-packages\horizon\tables\base.py:1071: RemovedInDj
ango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  attrs['base_columns'] = SortedDict(columns)

[20/Dec/2017 16:37:06] WARNING [py.warnings:136] C:\Users\John\Envs\leo\lib\site-
packages\horizon\tables\base.py:1071: RemovedInDjango19Warning: SortedDict is de
precated and will be removed in Django 1.9.
  attrs['base_columns'] = SortedDict(columns)

C:\Users\John\Envs\leo\lib\site-packages\horizon\tables\base.py:1104: RemovedInDj
ango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  attrs['_columns'] = SortedDict(columns)

[20/Dec/2017 16:37:06] WARNING [py.warnings:136] C:\Users\John\Envs\leo\lib\site-
packages\horizon\tables\base.py:1104: RemovedInDjango19Warning: SortedDict is de
precated and will be removed in Django 1.9.
  attrs['_columns'] = SortedDict(columns)

C:\Users\John\Envs\leo\lib\site-packages\horizon\tables\base.py:1113: RemovedInDj
ango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  for action in actions])

[20/Dec/2017 16:37:06] WARNING [py.warnings:136] C:\Users\John\Envs\leo\lib\site-
packages\horizon\tables\base.py:1113: RemovedInDjango19Warning: SortedDict is de
precated and will be removed in Django 1.9.
  for action in actions])

System check identified some issues:

WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 a
nd the TEMPLATES dictionary takes precedence. You must put the values of the fol
lowing settings into your default TEMPLATES dict: TEMPLATE_DEBUG.
No changes `detected``

After migrate the models and run server, I got the following:

C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:74: UserWarning: le
onardo_site.local.settings is obsolete use new location
  'leonardo_site.local.settings is obsolete use new location')
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:91: UserWarning: lo
cal_settings was not found in $PYTHONPATH !
  'local_settings was not found in $PYTHONPATH !')
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_apps', 'leonardo_config', 'leonardo_css_files', 'le
onardo_js_files', 'leonardo_optgroup', 'leonardo_public', 'leonardo_urls_conf']
in <module 'leonardo_ckeditor' from 'C:\Users\John\Envs\leo\lib\site-packages\leo
nardo_ckeditor\__init__.pyc'> We recommend add these keys into LEONARDO_CONF_SPE
C
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_middlewares'] in <module 'leonardo_sitestarter' fro
m 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_sitestarter\__init__.pyc'> W
e recommend add these keys into LEONARDO_CONF_SPEC
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_ordering', 'leonardo_page_actions'] in <module 'leo
nardo_system' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_system\__in
it__.pyc'> We recommend add these keys into LEONARDO_CONF_SPEC
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\module\search\__init__.py:28: U
serWarning: Haystack search engine is disabled because: The HAYSTACK_CONNECTIONS
 setting is required.
  'Haystack search engine is disabled because: {}'.format(e))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\module\search\__init__.py:25: U
serWarning: Haystack search engine is disabled because: cannot import name signa
ls
  'Haystack search engine is disabled because: {}'.format(e))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_widgets'] in <module 'leonardo.module.devel' from '
C:\Users\John\Envs\leo\lib\site-packages\leonardo\module\devel\__init__.pyc'> We
recommend add these keys into LEONARDO_CONF_SPEC
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:129: UserWarning: We
found new keys([('leonardo_apps', ['leonardo_ckeditor', 'ckeditor', 'ckeditor_up
loader']), ('leonardo_config', {'CKEDITOR_CONFIGS': ({'default': {'filebrowserWi
ndowWidth': 940, 'width': 835, 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic
']], 'skin': 'moono', 'filebrowserWindowHeight': 725, 'allowedContent': True, 't
oolbar_Full': [['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo
', 'Redo'], ['Find', 'Replace', '-', 'SelectAll', '-', 'SpellChecker', 'Scayt'],
 ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'Ima
geButton', 'HiddenField'], ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript'
, 'Superscript', '-', 'RemoveFormat'], ['NumberedList', 'BulletedList', '-', 'Ou
tdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCe
nter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl'], ['Link', 'Unl
ink', 'Anchor'], ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'Specia
lChar', 'PageBreak', 'Iframe'], ['Styles', 'Format', 'Font', 'FontSize'], ['Text
Color', 'BGColor'], ['Maximize', 'ShowBlocks'], ['Source']], 'toolbar': 'Full',
'height': 350}}, 'ckeditor config'), 'CKEDITOR_UPLOAD_PATH': ('', 'CKEditor uplo
ad directory')}), ('leonardo_css_files', ['ckeditor/ckeditor/skins/moono/editor.
css']), ('leonardo_js_files', ['leonardo_ckeditor/js/ckeditor-modal-init.js']),
('leonardo_optgroup', 'CKEditor'), ('leonardo_public', True), ('leonardo_urls_co
nf', 'ckeditor_uploader.urls'), ('leonardo_middlewares', ['leonardo_sitestarter.
middleware.QuickStartMiddleware']), ('leonardo_ordering', 150), ('leonardo_page_
actions', ['system/module_actions.html']), ('leonardo_widgets', ['leonardo.modul
e.devel.models.ClientInfoWidget', 'leonardo.module.devel.models.VisualTestWidget
'])]) and start loading again...It's recommended add new keys into leonardo_CONF
IG_SPEC
  self.CONFIG_PREFIX))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_site' from 'D:\Dev\myleo\leonardo_site\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <class
 'app_loader.apps.Config'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <class
 'constance.apps.ConstanceConfig'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_admin' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_admin\
__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_ckeditor' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_cke
ditor\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_epiceditor' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_e
piceditor\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_sitestarter' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_
sitestarter\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.web' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo\m
odule\web\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.nav' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo\m
odule\nav\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.media' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo
\module\media\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.search' from 'C:\Users\John\Envs\leo\lib\site-packages\leonard
o\module\search\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.devel' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo
\module\devel\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.leonardo_auth' from 'C:\Users\John\Envs\leo\lib\site-packages\
leonardo\module\leonardo_auth\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_system' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_syste
m\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:249: UserWarning: M
issing local_settings !
  'Missing local_settings !')
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:279: UserWarning: D
EBUG is set to True but, DEBUG tools is not installed please run "pip install dj
ango-leonardo[debug]"
  warnings.warn('DEBUG is set to True but, DEBUG tools '
C:\Users\John\Envs\leo\lib\site-packages\constance\backends\database\models.py:14
: RemovedInDjango19Warning: Model class constance.backends.database.models.Const
ance doesn't declare an explicit app_label and either isn't in an application in
 INSTALLED_APPS or else was imported before its application was loaded. This wil
l no longer be supported in Django 1.9.
  class Constance(models.Model):

[20/Dec/2017 16:48:12] WARNING [py.warnings:116] C:\Users\John\Envs\leo\lib\site-
packages\constance\backends\database\models.py:14: RemovedInDjango19Warning: Mod
el class constance.backends.database.models.Constance doesn't declare an explici
t app_label and either isn't in an application in INSTALLED_APPS or else was imp
orted before its application was loaded. This will no longer be supported in Dja
ngo 1.9.
  class Constance(models.Model):

C:\Users\John\Envs\leo\lib\site-packages\horizon\tables\base.py:1071: RemovedInDj
ango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  attrs['base_columns'] = SortedDict(columns)

[20/Dec/2017 16:48:12] WARNING [py.warnings:136] C:\Users\John\Envs\leo\lib\site-
packages\horizon\tables\base.py:1071: RemovedInDjango19Warning: SortedDict is de
precated and will be removed in Django 1.9.
  attrs['base_columns'] = SortedDict(columns)

C:\Users\John\Envs\leo\lib\site-packages\horizon\tables\base.py:1104: RemovedInDj
ango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  attrs['_columns'] = SortedDict(columns)

[20/Dec/2017 16:48:12] WARNING [py.warnings:136] C:\Users\John\Envs\leo\lib\site-
packages\horizon\tables\base.py:1104: RemovedInDjango19Warning: SortedDict is de
precated and will be removed in Django 1.9.
  attrs['_columns'] = SortedDict(columns)

C:\Users\John\Envs\leo\lib\site-packages\horizon\tables\base.py:1113: RemovedInDj
ango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  for action in actions])

[20/Dec/2017 16:48:12] WARNING [py.warnings:136] C:\Users\John\Envs\leo\lib\site-
packages\horizon\tables\base.py:1113: RemovedInDjango19Warning: SortedDict is de
precated and will be removed in Django 1.9.
  for action in actions])

C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:74: UserWarning: le
onardo_site.local.settings is obsolete use new location
  'leonardo_site.local.settings is obsolete use new location')
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:91: UserWarning: lo
cal_settings was not found in $PYTHONPATH !
  'local_settings was not found in $PYTHONPATH !')
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_apps', 'leonardo_config', 'leonardo_css_files', 'le
onardo_js_files', 'leonardo_optgroup', 'leonardo_public', 'leonardo_urls_conf']
in <module 'leonardo_ckeditor' from 'C:\Users\John\Envs\leo\lib\site-packages\leo
nardo_ckeditor\__init__.pyc'> We recommend add these keys into LEONARDO_CONF_SPE
C
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_middlewares'] in <module 'leonardo_sitestarter' fro
m 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_sitestarter\__init__.pyc'> W
e recommend add these keys into LEONARDO_CONF_SPEC
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_ordering', 'leonardo_page_actions'] in <module 'leo
nardo_system' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_system\__in
it__.pyc'> We recommend add these keys into LEONARDO_CONF_SPEC
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\module\search\__init__.py:28: U
serWarning: Haystack search engine is disabled because: The HAYSTACK_CONNECTIONS
 setting is required.
  'Haystack search engine is disabled because: {}'.format(e))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\module\search\__init__.py:25: U
serWarning: Haystack search engine is disabled because: cannot import name signa
ls
  'Haystack search engine is disabled because: {}'.format(e))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:310: UserWarning: Fou
nd undefined keys ['leonardo_widgets'] in <module 'leonardo.module.devel' from '
C:\Users\John\Envs\leo\lib\site-packages\leonardo\module\devel\__init__.pyc'> We
recommend add these keys into LEONARDO_CONF_SPEC
  [key for key, val in undefined_keys], mod))
C:\Users\John\Envs\leo\lib\site-packages\app_loader\base.py:129: UserWarning: We
found new keys([('leonardo_apps', ['leonardo_ckeditor', 'ckeditor', 'ckeditor_up
loader']), ('leonardo_config', {'CKEDITOR_CONFIGS': ({'default': {'filebrowserWi
ndowWidth': 940, 'width': 835, 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic
']], 'skin': 'moono', 'filebrowserWindowHeight': 725, 'allowedContent': True, 't
oolbar_Full': [['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo
', 'Redo'], ['Find', 'Replace', '-', 'SelectAll', '-', 'SpellChecker', 'Scayt'],
 ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'Ima
geButton', 'HiddenField'], ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript'
, 'Superscript', '-', 'RemoveFormat'], ['NumberedList', 'BulletedList', '-', 'Ou
tdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCe
nter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl'], ['Link', 'Unl
ink', 'Anchor'], ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'Specia
lChar', 'PageBreak', 'Iframe'], ['Styles', 'Format', 'Font', 'FontSize'], ['Text
Color', 'BGColor'], ['Maximize', 'ShowBlocks'], ['Source']], 'toolbar': 'Full',
'height': 350}}, 'ckeditor config'), 'CKEDITOR_UPLOAD_PATH': ('', 'CKEditor uplo
ad directory')}), ('leonardo_css_files', ['ckeditor/ckeditor/skins/moono/editor.
css']), ('leonardo_js_files', ['leonardo_ckeditor/js/ckeditor-modal-init.js']),
('leonardo_optgroup', 'CKEditor'), ('leonardo_public', True), ('leonardo_urls_co
nf', 'ckeditor_uploader.urls'), ('leonardo_middlewares', ['leonardo_sitestarter.
middleware.QuickStartMiddleware']), ('leonardo_ordering', 150), ('leonardo_page_
actions', ['system/module_actions.html']), ('leonardo_widgets', ['leonardo.modul
e.devel.models.ClientInfoWidget', 'leonardo.module.devel.models.VisualTestWidget
'])]) and start loading again...It's recommended add new keys into leonardo_CONF
IG_SPEC
  self.CONFIG_PREFIX))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_site' from 'D:\Dev\myleo\leonardo_site\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <class
 'app_loader.apps.Config'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <class
 'constance.apps.ConstanceConfig'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_admin' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_admin\
__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_ckeditor' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_cke
ditor\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_epiceditor' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_e
piceditor\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_sitestarter' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_
sitestarter\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.web' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo\m
odule\web\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.nav' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo\m
odule\nav\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.media' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo
\module\media\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.search' from 'C:\Users\John\Envs\leo\lib\site-packages\leonard
o\module\search\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.devel' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo
\module\devel\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo.module.leonardo_auth' from 'C:\Users\John\Envs\leo\lib\site-packages\
leonardo\module\leonardo_auth\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:236: UserWarning: E
xception "'NoneType' object is not callable" raised during loading module <modul
e 'leonardo_system' from 'C:\Users\John\Envs\leo\lib\site-packages\leonardo_syste
m\__init__.pyc'>
  'module {}'.format(str(e), mod))
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:249: UserWarning: M
issing local_settings !
  'Missing local_settings !')
C:\Users\John\Envs\leo\lib\site-packages\leonardo\settings.py:279: UserWarning: D
EBUG is set to True but, DEBUG tools is not installed please run "pip install dj
ango-leonardo[debug]"
  warnings.warn('DEBUG is set to True but, DEBUG tools '
C:\Users\John\Envs\leo\lib\site-packages\constance\backends\database\models.py:14
: RemovedInDjango19Warning: Model class constance.backends.database.models.Const
ance doesn't declare an explicit app_label and either isn't in an application in
 INSTALLED_APPS or else was imported before its application was loaded. This wil
l no longer be supported in Django 1.9.
  class Constance(models.Model):

[20/Dec/2017 16:48:17] WARNING [py.warnings:116] C:\Users\John\Envs\leo\lib\site-
packages\constance\backends\database\models.py:14: RemovedInDjango19Warning: Mod
el class constance.backends.database.models.Constance doesn't declare an explici
t app_label and either isn't in an application in INSTALLED_APPS or else was imp
orted before its application was loaded. This will no longer be supported in Dja
ngo 1.9.
  class Constance(models.Model):

C:\Users\John\Envs\leo\lib\site-packages\horizon\tables\base.py:1071: RemovedInDj
ango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  attrs['base_columns'] = SortedDict(columns)

[20/Dec/2017 16:48:17] WARNING [py.warnings:136] C:\Users\John\Envs\leo\lib\site-
packages\horizon\tables\base.py:1071: RemovedInDjango19Warning: SortedDict is de
precated and will be removed in Django 1.9.
  attrs['base_columns'] = SortedDict(columns)

C:\Users\John\Envs\leo\lib\site-packages\horizon\tables\base.py:1104: RemovedInDj
ango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  attrs['_columns'] = SortedDict(columns)

[20/Dec/2017 16:48:17] WARNING [py.warnings:136] C:\Users\John\Envs\leo\lib\site-
packages\horizon\tables\base.py:1104: RemovedInDjango19Warning: SortedDict is de
precated and will be removed in Django 1.9.
  attrs['_columns'] = SortedDict(columns)

C:\Users\John\Envs\leo\lib\site-packages\horizon\tables\base.py:1113: RemovedInDj
ango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  for action in actions])

[20/Dec/2017 16:48:17] WARNING [py.warnings:136] C:\Users\John\Envs\leo\lib\site-
packages\horizon\tables\base.py:1113: RemovedInDjango19Warning: SortedDict is de
precated and will be removed in Django 1.9.
  for action in actions])

Performing system checks...

System check identified some issues:

WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 a
nd the TEMPLATES dictionary takes precedence. You must put the values of the fol
lowing settings into your default TEMPLATES dict: TEMPLATE_DEBUG.

System check identified 1 issue (0 silenced).
December 20, 2017 - 16:48:17
Django version 1.8.18, using settings 'leonardo.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Traceback (most recent call last):
  File "c:\python27\Lib\wsgiref\handlers.py", line 85, in run
    self.result = application(self.environ, self.start_response)
  File "C:\Users\John\Envs\leo\lib\site-packages\django\contrib\staticfiles\handl
ers.py", line 63, in __call__
    return self.application(environ, start_response)
  File "C:\Users\John\Envs\leo\lib\site-packages\django\core\handlers\wsgi.py", l
ine 170, in __call__
    self.load_middleware()
  File "C:\Users\John\Envs\leo\lib\site-packages\django\core\handlers\base.py", l
ine 52, in load_middleware
    mw_instance = mw_class()
  File "C:\Users\John\Envs\leo\lib\site-packages\django\middleware\locale.py", li
ne 24, in __init__
    for url_pattern in get_resolver(None).url_patterns:
  File "C:\Users\John\Envs\leo\lib\site-packages\django\core\urlresolvers.py", li
ne 401, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "C:\Users\John\Envs\leo\lib\site-packages\django\core\urlresolvers.py", li
ne 395, in urlconf_module
    self._urlconf_module = import_module(self.urlconf_name)
  File "c:\python27\Lib\importlib\__init__.py", line 37, in import_module
    __import__(name)
  File "C:\Users\John\Envs\leo\lib\site-packages\leonardo\urls.py", line 27, in <
module>
    urlpatterns += leonardo.urlpatterns
  File "C:\Users\John\Envs\leo\lib\site-packages\django\utils\functional.py", lin
e 59, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "C:\Users\John\Envs\leo\lib\site-packages\leonardo\base.py", line 95, in u
rlpatterns
    urls_mod = import_module('.urls', mod.__name__)
  File "c:\python27\Lib\importlib\__init__.py", line 37, in import_module
    __import__(name)
  File "C:\Users\John\Envs\leo\lib\site-packages\leonardo_admin\urls.py", line 9,
 in <module>
    url(r'^%sdoc/' % config.ADMIN_URL, include('django.contrib.admindocs.urls'))
,
  File "C:\Users\John\Envs\leo\lib\site-packages\django\utils\functional.py", lin
e 225, in inner
    self._setup()
  File "C:\Users\John\Envs\leo\lib\site-packages\constance\__init__.py", line 11,
 in _setup
    self._wrapped = Config()
  File "C:\Users\John\Envs\leo\lib\site-packages\constance\base.py", line 11, in
__init__
    utils.import_module_attr(settings.BACKEND)())
  File "C:\Users\John\Envs\leo\lib\site-packages\constance\backends\database\__in
it__.py", line 32, in __init__
    "The constance.backends.database app isn't installed "
ImproperlyConfigured: The constance.backends.database app isn't installed correc
tly. Make sure it's in your INSTALLED_APPS setting.
[20/Dec/2017 16:49:08] "GET / HTTP/1.1" 500 59
`

Leonardo project is not working well under Windows plantform?
Thank you.

@michaelkuty

This comment has been minimized.

Member

michaelkuty commented Dec 20, 2017

Hi, leonardo is not tested on windows, maybe you can try it in virtualbox or something like this

@aiApple

This comment has been minimized.

aiApple commented Dec 20, 2017

After ran the command python manage.py bootstrap_site --name=demo.yaml,i got this Unknown command: 'bootstrap_site', did i miss something?

@michaelkuty

This comment has been minimized.

Member

michaelkuty commented Dec 20, 2017

@aiApple

This comment has been minimized.

aiApple commented Dec 20, 2017

Thank you very much, i will try the it on ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment