Closed wurkin closed 1 year ago
yeah, same error here:
Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Users\ledhe\Desktop\Auto-GPT\autogpt\__main__.py", line 5, in <module> autogpt.cli.main() File "C:\Users\ledhe\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ledhe\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Users\ledhe\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1635, in invoke rv = super().invoke(ctx) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\ledhe\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ledhe\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ledhe\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\decorators.py", line 26, in new_func return f(get_current_context(), *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ledhe\Desktop\Auto-GPT\autogpt\cli.py", line 96, in main run_auto_gpt( File "C:\Users\ledhe\Desktop\Auto-GPT\autogpt\main.py", line 142, in run_auto_gpt cfg.set_plugins(scan_plugins(cfg, cfg.debug_mode)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ledhe\Desktop\Auto-GPT\autogpt\plugins.py", line 238, in scan_plugins loaded_plugins.append(a_module()) ^^^^^^^^^^ File "C:\Users\ledhe\AppData\Local\Programs\Python\Python311\Lib\site-packages\abstract_singleton\__init__.py", line 14, in __call__ cls._instances[cls] = super().__call__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Can't instantiate abstract class AutoGPTAlpacaTraderPlugin with abstract methods can_handle_text_embedding, handle_text_embedding
I have added this to the init.py located at src/
def can_handle_text_embedding(self) -> bool: pass def handle_text_embedding(self) -> bool: pass
not sure if its going to break somthing but it got me past this error
fixed issue, apologies about the delay
fixed issue, apologies about the delay
Line 278 just needs a : on the end
/src/auto_gpt_alpacatrader_plugin/init.py
thanks for fixing
thanks idk how I missed that
Easy mistake mate, keep smashing it
On Fri, 16 Jun 2023, 17:09 Daniyal khan, @.***> wrote:
thanks idk how I missed that
— Reply to this email directly, view it on GitHub https://github.com/danikhan632/Auto-GPT-AlpacaTrader-Plugin/issues/13#issuecomment-1594925227, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWTL52YUNAR4QXVQFXBQBJTXLSAMPANCNFSM6AAAAAAZD3YXE4 . You are receiving this because you commented.Message ID: @.***>
this is the error I am getting. Installed everything fresh in a python virtual environment and still get this.
TypeError: Can't instantiate abstract class AutoGPTAlpacaTraderPlugin with abstract methods can_handle_text_embedding, handle_text_embedding