sphericalpm / lektorium

A pragmatic web content management solution for those with way too many little sites
MIT License
16 stars 3 forks source link

Run lektor instances in docker #54

Closed apatrushev closed 4 years ago

dmitriiminaev commented 4 years ago

When trying to create a new site:

2019-11-04 10:04:29.055 [Server(/tmp/tmp8mu2wdcc/test/master)] starting
2019-11-04 10:04:29.061 [aiohttp.access] 127.0.0.1 [04/Nov/2019:07:04:28 +0000] "POST /graphql HTTP/1.1" 200 192 "http://localhost:8000/" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0"
2019-11-04 10:04:29.080 [aiohttp.access] 127.0.0.1 [04/Nov/2019:07:04:29 +0000] "POST /graphql HTTP/1.1" 200 380 "http://localhost:8000/" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0"
2019-11-04 10:04:29.123 [Server(/tmp/tmp8mu2wdcc/test/master)] failed
2019-11-04 10:04:29.123 [Server(/tmp/tmp8mu2wdcc/test/master)] start ended
2019-11-04 10:04:34.094 [root] error
Traceback (most recent call last):
  File "/home/dmitrii/.local/venvs/lectorium/lib/python3.7/site-packages/more_itertools/more.py", line 520, in one
    value = next(it)
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/dmitrii/_Coding/_Spherical/lektorium/src/lektorium/repo/local/server.py", line 70, in resolver
    started.result()
  File "/home/dmitrii/_Coding/_Spherical/lektorium/src/lektorium/repo/local/server.py", line 181, in start
    NetworkMode=await self.network_mode,
  File "/home/dmitrii/_Coding/_Spherical/lektorium/src/lektorium/repo/local/server.py", line 165, in network_mode
    self.network = one(networks)
  File "/home/dmitrii/.local/venvs/lectorium/lib/python3.7/site-packages/more_itertools/more.py", line 522, in one
    raise too_short or ValueError('too few items in iterable (expected 1)')
ValueError: too few items in iterable (expected 1)
2019-11-04 10:04:34.096 [aiohttp.access] 127.0.0.1 [04/Nov/2019:07:04:34 +0000] "POST /graphql HTTP/1.1" 200 387 "http://localhost:8000/" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0"