Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create server #163

Open
tech62 opened this issue Aug 28, 2019 · 0 comments
Open

Can't create server #163

tech62 opened this issue Aug 28, 2019 · 0 comments

Comments

@tech62
Copy link

tech62 commented Aug 28, 2019

All dependencies are installed except MySQL-python (replaced by mysqlclient - It works)
Python 2.7.16
Debian 10 - Buster
Bug caused from serverstf/python-valve#54 ?

pip install python-valve
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: python-valve in /usr/local/lib/python2.7/dist-packages (0.2.1)
Requirement already satisfied: docopt>=0.6.2 in /usr/local/lib/python2.7/dist-packages (from python-valve) (0.6.2)
Requirement already satisfied: enum34>=1.1 in /usr/lib/python2.7/dist-packages (from python-valve) (1.1.6)
Requirement already satisfied: requests>=2.0 in /usr/local/lib/python2.7/dist-packages (from python-valve) (2.20.0)
Requirement already satisfied: six>=1.6 in /usr/local/lib/python2.7/dist-packages (from python-valve) (1.10.0)
Requirement already satisfied: monotonic in /usr/local/lib/python2.7/dist-packages (from python-valve) (1.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests>=2.0->python-valve) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests>=2.0->python-valve) (2019.6.16)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests>=2.0->python-valve) (1.24.3)
Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests>=2.0->python-valve) (2.7)

but i've got this error

[2019-08-28 18:57:43,239] {/usr/local/lib/python2.7/dist-packages/flask/app.py:1423} ERROR - Exception on /server/create [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/var/www/get5-web/get5/server.py", line 59, in server_create
    if mock or util.check_server_connection(server):
  File "/var/www/get5-web/get5/util.py", line 32, in check_server_connection
    server.ip_string, server.port, server.rcon_password, 'status')
  File "/var/www/get5-web/get5/util.py", line 76, in send_rcon_command
    from valve.source.rcon import (RCON, IncompleteMessageError,
ImportError: No module named rcon
[2019-08-28 18:57:43,239] {/var/www/get5-web/get5/__init__.py:155} ERROR - No module named rcon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant