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

自己编译的程序加载bt资源没有反应,终端有报错 #119

Closed
wuzhaohui100 opened this issue Jun 1, 2023 · 9 comments
Closed

Comments

@wuzhaohui100
Copy link

Description(required)

加载https://distro-images.kylinos.cn:8802/web_pungi/download/share/AEyuaFKWZiwXINV6e7RqgnhOzjpcsd1Y/Kylin-Desktop-V10-SP1-General-Release-2303-ARM64.iso.torrent没有反应,终端有如下报错。

App Version(required)

1.3.1

OS Version(required)

麒麟V10SP1,基于ubuntu20.04

Snapshots

Log

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'LateError' is not a subtype of type 'String'
#0 showErrorMessage (package:gopeed/util/message.dart:15)
#1 CreateView.build. (package:gopeed/app/modules/create/views/create_view.dart:83)

@wuzhaohui100 wuzhaohui100 changed the title 已经编译的程序加载bt资源没有反应,终端有报错 自己编译的程序加载bt资源没有反应,终端有报错 Jun 1, 2023
@monkeyWie
Copy link
Member

可以打印下接口的响应看看,在api.dart
image

@wuzhaohui100
Copy link
Author

可以打印下接口的响应看看,在api.dart image

修改后,重新编译,执行gopeed,加载torrent文件还是之前看到上面的日志

@monkeyWie
Copy link
Member

是不是没编译后端 .so 文件

@wuzhaohui100
Copy link
Author

是不是没编译后端 .so 文件

libgopeed.so文件吗?我重新拉取项目,添加上面的打印,重新编译了一下,还是只能看到之前的日志

@monkeyWie
Copy link
Member

monkeyWie commented Jun 1, 2023

你现在是debug模式下跑的吗,还是编译出release包跑的,release模式得用log打印,print应该是记录不到日志的

@wuzhaohui100
Copy link
Author

你现在是debug模式下跑的吗,还是编译出release包跑的,release模式得用log打印,print应该是记录不到日志的

编译出release跑的,怎么用debug模式跑呢

@wuzhaohui100
Copy link
Author

你现在是debug模式下跑的吗,还是编译出release包跑的,release模式得用log打印,print应该是记录不到日志的

编译出release跑的,怎么用debug模式跑呢

$ flutter run -d linux
Launching lib/main.dart on Linux in debug mode...
Building Linux application...
Gtk-Message: 14:17:05.867: Failed to load module "canberra-gtk-module"

(gopeed:504899): dbind-WARNING **: 14:17:06.562: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
flutter: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: │ Exception: listen tcp: address gopeed.sock: missing port in address
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ #0 init (package:gopeed/main.dart:32:12)
flutter: │ #1
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ ⛔ libgopeed init fail
flutter: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: │ LateInitializationError: Field '_client@661157683' has not been initialized.
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ #0 AppController.loadDownloaderConfig (package:gopeed/app/modules/app/controllers/app_controller.dart:110:14)
flutter: │ #1
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ ⚠️ load downloader config fail
flutter: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: │ LateInitializationError: Field '_client@661157683' has not been initialized.
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ #0 AppController.trackerUpdate (package:gopeed/app/modules/app/controllers/app_controller.dart:127:18)
flutter: │ #1
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ ⚠️ subscribe trackers fail, url: https://github.com/ngosang/trackerslist/raw/master/trackers_all.txt
flutter: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: │ LateInitializationError: Field '_client@661157683' has not been initialized.
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ #0 AppController.trackerUpdate (package:gopeed/app/modules/app/controllers/app_controller.dart:127:18)
flutter: │ #1
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ ⚠️ subscribe trackers fail, url: https://cdn.jsdelivr.net/gh/ngosang/trackerslist/trackers_all.txt
flutter: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: │ LateInitializationError: Field '_client@661157683' has not been initialized.
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ #0 AppController.trackerUpdate (package:gopeed/app/modules/app/controllers/app_controller.dart:127:18)
flutter: │ #1
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ ⚠️ subscribe trackers fail, url: https://hub.nuaa.cf/ngosang/trackerslist/raw/master/trackers_all.txt
flutter: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: │ Exception: subscribe trackers fail, network error
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ #0 AppController.trackerUpdateOnStart (package:gopeed/app/modules/app/controllers/app_controller.dart:163:16)
flutter: │ #1
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ ⚠️ tracker update fail
flutter: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: │ #0 onStart. (package:gopeed/main.dart:68:16)
flutter: │ #1 Iterable.forEach (dart:core/iterable.dart:325:35)
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ ⚠️ missing language: fa_IR, keys: (downloadLinkHit, downloadLinkHitDesktop, maxRunning)
flutter: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Syncing files to device Linux... 425ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on Linux is available at: http://127.0.0.1:38763/BTQn8g2sAks=/
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: LateInitializationError: Field '_client@661157683' has not been initialized.
#0 _client (package:gopeed/api/api.dart)
#1 getTasks. (package:gopeed/api/api.dart:102:13)
#2 _parse (package:gopeed/api/api.dart:74:27)
#3 getTasks (package:gopeed/api/api.dart:101:10)
#4 TaskListController.getTasksState (package:gopeed/app/modules/task/controllers/task_list_controller.dart:46:25)
#5 TaskListController.start (package:gopeed/app/modules/task/controllers/task_list_controller.dart:37:11)
#6 TaskListController.onInit (package:gopeed/app/modules/task/controllers/task_list_controller.dart:22:5)
#7 GetLifeCycleBase._onStart (package:get/get_instance/src/lifecycle.dart:66:5)
#8 InternalFinalCallback.call (package:get/get_instance/src/lifecycle.dart:12:26)
#9 GetInstance._startController (package:get/get_instance/src/get_instance.dart:253:16)
#10 GetInstance._initDependencies (package:get/get_instance/src/get_instance.dart:204:11)
#11 GetInstance.find (package:get/get_instance/src/get_instance.dart:301:17)
#12 GetView.controller (package:get/get_state_manager/src/simple/get_view.dart:38:37)
#13 TaskDownloadingView.build (package:gopeed/app/modules/task/views/task_downloading_view.dart:12:37)
#14 StatelessElement.build (package:flutter/src/widgets/framework.dart:5038:49)
#15 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4968:15)
#16 Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#17 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#18 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#19 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#20 Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#21 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993:16)
#22 Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#23 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#24 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#25 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#26 Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#27 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6377:14)
#28 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#29 Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#30 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6377:14)
#31 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#32 Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#33 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993:16)
#34 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133:11)
#35 Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#36 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#37 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5124:11)
#38 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#39 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#40 Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993:16)
#42 Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#43 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#44 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#45 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#46 Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#47 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993:16)
#48 Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#49 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#50 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#51 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#52 Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993:16)
#54 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133:11)
#55 Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#56 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#57 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5124:11)
#58 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#59 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#60 Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993:16)
#62 Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#63 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#64 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#65 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#66 Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#67 SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:1451:37)
#68 SliverMultiBoxAdaptorElement.createChild. (package:flutter/src/widgets/sliver.dart:1436:20)
#69 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2682:19)
#70 SliverMultiBoxAdaptorElement.createChild (package:flutter/src/widgets/sliver.dart:1428:12)
#71 RenderSliverMultiBoxAdaptor._createOrObtainChild. (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:353:23)
#72 RenderObject.invokeLayoutCallback. (package:flutter/src/rendering/object.dart:2300:59)
#73 PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:1056:15)
#74 RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:2300:14)
#75 RenderSliverMultiBoxAdaptor._createOrObtainChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:342:5)
#76 RenderSliverMultiBoxAdaptor.addInitialChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:428:5)
#77 RenderSliverFixedExtentBoxAdaptor.performLayout (package:flutter/src/rendering/sliver_fixed_extent_list.dart:205:12)
#78 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#79 RenderSliverEdgeInsetsPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:149:12)
#80 _RenderSliverFractionalPadding.performLayout (package:flutter/src/widgets/sliver_fill.dart:166:11)
#81 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#82 RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:550:13)
#83 RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1634:12)
#84 RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1541:20)
#85 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#86 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#87 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#88 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#89 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#90 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#91 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#92 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#93 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#94 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#95 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#96 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#97 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#98 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#99 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#100 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#101 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#102 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#103 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#104 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#105 MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:12)
#106 _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:1080:7)
#107 MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
#108 RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:410:14)
#109 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#110 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#111 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#112 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#113 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#114 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#115 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1467:11)
#116 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#117 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#118 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#119 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#120 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#121 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#122 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#123 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#124 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#125 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#126 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#127 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#128 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#129 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#130 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#131 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#132 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#133 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#134 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3815:13)
#135 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#136 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#137 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#138 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#139 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#140 _RenderTheatre.performLayout (package:flutter/src/widgets/overlay.dart:856:15)
#141 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#142 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#143 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#144 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#145 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#146 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#147 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#148 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#149 ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:56:11)
#150 RenderFlex._computeSizes (package:flutter/src/rendering/flex.dart:903:45)
#151 RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:938:32)
#152 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#153 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#154 MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:12)
#155 _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:1080:7)
#156 MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
#157 RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:410:14)
#158 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#159 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#160 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#161 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#162 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#163 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#164 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1467:11)
#165 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#166 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#167 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#168 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#169 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#170 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#171 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#172 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#173 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#174 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#175 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#176 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#177 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#178 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#179 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#180 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#181 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#182 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#183 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#184 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#185 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#186 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#187 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#188 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#189 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#190 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#191 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#192 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#193 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#194 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#195 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3815:13)
#196 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#197 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#198 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#199 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#200 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#201 _RenderTheatre.performLayout (package:flutter/src/widgets/overlay.dart:856:15)
#202 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#203 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#204 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#205 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#206 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#207 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#208 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#209 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#210 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#211 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#212 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#213 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#214 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#215 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#216 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#217 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#218 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#219 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#220 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#221 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#222 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#223 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#224 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#225 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#226 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#227 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#228 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#229 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#230 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#231 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#232 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#233 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#234 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#235 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#236 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#237 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#238 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3815:13)
#239 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#240 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#241 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#242 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#243 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#244 _RenderTheatre.performLayout (package:flutter/src/widgets/overlay.dart:856:15)
#245 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#246 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#247 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#248 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#249 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#250 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#251 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#252 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#253 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#254 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#255 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#256 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#257 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#258 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#259 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#260 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#261 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#262 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#263 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#264 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#265 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#266 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#267 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#268 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#269 RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#270 RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#271 RenderView.performLayout (package:flutter/src/rendering/view.dart:175:14)
#272 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2027:7)
#273 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1020:18)
#274 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:516:19)
#275 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:865:13)
#276 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#277 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#278 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#279 SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:942:7)
#280 Timer._createTimer. (dart:async-patch/timer_patch.dart:18:15)
#281 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#282 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#283 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)

The Flutter DevTools debugger and profiler on Linux is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:38763/BTQn8g2sAks=/
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'LateError' is not a subtype of type 'String'
#0 showErrorMessage (package:gopeed/util/message.dart:15:23)
#1 CreateView.build. (package:gopeed/app/modules/create/views/create_view.dart:83:31)

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'LateError' is not a subtype of type 'String'
#0 showErrorMessage (package:gopeed/util/message.dart:15:23)
#1 CreateView.build. (package:gopeed/app/modules/create/views/create_view.dart:83:31)

@monkeyWie
Copy link
Member

应该是少了环境,你按flutter官方的文档安装下试试:
https://flutter.cn/docs/desktop#additional-linux-requirements

@wuzhaohui100
Copy link
Author

应该是少了环境,你按flutter官方的文档安装下试试: https://flutter.cn/docs/desktop#additional-linux-requirements

重新部署开发环境之后可以了,感谢。

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