Skip to content

error after uploading to the hosting #2

@ghost

Description

 File "/root/TelegramAIBot/main.py", line 2, in <module>
    from async_openai import OpenAI, CompletionResponse
  File "/root/TelegramAIBot/venv/lib/python3.10/site-packages/async_openai/__init__.py", line 26, in <module>
    from async_openai.schemas.completions import CompletionChoice, CompletionObject, CompletionResponse
  File "/root/TelegramAIBot/venv/lib/python3.10/site-packages/async_openai/schemas/__init__.py", line 3, in <module>
    from async_openai.schemas.completions import CompletionChoice, CompletionObject, CompletionResponse
  File "/root/TelegramAIBot/venv/lib/python3.10/site-packages/async_openai/schemas/completions.py", line 5, in <module>
    from async_openai.types.resources import BaseResource
  File "/root/TelegramAIBot/venv/lib/python3.10/site-packages/async_openai/types/resources.py", line 8, in <module>
    from fileio import File, FileType
  File "/root/TelegramAIBot/venv/lib/python3.10/site-packages/fileio/__init__.py", line 6, in <module>
    from fileio.core.imports import pathlib
  File "/root/TelegramAIBot/venv/lib/python3.10/site-packages/fileio/core/__init__.py", line 3, in <module>
    from fileio.core.imports import pathlib
  File "/root/TelegramAIBot/venv/lib/python3.10/site-packages/fileio/core/imports.py", line 21, in <module>
    from fileio.aiopath.wrap import coro_as_method_coro, func_as_method_coro, to_thread, method_as_method_coro, func_to_async_func
  File "/root/TelegramAIBot/venv/lib/python3.10/site-packages/fileio/aiopath/wrap.py", line 12, in <module>
    _pool = futures.ThreadPoolExecutor(max_workers = settings.core.num_workers)
  File "/usr/lib/python3.10/concurrent/futures/thread.py", line 144, in __init__
    raise ValueError("max_workers must be greater than 0")
ValueError: max_workers must be greater than 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy