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

Windows: cannot open script log on admin page #176

Closed
bugy opened this issue Jan 27, 2019 · 0 comments
Closed

Windows: cannot open script log on admin page #176

bugy opened this issue Jan 27, 2019 · 0 comments

Comments

@bugy
Copy link
Owner

bugy commented Jan 27, 2019

[Windows only]
When opening a script on admin page, an empty page is opened.
And there is an exception on server:

2019-01-27 17:59:04,956 [tornado.application.ERROR] Uncaught exception GET /admin/execution_log/long/10 (192.168.2.183) 
HTTPServerRequest(protocol='http', host='192.168.2.115:5000', method='GET', uri='/admin/execution_log/long/10', version='HTTP/1.1', remote_ip='192.168.2.183', headers={'Host': '192.168.2.115:5000', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0', 'Accept': '*/*', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate', 'Referer': 'http://192.168.2.115:5000/admin.html', 'X-Requested-With': 'XMLHttpRequest', 'Connection': 'keep-alive'})
Traceback (most recent call last):
  File "C:\Users\buggy\AppData\Local\Programs\Python\Python36\lib\site-packages\tornado\web.py", line 1509, in _execute
    result = method(*self.path_args, **self.path_kwargs)
  File "src\web\server.py", line 110, in wrapper
    return func(self, *args, **kwargs)
  File "src\web\server.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "src\web\server.py", line 677, in get
    log = self.application.execution_logging_service.find_log(execution_id)
  File "src\execution\logging.py", line 183, in find_log
    log = file_content.split(OUTPUT_STARTED_MARKER + '\n', 1)[1]
IndexError: list index out of range
@bugy bugy added the bug label Jan 27, 2019
bugy added a commit that referenced this issue Jan 27, 2019
@bugy bugy added the resolved label Jan 28, 2019
@bugy bugy closed this as completed Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant