IAHispano / Applio

A simple, high-quality voice conversion tool focused on ease of use and performance
https://applio.org
MIT License
1.82k stars 294 forks source link

Exception in ASGI application while training #670

Closed likunrong-bodhi closed 2 months ago

likunrong-bodhi commented 2 months ago

Bug Description In short, error detail in file "errorlog.txt" ERROR: Exception in ASGI application AttributeError: pydantic_core_schema During handling of the above exception, another exception occurred: If you got this error by calling handler() within __get_pydantic_core_schema__ then you likely need to call handler.generate_schema(<some type>) since we do not call __get_pydantic_core_schema__ on <some type> otherwise to avoid infinite recursion.

Steps to Reproduce Outline the steps to replicate the issue:

  1. Run run-install.bat
  2. Run run-applio.bat
  3. Click Tab "Train"
  4. Checked "Dataset Creator"
  5. Browser said connection error
  6. Check cmd output it said Exception in ASGI application

Desktop Details:

Asset errorlog.txt DxDiag.txt warning while install python package same at https://github.com/IAHispano/Applio/issues/670#issuecomment-2333198725

github-actions[bot] commented 2 months ago

Thank you for your issue report. However, it appears that your issue description is missing the following required sections:

Please edit your issue to include all required information using our issue template. This helps us address your concern more effectively. If you need assistance with the template or have any questions, please join our Discord server for support.

This issue will be closed automatically. Feel free to reopen it once you've updated it with the required information.

github-actions[bot] commented 2 months ago

It appears that you're experiencing a connection error when trying to access the Dataset Creator tab in Applio. The Exception in ASGI application error in the cmd output suggests that there might be an issue with the application's server.

Could you please check the errorlog.txt file for any specific error messages or stacktraces that might help us diagnose the issue? Additionally, have you tried running Applio in a different browser or checking if there are any firewall or antivirus settings blocking the connection? Please refer to the official documentation at https://docs.applio.org for troubleshooting guides and ensure you're running the latest version of Applio.

github-actions[bot] commented 2 months ago

Thank you for your issue report. However, it appears that your issue description is missing the following required sections:

Please edit your issue to include all required information using our issue template. This helps us address your concern more effectively. If you need assistance with the template or have any questions, please join our Discord server for support.

This issue will be closed automatically. Feel free to reopen it once you've updated it with the required information.

github-actions[bot] commented 2 months ago

The error you're encountering seems to be related to an issue with the Pydantic schema generation. The error message suggests that the __get_pydantic_core_schema__ method is being called on a type that doesn't have a schema defined.

Could you please confirm if you have the latest version of Pydantic installed? Also, have you made any recent changes to your code or configuration that might be causing this issue?

In the meantime, you can try checking the official documentation for more information on schema generation and potential troubleshooting steps: https://docs.applio.org

Additionally, I'd like to request more details about the error log and the DxDiag output. Could you please share the contents of these files or provide more context about the error messages you're seeing?

Vidalnt commented 2 months ago

Download the zip again

Vidalnt commented 2 months ago

@likunrong-bodhi

github-actions[bot] commented 2 months ago

Thank you for your issue report. However, it appears that your issue description is missing the following required sections:

Please edit your issue to include all required information using our issue template. This helps us address your concern more effectively. If you need assistance with the template or have any questions, please join our Discord server for support.

This issue will be closed automatically. Feel free to reopen it once you've updated it with the required information.

github-actions[bot] commented 2 months ago

Thank you for your issue report. However, it appears that your issue description is missing the following required sections:

Please edit your issue to include all required information using our issue template. This helps us address your concern more effectively. If you need assistance with the template or have any questions, please join our Discord server for support.

This issue will be closed automatically. Feel free to reopen it once you've updated it with the required information.

github-actions[bot] commented 2 months ago

Thank you for your issue report. However, it appears that your issue description is missing the following required sections:

Please edit your issue to include all required information using our issue template. This helps us address your concern more effectively. If you need assistance with the template or have any questions, please join our Discord server for support.

This issue will be closed automatically. Feel free to reopen it once you've updated it with the required information.

likunrong-bodhi commented 2 months ago

Download the zip again

got it, i will try again

github-actions[bot] commented 2 months ago

Thank you for your issue report. However, it appears that your issue description is missing the following required sections:

Please edit your issue to include all required information using our issue template. This helps us address your concern more effectively. If you need assistance with the template or have any questions, please join our Discord server for support.

This issue will be closed automatically. Feel free to reopen it once you've updated it with the required information.

github-actions[bot] commented 2 months ago

Thank you for providing detailed information about the error you're experiencing. It seems like the issue is related to a Pydantic schema generation error in your ASGI application. However, to better assist you, I'd like to request more information.

Could you please provide the code snippet where the __get_pydantic_core_schema__ method is being called, or where you think the error might be originating from? Additionally, have you tried calling handler.generate_schema(<some type>) as suggested in the error message? If so, what were the results?

Also, I noticed that you've attached an error log file (errorlog.txt) and a diagnostic file (DxDiag.txt). While these files might be helpful, I'd like to ask if you've reviewed their contents and if there's anything specific in those files that you think might be relevant to the issue you're experiencing?

If you're looking for faster assistance, consider joining our support community on Discord, or please wait for a staff member to assist.

likunrong-bodhi commented 2 months ago

Download the zip again

just try both, zip file of 3.2.5 and 3.2.4 all the same problem, yes, error log are the same But i found that while installing python package, their are some warning appear Dont known if one of them cause this problem, i just list:

Ignoring pip: markers 'sys_platform == "darwin"' don't match your environment Ignoring wheel: markers 'sys_platform == "darwin"' don't match your environment Ignoring PyYAML: markers 'sys_platform == "darwin"' don't match your environment Ignoring omegaconf: markers 'sys_platform == "darwin"' don't match your environment Ignoring None: markers 'sys_platform == "linux"' don't match your environment Ignoring numba: markers 'sys_platform == "linux"' don't match your environment Ignoring certifi: markers 'sys_platform == "darwin"' don't match your environment Ignoring antlr4-python3-runtime: markers 'sys_platform == "darwin"' don't match your environment

WARNING: The candidate selected for download or install is a yanked version: 'requests' candidate (version 2.32.0 at https://files.pythonhosted.org/packages/24/e8/09e8d662a9675a4e4f5dd7a8e6127b463a091d2703ed931a64aa66d00065/requests-2.32.0-py3-none-any.whl (from https://pypi.org/simple/requests/) (requires-python:>=3.8)) Reason for being yanked: Yanked due to conflicts with CVE-2024-35195 mitigation

DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

github-actions[bot] commented 2 months ago

Thank you for your issue report. However, it appears that your issue description is missing the following required sections:

Please edit your issue to include all required information using our issue template. This helps us address your concern more effectively. If you need assistance with the template or have any questions, please join our Discord server for support.

This issue will be closed automatically. Feel free to reopen it once you've updated it with the required information.