Open Road-Car opened 2 weeks ago
@Road-Car Hello there! I'm here to help you with any bugs, questions, or contributions you might have. Let's squash those bugs together! 🤖
I found a similar closed issue, [Bug]: Error when using ADetailer API, which was last updated on October 22, 2023. The suggested solution is to review the input payload and remove any fields that are not recognized by the ADetailerArgs
model [1].
The wrapper
function in traceback.py
is designed to provide enhanced error handling and reporting. It captures any exceptions raised by the wrapped function, gathers system information, input data, and specific details related to the ADetailer
module, and formats this information into a detailed, readable traceback using the rich
library. The function is designed to handle any kind of exception that might be raised during the execution of the wrapped function [2].
The error message "source code string cannot contain null bytes" typically occurs when Python encounters a null byte (\x00
) in a string that is being interpreted as source code. This can happen due to various reasons, such as corrupted files or incorrect handling of binary data. In the context of this project, it might be related to the ultralytics
library or the way files are being read or imported.
To resolve this issue, you can try the following steps:
ultralytics
, are corrupted. You can try re-downloading or re-installing the affected libraries.ultralytics
, are up-to-date. Sometimes, bugs are fixed in newer versions of libraries.If the issue persists, you might need to provide more details about the specific context in which the error occurs, such as the exact code or operations being performed when the error is raised.
To continue talking to Dosu, mention @dosu.
Try reinstalling venv.
Describe the bug
使用adetailer时候,出现 File "D:\sd-webui-aki-v4.8\extensions\adetailer\aaaaaa\traceback.py", line 173, in wrapper raise error from None
Steps to reproduce
No response
Screenshots
No response
Console logs, from start to end.
List of installed extensions
No response