的問題出現了,當我試圖啓動一個項目的Django CMS使用以下命令:錯誤在Ubuntu 14.04開始的Django CMS項目LTS
djangocms -p . mysite
這是錯誤:
Database configuration (in URL format) [default sqlite://localhost/project.db]:
django CMS version (choices: 2.4, 3.0, 3.1, stable, develop) [default stable]:
Django version (choices: 1.4, 1.5, 1.6, 1.7, 1.8, stable) [default stable]:
Activate Django I18N/L10N setting (choices: yes, no) [default yes]:
Install and configure reversion support (choices: yes, no) [default yes]:
Languages to enable. Option can be provided multiple times, or as a comma separated list. Only language codes supported by Django can be used here: en
Optional default time zone [default Europe/Madrid]:
Activate Django timezone support (choices: yes, no) [default yes]:
Activate CMS permission management (choices: yes, no) [default yes]:
Use Twitter Bootstrap Theme (choices: yes, no) [default no]:
Use custom template set [default no]:
Load a starting page with examples after installation (english language only). Choose "no" if you use a custom template set. (choices: yes, no) [default no]:
Creating the project
Please wait while I install dependencies
Dependencies installed
Creating the projectFailure occurred. Do you want to cleanup by removing /home/alberto/Documentos/PouBlog? [Y/N]
Traceback (most recent call last):
File "/home/alberto/.virtualenvs/PouBlog/bin/djangocms", line 11, in <module>
sys.exit(execute())
File "/home/alberto/.virtualenvs/PouBlog/local/lib/python2.7/site-packages/djangocms_installer/main.py", line 53, in execute
install.cleanup_directory(config_data)
File "/home/alberto/.virtualenvs/PouBlog/local/lib/python2.7/site-packages/djangocms_installer/install/__init__.py", line 92, in cleanup_directory
if strtobool(choice) or config_data.noinput:
File "/usr/lib/python2.7/distutils/util.py", line 325, in strtobool
raise ValueError, "invalid truth value %r" % (val,)
ValueError: invalid truth value ''