dannytaylor / uuralur

viewer and parser for city of heroes pvp demo files
http://demos.hcc.ovh
1 stars 0 forks source link

Error on 240905 kb round 4 & add player name req #1

Closed notoriousdg closed 1 month ago

notoriousdg commented 1 month ago

1.) Please add Cyclo to the player_names.json, and add "Backwood" hero_data.json

2.) Error occurs on the 240905 - Round 4 Liberty Town

IndexError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app). Traceback: File "/home/dt/web/uuralur/.venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script exec(code, module.__dict__) File "/home/dt/web/uuralur/app.py", line 232, in <module> main() File "/home/dt/web/uuralur/app.py", line 228, in main mp.run() File "/home/dt/web/uuralur/app.py", line 196, in run app['function'](app['title'], *app['args'], **app['kwargs']) File "/home/dt/web/uuralur/app.py", line 207, in view_match match.main(con) File "/home/dt/web/uuralur/view/match.py", line 43, in main hero_df = hero_df.copy() ^^^^^^^^^^^^^^ File "/home/dt/web/uuralur/.venv/lib/python3.11/site-packages/pandas/core/generic.py", line 6811, in copy data = self._mgr.copy(deep=deep) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dt/web/uuralur/.venv/lib/python3.11/site-packages/pandas/core/internals/managers.py", line 604, in copy res._consolidate_inplace() File "/home/dt/web/uuralur/.venv/lib/python3.11/site-packages/pandas/core/internals/managers.py", line 1791, in _consolidate_inplace self._rebuild_blknos_and_blklocs() File "internals.pyx", line 773, in pandas._libs.internals.BlockManager._rebuild_blknos_and_blklocs

Console error: The Content Security Policy (CSP) prevents the evaluation of arbitrary strings as JavaScript to make it more difficult for an attacker to inject unathorized code on your site. To solve this issue, avoid using eval(), new Function(), setTimeout([string], ...) and setInterval([string], ...) for evaluating strings. If you absolutely must: you can enable string evaluation by adding unsafe-eval as an allowed source in a script-src directive.

notoriousdg commented 1 month ago

Screenshot 2024-09-05 235739