Giter Club home page Giter Club logo

trss-plugin's Issues

执行远程命令时的一点小问题

服务器win,trss-yunzai,前台运行
我在使用 rc + 任意Shell命令 后,前台的机器人窗口会突然缩小(看起来就像分辨率变低了)然后本来正常显示的中文被变成乱码,无论Shell命令执行成功或失败都会出现这个情况,有什么办法解决吗,或者有恢复窗口的方法吗。

IMG_20240718_073311.png

图片生成失败

图片修复错误:Error: Command failed: sh plugins/TRSS-Plugin/Real-ESRGAN/main.sh --fp32 --tile 100 -n RealESRGAN_x4plus -i 0.jpg
Traceback (most recent call last):
File "C:\Users\Administrator\Yunzai-Bot\plugins\TRSS-Plugin\Real-ESRGAN\inference_realesrgan.py", line 2, in
import cv2
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\real-esrgan-V3SKMrYJ-py3.10\lib\site-packages\cv2_init_.py", line 181, in
bootstrap()
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\real-esrgan-V3SKMrYJ-py3.10\lib\site-packages\cv2_init_.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed while importing cv2: �Ҳ���ָ����ģ�顣


以上是图片生成失败的信息,且返回了一张裂图

使用脚本安装语音合成功能时报错

系统版本为Debian 11.1 ,使用trss脚本一键安装语音合成时,提示报错The currently activated Python version 3.11.3 is not supported by the project (>=3.10,<3.11).Trying to find and use a compatible version. 是需要我在容器外部重新安装3.10吗

TypeError: Cannot read properties of undefined (reading 'startsWith')

[TRSSYz][01:11:53.844][ERRO] [unhandledRejection] TypeError: Cannot read properties of undefined (reading 'startsWith')
at Proxy.Buffer (file:///C:/Yunzai-Bot/Yunzai/lib/bot.js:313:14)
at Proxy.download (file:///C:/Yunzai-Bot/Yunzai/lib/bot.js:139:27)
at async RealESRGAN (file:///C:/Yunzai-Bot/Yunzai/plugins/TRSS-Plugin/Apps/RealESRGAN.js:77:17)
at async PluginsLoader.deal (file:///C:/Yunzai-Bot/Yunzai/lib/plugins/loader.js:205:19) {
[stack]: [Getter/Setter: "TypeError: Cannot read properties of undefined (reading 'startsWith')\n" +
' at Proxy.Buffer (file:///C:/Yunzai-Bot/Yunzai/lib/bot.js:313:14)\n' +
' at Proxy.download (file:///C:/Yunzai-Bot/Yunzai/lib/bot.js:139:27)\n' +
' at async RealESRGAN (file:///C:/Yunzai-Bot/Yunzai/plugins/TRSS-Plugin/Apps/RealESRGAN.js:77:17)\n' +
' at async PluginsLoader.deal (file:///C:/Yunzai-Bot/Yunzai/lib/plugins/loader.js:205:19)'],
[message]: "Cannot read properties of undefined (reading 'startsWith')"

这是为什么呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.