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

development version don't work for me #274

Open
samsomlan opened this issue Dec 22, 2024 · 0 comments
Open

development version don't work for me #274

samsomlan opened this issue Dec 22, 2024 · 0 comments

Comments

@samsomlan
Copy link

[2024-12-22 20:44:29,652] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "/home/zhenlin/miniconda3/envs/a0/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zhenlin/miniconda3/envs/a0/lib/python3.12/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zhenlin/miniconda3/envs/a0/lib/python3.12/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zhenlin/miniconda3/envs/a0/lib/python3.12/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zhenlin/miniconda3/envs/a0/lib/python3.12/site-packages/asgiref/sync.py", line 254, in call
return call_result.result()
^^^^^^^^^^^^^^^^^^^^
File "/home/zhenlin/miniconda3/envs/a0/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/zhenlin/miniconda3/envs/a0/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/home/zhenlin/miniconda3/envs/a0/lib/python3.12/site-packages/asgiref/sync.py", line 331, in main_wrap
result = await self.awaitable(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zhenlin/prj/agent-zero/./run_ui.py", line 40, in decorated
return await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zhenlin/prj/agent-zero/./run_ui.py", line 49, in serve_index
gitinfo = git.get_git_info()
^^^^^^^^^^^^^^^^^^
File "/home/zhenlin/prj/agent-zero/python/helpers/git.py", line 36, in get_git_info
version = branch[0].upper() + " " + ( short_tag or commit_hash[:7] )
~~~~~~^^^
IndexError: string index out of range

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