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

Internal Server Error #117

Open
Open
@vitaliy-popov

Description

@vitaliy-popov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions