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

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

Open
jreed1701 opened this issue May 5, 2024 · 0 comments
Open

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

jreed1701 opened this issue May 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jreed1701
Copy link
Collaborator

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 -
@jreed1701 jreed1701 self-assigned this May 5, 2024
@jreed1701 jreed1701 added the bug Something isn't working label May 5, 2024
@jreed1701 jreed1701 removed their assignment Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant