Skip to content

Bug: Long Running Agent: Missing jinja Template - Vrising #64

@jreed1701

Description

@jreed1701

An agent had been running on the host for quite some time. A vrising server was started and this error occurred.

Upon inspection of the file system the temp folder had files in it, but the resources folder was empty.

Possible that windows defender removed it???

temp folder: C:\Users\joshu\AppData\Local\Temp_MEI65882\application\games\resources

Log at error:

_internal.py:96 INFO:127.0.0.1 - - [05/May/2024 08:33:48] "GET /v1/game/arguments HTTP/1.0" 200 -
game.py:84 INFO:Starting game server
app.py:828 ERROR:Exception on /v1/game/startup/vrising [POST]
Traceback (most recent call last):
  File "flask\app.py", line 1463, in wsgi_app
  File "flask\app.py", line 872, in full_dispatch_request
  File "flask\app.py", line 870, in full_dispatch_request
  File "flask\app.py", line 855, in dispatch_request
  File "application\common\decorators.py", line 58, in decorated_view
  File "application\api\v1\blueprints\game.py", line 92, in game_startup
  File "C:\Users\joshu\AppData\Local\Temp\_MEI65882\application\games\vrising_game.py", line 101, in startup
    template = env.get_template("start_vrising_server_template.bat.j2")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "jinja2\environment.py", line 1010, in get_template
  File "jinja2\environment.py", line 969, in _load_template
  File "jinja2\loaders.py", line 125, in load
  File "jinja2\loaders.py", line 204, in get_source
jinja2.exceptions.TemplateNotFound: start_vrising_server_template.bat.j2
_internal.py:96 INFO:127.0.0.1 - - [05/May/2024 08:33:51] "�[35m�[1mPOST /v1/game/startup/vrising HTTP/1.0�[0m" 500 -

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions