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

Some target of URI don't exist #176

Open
danger-ahead opened this issue Nov 16, 2022 · 3 comments
Open

Some target of URI don't exist #176

danger-ahead opened this issue Nov 16, 2022 · 3 comments

Comments

@danger-ahead
Copy link

List of URIs that don't exist:

  1. drawer_viewmodel.dart,
  2. history_viewmodel.dart
  3. url_bottomsheet_view.dart

Log of flutter run --verbose:

[+5182 ms] [+5584 ms] lib/ui/views/History/history_view.dart:9:8: Error: Error when reading 'lib/ui/views/history/history_viewmodel.dart': No such file or directory
[        ] [   +3 ms] import 'package:rutorrentflutter/ui/views/history/history_viewmodel.dart';
[        ] [   +2 ms]        ^
[        ] [  +13 ms] lib/ui/widgets/dumb_widgets/floating_action_button_widget.dart:3:8: Error: Error when reading 'lib/ui/widgets/smart_widgets/URL_bottom_sheet/url_bottomsheet_view.dart': No
such file or directory
[        ] [        ] import 'package:rutorrentflutter/ui/widgets/smart_widgets/URL_bottom_sheet/url_bottomsheet_view.dart';
[        ] [        ]        ^
[        ] [   +2 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:9:8: Error: Error when reading 'lib/ui/widgets/smart_widgets/Drawer/drawer_viewmodel.dart': No such file or directory
[        ] [        ] import 'package:rutorrentflutter/ui/widgets/smart_widgets/Drawer/drawer_viewmodel.dart';
[        ] [        ]        ^
[  +98 ms] [        ] lib/ui/widgets/dumb_widgets/label_tile_widget.dart:3:8: Error: Error when reading 'lib/ui/widgets/smart_widgets/Drawer/drawer_viewmodel.dart': No such file or directory
[        ] [        ] import 'package:rutorrentflutter/ui/widgets/smart_widgets/Drawer/drawer_viewmodel.dart';
[        ] [        ]        ^
[        ] [   +2 ms] lib/ui/views/Download/download_view.dart:7:8: Error: Error when reading 'lib/ui/views/download/download_viewmodel.dart': No such file or directory
[        ] [   +4 ms] import 'package:rutorrentflutter/ui/views/download/download_viewmodel.dart';
[        ] [        ]        ^
[        ] [  +79 ms] lib/ui/views/History/history_view.dart:157:39: Error: Type 'HistoryViewModel' not found.
[        ] [        ]   _showRemoveDialog(String hashValue, HistoryViewModel model, context) {
[        ] [        ]                                       ^^^^^^^^^^^^^^^^
[   +1 ms] [        ] lib/ui/widgets/dumb_widgets/label_tile_widget.dart:6:9: Error: Type 'DrawerViewModel' not found.
[        ] [        ]   final DrawerViewModel model;
[   +1 ms] [        ]         ^^^^^^^^^^^^^^^
[ +395 ms] [ +306 ms] lib/ui/widgets/smart_widgets/bottom_sheets/bottom_sheet_setup.dart:88:19: Error: The method 'FlatButton' isn't defined for the class '_FloatingBoxBottomSheet'.
[        ] [        ]  - '_FloatingBoxBottomSheet' is from 'package:rutorrentflutter/ui/widgets/smart_widgets/bottom_sheets/bottom_sheet_setup.dart'
('lib/ui/widgets/smart_widgets/bottom_sheets/bottom_sheet_setup.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
[        ] [        ]                   FlatButton(
[   +1 ms] [   +1 ms]                   ^^^^^^^^^^
[  +97 ms] [ +165 ms] lib/ui/views/History/history_view.dart:19:29: Error: 'HistoryViewModel' isn't a type.
[        ] [        ]     return ViewModelBuilder<HistoryViewModel>.reactive(
[        ] [        ]                             ^^^^^^^^^^^^^^^^
[        ] [   +4 ms] lib/ui/views/History/history_view.dart:34:30: Error: The getter 'choices' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'choices'.
[        ] [        ]                 return model.choices
[        ] [        ]                              ^^^^^^^
[        ] [   +2 ms] lib/ui/views/History/history_view.dart:45:23: Error: The setter 'selectedChoice' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing setter, or defining a setter or field named 'selectedChoice'.
[        ] [        ]                 model.selectedChoice = choice;
[        ] [        ]                       ^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:47:29: Error: The method 'loadHistoryItems' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'loadHistoryItems'.
[   +1 ms] [        ]                     ? model.loadHistoryItems()
[        ] [        ]                             ^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:48:29: Error: The method 'loadHistoryItems' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'loadHistoryItems'.
[        ] [        ]                     : model.loadHistoryItems(
[        ] [        ]                             ^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:55:40: Error: The method 'refreshHistoryList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'refreshHistoryList'.
[        ] [        ]           onRefresh: () async => model.refreshHistoryList(),
[        ] [        ]                                        ^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:67:39: Error: The getter 'torrentHistoryDisplayList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'torrentHistoryDisplayList'.
[        ] [        ]                       'Files (${model.torrentHistoryDisplayList.value.length})',
[        ] [        ]                                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:71:25: Error: The getter 'isBusy' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'isBusy'.
[        ] [        ]                   model.isBusy
[        ] [        ]                         ^^^^^^
[        ] [   +6 ms] lib/ui/views/History/history_view.dart:73:32: Error: The getter 'torrentHistoryDisplayList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'torrentHistoryDisplayList'.
[        ] [        ]                       : (model.torrentHistoryDisplayList.value.length != 0)
[        ] [        ]                                ^^^^^^^^^^^^^^^^^^^^^^^^^
[  +91 ms] [  +14 ms] lib/ui/views/History/history_view.dart:75:54: Error: The getter 'torrentHistoryDisplayList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'torrentHistoryDisplayList'.
[        ] [        ]                               valueListenable: model.torrentHistoryDisplayList,
[        ] [        ]                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [  +12 ms] lib/ui/views/History/history_view.dart:140:31: Error: The method 'HistoryViewModel' isn't defined for the class 'HistoryView'.
[        ] [        ]  - 'HistoryView' is from 'package:rutorrentflutter/ui/views/History/history_view.dart' ('lib/ui/views/History/history_view.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'HistoryViewModel'.
[        ] [        ]       viewModelBuilder: () => HistoryViewModel(),
[        ] [        ]                               ^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:157:39: Error: 'HistoryViewModel' isn't a type.
[   +1 ms] [        ]   _showRemoveDialog(String hashValue, HistoryViewModel model, context) {
[        ] [        ]                                       ^^^^^^^^^^^^^^^^
[  +92 ms] [ +176 ms] lib/ui/widgets/smart_widgets/bottom_sheets/confirm_bottom_sheet/confirm_bottom_sheet_view.dart:53:15: Error: The method 'FlatButton' isn't defined for the class
'ConfirmBottomSheetView'.
[        ] [        ]  - 'ConfirmBottomSheetView' is from 'package:rutorrentflutter/ui/widgets/smart_widgets/bottom_sheets/confirm_bottom_sheet/confirm_bottom_sheet_view.dart'
('lib/ui/widgets/smart_widgets/bottom_sheets/confirm_bottom_sheet/confirm_bottom_sheet_view.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
[        ] [        ]               FlatButton(
[        ] [        ]               ^^^^^^^^^^
[ +101 ms] [  +63 ms] lib/ui/widgets/dumb_widgets/floating_action_button_widget.dart:23:24: Error: The method 'URLBottomSheetView' isn't defined for the class 'HomeViewFloatingActionButton'.
[        ] [        ]  - 'HomeViewFloatingActionButton' is from 'package:rutorrentflutter/ui/widgets/dumb_widgets/floating_action_button_widget.dart'
('lib/ui/widgets/dumb_widgets/floating_action_button_widget.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'URLBottomSheetView'.
[        ] [        ]                 return URLBottomSheetView(
[        ] [        ]                        ^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/dumb_widgets/floating_action_button_widget.dart:33:24: Error: The method 'URLBottomSheetView' isn't defined for the class 'HomeViewFloatingActionButton'.
[        ] [        ]  - 'HomeViewFloatingActionButton' is from 'package:rutorrentflutter/ui/widgets/dumb_widgets/floating_action_button_widget.dart'
('lib/ui/widgets/dumb_widgets/floating_action_button_widget.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'URLBottomSheetView'.
[        ] [        ]                 return URLBottomSheetView(
[        ] [        ]                        ^^^^^^^^^^^^^^^^^^
[        ] [   +2 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:18:29: Error: 'DrawerViewModel' isn't a type.
[        ] [        ]     return ViewModelBuilder<DrawerViewModel>.reactive(
[        ] [        ]                             ^^^^^^^^^^^^^^^
[        ] [   +4 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:19:38: Error: The method 'init' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'init'.
[   +1 ms] [        ]       onModelReady: (model) => model.init(),
[   +1 ms] [        ]                                      ^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:36:51: Error: The getter 'packageInfo' isn't defined for the class 'Object?'.
[   +1 ms] [        ]  - 'Object' is from 'dart:core'.
[   +3 ms] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'packageInfo'.
[        ] [        ]                     'Application version: ${model.packageInfo?.version ?? ""}',
[        ] [        ]                                                   ^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:46:41: Error: The getter 'diskSpace' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[   +1 ms] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'diskSpace'.
[   +1 ms] [        ]                     ShowDiskSpace(model.diskSpace),
[   +1 ms] [        ]                                         ^^^^^^^^^
[        ] [   +3 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:48:48: Error: The getter 'getAccountValueListenable' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[   +2 ms] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'getAccountValueListenable'.
[        ] [        ]                         valueListenable: model.getAccountValueListenable,
[        ] [        ]                                                ^^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:56:45: Error: The method 'getAccountsList' isn't defined for the class 'Object?'.
[   +1 ms] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'getAccountsList'.
[        ] [        ]                             children: model.getAccountsList(context),
[        ] [        ]                                             ^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:70:39: Error: The method 'filterTileList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'filterTileList'.
[        ] [        ]                       children: model.filterTileList(model),
[        ] [        ]                                       ^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:83:41: Error: The getter 'listOfLabels' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'listOfLabels'.
[        ] [        ]                       children: ((model.listOfLabels.value as List<String>)
[        ] [        ]                                         ^^^^^^^^^^^^
[        ] [   +1 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:95:42: Error: The method 'navigateToIRSSIScreen' isn't defined for the class 'Object?'.
[   +3 ms] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'navigateToIRSSIScreen'.
[        ] [        ]                       onTap: () => model.navigateToIRSSIScreen(),
[        ] [        ]                                          ^^^^^^^^^^^^^^^^^^^^^
[        ] [   +2 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:103:42: Error: The method 'navigateToHistoryScreen' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'navigateToHistoryScreen'.
[        ] [        ]                       onTap: () => model.navigateToHistoryScreen(),
[        ] [        ]                                          ^^^^^^^^^^^^^^^^^^^^^^^
[   +6 ms] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:111:42: Error: The method 'navigateToDiskExplorerScreen' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[   +2 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'navigateToDiskExplorerScreen'.
[  +48 ms] [        ]                       onTap: () => model.navigateToDiskExplorerScreen(),
[        ] [        ]                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:119:42: Error: The method 'navigateToSettingsScreen' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'navigateToSettingsScreen'.
[        ] [        ]                       onTap: () => model.navigateToSettingsScreen(),
[        ] [        ]                                          ^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:171:31: Error: The method 'DrawerViewModel' isn't defined for the class 'DrawerView'.
[        ] [        ]  - 'DrawerView' is from 'package:rutorrentflutter/ui/widgets/smart_widgets/drawer/drawer_view.dart' ('lib/ui/widgets/smart_widgets/drawer/drawer_view.dart').
[   +4 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'DrawerViewModel'.
[        ] [        ]       viewModelBuilder: () => DrawerViewModel(),
[        ] [        ]                               ^^^^^^^^^^^^^^^
[        ] [  +82 ms] lib/ui/widgets/dumb_widgets/label_tile_widget.dart:6:9: Error: 'DrawerViewModel' isn't a type.
[        ] [        ]   final DrawerViewModel model;
[        ] [        ]         ^^^^^^^^^^^^^^^
[        ] [   +4 ms] lib/ui/views/Download/download_view.dart:15:29: Error: 'DownloadViewModel' isn't a type.
[        ] [        ]     return ViewModelBuilder<DownloadViewModel>.reactive(
[        ] [        ]                             ^^^^^^^^^^^^^^^^^
[        ] [   +4 ms] lib/ui/views/Download/download_view.dart:17:26: Error: The getter 'onBackPress' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'onBackPress'.
[        ] [        ]         onWillPop: model.onBackPress,
[        ] [        ]                          ^^^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:24:35: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                   'Files (${model.filesList.length})',
[        ] [        ]                                   ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:28:22: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[   +5 ms] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]               (model.filesList.length != 0)
[        ] [        ]                      ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:31:42: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                         itemCount: model.filesList.length,
[        ] [        ]                                          ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:34:48: Error: The method 'openFile' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[   +1 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'openFile'.
[        ] [        ]                             onTap: () => model.openFile(index),
[        ] [        ]                                                ^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:36:39: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                                 model.filesList[index] is Directory
[        ] [        ]                                       ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:38:45: Error: The method 'getFileIcon' isn't defined for the class 'Object?'.
[   +1 ms] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'getFileIcon'.
[        ] [        ]                                     : model.getFileIcon(
[        ] [        ]                                             ^^^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:39:47: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[   +2 ms] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[   +2 ms] [        ]                                         model.filesList[index].path),
[        ] [        ]                                               ^^^^^^^^^
[        ] [   +1 ms] lib/ui/views/Download/download_view.dart:40:46: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                                 color: model.filesList[index] is Directory
[        ] [        ]                                              ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:44:37: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                               model.filesList[index].path.substring(
[        ] [        ]                                     ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:45:41: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                                   model.filesList[index].path.lastIndexOf('/') +
[        ] [        ]                                         ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:69:31: Error: The method 'DownloadViewModel' isn't defined for the class 'DownloadView'.
[        ] [        ]  - 'DownloadView' is from 'package:rutorrentflutter/ui/views/Download/download_view.dart' ('lib/ui/views/Download/download_view.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'DownloadViewModel'.
[        ] [        ]       viewModelBuilder: () => DownloadViewModel(),
[        ] [   +4 ms]                               ^^^^^^^^^^^^^^^^^
@Gitesg
Copy link

Gitesg commented Mar 5, 2023

is this issue resolved? if not assign me

@aryamanshrivastava
Copy link

Please @danger-ahead please assign this issue to me, I have already solved it.

@abhishek09827
Copy link

If not resolved assign me

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

4 participants