Installation problems
I tried to install it on a new Debian Stretch.
Few problems I could correct, but then an error I don't know what to do.
- before using the command pip, you need to install pip:
apt install python-pip
- before being able to use the pip install, you need to install 2 packages:
apt-get install python-setuptools wheel
- before using git clone, you need to install it
apt install git
- when executing "python manage.py migrate etherpadlite", I received the error msg: `The app 'etherpadlite' does not appear to use migrations.' I created an empty _init_.py file in the etherpadlite/migrations/ folder.
All went well up to after the 2 commands python manage.
Maybe add the command to start the server:
python manage.py runserver
I created a vhost in nginx to access the admin section to set the domain name, but when I go to the address, I'm redirected to http://localhost:8000/account/login.
I switched to http://my_domain/account/login and a fatal error occurred:
Internal Server Error: /accounts/login
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 185, in get_response
response = middleware_method(request, response)
File "/root/src/tools.ethertoff/relearn/middleware.py", line 58, in process_response
response.content = tidy(response.content)
File "/root/src/tools.ethertoff/relearn/middleware.py", line 12, in tidy
p = parser.parse(html, encoding=None, parseMeta=True, useChardet=True)
File "/usr/local/lib/python2.7/dist-packages/html5lib/html5parser.py", line 289, in parse
self._parse(stream, False, None, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/html5lib/html5parser.py", line 130, in _parse
self.tokenizer = _tokenizer.HTMLTokenizer(stream, parser=self, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/html5lib/_tokenizer.py", line 36, in __init__
self.stream = HTMLInputStream(stream, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/html5lib/_inputstream.py", line 151, in HTMLInputStream
return HTMLBinaryInputStream(source, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'parseMeta'
[06/Nov/2019 21:36:54] "GET /accounts/login HTTP/1.1" 500 103062
But couldn't find any help on that error.
Any idea what to do?