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: module 'proto' has no attribute 'module' #6993

Closed
1 task done
GongXinyuu opened this issue Mar 8, 2024 · 2 comments
Closed
1 task done

AttributeError: module 'proto' has no attribute 'module' #6993

GongXinyuu opened this issue Mar 8, 2024 · 2 comments
Labels

Comments

@GongXinyuu
Copy link

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Linux

Which version of AutoGPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

I have followed the instruction to run

./run setup

And then

./run agent start autogpt

It throws an error

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "anaconda3/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "AutoGPT/autogpts/autogpt/autogpt/app/cli.py", line 8, in <module>
    from autogpt.logs.config import LogFormatName
  File "AutoGPT/autogpts/autogpt/autogpt/logs/__init__.py", line 1, in <module>
    from .config import configure_chat_plugins, configure_logging
  File "AutoGPT/autogpts/autogpt/autogpt/logs/config.py", line 21, in <module>
    from .formatters import AutoGptFormatter, StructuredLoggingFormatter
  File "AutoGPT/autogpts/autogpt/autogpt/logs/formatters.py", line 4, in <module>
    from google.cloud.logging_v2.handlers import CloudLoggingFilter, StructuredLogHandler
  File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/logging_v2/__init__.py", line 21, in <module>
    from google.cloud.logging_v2.client import Client
  File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/logging_v2/client.py", line 25, in <module>
    from google.cloud.logging_v2._helpers import _add_defaults_to_filter
  File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/logging_v2/_helpers.py", line 25, in <module>
    from google.cloud.logging_v2.entries import LogEntry
  File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/logging_v2/entries.py", line 32, in <module>
    import google.cloud.appengine_logging  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/appengine_logging/__init__.py", line 21, in <module>
    from google.cloud.appengine_logging_v1.types.request_log import (
  File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/appengine_logging_v1/__init__.py", line 21, in <module>
    from .types.request_log import LogLine, RequestLog, SourceLocation, SourceReference
  File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/appengine_logging_v1/types/__init__.py", line 16, in <module>
    from .request_log import LogLine, RequestLog, SourceLocation, SourceReference
  File ".cache/pypoetry/virtualenvs/agpt-v59C5pqk-py3.11/lib/python3.11/site-packages/google/cloud/appengine_logging_v1/types/request_log.py", line 25, in <module>
    __protobuf__ = proto.module(
                   ^^^^^^^^^^^^
AttributeError: module 'proto' has no attribute 'module'

Upload Activity Log Content

No response

Upload Error Log Content

No response

Copy link

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Apr 28, 2024
Copy link

github-actions bot commented May 9, 2024

This issue was closed automatically because it has been stale for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant