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

AttributeError: 'NoneType' object has no attribute 'GetObject #1390

Open
8 of 10 tasks
ExploringAI opened this issue Jan 29, 2025 · 0 comments
Open
8 of 10 tasks

AttributeError: 'NoneType' object has no attribute 'GetObject #1390

ExploringAI opened this issue Jan 29, 2025 · 0 comments
Labels
needs triage Needs labels assigned. type | report | bug Confirmed bug in source code.

Comments

@ExploringAI
Copy link

ExploringAI commented Jan 29, 2025

Description

On Windows 11:

PS C:\Users\marko\AI\AGiXT_NEW\AGiXT> & C:/Python310/python.exe start.py                      
Please wait while AGiXT is starting, this can take several minutes...
Starting ezLocalai, this can take several minutes...
Executing: cd ezlocalai && git pull && cd ..
Already up to date.
Traceback (most recent call last):
  File "c:\Users\marko\AI\AGiXT_NEW\AGIXT\start.py", line 412, in <module>
    set_environment(env_updates=env_updates)
  File "c:\Users\marko\AI\AGiXT_NEW\AGIXT\start.py", line 269, in set_environment
    start_ezlocalai()
  File "c:\Users\marko\AI\AGiXT_NEW\AGIXT\start.py", line 362, in start_ezlocalai
    wmi = wim.GetObject("winmgmts:")
AttributeError: 'NoneType' object has no attribute 'GetObject'```

When I check Docker Logs:

2025-01-28 22:20:40 AGIXT_SHOW_CHAT_THEME_TOGGLES=""
2025-01-28 22:20:44
2025-01-28 22:20:44 changed 16 packages in 3s
2025-01-28 22:20:44
2025-01-28 22:20:44 24 packages are looking for funding
2025-01-28 22:20:44 run npm fund for details
2025-01-28 22:20:58
2025-01-28 22:20:58 > @agixt/[email protected] build
2025-01-28 22:20:58 > rm -rf ./.next && next build```

It loops right after this. I have already tried it with other versions of python. I am using Python 3.10.4. The issue first appeared after I ran python start.py with no problems followed by python start.py --with-ezlocalai true.

Operating System

  • Linux
  • Windows
  • MacOS

Acknowledgements

  • I am NOT trying to use localhost for providers running outside of the docker container.
  • I am NOT trying to run AGiXT outside of docker, the only supported method to run it.
  • Python 3.10.X is installed and the version in use on the host machine.
  • The latest version of Docker is installed and running on the host machine.
  • I am using the latest stable version of AGiXT.
  • I have provided enough information for the maintainers to reproduce and diagnose the issue.
  • I have searched the existing issues to make sure this bug has not been reported yet.
@ExploringAI ExploringAI added needs triage Needs labels assigned. type | report | bug Confirmed bug in source code. labels Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Needs labels assigned. type | report | bug Confirmed bug in source code.
Projects
None yet
Development

No branches or pull requests

1 participant