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

can't build ui #17

Open
sexy-yume opened this issue Nov 3, 2024 · 2 comments
Open

can't build ui #17

sexy-yume opened this issue Nov 3, 2024 · 2 comments

Comments

@sexy-yume
Copy link

C:\Users\hbw33\AgileCoder\ui>C:\Users\hbw33\AgileCoder\ui\agilecoder_ui.py
24.11.04 01:01:13: root: INFO : Initializing Devika...
24.11.04 01:01:13: root: INFO : Initializing Prerequisites Jobs...
Traceback (most recent call last):
File "C:\Users\hbw33\AgileCoder\ui\agilecoder_ui.py", line 24, in
from src.agents import Agent
File "C:\Users\hbw33\AgileCoder\ui\src\agents_init_.py", line 1, in
from .agent import Agent
File "C:\Users\hbw33\AgileCoder\ui\src\agents\agent.py", line 18, in
from agilecoder.camel.typing import ModelType
File "c:\users\hbw33\agilecoder\ui\src\agilecoder\agilecoder_init_.py", line 1, in
from .cli import main
File "c:\users\hbw33\agilecoder\ui\src\agilecoder\agilecoder\cli.py", line 3, in
from agilecoder.run_api import run_task
File "c:\users\hbw33\agilecoder\ui\src\agilecoder\agilecoder\run_api.py", line 10, in
from agilecoder.components.chat_chain import ChatChain
File "c:\users\hbw33\agilecoder\ui\src\agilecoder\agilecoder\components\chat_chain.py", line 12, in
from agilecoder.components.chat_env import ChatEnv, ChatEnvConfig
File "c:\users\hbw33\agilecoder\ui\src\agilecoder\agilecoder\components\chat_env.py", line 14, in
from agilecoder.components.documents import Documents
File "c:\users\hbw33\agilecoder\ui\src\agilecoder\agilecoder\components\documents.py", line 7, in
from project import ProjectManager
ModuleNotFoundError: No module named 'project'

@sexy-yume
Copy link
Author

C:\Users\hbw33\AgileCoder\ui>agilecoder_ui.py
24.11.04 02:44:05: root: INFO : Initializing Devika...
24.11.04 02:44:05: root: INFO : Initializing Prerequisites Jobs...
Traceback (most recent call last):
File "C:\Users\hbw33\AgileCoder\ui\agilecoder_ui.py", line 24, in
from src.agents import Agent
File "C:\Users\hbw33\AgileCoder\ui\src\agents_init_.py", line 1, in
from .agent import Agent
File "C:\Users\hbw33\AgileCoder\ui\src\agents\agent.py", line 18, in
from agilecoder.camel.typing import ModelType
File "C:\Users\hbw33\AgileCoder\ui\src\AgileCoder\agilecoder_init_.py", line 1, in
from .cli import main
File "C:\Users\hbw33\AgileCoder\ui\src\AgileCoder\agilecoder\cli.py", line 3, in
from agilecoder.run_api import run_task
File "C:\Users\hbw33\AgileCoder\ui\src\AgileCoder\agilecoder\run_api.py", line 10, in
from agilecoder.components.chat_chain import ChatChain
File "C:\Users\hbw33\AgileCoder\ui\src\AgileCoder\agilecoder\components\chat_chain.py", line 12, in
from agilecoder.components.chat_env import ChatEnv, ChatEnvConfig
File "C:\Users\hbw33\AgileCoder\ui\src\AgileCoder\agilecoder\components\chat_env.py", line 52, in
class ChatEnv:
File "C:\Users\hbw33\AgileCoder\ui\src\AgileCoder\agilecoder\components\chat_env.py", line 101, in ChatEnv
def exist_bugs(self) -> tuple[bool, str]:
TypeError: 'type' object is not subscriptable

@phanchauthang
Copy link
Collaborator

Hi @sexy-yume

The error might be related to a Windows issue. You could try using Linux for the UI instead.

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

2 participants