added
stringdate
2025-04-01 04:05:38
2025-04-01 07:14:06
created
timestamp[us]date
2001-10-09 16:19:16
2025-01-01 03:51:31
id
stringlengths
4
10
metadata
dict
source
stringclasses
2 values
text
stringlengths
0
1.61M
2025-04-01T06:38:41.994840
2022-11-29T12:39:58
1467999379
{ "authors": [ "exaby73", "solshuffle" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5986", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/116180" }
gharchive/issue
Add missing "Contact Emergency" icon Use case The Icon class does not include the Material Icon "contact_emergency" Proposal Update the Icon class to include this icon. /// <i class="material-icons md-36">contact_emergency</i> &#x2014; material icon named "contact emergency". static const IconData contact_emergency = IconData( ... , fontFamily: 'MaterialIcons'); Marking this as a duplicate of https://github.com/flutter/flutter/issues/99973
2025-04-01T06:38:41.996704
2022-11-30T00:17:44
1468872079
{ "authors": [ "goderbauer" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5987", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/116237" }
gharchive/issue
Don't use shrink wrap in our samples https://github.com/flutter/flutter/blob/fa063eb4ce4140dec9a887c3130239c68f7b713e/examples/api/lib/material/refresh_indicator/refresh_indicator.1.dart uses shrinkWrap, but really it shouldn't. Unfortunately, it is currently hard to achieve this effect without shrinkWrapping. We should implement whatever additional Slivers are needed to not require shrinkWrapping here (e.g. SliverDecoration). cc @Piinks @jonahwilliams (I removed shrinkWrapping from all of our other samples in https://github.com/flutter/flutter/pull/116236, this is the last remaining one.)
2025-04-01T06:38:42.004765
2022-12-16T18:48:22
1500703211
{ "authors": [ "huycozy", "pohuing" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5988", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/117222" }
gharchive/issue
Stretch overscroll on NestedScrollView does not ease back stretch on shapes Steps to Reproduce Run the example on a device that uses Stretching overscroll Try to overscroll Expected results: After letting go, the box decorations should ease back just like the body's contents Actual results: Instead they stay stuck at the highest stretch extent Code sample import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData(useMaterial3: true), home: const MyHomePage(), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({super.key}); @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { return Scaffold( body: NestedScrollView( headerSliverBuilder: (context, innerBoxIsScrolled) => [ SliverAppBar.large( title: const Text('I wish this worked'), ), ], body: ListView.separated( padding: EdgeInsets.zero, itemCount: 15, itemBuilder: (context, index) => ListTile( shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(16), ), tileColor: Theme.of(context).colorScheme.secondaryContainer, title: Text('$index'), ), separatorBuilder: (BuildContext context, int index) => const Divider(), ), ), ); } } Logs verbose log is too big for github issues >65536 characters Verbose log flutter analyze Analyzing stretchtest... No issues found! (ran in 3.2s) [] Flutter (Channel stable, 3.3.9, on Microsoft Windows [Version 10.0.22621.819], locale de-DE)  Flutter version 3.3.9 on channel stable at C:\Users\patri\flutter  Upstream repository https://github.com/flutter/flutter.git  Framework revision b8f7f1f986 (3 weeks ago), 2022-11-23 06:43:51 +0900  Engine revision 8f2221fbef  Dart version 2.18.5  DevTools version 2.15.0 [!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)  Android SDK at C:\Users\patri\AppData\Local\Android\sdk  Platform android-33, build-tools 33.0.0  Java binary at: C:\Users\patri\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\213.7172.25.2113.9123335\jre\bin\java  Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.1)  Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community  Visual Studio Community 2022 version 17.4.33110.190  Windows 10 SDK version 10.0.22000.0 [] Android Studio (version 2021.3)  Android Studio at C:\Users\patri\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\213.7172.25.2113.9123335  Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter  Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart  Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) [] IntelliJ IDEA Ultimate Edition (version 2022.2)  IntelliJ at C:\Users\patri\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\222.4345.14  Flutter plugin version 71.0.5  Dart plugin version 222.4345.14 [] VS Code (version 1.73.1)  VS Code at C:\Users\patri\AppData\Local\Programs\Microsoft VS Code  Flutter extension can be installed from: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [] Connected device (4 available)  Pixel 4a (mobile)  0B211JEC216722  android-arm64  Android 13 (API 33)  sdk gphone64 x86 64 (mobile)  emulator-5554  android-x64  Android 13 (API 33) (emulator)  Windows (desktop)  windows  windows-x64  Microsoft Windows [Version 10.0.22621.819]  Edge (web)  edge  web-javascript  Microsoft Edge 108.0.1462.42 [] HTTP Host Availability  All required HTTP hosts are available ! Doctor found issues in 2 categories. https://user-images.githubusercontent.com/24683548/208167048-6bfa97d2-0732-4020-b503-81770c182b49.mov Moved here from https://github.com/flutter/flutter/issues/82906 Hi @pohuing I see there's an open issue addressing the case you described https://github.com/flutter/flutter/issues/107964 and take a look at https://github.com/flutter/flutter/issues/107964#issuecomment-1191754151 that gave a workaround by wrapping the ListTile (or Ink) in Material. Please try the updated sample code below: Sample code (with workaround) import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData(useMaterial3: true), home: const MyHomePage(), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({super.key}); @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { return Scaffold( body: NestedScrollView( headerSliverBuilder: (context, innerBoxIsScrolled) => [ SliverAppBar.large( title: const Text('I wish this worked'), ), ], body: ListView.separated( padding: EdgeInsets.zero, itemCount: 15, itemBuilder: (context, index) => Material( child: ListTile( shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(16), ), tileColor: Theme.of(context).colorScheme.secondaryContainer, title: Text('$index'), ), ), separatorBuilder: (BuildContext context, int index) => const Divider(), ), ), ); } } Demo (with workaround) https://user-images.githubusercontent.com/104349824/208352035-802d4178-7993-4e76-a54e-ca0223847739.mp4 Closing this issue as a duplicate, so please follow up on it for further updates. You can leave there your comment and react an upvote to the original comment will help to raise the issue. If you disagree, please write in the comments and I will reopen it. Thank you!
2025-04-01T06:38:42.014491
2022-12-21T12:17:24
1506210997
{ "authors": [ "Mahm0ud-Ahmed", "aryaveer0710", "huycozy", "timdebruyn", "tomotoshi3" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5989", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/117453" }
gharchive/issue
GoRouter errorBuilder - routes stack is cleared and there is no possibility to pop to previous screen When you push some unknown route context.push('/someRoute'); errorBuilder widget is shown. But, there is no possibility to pop this error screen using leading icon of AppBar or system back button. This was possible in go_router version 3.1.1. So, with latest version of go_router there is no possibility to push errorBuilder screen? It behaves like 'go' and not like 'push' because that errorBuilder screen cleans all previous routes stack even if previous there were push and pushNamed routes. Previously with go_router version 3.1.1 I had: import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; void main() => runApp(const MyApp()); final GoRouter _router = GoRouter( routes: [ GoRoute( path: '/', builder: (BuildContext context, GoRouterState state) { return const HomeScreen(); }, routes: [ GoRoute( path: 'details', builder: (BuildContext context, GoRouterState state) { return const DetailsScreen(); }, ), ], ), ], ); class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return MaterialApp.router( routeInformationParser: _router.routeInformationParser, routerDelegate: _router.routerDelegate, ); } } class HomeScreen extends StatelessWidget { const HomeScreen({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Home Screen')), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ ElevatedButton( onPressed: () => context.push('/details'), child: const Text('Go to details screen'), ), ], ), ), ); } } class DetailsScreen extends StatelessWidget { const DetailsScreen({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Details Screen')), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <ElevatedButton>[ ElevatedButton( onPressed: () => context.push('/someRoute'), child: const Text('Go to unknown screen'), ), ], ), ), ); } } And stack was working fine. When you press in Details screen button, error screen is shown and you can pop back to details screen. And then back to home screen. With newer version of the go_router you can't pop back. Same code as previous, only change is additional line in MaterialApp: return MaterialApp.router( routeInformationProvider: _router.routeInformationProvider, routeInformationParser: _router.routeInformationParser, routerDelegate: _router.routerDelegate, ); @tomotoshi3 Please provide a completed and minimal reproducible code sample so that we may verify this. Thanks! Sample code is updated This issue is reproducible with the latest go_router: ^6.0.0. Labeling the issue for the team's attention. Thank you! Demo (go_router 6.0.0 vs 3.1.1) 6.0.0 3.1.1 flutter doctor -v (stable and master) [✓] Flutter (Channel stable, 3.3.10, on macOS 13.0.1 22A400 darwin-x64, locale en-VN) • Flutter version 3.3.10 on channel stable at /Users/huynq/Documents/GitHub/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 135454af32 (13 hours ago), 2022-12-15 07:36:55 -0800 • Engine revision 3316dd8728 • Dart version 2.18.6 • DevTools version 2.15.0 [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /Users/huynq/Library/Android/sdk • Platform android-33, build-tools 31.0.0 • ANDROID_HOME = /Users/huynq/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14B47b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) [✓] IntelliJ IDEA Community Edition (version 2022.1.1) • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart [✓] VS Code (version 1.73.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.54.0 [✓] Connected device (3 available) • SM T225 (mobile) • R9JT3004VRJ • android-arm64 • Android 12 (API 31) • macOS (desktop) • macos • darwin-x64 • macOS 13.0.1 22A400 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.124 [✓] HTTP Host Availability • All required HTTP hosts are available • No issues found! [!] Flutter (Channel master, 3.7.0-13.0.pre.38, on macOS 13.0.1 22A400 darwin-x64, locale en-VN) • Flutter version 3.7.0-13.0.pre.38 on channel master at /Users/huynq/Documents/GitHub/flutter_master ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path. ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path. • Upstream repository https://github.com/flutter/flutter.git • Framework revision ca7ca3b8f0 (3 hours ago), 2022-12-21 18:51:21 -0500 • Engine revision a90c45db3f • Dart version 3.0.0 (build 3.0.0-55.0.dev) • DevTools version 2.20.0 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades. [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /Users/huynq/Library/Android/sdk • Platform android-33, build-tools 31.0.0 • ANDROID_HOME = /Users/huynq/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14B47b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) [✓] IntelliJ IDEA Community Edition (version 2022.1.1) • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart [✓] VS Code (version 1.74.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.54.0 [✓] Connected device (2 available) • macOS (desktop) • macos • darwin-x64 • macOS 13.0.1 22A400 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.124 [✓] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 1 category. I'm also facing the same problem. Once error builder widget is there then i am not able to do context.push or context.go only context.pushReplacement is working Once error builder widget is there then i am not able to do context.push or context.go only context.pushReplacement is working I have this same issue
2025-04-01T06:38:42.016301
2023-02-13T18:50:28
1582878496
{ "authors": [ "eyebrowsoffire", "yjbanov" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5990", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/120616" }
gharchive/issue
[web] Re-organize web unit tests Our web unit tests have gotten pretty complicated with a lot of special casing. I made a proposal for re-organizing our tests into suites, which makes things more explicit and organized. This is done.
2025-04-01T06:38:42.021207
2023-02-25T00:22:36
1599438558
{ "authors": [ "lukehutch", "stuartmorgan" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5991", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/121436" }
gharchive/issue
[image_picker][documentation] ImagePicker does nothing without permission on Android Out of the box, image_picker does nothing on the Android emulator (does not open the gallery or camera). In the console, the following error is reported: Unhandled Exception: MissingPluginException(No implementation found for method pickImage on channel plugins.flutter.io/image_picker_android) The problem is that the documentation states Android: No configuration required - the plugin should work out of the box. However, in reality Android needs the following permission: <uses-permission android:name="android.permission.CAMERA" /> In fact, this permission is needed even if the app only uses ImagePicker.gallery, not ImagePicker.camera. Neither method works without this permission, and there is no visual indication in the app as to why it failed, you have to look at the logs and then google the error message to figure out you're missing a permission. The image_picker docs need to be fixed to state that this permission must be added to AndroidManifest.xml. you have to look at the logs and then google the error message to figure out you're missing a permission I'm not sure what you found indicating that error message is related to permissions, but whoever said that was incorrect. That error message means that there's no handler on the native side for the method you called; generally that means the plugin hasn't been registered at all. Even if there were code in image_picker that required manifest permissions (which is not the case), the error message is saying that none of that code even had a chance to run. Adding a permission could not possibly have fixed that error. However, it would have involved quitting the app, rebuilding it, and relaunching, and just that process could have (e.g., if you had tried adding the plugin while the app was already running and just hot reloading, which would cause that error). Closing as the premise of this report is incorrect. However, if you have a reproducible way of causing the error you listed, please file a new issue with details about that. I noticed the comment in the other issue that you linked to after posting my comment above; I've hidden it so that it doesn't cause similar confusion for others in the future.
2025-04-01T06:38:42.025545
2017-10-12T07:39:25
264842475
{ "authors": [ "InMatrix", "kunalshah", "xster" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5992", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/12504" }
gharchive/issue
Can't run flutter repo (in China) after cloning flutter repo Steps to Reproduce I just cloned flutter repo and then run the flutter command in order to download the all required dependencies. However, dependencies (e.g. dart sdk) can not be downloaded because google servers are blocked in China. It doesn't work with VPN as well! Is it possible to download the dependencies from github (instead of google servers), because github works well in China? Output: ➜ softwares flutter -v Downloading Dart SDK 1.25.0-dev.11.0... ** Resuming transfer from byte position 3497984 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:43 --:--:-- 0 curl: (35) Server aborted the SSL handshake Sorry about the inconvenience. We're investigating this issue, but it probably will take us some time to have a solution. Please watch #11681 to monitor progress. In the meantime, I'd suggest you seek help from other Flutter users in China on this forum: http://flutter-dev.cn/bbs/. Thanks! Cc: @kevmoo I imagine this is fixed now https://github.com/flutter/flutter/wiki/Using-Flutter-in-China
2025-04-01T06:38:42.038175
2023-06-12T11:19:59
1752516389
{ "authors": [ "dam-ease", "eng-mohamed-ibrahem" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5993", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/128688" }
gharchive/issue
flutter pub get Is there an existing issue for this? [X] I have searched the existing issues [X] I have read the guide to filing a bug Steps to reproduce Got socket error trying to find package nested at https://pub.dev. Expected results i can execute command flutter pub get Actual results run and get packages Code sample Code sample [Paste your code here] Screenshots or Video Screenshots / Video demonstration [Upload media here] Logs Logs [Paste your logs here] Flutter Doctor output Doctor output [Paste your output here] [√] Flutter (Channel stable, 3.10.4, on Microsoft Windows [Version 10.0.19045.2965], locale en-US) • Flutter version 3.10.4 on channel stable at C:\Flutter_Files_SDK • Upstream repository https://github.com/flutter/flutter.git • Framework revision 682aa387cf (7 days ago), 2023-06-05 18:04:56 -0500 • Engine revision 2a3401c9bb • Dart version 3.0.3 • DevTools version 2.23.1 [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.2) • Android SDK at C:\android_sdk • Platform android-33-ext5, build-tools 33.0.2 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [X] Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2022.1) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619) [√] VS Code (version 1.79.0) • VS Code at C:\Users\Mohamed Ibrahem\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.66.0 [√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.2965] • Chrome (web) • chrome • web-javascript • Google Chrome 114.0.5735.110 • Edge (web) • edge • web-javascript • Microsoft Edge 114.0.1823.43 [√] Network resources • All expected network resources are available. Hi @eng-mohamed-ibrahem . Can you provide more information on the issue you are facing? When opening an issue, please try to provide all or some of the information indicated in the template so that we can address this issue properly. (See Report a bug template).
2025-04-01T06:38:42.047762
2023-06-19T13:03:15
1763504347
{ "authors": [ "chinmaygarde", "darshankawar", "fzyzcjy" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5994", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/129118" }
gharchive/issue
[Impeller] Correct way of examining Impeller performance issues? Is there an existing issue for this? [X] I have searched the existing issues [X] I have read the guide to filing a bug Use case For triage: I guess this can be categorized as "proposal to add some doc" or "proposal to add some features for easy debugging". Background: I am experimenting Impeller and want to debug and fix the performance problems of my real app, and probably submit PRs if the slowness is from Impeller's code itself. However, I need to firstly know the best-practice of examining its performance issues. What I have searched: I have checked https://docs.flutter.dev/perf/impeller and https://github.com/flutter/engine/blob/main/impeller/docs/read_frame_captures.md, but I am not sure whether that's the correct thing to look at - for example, it may be bottlenecked by CPU work. The impeller says it is "Instrumentable", so I am not sure whether I can easily read a flamechart or whatever, with all tags clearly showing which part takes how much time (like "enhanced tracing" for widgets). Therefore, I am creating this issue, hoping to see how you (Impeller developers) debug performance issues in everyday life. I have also guessed I could use standard CPU profilers, but given that there are the helpful "enhanced tracing" feature for Flutter framework, I guess there could also been something like this for Impeller and it is just I do not know that yet. I am happy to make a PR, either to add doc (after I know and play with the correct approach), or to add some features for easy performance problem debugging. By the way, a side question: Where should I find the doc of Impeller? Currently I only found https://github.com/flutter/engine/tree/main/impeller and https://github.com/flutter/engine/tree/main/impeller/docs. And https://www.youtube.com/watch?v=vd5NqS01rlA video. Proposal see above Update: Thanks @jonahwilliams for replying on Discord. Quote the reply here for anyone needed: I would start by looking at devtools to verify that the performance issue is on the Raster thread. Then you can either run the Xcode CPU profilter to see what is taking so long on the raster thread. Though if the timeline traces show a lot of time in waitForNextDrawable, then the issue is usually on the GPU and you should instead look at frame captures @fzyzcjy Does above comment help to answer your original question of ways to examine impeller perforrmance issues ? @darshankawar Yes, I will firstly try that path. I am happy to contribute some doc if needed. Somehow related: An example of examining impeller slowness https://github.com/flutter/flutter/issues/129149#issuecomment-1598694268 I added wait label based on your previous comment or you can also close this until you complete your findings per your comment and reopen if required. I think this can be triaged as: feature / improvement of doc We use multiple profilers to analyze performance issues. Stuff like Xcode and Instruments (in which we label all GPU resources) and RenderDoc. Profiling workflows are documented separately in the docs folder but I am sure we can add to these. As far as one "correct" way to profile everything, I don't think there is one. It is workload and platform dependent. If the existing docs are insufficient, let us know. For specific work items related to documentation, there is a "Documentation" section in https://github.com/orgs/flutter/projects/21 that we can prioritize. Thank you!
2025-04-01T06:38:42.077836
2018-05-14T04:46:52
322671257
{ "authors": [ "AbhijitL", "lakziro", "zoechi" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5995", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/17561" }
gharchive/issue
No image asset location found I got an error saying no image location found here is the screenshot https://ibb.co/eqwi1J Logs [ +88 ms] [C:\flutter_windows_v0.3.2-beta\flutter\] git rev-parse --abbrev-ref --symbolic @{u} [ +125 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ +1 ms] origin/beta [ ] [C:\flutter_windows_v0.3.2-beta\flutter] git rev-parse --abbrev-ref HEAD [ +69 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] beta [ ] [C:\flutter_windows_v0.3.2-beta\flutter] git ls-remote --get-url origin [ +81 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ ] [C:\flutter_windows_v0.3.2-beta\flutter] git log -n 1 --pretty=format:%H [ +129 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] 44b7e7d3f42f050a79712daab253af06e9daf530 [ ] [C:\flutter_windows_v0.3.2-beta\flutter] git log -n 1 --pretty=format:%ar [ +67 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ ] 3 weeks ago [ ] [C:\flutter_windows_v0.3.2-beta\flutter] git describe --match v*.. --first-parent --long --tags [ +85 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags [ ] v0.3.2-0-g44b7e7d3f [ +743 ms] C:\Users\My\AppData\Local\Android\sdk\platform-tools\adb devices -l [ +41 ms] Exit code 0 from: C:\Users\My\AppData\Local\Android\sdk\platform-tools\adb devices -l [ ] List of devices attached [ +13 ms] No connected devices. [ +74 ms] "flutter run" took 681ms. #0 throwToolExit (package:flutter_tools/src/base/common.dart:28) #1 RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:256) #2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:312) #3 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:270) #4 AppContext.run. (package:flutter_tools/src/base/context.dart:142) #5 _rootRun (dart:async/zone.dart:1126) #6 _CustomZone.run (dart:async/zone.dart:1023) #7 runZoned (dart:async/zone.dart:1501) #8 AppContext.run (package:flutter_tools/src/base/context.dart:141) #9 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:261) #10 CommandRunner.runCommand (package:args/command_runner.dart:194) #11 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:309) #12 AppContext.run. (package:flutter_tools/src/base/context.dart:142) #13 _rootRun (dart:async/zone.dart:1126) #14 _CustomZone.run (dart:async/zone.dart:1023) #15 runZoned (dart:async/zone.dart:1501) #16 AppContext.run (package:flutter_tools/src/base/context.dart:141) #17 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265) #18 CommandRunner.run. (package:args/command_runner.dart:109) #19 new Future.sync (dart:async/future.dart:224) #20 CommandRunner.run (package:args/command_runner.dart:109) #21 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174) #22 run. (package:flutter_tools/runner.dart:54) #23 AppContext.run. (package:flutter_tools/src/base/context.dart:142) #24 _rootRun (dart:async/zone.dart:1126) #25 _CustomZone.run (dart:async/zone.dart:1023) #26 runZoned (dart:async/zone.dart:1501) #27 AppContext.run (package:flutter_tools/src/base/context.dart:141) #28 runInContext (package:flutter_tools/src/context_runner.dart:41) #29 run (package:flutter_tools/runner.dart:49) #30 main (package:flutter_tools/executable.dart:48) #31 main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8) #32 _startIsolate. (dart:isolate-patch/dart:isolate/isolate_patch.dart:277) #33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165) Running "flutter packages get" in flutter_login... Error on line 29, column 4 of pubspec.yaml: Expected a key while parsing a block mapping. assets: ^ pub get failed (65) flutter doctor -v [√] Flutter (Channel beta, v0.3.2, on Microsoft Windows [Version 10.0.15063], locale en-US) • Flutter version 0.3.2 at C:\flutter_windows_v0.3.2-beta\flutter • Framework revision 44b7e7d3f4 (3 weeks ago), 2018-04-20 01:02:44 -0700 • Engine revision 09d05a3891 • Dart version 2.0.0-dev.48.0.flutter-fe606f890b [√] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at C:\Users\My\AppData\Local\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02) • All Android licenses accepted. [√] Android Studio (version 3.1) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 24.2.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02) [√] IntelliJ IDEA Community Edition (version 2017.3) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.3.5 • Flutter plugin version 23.2.2 • Dart plugin version 173.4700 [√] VS Code, 64-bit edition (version 1.23.0) • VS Code at C:\Program Files\Microsoft VS Code • Dart Code extension version 2.12.1 [!] Connected devices ! No devices available ! Doctor found issues in 1 category. There is a space to many before assets:. It doesn't align with uses-material-design: thanks, it works @zoechi It doesn't work for the image it works only for the font here is the screenshot:- Please try flutter clean and then run again. @zoechi Nope I get the error again I got 1 warning The indentation is wrong. In YAML spaces are significant. I'd suggest you create a new project using flutter create and look up the indentation there (or check https://github.com/flutter/flutter/blob/master/examples/flutter_gallery/pubspec.yaml) stop your debugging. don't do hot reload. be course of that case could not recognize new repository. cancel debug and do debug again.
2025-04-01T06:38:42.080082
2018-08-11T00:34:23
349691357
{ "authors": [ "amirh", "rami-a", "shujames" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5996", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/20473" }
gharchive/issue
Default format for text counter in TextField doesn't properly support Arabic and Hebrew Default counter in TextField is hardcoded to [text length]/[max text length] In both Arabic and Hebrew, it looks like it should be flipped. [max text length]/[text length] As a native Hebrew speaker I think it should stay [text length] / [max text length] as numbers are read from left to right. Closing this then since it seems that TextField is doing the right thing per @amirh's comment
2025-04-01T06:38:42.140206
2018-10-26T05:45:05
374235021
{ "authors": [ "Benklins", "HarshEglesiaa", "Niek-Okido", "Parth1029", "Paulswith", "PocoMin", "Sly777", "SuperCup", "Suppppppp", "TakeEasyBoy", "VineetMaker", "Youzhigang", "aboutmydreams", "derekgithubs", "flutteradv", "gayanramyakumara", "irvingreece", "jonathar2605", "marianoarga", "nhhockeyplayer", "onemanstartup", "patelkrunal78", "prabh08", "rravithejareddy", "shaileshpanthee", "songyiYu", "succygoldbaji", "sumation", "werdlv", "xring", "yefeidd", "yibingxiong", "zoechi", "zuilintan" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5997", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/23553" }
gharchive/issue
Could not resolve all artifacts for configuration 'classpath' From URL: https://www.flutterchina.club/support.md Finished with error: Please review your Gradle project setup in the android/ folder. * Error running Gradle: ProcessException: Process "/Users/../Desktop/flutter_app/android/gradlew" exited abnormally: Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error. FAILURE: Build failed with an exception. * Where: Build file '/Users/../Desktop/flutter_app/android/app/build.gradle' line: 25 * What went wrong: A problem occurred evaluating project ':app'. > Could not resolve all artifacts for configuration 'classpath'. > Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 0s Command: /Users/../Desktop/flutter_app/android/gradlew app:properties` I have already done: buildscript { repositories { google() jcenter() maven { url 'https://dl.google.com/dl/android/maven2' } } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' } } Same here. This is fixed in master but not under stable release yet. For now, I would suggest switching to master branch and wait for the fix to be released. I am also struggling with this issue, so do i need to wait up to fix. Merging with #23404 same issue I solved the problem by moving : maven { url 'https://dl.google.com/dl/android/maven2' } in the top of: jcenter() in the file: .flutter/packages/flutter_tools/gradle/flutter.gradle : buildscript { repositories { maven { url 'https://dl.google.com/dl/android/maven2' } jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.1.2' } } same issue Solved by adding "google()" to gradle @Parth1029 It is solved! Thank you 👍 @Parth1029 thanks it works on my app as well! still i am facing issue. @ Parth1029 Great work! Thx. @Parth1029 still i am facing the issue form, i tried to adding google(), but still i am getting same issue. Upgrading Flutter should fix it @rravithejareddy I solved the problem. File->setting->build->Gradle->Android studio checked "Enable embedded Maven repository". gradle.properties set proxy org.gradle.jvmargs=-Xmx1536M systemProp.http.proxyHost=<IP_ADDRESS> systemProp.http.proxyPort=yourport systemProp.https.proxyHost=<IP_ADDRESS> systemProp.https.proxyPort=yourport I solved the problem.In android folder,edit build.gradle file like this: buildscript { repositories { google() mavenCentral() //add this line jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' } } It works. I solved the problem. File->setting->build->Gradle->Android studio checked "Enable embedded Maven repository". That's right! I have made all the possible changes but still I am facing this issue. Please help me. Here is I am getting while performing tns run A problem occurred configuring root project 'newAppo'. Could not resolve all artifacts for configuration ':classpath'. Could not resolve com.android.tools.build:gradle:3.4.1. Required by: project : Could not resolve com.android.tools.build:gradle:3.4.1. Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom'. Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom'. java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Could not resolve com.android.tools.build:gradle:3.4.1. Could not get resource 'https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom'. Could not GET 'https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom'. java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Could not resolve com.android.tools.build:gradle:3.4.1. Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom'. Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom'. java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. pls same issue. error message below: FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring project ':GkuonTestApplicationApp'. Could not resolve all artifacts for configuration ':GkuonTestApplicationApp:classpath'. Could not download robovm-dist-compiler.jar (com.gluonhq:robovm-dist-compiler:2.3.1-ios11) Could not get resource 'https://jcenter.bintray.com/com/gluonhq/robovm-dist-compiler/2.3.1-ios11/robovm-dist-compiler-2.3.1-ios11.jar'. Read timed out Could not download ecj.jar (org.eclipse.jdt.core.compiler:ecj:4.4) Could not get resource 'https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.4/ecj-4.4.jar'. Read timed out Hi, I have this problem when I try to execute a Serenity BDD project, I need to run from command line a gradle execution but generate that problem. $ gradle clean test aggregate FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'IVR'. Could not resolve all artifacts for configuration ':classpath'. Could not resolve net.serenity-bdd:serenity-gradle-plugin:2.0.49. Required by: project : Could not resolve net.serenity-bdd:serenity-gradle-plugin:2.0.49. Could not get resource 'https://jcenter.bintray.com/net/serenity-bdd/serenity-gradle-plugin/2.0.49/serenity-gradle-plugin-2.0.49.pom'. Could not HEAD 'https://jcenter.bintray.com/net/serenity-bdd/serenity-gradle-plugin/2.0.49/serenity-gradle-plugin-2.0.49.pom'. Connect to jcenter.bintray.com:443 [jcenter.bintray.com/<IP_ADDRESS>, jcenter.bintray.com/<IP_ADDRESS>] failed: Connection timed out: connect Could not resolve net.serenity-bdd:serenity-gradle-plugin:2.0.49. Could not get resource 'https://repo.maven.apache.org/maven2/net/serenity-bdd/serenity-gradle-plugin/2.0.49/serenity-gradle-plugin-2.0.49.pom'. Could not HEAD 'https://repo.maven.apache.org/maven2/net/serenity-bdd/serenity-gradle-plugin/2.0.49/serenity-gradle-plugin-2.0.49.pom'. Connect to repo.maven.apache.org:443 [repo.maven.apache.org/<IP_ADDRESS>] failed: Connection timed out: connect Could not resolve net.serenity-bdd:serenity-gradle-plugin:2.0.49. Could not get resource 'http://repo.maven.apache.org/maven2/net/serenity-bdd/serenity-gradle-plugin/2.0.49/serenity-gradle-plugin-2.0.49.pom'. Could not HEAD 'http://repo.maven.apache.org/maven2/net/serenity-bdd/serenity-gradle-plugin/2.0.49/serenity-gradle-plugin-2.0.49.pom'. Connect to repo.maven.apache.org:80 [repo.maven.apache.org/<IP_ADDRESS>] failed: Connection timed out: connect Could not resolve net.serenity-bdd:serenity-gradle-plugin:2.0.49. Could not get resource 'https://plugins.gradle.org/m2/net/serenity-bdd/serenity-gradle-plugin/2.0.49/serenity-gradle-plugin-2.0.49.pom'. Could not HEAD 'https://plugins.gradle.org/m2/net/serenity-bdd/serenity-gradle-plugin/2.0.49/serenity-gradle-plugin-2.0.49.pom'. Connect to plugins.gradle.org:443 [plugins.gradle.org/<IP_ADDRESS>, plugins.gradle.org/<IP_ADDRESS>] failed: Connection timed out: connect Could not resolve net.serenity-bdd:serenity-emailer:2.0.49. Required by: project : Could not resolve net.serenity-bdd:serenity-emailer:2.0.49. Could not get resource 'https://jcenter.bintray.com/net/serenity-bdd/serenity-emailer/2.0.49/serenity-emailer-2.0.49.pom'. Could not HEAD 'https://jcenter.bintray.com/net/serenity-bdd/serenity-emailer/2.0.49/serenity-emailer-2.0.49.pom'. Connect to jcenter.bintray.com:443 [jcenter.bintray.com/<IP_ADDRESS>, jcenter.bintray.com/<IP_ADDRESS>] failed: Connection timed out: connect Could not resolve net.serenity-bdd:serenity-emailer:2.0.49. Could not get resource 'https://repo.maven.apache.org/maven2/net/serenity-bdd/serenity-emailer/2.0.49/serenity-emailer-2.0.49.pom'. Could not HEAD 'https://repo.maven.apache.org/maven2/net/serenity-bdd/serenity-emailer/2.0.49/serenity-emailer-2.0.49.pom'. Connect to repo.maven.apache.org:443 [repo.maven.apache.org/<IP_ADDRESS>] failed: Connection timed out: connect Could not resolve net.serenity-bdd:serenity-emailer:2.0.49. Could not get resource 'http://repo.maven.apache.org/maven2/net/serenity-bdd/serenity-emailer/2.0.49/serenity-emailer-2.0.49.pom'. Could not HEAD 'http://repo.maven.apache.org/maven2/net/serenity-bdd/serenity-emailer/2.0.49/serenity-emailer-2.0.49.pom'. Connect to repo.maven.apache.org:80 [repo.maven.apache.org/<IP_ADDRESS>] failed: Connection timed out: connect Could not resolve net.serenity-bdd:serenity-emailer:2.0.49. Could not get resource 'https://plugins.gradle.org/m2/net/serenity-bdd/serenity-emailer/2.0.49/serenity-emailer-2.0.49.pom'. Could not HEAD 'https://plugins.gradle.org/m2/net/serenity-bdd/serenity-emailer/2.0.49/serenity-emailer-2.0.49.pom'. Connect to plugins.gradle.org:443 [plugins.gradle.org/<IP_ADDRESS>, plugins.gradle.org/<IP_ADDRESS>] failed: Connection timed out: connect Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org BUILD FAILED in 6m 31s Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\Micro Focus\Unified Functional Testing\bin\java_shared\classes\jasmine.jar" And this is my build.gradle buildscript { repositories { mavenLocal() jcenter() mavenCentral() maven {url = 'http://repo.maven.apache.org/maven2'} } dependencies { classpath "net.serenity-bdd:serenity-gradle-plugin:2.0.49" classpath "net.serenity-bdd:serenity-emailer:2.0.49" } } plugins { // Apply the java-library plugin to add support for Java Library id 'java-library' } repositories { // Use jcenter for resolving your dependencies. // You can declare any Maven/Ivy/file repository here. mavenLocal() jcenter() } apply plugin: 'net.serenity-bdd.aggregator' apply plugin: 'java' apply plugin: 'eclipse' defaultTasks = ['clean', 'build'] tasks.withType(Test) { reports.html.destination = new File('IVR', name) println(it.name + '\t' + reports.html.destination) scanForTestClasses = false include "**/*Runner.class" // whatever Ant pattern matches your test class files } dependencies { // This dependency is exported to consumers, that is to say found on their compile classpath. api 'org.apache.commons:commons-math3:3.6.1' // This dependency is used internally, and not exposed to consumers on their own compile classpath. implementation 'com.google.guava:guava:26.0-jre' // Use JUnit test framework testImplementation 'junit:junit:4.12' compile group: 'org.apache.poi', name: 'poi-ooxml-schemas', version: '4.1.0' compile group: 'org.apache.poi', name: 'poi-ooxml', version: '4.1.0' compile group: 'org.apache.poi', name: 'poi', version: '4.1.0' compile group: 'net.serenity-bdd', name: 'serenity-reports', version: '2.0.49' compile group: 'net.serenity-bdd', name: 'serenity-model', version: '2.0.49' compile group: 'net.serenity-bdd', name: 'serenity-junit', version: '2.0.49' compile group: 'net.serenity-bdd', name: 'serenity-core', version: '2.0.49' compile group: 'net.serenity-bdd', name: 'serenity-cucumber', version: '1.9.31' compile group: 'org.slf4j', name: 'slf4j-api', version: '1.8.0-beta4' testCompile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.8.0-beta4' compile group: 'net.serenity-bdd', name: 'serenity-gradle-plugin', version: '1.9.36' compile group: 'net.serenity-bdd', name: 'serenity-emailer', version: '1.9.36' } serenity { reports = ["email"] } test.finalizedBy(aggregate) Please help me, with this problem I run it on vs code and throws the same problem. like below: * Get more help at https://help.gradle.org BUILD FAILED in 30s Command: /Users/dobby/Dropbox/Code/Android/VSFlutter/hello_flutter/android/gradlew app:properties Open terminal goes to /path/to/your/app/android, run above command with proxy configs, and it resolved. ./gradlew app:properties -Dhttp.proxyHost=<IP_ADDRESS> -Dhttp.proxyPort=1087 -Dhttps.proxyHost=<IP_ADDRESS> -Dhttps.proxyPort=1087 --debug TakeEasyBoy's suggestion worked for me. Thanks. This Can Help You ? https://icetutor.com/question/libusbmuxd-version-error-during-flutter-install/ Go to cordova-support-google-services/app-build.gradle, replace maventCentral() with maven { url "https://maven.google.com" } maven { url 'https://dl.bintray.com/kotlin/kotlin-eap'} Credits to hunijkah in https://stackoverflow.com/questions/58529904/error-could-not-find-org-jetbrains-kotlinkotlin-stdlib-jdk81-3-60-eap-25-in-i Got the same issue.anyone can help me..please. I did everything that written this page but it doesn't work. Last, I tried to update so it worked. If you tried all the way but when it doesn't work, try update flutter @TakeEasyBoy not work. I'm dying @Parth1029 not work. I'm dying really. @Suppppppp I updated flutter 1.9.1+hotfix.6 , but it doesn't work also. what your flutter version. Flutter 1.9.1+hotfix.6 • channel stable • https://github.com/flutter/flutter.git Framework • revision 68587a0916 (7 weeks ago) • 2019-09-13 19:46:58 -0700 Engine • revision b863200c37 Tools • Dart 2.5.0 not work. I'm dying really too I faced this error after upgrading to Flutter 1.12.13+hotfix.5 : Could not resolve all artifacts for configuration ':app:debugCompileClasspath'. > Could not download flutter_embedding_debug.jar (io.flutter:flutter_embedding_debug:1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695) > Could not get resource 'http://download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695/flutter_embedding_debug-1.0.0-2994f7e1e682039464cb25e31a78b86a3c59b695.jar'. @flutteradv Update flutter, Accept android licences flutter doctor --android-licenses, run flutter clean thnaks a lot now I need to migrate to androidX I solved the problem by moving : maven { url 'https://dl.google.com/dl/android/maven2' } in the top of: jcenter() in the file: .flutter/packages/flutter_tools/gradle/flutter.gradle : buildscript { repositories { maven { url 'https://dl.google.com/dl/android/maven2' } jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.1.2' } } I couldn't find the file .flutter. Do I look it into the app directory for the .flutter dir. I solved the problem.In android folder,edit build.gradle file like this: buildscript { repositories { google() mavenCentral() //add this line jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' } } It works. stackoverflow link It Worked! I solved the problem by moving : maven { url 'https://dl.google.com/dl/android/maven2' } in the top of: jcenter() in the file: .flutter/packages/flutter_tools/gradle/flutter.gradle : buildscript { repositories { maven { url 'https://dl.google.com/dl/android/maven2' } jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.1.2' } } I couldn't find the file .flutter. Where is the .flutter dir located? .flutter is just a convention, here '.flutter' is the path where you extracted or installed flutter in your system. Hope this helps you. edit the following in build.gradle : buildscript { repositories { jcenter() mavenCentral() #add google() #add } .... } Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'. i Dont know why am getting this error...... THIS IS MY build.gradle pls i dont know what to do // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.6.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir } I solved it by.... go to search icon on the top-right corner and search for "Execute Gradle Task". click on result "Execute Gradle Task" after it appear , And you'll be given sort of options. NOTE: Now make sure you have internet. double click on "gradle mergeDexRelease" among the other options. .....Now wait for it to finish download some stuffs, then you are good...... It worked for me, i'm using Windows... @gayanramyakumara I am also facing same issue can i know how you solved this issue. i went with capacitor
2025-04-01T06:38:42.145187
2018-12-01T20:21:10
386494070
{ "authors": [ "yathit", "zoechi" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5998", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/24905" }
gharchive/issue
showDatePicker overflow in small screen Steps to Reproduce Use a small screen emulator like - Nexus S (460 x 800) Run flutter_gallery app and run Picker demo Pick date has overflow error Logs I/zygote (23274): Do partial code cache collection, code=30KB, data=26KB I/zygote (23274): After code cache collection, code=30KB, data=26KB I/zygote (23274): Increasing code cache capacity to 128KB I/flutter (23274): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ I/flutter (23274): The following message was thrown during layout: I/flutter (23274): A RenderFlex overflowed by 39 pixels on the bottom. I/flutter (23274): I/flutter (23274): The overflowing RenderFlex has an orientation of Axis.vertical. I/flutter (23274): The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and I/flutter (23274): black striped pattern. This is usually caused by the contents being too big for the RenderFlex. I/flutter (23274): Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the I/flutter (23274): RenderFlex to fit within the available space instead of being sized to their natural size. I/flutter (23274): This is considered an error condition because it indicates that there is content that cannot be I/flutter (23274): seen. If the content is legitimately bigger than the available space, consider clipping it with a I/flutter (23274): ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, I/flutter (23274): like a ListView. I/flutter (23274): The specific RenderFlex in question is: I/flutter (23274): RenderFlex#21475 relayoutBoundary=up7 OVERFLOWING I/flutter (23274): creator: Column ← SizedBox ← LayoutBuilder ← OrientationBuilder ← DefaultTextStyle ← I/flutter (23274): AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#e781f ink renderer] ← I/flutter (23274): NotificationListener<LayoutChangedNotification> ← CustomPaint ← _ShapeBorderPaint ← PhysicalShape I/flutter (23274): ← _MaterialInterior ← ⋯ I/flutter (23274): parentData: <none> (can use size) I/flutter (23274): constraints: BoxConstraints(w=240.0, 0.0<=h<=461.3) I/flutter (23274): size: Size(240.0, 461.3) I/flutter (23274): direction: vertical I/flutter (23274): mainAxisAlignment: start I/flutter (23274): mainAxisSize: min I/flutter (23274): crossAxisAlignment: stretch I/flutter (23274): verticalDirection: down I/flutter (23274): ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤ I/flutter (23274): ════════════════════════════════════════════════════════════════════════════════════════════════════ Analyzer [√] Flutter (Channel beta, v0.11.13, on Microsoft Windows [Version 10.0.17134.376], locale en-SG) • Flutter version 0.11.13 at C:\app\flutter • Framework revision 58c8489fcd (2 days ago), 2018-11-29 19:20:18 -0500 • Engine revision 7375a0f414 • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297) [√] Android toolchain - develop for Android devices (Android SDK 28.0.3) • Android SDK at C:\Users\k\AppData\Local\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) • All Android licenses accepted. [√] Android Studio (version 3.2) • Android Studio at C:\Program Files\Android\Android Studio X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) [√] IntelliJ IDEA Ultimate Edition (version 2018.2) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.5 • Flutter plugin version 30.0.2 • Dart plugin version 182.5124 [!] VS Code (version 1.29.1) • VS Code at C:\Users\k\AppData\Local\Programs\Microsoft VS Code • Flutter extension not installed; install from https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [√] Connected device (1 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator) ! Doctor found issues in 1 category. Merging with #21383
2025-04-01T06:38:42.170741
2018-12-14T04:23:35
390960530
{ "authors": [ "AliSayed", "Smarto-Dev", "amirh", "dakamojo", "knitero", "mavr301", "myriky", "pedrosalesmiranda", "phaniteja1", "piyushsinha24", "rakeshlanjewarwork", "realcarlos", "skylineproject", "woutervanwijk", "zoechi", "zxl777" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:5999", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/25351" }
gharchive/issue
[WebView] Does not follow redirects. The webview_flutter plugin does not appear to follow redirects. It simply displays a blank white page. This is an example of a URL that has a redirect for the flutter.io website. (this is a Google Ad link) https://www.googleadservices.com/pagead/aclk?sa=L&ai=DChcSEwis9JrFup7fAhVbuMAKHTNtA5gYABAAGgJpbQ&ohost=www.google.com&cid=CAESQeD2UsU5H7fGhUZOPtY-kPyuOuLkiFu02AYGI7ZI1pHvfjhZaQhzWkZiIC9SuCSp_y7E9WnDpUNypnNzx0oBS6Nm&sig=AOD64_2AaG88ZD2HKakgg_Zdck7rnkTkZA&q=&ved=2ahUKEwjrpJHFup7fAhXMi60KHSYZD4QQ0Qx6BAgPEAE&adurl= Experiencing the same issue! Any update on this issue? This is just a little hack for android for this issue. not to use in production because i don't know the side effect of this code. taken from this answer steps:- step1:- Clone webview_flutter repo. step2:- edit packages/webview_flutter/android/src/main/java/io/flutter/plugins/webviewflutter/FlutterWebView.java add this bold styled text to existing code like this. package io.flutter.plugins.webviewflutter; import android.content.Context; import android.view.View; import android.webkit.WebView; **import android.webkit.WebViewClient;** import io.flutter.plugin.common.BinaryMessenger; import io.flutter.plugin.common.MethodCall; import io.flutter.plugin.common.MethodChannel; import io.flutter.plugin.common.MethodChannel.MethodCallHandler; import io.flutter.plugin.common.MethodChannel.Result; import io.flutter.plugin.platform.PlatformView; import java.util.List; import java.util.Map; public class FlutterWebView implements PlatformView, MethodCallHandler { private static final String JS_CHANNEL_NAMES_FIELD = "javascriptChannelNames"; private final WebView webView; private final MethodChannel methodChannel; @SuppressWarnings("unchecked") FlutterWebView(Context context, BinaryMessenger messenger, int id, Map<String, Object> params) { webView = new WebView(context); **webView.setWebViewClient(new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { return false; } });** methodChannel = new MethodChannel(messenger, "plugins.flutter.io/webview_" + id); methodChannel.setMethodCallHandler(this); applySettings((Map<String, Object>) params.get("settings")); if (params.containsKey(JS_CHANNEL_NAMES_FIELD)) { registerJavaScriptChannelNames((List<String>) params.get(JS_CHANNEL_NAMES_FIELD)); } if (params.containsKey("initialUrl")) { String url = (String) params.get("initialUrl"); webView.loadUrl(url); } } @Override public View getView() { return webView; } @Override public void onMethodCall(MethodCall methodCall, Result result) { switch (methodCall.method) { case "loadUrl": loadUrl(methodCall, result); break; case "updateSettings": updateSettings(methodCall, result); break; case "canGoBack": canGoBack(methodCall, result); break; case "canGoForward": canGoForward(methodCall, result); break; case "goBack": goBack(methodCall, result); break; case "goForward": goForward(methodCall, result); break; case "reload": reload(methodCall, result); break; case "currentUrl": currentUrl(methodCall, result); break; case "evaluateJavascript": evaluateJavaScript(methodCall, result); break; case "addJavascriptChannels": addJavaScriptChannels(methodCall, result); break; case "removeJavascriptChannels": removeJavaScriptChannels(methodCall, result); break; default: result.notImplemented(); } } private void loadUrl(MethodCall methodCall, Result result) { String url = (String) methodCall.arguments; webView.loadUrl(url); result.success(null); } private void doJavascriptRedirect(MethodCall methodCall, Result result) { String url = (String) methodCall.arguments; webView.loadUrl(url); result.success(null); } private void canGoBack(MethodCall methodCall, Result result) { result.success(webView.canGoBack()); } private void canGoForward(MethodCall methodCall, Result result) { result.success(webView.canGoForward()); } private void goBack(MethodCall methodCall, Result result) { if (webView.canGoBack()) { webView.goBack(); } result.success(null); } private void goForward(MethodCall methodCall, Result result) { if (webView.canGoForward()) { webView.goForward(); } result.success(null); } private void reload(MethodCall methodCall, Result result) { webView.reload(); result.success(null); } private void currentUrl(MethodCall methodCall, Result result) { result.success(webView.getUrl()); } @SuppressWarnings("unchecked") private void updateSettings(MethodCall methodCall, Result result) { applySettings((Map<String, Object>) methodCall.arguments); result.success(null); } private void evaluateJavaScript(MethodCall methodCall, final Result result) { String jsString = (String) methodCall.arguments; if (jsString == null) { throw new UnsupportedOperationException("JavaScript string cannot be null"); } webView.evaluateJavascript( jsString, new android.webkit.ValueCallback<String>() { @Override public void onReceiveValue(String value) { result.success(value); } }); } @SuppressWarnings("unchecked") private void addJavaScriptChannels(MethodCall methodCall, Result result) { List<String> channelNames = (List<String>) methodCall.arguments; registerJavaScriptChannelNames(channelNames); result.success(null); } @SuppressWarnings("unchecked") private void removeJavaScriptChannels(MethodCall methodCall, Result result) { List<String> channelNames = (List<String>) methodCall.arguments; for (String channelName : channelNames) { webView.removeJavascriptInterface(channelName); } result.success(null); } private void applySettings(Map<String, Object> settings) { for (String key : settings.keySet()) { switch (key) { case "jsMode": updateJsMode((Integer) settings.get(key)); break; default: throw new IllegalArgumentException("Unknown WebView setting: " + key); } } } private void updateJsMode(int mode) { switch (mode) { case 0: // disabled webView.getSettings().setJavaScriptEnabled(false); break; case 1: // unrestricted webView.getSettings().setJavaScriptEnabled(true); break; default: throw new IllegalArgumentException("Trying to set unknown JavaScript mode: " + mode); } } private void registerJavaScriptChannelNames(List<String> channelNames) { for (String channelName : channelNames) { webView.addJavascriptInterface( new JavaScriptChannel(methodChannel, channelName), channelName); } } @Override public void dispose() {} } step3:- copy updated plugin in your project and update path in pubspec.yaml like this webview_flutter: path: webview_flutter Note:- webview_flutter is the plugin folder inside the apps root directory /myapp/webview_flutter step4:- compile PS. server side redirects are working @zoechi can i make a pull request regarding this ? What you say ? @rakeshlanjewarwork sure, go ahead 👍 thanks , pushing... @rakeshlanjewarwork We are waiting for your pull request, thank you. i have made a pull request on same day. https://github.com/flutter/plugins/pull/1197 Could you try VS CODE - Command - Format Document ? I also need this fix , could you try again ? Thank you very much. @realcarlos I have tried to pull request but due to some problems about formatting of code the CI build is failing. If you can make a pull please see here https://github.com/flutter/plugins/pull/1243 Need this fix badly! @zoechi could you Kindly help to merge it? thank you facing same issue, white blank screen on ios Hi all, I just ran into this same issue, and it looks like the underlying issue is that these are redirects from HTTP to HTTPS. On iOS, for example, we have to add these domains to our App Transport Security exception list (e.g.: https://stackoverflow.com/questions/30731785/how-do-i-load-an-http-url-with-app-transport-security-enabled-in-ios-9) @skylineproject same issue here (just tested on Android) can anyone tell me what they did to fix? I tried @rakeshlanjewarwork solution but without success (file was not exactly has described here not sure if that is the problem) ... any help would be great thanks. I just tested redirects with webview_flutter 0.3.10+3 and it's working for me. I tested on Android O and Android M devices (to cover both the WebViewClientCompat and WebViewClient code paths), and on an iOS device. Loading https://flutter.io which redirects to https://flutter.dev works for me on both Android and iOS. As @skylineproject mentioned in https://github.com/flutter/flutter/issues/25351#issuecomment-513891490 iOS is not allowing http connections by default, but you can add an Info.plist key to enable it. With the Info.plist key loading http://flutter.io which redirects to https://flutter.dev worked on all tested devices. @pedrosalesmiranda which webview_flutter version are you using? which device and OS version? can you share a sample url that's not loading for you? My bad here. I tought ^0.1.1 was getting the last version of minor but nop. So i just changed .yaml to webview_flutter: 0.3.10+3 and redirects are working now. I just have problem with loading images now but i will research first to see what i find out. Thank you @amirh Great, I'm closing this issue then. If someone still sees a problem with redirect please reopen. Hi all, I do not know if my issue related to redirections, problem is that I can not open simple html page on my server which is not HTTPS (for example http://<MY_IP_ADDRESS>/stats.html) but it can be opened in browser. Also I've tested example on Android https://github.com/flutter/plugins/tree/master/packages/webview_flutter/example it's also not work with initial URL 'http://google.com' @mavr301 to load http sites on iOS you need to add new key to ios/Runner/Info.plist <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSAllowsArbitraryLoadsInWebContent</key> <true/> </dict> https://www.pleatsbouttique.com This still shows white screen and fails to redirect. I tried 0.3.10+3 still no luck :/ I just tested redirects with webview_flutter 0.3.10+3 and it's working for me. I tested on Android O and Android M devices (to cover both the WebViewClientCompat and WebViewClient code paths), and on an iOS device. Loading https://flutter.io which redirects to https://flutter.dev works for me on both Android and iOS. As @skylineproject mentioned in #25351 (comment) iOS is not allowing http connections by default, but you can add an Info.plist key to enable it. With the Info.plist key loading http://flutter.io which redirects to https://flutter.dev worked on all tested devices. @pedrosalesmiranda which webview_flutter version are you using? which device and OS version? can you share a sample url that's not loading for you? https://www.pleatsbouttique.com This still shows white screen and fails to redirect. I tried 0.3.10+3 still no luck :/ @mavr301 to load http sites on iOS you need to add new key to ios/Runner/Info.plist <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSAllowsArbitraryLoadsInWebContent</key> <true/> </dict> Worked for me, thx! I'm using webview_flutter 0.3.18+1 if url has 302 redirect android will be shown Webpage not available. net::ERR_UNKNOWN_URL_SCHEME https://forms.gle/UYTCutLKbSGdDUw99 => https://docs.google.com/forms/d/e/1FAIpQLSdPjIjDbhSKiF5z8mVfosk9Z0wql9_-CnwZxnaXehWbgPckyg/viewform?usp=send_form Not everything doesn't work. especially if it is 302 responses in HTTP/2. here is CURL exceute result $ curl -I https://forms.gle/UYTCutLKbSGdDUw99 HTTP/2 302 cache-control: no-cache, no-store, max-age=0, must-revalidate content-security-policy: script-src 'nonce-Q2Wa/q0LgbuqorGQEegIoQ' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/DurableDeepLinkUi/cspreport;worker-src 'self' content-type: application/binary expires: Mon, 01 Jan 1990 00:00:00 GMT location: https://docs.google.com/forms/d/e/1FAIpQLSdPjIjDbhSKiF5z8mVfosk9Z0wql9_-CnwZxnaXehWbgPckyg/viewform?usp=send_form pragma: no-cache server: ESF x-content-type-options: nosniff x-frame-options: SAMEORIGIN x-xss-protection: 0 accept-ranges: bytes accept-ranges: bytes date: Tue, 17 Mar 2020 13:06:08 GMT x-served-by: cache-tyo19949-TYO x-cache: MISS x-cache-hits: 0 x-timer: S1584450368.985180,VS0,VE310 vary: x-fh-requested-host, accept-encoding content-length: 0 any idea? thank you :)
2025-04-01T06:38:42.173902
2018-12-28T19:40:48
394705936
{ "authors": [ "amirh", "dnfield" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6000", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/25855" }
gharchive/issue
flutter_gallery__back_button_memory is flaky Seems to have started being flaky around 19ce65eec923535d5d0daf580429a2d23596dffd Might be related to https://github.com/flutter/flutter/issues/25481 Reopening this. It seems to flake out every few days now. Rebooting the device seems to help.
2025-04-01T06:38:42.178699
2019-02-09T03:55:52
408395221
{ "authors": [ "HansMuller", "ocavue", "zoechi" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6001", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/27710" }
gharchive/issue
Extended FABs don’t require an icon This issue is a bug report. Description In Material design, an extended FAB doesn’t require an icon. https://material.io/design/components/buttons-floating-action-button.html#extended-fab So, I think the @required below should be removed. https://github.com/flutter/flutter/blob/216a65b6697f2ca5cf3501e50c3f9592334fbe4b/packages/flutter/lib/src/material/floating_action_button.dart#L116 If you guys agree, I can create a pull request to fix it. Steps to Reproduce null Logs null Good point, will fix this. @HansMuller you saw that there is already a PR? #27711 @zoechi I have seen #27711, thanks for the reminder
2025-04-01T06:38:42.180729
2019-03-01T02:29:08
415912335
{ "authors": [ "dnfield", "sdgtwsf0115" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6002", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/28691" }
gharchive/issue
pluginization Does flutter support pluginization?How to do? Flutter has a rich plugin system - https://flutter.dev/docs/development/packages-and-plugins/developing-packages I'm going to close this as it's not really a feature request or a bug report. For general support questions like this, please consider using one of the other channels at https://flutter.dev/community. I will pay attention later, thank you!
2025-04-01T06:38:42.226426
2019-05-06T19:18:16
440846171
{ "authors": [ "AAverin", "DesmondFox", "Levi-Lesches", "MaikuB", "Noyon01631", "ScottishRoss", "a7me63azzab", "audkar", "bhanuka96", "fre391", "karmazinkd", "lionuncle", "ljfreelancer88", "manuelduarte077", "matthew-carroll", "mikeryder", "realsoc", "ryanheise", "shyney7", "stuartmorgan", "tank777", "tc14077", "tudor07", "vkammerer" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6003", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/32164" }
gharchive/issue
[Meta] iOS/Android Background Execution iOS and Android have OS level restrictions about when things can run outside of a visible app, and how to run said code. This metabug tracks work items for bringing a reasonable support of background execution to Flutter. In my opinion, what we should be aiming for when it comes to background execution is the ability to leverage platform-specific mechanisms via Flutter/Dart. Then, the Flutter team or external contributors can utilize those per-platform mechanics to build a cross-platform layer on top, i.e., generic background execution. This metabug is based on conversation from this ticket: [x] https://github.com/flutter/flutter/issues/24278 iOS [x] Offer a UIAppDelegate proxy for plugins [x] Offer a UNUserNotificationCenterDelegate proxy for plugins [ ] Background task execution [ ] OS managed downloads Android [ ] Offer a Service that runs Dart code based on Intent arguments [ ] Offer a WorkManager task that runs Dart code Dart [ ] Add a process-wide plugin isolate Cross-Platform Once the per-platform behaviors are well implemented, we should evaluate what might make sense as cross-platform background execution. CC @Hixie @dnfield @mklim @bkonyi @xster @LongCatIsLooong @tvolkert @mehmetf iOS supports long-running tasks for specific purposes (e.g. streaming music, location updates, Bluetooth communication, etc.). I think support for those should be included as part of the "iOS: Background task execution" or a new bullet under iOS. @mikeryder do those things actually require dedicated attention? When I read through the iOS docs on background execution, it looked like each of those use-cases can be enabled by simply updating the info.plist. Can't developers write plugins for those behaviors right now? should these two be added to the new meta-bug as well? https://github.com/flutter/flutter/issues/22099 https://github.com/flutter/flutter/issues/23904 the first one did linked in the original issue that's been closed. the second one didn't but is related to background execution @matthew-carroll Yes, your're right, long-running tasks can be implemented by writing a plugin, but the implementation would be native. I thought the goal of this meta-bug was to allow Dart code to be run in the background in the variety of ways each native platform supports. That is the piece that is not currently supported. Thanks @MaikuB I added both of those issues to the ticket. @mikeryder the native pieces are what allow Dart code to run in the background. Maybe I'm misunderstanding your use-cases. Can you describe the one or more specific goals that you have personally for Dart background execution? Our use case was: Connect to Bluetooth device. Collect data from that BL device, GPS location and some sensors for long period of time (until manually disconnect). To accomplish this it is required to have Foreground service on Android. We expected that we could use existing plugins to collect all data (geolocation, ble and sensors plugins). However we failed to make this work in one week and decided to make native apps. Main problem was that this task was long running. Foreground service is alive for a long period of time and during that period Activity is destroyed on devices. Sometimes Foreground service can be started from BroadcastReceiver and Activity is not started at all. @audkar you mentioned that you tried using existing plugins. Is there any reason that the foreground Service capability should be a part of the core framework rather than part of the plugins that need to run as a foreground Service? In other words, if those plugins had allowed you to use them as a foreground Service, would that have solved your problems? Problem was that there had be one Foreground service shared between all three plugins. Yes all plugins can create its own Foreground services. But then would be 3 notifications indicating that three services are running. @audkar that makes sense. I actually already have a ticket related to foreground Services. I'll add it to this metabug. Any updates ? Currently , I'm working on a project that needs to calculate location and user steps in background ?? Hi @a7me63azzab, can you let me know which of the individual tickets in this metabug are required for you to accomplish your goals? @matthew-carroll I have created oversimplified example application to represent problem we faced. Managed to make it under 2h. We spend almost one full week trying to do same thing with Flutter (to Flutter defense we had no previous experience with it :) platform-channels, isolates, plugins, etc). (and failed). Problems we faced I have listed in comments above :point_up: To be on the same page and avoid any miscommunication problems I created this sample project. Do you think it is possible to achieve same result with current Flutter APIs? Hi @matthew-carroll My use case was: I want to collect data from GPS location and Pedometer sensor even if app is closed, So after searching , I found two packages that i can use : 1- geolocator 2- pedometer but these plugins working only when app is running . so i tried to run these plugins in isolates but i get an error. I/flutter (21632): ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════ I/flutter (21632): The following _CompileTimeError was thrown while activating platform stream on channel I/flutter (21632): pedometer.eventChannel: I/flutter (21632): error: native function 'Window_sendPlatformMessage' (4 arguments) cannot be found I/flutter (21632): When the exception was thrown, this was the stack: I/flutter (21632): #0 Window.sendPlatformMessage (dart:ui/window.dart:868:9) I/flutter (21632): #1 BinaryMessages._sendPlatformMessage (package:flutter/src/services/platform_messages.dart:46:15) I/flutter (21632): #2 BinaryMessages.send (package:flutter/src/services/platform_messages.dart:97:12) I/flutter (21632): #3 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:295:50) I/flutter (21632): <asynchronous suspension> I/flutter (21632): #4 EventChannel.receiveBroadcastStream.<anonymous closure> (package:flutter/src/services/platform_channel.dart:490:29) I/flutter (21632): <asynchronous suspension> I/flutter (21632): #12 StepCounterState.initPlatformState (package:stepcounter/main.dart:59:30) I/flutter (21632): <asynchronous suspension> I/flutter (21632): #13 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:17) I/flutter (21632): #14 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12) I/flutter (21632): (elided 7 frames from package dart:async) And i found that plugins only can be used in the main UI thread. After that we decided to make native packages to collect data from GPS location and Pedometer sensor and save them in sqlite file , and then read data from that file using flutter app. So, I just asking if there is any update in flutter background execution to avoid playing with native platforms ??? Hi, I like the idea of a local sqlite for datasharing.... could you pls keep me updated about this idea..thx Did you notice this one? https://github.com/Lyokone/flutterlocation/wiki/Background-Location-Updates @a7me63azzab when you tried using the plugins in the background, did you make sure to invoke FlutterMain.startInitialization() and FlutterMain.ensureInitializationComplete() from your Android Service? Also, from the Dart side, did you make sure to invoke runApp() from your entrypoint? I'm curious if one of those details is the reason for your error. Hi, @matthew-carroll thanks for your response , did you make sure to invoke runApp() from your entrypoint? void main() { runApp(StepCounter()); } did you make sure to invoke FlutterMain.startInitialization() and FlutterMain.ensureInitializationComplete() from your Android Service? After adding FlutterMain.startInitialization() and FlutterMain.ensureInitializationComplete() in MainActivity.java i get an error , Is MainActivity.java what you mean by android Service or what ? package com.example.stepcounter; import android.os.Bundle; import io.flutter.app.FlutterActivity; import io.flutter.plugins.GeneratedPluginRegistrant; public class MainActivity extends FlutterActivity { @Override protected void onCreate(Bundle savedInstanceState) { FlutterMain.startInitialization(this); FlutterMain.ensureInitializationComplete(this); super.onCreate(savedInstanceState); GeneratedPluginRegistrant.registerWith(this); } } I meant an Android Service: https://developer.android.com/reference/android/app/Service If you're attempting to run code in the background, it should be running in a Service, not an Activity. In addition to exposing the IntentService and WorkManager APIs to Dart, I would point out that there are numerous specialised APIs here, including MediaBrowserServiceCompat for background audio, and so this could be a big project, and hopefully there is some prioritisation. So one thing that I would prioritise is simply improved documentation on the current v2 APIs. The current plugin migration guide from v1 to v2 does not touch on background execution and does not explain (or link to explanations of) the underlying model and concepts behind v2. Another priority could be to update the Medium article on Flutter background execution post v2, just so plugin authors can quickly help users through this transition. These things are faster to do than the more ambitious items on the todo list and would have immediate benefit. Any updates? My use cases would be a countdown timer to cook pasta with a time range in 1seconds - 24hours that rings even if the screen is off or the app background. an application that detects a fall when riding a bike through the sensors. Same thing here, the app could be background or the screen off. Problem was that there had be one Foreground service shared between all three plugins. Yes all plugins can create its own Foreground services. But then would be 3 notifications indicating that three services are running. I am facing a similar issue in my own application, in which I want a Foreground Service to execute Dart callbacks triggered by several plugins. I found a way to solve it, and generalised it to accept more use cases, so I'm sharing it here it the hope that it might help others too. Also, this approach has served me well so far, but I am not an experienced mobile developer, nor familiar with the inner workings of Flutter, so I'd be very happy to hear what the shortcomings of such an approach could be. My solution was to: create a package called flutter_service, which implements: an adaptation of the FlutterBackgroundExecutor class of the android_alarm_manager plugin a general purpose JobIntentService a general purpose Foreground Service Adapt existing plugins so that they depend on flutter_service: flutter_local_notifications_broadcast broadcasts an Intent that starts the Foreground Service android_alarm_manager broadcasts an Intent that executes a callback either in the JobIntentService or the Foreground Service The workflow for my app can be represented in this diagram: A more detailed explanation of what flutter_service does can be found on its GH repository. What do you think about this design? Hi @vkammerer you can also look at my audio_service plugin which I created back in late 2018. It takes a similar approach to what you described, but implements MediaBrowserServiceCompat rather than a generic foreground service, and uses the other various platform APIs that are supposed to go along with MediaBrowserServiceCompat like MediaSessionCompat and the various APIs for handling audio focus, wake locks, etc. In the bigger picture, it would be good to have a separate plugin like this for WorkManager, and so on, for each other specialised kind of use case. Of course, I think this won't completely eliminate the need for plugins that need to build their own foreground service, or WorkManager, because there will always be certain highly specialised use cases where, for example, a custom view needs to be set on the notification, or there needs to be some complex interplay between other platform APIs and the service for it to work. But I think these sorts of general plugins will still be really useful in many common cases. @vkammerer how does it behave on iOS? As far as I know, there are system limitation of the background fetch intervals, starting with once per 15 minutes and up to days before any wake is ermitted (iOS decides based on your activity when to permit apps to fetch in the background) There are many different specific cases like playing the audio, bluetooth handling, location and sensors. Still, there is a very generic case that is still needs to be handled – a long running background operation with active foreground notification. I operate in Android terms and not sure if there is an exact equivalent on iOS. Basic idea is to be able to build some kind of SyncService – a service that could do some long-running operations to sync with the backend, talking to APIs, downloading files, saving them to local storage, doing some heavy operations like archive/unarchive and so on. Of course, user wouldn't wait for this to finish and there should be some way to show the progress. Good There are very specific use cases on iOS where background execution is permitted, and so you unfortunately can't run code in the background on iOS unless you have one of the approved purposes (playing music being one of them). In practice, for plugins that provide a unified API across iOS and Android, we will need to have specialised plugins for each typical background use case that is recognised by the platforms. On a side note, the main reason why iOS supports background execution for particular use cases, and why Android at least in recent years has moved in that direction, is to ensure that battery usage is managed optimally for those different use cases. So basically to handle background execution correctly we will ultimately have a separate plugin for background fetch, for background audio, etc. etc. On Android we should be able to run custom code using bound services and foreground notifications. On iOS the closest equivalent seems to be https://developer.apple.com/documentation/backgroundtasks. At least it should let to run minutes long operations. Any updates ? Currently , I'm working on a project that needs to calculate location and user steps in background ?? Did ou find solution for both Android and Ios? Is there any progress or update on this? Is there any progress or update on this? Given the limitations on background execution on iOS, as discussed above, creating a general-purpose is likely not viable. There are community plugins for at least some specific use cases already, such as https://pub.dev/packages/workmanager. any ETA? ( June 24, 2021) Commenting to keep track of the progress of this. @ScottishRoss, you can just press "Subscribe" on the left side to get notifications without sending everyone else one :) https://docs.flutter.dev/development/packages-and-plugins/background-processes @shyney7 that documentation contains two useless paragraphs and links to a 4 year old article. Flutter really needs a serious background process framework. @tudor07 the way that introduced in the article has been updated in last year (09/10/2020), and the update reflects the move to the v2 Android embedding API. Therefore, the article should be valid at this point. But, I agree with your view. Flutter really needs a serious and intuitive enough background process framework. My use case is play/pause YouTube Iframe using API in the background. Something like putting the foreground UI in the background when the device is in lockscreen mode. Any updates? I think we are still with the same problem. I'm looking for how to use geofencing See the official response above. We have plugins to handle specific background use cases: audio_service flutter_background_geolocation flutter_downloader workmanager flutter_background_service To name a few. yes, I was seeing other uses, which were on the same topic and had the same response @ryanheise those are not enough/not working right. I've given up hope Flutter will ever fix this. He perdido la esperanza de que Flutter alguna vez arregle esto. Por supuesto. Flutter ya indicó hace más de un año que es poco probable que aborde esto. Vuelva a ver la respuesta oficial de abril de 2021 donde se asignó la prioridad P6 (lo que indica que es poco probable que se aborde) y se sugirió Workmanager como complemento de ejemplo. esos no son suficientes/no funcionan bien. Esa respuesta oficial también sugirió workmanager. Veo en su actividad de GitHub que tuvo problemas con background_fetch, por lo que tal vez eso fue lo que insinuó como "no funciona bien". Pero, ¿ha probado esa sugerencia del administrador de trabajo de hace un año? Ya proporciona asignaciones para requiresExternalPower( requiresCharging) y requiresNetworkConnectivity( networkType) que parece querer para su caso de uso, de acuerdo con su actividad de GitHub. Those resources that spend there, have already been published for quite some time, and also with examples that are not very clear in the end I had to guide myself from an example that has a good time, but I do think that this one in flutter is something very cumbersome and you have to do many laps to achieve it Given the limitations on background execution on iOS, as discussed above, creating a general-purpose plugin is likely not viable. There are community plugins for at least some specific use cases already, such as https://pub.dev/packages/workmanager. Per the updated guidance in https://github.com/flutter/flutter/wiki/Issue-hygiene#closing-issues, closing, to better reflect that this is not something the Flutter team has plans to implement, as community plugins can address specific use cases that are possible to support. https://pub.dev/packages/workmanager doesn't have scheduling support on iOS and has no support for MacOS. So if anyone following this issue has the capacity, support and PRs are warmly welcome.
2025-04-01T06:38:42.405947
2019-07-17T08:27:19
469056167
{ "authors": [ "33-Elephants", "AndrsDev", "DIVINER-onlys", "FickleLife", "LeandroMoura3", "LorTos", "S1nPur1ty", "TheFedex87", "VictorCamargo", "akshaybengani", "caiphaav", "danieldai", "diego-lipinski-de-castro", "dkwingsmt", "flutterfrank", "furkankurt", "kecson", "lbjlsy", "marcellocamara", "masashi-sutou", "matehat", "mohamadalmoayad", "niypoo", "phj7777777", "razvangeangu", "rockingdice", "yourshinsuke", "ztigunes" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6004", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/36350" }
gharchive/issue
'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 387 pos 12: '_initialButtons == kPrimaryButton': is not true @override Widget build(BuildContext context) { return Container( width: 200, height: 100, ); } then 2 fingers simultaneously click the Container Logs I/HiTouch_PressGestureDetector(30551): ACTION_POINTER_DOWN. I/flutter (30551): ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════ I/flutter (30551): The following assertion was thrown while dispatching a pointer event: I/flutter (30551): 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 357 pos 12: '_initialButtons == I/flutter (30551): kPrimaryButton': is not true. I/flutter (30551): I/flutter (30551): Either the assertion indicates an error in the framework itself, or we should provide substantially I/flutter (30551): more information in this error message to help you determine and fix the underlying cause. I/flutter (30551): In either case, please report this assertion by filing a bug on GitHub: I/flutter (30551): https://github.com/flutter/flutter/issues/new?template=BUG.md I/flutter (30551): I/flutter (30551): When the exception was thrown, this was the stack: I/flutter (30551): #2 DragGestureRecognizer._checkStart (package:flutter/src/gestures/monodrag.dart:357:12) I/flutter (30551): #3 DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:298:7) I/flutter (30551): #4 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27) I/flutter (30551): #5 _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20) I/flutter (30551): #6 _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22) I/flutter (30551): #7 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7) I/flutter (30551): #8 _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7) I/flutter (30551): #9 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7) I/flutter (30551): #13 _invoke1 (dart:ui/hooks.dart:250:10) I/flutter (30551): #14 _dispatchPointerDataPacket (dart:ui/hooks.dart:159:5) I/flutter (30551): (elided 5 frames from class _AssertionError and package dart:async) I/flutter (30551): I/flutter (30551): Event: I/flutter (30551): PointerUpEvent#e1106(position: Offset(106.9, 368.5), timeStamp: 283:24:16.081000, pointer: 4, I/flutter (30551): kind: touch, device: 1, down: false, pressure: 0.2, pressureMin: 0.0) I/flutter (30551): Target: I/flutter (30551): <WidgetsFlutterBinding> I/flutter (30551): ════════════════════════════════════════════════════════════════════════════════════════════════════ V/AudioManager(30551): playSoundEffect effectType: 0 V/AudioManager(30551): querySoundEffectsEnabled... I/ViewRootImpl(30551): jank_removeInvalidNode all the node in jank list is out of time I/flutter (30551): Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 387 pos 12: '_initialButtons == kPrimaryButton': is not true. Same here: E/flutter (22777): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 357 pos 12: '_initialButtons == kPrimaryButton': is not true. E/flutter (22777): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:40:39) E/flutter (22777): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5) E/flutter (22777): #2 DragGestureRecognizer._checkStart (package:flutter/src/gestures/monodrag.dart:357:12) E/flutter (22777): #3 DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:298:7) E/flutter (22777): #4 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27) E/flutter (22777): #5 GestureArenaManager.release (package:flutter/src/gestures/arena.dart:199:7) E/flutter (22777): #6 DoubleTapGestureRecognizer._reset (package:flutter/src/gestures/multitap.dart:260:44) E/flutter (22777): #7 _rootRun (dart:async/zone.dart:1120:38) E/flutter (22777): #8 _CustomZone.run (dart:async/zone.dart:1021:19) E/flutter (22777): #9 _CustomZone.runGuarded (dart:async/zone.dart:923:7) E/flutter (22777): #10 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23) E/flutter (22777): #11 _rootRun (dart:async/zone.dart:1124:13) E/flutter (22777): #12 _CustomZone.run (dart:async/zone.dart:1021:19) E/flutter (22777): #13 _CustomZone.bindCallback. (dart:async/zone.dart:947:23) E/flutter (22777): #14 Timer._createTimer. (dart:async-patch/timer_patch.dart:21:15) E/flutter (22777): #15 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) E/flutter (22777): #16 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) E/flutter (22777): #17 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) E/flutter (22777): I/flutter (22777): Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 387 pos 12: '_initialButtons == kPrimaryButton': is not true. Here is the code: `import 'package:flutter/material.dart'; import 'package:multi_image_picker/multi_image_picker.dart'; class DetailPhotoScreen extends StatefulWidget { final _image; DetailPhotoScreen(this._image); @override _DetailPhotoScreenState createState() => _DetailPhotoScreenState(_image); } class _DetailPhotoScreenState extends State with TickerProviderStateMixin{ final _image; double _scale = 1.0; Offset _translate = Offset(0.0, 0.0); Animation _scaling; AnimationController _controller; @override void initState() { super.initState(); _controller = AnimationController(duration: Duration(milliseconds: 250), vsync: this); _scaling = Tween<double>(begin: 0.0, end: 1.0).animate(_controller); _scaling.addListener((){ setState((){ _scale = _scaling.value; }); }); } _DetailPhotoScreenState(this._image); @override Widget build(BuildContext context) { return Stack( children: [ GestureDetector( onDoubleTap: () { setState(() { _translate = Offset(0.0, 0.0); _scale = 1.0; }); }, child: Center( child: Container( color: Colors.black, child: GestureDetector( onPanUpdate: (x) { setState(() { _translate = _translate + x.delta; }); }, child: Transform.translate( offset: _translate, child: Transform.scale( scale: _scale, child: AssetThumb( asset: _image, width: _image.originalWidth, height: _image.originalHeight, ), ), ), ), ), ), ), Align( alignment: AlignmentDirectional.bottomEnd, child: Container( width: 50.0, height: 50.0, margin: EdgeInsets.only(right: 80.0, bottom: 15.0), child: RaisedButton.icon( onPressed: () { setState((){ if (_scale < 10){ _scaling = Tween(begin: _scale, end: _scale2.0).animate(_controller); _controller.reset(); _controller.forward(); } }); }, icon: Icon(Icons.zoom_in, color: Colors.white70), label: Text(""), shape: RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(25.0))), color: Theme.of(context).primaryColor, ), ), ), Align( alignment: AlignmentDirectional.bottomEnd, child: Container( width: 50.0, height: 50.0, margin: EdgeInsets.only(right: 15.0, bottom: 15.0), child: RaisedButton.icon( onPressed: () { setState((){ if (_scale > 0.1){ _scaling = Tween(begin: _scale, end: _scale0.5).animate(_controller); _controller.reset(); _controller.forward(); } }); }, icon: Icon(Icons.zoom_out, color: Colors.white70), label: Text(""), shape: RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(25.0))), color: Theme.of(context).primaryColor, ), ), ), ], ); } } ` but I don't want to listener onDoubleTap. Same here: E/flutter (22777): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 357 pos 12: '_initialButtons == kPrimaryButton': is not true. E/flutter (22777): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:40:39) E/flutter (22777): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5) E/flutter (22777): #2 DragGestureRecognizer._checkStart (package:flutter/src/gestures/monodrag.dart:357:12) E/flutter (22777): #3 DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:298:7) E/flutter (22777): #4 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27) E/flutter (22777): #5 GestureArenaManager.release (package:flutter/src/gestures/arena.dart:199:7) E/flutter (22777): #6 DoubleTapGestureRecognizer._reset (package:flutter/src/gestures/multitap.dart:260:44) E/flutter (22777): #7 _rootRun (dart:async/zone.dart:1120:38) E/flutter (22777): #8 _CustomZone.run (dart:async/zone.dart:1021:19) E/flutter (22777): #9 _CustomZone.runGuarded (dart:async/zone.dart:923:7) E/flutter (22777): #10 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23) E/flutter (22777): #11 _rootRun (dart:async/zone.dart:1124:13) E/flutter (22777): #12 _CustomZone.run (dart:async/zone.dart:1021:19) E/flutter (22777): #13 _CustomZone.bindCallback. (dart:async/zone.dart:947:23) E/flutter (22777): #14 Timer._createTimer. (dart:async-patch/timer_patch.dart:21:15) E/flutter (22777): #15 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) E/flutter (22777): #16 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) E/flutter (22777): #17 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) E/flutter (22777): I/flutter (22777): Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 387 pos 12: '_initialButtons == kPrimaryButton': is not true. Here is the code: import 'package:flutter/material.dart'; import 'package:multi_image_picker/multi_image_picker.dart'; class DetailPhotoScreen extends StatefulWidget { final _image; DetailPhotoScreen(this._image); @override _DetailPhotoScreenState createState() => _DetailPhotoScreenState(_image); } class _DetailPhotoScreenState extends State<DetailPhotoScreen> with TickerProviderStateMixin{ final _image; double _scale = 1.0; Offset _translate = Offset(0.0, 0.0); Animation<double> _scaling; AnimationController _controller; @override void initState() { super.initState(); _controller = AnimationController(duration: Duration(milliseconds: 250), vsync: this); _scaling = Tween<double>(begin: 0.0, end: 1.0).animate(_controller); _scaling.addListener((){ setState((){ _scale = _scaling.value; }); }); } _DetailPhotoScreenState(this._image); @override Widget build(BuildContext context) { return Stack( children: <Widget>[ GestureDetector( onDoubleTap: () { setState(() { _translate = Offset(0.0, 0.0); _scale = 1.0; }); }, child: Center( child: Container( color: Colors.black, child: GestureDetector( onPanUpdate: (x) { setState(() { _translate = _translate + x.delta; }); }, child: Transform.translate( offset: _translate, child: Transform.scale( scale: _scale, child: AssetThumb( asset: _image, width: _image.originalWidth, height: _image.originalHeight, ), ), ), ), ), ), ), Align( alignment: AlignmentDirectional.bottomEnd, child: Container( width: 50.0, height: 50.0, margin: EdgeInsets.only(right: 80.0, bottom: 15.0), child: RaisedButton.icon( onPressed: () { setState((){ if (_scale < 10){ _scaling = Tween<double>(begin: _scale, end: _scale*2.0).animate(_controller); _controller.reset(); _controller.forward(); } }); }, icon: Icon(Icons.zoom_in, color: Colors.white70), label: Text(""), shape: RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(25.0))), color: Theme.of(context).primaryColor, ), ), ), Align( alignment: AlignmentDirectional.bottomEnd, child: Container( width: 50.0, height: 50.0, margin: EdgeInsets.only(right: 15.0, bottom: 15.0), child: RaisedButton.icon( onPressed: () { setState((){ if (_scale > 0.1){ _scaling = Tween<double>(begin: _scale, end: _scale*0.5).animate(_controller); _controller.reset(); _controller.forward(); } }); }, icon: Icon(Icons.zoom_out, color: Colors.white70), label: Text(""), shape: RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(25.0))), color: Theme.of(context).primaryColor, ), ), ), ], ); } } but I don't want to listener onDoubleTap. Same here: E/flutter (22777): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 357 pos 12: '_initialButtons == kPrimaryButton': is not true. E/flutter (22777): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:40:39) E/flutter (22777): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5) E/flutter (22777): #2 DragGestureRecognizer._checkStart (package:flutter/src/gestures/monodrag.dart:357:12) E/flutter (22777): #3 DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:298:7) E/flutter (22777): #4 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27) E/flutter (22777): #5 GestureArenaManager.release (package:flutter/src/gestures/arena.dart:199:7) E/flutter (22777): #6 DoubleTapGestureRecognizer._reset (package:flutter/src/gestures/multitap.dart:260:44) E/flutter (22777): #7 _rootRun (dart:async/zone.dart:1120:38) E/flutter (22777): #8 _CustomZone.run (dart:async/zone.dart:1021:19) E/flutter (22777): #9 _CustomZone.runGuarded (dart:async/zone.dart:923:7) E/flutter (22777): #10 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23) E/flutter (22777): #11 _rootRun (dart:async/zone.dart:1124:13) E/flutter (22777): #12 _CustomZone.run (dart:async/zone.dart:1021:19) E/flutter (22777): #13 _CustomZone.bindCallback. (dart:async/zone.dart:947:23) E/flutter (22777): #14 Timer._createTimer. (dart:async-patch/timer_patch.dart:21:15) E/flutter (22777): #15 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) E/flutter (22777): #16 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) E/flutter (22777): #17 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) E/flutter (22777): I/flutter (22777): Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 387 pos 12: '_initialButtons == kPrimaryButton': is not true. Here is the code: import 'package:flutter/material.dart'; import 'package:multi_image_picker/multi_image_picker.dart'; class DetailPhotoScreen extends StatefulWidget { final _image; DetailPhotoScreen(this._image); @override _DetailPhotoScreenState createState() => _DetailPhotoScreenState(_image); } class _DetailPhotoScreenState extends State<DetailPhotoScreen> with TickerProviderStateMixin{ final _image; double _scale = 1.0; Offset _translate = Offset(0.0, 0.0); Animation<double> _scaling; AnimationController _controller; @override void initState() { super.initState(); _controller = AnimationController(duration: Duration(milliseconds: 250), vsync: this); _scaling = Tween<double>(begin: 0.0, end: 1.0).animate(_controller); _scaling.addListener((){ setState((){ _scale = _scaling.value; }); }); } _DetailPhotoScreenState(this._image); @override Widget build(BuildContext context) { return Stack( children: <Widget>[ GestureDetector( onDoubleTap: () { setState(() { _translate = Offset(0.0, 0.0); _scale = 1.0; }); }, child: Center( child: Container( color: Colors.black, child: GestureDetector( onPanUpdate: (x) { setState(() { _translate = _translate + x.delta; }); }, child: Transform.translate( offset: _translate, child: Transform.scale( scale: _scale, child: AssetThumb( asset: _image, width: _image.originalWidth, height: _image.originalHeight, ), ), ), ), ), ), ), Align( alignment: AlignmentDirectional.bottomEnd, child: Container( width: 50.0, height: 50.0, margin: EdgeInsets.only(right: 80.0, bottom: 15.0), child: RaisedButton.icon( onPressed: () { setState((){ if (_scale < 10){ _scaling = Tween<double>(begin: _scale, end: _scale*2.0).animate(_controller); _controller.reset(); _controller.forward(); } }); }, icon: Icon(Icons.zoom_in, color: Colors.white70), label: Text(""), shape: RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(25.0))), color: Theme.of(context).primaryColor, ), ), ), Align( alignment: AlignmentDirectional.bottomEnd, child: Container( width: 50.0, height: 50.0, margin: EdgeInsets.only(right: 15.0, bottom: 15.0), child: RaisedButton.icon( onPressed: () { setState((){ if (_scale > 0.1){ _scaling = Tween<double>(begin: _scale, end: _scale*0.5).animate(_controller); _controller.reset(); _controller.forward(); } }); }, icon: Icon(Icons.zoom_out, color: Colors.white70), label: Text(""), shape: RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(25.0))), color: Theme.of(context).primaryColor, ), ), ), ], ); } } but I don't want to listener onDoubleTap. when I click the empty area, it will throw this error. 但我只是想要显示一个文本而已,不需要加GestureDetector手势处理呢。 ,然后2个手指同时点击点击报错了, 难道在APP内每个文本显示的Text都加上GestureDetector去处理这个问题吗 ------------------ 原始邮件 ------------------ 发件人<EMAIL_ADDRESS>发送时间: 2019年7月18日(星期四) 凌晨5:05 收件人<EMAIL_ADDRESS>抄送: "kecson"kecson<EMAIL_ADDRESS>主题: Re: [flutter/flutter] 'package:flutter/src/gestures/monodrag.dart':Failed assertion: line 387 pos 12: '_initialButtons == kPrimaryButton': is nottrue (#36350) Same here: E/flutter (22777): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 357 pos 12: '_initialButtons == kPrimaryButton': is not true. E/flutter (22777): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:40:39) E/flutter (22777): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5) E/flutter (22777): #2 DragGestureRecognizer._checkStart (package:flutter/src/gestures/monodrag.dart:357:12) E/flutter (22777): #3 DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:298:7) E/flutter (22777): #4 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27) E/flutter (22777): #5 GestureArenaManager.release (package:flutter/src/gestures/arena.dart:199:7) E/flutter (22777): #6 DoubleTapGestureRecognizer._reset (package:flutter/src/gestures/multitap.dart:260:44) E/flutter (22777): #7 _rootRun (dart:async/zone.dart:1120:38) E/flutter (22777): #8 _CustomZone.run (dart:async/zone.dart:1021:19) E/flutter (22777): #9 _CustomZone.runGuarded (dart:async/zone.dart:923:7) E/flutter (22777): #10 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23) E/flutter (22777): #11 _rootRun (dart:async/zone.dart:1124:13) E/flutter (22777): #12 _CustomZone.run (dart:async/zone.dart:1021:19) E/flutter (22777): #13 _CustomZone.bindCallback. (dart:async/zone.dart:947:23) E/flutter (22777): #14 Timer._createTimer. (dart:async-patch/timer_patch.dart:21:15) E/flutter (22777): #15 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) E/flutter (22777): #16 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) E/flutter (22777): #17 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) E/flutter (22777): I/flutter (22777): Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 387 pos 12: '_initialButtons == kPrimaryButton': is not true. Here is the code: `import 'package:flutter/material.dart'; import 'package:multi_image_picker/multi_image_picker.dart'; class DetailPhotoScreen extends StatefulWidget { final _image; DetailPhotoScreen(this._image); @override _DetailPhotoScreenState createState() => _DetailPhotoScreenState(_image); } class _DetailPhotoScreenState extends State with TickerProviderStateMixin{ final _image; double _scale = 1.0; Offset _translate = Offset(0.0, 0.0); Animation _scaling; AnimationController _controller; @override void initState() { super.initState(); _controller = AnimationController(duration: Duration(milliseconds: 250), vsync: this); _scaling = Tween(begin: 0.0, end: 1.0).animate(_controller); _scaling.addListener((){ setState((){ _scale = _scaling.value; }); }); } _DetailPhotoScreenState(this._image); @override Widget build(BuildContext context) { return Stack( children: [ GestureDetector( onDoubleTap: () { setState(() { _translate = Offset(0.0, 0.0); _scale = 1.0; }); }, child: Center( child: Container( color: Colors.black, child: GestureDetector( onPanUpdate: (x) { setState(() { _translate = _translate + x.delta; }); }, child: Transform.translate( offset: _translate, child: Transform.scale( scale: _scale, child: AssetThumb( asset: _image, width: _image.originalWidth, height: _image.originalHeight, ), ), ), ), ), ), ), Align( alignment: AlignmentDirectional.bottomEnd, child: Container( width: 50.0, height: 50.0, margin: EdgeInsets.only(right: 80.0, bottom: 15.0), child: RaisedButton.icon( onPressed: () { setState((){ if (_scale < 10){ _scaling = Tween(begin: _scale, end: _scale2.0).animate(_controller); _controller.reset(); _controller.forward(); } }); }, icon: Icon(Icons.zoom_in, color: Colors.white70), label: Text(""), shape: RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(25.0))), color: Theme.of(context).primaryColor, ), ), ), Align( alignment: AlignmentDirectional.bottomEnd, child: Container( width: 50.0, height: 50.0, margin: EdgeInsets.only(right: 15.0, bottom: 15.0), child: RaisedButton.icon( onPressed: () { setState((){ if (_scale > 0.1){ _scaling = Tween(begin: _scale, end: _scale0.5).animate(_controller); _controller.reset(); _controller.forward(); } }); }, icon: Icon(Icons.zoom_out, color: Colors.white70), label: Text(""), shape: RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(25.0))), color: Theme.of(context).primaryColor, ), ), ), ], ); } } ` — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread. Met the same issue. happened on an iOS device, not sure about Android. I rapidly tap a GestureDetector with two fingers. This assert will block all later touches. The user cannot continue to use the app after that. I'm guessing it's the same issue as #37466, which I have a fix that has just been merged. Please check if the current master (or wait until the next release of your channel) fixes this problem. Thanks, when is it released to a stable channel? Is there any workaround before the fix released to a stable channel? @danieldai My suggestion is to switch to dev channel for now, and beta channel once a new beta is out. My apology for the inconvenience. Status: Waiting for this to land on stable. I add a long press event to solve Status: Waiting for this to land on stable. Hii, is this fix been landed on stable version? @phj7777777 Yes, this will be landed in the upcoming stable that has just been frozen. I think this issue fixed in stable 1.12.13+hotfix.5. Did you forget to colse issue or is there still a problem? this issue fixed in stable 1.12.13+hotfix.5. The problem still exists - there is no scenario, but screen is getting frozen randomly. When tapping on screen we get the following log: ViewRootImpl@131b3b9[FlutterActivity]: ViewPostIme pointer 0 ViewRootImpl@131b3b9[FlutterActivity]: ViewPostIme pointer 1 Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 407 pos 12: '_initialButtons == kPrimaryButton': is not true. flutter doctor: [✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Linux, locale en_US.UTF-8) • Flutter version 1.12.13+hotfix.5 at /home/artem/Development/flutter • Framework revision 27321ebbad (8 days ago), 2019-12-10 18:15:01 -0800 • Engine revision 2994f7e1e6 • Dart version 2.7.0 [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at /home/artem/Development/android-sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • Java binary at: /home/artem/Development/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) • All Android licenses accepted. [✓] Android Studio (version 3.5) • Android Studio at /home/artem/Development/android-studio • Flutter plugin version 42.1.1 • Dart plugin version 191.8593 • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) [✓] Connected device (2 available) • Nexus 5 • 07e3ff7c0de4bdf7 • android-arm • Android 6.0.1 (API 23) • SM N970U1 • R58MA5ZACRT • android-arm64 • Android 9 (API 28) • No issues found! @33-Elephants Can you come up with a minimal example and/or reproducible steps? It also happened to me just now, in development, using a iPad testing device, on v1.12.13+hotfix.5. The issue still persists and it screen freezes. ` Flutter 1.17.1 • channel stable • https://github.com/flutter/flutter.git Framework • revision f7a6a7906b (3 weeks ago) • 2020-05-12 18:39:00 -0700 Engine • revision 6bc433c6b6 Tools • Dart 2.8.2 (base) SW-LP10342:tribes malav.desai$ flutter doctor -v [✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale en-IN) • Flutter version 1.17.1 at /Users/malav.desai/Project/flutter • Framework revision f7a6a7906b (3 weeks ago), 2020-05-12 18:39:00 -0700 • Engine revision 6bc433c6b6 • Dart version 2.8.2 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at /Users/malav.desai/Library/Android/sdk • Platform android-29, build-tools 29.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.5) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.5, Build version 11E608c • CocoaPods version 1.9.1 [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 44.0.2 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] Connected device (1 available) • HD1901 • 917fed4e • android-arm64 • Android 10 (API 29) • No issues found! ` Container( height: MediaQuery.of(context).size.height * 0.5, child: CarouselSlider( options: CarouselOptions( viewportFraction: 0.75, aspectRatio: 4 / 5, height: MediaQuery.of(context).size.height, enlargeCenterPage: true, autoPlay: false, enableInfiniteScroll: false, ), items: state.user.userTribes .map( (UserTribe userTribe) => Card( shape: RoundedRectangleBorder( borderRadius: CustomTheme.circular()), child: GestureDetector( dragStartBehavior: DragStartBehavior.start, onTap: () async { await userRepository.updateUserTribeId( userTribe.user.id, userTribe.tribe.id, ); Navigator.of(context).push( MaterialPageRoute( builder: (context) => BlocProvider<ConversationBloc>( create: (context) => ConversationBloc() ..add( GetConversation( userId: userTribe.user.id, tribeId: userTribe.tribe.id, ), ), child: ConversationScreen(), ), ), ); }, child: Stack( children: <Widget>[ Container( decoration: BoxDecoration( borderRadius: CustomTheme.circular(), image: DecorationImage( fit: BoxFit.cover, image: userTribe.tribe.imageUrl == null ? AssetImage( "assets/images/wallpaper.png") : NetworkImage( userTribe.tribe.imageUrl), ), ), ), Container( width: double.infinity, decoration: BoxDecoration( borderRadius: CustomTheme.circular(), gradient: LinearGradient( begin: Alignment.topLeft, end: Alignment.bottomRight, colors: [ Colors.grey.shade900, Colors.transparent ], stops: [ 0.0, 1.0 ]), ), child: Padding( padding: EdgeInsets.all(20), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Text( userTribe.tribe.name, style: Theme.of(context) .textTheme .headline1, ), SizedBox(height: 10), Text( userTribe.tribe.hintText, style: Theme.of(context) .textTheme .bodyText1, ), ], ), ), ), ], ), ), ), ) .toList(), ), ), ` Container( height: MediaQuery.of(context).size.height * 0.5, child: CarouselSlider( options: CarouselOptions( viewportFraction: 0.75, aspectRatio: 4 / 5, height: MediaQuery.of(context).size.height, enlargeCenterPage: true, autoPlay: false, enableInfiniteScroll: false, ), items: state.user.userTribes .map( (UserTribe userTribe) => Card( shape: RoundedRectangleBorder( borderRadius: CustomTheme.circular()), child: GestureDetector( dragStartBehavior: DragStartBehavior.start, onTap: () async { await userRepository.updateUserTribeId( userTribe.user.id, userTribe.tribe.id, ); Navigator.of(context).push( MaterialPageRoute( builder: (context) => BlocProvider<ConversationBloc>( create: (context) => ConversationBloc() ..add( GetConversation( userId: userTribe.user.id, tribeId: userTribe.tribe.id, ), ), child: ConversationScreen(), ), ), ); }, child: Stack( children: <Widget>[ Container( decoration: BoxDecoration( borderRadius: CustomTheme.circular(), image: DecorationImage( fit: BoxFit.cover, image: userTribe.tribe.imageUrl == null ? AssetImage( "assets/images/wallpaper.png") : NetworkImage( userTribe.tribe.imageUrl), ), ), ), Container( width: double.infinity, decoration: BoxDecoration( borderRadius: CustomTheme.circular(), gradient: LinearGradient( begin: Alignment.topLeft, end: Alignment.bottomRight, colors: [ Colors.grey.shade900, Colors.transparent ], stops: [ 0.0, 1.0 ]), ), child: Padding( padding: EdgeInsets.all(20), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Text( userTribe.tribe.name, style: Theme.of(context) .textTheme .headline1, ), SizedBox(height: 10), Text( userTribe.tribe.hintText, style: Theme.of(context) .textTheme .bodyText1, ), ], ), ), ), ], ), ), ), ) .toList(), ), ), ` not yet 1.17 i have same issue. Are there any bug fix or workaround solution ? flutter: ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown while routing a pointer event: flutter: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 416 pos 12: '_initialButtons == flutter: kPrimaryButton': is not true. flutter: flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially flutter: more information in this error message to help you determine and fix the underlying cause. flutter: In either case, please report this assertion by filing a bug on GitHub: flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md flutter: flutter: When the exception was thrown, this was the stack: flutter: #2 DragGestureRecognizer._checkEnd package:flutter/…/gestures/monodrag.dart:416 flutter: #3 DragGestureRecognizer.didStopTrackingLastPointer package:flutter/…/gestures/monodrag.dart:358 flutter: #4 OneSequenceGestureRecognizer.stopTrackingPointer package:flutter/…/gestures/recognizer.dart:343 flutter: #5 DragGestureRecognizer._giveUpPointer package:flutter/…/gestures/monodrag.dart:367 flutter: #6 DragGestureRecognizer.handleEvent package:flutter/…/gestures/monodrag.dart:256 flutter: #7 PointerRouter._dispatch package:flutter/…/gestures/pointer_router.dart:78 igunes@igunes ios % flutter doctor -v [✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-TR) • Flutter version 1.20.3 at /users/igunes/flutter • Framework revision 216dee60c0 (13 days ago), 2020-09-01 12:24:47 -0700 • Engine revision d1bc06f032 • Dart version 2.9.2 [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0) • Android SDK at /Users/igunes/Library/Android/sdk • Platform android-30, build-tools 30.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.7) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.7, Build version 11E801a • CocoaPods version 1.9.3 [✓] Android Studio (version 4.0) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 48.1.2 • Dart plugin version 193.7361 • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) [✓] VS Code (version 1.49.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.14.1 [✓] Connected device (1 available) • Mustafa’s iPad (mobile) • ec9cc0171e4772f3dbca05f0c732828429310826 • ios • iOS 13.5.1 I have the same issue too. ════════ Exception caught by gesture library ═══════════════════════════════════ The following assertion was thrown while dispatching a pointer event: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 379 pos 12: '_initialButtons == kPrimaryButton': is not true. Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=BUG.md  When the exception was thrown, this was the stack #2 DragGestureRecognizer._checkStart package:flutter/…/gestures/monodrag.dart #3 DragGestureRecognizer.acceptGesture package:flutter/…/gestures/monodrag.dart #4 GestureArenaManager.sweep package:flutter/…/gestures/arena.dart #5 GestureBinding.handleEvent package:flutter/…/gestures/binding.dart #6 GestureBinding.dispatchEvent package:flutter/…/gestures/binding.dart ... Event: PointerUpEvent#d0714(position: Offset(26.0, 242.3)) position: Offset(26.0, 242.3) Target:  ════════════════════════════════════════════════════════════════════════════════ ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════ The following assertion was thrown while dispatching a pointer event: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 379 pos 12: '_initialButtons == kPrimaryButton': is not true. Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=BUG.md When the exception was thrown, this was the stack: #2 DragGestureRecognizer._checkStart package:flutter/…/gestures/monodrag.dart #3 DragGestureRecognizer.acceptGesture package:flutter/…/gestures/monodrag.dart #4 GestureArenaManager.sweep package:flutter/…/gestures/arena.dart #5 GestureBinding.handleEvent package:flutter/…/gestures/binding.dart #6 GestureBinding.dispatchEvent package:flutter/…/gestures/binding.dart #7 GestureBinding._handlePointerEvent package:flutter/…/gestures/binding.dart #8 GestureBinding._flushPointerEventQueue package:flutter/…/gestures/binding.dart #9 GestureBinding._handlePointerDataPacket package:flutter/…/gestures/binding.dart #13 _invoke1 (dart:ui/hooks.dart:267:10) #14 _dispatchPointerDataPacket (dart:ui/hooks.dart:176:5) (elided 5 frames from class _AssertionError and dart:async) Event: PointerUpEvent#d0714(position: Offset(26.0, 242.3)) Target: ════════════════════════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════ Exception caught by gesture library ═══════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════ Exception caught by gesture library ═══════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════ Exception caught by gesture library ═══════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════ Exception caught by gesture library ═══════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════ Exception caught by gesture library ═══════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════ Exception caught by gesture library ═══════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════ Exception caught by gesture library ═══════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════ Exception caught by gesture library ═══════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════ Exception caught by gesture library ═══════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 409 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════ Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 1.20.3, on Microsoft Windows [Version 10.0.18363.1082], locale de-DE) [√] Android toolchain - develop for Android devices (Android SDK version 29.0.0) [√] Android Studio (version 3.5) [√] VS Code, 64-bit edition (version 1.49.0) [√] Connected device (1 available) • No issues found! i have same issue. Are there any bug fix or workaround solution ? When i use tabbar like dummy user with two or three finger (gesture) it freeze all tab bar views. flutter: ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown while routing a pointer event: flutter: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 416 pos 12: '_initialButtons == flutter: kPrimaryButton': is not true. flutter: flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially flutter: more information in this error message to help you determine and fix the underlying cause. flutter: In either case, please report this assertion by filing a bug on GitHub: flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md flutter: flutter: When the exception was thrown, this was the stack: flutter: #2 DragGestureRecognizer._checkEnd package:flutter/…/gestures/monodrag.dart:416 flutter: #3 DragGestureRecognizer.didStopTrackingLastPointer package:flutter/…/gestures/monodrag.dart:358 flutter: #4 OneSequenceGestureRecognizer.stopTrackingPointer package:flutter/…/gestures/recognizer.dart:343 flutter: #5 DragGestureRecognizer._giveUpPointer package:flutter/…/gestures/monodrag.dart:367 flutter: #6 DragGestureRecognizer.handleEvent package:flutter/…/gestures/monodrag.dart:256 flutter: #7 PointerRouter._dispatch package:flutter/…/gestures/pointer_router.dart:78 igunes@igunes ios % flutter doctor -v [✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-TR) • Flutter version 1.20.3 at /users/igunes/flutter • Framework revision 216dee6 (13 days ago), 2020-09-01 12:24:47 -0700 • Engine revision d1bc06f032 • Dart version 2.9.2 [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0) • Android SDK at /Users/igunes/Library/Android/sdk • Platform android-30, build-tools 30.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.7) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.7, Build version 11E801a • CocoaPods version 1.9.3 [✓] Android Studio (version 4.0) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 48.1.2 • Dart plugin version 193.7361 • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) [✓] VS Code (version 1.49.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.14.1 [✓] Connected device (1 available) • Mustafa’s iPad (mobile) • ec9cc0171e4772f3dbca05f0c732828429310826 • ios • iOS 13.5.1 I am starting to get this error too. Happens when I scroll the page quickly with the mouse pointer (seeing this on iOS14 Simulator). Error is: ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════ The following assertion was thrown while dispatching a pointer event: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 379 pos 12: '_initialButtons == kPrimaryButton': is not true. Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=BUG.md When the exception was thrown, this was the stack: #2 DragGestureRecognizer._checkStart package:flutter/…/gestures/monodrag.dart:379 #3 DragGestureRecognizer.acceptGesture package:flutter/…/gestures/monodrag.dart:310 #4 GestureArenaManager.sweep package:flutter/…/gestures/arena.dart:158 #5 GestureBinding.handleEvent package:flutter/…/gestures/binding.dart:224 #6 GestureBinding.dispatchEvent package:flutter/…/gestures/binding.dart:200 #7 GestureBinding._handlePointerEvent package:flutter/…/gestures/binding.dart:158 #8 GestureBinding._flushPointerEventQueue package:flutter/…/gestures/binding.dart:104 #9 GestureBinding._handlePointerDataPacket package:flutter/…/gestures/binding.dart:88 #13 _invoke1 (dart:ui/hooks.dart:267:10)) #14 _dispatchPointerDataPacket (dart:ui/hooks.dart:176:5)) (elided 5 frames from class _AssertionError and dart:async) Event: PointerUpEvent#73670(position: Offset(0.0, 812.0)) Target: <WidgetsFlutterBinding> ════════════════════════════════════════════════════════════════════════════════════════════════════ ════════ Exception caught by gesture library ═══════════════════════════════════ The following assertion was thrown while dispatching a pointer event: and flutter doctor: [✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.7 19H2, locale en-GB) • Flutter version 1.20.4 at /Applications/flutter • Framework revision fba99f6cf9 (4 weeks ago), 2020-09-14 15:32:52 -0700 • Engine revision d1bc06f032 • Dart version 2.9.2 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/alexblack/Library/Android/sdk • Platform android-29, build-tools 29.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 12.0.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.0.1, Build version 12A7300 • CocoaPods version 1.9.3 [✓] Android Studio (version 3.5) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 42.1.1 • Dart plugin version 191.8593 • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) [✓] VS Code (version 1.50.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.9.1 [✓] Connected device (1 available) • iPhone 11 Pro (mobile) • 5CFD3069-FA5A-4B04-9E94-E80AFB173593 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator) Same issue here. How to solve it? Help!! Started having the same issue on iOS 14 simulator. For me it happens consistently when using a CustomScrollView with a SliverAppBar, either by just scrolling or when tapping the back button after having scrolled. ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════ The following assertion was thrown while routing a pointer event: 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 435 pos 12: '_initialButtons == kPrimaryButton': is not true. Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=BUG.md When the exception was thrown, this was the stack: #2 DragGestureRecognizer._checkEnd package:flutter/…/gestures/monodrag.dart #3 DragGestureRecognizer.didStopTrackingLastPointer package:flutter/…/gestures/monodrag.dart #4 OneSequenceGestureRecognizer.stopTrackingPointer package:flutter/…/gestures/recognizer.dart #5 DragGestureRecognizer._giveUpPointer package:flutter/…/gestures/monodrag.dart #6 DragGestureRecognizer.handleEvent package:flutter/…/gestures/monodrag.dart #7 PointerRouter._dispatch package:flutter/…/gestures/pointer_router.dart #8 PointerRouter._dispatchEventToRoutes.<anonymous closure> package:flutter/…/gestures/pointer_router.dart #9 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8) #10 PointerRouter._dispatchEventToRoutes package:flutter/…/gestures/pointer_router.dart #11 PointerRouter.route package:flutter/…/gestures/pointer_router.dart #12 GestureBinding.handleEvent package:flutter/…/gestures/binding.dart #13 GestureBinding.dispatchEvent package:flutter/…/gestures/binding.dart #14 RendererBinding.dispatchEvent package:flutter/…/rendering/binding.dart #15 GestureBinding._handlePointerEvent package:flutter/…/gestures/binding.dart #16 GestureBinding._flushPointerEventQueue package:flutter/…/gestures/binding.dart #17 GestureBinding._handlePointerDataPacket package:flutter/…/gestures/binding.dart #21 _invoke1 (dart:ui/hooks.dart:265:10) #22 _dispatchPointerDataPacket (dart:ui/hooks.dart:174:5) (elided 5 frames from class _AssertionError and dart:async) router: Instance of 'PointerRouter' route: Closure: (PointerEvent) => void from Function 'handleEvent':. event: PointerMoveEvent#c9147(position: Offset(0.0, 812.0)) ════════════════════════════════════════════════════════════════════════════════════════════════════ @LorTos This issue is happening to me too! This is happening to me in the simulator as well. This issue is happening to me too! Same here, ios 14 Emulator and I'm getting this error on a SliverAppBar inside a NestedScrollView. I didn' still try on a real device Why this issue is closed if it's not fixed? I face this problem at Flutter (Channel stable, 1.22.4, on Microsoft Windows [versão 10.0.18363.1198], locale pt-BR) ════════ Exception caught by gesture library ═══════════════════════════════════════════════════════ The following _CastError was thrown while dispatching a pointer event: Null check operator used on a null value When the exception was thrown, this was the stack: #0 DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:321:60) #1 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:157:27) #2 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:362:20) #3 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:338:22) #4 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:267:11) ... Event: PointerUpEvent#8ccd7(position: Offset(190.5, 166.8)) position: Offset(190.5, 166.8) Target: <WidgetsFlutterBinding> ════════════════════════════════════════════════════════════════════════════════════════════════════ D/ViewRootImpl@6393b6f[MainActivity]( 2551): ViewPostIme pointer 0 ════════ Exception caught by gesture library ═══════════════════════════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 435 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════════════════════════ D/ViewRootImpl@6393b6f[MainActivity]( 2551): ViewPostIme pointer 1 D/ViewRootImpl@6393b6f[MainActivity]( 2551): ViewPostIme pointer 0 ════════ Exception caught by gesture library ═══════════════════════════════════════════════════════ 'package:flutter/src/gestures/monodrag.dart': Failed assertion: line 435 pos 12: '_initialButtons == kPrimaryButton': is not true. ════════════════════════════════════════════════════════════════════════════════════════════════════ D/ViewRootImpl@6393b6f[MainActivity]( 2551): ViewPostIme pointer 1 Why is this closed? Just got into this problem. 1.22.5 • channel stable Why is this closed? Just got into this problem. 1.22.5 • channel stable problem still exist even after last upgrade to version 1.22.6 problem still exist even after last upgrade to version 1.22.6 I'm facing the same problem on flutter 1.22.4. iOS simulator 14.4 iPhone 12 Pro Max. I'm aware that many people are still encountering related crashes and this definitely needs fixing. Another ticket has been opened in https://github.com/flutter/flutter/issues/75061 where some people has posted some investigations. For now I myself am too occupied on another project to investigate this issue, but I still encourage everyone to post reproduction and/or investigation into the new issue, if any, and I'll come back as soon as possible. My apology for not being able to drive it right now. same issue with me @niypoo Can you check which version you're on with flutter --version? This should have landed to 2.0.2 (https://github.com/flutter/flutter/commit/8962f6dc68ec8e2206ac2fa874da4a453856c7d3) Yep, same here with the most recent Flutter version.. Same here with Android emulator
2025-04-01T06:38:42.415491
2019-08-20T00:21:56
482586358
{ "authors": [ "gspencergoog", "liyuqian" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6005", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/38860" }
gharchive/issue
flutter_gallery_ios32__transition_perf 90th_percentile_frame_build_time_millis regressed It increased from 7ms to 9ms from https://github.com/flutter/flutter/commit/a11d73148c90dd2980f0ab5a2d88159269937e3a Similar benchmarks also regressed: flutter_gallery__transition_perf 90th_percentile_frame_build_time_millis flutter_gallery_ios__transition_perf 99th_percentile_frame_build_time_millis CC @gspencergoog I am suspicious of this benchmark change: Golem seems to think that this change also reduced the hello world application size by a lot (and I just can't see that being true), and improved some other things. See here. I'm happy to revert this and see if it truly is problematic, however. Note that if Golem is right, this is likely to cause a 3-5% increase in hello_world size, and a 15% reduction in velocity_tracker_bench_aot_frontend (Moto G4). Thank you Greg for the quick reaction! Can you reproduce any performance regressions (90th build time, hello_world size, etc.) locally using either Moto G4 or iPhone 6S? I've been trying to reproduce this on a Moto G4 and have been able to reproduce a smaller change (at least for flutter_gallery__transition_perf, both for the average and the 90th percentile), of about 7%. I'm stepping through my changes to see what is causing the regression. It's nice to hear that it can be reproduced. LGTM on the revert. I recommend removing the TODAY status of this issue. Reverting the change would cause more of a regression. Hmm, actually I was reading the Golem results wrong (compile time will regress by 15%, not run time). Proceeding with the revert.
2025-04-01T06:38:42.426201
2020-04-12T11:27:08
598464572
{ "authors": [ "TahaTesser", "bhaveshdaswani93", "harmnot" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6006", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/54589" }
gharchive/issue
run flutter iOS simulator failed I am using latest Flutter sable version, I am trying to run flutter on my iOS Simulator, I tried iPhone 11 pro max, and iPhone 8 plus , can't be running and always error fluter run --verbose what I got is : [ +56 ms] Could not build the application for the simulator. [ +2 ms] Error launching application on iPhone 8 Plus. throwToolExit (package:flutter_tools/src/base/common.dart:28:3) #1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:509:7) <asynchronous suspension> #2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:615:18) #3 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64) #4 _rootRunUnary (dart:async/zone.dart:1134:38) #5 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #6 _FutureListener.handleValue (dart:async/future_impl.dart:139:18) #7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45) #8 Future._propagateToListeners (dart:async/future_impl.dart:709:32) #9 Future._completeWithValue (dart:async/future_impl.dart:524:5) #10 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15) #11 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13) #12 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart) #13 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64) #14 _rootRunUnary (dart:async/zone.dart:1134:38) #15 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #16 _FutureListener.handleValue (dart:async/future_impl.dart:139:18) #17 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45) #18 Future._propagateToListeners (dart:async/future_impl.dart:709:32) #19 Future._completeWithValue (dart:async/future_impl.dart:524:5) #20 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15) #21 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13) #22 IosProject.isSwift (package:flutter_tools/src/project.dart) #23 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64) #24 _rootRunUnary (dart:async/zone.dart:1134:38) #25 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #26 _FutureListener.handleValue (dart:async/future_impl.dart:139:18) #27 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45) #28 Future._propagateToListeners (dart:async/future_impl.dart:709:32) #29 Future._completeWithValue (dart:async/future_impl.dart:524:5) #30 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15) #31 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13) #32 IosProject.buildSettings (package:flutter_tools/src/project.dart) #33 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64) #34 _rootRunUnary (dart:async/zone.dart:1134:38) #35 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #36 _FutureListener.handleValue (dart:async/future_impl.dart:139:18) #37 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45) #38 Future._propagateToListeners (dart:async/future_impl.dart:709:32) #39 Future._completeWithValue (dart:async/future_impl.dart:524:5) #40 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15) #41 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13) #42 XcodeProjectInterpreter.getBuildSettings (package:flutter_tools/src/ios/xcodeproj.dart) #43 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64) #44 _rootRunUnary (dart:async/zone.dart:1134:38) #45 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #46 _FutureListener.handleValue (dart:async/future_impl.dart:139:18) #47 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45) #48 Future._propagateToListeners (dart:async/future_impl.dart:709:32) #49 Future._completeWithValue (dart:async/future_impl.dart:524:5) #50 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15) #51 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13) #52 _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart) #53 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64) #54 _rootRunUnary (dart:async/zone.dart:1134:38) #55 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #56 _FutureListener.handleValue (dart:async/future_impl.dart:139:18) #57 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45) #58 Future._propagateToListeners (dart:async/future_impl.dart:709:32) #59 Future._completeWithValue (dart:async/future_impl.dart:524:5) #60 Future.wait.<anonymous closure> (dart:async/future.dart:400:22) #61 _rootRunUnary (dart:async/zone.dart:1134:38) #62 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #63 _FutureListener.handleValue (dart:async/future_impl.dart:139:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:709:32) #66 Future._complete (dart:async/future_impl.dart:514:7) #67 _BufferingStreamSubscription.asFuture.<anonymous closure> (dart:async/stream_impl.dart:206:14) #68 _rootRun (dart:async/zone.dart:1122:38) #69 _CustomZone.run (dart:async/zone.dart:1023:19) #70 _CustomZone.runGuarded (dart:async/zone.dart:925:7) #71 _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:391:13) #72 _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:401:15) #73 _BufferingStreamSubscription._close (dart:async/stream_impl.dart:285:7) #74 _SinkTransformerStreamSubscription._close (dart:async/stream_transformers.dart:98:11) #75 _EventSinkWrapper.close (dart:async/stream_transformers.dart:25:11) #76 _StringAdapterSink.close (dart:convert/string_conversion.dart:251:11) #77 _Utf8ConversionSink.close (dart:convert/string_conversion.dart:302:20) #78 _ConverterStreamEventSink.close (dart:convert/chunked_conversion.dart:82:18) #79 _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:143:24) #80 _rootRun (dart:async/zone.dart:1122:38) #81 _CustomZone.run (dart:async/zone.dart:1023:19) #82 _CustomZone.runGuarded (dart:async/zone.dart:925:7) #83 _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:391:13) #84 _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:401:15) #85 _BufferingStreamSubscription._close (dart:async/stream_impl.dart:285:7) #86 _SyncStreamControllerDispatch._sendDone (dart:async/stream_controller.dart:774:19) #87 _StreamController._closeUnchecked (dart:async/stream_controller.dart:631:7) #88 _StreamController.close (dart:async/stream_controller.dart:624:5) #89 _Socket._onData (dart:io-patch/socket_patch.dart:1858:21) #90 _rootRunUnary (dart:async/zone.dart:1138:13) #91 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #92 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7) #93 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:338:11) #94 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:265:7) #95 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:766:19) #96 _StreamController._add (dart:async/stream_controller.dart:642:7) #97 _StreamController.add (dart:async/stream_controller.dart:588:5) #98 new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1406:35) #99 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:912:18) #100 _microtaskLoop (dart:async/schedule_microtask.dart:43:21) #101 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5) #102 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13) #103 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5) can provide the output of flutter doctor here is the flutter doctor --verbose [✓] Flutter (Channel stable, v1.12.13+hotfix.8-pre.5, on Mac OS X 10.14.6 18G4032, locale en-ID) • Flutter version 1.12.13+hotfix.8-pre.5 at /Users/hoomacbuk/flutter • Framework revision f139b11009 (13 days ago), 2020-03-30 13:57:30 -0700 • Engine revision af51afceb8 • Dart version 2.7.2 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/hoomacbuk/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3, Build version 11C29 • CocoaPods version 1.9.1 [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [!] IntelliJ IDEA Community Edition (version 2019.2.4) • IntelliJ at /Applications/IntelliJ IDEA CE.app ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • For information about installing plugins, see https://flutter.dev/intellij-setup/#installing-the-plugins [✓] Connected device (1 available) • iPhone 11 Pro Max • 01FA94F6-1F98-40D7-8DCB-90C310FD8737 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) Hi @harmnot This isn't the latest stable and latest XCode [✓] Flutter (Channel stable, v1.12.13+hotfix.8-pre.5, on Mac OS X 10.14.6 18G4032, locale en-ID) • Flutter version 1.12.13+hotfix.8-pre.5 at /Users/hoomacbuk/flutter • Framework revision f139b11009 (13 days ago), 2020-03-30 13:57:30 -0700 • Engine revision af51afceb8 • Dart version 2.7.2 Can you please upgrade to latest stable and please provide your flutter doctor -v and flutter run --verbose? Thank you I want into the folder flutter which I clone and then git pull origin stable, how to upgrade then from that directory ??? and what is the latest stable version ? and I can't upgrade the latest Xcode because I am still in Mojave and to upgrade the latest Xcode I must upgrade to Catalina Hi @harmnot Please upgrade to latest stable Execute the following commands flutter channel stable flutter upgrade flutter then can you please provide your flutter doctor -v and try running the app flutter run --verbose? Thank you @TahaTesser I did , [✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.15.4 19E287, locale en-ID) • Flutter version 1.12.13+hotfix.9 at /Users/hoomacbuk/flutter • Framework revision f139b11009 (3 weeks ago), 2020-03-30 13:57:30 -0700 • Engine revision af51afceb8 • Dart version 2.7.2 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/hoomacbuk/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.4.1, Build version 11E503a • CocoaPods version 1.9.1 [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] Connected device (1 available) • iPhone SE (2nd generation) • 04DAB2D7-C4A3-4A80-B354-FA7B79A33376 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator) I think this is issue of flutter, for more log check here https://slexy.org/raw/s21WHL8d9L?token=219f2a48abb74cff7d8032259fdf6e181ea20afb6bf21f49bda96e940fbfa25e&ts=1587173789 another error when I create another project Xcode's output: ↳ /Users/hoomacbuk/Documents/do-flutter/u/transaction/build/ios/Debug-iphonesimulator/Runner.app: resource fork, Finder information, or similar detritus not allowed Command CodeSign failed with a nonzero exit code note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner') Could not build the application for the simulator. Error launching application on iPhone SE (2nd generation). Hi @harmnot This indicates, you don't have team selected in Signing & Capabilities in XCode warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner') Please follow Build and release an iOS app Thank you
2025-04-01T06:38:42.433739
2020-06-08T08:35:08
634367985
{ "authors": [ "iapicca", "kannanchua" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6007", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/58964" }
gharchive/issue
[tool_crash] Invalid argument(s): Cannot find executable for C:\Users\gtatt\s11salon\android\gradlew.bat. Command flutter --no-color run --machine --track-widget-creation --device-id=<IP_ADDRESS>:5555 lib\main.dart Steps to Reproduce ... ... ... Logs ArgumentError: Invalid argument(s): Cannot find executable for C:\Users\gtatt\s11salon\android\gradlew.bat. #0 _getExecutable (package:process/src/interface/local_process_manager.dart:127:5) #1 LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:43:30) #2 _DefaultProcessUtils.start (package:flutter_tools/src/base/process.dart:462:28) #3 _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart:480:35) #4 buildGradleApp (package:flutter_tools/src/android/gradle.dart:384:35) #5 _AndroidBuilderImpl.buildApk (package:flutter_tools/src/android/android_builder.dart:102:13) #6 AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:513:28) #7 _rootRunUnary (dart:async/zone.dart:1192:38) #8 _CustomZone.runUnary (dart:async/zone.dart:1085:19) #9 _FutureListener.handleValue (dart:async/future_impl.dart:141:18) #10 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45) #11 Future._propagateToListeners (dart:async/future_impl.dart:711:32) #12 Future._completeWithValue (dart:async/future_impl.dart:526:5) #13 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7) #14 _rootRun (dart:async/zone.dart:1184:13) #15 _CustomZone.run (dart:async/zone.dart:1077:19) #16 _CustomZone.runGuarded (dart:async/zone.dart:979:7) #17 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23) #18 _microtaskLoop (dart:async/schedule_microtask.dart:43:21) #19 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5) [✓] Flutter (Channel stable, v1.17.3, on Microsoft Windows [Version 10.0.18363.836], locale en-US) • Flutter version 1.17.3 at C:\src\flutter • Framework revision b041144f83 (4 days ago), 2020-06-04 09:26:11 -0700 • Engine revision ee76268252 • Dart version 2.8.4 [!] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at C:\Users\gtatt\AppData\Local\Android\sdk • Platform android-29, build-tools 29.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01) ✗ Android license status unknown. Try re-installing or updating your Android SDK Manager. See https://developer.android.com/studio/#downloads or visit visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions. [✓] Android Studio (version 4.0) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 46.0.2 • Dart plugin version 193.7361 • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01) [✓] VS Code, 64-bit edition (version 1.45.1) • VS Code at C:\Program Files\Microsoft VS Code • Flutter extension version 3.11.0 [✓] Connected device (1 available) • Samsung Galaxy S3 • <IP_ADDRESS>:5555 • android-x86 • Android 4.4.4 (API 19) ! Doctor found issues in 1 category. Flutter Application Metadata Type: app Version: 1.0.0+1 Material: true Android X: false Module: false Plugin: false Android package: null iOS bundle identifier: null Creation channel: stable Creation framework version: b041144f833e05cf463b8887fa12efdec9493488 Hi @kannanchua I see there's an open issue addressing the case you described. Please follow up on that issue, I'm closing the current one as duplicate. If you disagree, please write in the comments and I will reopen it. Thank you
2025-04-01T06:38:42.435791
2020-08-06T16:52:43
674456162
{ "authors": [ "digiter", "godofredoc", "mdebbar" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6008", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/63101" }
gharchive/issue
Failure to install some CIPD packages in Mac Android Debug Engine In this PR I got the following failure which seems like a failure to install some CIPD packages: https://ci.chromium.org/p/flutter/builders/try/Mac Android Debug Engine/6488 Triage: also assign to current oncall. Please reopen if it fails again.
2025-04-01T06:38:42.445403
2020-09-08T04:53:05
695545753
{ "authors": [ "darshankawar", "dnfield", "goderbauer", "wasabia" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6009", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/65362" }
gharchive/issue
Memory leak on iOS when show animate webp image on flutter channel beta on Flutter Channel stable is ok [✓] Flutter (Channel beta, 1.21.0-9.2.pre, on Mac OS X 10.15.6 19G73, locale zh-Hans-CN) [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 11.6) [✓] Chrome - develop for the web [✓] Android Studio (version 3.5) [✓] VS Code (version 1.48.2) [✓] Connected device (2 available) ##example code import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; class DemoTest2Page extends StatefulWidget { DemoTest2Page({Key key}) : super(key: key); @override createState() => DemoTest2PageState(); } class DemoTest2PageState extends State<DemoTest2Page> { @override void initState() { super.initState(); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("demo"),), body: _build(context) ); } _build(BuildContext context) { return ListView.builder( itemBuilder: (BuildContext context, int index) { return Container( child: Image.asset("assets/1.webp", width: 200, height: 200, fit: BoxFit.contain,) ); }, itemCount: 20 ); } } 1.webp.zip Hi @wasabia, Can you provide flutter run --verbose and any screenshots / logs that shows the memory leak ? Thanks. Hi @darshankawar flutter_run_verbose.log I verified this on latest beta and stable on iPhone 6s and saw leak entries while scrolling the app, but not sure if that's expected or a bug. flutter doctor -v [✓] Flutter (Channel beta, 1.21.0-9.2.pre, on Mac OS X 10.15.2 19C57, locale en-US) • Flutter version 1.21.0-9.2.pre at /Users/deeptibelsare/Documents/Fluttersdk/flutter • Framework revision 81a45ec2e5 (11 days ago), 2020-08-27 14:14:33 -0700 • Engine revision 20a9531835 • Dart version 2.10.0 (build 2.10.0-7.3.beta) [!] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at /Users/deeptibelsare/Library/Android/sdk • Platform android-30, build-tools 29.0.3 • ANDROID_HOME = /Users/deeptibelsare/Library/Android/sdk • ANDROID_SDK_ROOT = /Users/deeptibelsare/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 11.6) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.6, Build version 11E708 • CocoaPods version 1.9.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] Connected device (3 available) • SM A260G (mobile) • 5200763ebcfa861f • android-arm • Android 8.1.0 (API 27) • Web Server (web) • web-server • web-javascript • Flutter Tools • Chrome (web) • chrome • web-javascript • Google Chrome 85.0.4183.83 ! Doctor found issues in 1 category. Keeping this issue open for further analysis. i do not scrolling the app just open the page, the memory keep grow, maybe it is webp image problem /cc @dnfield Is this related to the other image memory leak issue we were discussing? @darshankawar - those leaks are a problem but very unlikely the cause of this issue. There are a few small random leaks from the Dart VM last I was checking that on iOS, but it wasn't clear where they were coming from and they're very small. We should file a separate bug for that if there isn't one already. It would be instructive to see if this problem goes away if a GC is triggered, although I'd expect this app to be GCing before the growth gets as high as it is. I'll try to take a look at this today. I'm not able to reproduce this issue on master. Can you try again? this bug has gone on master channel ✓] Flutter (Channel master, 1.22.0-10.0.pre.221, on Mac OS X 10.15.6 19G73 x86_64, locale zh-Hans-CN) [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 11.6) [✓] Chrome - develop for the web [✓] Android Studio (version 3.5) [✓] VS Code (version 1.49.0) [✓] Connected device (4 available) @wasabia thanks for confirming. Given you last message, I am going ahead and closing this. If you disagree, write in comments and I'll reopen. Thanks.
2025-04-01T06:38:42.453247
2020-09-23T22:55:54
707729054
{ "authors": [ "TahaTesser", "mayhew3" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6010", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/66501" }
gharchive/issue
Base app won't start on latest iOS/XCode version Steps to Reproduce Run flutter create bug. Update the files as follows: N/A Go through the iOS Setup steps, and try running the app on my MacBook Air (XCode 12.0, iOS 14.0). Expected results: The example app starting on my device. Actual results: The app failed to start, with a bunch of seemingly unrelated build errors, both on my connected iPhone and on the Simulator. The app runs successfully in Android Studio on my PC. Logs (I can't attach the --verbose run, because if I try, I get this error: "There was an error creating your Issue: body is too long (maximum is 65536 characters)." So this is the regular 'flutter run' log.) mayhews-air:bug01 mayhew3$ flutter run Launching lib/main.dart on iPhone 11 Pro Max in debug mode... Running Xcode build... Xcode build done. 26.7s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ Invalid depfile: /Users/mayhew3/Documents/Projects/flutter/bug01/.dart_tool/flutter_build/ffb 8fe3791e612bf566f997345bf0cd5/kernel_snapshot.d Invalid depfile: /Users/mayhew3/Documents/Projects/flutter/bug01/.dart_tool/flutter_build/ffb 8fe3791e612bf566f997345bf0cd5/kernel_snapshot.d Invalid depfile: /Users/mayhew3/Documents/Projects/flutter/bug01/.dart_tool/flutter_build/ffb 8fe3791e612bf566f997345bf0cd5/kernel_snapshot.d Invalid depfile: /Users/mayhew3/Documents/Projects/flutter/bug01/.dart_tool/flutter_build/ffb 8fe3791e612bf566f997345bf0cd5/kernel_snapshot.d Error: Could not resolve the package 'characters' in 'package:characters/characters.dart'. ../../../../dev/flutter/packages/flutter/lib/src/material/text_field.dart:9: 8: Error: Not found: 'package:characters/characters.dart' import 'package:characters/characters.dart'; ^ ../../../../dev/flutter/packages/flutter/lib/widgets.dart:18:1: Error: Not found: 'package:characters/characters.dart' export 'package:characters/characters.dart'; ^ ../../../../dev/flutter/packages/flutter/lib/src/rendering/editable.dart:10: 8: Error: Not found: 'package:characters/characters.dart' import 'package:characters/characters.dart'; ^ ../../../../dev/flutter/packages/flutter/lib/src/services/text_formatter.dar t:9:8: Error: Not found: 'package:characters/characters.dart' import 'package:characters/characters.dart'; ^ ../../../../dev/flutter/packages/flutter/lib/src/material/text_field.dart:82 2:61: Error: The getter 'characters' isn't defined for the class 'String'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'. int get _currentLength => _effectiveController.value.text.characters.length; ^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/material/text_field.dart:82 4:118: Error: The getter 'characters' isn't defined for the class 'String'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'. bool get _hasIntrinsicError => widget.maxLength != null && widget.maxLength > 0 && _effectiveController.value.text.characters.length > widget.maxLength; ^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/rendering/editable.dart:244 :64: Error: The getter 'characters' isn't defined for the class 'String'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'. assert(obscuringCharacter != null && obscuringCharacter.characters.length == 1), ^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/rendering/editable.dart:361 :35: Error: The getter 'characters' isn't defined for the class 'String'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'. assert(value != null && value.characters.length == 1); ^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/rendering/editable.dart:567 :11: Error: 'Characters' isn't a type. final Characters remaining = string.characters.skipWhile((String currentString) { ^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/rendering/editable.dart:567 :41: Error: The getter 'characters' isn't defined for the class 'String'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'. final Characters remaining = string.characters.skipWhile((String currentString) { ^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/rendering/editable.dart:600 :47: Error: The getter 'characters' isn't defined for the class 'String'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'. for (final String currentString in string.characters) { ^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/rendering/editable.dart:602 :40: Error: The getter 'characters' isn't defined for the class 'String'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'. !_isWhitespace(currentString.characters.first.toString().codeUnitA t(0))) { ^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/services/text_formatter.dar t:355:11: Error: 'CharacterRange' isn't a type. final CharacterRange iterator = CharacterRange(value.text); ^^^^^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/services/text_formatter.dar t:355:37: Error: Method not found: 'CharacterRange'. final CharacterRange iterator = CharacterRange(value.text); ^^^^^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/services/text_formatter.dar t:356:20: Error: The getter 'characters' isn't defined for the class 'String'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'. if (value.text.characters.length > maxLength) { ^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/services/text_formatter.dar t:375:61: Error: The getter 'characters' isn't defined for the class 'String'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'. if (maxLength != null && maxLength > 0 && newValue.text.characters.length > maxLength) { ^^^^^^^^^^ ../../../../dev/flutter/packages/flutter/lib/src/services/text_formatter.dar t:378:25: Error: The getter 'characters' isn't defined for the class 'String'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'characters'. if (oldValue.text.characters.length == maxLength) { ^^^^^^^^^^ Unhandled exception: FileSystemException(uri=org-dartlang-untranslatable-uri:package%3Acharacters %2Fcharacters.dart; message=StandardFileSystem only supports file:* and data:* URIs) #0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:33:7) #1 asFileUri (package:vm/kernel_front_end.dart:659:37) #2 writeDepfile (package:vm/kernel_front_end.dart:853:21) <asynchronous suspension> #3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:574:15) <asynchronous suspension> #4 _FlutterFrontendCompiler.compile (package:flutter_frontend_server/server.dart:43:22) #5 starter (package:flutter_frontend_server/server.dart:182:27) #6 main (file:///b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/star ter.dart:9:30) #7 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32) #8 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12) Command PhaseScriptExecution failed with a nonzero exit code note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Runner' from project 'Runner') Could not build the application for the simulator. Error launching application on iPhone 11 Pro Max. mayhews-air:bug01 mayhew3$ No issues found! (ran in 18.5s) mayhews-air:bug01 mayhew3$ flutter doctor -v [✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.6 19G2021, locale en-US) • Flutter version 1.20.4 at /Users/mayhew3/dev/flutter • Framework revision fba99f6cf9 (9 days ago), 2020-09-14 15:32:52 -0700 • Engine revision d1bc06f032 • Dart version 2.9.2 [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location. You may also want to add it to your PATH environment variable. [✓] Xcode - develop for iOS and macOS (Xcode 12.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.0, Build version 12A7209 • CocoaPods version 1.9.3 [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). [✓] Connected device (1 available) • iXavier (mobile) • 00008030-0006499A0188802E • ios • iOS 14.0 ! Doctor found issues in 2 categories. Here is the log for flutter run --verbose: iOS_fail.log Hi @mayhew3 I see there's an open issue addressing the case you described. https://github.com/flutter/flutter/issues/65723 Please follow up on that issue, I'm closing the current one as a duplicate. If you disagree, please write in the comments and I will reopen it. Thank you
2025-04-01T06:38:42.455687
2020-12-08T20:30:00
759756984
{ "authors": [ "chunhtai", "lazylazyllama", "xu-baolin" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6011", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/71936" }
gharchive/issue
Regression: Top overflow is not working anymore since #71303 Since #71303 is merged, when you scroll up inside a refreshindicator sub widget, there is no overscroll effect anymore. If you scroll up with momentum you should get an overscroll effect, but it does not happen anymore. The overscroll effect should only be disabled, if you reached the top and continue to swipe. cc @xu-baolin , is it ok to assign this issue to you? Sure, go ahead.
2025-04-01T06:38:42.468317
2021-01-14T06:58:49
785713985
{ "authors": [ "illabo", "pedromassangocode" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6012", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/73924" }
gharchive/issue
In some indeterminate cases there is a wrong Date value in http Response Steps to Reproduce It would be tricky to reproduce as the cause is yet unknown to me. In my case I'm after getting a server time as follows: Future<DateTime> fetchCurrentTime() async { final resp = await return _client.head(Constants.hostname); if (resp.statusCode < 200 || resp.statusCode > 299) { throw NetworkExeption("status: " + resp.statusCode.toString()); } DateTime respTime; print(resp.headers.toString()); resp.headers.forEach((key, value) { if (key.toUpperCase() == 'DATE') { // Per RFC 7231 (sec. <IP_ADDRESS>) the 'Date' header format // is 'E, d MMM yyyy HH:mm:ss' and set to GMT. // A 'parse' method of DateFormat called with 'true' // to indicate that the time should be in UTC. // In this case treating GMT as UTC is just ok. respTime = DateFormat('E, d MMM yyyy HH:mm:ss').parse(value, true); print('Time in resp header $value'); print('Resp time as UTC ${respTime.toIso8601String()}'); } }); return respTime; } It can not be a server-side problem as I'm getting consistently the correct time with curl, Paw and in browser (Chrome) network pane, but not in app console/terminal. Server-side a response' headers does contain "Access-Control-Expose-Headers" set to "Date". Expected results: Get reliably the time of server response in UTC. Actual results: In Flutter web app sometimes for multiple consecutive requests (and even after app reload) I'm getting a value 'frozen' at some time ago. Printout was: {content-length: 11278, content-type: text/html; charset=utf-8, date: Thu, 14 Jan 2021 03:53:47 GMT, last-modified: Mon, 02 Nov 2020 06:59:54 GMT} Time in resp header Thu, 14 Jan 2021 03:53:47 GMT Resp time as UTC 2021-01-14T03:53:47.000Z But with curl: % curl --head "http://<IP_ADDRESS>:8080/" HTTP/1.1 200 OK Accept-Ranges: bytes Content-Length: 11278 Content-Type: text/html; charset=utf-8 Last-Modified: Mon, 02 Nov 2020 06:59:54 GMT Date: Thu, 14 Jan 2021 06:14:02 GMT Unfortunately I've cleaned the project (it helped to get the correct headers for now) and can't get verbose logs until the next occurrence of this problem. Doctor says [✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale ru-RU) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 12.3) [✓] Chrome - develop for the web [✓] Android Studio (version 4.1) [✓] VS Code (version 1.52.1) [✓] Connected device (1 available) • No issues found! Hi @illabo Can you please provide your flutter doctor -v, your pubspec.yaml and a minimal complete reproducible code sample? Thank you Hi @illabo Can you please provide your flutter doctor -v, your pubspec.yaml and a minimal complete reproducible code sample? Thank you @pedromassangocode, thanks for looking into this issue. The flutter doctor -v reads: [✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale ru-RU) • Flutter version 1.25.0-8.2.pre at /usr/local/Caskroom/flutter/1.22.4/flutter • Framework revision b0a2299859 (9 days ago), 2021-01-05 12:34:13 -0800 • Engine revision 92ae191c17 • Dart version 2.12.0 (build 2.12.0-133.2.beta) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/illabo/Library/Android/sdk • Platform android-30, build-tools 29.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 12.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.3, Build version 12C33 • CocoaPods version 1.10.0 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 4.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) [✓] VS Code (version 1.52.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.18.1 [✓] Connected device (1 available) • Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.88 The content of pubspec.yaml is following: name: crab_delivery_webapp description: A new Flutter project. version: 1.0.0+1 environment: sdk: ">=2.7.0 <3.0.0" dependencies: flutter: sdk: flutter dadata_suggestions: ^0.1.1 flutter_typeahead: ^1.9.1 http: ^0.12.2 json_annotation: ^3.1.1 mapbox_gl: ^0.9.0 provider: ^4.3.2 sticky_headers: ^0.1.8 timezone: ^0.6.1 universal_html: ^1.2.1 yaw_phonenumber_platform_interface: git: url: https://github.com/illabo/yaw_phonenumber.git path: yaw_phonenumber_platform_interface yaw_phonenumber_web: git: url: https://github.com/illabo/yaw_phonenumber.git path: yaw_phonenumber_web # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.1 dev_dependencies: flutter_test: sdk: flutter build_runner: ^1.10.7 json_serializable: ^3.5.1 # The following section is specific to Flutter. flutter: uses-material-design: true # To add assets to your application, add an assets section, like this: assets: - assets/symbols/mapboxmarker.png Unfortunately I can't provide anything beyond a snippet from original message b.c. it seem not being easily reproducible. E.g. after running flutter clean there is no such an issue for indeterminate amount of time up to next occurrence of wrong Date value which I'm unable to predict at all. @pedromassangocode, thanks for looking into this issue. The flutter doctor -v reads: [✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale ru-RU) • Flutter version 1.25.0-8.2.pre at /usr/local/Caskroom/flutter/1.22.4/flutter • Framework revision b0a2299859 (9 days ago), 2021-01-05 12:34:13 -0800 • Engine revision 92ae191c17 • Dart version 2.12.0 (build 2.12.0-133.2.beta) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/illabo/Library/Android/sdk • Platform android-30, build-tools 29.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 12.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.3, Build version 12C33 • CocoaPods version 1.10.0 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 4.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) [✓] VS Code (version 1.52.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.18.1 [✓] Connected device (1 available) • Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.88 The content of pubspec.yaml is following: name: crab_delivery_webapp description: A new Flutter project. version: 1.0.0+1 environment: sdk: ">=2.7.0 <3.0.0" dependencies: flutter: sdk: flutter dadata_suggestions: ^0.1.1 flutter_typeahead: ^1.9.1 http: ^0.12.2 json_annotation: ^3.1.1 mapbox_gl: ^0.9.0 provider: ^4.3.2 sticky_headers: ^0.1.8 timezone: ^0.6.1 universal_html: ^1.2.1 yaw_phonenumber_platform_interface: git: url: https://github.com/illabo/yaw_phonenumber.git path: yaw_phonenumber_platform_interface yaw_phonenumber_web: git: url: https://github.com/illabo/yaw_phonenumber.git path: yaw_phonenumber_web # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.1 dev_dependencies: flutter_test: sdk: flutter build_runner: ^1.10.7 json_serializable: ^3.5.1 # The following section is specific to Flutter. flutter: uses-material-design: true # To add assets to your application, add an assets section, like this: assets: - assets/symbols/mapboxmarker.png Unfortunately I can't provide anything beyond a snippet from original message b.c. it seem not being easily reproducible. E.g. after running flutter clean there is no such an issue for indeterminate amount of time up to next occurrence of wrong Date value which I'm unable to predict at all. Hi @illabo From what I can see, the issue is related to http package rather than to Flutter itself. Please open the issue in the dedicated repository. Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments, providing your flutter doctor -v, your flutter run -v, your pubspec.yaml a minimal reproducible code sample that does not use 3rd party plugins/package, and I will reopen it. Thank you Hi @illabo From what I can see, the issue is related to http package rather than to Flutter itself. Please open the issue in the dedicated repository. Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments, providing your flutter doctor -v, your flutter run -v, your pubspec.yaml a minimal reproducible code sample that does not use 3rd party plugins/package, and I will reopen it. Thank you
2025-04-01T06:38:42.471104
2017-01-27T18:55:53
203712058
{ "authors": [ "LarkAscending", "Sfshaza" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6013", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/7704" }
gharchive/issue
Write Building UIs in Flutter codelab Write a codelab that shows users how to build a Flutter UI. Code the UI for a chat app The app doesn't work yet. Leads to Firebase codelab...see https://github.com/flutter/flutter/issues/7702 Done. https://flutter.io/tutorials/layout/
2025-04-01T06:38:42.504107
2021-07-22T07:53:53
950395293
{ "authors": [ "ayushprateek", "maheshmnj" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6014", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/86850" }
gharchive/issue
fatal error: module 'connectivity' not found ....Unabe to run the flutter app on Mac M1 Hi M facing this error from last ten days.... I've tried all the above solutions from upgrading flutter to degrading cocoapods and didn't find any of them working. Deleted my podfile, podfile.lock, Pods and Flutter.podspec file several times... Nothing worked. I Thought resetting my laptop would make sense...after resetting ...the problem still persist.. M using Macbook M1 chip, Flutter 2.2.1 (also tried latest 2.2.3 and 2.2.2), Xcode 12.5.1, Android Studio 4.2.2 Flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-arm, locale en-GB) [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [✓] Xcode - develop for iOS and macOS [✓] Chrome - develop for the web [✓] Android Studio (version 4.2) [✓] Connected device (2 available) My Flutter run --verbose, pubspec.yaml and Podfile : untitled folder.zip Any help will be appreciated 🙏🏻🙏🏻 Originally posted by @ayushprateek in https://github.com/flutter/flutter/issues/57200#issuecomment-884708852 Hi @ayushprateek, Are you facing the issue to run an android app or an IOS app, or both? Could you please paste the output of flutter run -v and also the complete output of flutter doctor -v, This helps to better investigate the issue. Thank you @maheshmnj No Its working absolutely fine for android.... flutter doctor -v result : [✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-arm, locale en-GB) • Flutter version 2.2.1 at /Users/manishsrivastava/FlutterSDK/flutter • Framework revision 02c026b03c (8 weeks ago), 2021-05-27 12:24:44 -0700 • Engine revision 0fdb562ac8 • Dart version 2.13.1 [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /Users/manishsrivastava/Library/Android/sdk • Platform android-31, build-tools 31.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.5.1, Build version 12E507 • CocoaPods version 1.10.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 4.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264) [✓] Connected device (2 available) • iPhone 12 Pro Max (mobile) • C600016D-A2F2-4606-84CF-F71A803C357B • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator) • Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.107 • No issues found! @ayushprateek , I looked at the logs and I see that the build is failing because of the connectivity package not being in sync with the podfile /Users/manishsrivastava/Library/Developer/Xcode/DerivedData/Runner-gyutaltrlrrpfjcwqxzaxhvhtnry/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runne r.build/Objects-normal/x86_64/GeneratedPluginRegistrant.o /Users/manishsrivastava/StudioProjects/untitled/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'connectivity' not found @import connectivity; ~^~~~~~ 1 error generated. please take a look at some of the solutions and see if it helps Stackoverflow comment in a github issue This is't an issue with the flutter framework, I am going to close this issue as invalid if you disagree feel free to comment and I will reopen it. Thank you. @maheshmnj Please help me how can I sync connectivity package with the podfile...Is my Podfile invalid?? What can I do to resolve this error? Try these commands in order flutter clean flutter pub get Manually delete these files ios/Pods folder ios/Podfile.lock ios/Podfile cd ios/ pod init pod install /// make sure this step works if it fails you may google for it with the error. None of these failed... There are 6 dependencies from the Podfile and 21 total pods installed. [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target Runner to Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig or include the Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig in your build configuration (Flutter/Release.xcconfig). manishsrivastava@Manishs-MacBook-Air ios % Try to run the app in Xcode by running open ios/Runner.xcworkspace and then run the app in xcode Did This as well Things I've already tried Ran open ios/Runner.xcworkspace opened workspace opened xcproj -Flutter upgrade -upgraded my cocoapods -flutter clean, removed podfile podfile.lock and pod folder then regenerated -restarted my laptop Shut down and start the computer -deployement target setting -recreated a new project the copy-pasted the code. In order to resolve this error I've formatted my macbook Still M facing dis error Plugin connectivity is deprecated try using https://pub.dev/packages/connectivity_plus @maheshmnj I know this....and had tried this one as well Same with https://pub.dev/packages/connectivity_plus 1 warning generated. /Users/manishsrivastava/StudioProjects/untitled/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'connectivity_plus' not found @import connectivity_plus; ~^~~~~~~~~~~ 1 error generated. note: Using new build system note: Building targets in parallel note: Planning build note: Analyzing workspace note: Constructing build description note: Build preparation complete Note:M trying these steps in a new project where I've only copy-pasted the original pubspec.yaml file. main.dart consists of the very basic code(as in newly created flutter project) Note:M trying these steps in a new project where I've only copy-pasted the original pubspec.yaml file. main.dart consists of the very basic code(as in newly created flutter project) Try adding each plugin at a time, especially try to remove the connectivity plugin and run the application on ios once it runs then try adding the connectivity plugin. @maheshmnj I think u were right...its not able to sync When I removed Connectivity...not the error is for another plugin 1 warning generated. /Users/manishsrivastava/StudioProjects/untitled/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'flutter_share_me' not found @import flutter_share_me; ~^~~~~~~~~~ When I removed flutter_share_me...then another /Users/manishsrivastava/StudioProjects/untitled/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'fluttertoast' not found @import fluttertoast; ~^~~~~~ I think Its not able to fetch it...But I don't know why... Plz help @maheshmnj This issue is resolved... I was using swift 4.2 and the dependencies were made in swift 5 I switched to swift 5 and everything was solved. Thank you very much for showing your interest in this... I appreciate your effort 🙏🏻
2025-04-01T06:38:42.612148
2022-01-03T15:37:48
1092610562
{ "authors": [ "bernaferrari", "guidezpl", "maheshmnj", "werainkhatri", "willlarche" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6016", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/96064" }
gharchive/issue
[Proposal] Document availabilty of icons in a Flutter release With Google Fonts constantly adding and removing fonts, it is hard to know which fonts are supported or not in Flutter. Yesterday I wanted 'terminal' icon, it shows on the website but it is nowhere in Flutter (and I'm on Flutter Beta). Probably the next time icons are refreshed it will be there. Meanwhile, icons such as Facebook, Adobe and WeChat were removed from the website but are still present on Flutter. Many things are unclear. Hi @bernaferrari, Thanks for reporting, I agree there should be some clarity about the availability of material icons in a flutter version. I know this may not be as interactive as Google Fonts, but the Icons' API Doc does document the available material icons. For the master branch, this can be referred to. Oh, sure. But it is too time-consuming to see if it is in Flutter, what Flutter version contains it and why my version doesn't. Wish Google Fonts just showed 'not available in Flutter yet'. Adding @guidezpl . Is the goal to know version-by-version or just to make sure that Flutter is as up-to-date as possible? Because we can hopefully work with Fonts on the workflow there but it would always go into Master. Otherwise it's a front end of fonts.google.com change that's needed to give more info? My goal is to be able to see if the font I want is coming soon or will still take a while. Maybe having master + release comparison could be good enough, just saying (you need channel master for this font instead of stable) could help. Would a minimum Flutter version availability number be useful? like "🍄 2.1.3" Yeah. But for me what matters most is the channel. If you put '2.1.3-pre-beta' it would be useful. Thanks. Can't make any promises but we'll investigate. Thanks for using the icons! Hi, the Google Fonts web team is responsible for the integration, so feedback can be filed via the website. For the Flutter side of things: https://master-api.flutter.dev/flutter/material/Icons-class.html lists icons available on the master channel https://api.flutter.dev/flutter/material/Icons-class.html lists the icons available on the stable channel the source file for any version can be searched Additionally, the merge commit for PRs adding icons lists all versions those icons are a part of (see https://github.com/flutter/flutter/wiki/Where's-my-Commit%3F), e.g.: Regarding terminal_outlined, it was added by the latest update https://master-api.flutter.dev/flutter/material/Icons/terminal_outlined-constant.html All in all, I think it's sufficiently documented. Google Fonts web team is responsible for the integration, so feedback can be filed via the website. Yeah, but it is not public, so I'll never know what happened nor be able to discuss it, like here where we were talking about which branch is relevant. the merge commit for PRs adding icons lists all versions those icons are a part of It is, but shall I manually search through the commit list and master list and stable list to see where the icon belongs? I think it would be easier for Google Fonts to just have a link "check if Flutter has this icon" or "check which branches this is", because right now you spend 5 minutes finding where the icon is. There is an opportunity here to add https://beta-api.flutter.dev/ but I don't know how much additional work that would involve. It is, but shall I manually search through the commit list and master list and stable list to see where the icon belongs? I think it would be easier for Google Fonts to just have a link "check if Flutter has this icon" or "check which branches this is", because right now you spend 5 minutes finding where the icon is. You can enter the icon name in th API docs search box to find out instantly whether an icon is available. The icon page froze my browser (in PC) and the GitHub thing doesn't even show without 'raw'. It is too heavy and all I want is to know where is a single icon. The APi docs definitely shouldn't freeze and I've never run into this, so it would be helpful to file a bug report with more details on flutter/website! I'm not sure why searching https://raw.githubusercontent.com/flutter/flutter/master/packages/flutter/lib/src/material/icons.dart is a problem This is probably going to be deprecated with Material Symbols https://github.com/flutter/flutter/issues/102560.
2025-04-01T06:38:42.614176
2022-02-13T16:17:10
1136080789
{ "authors": [ "ExtinctDrift19", "stuartmorgan" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6017", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/98358" }
gharchive/issue
add discussion page Use case Proposal Duplicate of https://github.com/flutter/flutter/issues/60696
2025-04-01T06:38:42.619990
2022-02-15T20:24:00
1139178748
{ "authors": [ "darshankawar", "mihaibulic" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6018", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/issues/98527" }
gharchive/issue
Framework crashes on startup, complains about Z key?? Steps to Reproduce everything was working fine then all of the sudden I started getting this error/crash right when I try to compile/run the app. PS I'm unlikely to report framework bugs in the future since it's a hassle (I had to figure out my github login since I don't use github anymore, then run several commands and copy/paste output into this bug) — why not just have the Flutter AS plugin add a "report bug" option that collects these logs automatically and creates a bug? Code sample Logs ======== Exception caught by services library ====================================================== The following assertion was thrown during a platform message callback: A KeyUpEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyUpEvent#2676d(physicalKey: PhysicalKeyboardKey#7001d(usbHidUsage: "0x0007001d", debugName: "Key Z"), logicalKey: LogicalKeyboardKey#0007a(keyId: "0x0000007a", keyLabel: "Z", debugName: "Key Z"), character: null, timeStamp: 456:12:43.208645) 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 441 pos 16: '_pressedKeys.containsKey(event.physicalKey)' Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=2_bug.md When the exception was thrown, this was the stack: #2 HardwareKeyboard._assertEventIsRegular.<anonymous closure> (package:flutter/src/services/hardware_keyboard.dart:441:16) #3 HardwareKeyboard._assertEventIsRegular (package:flutter/src/services/hardware_keyboard.dart:452:6) #4 HardwareKeyboard.handleKeyEvent (package:flutter/src/services/hardware_keyboard.dart:544:5) #5 KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:821:35) #6 BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:77:49) #7 BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:76:47) #8 _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:377:35) #9 _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:374:46) #10 _invoke2.<anonymous closure> (dart:ui/hooks.dart:190:15) #14 _invoke2 (dart:ui/hooks.dart:189:10) #15 _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5) #16 _Channel.push (dart:ui/channel_buffers.dart:132:31) #17 ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17) #18 PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:583:22) #19 _dispatchPlatformMessage (dart:ui/hooks.dart:89:31) (elided 5 frames from class _AssertionError and dart:async) ==================================================================================================== Analyzing raw... No issues found! (ran in 0.8s) [✓] Flutter (Channel beta, 2.10.0-0.3.pre, on macOS 12.0.1 21A559 darwin-arm, locale en-US) • Flutter version 2.10.0-0.3.pre at /Users/mihai/dev/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision fdd0af78bb (3 weeks ago), 2022-01-25 22:01:33 -0600 • Engine revision 5ac30ef0c7 • Dart version 2.16.0 (build 2.16.0-134.5.beta) • DevTools version 2.9.2 [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) • Android SDK at /Users/mihai/Library/Android/sdk • Platform android-31, build-tools 32.1.0-rc1 • ANDROID_HOME = /Users/mihai/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 13.2.1) • Xcode at /Applications/Xcode.app/Contents/Developer • CocoaPods version 1.11.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763) [✓] VS Code (version 1.63.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [✓] Connected device (3 available) • Pixel 4 XL (mobile) • 96071FFBA00055 • android-arm64 • Android 11 (API 30) • iPhone 13 (mobile) • 900F5EC7-231D-4E15-9C75-E6B3C458E245 • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator) • Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.80 [✓] HTTP Host Availability • All required HTTP hosts are available • No issues found! @mihaibulic Looking at the error log you shared, it seems to be similar to below reported issues: https://github.com/flutter/flutter/issues/98071. -> this is reported on Windows https://github.com/flutter/flutter/issues/95888. -> this was fixed in December. Since you are on older version of beta, can you upgrade it to the latest or also try to switch to latest master and try again the scenario to see if you still get the same error or not.
2025-04-01T06:38:42.627293
2024-01-19T10:18:59
2090181097
{ "authors": [ "engine-flutter-autoroll" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6019", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/pull/141851" }
gharchive/pull-request
Roll Flutter Engine from d1afda52d254 to e47f8766c171 (3 revisions) https://github.com/flutter/engine/compare/d1afda52d254...e47f8766c171 2024-01-19<EMAIL_ADDRESS>[Android] Fix KeyEmbedderResponder throws a NullPointerException (flutter/engine#49860) 2024-01-19<EMAIL_ADDRESS>Roll Skia from dd24bd11d79e to e073a4fad57a (1 revision) (flutter/engine#49881) 2024-01-19<EMAIL_ADDRESS>Manual roll Dart SDK from d6c08fa9bb54 to 8d697eaa395c (23 revisions) (flutter/engine#49880) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC jonahwilliams@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Commit queue failed; closing this roll.
2025-04-01T06:38:42.647259
2024-06-03T05:41:42
2330220099
{ "authors": [ "b3nni97", "dkwingsmt", "vashworth" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6020", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/pull/149568" }
gharchive/pull-request
[CupertinoActionSheet] Match colors to native This PR matches the various colors of CupertinoActionSheet more closely with the native one. The following colors are changed. Sheet background color Pressed button color Cancel button color Pressed cancel button color Divider color Content text color The resulting colors match with native one with deviation of at most 1 (in terms of 0~255 RGB). The following are comparison (left to right: Native, Flutter after PR, Flutter current) Note: The divider thickness is adjusted to 1/dpr instead of 0.3 in both Flutter version to make them look more native, as will be proposed in https://github.com/flutter/flutter/pull/149636. Derivation All the colors are derived through color picker and calculation. The algorithm is as followed: Assume all colors are translucent grey colors, i.e. having the same value x for R, G, and B, with an alpha a. Given the barrier color is x_B1=0 when the background is black, and x_B2=204 when the background is white. Pick the target color x_t1 when the background is black, and x_t2 when the background is white Solve the following equations for x and a a * x + (1-a) * x_B1 = x_t1 a * x + (1-a) * x_B2 = x_t2 a = 1 - (x_t1 - x_t2) / (x_B1 - x_B2) x = (x_t1 - (1-a) * x_B1) / a These equations use a linear model for color composition, which might not be exact, but is close enough for an accuracy of (1/255). The full table is as follows: The first two columns are colors picked from XCode. The 3~4 columns are the colors picked from the current Flutter. Notice the deviation, which is sometimes drastic. The 5~6 columns are the colors picked from Flutter after this PR. The deviation is at most 1. The last few columns are calculation. There are two rows whose calculation is based on adjusted numbers, since the original results are not accurate enough, possibly due to the linear composition. During the calculation, I assumed these colors vary between light and dark modes, but it turns out that both modes use the same set of colors. Screenshots Pre-launch Checklist [ ] I read the Contributor Guide and followed the process outlined there for submitting PRs. [ ] I read the Tree Hygiene wiki page, which explains my responsibilities. [ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement. [ ] I signed the CLA. [ ] I listed at least one issue that this PR fixes in the description above. [ ] I updated/added relevant documentation (doc comments with ///). [ ] I added new tests to check the change I am making, or this PR is test-exempt. [ ] I followed the breaking change policy and added Data Driven Fixes where supported. [ ] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on Discord. Reason for revert: Appears to be failing tests in tree 01:48 +2991 ~18: /Volumes/Work/s/w/ir/x/w/flutter/packages/flutter/test/cupertino/action_sheet_test.dart: Taps on a button can be slided to other buttons ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ The following SkiaException was thrown while running async test code: Skia Gold received an unapproved image in post-submit testing. Golden file images in flutter/flutter are triaged in pre-submit during code review for the given PR. Visit https://flutter-gold.skia.org/ to view and approve the image(s), or revert the associated change. For more information, visit the wiki: https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter Debug information for Gold -------------------------------- stdout: Given image with hash 601f421e3bb643f437cc12395de96152 for test cupertino.cupertinoActionSheet.press-drag Expectation for test: ce8ef79c146857d162663b1161fd6d5c (positive) Expectation for test: 3bb57a8782f67836c6ad3ece7f00729a (positive) Expectation for test: 3f8c592774caf3c760fbbd318a7dc5af (positive) Expectation for test: 61863f38217aa3349c239eeb49b84930 (positive) Expectation for test: 98af16e9b7eb3fb810b44c74bb18ffb9 (positive) Untriaged or negative image: https://flutter-gold.skia.org//detail?grouping=name%3Dcupertino.cupertinoActionSheet.press-drag%26source_type%3Dflutter&digest=601f421e3bb643f437cc12395de96152 stderr: Test: cupertino.cupertinoActionSheet.press-drag FAIL result-state.json: No result file found. PR to manual revert: https://github.com/flutter/flutter/pull/149998 @dkwingsmt I have problems with the colors in dark mode, I suspect this PR has broken something. @dkwingsmt I have problems with the colors in dark mode, I suspect this PR has broken something. I see some colors are not resolved by CupertinoDynamicColor.resolve, maybe thats the issue. Can you provide me with screenshots and code to reproduce? I might have used the wrong method to test. Hi @dkwingsmt, I´m using this code to reproduce: void main() { runApp(TestScaffoldApp( theme: const CupertinoThemeData(brightness: Brightness.dark), actionSheet: CupertinoActionSheet( actions: [ CupertinoActionSheetAction( onPressed: () {}, child: Text('Button'), ), CupertinoActionSheetAction( onPressed: () {}, child: Text('Button'), ), ], cancelButton: CupertinoActionSheetAction( isDefaultAction: true, child: Text("Cancel"), onPressed: () {}, ), ), )); } // Shows an app that has a button with text "Go", and clicking this button // displays the `actionSheet` and hides the button. // // The `theme` will be applied to the app and determines the background. class TestScaffoldApp extends StatefulWidget { const TestScaffoldApp( {super.key, required this.theme, required this.actionSheet}); final CupertinoThemeData theme; final Widget actionSheet; @override TestScaffoldAppState createState() => TestScaffoldAppState(); } class TestScaffoldAppState extends State<TestScaffoldApp> { bool _pressedButton = false; @override Widget build(BuildContext context) { return CupertinoApp( theme: widget.theme, home: Builder( builder: (BuildContext context) => CupertinoPageScaffold( child: Center( child: _pressedButton ? Container() : CupertinoButton( onPressed: () { setState(() { _pressedButton = true; }); showCupertinoModalPopup<void>( context: context, builder: (BuildContext context) { return widget.actionSheet; }, ); }, child: const Text('Go'), ), ), ), ), ); } } This is where I use your PR using Dark Mode: This is running the latest master (still not correct, so maybe some other PR has broken this behavior): The first screenshot is exactly what I observed on an Xcode native app when the dark mode toggle on the status bar is on. Did I do it wrong? Can you show me what color it should be? Maybe this is a bug in Xcode itself, I can't reproduce it myself in Xcode right now, but this is what a native action sheet looks like in dark mode in the Contacts app. If I use CupertinoDynamicColors.resolve for all colors in _ActionSheetButtonBackground (currently _kPressed, _kActionSheetCancelPressedColor and secondarySystemGroupedBackground Color are not resolved), then I get these colors (matching native) Thanks you very much! Yeah I couldn't believe it either when I saw that the colors were the same in dark mode. I'll do more research (probably by running the native app on my phone).
2025-04-01T06:38:42.653683
2018-03-15T19:41:21
305693425
{ "authors": [ "Hixie", "jonahwilliams" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6021", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/pull/15581" }
gharchive/pull-request
Traverse dependencies and dev dependencies separately Note: not quite ready, still verifying correctness Fixes #15080 Currently, flutter update-packages --force-upgrade will combine the dependencies and dev_dependencies sections of a pubspec before retrieving the set of transitive dependencies. All of the resulting deps are then added to the dev dependency section. This behavior is not quite correct, as documented in #14992. The transitive dependencies of the package direct dependencies must be included in the dependencies section. For example, the main flutter package (currently) has a dep on http. We should expect the pubspec to look something like this: dependencies: http: 0.11.3+16 ... async: 2.0.6 # TRANSITIVE DEPENDENCY charcode: 1.1.1 # TRANSITIVE DEPENDENCY http_parser: 3.1.1 # TRANSITIVE DEPENDENCY path: 1.5.1 # TRANSITIVE DEPENDENCY source_span: 1.4.0 # TRANSITIVE DEPENDENCY string_scanner: 1.0.2 # TRANSITIVE DEPENDENCY Instead It looks something like the following, with the transitive deps of package:http added in dev_dependencies: dependencies: http: 0.11.3+16 ... dev_dependencies: async: 2.0.6 # TRANSITIVE DEPENDENCY charcode: 1.1.1 # TRANSITIVE DEPENDENCY http_parser: 3.1.1 # TRANSITIVE DEPENDENCY path: 1.5.1 # TRANSITIVE DEPENDENCY source_span: 1.4.0 # TRANSITIVE DEPENDENCY string_scanner: 1.0.2 # TRANSITIVE DEPENDENCY To correct this process, I've updated the flutter update-packages command to separate the dependencies and dev_dependenices, then to do two traversals of the resulting transitive deps. The same seen set is used between both traversals to prevent repeats, since any package in the dependencies section is implicitly a dev dependency too. Furthermore, when determining the dependencies of a PubspecYaml, we need to distinguish between regular and dev deps too I also ran the updated command on the flutter repos The use of package:intl_translation seems to be adding a lot of unfortunate dependencies While you're here, can you do me a favour and change the text "TRANSITIVE DEPENDENCY" to something like THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade ? It might reduce the number of times that people try to manually update these lines. For super duper bonus points (not at all required for this PR unless you feel motivated to do it), what you could do to REALLY stop people from hand-editing these is include a value at the bottom of each list which is some sort of hash of the values above, along with a comment saying to run the script to update it, and then add a test that opens each pubspec.yaml and verifies that the hashes match the currently listed dependencies. This is fantastic, thanks. I didn't check the comments that aren't mentioned in the diff, but I recommend doing one last scan through the file to make sure all the comments still make sense. @Hixie I added an initial implementation of a simple checksum over the package names + versions, and updated the magic string. Also addressed comment comments.
2025-04-01T06:38:42.657924
2018-06-27T21:30:01
336394251
{ "authors": [ "DanTup", "Hixie", "yjbanov" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6022", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/pull/18887" }
gharchive/pull-request
Mark flutter_gallery_instrumentation_test as flaky See #18879. Please merge for me if you're happy with this; it's getting late here so I'll be off v. soon. Windows Cirrus failure is "Agent is not responding!", so I've restarted it. This test doesn't seem flaky. I think we can unmark it. You jinxed it :( Yellow 3 times in the last 6 runs. https://flutter-dashboard.appspot.com/api/get-log?ownerKey=ahNzfmZsdXR0ZXItZGFzaGJvYXJkclgLEglDaGVja2xpc3QiOGZsdXR0ZXIvZmx1dHRlci9lZTM5NjI3MmQzMjYzZWVjNDZjOTRiYjFmYTAwY2QyY2E3MmRkMWU3DAsSBFRhc2sYgICAgICA1AgM https://flutter-dashboard.appspot.com/api/get-log?ownerKey=ahNzfmZsdXR0ZXItZGFzaGJvYXJkclgLEglDaGVja2xpc3QiOGZsdXR0ZXIvZmx1dHRlci9hY2Y0YjZjMWFhNjMxZTVmYTYyOTliYTdlZjZkZmRmZTFmYTdkNmFiDAsSBFRhc2sYgICAgICAiAoM https://flutter-dashboard.appspot.com/api/get-log?ownerKey=ahNzfmZsdXR0ZXItZGFzaGJvYXJkclgLEglDaGVja2xpc3QiOGZsdXR0ZXIvZmx1dHRlci81YjMwYjM5M2E4Y2Y3ZjAwOTJmMTcyNmM1YThmNzk4MzJiMGFkMGY4DAsSBFRhc2sYgICAgICAuAkM
2025-04-01T06:38:42.660645
2018-09-28T17:33:03
364978251
{ "authors": [ "gspencergoog", "leafpetersen", "yjbanov" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6023", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/pull/22435" }
gharchive/pull-request
Use mixin syntax for Flutter's super-mixins Convert all super-mixins to the new mixin syntax. This brings new versions of the analyzer, linter, and dartdoc that support the new syntax. @stereotype441 @JekCharlsonYu @leafpetersen In general it is not easy to spot a class that may or may not be used as a super-mixin @yjbanov You know that if you remove enableSuperMixins: true from analysis_options.yaml you'll get errors on anything that mixes in an old-style super-mixin right? Assuming so, presumably the issue is things that client code might mix in but nothing in the framework mixes in? You could check with @keertip about possibly doing a presubmit on google code with enableSuperMixins disabled which might give you better coverage.
2025-04-01T06:38:42.666099
2019-02-21T11:10:39
412870720
{ "authors": [ "engine-flutter-autoroll" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6024", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/pull/28253" }
gharchive/pull-request
Roll engine 6d7eb52185b1..293b3de986d4 (12 commits) https://github.com/flutter/engine/compare/6d7eb52185b1...293b3de986d4 git log 6d7eb52185b117a3972cac4e23625f97198114d9..293b3de986d42fd67b4e69475f6dbefb7ad55bda --no-merges --oneline 293b3de98 Roll src/third_party/skia 20ebd0cb3882..348227b89430 (4 commits) (flutter/engine#7900) 6e6020d29 Eliminate .member = foo struct initialization (flutter/engine#7899) 6d8bd99af Revert "Reland PerformanceOverlayLayer golden test (#7863)" (flutter/engine#7895) 39f7066b6 Test profile and release build and unit tests (flutter/engine#7880) abe9826a9 Add accessibility semantics support to embedder (flutter/engine#7891) ce7016e1f Roll src/third_party/skia e471c05f92e8..20ebd0cb3882 (4 commits) (flutter/engine#7894) 684c9394c Respect the custom GL proc table when creating the resource context on the IO thread. (flutter/engine#7893) e11d0e96f Android embedding refactor pr5 add flutterengine impl (flutter/engine#7878) 2f4a38dbd Android embedding refactor pr3 add remaining systemchannels (flutter/engine#7892) 8427d73c8 Reland PerformanceOverlayLayer golden test (flutter/engine#7863) 61fc1786f Roll src/third_party/dart c92d5ca288..5ddd157809 (153 commits) b0671145a Roll src/third_party/skia 7738736f9622..e471c05f92e8 (23 commits) (flutter/engine#7889) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff (amirha@google.com), and stop the roller if necessary. Trybots failed. These were the failed builds: https://cirrus-ci.com/task/4835952255041536 Commit queue failed; closing this roll.
2025-04-01T06:38:42.674873
2019-07-11T02:02:33
466617356
{ "authors": [ "engine-flutter-autoroll" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6025", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/pull/35947" }
gharchive/pull-request
Roll engine 75387dbc147d..089c740841e8 (29 commits) https://github.com/flutter/engine/compare/75387dbc147d...089c740841e8 git log 75387dbc147d1cee8164f5d61582eab8ba1e5058..089c740841e8f9f43cfbe9cd119a228da5fbe4d1 --no-merges --oneline 089c74084 Roll fuchsia/sdk/core/mac-amd64 from lCQWEeR_Ert7t_qAbMRycwrRyZC-dIprYPyPJzwPmg4C to EYnRdXFT9l-d8Qkz4zeTRXnqfV3KQzpQhoPs1r0-740C (flutter/engine#9759) b22410ef6 Include SkParagraph headers only when the enable-skshaper flag is on (flutter/engine#9758) 2cd650d26 Minimal integration with the Skia text shaper module (flutter/engine#9556) f775f5e4d Re-enable the Wuffs GIF decoder (flutter/engine#9466) aca048236 Make all shell unit tests use the OpenGL rasterizer. (flutter/engine#9746) bc57291ff Make FLEViewController's view an internal detail (flutter/engine#9741) 9776043ea Synchronize main thread and gpu thread for first render frame (flutter/engine#9506) f600ae830 Use libc++ variant of string view and remove the FML variant. (flutter/engine#9737) 564f53f0a Revert "Improve caching limits for Skia (#9503)" (flutter/engine#9740) b453d3c3d libtxt: fix reference counting of SkFontStyleSets held by font asset providers (flutter/engine#9561) fa7627d17 Fix backspace crash on Chinese devices (flutter/engine#9734) 56885f79b Let pushColorFilter accept all types of ColorFilters (flutter/engine#9641) 6dccb21e6 Roll src/third_party/skia 96fdfe0fe88e..af4e7b6cf616 (1 commits) (flutter/engine#9735) 8511d9b47 Roll fuchsia/sdk/core/mac-amd64 from byM-kyxL4bemlTYNqhKUfJfZoIUrCSzS6XzsFr4n9-MC to lCQWEeR_Ert7t_qAbMRycwrRyZC-dIprYPyPJzwPmg4C (flutter/engine#9742) b3bf0a182 Roll fuchsia/sdk/core/linux-amd64 from I2Qe1zxgckzIzMBTztvzeWYsDgcb9Fw-idSI16oIlx8C to KGmm_RIJoXS19zTm2crjM3RYpmp5Y03-fLUeVdylbTYC (flutter/engine#9743) 7e568232a Fix windows test by not attempting to open a directory as a file. (flutter/engine#9745) 6cf0d1350 Roll src/third_party/skia a3ffaabcc4f2..96fdfe0fe88e (5 commits) (flutter/engine#9731) 49a00aed8 Fix Fuchsia build. (flutter/engine#9730) b3bb39b0b Roll src/third_party/dart 06c3d7ad3a...09fc76bc51 (flutter/engine#9728) 2284210f4 Make the license script compatible with recently changed Dart I/O stream APIs (flutter/engine#9725) ad582b508 Rework image & texture management to use concurrent message queues. (flutter/engine#9486) 1dcd5f52b Roll src/third_party/skia 6b82cf638682..a3ffaabcc4f2 (24 commits) (flutter/engine#9726) 129979cab Revert "Roll src/third_party/dart 06c3d7ad3a..7acecda2cc (12 commits)" (flutter/engine#9724) 8020d7e43 Roll src/third_party/skia 56065d9b875f..6b82cf638682 (3 commits) (flutter/engine#9718) e24bd7846 Roll src/third_party/dart 06c3d7ad3a..7acecda2cc (12 commits) 3d2668c35 Reland isolate group changes 802bd1518 iOS platform view opacity (flutter/engine#9667) 3b6265b74 Roll src/third_party/dart b5aeaa6796..06c3d7ad3a (44 commits) 887e05233 Refactor ColorFilter to have a native wrapper (flutter/engine#9668) The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop the roller if necessary. Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6324628232863744 Commit queue failed; closing this roll.
2025-04-01T06:38:42.686178
2019-08-23T17:07:55
484627961
{ "authors": [ "bangonkali", "blasten", "elmariocarlos", "workerbee22" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6026", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/pull/39126" }
gharchive/pull-request
Fid app bundle in Gradle 3.5 Description The Android Gradle plugin 3.5.0 generates the following app bundle: app(-<flavor>)?-<build-type>.aab. Related Issues Fixes https://github.com/flutter/flutter/issues/38934 Tests I added the following tests: Unit tests in gradle_test.dart Checklist Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process. [x] I read the Contributor Guide and followed the process outlined there for submitting PRs. [x] I signed the CLA. [x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement. [x] I updated/added relevant documentation (doc comments with ///). [x] All existing and new tests are passing. [x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR. [x] I am willing to follow-up on review comments in a timely manner. Breaking Change Does your PR require Flutter developers to manually update their apps to accommodate your change? [ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change. [x] No, this is not a breaking change. https://codecov.io/gh/flutter/flutter/pull/39126/diff?src=pr&el=tree#diff-cGFja2FnZXMvZmx1dHRlcl90b29scy9saWIvc3JjL2FuZHJvaWQvZ3JhZGxlLmRhcnQ= doesn't seem right So does this mean that we just need the master to be pushed to Stable to start using 3.5.0? When can we get this update? So if using Cloud based CI/CD tools, if we can't change to the master branch of Flutter we have to wait? So if using Cloud based CI/CD tools, if we can't change to the master branch of Flutter we have to wait? Not really, if youjust put the option you want to use in the Gradle, you should be ok. However, this should be supported soon. Hi @elmariocarlos , I'm not exactly an expert in Gradle but is there a quick switch param on flutter build command to set this up? Not really, if youjust put the option you want to use in the Gradle, you should be ok. Hi @elmariocarlos , I'm not exactly an expert in Gradle but is there a quick switch param on flutter build command to set this up? Not really, if youjust put the option you want to use in the Gradle, you should be ok. Go to your android/build.gradle file, and change the version there, for example: dependencies { classpath 'com.android.tools.build:gradle:3.4.1'
2025-04-01T06:38:42.695740
2021-03-20T16:30:37
836853731
{ "authors": [ "engine-flutter-autoroll" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6027", "repo": "flutter/flutter", "url": "https://github.com/flutter/flutter/pull/78699" }
gharchive/pull-request
Roll Plugins from d7125cdb91c0 to 7b9ac6b0c20d (11 revisions) https://github.com/flutter/plugins/compare/d7125cdb91c0...7b9ac6b0c20d 2021-03-20<EMAIL_ADDRESS>[quick_actions] 2/3 Quick actions federated platform interface (flutter/plugins#3735) 2021-03-19<EMAIL_ADDRESS>[ci] Run more web tests (flutter/plugins#3739) 2021-03-19<EMAIL_ADDRESS>Enable web integration tests in CI (flutter/plugins#3738) 2021-03-19<EMAIL_ADDRESS>Standardize copyright year (flutter/plugins#3737) 2021-03-19<EMAIL_ADDRESS>Moved quickactions to a subfolder (flutter/plugins#3734) 2021-03-19<EMAIL_ADDRESS>[integration_test] Deprecate, and stop using in this repository (flutter/plugins#3723) 2021-03-18<EMAIL_ADDRESS>Standardize Copyrights: Chromium->Flutter (flutter/plugins#2996) 2021-03-18<EMAIL_ADDRESS>Fix cosmetic variations in copyrights and license files (flutter/plugins#3730) 2021-03-18<EMAIL_ADDRESS>Add an AUTHORS file to each plugin (flutter/plugins#3725) 2021-03-18<EMAIL_ADDRESS>[google_sign_in] Adds support to send clientId as a parameter (flutter/plugins#3640) 2021-03-17<EMAIL_ADDRESS>Prep for alignment with Flutter analysis options (flutter/plugins#3703) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll Please CC<EMAIL_ADDRESS>on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md Commit queue failed; closing this roll.
2025-04-01T06:38:42.760166
2019-03-27T08:26:02
425822426
{ "authors": [ "ninnepinne" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6028", "repo": "flutter/plugins", "url": "https://github.com/flutter/plugins/pull/1407" }
gharchive/pull-request
[firebase_crashlytics] Update README code example Seems like the API has changed but not the code example. reportInDevMode -> enableInDevMode Description README change. Code example Related Issues Checklist Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process. [ ] I read the Contributor Guide and followed the process outlined there for submitting PRs. [ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide). [ ] All existing and new tests are passing. [ ] I updated/added relevant documentation (doc comments with ///). [ ] The analyzer (flutter analyze) does not report any problems on my PR. [ ] I read and followed the Flutter Style Guide. [ ] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences] [ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy. [ ] I updated CHANGELOG.md to add a description of the change. [ ] I signed the CLA. [ ] I am willing to follow-up on review comments in a timely manner. Breaking Change Does your PR require plugin users to manually update their apps to accommodate your change? [ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision). [x ] No, this is not a breaking change. I signed it!
2025-04-01T06:38:42.768059
2020-12-02T19:52:50
755565657
{ "authors": [ "cyanglaz", "veljkomih" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6029", "repo": "flutter/plugins", "url": "https://github.com/flutter/plugins/pull/3298" }
gharchive/pull-request
[video_player] Adding a fix for video player alignment issues on iPhone 12Pro Description Video player was experiencing alignment issues on iPhone12 Pro device Checklist Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process. [x] I read the Contributor Guide and followed the process outlined there for submitting PRs. [ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide). [ ] All existing and new tests are passing. [ ] I updated/added relevant documentation (doc comments with ///). [ ] The analyzer (flutter analyze) does not report any problems on my PR. [ ] I read and followed the Flutter Style Guide. [ ] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences] [ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy. [ ] I updated CHANGELOG.md to add a description of the change. [x] I signed the CLA. [x] I am willing to follow-up on review comments in a timely manner. Breaking Change Does your PR require plugin users to manually update their apps to accommodate your change? [ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision). [x] No, this is not a breaking change. @googlebot I signed it! I'm going to close the PR because the CLA is not signed. Feel free to ping me when the CLA is signed and I'll re-open the PR. Or you can open a new PR after signing the CLA. I'm going to close the PR because the CLA is not signed. Feel free to ping me when the CLA is signed and I'll re-open the PR. Or you can open a new PR after signing the CLA.
2025-04-01T06:38:42.779031
2022-01-06T19:23:15
1095622382
{ "authors": [ "Hixie", "ditman", "stuartmorgan" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6030", "repo": "flutter/plugins", "url": "https://github.com/flutter/plugins/pull/4647" }
gharchive/pull-request
Remove dependencies on 'meta' Flutter re-exports everything from meta that we actually use, and all plugins by definition require Flutter, so there's no need to use meta instead of Flutter to access common annotations (e.g., immutable, visibleForTesting). This removes all use of meta, as well as dependencies on the package, from all plugins. Fixes https://github.com/flutter/flutter/issues/95658 Pre-launch Checklist [x] I read the Contributor Guide and followed the process outlined there for submitting PRs. [x] I read the Tree Hygiene wiki page, which explains my responsibilities. [x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.) [x] I signed the CLA. [x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences] [x] I listed at least one issue that this PR fixes in the description above. [x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes. [x] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style. [x] I updated/added relevant documentation (doc comments with ///). [x] I added new tests to check the change I am making, or this PR is test-exempt. [x] All existing and new tests are passing. We actually do have a test for this in the flutter/flutter repo, FWIW. It just reads every Dart file and checks for the banned imports. test-exempt: code refactor with no semantic change We actually do have a test for this in the flutter/flutter repo, FWIW. It just reads every Dart file and checks for the banned imports. I had considered this, but presumably there could be cases where we'd want to use something from meta that Flutter doesn't happen to re-export, so an outright ban didn't seem like the right behavior. (I guess in theory we could make it a complicated check that only allowed import 'meta/meta.dart' show <things not in a list of banned items>...) We could also just require that anything we want to use has to be re-exported from foundation. But I don't feel strongly about this either way. I wish this could be done with: meta: sdk: flutter That way we don't have to remember the random place from which the framework reexports the meta pkg :/ That way we don't have to remember the random place from which the framework reexports the meta pkg :/ It's not really that random, it's the foundation package of the core framework. :-)
2025-04-01T06:38:42.802075
2023-05-11T08:23:03
1705315876
{ "authors": [ "AlexV525", "brux88", "ps6067966" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6031", "repo": "fluttercandies/flutter_wechat_assets_picker", "url": "https://github.com/fluttercandies/flutter_wechat_assets_picker/issues/442" }
gharchive/issue
[BUG] Error with something Describe the bug , if I click on the image picker home page, after a while it goes wrong How to reproduce I downloaded your example, Steps to reproduce the behavior: I downloaded your example, if I click on the image picker home page, after a while it goes wrong, see screnncast https://www.screencast.com/t/R9DZdLBgJNg9 Expected behavior as if it fails to load images, but it should go ahead and not go into error because if , I continue debugging then it loads everything> Version information Device: Samsung s22+ OS:Android 13 Package Version: wechat_assets_picker Flutter Version:3.7.12 AlexV525 extended image package is now updated as per 3.10.0 Track with #445.
2025-04-01T06:38:42.807820
2022-02-17T23:20:09
1142052625
{ "authors": [ "dpedrinha", "vbuberen" ], "license": "bsd-3-clause", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6032", "repo": "fluttercommunity/plus_plugins", "url": "https://github.com/fluttercommunity/plus_plugins/issues/754" }
gharchive/issue
connectivity_plus is incompatible with flutter_local_notifications. System info Platform the Issue occurs on: Both Plugin name: connectivity_plus Plugin version: 2.2.1 Steps to Reproduce Add connectivity_plus 2.2.1 and flutter_local_notifications 9.0.2 to any project and try pub get Because connectivity_plus >=2.2.1 depends on connectivity_plus_linux ^1.3.0 which depends on nm ^0.5.0, connectivity_plus >=2.2.1 requires nm ^0.5.0. (1) So, because nm >=0.5.0 depends on dbus ^0.7.0, connectivity_plus >=2.2.1 requires dbus ^0.7.0. Because flutter_local_notifications >=9.2.0 <10.0.0-dev.1 depends on flutter_local_notifications_linux ^0.4.1 and flutter_local_notifications >=9.1.5 <9.2.0 depends on flutter_local_notifications_linux ^0.4.0, flutter_local_notifications >=9.1.5 <10.0.0-dev.1 requires flutter_local_notifications_linux ^0.4.0. And because flutter_local_notifications >=9.0.0 <9.1.5 depends on flutter_local_notifications_linux ^0.3.0, flutter_local_notifications >=9.0.0 <10.0.0-dev.1 requires flutter_local_notifications_linux ^0.3.0 or ^0.4.0. And because flutter_local_notifications_linux <0.4.0 depends on dbus ^0.5.0 and flutter_local_notifications_linux >=0.4.0 depends on dbus ^0.6.0, flutter_local_notifications >=9.0.0 <10.0.0-dev.1 requires dbus ^0.5.0 or ^0.6.0. And because connectivity_plus >=2.2.1 requires dbus ^0.7.0 (1), connectivity_plus >=2.2.1 is incompatible with flutter_local_notifications >=9.0.0 <10.0.0-dev.1. So, because 'myappname' depends on both flutter_local_notifications ^9.0.2 and connectivity_plus ^2.2.1, version solving failed. pub get failed (1; So, because 'myappname' depends on both flutter_local_notifications ^9.0.2 and connectivity_plus ^2.2.1, version solving failed.) Flutter doctor output flutter doctor -v [√] Flutter (Channel master, 2.11.0-0.0.pre.604, on Microsoft Windows [versão 10.0.19043.1466], locale pt-BR) • Flutter version 2.11.0-0.0.pre.604 at D:\DEV\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 28e1dea69c (2 hours ago), 2022-02-17 16:24:16 -0500 • Engine revision 01ac6cf661 • Dart version 2.17.0 (build 2.17.0-117.0.dev) • DevTools version 2.10.0 [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc4) • Android SDK at C:\Users\myuser\AppData\Local\Android\sdk • Platform android-31, build-tools 31.0.0-rc4 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe [X] Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 4.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174) [√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [versão 10.0.19043.1466] • Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.102 • Edge (web) • edge • web-javascript • Microsoft Edge 94.0.992.47 [√] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 1 category. Connectivity plus 2.2.1 was updated to use latest nm dependency to be compatible with other plugins #728 Currently, looking at your logs it is flutter_local_notification isn't compatible with Connectivity plus, since uses older version of nm.
2025-04-01T06:38:42.810217
2020-09-13T11:59:47
700556554
{ "authors": [ "ac130kz", "frank06" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6033", "repo": "flutterdata/flutter_data", "url": "https://github.com/flutterdata/flutter_data/issues/62" }
gharchive/issue
Support riverpod >0.10.0, state_notifier >0.6.0 Riverpod and state_notifier got several updates (https://pub.dev/packages/riverpod/changelog, https://pub.dev/packages/state_notifier/changelog), which were mostly bug fixes. Could you please update them to the latest versions? Sure, I will get to that as soon as I can. @ac130kz done
2025-04-01T06:38:42.884998
2020-10-21T11:48:33
726405308
{ "authors": [ "hiddeco", "stuartpb" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6034", "repo": "fluxcd/helm-controller", "url": "https://github.com/fluxcd/helm-controller/issues/123" }
gharchive/issue
unable to merge value from key 'sharedSecret' in Secret 'pomerium/pomerium-config-secrets' into target path 'config.sharedSecret': unable to parse key: assignment to entry in nil map I have this HelmRelease: apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: pomerium namespace: pomerium selfLink: /apis/helm.toolkit.fluxcd.io/v2beta1/namespaces/pomerium/helmreleases/pomerium spec: chart: spec: chart: pomerium sourceRef: kind: HelmRepository name: pomerium namespace: gotk-system version: 13.0.0 interval: 10m0s values: config: policy: - allowed_users: - github/stuartpb -<EMAIL_ADDRESS> from: https://alertmanager.horn.horse to: http://kps-alertmanager.prometheus.svc.cluster.local:9093 - allowed_users: - github/stuartpb -<EMAIL_ADDRESS> from: https://prometheus.horn.horse to: http://kps-prometheus.prometheus.svc.cluster.local:9090 - allowed_users: - github/stuartpb -<EMAIL_ADDRESS> from: https://grafana.horn.horse pass_identity_headers: true to: http://kube-prometheus-stack-grafana.prometheus.svc.cluster.local - allowed_users: - github/stuartpb -<EMAIL_ADDRESS> from: https://rook-ceph.horn.horse to: http://rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local:7000 - allowed_users: - github/stuartpb -<EMAIL_ADDRESS> from: https://kubernetes-dashboard.horn.horse tls_skip_verify: true to: https://kubernetes-dashboard.kubernetes-dashboard.svc.cluster.local rootDomain: horn.horse extraEnvFrom: - secretRef: name: hornhorse-github forwardAuth: enabled: true internal: true ingress: annotations: cert-manager.io/cluster-issuer: stuartpb-letsencrypt-staging ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/ingress.class: internal kubernetes.io/tls-acme: "true" nginx.ingress.kubernetes.io/backend-protocol: HTTPS secret: name: pomerium-hornhorse-cert nodeSelector: kubernetes.io/arch: amd64 redis: enabled: true image: repository: library/redis master: persistence: storageClass: throwaway slave: persistence: storageClass: throwaway valuesFrom: - kind: Secret name: pomerium-config-secrets targetPath: config.sharedSecret valuesKey: sharedSecret - kind: Secret name: pomerium-config-secrets targetPath: config.cookieSecret valuesKey: cookieSecret status: conditions: - lastTransitionTime: "2020-10-21T11:33:39Z" message: 'unable to merge value from key ''sharedSecret'' in Secret ''pomerium/pomerium-config-secrets'' into target path ''config.sharedSecret'': unable to parse key: assignment to entry in nil map' reason: InitFailed status: "False" type: Ready failures: 1 helmChart: gotk-system/pomerium-pomerium lastAttemptedRevision: 13.0.2 lastAttemptedValuesChecksum: 5b8d69560c6da71246c86fa2402a934632dd96e1 lastHandledReconcileAt: "2020-10-21T04:33:31.530090319-07:00" lastReleaseRevision: 3 observedGeneration: 12 And this Secret (:shushing_face:) apiVersion: v1 data: cookieSecret: YW83K2tmdTBvR0RPNWFQWjQvWUQ2Y2NrR2dDbi9Sb1gyWkRwTTUyVQ== sharedSecret: YmJlK1BXNlBWTnd1STNYaUp1RStEUXh3eEgvVVB6ZU5QYi9WSGpTYQ== kind: Secret metadata: annotations: secret-generator.v1.mittwald.de/autogenerate: sharedSecret,cookieSecret secret-generator.v1.mittwald.de/autogenerate-generated-at: "2020-10-21T11:21:26Z" secret-generator.v1.mittwald.de/secure: "yes" secret-generator.v1.mittwald.de/type: string name: pomerium-config-secrets namespace: pomerium selfLink: /api/v1/namespaces/pomerium/secrets/pomerium-config-secrets type: Opaque As you can see, the Helm chart isn't reconciling, as every attempt to do so fails with unable to merge value from key ''sharedSecret'' in Secret ''pomerium/pomerium-config-secrets'' into target path ''config.sharedSecret'': unable to parse key: assignment to entry in nil map. This Secret was originally created with the data fields missing (they were created by the secret-generator operator), so I thought it might be possible that it's trying to pull its values from the empty version, but I tried restarting the Helm Controller pod and it's still happening, so I've ruled that out. This is a likely a duplicate of #113, and should have been fixed in the latest v0.1.3 release.
2025-04-01T06:38:42.898624
2021-06-23T15:06:34
928361167
{ "authors": [ "makkes", "relu", "stefanprodan" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6035", "repo": "fluxcd/image-reflector-controller", "url": "https://github.com/fluxcd/image-reflector-controller/pull/153" }
gharchive/pull-request
Make concurrent reconciliation configurable Default for both, the ImageRepository and the ImagePolicy controllers is 4 workers. closes #148 Signed-off-by: Max Jonas Werner<EMAIL_ADDRESS> Looking good, @makkes! One suggestion I have, for consistency's sake, I think it would make sense to define some types named ImagePolicyReconcilerOptions and respectively ImageRepositoryReconcilerOptions to hold the reconciliation specific options separately, similar to how it's done in other controllers. Also see an example of the SetupWithManager implementation. Looking good, @makkes! One suggestion I have, for consistency's sake, I think it would make sense to define some types named ImagePolicyReconcilerOptions and respectively ImageRepositoryReconcilerOptions to hold the reconciliation specific options separately Yeah, I saw these in the other controllers and was wondering why these were different. If you don't mind, I'll introduce these types in a subsequent PR to keep this focussed on the reconciliation configurability. What do you think? @makkes it's ok to introduce the Options types in this PR. @makkes it's ok to introduce the Options types in this PR. Alright, I'll add a commit shortly. @relu @stefanprodan added option types for both controllers. PS. Can you please do the same in image-automation-controller? sure thing @stefanprodan https://github.com/fluxcd/image-automation-controller/pull/192
2025-04-01T06:38:42.906212
2023-05-26T15:08:06
1727805574
{ "authors": [ "adeturner", "stefanprodan" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6036", "repo": "fluxcd/terraform-provider-flux", "url": "https://github.com/fluxcd/terraform-provider-flux/issues/478" }
gharchive/issue
Provider removing kustomize-controller patch Thanks for the prior help. Implementing SOPS/AAD pod identity, I'm not sure the best way to patch the kustomize-controller so have put it in clusters/staging/flux-system/kustomization.yaml. This did match the approach in the docs https://fluxcd.io/flux/installation/#customize-flux-manifests Having done that I've found that rerunning the terraform provider 1.0.0-rc3 is reverting kustomization.yaml and wiping out my patch Note: the lines matching ^*** are removals: # flux_bootstrap_git.this will be updated in-place ~ resource "flux_bootstrap_git" "this" { id = "flux-system" ~ repository_files = { ~ "clusters/staging/flux-system/kustomization.yaml" = <<-EOT apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - gotk-components.yaml - gotk-sync.yaml *** - patches: *** - - path: kustomize-controller-patch.yaml EOT # (2 unchanged elements hidden) } # (11 unchanged attributes hidden) } fyi... $ find clusters/staging/ clusters/staging/flux-system clusters/staging/flux-system/kustomization.yaml clusters/staging/flux-system/kustomize-controller-patch.yaml clusters/staging/flux-system/gotk-sync.yaml clusters/staging/flux-system/gotk-components.yaml clusters/staging/infrastructure.yaml clusters/staging/apps.yaml kustomization.yaml: apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - gotk-components.yaml - gotk-sync.yaml patches: - path: kustomize-controller-patch.yaml kustomize-controller-patch.yaml: apiVersion: apps/v1 kind: Deployment metadata: name: kustomize-controller namespace: flux-system spec: selector: matchLabels: app: kustomize-controller template: metadata: labels: ## For aad-pod-identity # aadpodidbinding: ${IDENTITY_NAME} match the AzureIdentity name aadpodidbinding: sops-decryptor spec: containers: - name: manager ## For aad-pod-identity env: - name: AZURE_AUTH_METHOD value: msi Please see how to customise Flux from Terraform https://registry.terraform.io/providers/fluxcd/flux/latest/docs/resources/bootstrap_git#customizing-flux If your using Terraform this is the only way For future reference... resource "flux_bootstrap_git" "this" { depends_on = [github_repository_deploy_key.this] path = var.flux_cluster_dir kustomization_override = local.kustomization_override } locals { kustomization_override = <<KUST_EOF apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: gotk-components.yaml gotk-sync.yaml patches: path: kustomize-controller-patch.yaml KUST_EOF }
2025-04-01T06:38:42.988857
2015-07-22T14:37:47
96583936
{ "authors": [ "MadcapJake", "bucaran", "derhuerst", "iamstarkov", "watilde" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6038", "repo": "flyjs/fly", "url": "https://github.com/flyjs/fly/issues/56" }
gharchive/issue
Supportting node version Currently fly supports "node": ">= 0.11.16", but co fly are using supports"node": ">= 0.12.0". What do you think about to update supporting version to same version with co? btw, it doesnt work on windows even with<EMAIL_ADDRESS> @iamstarkov Did you get it to work? #50 yep @iamstarkov That's very impressive. Does it handle arrow functions too? not sure --harmony_arrow_functions should do the trick. btw, everything in a fly can be polyfilled, why fly is not shipping already transpiled? @iamstarkov Fly ships transpiled, as you can see by browsing dist/. The use of these flags is to allow users to write Flyfiles using both generators and arrow functions. if fly ship itsled already transpiled, then fly should not require any specific node versions. ability to use arrow functions and generators is in userland and should be fixed by using babel hook with file like flyfile.babel.js. If you want es6 just use babel-version of flyfile =) you even dont need co if fly ship itsled already transpiled, then fly should not require any specific node versions. Fly the CLI and task runner is transpiled and does not require any version. But in order to let you write a Flyfile that uses generators we can't support < 0.11 unless... We transpile every Flyfile we get our hands on. In that case we could support any node version. The drawback is that it will be slower even for users that are only writing ES5. you even dont need co We still need to use co for the co-routine functionality that it provides letting us run tasks concurrently and manipulate generators like state machines out of the box. Just in case there could be any missunderstanding, co has nothing to do with generator support, co is a totally different library, please see some examples here. IMHO I think compiling build scripts on the fly is a bit out of this project's scope. Right now, fly's "selling point" over its competitors is that it fully leverages ES6. This makes fly a nice and lightweight tool for a specific purpose and a specific audience. If fly is going to try to be as universal as other build systems, such as gulp, then it will loose what makes it special. @derhuerst So you are proposing dropping support for ES6/7 and other JavaScript variants? @watilde See tj/co/issues/236 @derhuerst right now, fly does transpiling already. I think this is a great feature that allows me to write flyfiles in Earl Grey (my preferred variant) or ES6/7. This allows fly to do exactly what you want which is to "fully leverage ES6". It doesn't do it internally, it uses js-interpret to import register functions that do the compiling for fly. As far as ES5, the node version and flags, I think we should not compile ES5 flyfiles because it's a nice tradeoff: features -> ES6/variants, performance -> ES5. As a new innovative tool, I think it's important that we push the envelope in terms of pushing node support forward to newer versions rather than eagerly transpiling everything just for supporting all node versions (and also losing performance for ES5 flyfiles). @bucaran Thanks, that changed my mind! Closing as resolved. @derhuerst This is key It (Fly) doesn't do it internally, it uses js-interpret to import register functions (so-called require hooks) that do the (actual) compiling... The source is here. Now, if you have any suggestions on how to improve this part (I know we can do better) I'd love to know. I would like to simplify this bit. IMHO I think compiling build scripts on the fly is a bit out of this project's scope. Right now, fly's "selling point" over its competitors is that it fully leverages ES6. This makes fly a nice and lightweight tool for a specific purpose and a specific audience. If fly is going to try to be as universal as other build systems, such as gulp, then it will loose what makes it special. Now, let me get this straight, are you proposing to completely drop support for ES6/7 and other JavaScript variants? No, I'm not. In fact, I'm urging you to not do this. (; @MadcapJake put it in words I agree with: As far as ES5, the node version and flags, I think we should not compile ES5 flyfiles because it's a nice tradeoff: features -> ES6/variants, performance -> ES5. I agree with this too. As far as ES5, the node version and flags, I think we should not compile ES5 flyfiles because it's a nice tradeoff: features -> ES6/variants, performance -> ES5. 0.4.0 will land support for more node versions by registering the require hook! Bonanza!!
2025-04-01T06:38:43.018052
2016-10-04T06:42:12
180816270
{ "authors": [ "Akkuma", "hzlmn", "lukeed" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6039", "repo": "flyjs/fly", "url": "https://github.com/flyjs/fly/pull/218" }
gharchive/pull-request
[WIP] Full Rework (v2.0.0) This area is reserved for notes, thoughts, and a (wip) changelog. Please feel free to comment below 🙇 Notes with 1.4: 117 tests in ~980ms with 2.0: 180 tests in ~350ms Todo [ ] add fly.target (lol) & tests [ ] add fly.watch & tests [ ] finalize fly.plugin API definition [ ] define plugins using fly.plugin [ ] bind plugins to this instance [ ] incorporate existing fmt object into logging [ ] consolidate / provide better fmt key names [ ] use clean-stack for tracing? [ ] create _github directory [ ] move examples, contributing, etc [ ] finalize changelog [ ] benchmark Changelog Upgraded minimum Node requirement from 0.12 to 4.6 (LTS) Rewrite with (most) ES2015 syntax Dropped --harmony flag Replaced tj/co with bluebird.coroutine generators every prototype method must be yielded, for performance & consistency every util method (fly.$) must be yielded, for performance & consistency Replaced custom EventEmitter with built-in EventEmitter Globs are only expanded once per task lifecycle Rewrote all tests added 65+ new tests! more fine-tuning and control far less prone to core bugs API Fly can be initialized anywhere programmatically removed fly.concat and fly._.cat removed fly.flatten removed fly.unwrap (use fly.$.expand) removed fly.filter (use fly.plugin) removed fly.exec (use fly.start) changed fly.start acts as the base executor resets the stored internal values (fly._) initializes the fly instance, if not already accepts an opts object in addition to a task name opts may contain a src and val removed opts.parallel (see below) added fly.init adds additional instance validations alerts instance of ready status added fly.serial sequentially runs an array of task names allows for opts to be shared & mutated by each chain member interrupts & aborts chain when a member throws added fly.parallel run a group of tasks in parallel, completely indifferent to member order shares opts across all members; does not cascade is correctly yielded prevents next sequence from running until all members have finished changed fly.source eagerly expands globs once per lifecycle populates fly._.globs and fly._.files replaced fly._.host with fly._.tasks Utilities every must be yielded, for performance & consistency exposed publicly as fly.$ added expand changed 'write' will now handle/create its own ancestor tree (mkdir) removed bind removed defer removed apply removed diff removed shallow-copy removed arrayToMap removed custom UnknownOption and UnknownInput error classes (see CLI) CLI added -m and --mode flag defaults to serial toggles the execution type for tasks added additional cli.help content improved cli.list output changed -f and --file to -p and --pwd always expected a directory anyway still defaults to process.cwd() wrapped cli.spawn with bluebird must be yielded merged UnknownOption and UnknownInput into generic CLI error handler moved all cli-related ramp up to cli.js stopped using child_process.spawn dropped --harmony flag Extras Includes #212 , #177, #170 Closes #203 @lukeed Please, ping me when API will be stable for 2.* release. I work on a tool for migrating from one major version to other one for Fly. Basically, it will have web UI where owner of project, that uses Fly, can add his repo, and then receive PRs from bot that will scan flyfile detect old api parts, etc and rewrite or suggest changes, that should be done. @hzlmn Sounds awesome! Will do @lukeed Hey, I'm writting backend for tool, and wondering, if you have any preferences for tech stack? I was thinking about Python3.5 + Aiohttp and some sort of key-value storage (I pretty familiar with this stack, as used actively at work). For node.js I thought about Koa (I don't like callback nature of Express). @hzlmn I always write backends in Elixir...or PHP if the current team/project sets that limitation. I don't actually write much Node (Fly pretty much covers it, or other small CLI utilities), but the last time I wrote a web-related Node project, it was with Feathers.js. Although, it's based on express. Koa would be interesting, I haven't tried it. But if you wanted to keep the Koa / generator system, you could always just require tj/co or bluebird directly & wrap your callbacks. @hzlmn API is largely complete. Only minor (internal) things may change. Still working on examples, new docs & readme @hzlmn Currently published with the beta flag if you want to start fiddling with it. I haven't had time to write up an "Upgrade Guide" yet, but I surely will. npm i -D fly@beta @lukeed thx, will start playing with it. I just want to say thank you for Fly can be initialized anywhere programmatically I've been doing this programmatically for awhile now, but it is basically a copy of how the CLI instantiated a task, so the code looks pretty awful compared to what a public api will look like. const reporter = require('fly/lib/reporter'); const spawn = require('fly/lib/cli/spawn'); const creed = require('creed'); const path = require('path'); module.exports = function() { creed.coroutine(spawn)(path.resolve(__dirname, '../../')) .then(function onSpawn(fly) { return reporter.call(fly) .emit('fly_run', { path: fly.file }) .start(['build:dynamic'], { value: opts }); }) }; @akkuma you're welcome, great suggestion! All of the Fly tests use this method in case you need any examples while using the beta flag.
2025-04-01T06:38:43.023254
2015-03-13T23:58:41
61301400
{ "authors": [ "jvatic", "lmars" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6040", "repo": "flynn/flynn", "url": "https://github.com/flynn/flynn/issues/1253" }
gharchive/issue
SchedulerSuite.TestOmniJobs: unexpected status 500 FAIL: test_scheduler.go:310: SchedulerSuite.TestOmniJobs ++ 23:50:52.930 created app cats-smash-hudson (7232ef2849d84d74b5c113796946fb2f) ++ 23:50:52.982 scaling formation to map[printer:2] ++ 23:50:53.012 waiting for job events: map[printer:map[up:2]] ++ 23:50:53.064 got job event: printer 93d2b834-52bb782faba6425a9d610f8f1daa0137 starting ++ 23:50:53.082 got job event: printer 4f7ece1a-9e5e0e44500540f78137f6966c12637f starting ++ 23:50:54.072 got job event: printer 93d2b834-52bb782faba6425a9d610f8f1daa0137 up ++ 23:50:54.342 got job event: printer 4f7ece1a-9e5e0e44500540f78137f6966c12637f up ++ 23:50:54.342 scaling formation to map[printer:3 omni:2] ++ 23:50:54.351 waiting for job events: map[printer:map[up:1] omni:map[up:6]] ++ 23:50:54.432 got job event: omni 8544f5d4-9e59f62e1fa7406883a37f7fca44fad3 starting ++ 23:50:54.462 got job event: omni 4f7ece1a-545c285b14384c1683a01defbca07433 starting ++ 23:50:54.522 got job event: omni 93d2b834-bbea4364f16a4835bcbf40953f3eefcb starting ++ 23:50:55.575 got job event: omni 8544f5d4-0c388915c5bb47248a892bb09879e619 starting ++ 23:50:55.622 got job event: omni 8544f5d4-9e59f62e1fa7406883a37f7fca44fad3 up ++ 23:50:55.642 got job event: omni 4f7ece1a-8756a65dd2d24d25b24d915d2c137494 starting ++ 23:50:55.662 got job event: omni 4f7ece1a-545c285b14384c1683a01defbca07433 up ++ 23:50:55.712 got job event: omni 93d2b834-db00735b3b214cbfa42e9da5495e1cec starting ++ 23:50:55.732 got job event: omni 93d2b834-bbea4364f16a4835bcbf40953f3eefcb up ++ 23:50:56.782 got job event: printer 8544f5d4-4e43929fb59e465283e7532080699057 starting ++ 23:50:56.812 got job event: omni 8544f5d4-0c388915c5bb47248a892bb09879e619 up ++ 23:50:56.995 got job event: omni 93d2b834-db00735b3b214cbfa42e9da5495e1cec up ++ 23:50:57.022 got job event: omni 4f7ece1a-8756a65dd2d24d25b24d915d2c137494 up ++ 23:50:57.972 got job event: printer 8544f5d4-4e43929fb59e465283e7532080699057 up ++ 23:50:57.972 scaling formation to map[printer:1 omni:1] ++ 23:50:57.988 waiting for job events: map[printer:map[down:2] omni:map[down:3]] ++ 23:50:58.022 got job event: printer 8544f5d4-4e43929fb59e465283e7532080699057 down ++ 23:50:58.102 got job event: printer 4f7ece1a-9e5e0e44500540f78137f6966c12637f down ++ 23:50:58.162 got job event: omni 8544f5d4-0c388915c5bb47248a892bb09879e619 down ++ 23:50:58.202 got job event: omni 93d2b834-db00735b3b214cbfa42e9da5495e1cec down ++ 23:50:58.264 got job event: omni 4f7ece1a-8756a65dd2d24d25b24d915d2c137494 down ++ 23:50:58.264 adding 2 hosts ++ 23:51:04.928 host added: a78dc4ac ++ 23:51:11.709 host added: 096ba1ab ++ 23:51:11.709 waiting for job events: map[omni:map[up:2]] ++ 23:51:11.709 got job event: omni a78dc4ac-447170122d0c4b22b74c914040fba747 starting ++ 23:51:11.710 got job event: omni a78dc4ac-447170122d0c4b22b74c914040fba747 up ++ 23:51:12.222 got job event: omni 096ba1ab-7f3a8d94457441fea89fd2968c2f0a52 starting ++ 23:51:13.122 got job event: omni 096ba1ab-7f3a8d94457441fea89fd2968c2f0a52 up ++ 23:51:13.122 removing 2 hosts test_scheduler.go:370: ... helper.go:206: t.Assert(testCluster.RemoveHost(host), c.IsNil) ... value *url.Error = &url.Error{Op:"DELETE", URL:"https://<IP_ADDRESS>:443/cluster/8ab7bf27/a78dc4ac", Err:(*errors.errorString)(0xc2086e2c80)} ("DELETE https://<IP_ADDRESS>:443/cluster/8ab7bf27/a78dc4ac: httpclient: unexpected status 500") https://ci.flynn.io/builds/20150313234344-23cc0d7f https://ci.flynn.io/builds/20150314000026-ebedf6ee The error in the runner logs is: runner.go:681: clusterAPI err in DELETE /cluster/622c146d/52f46fd6: timed out waiting for host removal Looking in https://ci.flynn.io/builds/20150313234344-23cc0d7f, the host being removed is a78dc4ac, and from the ps faux output, flynn-host has stopped but the containers are still up. The last output from flynn-host is: now=2015-03-13T23:51:13+0000 app=host fn=main at=sampi_disconnected err=0x42f800 So this looks related to #1177, we should consider manually killing the containers with killall .containerinit if the timeout is hit. https://ci.flynn.io/builds/20150314014931-8761e211
2025-04-01T06:38:43.024526
2015-02-23T19:11:36
58633029
{ "authors": [ "lmars", "titanous" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6041", "repo": "flynn/flynn", "url": "https://github.com/flynn/flynn/pull/1061" }
gharchive/pull-request
test: Use Basic Auth with cluster API Putting the auth key in the URL gets leaked in the test logs because the run script is executed with trace on. LGTM
2025-04-01T06:38:43.025721
2016-08-03T17:46:30
169191351
{ "authors": [ "josephglanville", "titanous" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6042", "repo": "flynn/flynn", "url": "https://github.com/flynn/flynn/pull/3221" }
gharchive/pull-request
discoverd: Allow setting service leader during SetServiceMeta This allows us to transactionally set the leader and the service meta at the same time, which is in turn used by Sirenia to prevent the metadata from getting out of sync with the leader entry. Closes #3219 LGTM
2025-04-01T06:38:43.033452
2023-01-28T00:58:04
1560608757
{ "authors": [ "katrogan" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6043", "repo": "flyteorg/flytepropeller", "url": "https://github.com/flyteorg/flytepropeller/pull/521" }
gharchive/pull-request
Inline input data for execution events Signed-off-by: Katrina Rogan<EMAIL_ADDRESS>TL;DR Adds parity to the existing flow for inline event output data passing and storage. Type [ ] Bug Fix [x] Feature [ ] Plugin Are all requirements met? [x] Code completed [x] Smoke tested [x] Unit tests added [x] Code documentation added [x] Any pending items have an associated Issue Complete description Tested for Python tasks Dynamic nodes Recovered nodes Branch nodes Map tasks Tracking Issue https://github.com/flyteorg/flyte/issues/3232 Follow-up issue NA @EngHabu updated to only send task event input for undefined plugin phases, re-tested on the same set of task and node types. Mind taking another look? friendly ping @EngHabu @hamersaw @EngHabu sorry one more time if you don't mind?
2025-04-01T06:38:43.039191
2022-09-29T13:00:59
1390833855
{ "authors": [ "DoodleBobBuffPants", "radeklos" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6044", "repo": "flyway/flyway", "url": "https://github.com/flyway/flyway/issues/3531" }
gharchive/issue
Tested on 9.3.1 and 9.3.0 but got the same results. Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin) gradle: 7.5.1 org.postgresql:postgresql:42.5.0 com.zaxxer:HikariCP:4.0.3 Which database are you using? (Type & version) PostgreSQL 11.6 Which operating system are you using? Mac os but failing also on Linux. What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran) Running migration only with non-transacional statement (mixed mode isn't set and it's not needed) create index concurrently if not exists ... on ... (...) where (...); What did you see instead? Flyway uses an auto-detect non transactional migration with regular expression: - https://github.com/flyway/flyway/blob/d5ccaf3c5506ae3c910b9aace5b88869c30641cd/flyway-core/src/main/java/org/flywaydb/core/internal/database/postgresql/PostgreSQLParser.java#L102 And it seems that there is no extra configuration to execute non-transactional queries. The migration was detected correctly as non-transactional, but it freezes on finishing the migration because it waits on the client to close the migration. The migrations execution freezes and is never finished because of the blocking query described above. SELECT activity.pid, activity.usename, activity.query, blocking.pid AS blocking_id, blocking.query AS blocking_query FROM pg_stat_activity AS activity JOIN pg_stat_activity AS blocking ON blocking.pid = ANY(pg_blocking_pids(activity.pid)); pid | usename | query | blocking_id | blocking_query -----+----------+-----------------------------------------------------+-------------+---------------------------------------------------- 72 | sentinel | create index concurrently if not exists ... +| 71 | SELECT COUNT(*) FROM pg_namespace WHERE nspname=$1 | | on ... (...) +| | | | where (...) | | (1 row) Is there any option on how to successfully run a non-transactional migration with a flyway? See this comment In particular, you will need to set flyway.postgresql.transactional.lock=false Closing as duplicate
2025-04-01T06:38:43.047840
2016-02-04T10:00:28
131297089
{ "authors": [ "fmoliveira" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6046", "repo": "fmoliveira/learning-book", "url": "https://github.com/fmoliveira/learning-book/issues/26" }
gharchive/issue
Clean your mind One cannot know a lot about a lot. Choose wisely. Forget the unchoosen. Clean up this repository from learning things you don't want to focus. Keep coded stuff as history and move forward.
2025-04-01T06:38:43.059116
2012-02-22T18:09:27
3338288
{ "authors": [ "fnichol" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6047", "repo": "fnichol/chef-ruby_build", "url": "https://github.com/fnichol/chef-ruby_build/issues/4" }
gharchive/issue
Upgrade strategy does not work if ruby-build is already installed The nof_if clause on execute "Install ruby-build" most likely is not needed. Guess it did work.
2025-04-01T06:38:43.063369
2019-10-07T11:43:55
503399226
{ "authors": [ "NripeshKumar", "shanky199912" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6048", "repo": "fnplus/interview-techdev-guide", "url": "https://github.com/fnplus/interview-techdev-guide/issues/355" }
gharchive/issue
Algo Kruskal's Algorithm Java Here is the description of the algorithm of the Kruskal algorithm . https://www.geeksforgeeks.org/kruskals-algorithm-simple-implementation-for-adjacency-matrix/ Want to work on this issue yes i wan't to do using c++ Then plss open another issue for C++
2025-04-01T06:38:43.083903
2023-01-12T20:40:39
1531339135
{ "authors": [ "apoorvalal", "foges" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6052", "repo": "foges/pogs", "url": "https://github.com/foges/pogs/issues/33" }
gharchive/issue
Path include error on ubuntu/debian R installation + fix I was getting a R.h not found error when installing according to the docs, and did some digging about where it was looking for R.h. interface_r/pogs/src/config.mk defines R_INC:=$(R_HOME)/include, but the debian install of R stores these files in /usr/share/R/include. Commenting out Line 7 in config.mk and installing from the package directory using devtools::install worked. Thanks Apoorval. Thanks for raising this. I would have hoped that RHOME takes care of this, but I guess not. I'll add both of the includes to cover both cases.
2025-04-01T06:38:43.151739
2023-01-02T13:16:14
1516388011
{ "authors": [ "Shinzu", "clason", "folke" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6053", "repo": "folke/lazy.nvim", "url": "https://github.com/folke/lazy.nvim/issues/278" }
gharchive/issue
bug: init.lua in plugins directory ignored Did you check docs and existing issues? [X] I have read all the lazy docs [X] I have searched the existing issues of lazy [X] I have searched the exsiting issues of the plugin I have a problem with Neovim version (nvim -v) v0.9.0-dev Operating system/version Ubuntu 18.04 Describe the bug Hi, i have following structure for my nvim config: ├── init.lua ├── lazy-lock.json ├── lua │   ├── keymaps.lua │   ├── options.lua │   └── plugins │   ├── cmp.lua │   ├── hlargs.lua │   ├── init.lua │   ├── lsp.lua │   ├── mason.lua │   └── neo-tree.lua Today i cleaned out the data/state directory (~/.local/{share,state}/nvim/lazy and lazy-lock.json and started nvim so that lazy can resetup. It seems the init.lua in the plugins directory is ignored now, and only after i renamed the file lazy also took the configuration from this file into considerations. Steps To Reproduce clean out data/state directory and remove lock file have an init.lua in lua/plugins with some plugins configs start nvim so that lazy can resetup the init.lua in the plugins dir is ignored and only after renaming to eg general.lua lazy takes this file again in considerations Expected Behavior init.lua in plugins dir should not be ignored Repro -- DO NOT change the paths and don't remove the colorscheme local root = vim.fn.fnamemodify("./.repro", ":p") -- set stdpaths to use .repro for _, name in ipairs({ "config", "data", "state", "cache" }) do vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name end -- bootstrap lazy local lazypath = root .. "/plugins/lazy.nvim" if not vim.loop.fs_stat(lazypath) then vim.fn.system({ "git", "clone", "--filter=blob:none", "--single-branch", "https://github.com/folke/lazy.nvim.git", lazypath, }) end vim.opt.runtimepath:prepend(lazypath) -- install plugins local plugins = { "folke/tokyonight.nvim", -- add any other plugins here } require("lazy").setup(plugins, { root = root .. "/plugins", }) vim.cmd.colorscheme("tokyonight") -- add anything else here I just pushed a bunch of changes. Can you check if the problem persists? Make sure to update lazy or delete the lock file, since otherwise an older version would be installed yeah i remove lazy-lock.json in ~/.config/nvim problem is still there, only renaming the file init.lua -> to .lua lets lazy consider the content of the file I can't reproduce this unfortunately. What does the code below show? vim.pretty_print({require("lazy.core.cache").find_dir("plugins")}) Yeah, I think today's changes broke something: telescope no longer has a preview. (Useless bug report, I know; I'll try to narrow it down.) Yep, reverting https://github.com/folke/lazy.nvim/commit/0bc73db503e550076c0a8effb976a778c7cf5a6a restores the old (correct) behavior. I can reproduce it now. Will fix 02:45:15 PM msg_show  vim.pretty_print({require("lazy.core.cache").find_dir("plugins")}) core.cache").find_dir("plugins")})↴ 6 02:45:15 PM msg_show  vim.pretty_print({require("lazy.core.cache").find_dir("plugins")}) "core.cache").find_dir("plugins")})" [New]↴ 7 02:45:15 PM msg_show  vim.pretty_print({require("lazy.core.cache").find_dir("plugins")}) Cannot open file "core.cache").find_dir("plugins")})"↴ 8  Error 02:45:15 PM msg_show.emsg  vim.pretty_print({require("lazy.core.cache").find_dir("plugins")}) E480: No match: pretty_print({require("lazy↴ Not for me, unfortunately. and now? Autoloading was broken Yep, now it's back :) good :) @shinzu is your problem fixed as well? I think that's another issue than @clason (oops, sorry, didn't mean to hijack!) no worries, it did look like the same issue :) @folke still broken for me What does that command show? You need to add :lua before it, so :lua vim.pretty_print({require("lazy.core.cache").find_dir("plugins")}). I pushed something wrong. Just fixed that. sorry! works again, thank you for completeness, that i get now back from the lua command: { "/home/user/.config/nvim/lua/plugins", "/home/user/.config/nvim/lua/plugins/init.lua" }
2025-04-01T06:38:43.163862
2023-01-29T05:39:05
1561135425
{ "authors": [ "folke", "ryuheechul" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6054", "repo": "folke/lazy.nvim", "url": "https://github.com/folke/lazy.nvim/issues/462" }
gharchive/issue
bug: potential state pollution(?) over time could cause a difficult to tackle crashes Did you check docs and existing issues? [X] I have read all the lazy.nvim docs [X] I have searched the existing issues of lazy.nvim [X] I have searched the exsiting issues of plugins related to this issue Neovim version (nvim -v) 0.8.2 Operating system/version MacOS 13.1 Describe the bug It's hard to prove but I had a strange case of Neovim crashing when I press tab to cycle nvim-cmp. My configuration here have been working fine until today. Today all of sudden, when I tab to cycle the suggestions from nvim-cmp, Neovim crashed with messages like the one from this one. nvim(15010,0x1064395c0) malloc: *** error for object 0x500007f8cfdd81e8: pointer being freed was not allocated nvim(15010,0x1064395c0) malloc: *** set a breakpoint in malloc_error_break to debug I did checkout Neovim's issues as well as related plugins issue and I couldn't connect the dots as there was no report that guide me to the issue. I also tried multiple things to pinpoint including running Neovim in different terminals and etc. and nothing was successful (spend some hours here). I also tried to restore and upgrade and downgrade plugins and it was not successful either. It was very difficult to reason about what might have gone wrong. So I deleted the path that lazy.nvim uses, ~/.local/share/nvim/lazy. And lazy.nvim picked up this manual clean up automatically when I opened Neovim again and installed all the plugins back. Voilà! No more crashses. (btw clean from lazy.nvim didn't help, hence the manual clean up) This experience made me believe that using lazy.nvim with various usages of restore and update over time might make some sort of state gets "tangled". Of course I don't know enough on internals, so I can't say for sure and it's just a hunch at this point. A Side Note I almost always get this kind of error when I do update or restore (and I just retrying until it eventually succeed (usually after around 3-5 times) and wonder if this have anything to do with this issue. (my git version is 2.39.0) (plugins that fails are different everytime) Also wonder why this happens too. I also understand this issue might be really tricky to tackle, so main purpose of reporting this is not much about appealing to get a fix but just wanted to share this here so anyone experience a similar issue can be aware of the workaround and try what I did if they would like. So feel free to close this issue if there is no clear clue on what might be wrong and what can be done to it. Steps To Reproduce Do these things multiple times over time Restore Update And wait for mysterious crash to happen (at one point) with same exact dotfiles, do the clean install of plugins see if the crash happens again I am aware it's not the one of the best reproducible steps but that's all I got for now. Expected Behavior restore and update doesn't influence how plugins work. Repro (I don't think I can provide this as this is not about the config itself but let me know if you would still like one) Those failing git process are probably caused because you don't have enough memory. Check :h uv.spawn() Try setting config.concurrency and config.checker.concurrency to a low number (like 10) If your system is low on memory then that can obviously also make Neovim unstable and cause all sorts of weird errors. Next time, you should try getting a full stacktrace, since those two lines you posted are not enough to see what's going wrong. Also check on how to get an ASAN report from the Neovim Wiki. Either way, segfaults etc are almost always caused by bugs in Neovim (or probably not enough memory in this case). Closing this for now, but feel free to post a new issue if the issue would persist and you can get a full stacktract @folke Thanks for all the information! These will be helpful for me to report better next time for similar thing if I ever face them again! Also just set those values for concurrency and it seems to work fine! Settled with following for now { concurrency = 32, checker = { enabled = true, concurrency = 8, frequency = 3600 * 24 * 7, } }
2025-04-01T06:38:43.170566
2021-04-29T13:18:40
871007071
{ "authors": [ "folke", "max397574" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6055", "repo": "folke/lsp-trouble.nvim", "url": "https://github.com/folke/lsp-trouble.nvim/issues/14" }
gharchive/issue
No errors shown in list I installed lsp-trouble.nvim with Vim-Plug nvim version: 0.5 nightly I use your tokyonight colorscheme I created a file to test the LspTrouble. Then I used :LspTroubleOpen The list is just empty even though, there are errors Are these errors diagnostics from the builtin lsp client? Or is that something like ALE? I have ALE Should I deactivate it? That;s not it, but I wonder if those errors you are seeing are coming from ALE and are not lsp diagnostics. so should I try deactivating it? To make sure they are from lsp, do; :lua vim.lsp.diagnostic.set_loclist() That should show those errors in your quicklist Now it looks different but still no errors shown That means that those errors are not coming from LSP. Closing this as it's an issue with your lsp setup. Nothing to do with trouble. Please follow the guide at https://github.com/neovim/nvim-lspconfig to get it working https://www.reddit.com/r/neovim/comments/n3rary/trouble_just_pushed_a_big_update_with_support_for/ is this still a problem? With ALE you can push your errors to the quickfix and/or loclist, so try one of the commands below: LspTrouble quickfix LspTrouble loclist That should work, although I haven't tested it specifically with ALE :)
2025-04-01T06:38:43.175522
2023-02-13T21:42:10
1583111687
{ "authors": [ "T-727", "folke" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6056", "repo": "folke/neodev.nvim", "url": "https://github.com/folke/neodev.nvim/issues/127" }
gharchive/issue
feature: use lua-language-server's builtin luv meta library Did you check the docs? [X] I have read all the neodev.nvim docs Is your feature request related to a problem? Please describe. Hey! So I've noticed that luv has been added to lua-language-server's builtin meta libraries since 3 months ago.. And so it would be nice to simply replace the luv metadata from neodev with lua-language-server's and have much more complete luv information :) Describe the solution you'd like Add "${3rd}/luv/library" to workspace.library Annotate vim.loop with @type uv Describe alternatives you've considered Stay as is. Additional context According to this test: https://github.com/neovim/neovim/tree/master/test/functional/lua/loop_spec.lua#L154 vim.loop isn't modified from luv so there shouldn't be any clashes. Potential caveat If a user updates their lua-language-server version but not Neovim, there could be a slight desync in information. Awesome, didn't know that! Just updated the code. Types will be re-generated in a bit
2025-04-01T06:38:43.229058
2022-09-14T03:02:55
1372258210
{ "authors": [ "folke", "grddavies", "sdemura" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6057", "repo": "folke/which-key.nvim", "url": "https://github.com/folke/which-key.nvim/issues/336" }
gharchive/issue
How can I disable whichkey for everything but ctrl-r? I only want to use functionality in insert mode, which gives me a pop up of register contents. How can I disable everything else in which-key but that? If that's all you were going to use from Which-Key then you may only need this (tversteeg/registers.nvim)[https://github.com/tversteeg/registers.nvim] Agree, you don't need which-key for just registers
2025-04-01T06:38:43.235925
2022-09-06T14:21:39
1363368209
{ "authors": [ "olalid", "thores81" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6058", "repo": "fondberg/easee_hass", "url": "https://github.com/fondberg/easee_hass/issues/209" }
gharchive/issue
easee unavailable Question After updating HA to latest version my charger is unavailable. What version of the integration are you using? version": "0.9.44", Anything in the logs that might be useful for us? Denne feilen stammer fra en tilpasset integrasjon. Logger: homeassistant Source: custom_components/easee/controller.py:421 Integration: Easee EV Charger (documentation, issues) First occurred: 13:47:21 (152 occurrences) Last logged: 16:18:08 Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/easee/controller.py", line 421, in refresh_sites_state charger_data.state = site_state.get_charger_state(charger_id, raw=True) File "/usr/local/lib/python3.10/site-packages/pyeasee/site.py", line 128, in get_charger_state return ChargerState(charger_data["chargerState"], raw) File "/usr/local/lib/python3.10/site-packages/pyeasee/charger.py", line 56, in __init__ data = { TypeError: 'NoneType' object is not a mapping Additional information I have tried restart HA and uninstall and install the component with no luck. This is the same issue as: https://github.com/fondberg/easee_hass/issues/208 Solved in https://github.com/fondberg/easee_hass/pull/210
2025-04-01T06:38:43.288363
2018-01-25T12:04:03
291546788
{ "authors": [ "O7JaniB", "behdad", "miguelsousa" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6059", "repo": "fonttools/fonttools", "url": "https://github.com/fonttools/fonttools/issues/1162" }
gharchive/issue
pyftsubset: Dotted I doesn't get subset I don't know if this was reported or I am doing something wrong but. I'm using pyftsubset to subset some characters from an otf font (I don't believe it matters which font) but one character (dotted I) is not getting subset: https://www.fileformat.info/info/unicode/char/0130/index.htm the only way the character would be subset is if I do --unicodes='*', but that is not what I want... I if do --unicodes=U+0130 it just doesn't get through ( everything else works) What is interesting is that I've tried to run the command with --verbose pyftsubset font.otf --output-file=newfont.otf --unicodes=U+0130 --verbose Text: '' Unicodes: [304] Glyphs: [] Gids: [] maxp pruned cmap pruned post pruned CFF pruned GPOS pruned GSUB pruned kern dropped name pruned Added .notdef to subset Closing glyph list over 'GSUB': 2 glyphs before Glyph names: ['.notdef', 'Idotaccent'] Glyph IDs: [0, 259] Closed glyph list over 'GSUB': 2 glyphs after Glyph names: ['.notdef', 'Idotaccent'] Glyph IDs: [0, 259] Retaining 2 glyphs head subsetting not needed hhea subsetting not needed maxp subsetting not needed OS/2 subsetting not needed cmap subsetted post subsetted CFF subsetted GPOS subsetted GSUB subsetted hmtx subsetted name subsetting not needed OS/2 Unicode ranges pruned: [2] CFF pruned GPOS pruned GSUB pruned Input font: 109192 bytes: font.otf Subset font: 1096 bytes: newfont.otf And it looks ok, but if I type the character in with the font it doesn't get shown, like there is no glyph for it while if I try it on the original (input) font it works ok. Am I missing something? This aspect is not implemented in the subsetter. @behdad should there be an issue to track this? I already fixed it.
2025-04-01T06:38:43.293599
2017-10-15T11:53:46
265566378
{ "authors": [ "anthrotype", "justvanrossum", "m4rc1e" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6060", "repo": "fonttools/fonttools", "url": "https://github.com/fonttools/fonttools/pull/1075" }
gharchive/pull-request
[ttLib] add rsb attribute to _TTGlyph As discussed in #1074. More than happy to add a test if needed. well, it's good that we have some tests already See https://travis-ci.org/fonttools/fonttools/jobs/288179180#L2939 sometime a glyf Glyph does not have xMax (empty glyphs). replace self._glyph.xMax with self.glyph._xMax if hasattr(self._glyph, "xMax") else 0 or similar. @anthrotype thanks, I've forced pushed the fix Hm, I wonder... When the xMax is 0 because the glyph has no contours nor components, its right side bearing is also equal to 0, or is it equal to the advance width? Also, I think this won't work with CFF charstrings, does it? The latter don't have xMax or other bbox attributes I'm fairly sure this implementation of rsb is not correct when lsb != xMin. I don't think CFF charstrings have an .lsb attr even... @justvanrossum Good point. I'll take a look now. Like @anthrotype, I'm not super convinced of this addition. It's a higher level bit of info, which suggests it should also work with charstrings, which it cannot. @justvanrossum @anthrotype Thank you for both raising your valid concerns. Yeah, side-bearings seem to be a concept of font editors. Closing. Actually, I was wrong, CFF-based fonts still must have an hmtx table, so the glyph objects do have an lsb attribute. That said, the main reason that the glyph object carries the lsb around is so it can calculate an x offset for drawing a TT glyph to a pen.
2025-04-01T06:38:43.296176
2023-11-20T15:20:58
2002441140
{ "authors": [ "behdad" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6061", "repo": "fonttools/fonttools", "url": "https://github.com/fonttools/fonttools/pull/3346" }
gharchive/pull-request
[interpolatable] Return master indices instead of names Using names to refer to masters is weird. Return the index and the user can look up the name. This changes the API in two ways: test and test_gen do not accept a names parameter anymore. If needed I can put it back there unused. master, master1, master2 in the problem reports are now indices, not names. If this is undesirable, I can add separate master_idx, master1_idx, master2_idx instead. Maybe that's better. Nevermind. I'll make a non-breaking change. PTAL!
2025-04-01T06:38:43.325696
2024-10-11T10:51:49
2624800426
{ "authors": [ "Radha-4235", "cristiand391" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6063", "repo": "forcedotcom/cli", "url": "https://github.com/forcedotcom/cli/issues/3088" }
gharchive/issue
Unable to Deploy or Retrieve data/files from the org through VS Code Summary: For my authorized org for a given project, when I right click on my project/lwc/apex class, and select Deploy source to org, a pop up comes up stating that the command is running but it keeps running forever but nothing gets deployed. Steps To Reproduce: Authorize an org. Right click any component/project that you wish to deploy and click SFDX : Deploy source to org. The pop up comes us saying Running SFDX: Deploy Source to Org and it run forever. In the command-line output as well, it doesn't indicates that the deployment has started but it is in pending state for a long time. Expected result It should deploy my selected changes to my authorized org. Actual result The command/action hangs and runs forever and nothing gets deployed. Salesforce Extension Version in VS Code: 57.6.0 SFDX CLI Version: @salesforce/cli/2.16.7 win32-x64 node-v20.8.1 OS and version: Windows 10 VS Code version: 1.94.1 ( user setup) @Radha-4235 from the error I see your CLI install is trying to import an imcompatible version of ansi-escapes (we use v4, latest ones are ESM which cause the error you see). Can you try do a full uninstall of the CLI then install it again?: https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_uninstall.htm
2025-04-01T06:38:43.336783
2022-04-21T18:55:25
1211431856
{ "authors": [ "mshanemc", "shetzel" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6064", "repo": "forcedotcom/source-deploy-retrieve", "url": "https://github.com/forcedotcom/source-deploy-retrieve/pull/614" }
gharchive/pull-request
Sm/timeout id in sfdx error What does this PR do? throws an sfdxError with data property for id on timeout. I'm making a separate WI for SDR to use error/messages from core rather than its own framework. What issues does this PR fix or reference? @W-10978703@ for QA...SDR is emitting error.code 1 for backward compatibility. I think the logic on plugin-source should set incompletes to 69 based on the mdapi status...but that's worth verifying The failing NUTs passed locally when I ran them. Manual testing looked good as well.
2025-04-01T06:38:43.360371
2024-01-06T07:45:52
2068457095
{ "authors": [ "izumigoto", "nikohoffren" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6065", "repo": "fork-commit-merge/fork-commit-merge", "url": "https://github.com/fork-commit-merge/fork-commit-merge/pull/1942" }
gharchive/pull-request
Haskell-FibonacciNo Pull Request Type What kind of change does this PR introduce? [ ] Solved an issue/task added fibonacci.hs Merged This is an automated message from Fork, Commit, Merge [BOT]. Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor. What's next? If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one. Also please leave a star to this project if you feel it helped you, i would really appreciate it. I look forward to seeing your contributions!
2025-04-01T06:38:43.409189
2024-08-04T19:18:31
2447264073
{ "authors": [ "clarus", "jmikedupont2" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6066", "repo": "formal-land/coq-of-ocaml", "url": "https://github.com/formal-land/coq-of-ocaml/pull/232" }
gharchive/pull-request
removing 404 http://coq-blog.clarus.me/beginning-of-verification-for-the-parsing-of-smart-contracts.html is 404 OK, thanks for the fix!
2025-04-01T06:38:43.458876
2021-02-17T21:50:57
810565374
{ "authors": [ "followbl", "valstu" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6067", "repo": "formium/formik", "url": "https://github.com/formium/formik/issues/3050" }
gharchive/issue
3.0.0-next.3 => @3.0.0-next.4 - focus jumping to end of input on edit Bug report This is admittedly will be a half-hearted bug report - but since it's on the next/beta branch I figured you'd want it reported anyways. I've been unable to reproduce in one of your codebox sandboxes - but am experiencing within our app and have been able to narrow it down to this release below. https://github.com/formium/formik/compare/formik<EMAIL_ADDRESS>I've taken a look at the source and cannot discern anything that stands out. Current Behavior Type: "Brooks was here" Move cursor to after "Brooks" Type: "hello" Result is: "Brooksh was hereello" Expected behavior Should be: "Brookshello was here" Reproducible example Suggested solution(s) Additional context We are using the new FastField component as recommended. Will continue to try to reproduce in a sandbox and attach here if narrowed down. Your environment Software Version(s) Formik React TypeScript Browser npm/Yarn Operating System This was a user error (me) - after refactoring all our formik fields to utilize the new apis and removing the function call inside of <Form> i.e. <Form>{((props) => { }))} </Form> the issue went away. Very happy with the refactor - if I could just get isDirty working, I'd be thrilled. Closing this issue I noticed the same, this bug wasn't on 3.0.0-next.7 versoin but occured again on v3.0.0-next.8
2025-04-01T06:38:43.461552
2015-07-15T22:15:10
95302277
{ "authors": [ "attilacsanyi", "benoror", "kentcdodds" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6068", "repo": "formly-js/angular-formly-templates-bootstrap", "url": "https://github.com/formly-js/angular-formly-templates-bootstrap/issues/39" }
gharchive/issue
How can I add for example 'input-lg' bootstrap class to my input? I would like to use input with 'input-lg' bootstrap class, can I override somewhere? Thanks. Yes! http://angular-formly.com/#/example/custom-types/custom-templates http://angular-formly.com/#/example/custom-types/extending-types Going to go ahead and close this. If you have further questions, please see http://help.angular-formly.com Thanks @benoror!
2025-04-01T06:38:43.465545
2017-09-13T09:55:27
257322592
{ "authors": [ "MassiveHiggsField" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6069", "repo": "formly-js/ng-formly", "url": "https://github.com/formly-js/ng-formly/issues/512" }
gharchive/issue
Error "has no properties in common with type 'FormlyFieldConfig'" with Angular 4.4 I'm submitting a ... (check one with "x") [x] bug report => search github for a similar issue or PR before submitting [ ] feature request [x] support request Current behavior I just copied the instructions from the README 1:1 into my application and started the app. The complete error message is: ERROR in .../ui/src/app/routes/users/users/users.component.ts (17,5): Type '{ className: string; fieldGroup: ({ className: string; key: string; type: string; templateOptions...' has no properties in common with type 'FormlyFieldConfig'. Expected behavior Expected to get a form ;) Minimal reproduction of the problem with instructions As i said, just copied the instructions from the README Please tell us about your environment: Ubuntu 16.04.3 LTS npm 5.4.0 Angular version: 4.4.0-RC.0 Language: Typescript: 2.5.2 Args, solved it myself, sorry still learning angular2+/typescript. Error was the type definition for userFields. Instead of userFields: FormlyFieldConfig = ... it should be userFields: FormlyFieldConfig[] = ... Maybe this should be reflected in the README
2025-04-01T06:38:43.466701
2023-08-28T11:19:25
1869557482
{ "authors": [ "bhongy" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6070", "repo": "formspree/formspree-js", "url": "https://github.com/formspree/formspree-js/pull/56" }
gharchive/pull-request
test: fix failing tests due to hardcoded pkg versions Fix failing tests on main due to hardcoded package versions. @colevscode this fixes the failing tests on main. I don't think we need a changeset or a version bump.
2025-04-01T06:38:43.504136
2023-07-31T16:00:56
1829563321
{ "authors": [ "dcspille" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6071", "repo": "fortinet-fortisoar/solution-pack-phishing-email-response", "url": "https://github.com/fortinet-fortisoar/solution-pack-phishing-email-response/issues/37" }
gharchive/issue
Incorrect order of record @ids for Reset Scenario https://github.com/fortinet-fortisoar/solution-pack-phishing-email-response/blob/2e79e6f820f7e4823d15ae7c8674caa848abd64e/playbooks/02 - Use Case - Phishing Email Response/Scenario - Generate Phishing Email Alert.json#L133C117-L133C117 Issue is not reproducible the the latest version of the soc simulator solution pack
2025-04-01T06:38:43.519343
2016-02-24T20:05:38
136172344
{ "authors": [ "0x8890", "ksnyde" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6072", "repo": "fortunejs/fortune-json-api", "url": "https://github.com/fortunejs/fortune-json-api/issues/17" }
gharchive/issue
Client generated ID's I am having a problem adding a new record when the responsibility is on the client to generate the ID. I have the following body of a POST request: { "data": { "type": "markers", "id": "pace_avg", "attributes": { "name": "Average Pace", "abbrev": "avg pace", "desc": "the average pace achieved during the session", "type": "exercise", "sub_type": "linear-sport" } } } The error I get back is a 400 "the request body is invalid". The spec says that client generated ID's "may" be supported but if it does not then the error should be 403. Having looked at the code I think the aim is to support this -- although having an id in the URL causes a different error -- but I wanted to check that that is the case. In my case I'm importing data and this client generated scheme is unique (hence no UUID, etc.). Ok the problem seems to be related to inflection. It's almost surely user error but I'm unsure how to correct. In JSON-API's index.js#parseCreate it has identified the "type" as "marker" which is fine but in the contextRequest it is defined as "markers". So is this a bug or not? No. I had some bad data that was the underlying cause.
2025-04-01T06:38:43.589175
2017-12-17T19:26:15
282717073
{ "authors": [ "cclauss", "vaibhavsingh97" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6073", "repo": "fossasia/query-server", "url": "https://github.com/fossasia/query-server/pull/398" }
gharchive/pull-request
fix small_test() Fixes # Checklist [x] I have read the Contribution & Best practices Guide and my PR follows them. [x] My branch is up-to-date with the Upstream master branch. [x] I have added necessary documentation (if appropriate) Changes proposed in this pull request: fix small_test() to align with https://github.com/fossasia/query-server/blob/master/app/scrapers/generalized.py#L37 @vaibhavsingh97 Is something more needed on this PR? @cclauss Please follow best practices, Please open issue and then send PR. Rest looks good Done. @dgarvit Please review this proposed change.
2025-04-01T06:38:43.645430
2024-06-08T14:43:43
2341687844
{ "authors": [ "jokar2025", "rajukar002", "rtwegthg" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6074", "repo": "foundation/foundation-sites", "url": "https://github.com/foundation/foundation-sites/issues/13127" }
gharchive/issue
@@["!Here's Gaa To Watch!"]#!! Laois vs Offaly Live Coverage Free On final Gaa 08 June 2024 # Laois v Offaly: Everything You Need To Know About The Joe McDonagh Cup Final Laois v Offaly: Everything You Need To Know About The Joe McDonagh Cup Final Finn Duffy 🔴➤ ►🌍📺📱👉 gaa finle 🔴➤ ►🌍📺📱👉 gaa finle By Finn Duffy Jun 08, 2024 12:15 PM Share this article Facebook Share Twitter Share Twitter Share Twitter Share Twitter Share Laois are set to take on their neighbours Offaly this weekend in the final of the Joe McDonagh Cup as both sides look to grab hurling's second-tier competition and promotion to the provincial championships. Here's everything you need to know about this years Joe McDonagh Cup final Laois v Offaly. The two sides began their championship campaign against each other in Portlaoise in April, with the O'Moore County getting the better of the Faithful County despite Offaly holding a 0-21 to 0-15 lead with less than 20 minutes to go. Laois midfielder Paddy Purcell would grab two late goals, including one in the last minute, to win his side the match 2-21 to 0-24. READ HERE: The 10 Best Hurlers In Ireland Under The Age Of 20 In 2024 READ HERE: McManus Calls For Championship Restructure After Carlow Relegation Laois would kick on with the momentum gained from the win and would subsequently batter batter Meath 7-29 to 1-16 in round two in Trim. Willie Maher's men would then travel to Austin Stack Park to face Kerry, where they would defeat the Kingdom 1-25 to 0-18. The O'Moore County booked their place in the Joe McDonagh final in a dominant 4-31 to 0-17 win over Down at home. In the last day of fixtures, Laois travelled to Westmeath where they would lose for the only time in the round-robin, with the Lake men getting a 2-26 to 0-16 win in Mullingar. Despite this, Laois would still finish the round-robin at the top spot. Meanwhile Offaly would bounce back quickly from their opening day defeat. They would welcome Westmeath to O'Connor Park in round two where the Faithful County would win 2-23 to 1-20 despite a red card to captain Jason Sampson within seconds of throw-in. Round three would see Johnny Kelly's side cruise past Meath 5-31 to 3-16 in Trim. An impressive win 3-24 to 0-15 at home to Kerry in round four was followed by a round five win away to Down in Ballycran. Despite a late comeback effort by the home side, Offaly would win 5-23 to 3-25 in the end to round-robin second and book their place in the final. ss ### 📺📱👉🥊 𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄 𝐎𝐍𝐋𝐈𝐍𝐄 𝐋𝐈𝐕𝐄 𝐒𝐓𝐑𝐄𝐀𝐌 ### 📺📱👉🥊 𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄 𝐎𝐍𝐋𝐈𝐍𝐄 𝐋𝐈𝐕𝐄 𝐒𝐓𝐑𝐄𝐀𝐌 ### 📺📱👉🥊 𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄 𝐎𝐍𝐋𝐈𝐍𝐄 𝐋𝐈𝐕𝐄 𝐒𝐓𝐑𝐄𝐀𝐌 ### 📺📱👉🥊 𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄 𝐎𝐍𝐋𝐈𝐍𝐄 𝐋𝐈𝐕𝐄 𝐒𝐓𝐑𝐄𝐀𝐌 ### 📺📱👉🥊 𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄 𝐎𝐍𝐋𝐈𝐍𝐄 𝐋𝐈𝐕𝐄 𝐒𝐓𝐑𝐄𝐀𝐌 ### 📺📱👉🥊 𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄 𝐎𝐍𝐋𝐈𝐍𝐄 𝐋𝐈𝐕𝐄 𝐒𝐓𝐑𝐄𝐀𝐌 ### 📺📱👉🥊 𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄 𝐎𝐍𝐋𝐈𝐍𝐄 𝐋𝐈𝐕𝐄 𝐒𝐓𝐑𝐄𝐀𝐌 ### 📺📱👉🥊 𝐂𝐋𝐈𝐂𝐊 𝐇𝐄𝐑𝐄 𝐎𝐍𝐋𝐈𝐍𝐄 𝐋𝐈𝐕𝐄 𝐒𝐓𝐑𝐄𝐀𝐌 ☝️ ☝️ ☝️
2025-04-01T06:38:43.945012
2022-07-19T19:04:24
1309930296
{ "authors": [ "mds1", "onbjerg" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6075", "repo": "foundry-rs/foundry", "url": "https://github.com/foundry-rs/foundry/pull/2393" }
gharchive/pull-request
fix: reduce CALLER balance before executing tests Closes https://github.com/foundry-rs/foundry/issues/2390 Ran this against some repos locally without issues, want to make sure CI passes before merging though Failure looks unrelated to this change?
2025-04-01T06:38:43.948083
2024-08-11T21:31:40
2459769694
{ "authors": [ "TikaelSol", "mgoldstein322", "stwlam" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6076", "repo": "foundryvtt/pf2e", "url": "https://github.com/foundryvtt/pf2e/issues/15998" }
gharchive/issue
Kineticist Single Gate 2 Action Elemental Blast not getting con mod or impulse junction at level 1 Hello, one of players is playing as a single gate fire kineticist, and we noticed today that switching to two actions on elemental blast does not change the damage to d8s and does not add the CON modifier. I have disabled all modules and completely rebuilt the character, and the issue persists. Just to make sure, I've reread the class entry and the 2-action version of EB does qualify for this impulse junction. The status bonus is unrelated to that junction, but I imagine there's just something wrong with a rule element somewhere. Other information about the character is Awakened Animal Ancestry, Running Animal Heritage, Magical Experiment Background (thoughtsense). Foundry 12.330 and PF2e 6.2.1 Pathmuncher? Working fine for me If this actor was initially imported with Pathmuncher you will want to make a new actor entirely and build from scratch without Pathmuncher. Also, double check that your player actually has two actions set for the blast Yeah I think she did use Pathmuncher initially. When I remade the character from scratch on a new actor instead of a duplicate, it worked fine. Thanks for telling me this and giving me another reason to tell them I'm uninstalling Pathmuncher lol.
2025-04-01T06:38:43.950435
2024-08-18T20:24:40
2472130412
{ "authors": [ "MSAbaddon" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6077", "repo": "foundryvtt/pf2e", "url": "https://github.com/foundryvtt/pf2e/issues/16107" }
gharchive/issue
Damage formula localization incorrect Hi there, looks like the damage formula default label for inline rolls currently looks rather strange if () are used. That's how we localize persistent damage: That's how the inle roll looks like: @Damage[(1d4 + @item.system.damage.dice)[persistent,cold]] That's how the default label looks like: Take a look at the ( and ). There is one ( missing at the beginning of the label and one ) missing at the end.
2025-04-01T06:38:43.952166
2023-11-20T04:38:03
2001350672
{ "authors": [ "avagdumortesin", "stwlam" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6078", "repo": "foundryvtt/pf2e", "url": "https://github.com/foundryvtt/pf2e/pull/11616" }
gharchive/pull-request
Restore Paladin REs to the Combined Shining Oath Feat Closes https://github.com/foundryvtt/pf2e/issues/11597. Also re-input the feat's text from CRBv4 printing and put the benefits for the various causes in the order of that description. Check errata Eye r dum and missed that; still rearranged the order of the various bonuses.
2025-04-01T06:38:43.965947
2023-01-18T00:20:48
1537210420
{ "authors": [ "james-rms", "sanjaynarayanan-brt" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6079", "repo": "foxglove/mcap", "url": "https://github.com/foxglove/mcap/issues/792" }
gharchive/issue
Ambiguous wording in the MCAP File Format Specification The following wording in the specification of a Chunk is a bit ambiguous - All messages in the chunk must reference channels recorded earlier in the file (in a previous chunk or earlier in the current chunk). It may be interpreted as "all channels must be in a chunk (previous or current)". However, as far as I'm aware, this is not necessary. Channels can be logged standalone outside a chunk, in the Data section. Please correct me if I'm wrong. Thanks for the report @sanjaynarayanan-brt - the specification currently allows channel, schema, or message records both in chunks and directly in the data section within the same MCAP. however, most MCAP reader implementations won't handle this correctly. I will amend the spec to disallow this case. @james-rms Thanks! I'm not sure what MCAP reader runs under the hood in Foxglove Studio (specifically for plots), but we write channels and schemas directly into the data section and put messages into chunks, and that seems to work great with plots.
2025-04-01T06:38:43.969978
2015-07-25T06:09:58
97198714
{ "authors": [ "foxmask" ], "license": "bsd-3-clause", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6080", "repo": "foxmask/django-th", "url": "https://github.com/foxmask/django-th/issues/98" }
gharchive/issue
readability-api update to last version which use requests_oauthlib to be python3 compliant - need to update my_readability.py to be able to connect to the readability service again. 6e12fb3b437980bac4b12361616dc950a9cd4faa
2025-04-01T06:38:43.987410
2016-10-23T12:14:14
184686748
{ "authors": [ "DanBurton", "bergmark", "newhoggy" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6081", "repo": "fpco/stackage", "url": "https://github.com/fpco/stackage/issues/2010" }
gharchive/issue
hw-* Ping @newhoggy I'm not sure which hw package is causing this issue but it seems that trying to build with hw-string-parse-<IP_ADDRESS> instead of <IP_ADDRESS> fails. > /tmp/stackage-build8$ stack unpack hw-succinct-<IP_ADDRESS> Unpacked hw-succinct-<IP_ADDRESS> to /tmp/stackage-build8/hw-succinct-<IP_ADDRESS>/ > /tmp/stackage-build8/hw-succinct-<IP_ADDRESS>$ runghc -clear-package-db -global-package-db -package-db=/var/stackage/work/builds/nightly/pkgdb Setup configure --package-db=clear --package-db=global --package-db=/var/stackage/work/builds/nightly/pkgdb --libdir=/var/stackage/work/builds/nightly/lib --bindir=/var/stackage/work/builds/nightly/bin --datadir=/var/stackage/work/builds/nightly/share --libexecdir=/var/stackage/work/builds/nightly/libexec --sysconfdir=/var/stackage/work/builds/nightly/etc --docdir=/var/stackage/work/builds/nightly/doc/hw-succinct-<IP_ADDRESS> --htmldir=/var/stackage/work/builds/nightly/doc/hw-succinct-<IP_ADDRESS> --haddockdir=/var/stackage/work/builds/nightly/doc/hw-succinct-<IP_ADDRESS> --flags= Configuring hw-succinct-<IP_ADDRESS>... Warning: 'ghc-options: -rtsopts' has no effect for libraries. It should only be used for executables. Warning: 'ghc-options: -with-rtsopts' has no effect for libraries. It should only be used for executables. > /tmp/stackage-build8/hw-succinct-<IP_ADDRESS>$ runghc -clear-package-db -global-package-db -package-db=/var/stackage/work/builds/nightly/pkgdb Setup build Building hw-succinct-<IP_ADDRESS>... Preprocessing library hw-succinct-<IP_ADDRESS>... [1 of 1] Compiling HaskellWorks.Data.Succinct ( src/HaskellWorks/Data/Succinct.hs, dist/build/HaskellWorks/Data/Succinct.o ) src/HaskellWorks/Data/Succinct.hs:10:1: error: Failed to load interface for ‘HaskellWorks.Data.Succinct.BalancedParens’ Perhaps you meant HaskellWorks.Data.BalancedParens (needs flag -package-key hw-balancedparens-<IP_ADDRESS>) Use -v to see a list of the files searched for. src/HaskellWorks/Data/Succinct.hs:11:1: error: Failed to load interface for ‘HaskellWorks.Data.Succinct.NearestNeighbour’ Use -v to see a list of the files searched for. src/HaskellWorks/Data/Succinct.hs:12:1: error: Failed to load interface for ‘HaskellWorks.Data.Succinct.RankSelect’ Use -v to see a list of the files searched for. curators@stk-build-i-2a9f06b4:~/stackage/automated$ It wasn't (only) hw-string-select, I ended up holding back all of the packages to the ones in the previous nightly: - hw-bits < 0.4 - hw-conduit < 0.1 - hw-prim < 0.4 - hw-rankselect < 0.5 - hw-string-parse < <IP_ADDRESS> I was doing some refactoring yesterday that included breaking changes. How might I fix this issue and prevent it from happening in future when I need to make breaking changes again? Also, I'm deprecating hw-succinct. The code has been split up into other libraries. I think the problem might be with hw-succinct. I'm updating it now and see what happens. If you have one stack project including all packages you can implement, test, and release everything together. I’ve pushed a new version of hw-succinct. Hopefully that fixes the issue? Actually not pushed yet. I've kicked off a new build though: https://circleci.com/gh/haskell-works/hw-succinct Should push when done. I'll check tomorrow morning. I've also set up an hw-all project, as you suggest: https://github.com/haskell-works/hw-all @newhoggy the issue does seem to be fixed. Thanks! Hi Adam, I’ve pushed a new version of hw-succinct. Hopefully that fixes the issue? Cheers, -John ​ On Mon, 24 Oct 2016 at 09:52 Adam Bergmark<EMAIL_ADDRESS>wrote: If you have one stack project including all packages you can implement, test, and release everything together. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fpco/stackage/issues/2010#issuecomment-255620497, or mute the thread https://github.com/notifications/unsubscribe-auth/AAD2JtG7Ax62qbt64iBMmHPWwzEuFgRBks5q2-UhgaJpZM4KeHfX . Hi Adam, I did some refactoring yesterday, which included breaking changes. Is there a way I can edit the bounds of older versions on hackage? Cheers, -John On Mon, 24 Oct 2016 at 00:53 Adam Bergmark<EMAIL_ADDRESS>wrote: It wasn't (only) hw-string-select, I ended up holding back all of the packages to the ones in the previous nightly: - hw-bits < 0.4 - hw-conduit < 0.1 - hw-prim < 0.4 - hw-rankselect < 0.5 - hw-string-parse < <IP_ADDRESS> — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fpco/stackage/issues/2010#issuecomment-255589927, or mute the thread https://github.com/notifications/unsubscribe-auth/AAD2JqVnmrHbp0osOyW4qGOrvOi4T19Hks5q22a_gaJpZM4KeHfX . @newhoggy yes! on the package page click "edit package information" > Cabal file metadata > pick version > make edits, or go to e.g. https://hackage.haskell.org/package/aeson-<IP_ADDRESS>/aeson.cabal/edit directly
2025-04-01T06:38:43.992214
2023-02-21T01:05:54
1592626940
{ "authors": [ "ariffjeff", "fpgmaas" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6082", "repo": "fpgmaas/cookiecutter-poetry", "url": "https://github.com/fpgmaas/cookiecutter-poetry/issues/83" }
gharchive/issue
Is the gh-pages branch for MkDocs supposed to be created manually? Question I'm trying to setup a new project and noticed that a gh-pages branch wasn't created automatically at any point for making auto MkDocs possible. The documentation doesn't specify when/how the branch is created so I've become a bit confused on whether or not I was supposed to create it myself and then run a specific make command or similar to get the docs published on the remote repo. What are the proper steps here? Thanks! Thanks for raising this! I will update the documentation to better reflect what's happening.
2025-04-01T06:38:43.994510
2020-07-05T10:29:49
651043555
{ "authors": [ "fphilipe", "rex-remind101" ], "license": "mit", "license_source": "bigquery", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6083", "repo": "fphilipe/premailer-rails", "url": "https://github.com/fphilipe/premailer-rails/issues/254" }
gharchive/issue
bump premailer version This gem relies on a very old version of premailer, namely one that includes hpricot whose hpricot_slate_method_added magic causes issues with sorbet. Please update this dependency to use a more recent version of premailer. This is the dependency definition: https://github.com/fphilipe/premailer-rails/blob/v1.11.1/premailer-rails.gemspec#L24 premailer is currently at 1.11.1. If you do a fresh install of premailer-rails, it will install the latest premailer version. Thus, you should be able to simply run bundle update premailer to get a newer version of premailer in your project. Thank you for the quick and educational reply, new ecosystem I'm working in.
2025-04-01T06:38:44.003928
2022-10-25T09:32:53
1422159748
{ "authors": [ "jacopo-exact", "tcompa" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6084", "repo": "fractal-analytics-platform/fractal-server", "url": "https://github.com/fractal-analytics-platform/fractal-server/issues/180" }
gharchive/issue
task collection 1.x from pypi Preliminary requirement: we need a shared folder that is readable and executable by the fractal user, let it be FRACTAL_ROOT_DIR from PyPI in a subprocess... create dedicated venv in FRACTAL_ROOT_DIR/<pkg>_<version> install package in venv extract manifest by /venv/python -c "import <pkg>; print(pkg.__manifest__)" load all tasks exposed in manifest default behaviour cd $FRACTAL_ROOT_DIR PKG_DIR=$PKG_NAME_$PKG_VERSION mkdir $PKG_DIR cd $PKG_DIR python -m venv venv (or similar for conda and the like) source /venv/bin/activate (or similar) (venv) pip install $PKG_NAME==$PKG_VERSION (venv) python -c "import $PKG_NAME; print($PKG_NAME.__manifest__)" > /tmp/fractal/pkg_name_version.manifest.json we read the output of the last command and access the manifest from within the server the resulting tasks will have source = pypi:fractal-tasks-core==0.2.3 command = /path/to/venv/python path/to/module.py custom behaviour (TODO) We keep the folder structure with the following pseudo-script cd $FRACTAL_ROOT_DIR PKG_DIR=$PKG_NAME_$PKG_VERSION mkdir $PKG_DIR cd $PKG_DIR the user can provide a custom initialisation / installation script, which needs to output how to call the dedicated python interpreter the manifest from FRACTAL_ROOT_DIR/<userdir>/<taskdir>/ TODO @tcompa can you please write here the command you would use to start an env with conda pls? conda create --prefix /tmp/MY_ENV python==3.8 --quiet --yes conda activate /tmp/MY_ENV pip install fractal-tasks-core==0.2.6 But notice that there is no special reason to use conda, for the default modules (to be made available for all users). You can go on with standard venvs if you prefer. Also note that the previous script creates a 3G folder (that would be only 200M before installing the tasks). conda create --prefix /tmp/MY_ENV python==3.8 --quiet --yes conda activate /tmp/MY_ENV pip install fractal-tasks-core==0.2.6 But notice that there is no special reason to use conda, for the default modules (to be made available for all users). You can go on with standard venvs if you prefer. I actually prefer venv, but we need a way to specify the python version. I can write some fallback logic if needed, i.e., try venv if it doesn't work try pyenv + vnev if it doesn't work try conda
2025-04-01T06:38:44.005958
2024-07-12T12:48:58
2405499818
{ "authors": [ "jluethi" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6085", "repo": "fractal-analytics-platform/fractal-tasks-core", "url": "https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/787" }
gharchive/issue
[ngio] Refactor masked_loading_wrapper logic to do relabeling in the masking step I have revisited how we handle masking & relabeling to fix #785 . For the moment, I do the relabeling in segment_ROI. In ngio, we'll want to do this in the wrapper class that handles the masking (currently masked_loading_wrapper). The main reason: Current approach doesn't 100% guarantee consecutive labels. Within the cellpose task, there could be labels that are taken into account for relabeling but are masked away afterwards. That's very unlikely to be an issue, because we set the background to 0 in the input image. But the mock testing ignores the input Also, it will be nicer if that's functionality that comes with the IO package, instead of everyone that writes a function that creates labels having to take care of it
2025-04-01T06:38:44.008058
2023-05-16T09:56:57
1711674397
{ "authors": [ "tcompa" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6086", "repo": "fractal-analytics-platform/fractal-web", "url": "https://github.com/fractal-analytics-platform/fractal-web/issues/141" }
gharchive/issue
AUTH_COOKIE_NAME error in npm run build "AUTH_COOKIE_NAME" is not exported by "$env/static/private", imported by "src/routes/auth/logout/+server.js". file: /xxx/server_05_to_use_apache/fractal-web/src/routes/auth/logout/+server.js:4:1 2: import { logout } from '$lib/server/api/v1/auth_api' 3: import { 4: AUTH_COOKIE_NAME, ^ 5: AUTH_COOKIE_DOMAIN, 6: AUTH_COOKIE_PATH, error during build: RollupError: "AUTH_COOKIE_NAME" is not exported by "$env/static/private", imported by "src/routes/auth/logout/+server.js". at error (file:///xxx/server_05_to_use_apache/fractal-web/node_modules/rollup/dist/es/shared/node-entry.js:2125:30) at Module.error (file:///xxx/server_05_to_use_apache/fractal-web/node_modules/rollup/dist/es/shared/node-entry.js:13340:16) at Module.traceVariable (file:///xxx/server_05_to_use_apache/fractal-web/node_modules/rollup/dist/es/shared/node-entry.js:13725:29) at ModuleScope.findVariable (file:///xxx/server_05_to_use_apache/fractal-web/node_modules/rollup/dist/es/shared/node-entry.js:12240:39) at FunctionScope.findVariable (file:///xxx/server_05_to_use_apache/fractal-web/node_modules/rollup/dist/es/shared/node-entry.js:6980:38) at ChildScope.findVariable (file:///xxx/server_05_to_use_apache/fractal-web/node_modules/rollup/dist/es/shared/node-entry.js:6980:38) at Identifier.bind (file:///xxx/server_05_to_use_apache/fractal-web/node_modules/rollup/dist/es/shared/node-entry.js:8130:40) at CallExpression.bind (file:///xxx/server_05_to_use_apache/fractal-web/node_modules/rollup/dist/es/shared/node-entry.js:5743:28) at CallExpression.bind (file:///xxx/server_05_to_use_apache/fractal-web/node_modules/rollup/dist/es/shared/node-entry.js:9659:15) at ExpressionStatement.bind (file:///xxx/server_05_to_use_apache/fractal-web/node_modules/rollup/dist/es/shared/node-entry.js:5747:23) I think this is because .env.developement is not being used. I think this is because .env.developement is not being used. I confirm. If I move all its content to .env, then the build succeeds.
2025-04-01T06:38:44.009929
2023-03-29T12:03:07
1645664176
{ "authors": [ "tcompa" ], "license": "BSD-3-Clause", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6087", "repo": "fractal-analytics-platform/fractal-web", "url": "https://github.com/fractal-analytics-platform/fractal-web/issues/83" }
gharchive/issue
[v0.3] Job submission and monitoring Placeholder issue for all kind of planning/discussion on: How to run a workflow, for given I/O datasets and possibly with additional parameters. How to visualize a job list? What should be in there? Where should it appear (per-user? per-project? per-workflow?)? ... Replaced by figma discussion
2025-04-01T06:38:44.030371
2017-10-05T12:32:54
263107848
{ "authors": [ "fragmuffin", "jmwright" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6088", "repo": "fragmuffin/cqparts", "url": "https://github.com/fragmuffin/cqparts/issues/1" }
gharchive/issue
Thread solids invalid Thread solids are not valid, and consequently fail boolean operations. >>> import cqparts >>> thread = cqparts.types.threads.iso_262.ISO262Thread().make(5) >>> thread.val().wrapped.isValid() False solids can be cleaned up using the method(s) described here, but they're not always successful. slight variations initially yield an unclosed solid, but are fixed with sewShape(), for example >>> import cqparts >>> thread = cqparts.types.threads.iso_262.ISO262Thread(pitch=0.7).make(3) >>> thread.val().wrapped.isValid() True Exception code modified to crash more gracefully by raising: SolidValidityError: created thread solid cannot be made watertight Is there a way to detect when a thread is invalid so that fixes could be applied conditionally and then rechecked? I know how to check geometry from the GUI, but I've never done it from a script. @jmwright There is a section in the code to do exactly that, but it's only working some of the time (less than half) https://github.com/fragmuffin/cqparts/blob/develop/src/cqparts/types/threads/base.py#L251-L260 when building a dodgy thread at the moment, you'll see: thread shape not valid new thread STILL not valid on the console... context is obvious after reading the above linked code These tools might be a clue: https://www.freecadweb.org/wiki/Mesh_FillHoles https://www.freecadweb.org/wiki/Mesh_FillInteractiveHole This bug is making thread-building completely unmanageable. It's making building a very painful and error-prone experience... the presence of thread faces makes cqparts very unstable. Mitigated by Simplifying to Cylinder For the time being, I've converted the base Thread type to a Part so I can exploit the _simple=True flag, which causes the make_simple() method to build the part's .local_obj as opposed to .make(). (see f1e98fe) In other words, by default, threads are not generated. Instead they are replaced with a cylinder with the thread's outer radius. Workaround If you'd like to play with real threads, you can turn off default simplification with any of... import cqparts from cqparts.display import display from cqparts.params import Boolean from cqparts.fasteners.base import FastenerMalePart from cqparts.solidtypes.threads import base # --- an individual part screw = FastenerMalePart() screw.thread._simple = False display(screw) # --- all threads by default base.Thread._simple.default = False # you'll have to re-define the thread type, because the default thread # was instantiated before the above change was made screw = FastenerMalePart( thread=('iso262', { 'diameter': 3.0, 'pitch': 0.7, }), ) display(screw) # --- all threads by default (by environment variable) # because the above way is messy... you can set an environment variable: # CQPARTS_COMPLEX_THREADS=yes display(FastenerMalePart()) # default of _simple is False at import time none of the above methods are permanent, please keep this in mind if you're planning a future-proofed script. Fix Delay I also won't have time to fix this for the initial release... but it's very high on the priorities list after v0.2 example of the simplified thread... Test created to raise failure: test and catalogue A variety of thread dimensions are created, most of which currently fail to create a watertight object. Error example ====================================================================== ERROR: test_triangular_4x1_040 (cqparts.utils.test.CatalogueTest_thread_catalogue) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/nymphii/prj/cqparts/tests/../src/cqparts/utils/test.py", line 147, in test_meth obj.build() File "/home/nymphii/prj/cqparts/tests/../src/cqparts/part.py", line 91, in build self.local_obj # force object's construction, but don't do anything with it File "/home/nymphii/prj/cqparts/tests/../src/cqparts/part.py", line 113, in local_obj value = self.make() File "/home/nymphii/prj/cqparts/tests/../src/cqparts_fasteners/solidtypes/threads/base.py", line 352, in make "created thread solid cannot be made watertight" SolidValidityError: created thread solid cannot be made watertight Tests skipped until this issue is closed: test_ball_screw_10x1_012 (cqparts.utils.test.CatalogueTest_thread_catalogue) ... skipped 'skipped until #1 is fixed' test_ball_screw_10x3_013 (cqparts.utils.test.CatalogueTest_thread_catalogue) ... skipped 'skipped until #1 is fixed' ... test_triangular_4x4_042 (cqparts.utils.test.CatalogueTest_thread_catalogue) ... skipped 'skipped until #1 is fixed' test_triangular_4x5_043 (cqparts.utils.test.CatalogueTest_thread_catalogue) ... skipped 'skipped until #1 is fixed' Task [ ] remove FIXME from test_fasteners_thread.py Task [ ] remove warning about this fault from cqparts_fasteners README.rst
2025-04-01T06:38:44.090579
2022-11-27T18:53:04
1465542324
{ "authors": [ "El-Wumbus", "HBnetDE", "arctic-hen7", "enrand22", "rieval" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6089", "repo": "framesurge/perseus", "url": "https://github.com/framesurge/perseus/issues/241" }
gharchive/issue
CLI Generated sample program does not work This issue is reporting a bug in the code of Perseus. Details of the scope will be available in issue labels. The author described their issue as follows: I have created an app with perseus new (cli version = 0.4.0.beta.11). Then I attempt to start it with perseus serve. It fails to build. The steps to reproduce this issue are as follows: perseus new client cd client && perseus serve A minimum reproducible example is available at <>. Hydration-related: false The author is willing to attempt a fix: false Tribble internal data dHJpYmJsZS1yZXBvcnRlZCxDLWJ1ZyxBLWNsaQ== What error are you getting? Had same issue, updated Rust to 1.65.0 and worked. Ah, I see. That would be because Perseus relies internally on GATs, which were only stabilized in 1.65.0. I haven't updated the MSRV yet (since usually it's in line with Sycamore). Thanks for the report! @HBnetDE please let me know if updating to Rust v1.65.0 doesn't solve your issue. I am already at rust 1.65. Errors produced by perseus serve (edited to remove username) error[E0432]: unresolved import `crate::sys::IoSourceState` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:12:5 | 12 | use crate::sys::IoSourceState; | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys` error[E0432]: unresolved import `crate::sys::tcp` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:15:17 | 15 | use crate::sys::tcp::{bind, listen, new_for_addr}; | ^^^ could not find `tcp` in `sys` error[E0432]: unresolved import `crate::sys::tcp` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:13:17 | 13 | use crate::sys::tcp::{connect, new_for_addr}; | ^^^ could not find `tcp` in `sys` error[E0433]: failed to resolve: could not find `Selector` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:301:18 | 301 | sys::Selector::new().map(|selector| Poll { | ^^^^^^^^ could not find `Selector` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:24:14 | 24 | sys::event::token(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:38:14 | 38 | sys::event::is_readable(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:43:14 | 43 | sys::event::is_writable(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:68:14 | 68 | sys::event::is_error(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:99:14 | 99 | sys::event::is_read_closed(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:129:14 | 129 | sys::event::is_write_closed(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:151:14 | 151 | sys::event::is_priority(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:173:14 | 173 | sys::event::is_aio(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:183:14 | 183 | sys::event::is_lio(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:221:26 | 221 | sys::event::debug_details(f, self.0) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `tcp` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:103:18 | 103 | sys::tcp::accept(inner).map(|(stream, addr)| (TcpStream::from_std(stream), addr)) | ^^^ could not find `tcp` in `sys` error[E0433]: failed to resolve: could not find `udp` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:122:14 | 122 | sys::udp::bind(addr).map(UdpSocket::from_std) | ^^^ could not find `udp` in `sys` error[E0433]: failed to resolve: could not find `udp` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:544:14 | 544 | sys::udp::only_v6(&self.inner) | ^^^ could not find `udp` in `sys` error[E0412]: cannot find type `Selector` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:255:20 | 255 | selector: sys::Selector, | ^^^^^^^^ not found in `sys` error[E0412]: cannot find type `Selector` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:689:44 | 689 | pub(crate) fn selector(&self) -> &sys::Selector { | ^^^^^^^^ not found in `sys` error[E0412]: cannot find type `Waker` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/waker.rs:79:17 | 79 | inner: sys::Waker, | ^^^^^ not found in `sys` | help: consider importing one of these items | 1 | use core::task::Waker; | 1 | use crate::Waker; | 1 | use std::task::Waker; | help: if you import `Waker`, refer to it directly | 79 - inner: sys::Waker, 79 + inner: Waker, | error[E0433]: failed to resolve: could not find `Waker` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/waker.rs:87:14 | 87 | sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner }) | ^^^^^ not found in `sys` | help: consider importing one of these items | 1 | use core::task::Waker; | 1 | use crate::Waker; | 1 | use std::task::Waker; | help: if you import `Waker`, refer to it directly | 87 - sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner }) 87 + Waker::new(registry.selector(), token).map(|inner| Waker { inner }) | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:18:17 | 18 | inner: sys::Event, | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 18 - inner: sys::Event, 18 + inner: Event, | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:187:55 | 187 | pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event { | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 187 - pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event { 187 + pub(crate) fn from_sys_event_ref(sys_event: &Event) -> &Event { | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:191:41 | 191 | &*(sys_event as *const sys::Event as *const Event) | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 191 - &*(sys_event as *const sys::Event as *const Event) 191 + &*(sys_event as *const Event as *const Event) | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:217:46 | 217 | struct EventDetails<'a>(&'a sys::Event); | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 217 - struct EventDetails<'a>(&'a sys::Event); 217 + struct EventDetails<'a>(&'a Event); | error[E0412]: cannot find type `Events` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:43:17 | 43 | inner: sys::Events, | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 43 - inner: sys::Events, 43 + inner: Events, | error[E0433]: failed to resolve: could not find `Events` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:94:25 | 94 | inner: sys::Events::with_capacity(capacity), | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 94 - inner: sys::Events::with_capacity(capacity), 94 + inner: Events::with_capacity(capacity), | error[E0412]: cannot find type `Events` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:189:47 | 189 | pub(crate) fn sys(&mut self) -> &mut sys::Events { | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 189 - pub(crate) fn sys(&mut self) -> &mut sys::Events { 189 + pub(crate) fn sys(&mut self) -> &mut Events { | error[E0425]: cannot find function `set_reuseaddr` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:74:9 | 74 | set_reuseaddr(&listener.inner, true)?; | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:74:24 | 74 | set_reuseaddr(&listener.inner, true)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:76:15 | 76 | bind(&listener.inner, addr)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:77:17 | 77 | listen(&listener.inner, 1024)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:78:12 | 78 | Ok(listener) | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `stream` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:90:18 | 90 | connect(&stream.inner, addr)?; | ^^^^^^ not found in this scope error[E0425]: cannot find value `stream` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:91:12 | 91 | Ok(stream) | ^^^^^^ not found in this scope error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:146:20 | 146 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:155:20 | 155 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:159:20 | 159 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:325:20 | 325 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:334:20 | 334 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:338:20 | 338 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `register` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:622:20 | 622 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:631:20 | 631 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:635:20 | 635 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. For more information about an error, try `rustc --explain E0412`. error: could not compile `mio` due to 44 previous errors warning: build failed, waiting for other jobs to finish... Seems that you are getting the wrong wasm. On instructions when creating a new app you should write: perseus new my-app --wasm-opt-version version_110 instead of just: perseus new client i guess is part of being in beta @enrand22 you're right that this looks like a Wasm problem, but not adding that extra flag shouldn't cause this. If that were the problem, you shouldn't be able to even get to compiling the app. @HBnetDE could you provide the outputs of perseus snoop build and perseus snoop wasm-build? Those will try to build the engine-side and browser-side of the app independently, which might give us a better clue of what's going on. To me, it looks like a Cargo problem... perseus snoop build Finished dev [unoptimized + debuginfo] target(s) in 0.07s Running `dist/target_engine/debug/client` perseus snoop wasm-build Compiling mio v0.8.5 Compiling web-sys v0.3.60 Compiling wasm-bindgen-futures v0.4.33 error[E0432]: unresolved import `crate::sys::IoSourceState` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:12:5 | 12 | use crate::sys::IoSourceState; | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys` error[E0432]: unresolved import `crate::sys::tcp` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:15:17 | 15 | use crate::sys::tcp::{bind, listen, new_for_addr}; | ^^^ could not find `tcp` in `sys` error[E0432]: unresolved import `crate::sys::tcp` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:13:17 | 13 | use crate::sys::tcp::{connect, new_for_addr}; | ^^^ could not find `tcp` in `sys` error[E0433]: failed to resolve: could not find `Selector` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:301:18 | 301 | sys::Selector::new().map(|selector| Poll { | ^^^^^^^^ could not find `Selector` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:24:14 | 24 | sys::event::token(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:38:14 | 38 | sys::event::is_readable(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:43:14 | 43 | sys::event::is_writable(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:68:14 | 68 | sys::event::is_error(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:99:14 | 99 | sys::event::is_read_closed(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:129:14 | 129 | sys::event::is_write_closed(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:151:14 | 151 | sys::event::is_priority(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:173:14 | 173 | sys::event::is_aio(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:183:14 | 183 | sys::event::is_lio(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:221:26 | 221 | sys::event::debug_details(f, self.0) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `tcp` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:103:18 | 103 | sys::tcp::accept(inner).map(|(stream, addr)| (TcpStream::from_std(stream), addr)) | ^^^ could not find `tcp` in `sys` error[E0433]: failed to resolve: could not find `udp` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:122:14 | 122 | sys::udp::bind(addr).map(UdpSocket::from_std) | ^^^ could not find `udp` in `sys` error[E0433]: failed to resolve: could not find `udp` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:544:14 | 544 | sys::udp::only_v6(&self.inner) | ^^^ could not find `udp` in `sys` error[E0412]: cannot find type `Selector` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:255:20 | 255 | selector: sys::Selector, | ^^^^^^^^ not found in `sys` error[E0412]: cannot find type `Selector` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:689:44 | 689 | pub(crate) fn selector(&self) -> &sys::Selector { | ^^^^^^^^ not found in `sys` error[E0412]: cannot find type `Waker` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/waker.rs:79:17 | 79 | inner: sys::Waker, | ^^^^^ not found in `sys` | help: consider importing one of these items | 1 | use core::task::Waker; | 1 | use crate::Waker; | 1 | use std::task::Waker; | help: if you import `Waker`, refer to it directly | 79 - inner: sys::Waker, 79 + inner: Waker, | error[E0433]: failed to resolve: could not find `Waker` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/waker.rs:87:14 | 87 | sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner }) | ^^^^^ not found in `sys` | help: consider importing one of these items | 1 | use core::task::Waker; | 1 | use crate::Waker; | 1 | use std::task::Waker; | help: if you import `Waker`, refer to it directly | 87 - sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner }) 87 + Waker::new(registry.selector(), token).map(|inner| Waker { inner }) | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:18:17 | 18 | inner: sys::Event, | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 18 - inner: sys::Event, 18 + inner: Event, | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:187:55 | 187 | pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event { | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 187 - pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event { 187 + pub(crate) fn from_sys_event_ref(sys_event: &Event) -> &Event { | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:191:41 | 191 | &*(sys_event as *const sys::Event as *const Event) | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 191 - &*(sys_event as *const sys::Event as *const Event) 191 + &*(sys_event as *const Event as *const Event) | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:217:46 | 217 | struct EventDetails<'a>(&'a sys::Event); | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 217 - struct EventDetails<'a>(&'a sys::Event); 217 + struct EventDetails<'a>(&'a Event); | error[E0412]: cannot find type `Events` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:43:17 | 43 | inner: sys::Events, | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 43 - inner: sys::Events, 43 + inner: Events, | error[E0433]: failed to resolve: could not find `Events` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:94:25 | 94 | inner: sys::Events::with_capacity(capacity), | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 94 - inner: sys::Events::with_capacity(capacity), 94 + inner: Events::with_capacity(capacity), | error[E0412]: cannot find type `Events` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:189:47 | 189 | pub(crate) fn sys(&mut self) -> &mut sys::Events { | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 189 - pub(crate) fn sys(&mut self) -> &mut sys::Events { 189 + pub(crate) fn sys(&mut self) -> &mut Events { | error[E0425]: cannot find function `set_reuseaddr` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:74:9 | 74 | set_reuseaddr(&listener.inner, true)?; | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:74:24 | 74 | set_reuseaddr(&listener.inner, true)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:76:15 | 76 | bind(&listener.inner, addr)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:77:17 | 77 | listen(&listener.inner, 1024)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:78:12 | 78 | Ok(listener) | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `stream` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:90:18 | 90 | connect(&stream.inner, addr)?; | ^^^^^^ not found in this scope error[E0425]: cannot find value `stream` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:91:12 | 91 | Ok(stream) | ^^^^^^ not found in this scope error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:146:20 | 146 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:155:20 | 155 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:159:20 | 159 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:325:20 | 325 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:334:20 | 334 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ Compiling sycamore-futures v0.8.0 error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:338:20 | 338 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `register` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:622:20 | 622 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:631:20 | 631 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:635:20 | 635 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. For more information about an error, try `rustc --explain E0412`. error: could not compile `mio` due to 44 previous errors warning: build failed, waiting for other jobs to finish... Alright, your engine-side build is normal, but the Wasm build is completely broken. Are you using rustup? Also, what OS are you running? Yes, I am rustup. My OS is Linux - Ubuntu 22.04. Same issue here. I'm using GitHub Workflows and build with Debian 11 based Docker. However, work fine in Windows 10 (rustc 1.67.0-nightly). Dockerfile: FROM rust:slim AS build ARG CLI_VERSION=0.4.0-beta.11 # -------------------- snip -------------------- RUN rustup toolchain install nightly RUN rustup default nightly RUN rustup update RUN cargo install perseus-cli --version ${CLI_VERSION} RUN perseus deploy # -------------------- snip -------------------- Cargo.toml: # snip [dependencies] perseus = { git = "https://github.com/framesurge/perseus.git", features = [ "hydrate", ] } sycamore = { version = "*", features = ["hydrate", "ssr"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] perseus-axum = { git = "https://github.com/framesurge/perseus.git", features = [ "dflt-server", ] } tokio = { version = "*", features = ["macros", "rt", "rt-multi-thread"] } [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen = "*" wee_alloc = "*" # snip workflows log: #29 239.2 Compiling perseus v0.4.0-beta.11 (https://github.com/framesurge/perseus.git#9e6501a9) #29 239.2 Compiling flate2 v1.0.25 #29 239.2 Compiling url v2.3.1 #29 239.2 Compiling webpki-roots v0.22.5 #29 239.2 Compiling chunked_transfer v1.4.0 #29 239.2 Compiling base64 v0.13.1 #29 239.2 Compiling closure v0.3.0 #29 239.2 Compiling perseus-axum v0.4.0-beta.11 (https://github.com/framesurge/perseus.git#9e6501a9) #29 239.2 Compiling ureq v2.5.0 #29 239.2 Compiling frontend v0.1.0 (/app) #29 239.2 Finished release [optimized] target(s) in 3m 53s #29 239.2 Running `dist/target_engine/release/frontend` #29 239.2 thread 'main' panicked at 'you must provide your own error pages in production', /usr/local/cargo/git/checkouts/perseus-f6f2bdad302e666f/9e6501a/packages/perseus/src/error_pages.rs:306:9 #29 239.2 stack backtrace: #29 239.2 0: rust_begin_unwind #29 239.2 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:575:5 #29 239.2 1: core::panicking::panic_fmt #29 239.2 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/core/src/panicking.rs:65:14 #29 239.2 2: <perseus::error_pages::ErrorPages<G> as core::default::Default>::default #29 239.2 3: perseus::init::PerseusAppBase<G,perseus::stores::mutable::FsMutableStore,T>::new #29 239.2 4: frontend::__perseus_simple_main #29 239.2 5: perseus::engine::dflt_engine::run_dflt_engine::{{closure}} #29 239.2 6: tokio::runtime::park::CachedParkThread::block_on #29 239.2 7: tokio::runtime::scheduler::multi_thread::MultiThread::block_on #29 239.2 8: tokio::runtime::runtime::Runtime::block_on #29 239.2 9: frontend::main #29 239.2 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. #29 ERROR: process "/bin/sh -c RUST_BACKTRACE=1 perseus deploy" did not complete successfully: exit code: 1 ------ > [build 20/20] RUN RUST_BACKTRACE=1 perseus deploy: #29 239.2 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/core/src/panicking.rs:65:14 #29 239.2 2: <perseus::error_pages::ErrorPages<G> as core::default::Default>::default #29 239.2 3: perseus::init::PerseusAppBase<G,perseus::stores::mutable::FsMutableStore,T>::new #29 239.2 4: frontend::__perseus_simple_main #29 239.2 5: perseus::engine::dflt_engine::run_dflt_engine::{{closure}} #29 239.2 6: tokio::runtime::park::CachedParkThread::block_on #29 239.2 7: tokio::runtime::scheduler::multi_thread::MultiThread::block_on #29 239.2 8: tokio::runtime::runtime::Runtime::block_on #29 239.2 9: frontend::main #29 239.2 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ------ Dockerfile:51 -------------------- 49 | RUN perseus clean 50 | 51 | >>> RUN RUST_BACKTRACE=1 perseus deploy 52 | 53 | FROM debian:11-slim -------------------- ERROR: failed to solve: process "/bin/sh -c RUST_BACKTRACE=1 perseus deploy" did not complete successfully: exit code: 1 with RUST_BACKTRACE=full: #29 218.0 Compiling perseus v0.4.0-beta.11 (https://github.com/framesurge/perseus.git#9e6501a9) #29 218.0 Compiling flate2 v1.0.25 #29 218.0 Compiling url v2.3.1 #29 218.0 Compiling webpki-roots v0.22.5 #29 218.0 Compiling closure v0.3.0 #29 218.0 Compiling base64 v0.13.1 #29 218.0 Compiling chunked_transfer v1.4.0 #29 218.0 Compiling ureq v2.5.0 #29 218.0 Compiling perseus-axum v0.4.0-beta.11 (https://github.com/framesurge/perseus.git#9e6501a9) #29 218.0 Compiling frontend v0.1.0 (/app) #29 218.0 Finished release [optimized] target(s) in 3m 34s #29 218.0 Running `dist/target_engine/release/frontend` #29 218.0 thread 'main' panicked at 'you must provide your own error pages in production', /usr/local/cargo/git/checkouts/perseus-f6f2bdad302e666f/9e6501a/packages/perseus/src/error_pages.rs:306:9 #29 218.0 stack backtrace: #29 218.0 0: 0x55a12742ba9a - std::backtrace_rs::backtrace::libunwind::trace::hec1c9a33ec35a782 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 #29 218.0 1: 0x55a12742ba9a - std::backtrace_rs::backtrace::trace_unsynchronized::hef44794102f9589c #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 #29 218.0 2: 0x55a12742ba9a - std::sys_common::backtrace::_print_fmt::h3d085ebafa3ff4d4 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/sys_common/backtrace.rs:65:5 #29 218.0 3: 0x55a12742ba9a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1dc483ce0b0acc38 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/sys_common/backtrace.rs:44:22 #29 218.0 4: 0x55a127452eee - core::fmt::write::hdde74b1f9f025400 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/core/src/fmt/mod.rs:[1208](https://github.com/Tangel/koi-no/actions/runs/3599858142/jobs/6063881127#step:6:1210):17 #29 218.0 5: 0x55a127425d55 - std::io::Write::write_fmt::h93bb2bce537087eb #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/io/mod.rs:1682:15 #29 218.0 6: 0x55a12742b865 - std::sys_common::backtrace::_print::hffbee7406e6f5871 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/sys_common/backtrace.rs:47:5 #29 218.0 7: 0x55a12742b865 - std::sys_common::backtrace::print::ha3e39199dd4aff7e #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/sys_common/backtrace.rs:34:9 #29 218.0 8: 0x55a12742d04f - std::panicking::default_hook::{{closure}}::h9d3052b99dbdb269 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:267:22 #29 218.0 9: 0x55a12742cd8b - std::panicking::default_hook::hf85cde60e828679e #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:286:9 #29 218.0 10: 0x55a12742d75c - std::panicking::rust_panic_with_hook::h7bb6b938bd4ce622 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:688:13 #29 218.0 11: 0x55a12742d4b2 - std::panicking::begin_panic_handler::{{closure}}::h894513d3c9ea77f1 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:577:13 #29 218.0 12: 0x55a12742bf4c - std::sys_common::backtrace::__rust_end_short_backtrace::h478da9df1dc8d9c3 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/sys_common/backtrace.rs:137:18 #29 218.0 13: 0x55a12742d202 - rust_begin_unwind #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:575:5 #29 218.0 14: 0x55a127099373 - core::panicking::panic_fmt::h0f7f0682c1639601 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/core/src/panicking.rs:65:14 #29 218.0 15: 0x55a12710fdb9 - <perseus::error_pages::ErrorPages<G> as core::default::Default>::default::h9530715906577bfd #29 218.0 16: 0x55a1270aac64 - perseus::init::PerseusAppBase<G,perseus::stores::mutable::FsMutableStore,T>::new::h733ff80722ab637c #29 218.0 17: 0x55a12719080c - frontend::__perseus_simple_main::h8036ffff2c7e7a86 #29 218.0 18: 0x55a1270d759f - perseus::engine::dflt_engine::run_dflt_engine::{{closure}}::hd9c97dd908b58959 #29 218.0 19: 0x55a1270cf4b0 - tokio::runtime::park::CachedParkThread::block_on::h22fc48c8149dbe34 #29 218.0 20: 0x55a1270a760b - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h163fe71d846bd96d #29 218.0 21: 0x55a127156a10 - tokio::runtime::runtime::Runtime::block_on::ha11bc5bc26d78aa3 #29 218.0 22: 0x55a127190d2f - frontend::main::h47a05cdbfe823592 #29 218.0 23: 0x55a12711e603 - std::sys_common::backtrace::__rust_begin_short_backtrace::h5fc47d3e25f2b1d7 #29 218.0 24: 0x55a127149d39 - std::rt::lang_start::{{closure}}::h04d38424564156fa #29 218.0 25: 0x55a12742112c - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h162ddbe93a8e5d3d #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/core/src/ops/function.rs:606:13 #29 218.0 26: 0x55a12742112c - std::panicking::try::do_call::h21b0f0d525d215e5 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:483:40 #29 218.0 27: 0x55a12742112c - std::panicking::try::hd61d2ba99b8182e3 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:447:19 #29 218.0 28: 0x55a12742112c - std::panic::catch_unwind::hd6b0ecc6b055e1e0 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panic.rs:137:14 #29 218.0 29: 0x55a12742112c - std::rt::lang_start_internal::{{closure}}::ha91d000e2bcaf66a #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/rt.rs:148:48 #29 218.0 30: 0x55a12742112c - std::panicking::try::do_call::h594aa1d798036a46 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:483:40 #29 218.0 31: 0x55a12742112c - std::panicking::try::h5ac6b9132cb32902 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:447:19 #29 218.0 32: 0x55a12742112c - std::panic::catch_unwind::h72555755a0c1dc12 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panic.rs:137:14 #29 218.0 33: 0x55a12742112c - std::rt::lang_start_internal::heaabc2d640d42dd4 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/rt.rs:148:20 #29 218.0 34: 0x55a127190e05 - main #29 218.0 35: 0x7f974d844d0a - __libc_start_main #29 218.0 36: 0x55a1270997ca - _start #29 218.0 37: 0x0 - <unknown> #29 ERROR: process "/bin/sh -c RUST_BACKTRACE=full perseus deploy" did not complete successfully: exit code: 1 ------ > [build 20/20] RUN RUST_BACKTRACE=full perseus deploy: #29 218.0 31: 0x55a12742112c - std::panicking::try::h5ac6b9132cb32902 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panicking.rs:447:19 #29 218.0 32: 0x55a12742112c - std::panic::catch_unwind::h72555755a0c1dc12 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/panic.rs:137:14 #29 218.0 33: 0x55a12742112c - std::rt::lang_start_internal::heaabc2d640d42dd4 #29 218.0 at /rustc/c090c6880c0183ba248bde4a16e29ba29ac4fbba/library/std/src/rt.rs:148:20 #29 218.0 34: 0x55a127190e05 - main #29 218.0 35: 0x7f974d844d0a - __libc_start_main #29 218.0 36: 0x55a1270997ca - _start #29 218.0 37: 0x0 - <unknown> ------ Dockerfile:51 -------------------- 49 | RUN perseus clean 50 | 51 | >>> RUN RUST_BACKTRACE=full perseus deploy 52 | 53 | FROM debian:11-slim -------------------- ERROR: failed to solve: process "/bin/sh -c RUST_BACKTRACE=full perseus deploy" did not complete successfully: exit code: 1 @rieval as an aside: you should know that wee_alloc is unmaintained and leaks memory. https://github.com/rustwasm/wee_alloc/issues/107 https://github.com/rustwasm/wee_alloc/issues/106 @rieval could you try with a usual crates.io dependency? The main branch has about 8 breaking changes on it right now, some relating to how error pages are handled, which could be causing your problem. I'm fairly certain these two problems are different though, so would you mind opening a separate issue? @HBnetDE can you try renaming ~/.cargo/registry to ~/.cargo/registry.old? Then run perseus clean && cargo clean in your app's directory, and then try perseus check. That will completely reset your system-level Cargo cache, which can sometimes fix really strange problems like this. I've done it a few times myself for other weird errors, and it's worked. (Just changing the registry directory shouldn't have any other adverse consequences.) @rieval could you try with a usual crates.io dependency? The main branch has about 8 breaking changes on it right now, some relating to how error pages are handled, which could be causing your problem. I'm fairly certain these two problems are different though, so would you mind opening a separate issue? I tested 0.4.0-beta.11, and it worked fine(Windows and Debian). [dependencies] perseus = { version = "0.4.0-beta.11", features = ["hydrate"] } serde = { version = "*", features = ["derive"] } serde_json = "*" sycamore = { version = "*", features = ["hydrate", "ssr"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] perseus-axum = { version = "0.4.0-beta.11", features = ["dflt-server"] } @rieval as an aside: you should know that wee_alloc is unmaintained and leaks memory. rustwasm/wee_alloc#107 rustwasm/wee_alloc#106 Oops! Thanks for letting me know. @rieval no problem, likely my fault, there are a lot of breaking changes on main right now! Output of perseus check after renaming ~/.cargo/registry and cleaning Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Compiling wasm-bindgen-macro-support v0.2.83 Checking futures-util v0.3.25 Checking mio v0.8.5 Compiling serde v1.0.147 Compiling darling_macro v0.13.4 Checking bytes v1.3.0 Compiling paste v1.0.9 Compiling unicode-xid v0.2.4 Compiling async-trait v0.1.58 Compiling itoa v1.0.4 Compiling regex-syntax v0.6.28 Compiling ryu v1.0.11 error[E0432]: unresolved import `crate::sys::IoSourceState` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:12:5 | 12 | use crate::sys::IoSourceState; | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys` error[E0432]: unresolved import `crate::sys::tcp` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:15:17 | 15 | use crate::sys::tcp::{bind, listen, new_for_addr}; | ^^^ could not find `tcp` in `sys` error[E0432]: unresolved import `crate::sys::tcp` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:13:17 | 13 | use crate::sys::tcp::{connect, new_for_addr}; | ^^^ could not find `tcp` in `sys` error[E0433]: failed to resolve: could not find `Selector` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:301:18 | 301 | sys::Selector::new().map(|selector| Poll { | ^^^^^^^^ could not find `Selector` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:24:14 | 24 | sys::event::token(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:38:14 | 38 | sys::event::is_readable(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:43:14 | 43 | sys::event::is_writable(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:68:14 | 68 | sys::event::is_error(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:99:14 | 99 | sys::event::is_read_closed(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:129:14 | 129 | sys::event::is_write_closed(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:151:14 | 151 | sys::event::is_priority(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:173:14 | 173 | sys::event::is_aio(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:183:14 | 183 | sys::event::is_lio(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:221:26 | 221 | sys::event::debug_details(f, self.0) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `tcp` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:103:18 | 103 | sys::tcp::accept(inner).map(|(stream, addr)| (TcpStream::from_std(stream), addr)) | ^^^ could not find `tcp` in `sys` error[E0433]: failed to resolve: could not find `udp` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:122:14 | 122 | sys::udp::bind(addr).map(UdpSocket::from_std) | ^^^ could not find `udp` in `sys` error[E0433]: failed to resolve: could not find `udp` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:544:14 | 544 | sys::udp::only_v6(&self.inner) | ^^^ could not find `udp` in `sys` error[E0412]: cannot find type `Selector` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:255:20 | 255 | selector: sys::Selector, | ^^^^^^^^ not found in `sys` error[E0412]: cannot find type `Selector` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:689:44 | 689 | pub(crate) fn selector(&self) -> &sys::Selector { | ^^^^^^^^ not found in `sys` error[E0412]: cannot find type `Waker` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/waker.rs:79:17 | 79 | inner: sys::Waker, | ^^^^^ not found in `sys` | help: consider importing one of these items | 1 | use core::task::Waker; | 1 | use crate::Waker; | 1 | use std::task::Waker; | help: if you import `Waker`, refer to it directly | 79 - inner: sys::Waker, 79 + inner: Waker, | error[E0433]: failed to resolve: could not find `Waker` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/waker.rs:87:14 | 87 | sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner }) | ^^^^^ not found in `sys` | help: consider importing one of these items | 1 | use core::task::Waker; | 1 | use crate::Waker; | 1 | use std::task::Waker; | help: if you import `Waker`, refer to it directly | 87 - sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner }) 87 + Waker::new(registry.selector(), token).map(|inner| Waker { inner }) | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:18:17 | 18 | inner: sys::Event, | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 18 - inner: sys::Event, 18 + inner: Event, | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:187:55 | 187 | pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event { | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 187 - pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event { 187 + pub(crate) fn from_sys_event_ref(sys_event: &Event) -> &Event { | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:191:41 | 191 | &*(sys_event as *const sys::Event as *const Event) | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 191 - &*(sys_event as *const sys::Event as *const Event) 191 + &*(sys_event as *const Event as *const Event) | error[E0412]: cannot find type `Event` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:217:46 | 217 | struct EventDetails<'a>(&'a sys::Event); | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 217 - struct EventDetails<'a>(&'a sys::Event); 217 + struct EventDetails<'a>(&'a Event); | error[E0412]: cannot find type `Events` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:43:17 | 43 | inner: sys::Events, | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 43 - inner: sys::Events, 43 + inner: Events, | error[E0433]: failed to resolve: could not find `Events` in `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:94:25 | 94 | inner: sys::Events::with_capacity(capacity), | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 94 - inner: sys::Events::with_capacity(capacity), 94 + inner: Events::with_capacity(capacity), | error[E0412]: cannot find type `Events` in module `sys` --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:189:47 | 189 | pub(crate) fn sys(&mut self) -> &mut sys::Events { | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 189 - pub(crate) fn sys(&mut self) -> &mut sys::Events { 189 + pub(crate) fn sys(&mut self) -> &mut Events { | error[E0425]: cannot find function `set_reuseaddr` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:74:9 | 74 | set_reuseaddr(&listener.inner, true)?; | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:74:24 | 74 | set_reuseaddr(&listener.inner, true)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:76:15 | 76 | bind(&listener.inner, addr)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:77:17 | 77 | listen(&listener.inner, 1024)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:78:12 | 78 | Ok(listener) | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `stream` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:90:18 | 90 | connect(&stream.inner, addr)?; | ^^^^^^ not found in this scope error[E0425]: cannot find value `stream` in this scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:91:12 | 91 | Ok(stream) | ^^^^^^ not found in this scope Compiling sycamore-router-macro v0.8.0 Compiling sycamore-reactive v0.8.1 error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:146:20 | 146 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:155:20 | 155 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:159:20 | 159 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:325:20 | 325 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:334:20 | 334 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:338:20 | 338 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `register` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:622:20 | 622 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:631:20 | 631 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:635:20 | 635 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. For more information about an error, try `rustc --explain E0412`. error: could not compile `mio` due to 44 previous errors warning: build failed, waiting for other jobs to finish... looks like still the same error to me. I really have no clue what could be causing this, sorry. I'm on Ubuntu 22.04 as well, and I'm not experiencing this issue. The output of RUST_BACKTRACE=1 perseus snoop wasm-build might contain some clues, but can I just check for absolute certainty that you are definitely using the pure output of perseus new? I've seen these kinds of issues before with Wasm, but only when using a non-Wasm crate, like reqwest or something, in Wasm. For that reason, Perseus advises dependency splitting. But that shouldn't be necessary in the demo app... Also, maybe run rustup target add wasm32-unknown-unknown to make sure you actually have the Wasm target installed. This should be automatically executed by the CLI, but it might perhaps be being skipped over, and that might have caused this. The only other thing I can think of right now is that you might have an override somewhere in ~/.cargo for the perseus crate? It's pretty unlikely, but that might cause this... It definitely isn't the missing target, since I can build and run sycamore on its own just fine. And yes it is definitely unmodified. I even deleted the app and recreated it before I opened the issue, just to be sure. I'll check the snoop and the override when I have time. This is why I thought about clearing the registry, in case there was an old version of Tokio doing weird things. Unless there's a new version of Tokio doing weird things? Hey, sorry it took so long! Here is the output of RUST_BACKTRACE=1 perseus snoop wasm-build: [NOTE]: You should expect unused code warnings here! Don't worry about them, they're just a product of the target-gating. Compiling sycamore-core v0.8.2 Compiling js-sys v0.3.60 Compiling mio v0.8.5 Compiling futures v0.3.25 Compiling console_error_panic_hook v0.1.7 error[E0432]: unresolved import `crate::sys::IoSourceState` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:12:5 | 12 | use crate::sys::IoSourceState; | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys` error[E0432]: unresolved import `crate::sys::tcp` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:15:17 | 15 | use crate::sys::tcp::{bind, listen, new_for_addr}; | ^^^ could not find `tcp` in `sys` error[E0432]: unresolved import `crate::sys::tcp` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:13:17 | 13 | use crate::sys::tcp::{connect, new_for_addr}; | ^^^ could not find `tcp` in `sys` error[E0433]: failed to resolve: could not find `Selector` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:301:18 | 301 | sys::Selector::new().map(|selector| Poll { | ^^^^^^^^ could not find `Selector` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:24:14 | 24 | sys::event::token(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:38:14 | 38 | sys::event::is_readable(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:43:14 | 43 | sys::event::is_writable(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:68:14 | 68 | sys::event::is_error(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:99:14 | 99 | sys::event::is_read_closed(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:129:14 | 129 | sys::event::is_write_closed(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:151:14 | 151 | sys::event::is_priority(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:173:14 | 173 | sys::event::is_aio(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:183:14 | 183 | sys::event::is_lio(&self.inner) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `event` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:221:26 | 221 | sys::event::debug_details(f, self.0) | ^^^^^ could not find `event` in `sys` error[E0433]: failed to resolve: could not find `tcp` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:103:18 | 103 | sys::tcp::accept(inner).map(|(stream, addr)| (TcpStream::from_std(stream), addr)) | ^^^ could not find `tcp` in `sys` error[E0433]: failed to resolve: could not find `udp` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:122:14 | 122 | sys::udp::bind(addr).map(UdpSocket::from_std) | ^^^ could not find `udp` in `sys` error[E0433]: failed to resolve: could not find `udp` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:544:14 | 544 | sys::udp::only_v6(&self.inner) | ^^^ could not find `udp` in `sys` error[E0412]: cannot find type `Selector` in module `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:255:20 | 255 | selector: sys::Selector, | ^^^^^^^^ not found in `sys` error[E0412]: cannot find type `Selector` in module `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/poll.rs:689:44 | 689 | pub(crate) fn selector(&self) -> &sys::Selector { | ^^^^^^^^ not found in `sys` error[E0412]: cannot find type `Waker` in module `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/waker.rs:79:17 | 79 | inner: sys::Waker, | ^^^^^ not found in `sys` | help: consider importing one of these items | 1 | use core::task::Waker; | 1 | use crate::Waker; | 1 | use std::task::Waker; | help: if you import `Waker`, refer to it directly | 79 - inner: sys::Waker, 79 + inner: Waker, | error[E0433]: failed to resolve: could not find `Waker` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/waker.rs:87:14 | 87 | sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner }) | ^^^^^ not found in `sys` | help: consider importing one of these items | 1 | use core::task::Waker; | 1 | use crate::Waker; | 1 | use std::task::Waker; | help: if you import `Waker`, refer to it directly | 87 - sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner }) 87 + Waker::new(registry.selector(), token).map(|inner| Waker { inner }) | error[E0412]: cannot find type `Event` in module `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:18:17 | 18 | inner: sys::Event, | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 18 - inner: sys::Event, 18 + inner: Event, | error[E0412]: cannot find type `Event` in module `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:187:55 | 187 | pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event { | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 187 - pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event { 187 + pub(crate) fn from_sys_event_ref(sys_event: &Event) -> &Event { | error[E0412]: cannot find type `Event` in module `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:191:41 | 191 | &*(sys_event as *const sys::Event as *const Event) | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 191 - &*(sys_event as *const sys::Event as *const Event) 191 + &*(sys_event as *const Event as *const Event) | error[E0412]: cannot find type `Event` in module `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/event.rs:217:46 | 217 | struct EventDetails<'a>(&'a sys::Event); | ^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::event::Event; | help: if you import `Event`, refer to it directly | 217 - struct EventDetails<'a>(&'a sys::Event); 217 + struct EventDetails<'a>(&'a Event); | error[E0412]: cannot find type `Events` in module `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:43:17 | 43 | inner: sys::Events, | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 43 - inner: sys::Events, 43 + inner: Events, | error[E0433]: failed to resolve: could not find `Events` in `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:94:25 | 94 | inner: sys::Events::with_capacity(capacity), | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 94 - inner: sys::Events::with_capacity(capacity), 94 + inner: Events::with_capacity(capacity), | error[E0412]: cannot find type `Events` in module `sys` --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/events.rs:189:47 | 189 | pub(crate) fn sys(&mut self) -> &mut sys::Events { | ^^^^^^ not found in `sys` | help: consider importing this struct | 1 | use crate::Events; | help: if you import `Events`, refer to it directly | 189 - pub(crate) fn sys(&mut self) -> &mut sys::Events { 189 + pub(crate) fn sys(&mut self) -> &mut Events { | error[E0425]: cannot find function `set_reuseaddr` in this scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:74:9 | 74 | set_reuseaddr(&listener.inner, true)?; | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:74:24 | 74 | set_reuseaddr(&listener.inner, true)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:76:15 | 76 | bind(&listener.inner, addr)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:77:17 | 77 | listen(&listener.inner, 1024)?; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `listener` in this scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:78:12 | 78 | Ok(listener) | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `stream` in this scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:90:18 | 90 | connect(&stream.inner, addr)?; | ^^^^^^ not found in this scope error[E0425]: cannot find value `stream` in this scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:91:12 | 91 | Ok(stream) | ^^^^^^ not found in this scope error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:146:20 | 146 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:155:20 | 155 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpListener>` in the current scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/listener.rs:159:20 | 159 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpListener>` | ::: /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:325:20 | 325 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:334:20 | 334 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpStream>` in the current scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/tcp/stream.rs:338:20 | 338 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::TcpStream>` | ::: /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `register` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:622:20 | 622 | self.inner.register(registry, token, interests) | ^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `register` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `register`, perhaps you need to implement it --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `reregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:631:20 | 631 | self.inner.reregister(registry, token, interests) | ^^^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `reregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `reregister`, perhaps you need to implement it --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ error[E0599]: no method named `deregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/net/udp.rs:635:20 | 635 | self.inner.deregister(registry) | ^^^^^^^^^^ method not found in `IoSource<std::net::UdpSocket>` | ::: /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/io_source.rs:62:1 | 62 | pub struct IoSource<T> { | ---------------------- method `deregister` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope note: `Source` defines an item `deregister`, perhaps you need to implement it --> /home/bene/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.8.5/src/event/source.rs:75:1 | 75 | pub trait Source { | ^^^^^^^^^^^^^^^^ Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. For more information about an error, try `rustc --explain E0412`. error: could not compile `mio` due to 44 previous errors warning: build failed, waiting for other jobs to finish... I also double checked my Cargo.toml: [package] name = "client" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # Dependencies for the engine and the browser go here [dependencies] perseus = { version = "=0.4.0-beta.11" } sycamore = "^0.8.1" serde = { version = "1", features = [ "derive" ] } serde_json = "1" # Engine-only dependencies go here [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio = { version = "1", features = [ "macros", "rt", "rt-multi-thread" ] } perseus-warp = { version = "=0.4.0-beta.11", features = [ "dflt-server" ] } # Browser-only dependencies go here [target.'cfg(target_arch = "wasm32")'.dependencies] No problem! Your Cargo.toml looks fine unfortunately (that would've been an easy fix), and, worse still, I've installed an entirely fresh system on my laptop, and I cannot replicate this issue. My best idea at this point is for you to totally reinstall Rust on your system, as the only thing that makes sense to me at this point is some kind of old residual package somewhere. (Even though mio v0.8.5 is the latest version...) @HBnetDE have you had any luck with this? There have been a few new beta versions over the last few weeks, so it might be worth trying those as well. @HBnetDE let me know if you're still experiencing this issue and I'll reopen. Closing for now. @arctic-hen7 Sorry it took me so long to get back to this. I just tried this with version 0.4.0-beta.17 and it's working now No problem, glad it's working! Let me know if you ever figure out what the problem was! It seems I was experiencing this same issue when the application was included in my workspace with other crates, but when it wasn't, it was fine. I added resolver = "2" to my workspace's Cargo.toml and it solved the issue. Everything else seems to work fine with the newer resolver. Ah yes @El-Wumbus I've had the same problem myself a few times! Pretty sure that was in the FAQs at some point, but I'm not sure if it still is.
2025-04-01T06:38:44.106973
2024-01-02T09:13:38
2062133554
{ "authors": [ "aodhgan", "franck44" ], "license": "Apache-2.0", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6090", "repo": "franck44/evm-dis", "url": "https://github.com/franck44/evm-dis/issues/41" }
gharchive/issue
Record max depth reached in CFG construction Add this information to the statistics in the DFS. Add the result to the title of the CFG to indicate the size of the deepest branch. I think this is done?
2025-04-01T06:38:44.108717
2021-08-10T16:58:29
965142423
{ "authors": [ "Xenonym", "frandiox" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6091", "repo": "frandiox/vite-ssr", "url": "https://github.com/frandiox/vite-ssr/pull/79" }
gharchive/pull-request
feat: add build.keepIndexHtml plugin option Closes #70. vite-ssr build removes index.html from the client bundle to prevent serving it by mistake in an SSR app. However, there may be use cases where index.html should be preserved in the client build (e.g. when using server side routing to selectively use SSR for a subset of routes). Let's provide a plugin option build.keepIndexHtml so that a user can keep index.html in the client bundle if desired. @Xenonym Thank you for also adding docs! Will be released soon.
2025-04-01T06:38:44.143075
2021-06-03T09:52:44
910323460
{ "authors": [ "franko", "prantlf" ], "license": "MIT", "license_source": "github-api", "license_type": "permissive", "provenance": "gharchive-dolma-0000.json.gz:6092", "repo": "franko/lite-xl", "url": "https://github.com/franko/lite-xl/issues/250" }
gharchive/issue
Prepare distribution via Homebrew I think that I do not have to introduce [Homebrew] to you. It makes Mac as easy to maintain like Linux distros :-) My favourite maintenance command is: brew update && brew upgrade && brew cleanup I would like to include lite-xl in installable and upgradable packages too. Would you with a Homebrew cask for lite-xl too? I did the following: Prepare a cask Confirm that it works Your feedback (questions) Submit the cask to the official Homebrew repo (not yet) 1. Prepare a cask You can review the cask source lite-xl.rb and test it like this: brew install --cask prantlf/tap/lite-xl Or install the tap for regular updates: brew tap prantlf/tap brew update brew install --cask lite-xl Installation and audit succeed: $ brew install -v --cask Casks/lite-xl.rb ==> Downloading https://github.com/franko/lite-xl/releases/download/v1.16.11/lite-xl-macos-x86-64.dmg Already downloaded: /Users/prantlf/Library/Caches/Homebrew/downloads/99247f3abe52b1a2d96dce5dcce6dee31658bbbd4d2caefbd74c674150dc01bf--lite-xl-macos-x86-64.dmg ==> Verifying checksum for cask 'lite-xl' All formula dependencies satisfied. ==> Installing Cask lite-xl hdiutil attach -plist -nobrowse -readonly -mountrandom /private/tmp/d20210603-25344-1ouhw00 /Users/prantlf/Library/Caches/Homebrew/downloads/99247f3abe52b1a2d96dce5dcce6dee31658bbbd4d2caefbd74c674150dc01bf--lite-xl-macos-x86-64.dmg mkbom -s -i /private/tmp/20210603-25344-ll1k01.list -- /private/tmp/20210603-25344-phx5tf.bom ditto --bom /private/tmp/20210603-25344-phx5tf.bom -- /private/tmp/d20210603-25344-1ouhw00/dmg.m6pUaK /private/tmp/d20210603-25344-1591k19 diskutil info -plist /private/tmp/d20210603-25344-1ouhw00/dmg.m6pUaK diskutil eject disk2s1 cp -pR /private/tmp/d20210603-25344-1591k19/lite-xl.app/. /usr/local/Caskroom/lite-xl/1.16.11/lite-xl.app chmod -Rf +w /private/tmp/d20210603-25344-1591k19 ==> Moving App 'lite-xl.app' to '/Applications/lite-xl.app' ==> Linking Binary 'lite-xl' to '/usr/local/bin/lite-xl' 🍺 lite-xl was successfully installed! $ brew audit --cask --strict Casks/lite-xl.rb audit for lite-xl: passed 2. Confirm that it works Works when launched from Spotlight. Works when launched on the command line by /Applications/lite-xl.app/Contents/MacOS/lite-xl. Does not work when launched using a symlink /usr/local/bin/lite-xl to binary above. The application can be started from the application launcher or Spotlight, but it is probably not what you see the most. It starts lite-xl showing the file system root in the tree panel. You usually start lite-xl in the project directory. Homebrew creates a symlink to the binary in /usr/local/bin for this purpose. You simply start TextMate by typing mate of Visual Studio Code by typing code from the command line. I let a symlink lite-xl be created during the installation, but launching the application using the symlink failed: $ lite-xl Error: cannot open /usr/local/bin/core/start.lua: No such file or directory stack traceback: [C]: in function 'xpcall' [string "local core..."]:2: in main chunk Apparently, the path to the Resources directory was computed from the unresolved symlink location: $ ls -l /usr/local/bin/lite-xl ... /usr/local/bin/lite-xl -> /Applications/lite-xl.app/Contents/MacOS/lite-xl How to make sure that the symlink is resolved and the path to the resources computes from original location of the application executable? I used executablePath with "/../../Resources" instead of resourcePath to get it working. But I am only a seasonal Mac developer and I do not know if it is the proper way how to deal with this. I opened #249 with this fix. 3. Your feedback (questions) Should the symlink be called lite instead of lite-xl. It is shorter to type. I do not expect people installing both lite and lite-xl for production. There is o cask for lite right now. If there is one created in the future, installing both can be prevented by declaring conflicts_with in the cask. Of course, people who develop lite and lite-xl know how to run either of them from a custom built binary. I noticed that the official binary is a lot bigger that the binary that I get from a build using build-packages.sh. The official one is probably liked statically: $ ls -l /Applications/lite-xl.app/Contents/MacOS ... 343680 3 Jun 02:38 lite-xl ... 2168736 28 Mai 16:38 lite-xl.orig Do you want to continue with this approach or do you want to link it dynamically? The Homebrew package could declare the required dependencies in that case: depends_on formula: "freetype" depends_on formula: "libagg" depends_on formula: "libx11" depends_on formula: "pcre2" depends_on formula: "sdl2" Lua is liked statically and system dependencies are ensured by declaring the minimum OSX version as 10.3 (high_sierra). Is the new web site ready? I used the repo readme URL in the cask for the time being: url "https://github.com/franko/lite-xl/releases/download/v#{version}/lite-xl-macos-x86-64.dmg" name "Lite XL" desc "Lightweight text editor written in Lua" homepage "https://github.com/franko/lite-xl#readme" Once a better home page is ready on a different host, it can be updated, for example: url "https://github.com/franko/lite-xl/releases/download/v#{version}/lite-xl-macos-x86-64.dmg", verified: "github.com/franko/lite-xl/" name "Lite XL" desc "Lightweight text editor written in Lua" homepage "https://franko.github.io/lite-xl/" 4. Submit the cask to the official Homebrew repo People should be able to discover and install lite-xl by running brew search lite without having to install a custom tap before. For example: $ brew search lite ==> Formulae dlite libspatialite literate-git rqlite sqlite ✔ ... ==> Casks ableton-live-lite lite-xl ✔ .... $ brew install --cask lite-xl .... I showed the way how to maintain casks outside the main Homebrew package list with the brew tap prantlf/tap example above. Once you like the cask, I could create a merge request about it for the official Homebrew repo. Thank you for all this work on macOS, I appreciate. I went another route to create a self-contained executable in a notarized package but having a homebrew recipe is great! 1. Should the symlink be called `lite` instead of `lite-xl`. It is shorter to type. I do not expect people installing both `lite` and `lite-xl` for production. There is o cask for `lite` right now. If there is one created in the future, installing both can be prevented by declaring `conflicts_with` in the cask. Of course, people who develop lite and lite-xl know how to run either of them from a custom built binary. It is customary to keep the executable called lite and we can align with this also on macOS which is an exception for no good reason. 2. I noticed that the official binary is a lot bigger that the binary that I get from a build using `build-packages.sh`. The official one is probably liked statically: $ ls -l /Applications/lite-xl.app/Contents/MacOS ... 343680 3 Jun 02:38 lite-xl ... 2168736 28 Mai 16:38 lite-xl.orig The binary you see is not linked statically but it links SDL2, freetype2, libagg and lua as static libraries and this is meant to be like this. I don't see any advantage to use SDL2 as a dynamic library, it just happens that homebrew does this by default like most linux distributions. In addition my binary use a special version of the SDL library that use zero CPU when idle. This is not the case for the stock SDL you are using and lite-xl will always use the CPU a little bit even when minimized or unfocused. The modified SDL library can be found there: https://github.com/franko/SDL-4d and here the tag for the 2.0.14 release: https://github.com/franko/SDL-4d/releases/tag/release-2.0.14-s4d-2 Do you want to continue with this approach or do you want to link it dynamically? The Homebrew package could declare the required dependencies in that case: It is okay for me that distributions and homebrew build lite-xl as they prefer based on their standards. On the other side for the binaries I craft I prefer static linking to the external libraries. In theory static linking with the modified SDL library and freetype is better but I understand this is non-standard for a homebrew package. Lua is liked statically and system dependencies are ensured by declaring the minimum OSX version as 10.3 (high_sierra). Right. 1. Is the new web site ready? I used the repo readme URL in the cask for the time being: The Website is ready since today, the varnish is still fresh! Please use the new website for the URL if you prepare a cask. Should the symlink be called lite instead of lite-xl? It is customary to keep the executable called lite and we can align with this also on macOS which is an exception for no good reason. Sounds good, I renamed the symlink to lite. I noticed that the official binary is a lot bigger that the binary that I get from a build using build-packages.sh. The official one is probably liked statically: The binary you see is not linked statically but it links SDL2, freetype2, libagg and lua as static libraries and this is meant to be like this. I don't see any advantage to use SDL2 as a dynamic library, it just happens that homebrew does this by default like most linux distributions. Yes, I agree. SDL and freetype are not libraries that would be too big to bundle or too critical to get patched quickly and often. In addition my binary use a special version of the SDL library that use zero CPU when idle. This is not the case for the stock SDL you are using and lite-xl will always use the CPU a little bit even when minimized or unfocused. This is very important. Now I know why my build was eating 3% CPU constantly, even in the background, but yours was idling with 0%. The modified SDL library can be found there: https://github.com/franko/SDL-4d and here the tag for the 2.0.14 release: Thank you! Unfortunately, It fails building on my machine with one redefined and many missing identifiers from X11. Apparently it does not like the contents of my /opt/X11/include. But it is not so important. I use my builds for testing purposes and I will stick with the official ones for the production. Do you want to continue with this approach or do you want to link it dynamically? The Homebrew package could declare the required dependencies in that case: It is okay for me that distributions and homebrew build lite-xl as they prefer based on their standards. On the other side for the binaries I craft I prefer static linking to the external libraries. In theory static linking with the modified SDL library and freetype is better but I understand this is non-standard for a homebrew package. I did compare the unified way to lookup, install and maintain Homebrew packages to a Linux distro, but it is by no means so coherent. Homebrew packages are are not developed together for a common release, like forcing all applications to use SDL2.0 for 2021.04, for example. That is why trying to reuse the shared packages as much as possible does not improve the maintenance as much as in a Linux distro. While Homebrew formulae describe how to build many packages from source on Mac, Homebrew casks are meant for describing how to download and unpack binaries using installers published by software vendors. Symlinking the binaries installed to /Applications in /usr/local/bin is a nifty trick to prevent the PATH from blowing up. In case of lite-xl, I do not see it worth having a special Homebrew build using shared libraries from other Homebrew packages. As long as there is no other reason and the binary installed by Homebrew can be the same as you distribute, there will be less work to maintain it and less risk of problems. Is the new web site ready? I used the repo readme URL in the cask for the time being: The Website is ready since today, the varnish is still fresh! Please use the new website for the URL if you prepare a cask. Yay, it is shining so nicely! :-) I put it to the cask in progress. I will wait for 1.16.12 with #249 before I send it to the homebrew-cask repo. Thank you! The modified SDL library can be found there: https://github.com/franko/SDL-4d and here the tag for the 2.0.14 release: Thank you! Unfortunately, It fails building on my machine with one redefined and many missing identifiers from X11. Apparently it does not like the contents of my /opt/X11/include. But it is not so important. I use my builds for testing purposes and I will stick with the official ones for the production. If it fails to build on your machine it means the standard SDL2 release 2.0.14 will fail too. My modification do not touch the building system and the dependencies. You may use lhelper, it knows how to build it for you. It works nicely with homebrew. To build the standard SDL2 library: # from inside an lhelper environment lhelper install sdl2 to install the modified version: lhelper install sdl2 2.0.14-wait-event-timeout-1 On the other side, to be honest, I didn't test on macOS when the x11 libraries are installed so it may fail at well. By the way, in the same way you can build the freetype library: lhelper install freetype2 Yay, it is shining so nicely! :-) I put it to the cask in progress. I will wait for 1.16.12 with #249 before I send it to the homebrew-cask repo. Great, thank you. In addition my binary use a special version of the SDL library that use zero CPU when idle. This is not the case for the stock SDL you are using and lite-xl will always use the CPU a little bit even when minimized or unfocused. This is very important. Now I know why my build was eating 3% CPU constantly, even in the background, but yours was idling with 0%. The modified SDL library can be found there: https://github.com/franko/SDL-4d and here the tag for the 2.0.14 release: My modification to the SDL library was merged, like one hour ago! https://github.com/libsdl-org/SDL/pull/4419 So it should be included with the next great release of the SDL library!