Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问下启动前端后报错是什么原因? #153

Closed
gameskyer opened this issue Jul 12, 2023 · 4 comments
Closed

请问下启动前端后报错是什么原因? #153

gameskyer opened this issue Jul 12, 2023 · 4 comments

Comments

@gameskyer
Copy link

报错内容如下

level=warning msg="load downloader config fail" error="LateInitializationError: Field '_client@1029157683' has not been initialized."
level=warning msg="subscribe trackers fail, url: https://github.com/ngosang/trackerslist/raw/master/trackers_all.txt" error="LateInitializationError: Field '_client@1029157683' has not been initialized."
level=warning msg="subscribe trackers fail, url: https://cdn.jsdelivr.net/gh/ngosang/trackerslist/trackers_all.txt" error="LateInitializationError: Field '_client@1029157683' has not been initialized."
level=warning msg="subscribe trackers fail, url: https://hub.nuaa.cf/ngosang/trackerslist/raw/master/trackers_all.txt" error="LateInitializationError: Field '_client@1029157683' has not been initialized."
level=warning msg="tracker update fail" error="Exception: subscribe trackers fail, network error"

版本是V1.3.4
按照构造windos指令编译

go build -tags nosqlite -ldflags="-w -s" -buildmode=c-shared -o ui/flutter/windows/libgopeed.dll github.com/GopeedLab/gopeed/bind/desktop
cd ui/flutter
flutter build windows

编译后运行ui\flutter\build\windows\runner\Release目录下的gopeed.exe

@monkeyWie
Copy link
Member

monkeyWie commented Jul 12, 2023

检查下ui/flutter/windows/libgopeed.dll库文件在不在,还有Release目录下也看看

@gameskyer
Copy link
Author

检查下ui/flutter/windows/libgopeed.dll库文件在不在,还有Release目录下也看看

ui/flutter/windows/libgopeed.dll和ui/flutter/build/windows/runner/Release/libgopeed.dll都存在

@monkeyWie
Copy link
Member

flutter的版本是不是3.10+,现在这个版本构建的会有问题

@gameskyer
Copy link
Author

我用的是3.10.5版本的flutter,一会换个3.7的试试,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants