Page MenuHomeSoftware Heritage
Paste P216

Make html in swh-deposit/docs/ error
ActivePublic

Authored by moranegg on Jan 24 2018, 5:08 PM.
Configuration error:
There is a programable error in your configuration file:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/sphinx/config.py", line 157, in __init__
execfile_(filename, config)
File "/usr/local/lib/python3.4/dist-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "conf.py", line 6, in <module>
django.setup()
File "/usr/local/lib/python3.4/dist-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.4/dist-packages/django/apps/registry.py", line 112, in populate
app_config.import_models()
File "/usr/local/lib/python3.4/dist-packages/django/apps/config.py", line 198, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/home/pouletta/Documents/code/swh-environment/swh-deposit/swh/deposit/models.py", line 94, in <module>
class Deposit(models.Model):
File "/home/pouletta/Documents/code/swh-environment/swh-deposit/swh/deposit/models.py", line 118, in Deposit
parent = models.ForeignKey('self', null=True)
../../swh-docs/Makefile.sphinx:34: recipe for target 'sphinx/html' failed
make: *** [sphinx/html] Error 1