Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Internal Server Error #117

Open
vitaliy-popov opened this issue Dec 18, 2018 · 1 comment
Open

Internal Server Error #117

vitaliy-popov opened this issue Dec 18, 2018 · 1 comment

Comments

@vitaliy-popov
Copy link

Expected Behavior

After entering the login: the password I had to get to the main page. But i see it

Actual Behavior

/srv/lwp# python lwp.py --debug

  • Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
    192.168.20.99 - - [18/Dec/2018 16:26:25] "GET / HTTP/1.1" 200 -
    192.168.20.99 - - [18/Dec/2018 16:26:32] "POST /login HTTP/1.1" 302 -
    [2018-12-18 16:26:32,709] ERROR in app: Exception on / [GET]
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
    File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
    File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
    File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
    File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functionsrule.endpoint
    File "lwp.py", line 108, in home
    settings = lwp.get_container_settings(container)
    File "/srv/lwp/lwp/init.py", line 308, in get_container_settings
    config.readfp(FakeSection(open(filename)))
    File "/usr/lib/python2.7/dist-packages/backports/configparser/init.py", line 763, in readfp
    self.read_file(fp, source=filename)
    File "/usr/lib/python2.7/dist-packages/backports/configparser/init.py", line 718, in read_file
    self._read(f, source)
    File "/usr/lib/python2.7/dist-packages/backports/configparser/init.py", line 1115, in _read
    fpname, lineno)
    DuplicateOptionError: While reading from u'<???>' [line 5]: option u'lxc.mount.entry' in section u'DEFAULT' already exists
    192.168.20.99 - - [18/Dec/2018 16:26:32] "GET / HTTP/1.1" 500 -

Steps to Reproduce the Problem

I made the installation according to the instructions

Specifications

  • LXC Version: 2.0.9
  • LWP Version:0.2
  • OS Name:Debian
  • OS Version:sid
@chancellor1101
Copy link

Just for clarification - I get the 500 server error when i attempt to "check configuration" is that were you are getting this as well?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants