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

IndexError: string index out of range #10

Open
MikeBlazer opened this issue Aug 1, 2023 · 0 comments
Open

IndexError: string index out of range #10

MikeBlazer opened this issue Aug 1, 2023 · 0 comments

Comments

@MikeBlazer
Copy link

Hello!

I'm trying to run the app but get an error:

IndexError: string index out of range

Traceback:

File "C:\Python\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "D:\Python\Reddit-gpt-summarizer\app\main.py", line 18, in
from ui.render import render_layout
File "D:\Python\Reddit-gpt-summarizer\app\ui\render.py", line 12, in
from generate_data import generate_summary_data, get_reddit_praw
File "D:\Python\Reddit-gpt-summarizer\app\generate_data.py", line 10, in
from env import EnvVarsLoader
File "D:\Python\Reddit-gpt-summarizer\app\env.py", line 16, in
class EnvVars(TypedDict):
File "C:\Python\Lib\typing.py", line 2933, in new
own_annotations = {
^
File "C:\Python\Lib\typing.py", line 2934, in
n: _type_check(tp, msg, module=tp_dict.module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\typing.py", line 186, in _type_check
arg = _type_convert(arg, module=module, allow_special_forms=allow_special_forms)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\typing.py", line 164, in _type_convert
return ForwardRef(arg, module=module, is_class=allow_special_forms)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\typing.py", line 832, in init
if arg[0] == '*':
~~~^^^

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