METRON-1695: Expose pcap properties through Ambari

Contributor Comments
This change add a new jinja template for the pcap properties and adds a new tab in Ambari Metron config for the PCAP properties. Here are the screenshots:

Testing Done
Built mpack out of these changes, deployed a multi-node cluster and validated that the pcap.properties is being updated during Parser startup scripts per the screenshot below:

Also validated that the pcap properties is updated with config changes (ZK quorum, kafka broker etc.)
[root@metron-12 config]# cat pcap.properties

##### Storm #####
topology.worker.childopts=
topology.auto-credentials=[]
topology.workers=1

##### Kafka #####
spout.kafka.topic.pcap=pcap
kafka.zk=metron-10:2181,metron-11:2181,metron-1:2181
hdfs.sync.every=1
hdfs.replication.factor=--1
kafka.security.protocol=PLAINTEXT

# One of EARLIEST, LATEST, UNCOMMITTED_EARLIEST, UNCOMMITTED_LATEST
kafka.pcap.start=UNCOMMITTED_EARLIEST

kafka.pcap.numPackets=1000
kafka.pcap.maxTimeMS=300000
kafka.pcap.ts_scheme=FROM_KEY
kafka.pcap.out=/apps/metron/pcap/input

##### Parallelism #####
kafka.pcap.ts_granularity=MICROSECONDS
kafka.spout.parallelism=1

Verification Steps

Spin up full dev (or a multi-node cluster)
Ensure that the PCAP tab in Ambari Metron config allows for values to be entered.
Deploy cluster and validate that $METRON_HOME/config/pcap.properties file has the proper config values set.

Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[ ] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[ ] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

[ ] Have you written or updated unit tests and or integration tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[ ] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

@anandsubbu Thanks for contributing this!  The only thing I'm unsure of after reviewing this is your comment regarding this belonging in parser_master.py or not. On one hand, you could make a case that this is a parser like any other with the exception that it is spout-only. On the other hand, we don't currently provide a mechanism (iirc) to start/stop/manage the PCAP topology from Ambari. Starting parsers doesn't start PCAP, does it?
It may be that PCAP deserves its own "master", e.g. pcap_master.py, and lifecycle as a proper first class citizen (topology) within Ambari. Below is the current list of components, and PCAP is not in it afaik, even as a parser (there's a start_pcap_topology.sh script that is NOT the same as start_parser_topology.sh). It seems like if we're going to add this to Ambari we should also provide the ability to manage it. What do you think of that approach?

+1 to that, PCAP should definitely get its own service, but agreed with @anandsubbu that should probably be a follow on item.

I think I'm ok with this as a first step. Please document the lifecycle for how pcap.properties is updated in the README. It should be clear to users that they will need to restart parsers for the changes to take effect after the initial install is performed. Can you confirm, is that the way the properties are/will be deployed with this PR @anandsubbu?
https://github.com/apache/metron/pull/1134 should be included in the refactoring once we make PCAP a proper component.

I'm +1 via inspection pending the requested documentation. Also, please create the follow-on Jira, have it linked to this Jira, and also link it here for reference in the comments on this PR. Both this Jira/PR and https://github.com/apache/metron/pull/1134#issuecomment-409658527 should link up.

Please document the lifecycle for how pcap.properties is updated in the README. It should be clear  to users that they will need to restart parsers for the changes to take effect after the initial install is performed. Can you confirm, is that the way the properties are/will be deployed with this PR @anandsubbu?

Hi @mmiklavc - there is no change in behavior from earlier to now. Nothing changes from a usage perspective. Let me clarify more with an example for a multi-node deployment...
Earlier

User deploys metron
pcap.properties file created with defaults under $METRON_HOME/config
User hand edits the properties file (sets ZK quorum and other parameters as required)
Starts the topology per the instructions here.

Now

During deploy time, user is presented with a separate config tab in Ambari to configure/reconfigure PCAP properties. If user chooses to leave them untouched, the pcap.properties is initialized with appropriate defaults. ZK quorum is auto-populated as well.
pcap.properties file is created during metron-parsers startup step.
Starts the topology per the instructions here.

The steps in the README still holds.
Now, we can add a note in the README to indicate that the PCAP properties can be configured via the 'PCAP' tab in Ambari Metron config. But I noticed this was not explicitly mentioned for other components (e.g. REST, elasticsearch). Let me know if you prefer to have this added.

Btw, I created METRON-1719 to track PCAP sensor being an independent service entity.

@anandsubbu, considering the changes in this PR:

Let's say I manually make changes to pcap.properties. I restart the parser topologies. Later, I manually restart pcap with the shell command. What happens to my pcap.properties changes?
Similarly, I make changes via Ambari's new PCAP panel. Now I go start pcap using $METRON_HOME/bin/start_pcap_topology.sh. What does pcap.properties look like?

In 1, your changes are overwritten by the parsers' restart. In 2, you've made changes in Ambari but they don't get materialized in the properties file because you haven't restarted the parsers - I may be mistaken, but I'm pretty sure clicking "save" in Ambari does not deploy the new properties, and this is the reason I ask for a doc change. Previously, configuring pcap was all manual steps. Now it will be a combo of manual steps for start/stop, automated steps for the config updates. And more specifically for the config updates, you will only see them if you make them in Ambari and restart the parsers. Also, if you choose not to use Ambari for this config handling and instead make your config changes to pcap.properties locally, you will have to remember that restarting the parsers will overwrite your pcap config - something you're only likely to realize the next time you start/restart pcap. This is the behavior that I think we should document if we accept this. Does that make sense?

Yup, @mmiklavc I see what you are saying. Make sense to me. Let me know if the latest README update conveys the message.
I also added a fix to prompt a service restart upon changes to the PCAP config settings. Thanks @MohanDV for the pointer!

@anandsubbu thanks for the updates, I'm going merge your PR.

I don't see any good reason to put off making pcap it's own Ambari component.  Having to restart the parsers component (which is unrelated to pcap) to propagate pcap changes is a deal breaker for me.
Had this been submitted against the pcap feature branch I would be fine with it as an incremental change but I don't feel like this puts master in a good state and I definitely would not want it in a release.  Why not just do it here?

@anandsubbu, I hate to give you whiplash, but @merrimanr may have a point here. There benefit of exposing the pcap properties via Ambari is lessened by now requiring the user to do 3 things instead of 2 to get the properties set for Pcap.
Old

Update properties
Restart pcap from command line

New

Update properties
Restart parsers to deploy the properties (users may not like this requirement)
Restart pcap from command line

The work is by no means throw away in its current form, but if we're going to do this it's probably worth going the whole way.

This PR lays the foundation for exposing the properties to begin with. My thought was that it reduces one error prone manual step of hand-editing the pcap.properties file. I agree with your point about how users might be concerned about restarting all parsers after modifying PCAP config.
I did not create this earlier under the feature branch since this was not related specifically to the PCAP query panel, it was a more generic change.
I am fine to move this under the feature branch or I could wait until the fix for METRON-1709 (making the PCAP service its own) is available and then submit a fresh PR. Let me know which one works better.

If you want to do the work in a separate PR (METRON-1709) then that's fine.  As long as they are tested and committed together that works for me.  If it were me, I would just do the work in this PR and save the trouble of managing two different PRs.  We have several different components already that you can use as a template.  I don't think this is that much work.
Since this was developed against master I wouldn't switch to the feature branch.

Sure @merrimanr , sounds good.
@MohanDV has already begun work on METRON-1709. I will wait for him to complete and then submit this pull request so it would be a natural fit.

@anandsubbu I am conflicted on this one. :) Can you de-conflict?

Hey @nickwallen ... Let me close this PR. Will create one afresh based on the latest changes from #1201


Add an endpoint that returns the devnet version

It will be helpful for libs such as Starknet.js and probably will not be useful except for internal reasons.
Since we don't have proper versioning, it can just return true for now

Hi @ivpavici , can i work on this and Can you elaborate a little more on it


Add instrumentation end-to-end.

With the new IR system in Razor the instrumentation bits were left out because they can be implemented as an IR pass and code gen renderer. We should re-add these based on the prototype.

This is done.

Thanks @rynowak


Any website can be opened

Fix #68
Added custom website openable ability based on query.

Fixed #77
Added file opener to the project.

I have resolved two issues and mentioned both here in a single pull request.
Will I be awarded points for the both of them or should I open a new pull request?

Hello, i have two pull requests. And changes from this have been already merged from it as the other got merged #77 .
But as this is still opened, i won't receive any points .
Please merge this too and close so that I can get points

Thank you for accepting


fix(LocalStorage): LocalVolumeConvert state transition error

What this PR does / why we need it:
fix #1216
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Codecov Report

Merging #1217 (8cadee5) into main (44f95d8) will not change coverage.
Report is 6 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main    #1217   +/-   ##
=======================================
  Coverage   35.77%   35.77%
=======================================
  Files          28       28
  Lines        2180     2180
=======================================
  Hits          780      780
  Misses       1297     1297
  Partials      103      103

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

lgtm


Hosted analytics.js / CDN

I'd like to use analytics.js itself (rather than segment.io), but was wondering if you'd like to support a CDN'ed version of analytics.js without segment.io
I see from https://segment.io/close.io/setup/javascript/snippet that you have urls like https://d2dq2ahtl5zl1z.cloudfront.net/analytics.js/v1/x0cyzac/analytics.min.js (with a nice async loading snippet). Is there anywhere that doesn't require the segment.io api key?

I think pivotal did an article on it:
https://content.pivotal.io/blog/how-to-use-analytics-js-to-fix-your-analytics-code-and-achieve-metrics-nirvana


Highlight is not refreshed on insert from clipboard

After inserting code from clipboard, code highlighting is messed up.

I saw this before, though couldn't find a stable reproduction for this. Guess will need to try with the clipboard, thanks!

Just another tip. I use vim extension so it allows to modify source code not in edit mode on some keybindings. Also we have, for example, Cmd + / combination which toggles comment on active line. And this broke code highlighting. So if we comment line with that combination, it becomes grey somewhere but still colored. This works in opposite way. If we uncomment grayed line of code, it stays gray.

Here is how it looks. So I commented three lines with Cmd + / and they are colored.

Thanks for the info, already looking into this!

Note that we are switching to a new, unrelated highlighting engine in master: https://github.com/rust-analyzer/rust-analyzer/blob/e91320632a9dfee937c3c2ba3ffafd3f5ffb22dc/editors/code/package.json#L170 (it requires code-insiders for the time being).

@matklad I tried new highlighting engine and all my problems wen away. Finally I can work without this disturbing thing :) Thank you
@Veetaha

Okay, I guess this issue doesn't deserve the effort then...

I haven't seen any messed up semantic highlighting in a long time.


Add getCacheKey to jest transformer

The transformer would be even faster, if it would not need to rerun every file transformation on each test run. I guess we just need to add something like
  getCacheKey() {
    return crypto
      .createHash('md5')
      .update(fs.readFileSync(__filename))
      .digest('hex');
  },

to the transform's exports.

I've considered this before, but I need to run some benchmark suites to ensue crypto.createHash('md5').update(fs.readFileSync(__filename)).digest('hex') is faster than swc.transform.


fix: fixes object literal parsing for <component :is>

fix #3171

@johnsoncodehk I think we should allow passing inline components since they just work well :(

We need to avoid introducing additional conventions (__isFragment, __isTeleport, __isSuspense etc).
Perhaps we could append as any to ignore the type when the :is expression is an object literal.

However, if we do so, type-checking will be disabled. I think my approach is fine, just need to think a new way to detect whether the argument is defined by using defineComponent.

How about wrap it with defineComponent when the expression is an object literal?

It cannot be perfectly supported, and if we decide to support object literals, we should also handle edge cases like :is="condition ? { render } : { props }".
Is your use case specific to the render option? If so, you can replace :is="{ render: eventSummary }" with :is="eventSummary", since functional component is a valid type.


RenderUiKitView _handleGlobalPointerEvent is not checking for null size

Steps to Reproduce
Sadly i have no working reproducer. Only Error reports in crashlytics.
In this function the size of the render box is used without checking if it is null:
https://github.com/flutter/flutter/blob/1cf492f254b22274b6f5cf73dfeecc27dc4b9904/packages/flutter/lib/src/rendering/platform_view.dart#L382
It looks like there is a way for RenderUiKitView to receiver touch events bevor it is layouted and the size is still null:
https://github.com/flutter/flutter/blob/e905dd2d67926728b47e02fd2dfca1e68cbaac32/packages/flutter/lib/src/rendering/box.dart#L1951
Expected results:
No error Report generated.
Actual results:
Non-fatal Exception: FlutterError
Null check operator used on a null value. Error thrown Instance of 'ErrorDescription'
0  ???                            0x0 size + 1952 (box.dart:1952)
1  ???                            0x0 _handleGlobalPointerEvent + 382 (platform_view.dart:382)
2  ???                            0x0 _dispatch + 93 (pointer_router.dart:93)
3  ???                            0x0 _dispatchEventToRoutes.<fn> + 138 (pointer_router.dart:138)
4  ???                            0x0 forEach (dart:collection)
5  ???                            0x0 _dispatchEventToRoutes + 136 (pointer_router.dart:136)
6  ???                            0x0 route + 128 (pointer_router.dart:128)
7  ???                            0x0 handleEvent + 439 (binding.dart:439)
8  ???                            0x0 dispatchEvent + 419 (binding.dart:419)
9  ???                            0x0 dispatchEvent + 287 (binding.dart:287)
10 ???                            0x0 _handlePointerEventImmediately + 374 (binding.dart:374)
11 ???                            0x0 handlePointerEvent + 338 (binding.dart:338)
12 ???                            0x0 _flushPointerEventQueue + 296 (binding.dart:296)
13 ???                            0x0 _handlePointerDataPacket + 279 (binding.dart:279)

@cyanglaz @goderbauer @Hixie  pinging you three because of commit history in both methods.

If it's not been laid out, it's not clear how it can get events, since (if you use widgets) the render object should be created then laid out all synchronously and there's no way to handle events while that's happening...

@Hixie
Thank you. So my assumption was wrong, do you see/know any other reason why the size would be null. We only use GoogleMaps as native view in our app.
@TahaTesser
[✓] Flutter (Channel beta, 2.2.0-10.3.pre, on macOS 11.3.1 20E241 darwin-x64, locale de-CH)
    • Flutter version 2.2.0-10.3.pre at /Users/yasargil/tools/flutter
    • Framework revision 06e2fd6357 (vor 3 Wochen), 2021-05-08 11:28:22 -0700
    • Engine revision a123e75c60
    • Dart version 2.13.0 (build 2.13.0-211.14.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/yasargil/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 at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • 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)

[!] IntelliJ IDEA Community Edition (version 2017.1.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin version 14.0 - the recommended minimum version is 16.0.0
    • Dart plugin version 171.4694.29
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (2 available)
    • iPhone 11 Pro (mobile) • 20760870-7CA0-48B9-9500-DF9002CE45B7 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 90.0.4430.212

! Doctor found issues in 1 category.

Some more context:

Only happening on iOS. Probably because RenderAndroidView is using _PlatformViewGestureMixin.
We have a GoogleMap widget at our root route. But the error is reported all over the navigation tree even when the map ist not visible because there is a fullscreen route over it.
Until now no user reported any issued while using the map.

@Hixie i come back to my assumption. When i look a the code the "_handleGlobalPointerEvent" is registered in the "attach" method of the renderBox after the parent class RenderObject did send "markNeedsLayout" which may trigger a "requestVisualUpdate" on the pipeline, which apparently request a "scheduleFrame" on the engine. Are you sure that is all synchronous or cam missing a code path where the layout is done bevor attach?

I have managed to reproduce the error in our app. My assumption is correct the RenderBox is attached but not layouted and has therefore has size null. This happens when the GoogleMap ist on a route below other routes in an Navigator and was never showed on screen bevor. Now touches on the screen are sent to the _handleGlobalPointerEvent leading to the stack trace mentioned.
@Hixie could it be that routes never get a layout pass when not visible in the navigator?

Hi @yasargil
Thanks for the code sample

logs
                    Codesigning
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftFoundation.dylib
                    /usr/bin/codesign --force --sign - --verbose
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftFoundation.dylib
                    Codesigning
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreGraphics.dylib
                    /usr/bin/codesign --force --sign - --verbose
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreGraphics.dylib
                    Codesigning
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCore.dylib
                    /usr/bin/codesign --force --sign - --verbose
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCore.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftMetal.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftMetal.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreAudio.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreAudio.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreMedia.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreMedia.dylib
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftMetal.dylib is unchanged; keeping original
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreAudio.dylib is unchanged; keeping original
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftUIKit.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftUIKit.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftDispatch.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftDispatch.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreFoundation.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreFoundation.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftQuartzCore.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftQuartzCore.dylib
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreMedia.dylib is unchanged; keeping original
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftUIKit.dylib is unchanged; keeping original
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreImage.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreImage.dylib
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftDispatch.dylib is unchanged; keeping original
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftDarwin.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftDarwin.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftos.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftos.dylib
                    Codesigning
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftQuartzCore.dylib
                    /usr/bin/codesign --force --sign - --verbose
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftQuartzCore.dylib
                    Codesigning
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreFoundation.dylib
                    /usr/bin/codesign --force --sign - --verbose
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreFoundation.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreGraphics.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreGraphics.dylib
                    Codesigning
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftos.dylib
                    /usr/bin/codesign --force --sign - --verbose
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftos.dylib
                    Codesigning
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreImage.dylib
                    /usr/bin/codesign --force --sign - --verbose
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreImage.dylib
                    Codesigning
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftDarwin.dylib
                    /usr/bin/codesign --force --sign - --verbose
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftDarwin.dylib
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreGraphics.dylib is unchanged; keeping original
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftFoundation.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftFoundation.dylib
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftFoundation.dylib is unchanged; keeping original
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreFoundation.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreFoundation.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftQuartzCore.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftQuartzCore.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftDarwin.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftDarwin.dylib
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreFoundation.dylib is unchanged; keeping original
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftos.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftos.dylib
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreImage.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreImage.dylib
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftQuartzCore.dylib is unchanged; keeping original
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftos.dylib is unchanged; keeping original
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftDarwin.dylib is unchanged; keeping original
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCoreImage.dylib is unchanged; keeping original
                    Probing signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCore.dylib
                    /usr/bin/codesign -r- --display
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCore.dylib
                    Code signature of
                    /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/libsw
                    iftCore.dylib is unchanged; keeping original

                    CodeSign /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app (in
                    target 'Runner' from project 'Runner')
                        cd /Users/tahatesser/StudioProjects/beta_flutter/ios
                        export
                        CODESIGN_ALLOCATE\=/Volumes/Extreme/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
                        usr/bin/codesign_allocate

                        Signing Identity:     "-"

                        /usr/bin/codesign --force --sign - --entitlements
                        /Users/tahatesser/Library/Developer/Xcode/DerivedData/Runner-gcrntrybggvujmbaxtfonxnjsemv/Build/Inter
                        mediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner.app.xcent --timestamp\=none
                        /Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app

                    /Users/tahatesser/StudioProjects/beta_flutter/ios/Pods/Pods.xcodeproj: 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.5.99. (in target 'Flutter' from project 'Pods')
                    ** BUILD SUCCEEDED **
[ +166 ms]  └─Compiling, linking and signing... (completed in 5.2s)
[        ] Xcode build done.                                           23.9s
[   +2 ms] executing: rsync -av --delete
/Users/tahatesser/StudioProjects/beta_flutter/build/ios/Debug-iphonesimulator/Runner.app
/Users/tahatesser/StudioProjects/beta_flutter/build/ios/iphonesimulator
[ +778 ms] building file list ... done
                    deleting Runner.app/Frameworks/App.framework/flutter_assets/NOTICES
                    Runner.app/
                    Runner.app/Info.plist
                    Runner.app/PkgInfo
                    Runner.app/Runner
                    Runner.app/Frameworks/
                    Runner.app/Frameworks/App.framework/
                    Runner.app/Frameworks/App.framework/App
                    Runner.app/Frameworks/App.framework/_CodeSignature/CodeResources
                    Runner.app/Frameworks/App.framework/flutter_assets/
                    Runner.app/Frameworks/App.framework/flutter_assets/AssetManifest.json
                    Runner.app/Frameworks/App.framework/flutter_assets/FontManifest.json
                    Runner.app/Frameworks/App.framework/flutter_assets/NOTICES.Z
                    Runner.app/Frameworks/App.framework/flutter_assets/isolate_snapshot_data
                    Runner.app/Frameworks/App.framework/flutter_assets/kernel_blob.bin
                    Runner.app/Frameworks/App.framework/flutter_assets/vm_snapshot_data
                    Runner.app/Frameworks/Flutter.framework/
                    Runner.app/Frameworks/Flutter.framework/Flutter
                    Runner.app/Frameworks/Flutter.framework/Info.plist
                    Runner.app/Frameworks/Flutter.framework/icudtl.dat
                    Runner.app/Frameworks/Flutter.framework/Headers/
                    Runner.app/Frameworks/Flutter.framework/Headers/Flutter.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterAppDelegate.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterBinaryMessenger.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterCallbackCache.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterChannels.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterCodecs.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterDartProject.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterEngine.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterEngineGroup.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterHeadlessDartRunner.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterMacros.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterPlatformViews.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterPlugin.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterTexture.h
                    Runner.app/Frameworks/Flutter.framework/Headers/FlutterViewController.h
                    Runner.app/Frameworks/Flutter.framework/Modules/
                    Runner.app/Frameworks/Flutter.framework/Modules/module.modulemap
                    Runner.app/Frameworks/Flutter.framework/_CodeSignature/
                    Runner.app/Frameworks/Flutter.framework/_CodeSignature/CodeResources
                    Runner.app/Frameworks/webview_flutter.framework/
                    Runner.app/Frameworks/webview_flutter.framework/Info.plist
                    Runner.app/Frameworks/webview_flutter.framework/webview_flutter
                    Runner.app/Frameworks/webview_flutter.framework/_CodeSignature/CodeResources
                    Runner.app/_CodeSignature/CodeResources

                    sent 82032736 bytes  received 866 bytes  54689068.00 bytes/sec
                    total size is 105556470  speedup is 1.29
[   +3 ms] executing: xcrun simctl install D72A5DAA-24E6-421B-B4F5-7CFAFB498040
/Users/tahatesser/StudioProjects/beta_flutter/build/ios/iphonesimulator/Runner.app
[+1240 ms] executing: /usr/bin/plutil -convert json -o -
/Users/tahatesser/StudioProjects/beta_flutter/build/ios/iphonesimulator/Runner.app/Info.plist
[  +11 ms] Exit code 0 from: /usr/bin/plutil -convert json -o -
/Users/tahatesser/StudioProjects/beta_flutter/build/ios/iphonesimulator/Runner.app/Info.plist
[   +1 ms]
{"CFBundleName":"beta_flutter","DTXcode":"1250","DTSDKName":"iphonesimulator14.5","UILaunchStoryboardName":"LaunchScreen","CF
BundleIcons~ipad":{"CFBundlePrimaryIcon":{"CFBundleIconFiles":["AppIcon20x20","AppIcon29x29","AppIcon40x40","AppIcon60x60","A
ppIcon76x76","AppIcon83.5x83.5"],"CFBundleIconName":"AppIcon"}},"DTSDKBuild":"18E182","CFBundleDevelopmentRegion":"en","CFBun
dleVersion":"1","BuildMachineOSBuild":"20E241","DTPlatformName":"iphonesimulator","CFBundlePackageType":"APPL","UIMainStorybo
ardFile":"Main","CFBundleSupportedPlatforms":["iPhoneSimulator"],"CFBundleShortVersionString":"1.0.0","CFBundleInfoDictionary
Version":"6.0","CFBundleExecutable":"Runner","DTCompiler":"com.apple.compilers.llvm.clang.1_0","UISupportedInterfaceOrientati
ons~ipad":["UIInterfaceOrientationPortrait","UIInterfaceOrientationPortraitUpsideDown","UIInterfaceOrientationLandscapeLeft",
"UIInterfaceOrientationLandscapeRight"],"MinimumOSVersion":"9.0","CFBundleIdentifier":"com.example.betaFlutter","UIDeviceFami
ly":[1,2],"DTPlatformVersion":"14.5","CFBundleSignature":"????","CFBundleIcons":{"CFBundlePrimaryIcon":{"CFBundleIconFiles":[
"AppIcon20x20","AppIcon29x29","AppIcon40x40","AppIcon60x60"],"CFBundleIconName":"AppIcon"}},"DTXcodeBuild":"12E262","LSRequir
esIPhoneOS":true,"UISupportedInterfaceOrientations":["UIInterfaceOrientationPortrait","UIInterfaceOrientationLandscapeLeft","
UIInterfaceOrientationLandscapeRight"],"UIViewControllerBasedStatusBarAppearance":false,"NSBonjourServices":["_dartobservator
y._tcp"],"DTPlatformBuild":"18E182","NSLocalNetworkUsageDescription":"Allow Flutter tools on your computer to connect and
debug your application. This prompt will not appear on release builds."}
[   +4 ms] executing: xcrun simctl launch D72A5DAA-24E6-421B-B4F5-7CFAFB498040 com.example.betaFlutter
--enable-dart-profiling --enable-checked-mode --verify-entry-points --observatory-port=0
[ +272 ms] com.example.betaFlutter: 37536
[        ] Waiting for observatory port to be available...
[ +724 ms] Observatory URL on device: http://<IP_ADDRESS>:60884/Xn0vYPNSZk0=/
[  +10 ms] Caching compiled dill
[ +212 ms] Connecting to service protocol: http://<IP_ADDRESS>:60884/Xn0vYPNSZk0=/
[ +200 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at
http://<IP_ADDRESS>:60884/Xn0vYPNSZk0=/.
[  +94 ms] DDS is listening at http://<IP_ADDRESS>:60889/0eScwzT6yPI=/.
[  +84 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:60884/Xn0vYPNSZk0=/
[  +26 ms] DevFS: Creating new filesystem on the device (null)
[  +22 ms] DevFS: Created new filesystem on the device
(file:///Users/tahatesser/Library/Developer/CoreSimulator/Devices/D72A5DAA-24E6-421B-B4F5-7CFAFB498040/data/Containers/Data/A
pplication/1CFFA0C7-A79A-464C-ABD7-D0FE78A639B9/tmp/beta_flutter7FC9El/beta_flutter/)
[   +3 ms] Updating assets
[ +130 ms] Syncing files to device iPhone 12...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +4 ms] <- recompile package:beta_flutter/main.dart 8b85966d-55c0-4137-82b2-0918df9f14e0
[        ] <- 8b85966d-55c0-4137-82b2-0918df9f14e0
[ +228 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device iPhone 12... (completed in 236ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[   +9 ms] Connected to _flutterView/0x7f8b9880ee20.
[   +3 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on iPhone 12 is available at: http://<IP_ADDRESS>:60889/0eScwzT6yPI=/
[ +332 ms] DevTools activation throttled until 2021-05-28 22:25:11.789800.
[ +684 ms] The Flutter DevTools debugger and profiler on iPhone 12 is available at:
                    http://<IP_ADDRESS>:9102?uri=http%3A%2F%2F<IP_ADDRESS>%3A60889%2F0eScwzT6yPI%3D%2F
[+30140 ms]
                     ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════
                     The following assertion was thrown while routing a pointer event:
                     RenderBox was not laid out: RenderUiKitView#fe2b9 NEEDS-LAYOUT NEEDS-PAINT
                     'package:flutter/src/rendering/box.dart':
                     Failed assertion: line 1929 pos 12: 'hasSize'

                     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      RenderBox.size (package:flutter/src/rendering/box.dart:1929:12)
                     #3      RenderUiKitView._handleGlobalPointerEvent
(package:flutter/src/rendering/platform_view.dart:382:25)
                     #4      PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:94:12)
                     #5      PointerRouter._dispatchEventToRoutes.<anonymous closure>
(package:flutter/src/gestures/pointer_router.dart:139:9)
                     #6      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:397:8)
                     #7      PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:137:18)
                     #8      PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:129:5)
                     #9      GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:440:19)
                     #10     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:420:22)
                     #11     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:287:11)
                     #12     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
                     #13     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
                     #14     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
                     #15     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
                     #19     _invoke1 (dart:ui/hooks.dart:182:10)
                     #20     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
                     #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
                     (elided 5 frames from class _AssertionError and dart:async)

                     router: Instance of 'PointerRouter'
                     route: Closure: (PointerEvent) => void from Function '_handleGlobalPointerEvent@361508051':.
                     event: PointerDownEvent#e057e(position: Offset(162.3, 536.7))
                     ════════════════════════════════════════════════════════════════════════════════════════════════════
[ +457 ms]
                    Another exception was thrown: RenderBox was not laid out: RenderUiKitView#fe2b9 NEEDS-LAYOUT NEEDS-PAINT

Tested the code sample on the following channels

stable
beta
dev
master

❗
❗
❗
❗

Check flutter doctor -v outputs for each channel below

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.3.1 20E241 darwin-x64, locale
    en-GB)
    • Flutter version 2.2.1 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 02c026b03c (19 hours 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 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • 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 /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • 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)

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (4 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E            • ios
      • iOS 14.6
    • iPhone 12 (mobile)     • D72A5DAA-24E6-421B-B4F5-7CFAFB498040 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64
      • macOS 11.3.1 20E241 darwin-x64
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 90.0.4430.212

• No issues found!

[✓] Flutter (Channel beta, 2.2.0, on macOS 11.3.1 20E241 darwin-x64, locale
    en-GB)
    • Flutter version 2.2.0 at /Users/tahatesser/Code/flutter_beta
    • Framework revision b22742018b (2 weeks ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • 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 /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • 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)

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (4 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E            • ios
      • iOS 14.6
    • iPhone 12 (mobile)     • D72A5DAA-24E6-421B-B4F5-7CFAFB498040 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64
      • macOS 11.3.1 20E241 darwin-x64
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 90.0.4430.212

• No issues found!

[✓] Flutter (Channel dev, 2.3.0-16.0.pre, on macOS 11.3.1 20E241 darwin-x64,
    locale en-GB)
    • Flutter version 2.3.0-16.0.pre at /Users/tahatesser/Code/flutter_dev
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fa5883b78e (7 days ago), 2021-05-21 13:04:03 -0700
    • Engine revision 2f067fc4c5
    • Dart version 2.14.0 (build 2.14.0-136.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • 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 /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • 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)

[✓] IntelliJ IDEA Community Edition (version 2021.1.1)
    • IntelliJ at /Volumes/Extreme/IntelliJ IDEA CE.app
    • Flutter plugin version 56.0.5
    • Dart plugin version 211.7233

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (4 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E            • ios
      • iOS 14.6
    • iPhone 12 (mobile)     • D72A5DAA-24E6-421B-B4F5-7CFAFB498040 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64
      • macOS 11.3.1 20E241 darwin-x64
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 90.0.4430.212

• No issues found!

[✓] Flutter (Channel master, 2.3.0-17.0.pre.111, on macOS 11.3.1 20E241
    darwin-x64, locale en-GB)
    • Flutter version 2.3.0-17.0.pre.111 at
      /Users/tahatesser/Code/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6a38994cb8 (8 hours ago), 2021-05-28 02:09:02 -0400
    • Engine revision ecfd7bdffe
    • Dart version 2.14.0 (build 2.14.0-162.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • 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 /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • 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)

[✓] IntelliJ IDEA Community Edition (version 2021.1.1)
    • IntelliJ at /Volumes/Extreme/IntelliJ IDEA CE.app
    • Flutter plugin version 56.0.5
    • Dart plugin version 211.7233

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (4 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E            • ios
      • iOS 14.6
    • iPhone 12 (mobile)     • D72A5DAA-24E6-421B-B4F5-7CFAFB498040 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64
      • macOS 11.3.1 20E241 darwin-x64
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 90.0.4430.212

• No issues found!

✅ : No Issue ❗: Has issue

Thanks for debugging the issue and the reproducible code sample. It looks like _handleGlobalPointerEvent needs to ignore pointer events if it hasn't been layed out yet. Not sure if it needs to communicate that to the UiKitViewController, though.
/cc @jmagman

@goderbauer  How is _handleGlobalPointerEvent getting called if the render object isn't yet laid out?

If anyone has a complete stack trace they could post that would be great.

Not sure what stack trace you need.
In the widget inspector for the reproducer i see this:

Ah what I meant was the stack trace @TahaTesser posted in https://github.com/flutter/flutter/issues/83481#issuecomment-850449933:
                     ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════
                     The following assertion was thrown while routing a pointer event:
                     RenderBox was not laid out: RenderUiKitView#fe2b9 NEEDS-LAYOUT NEEDS-PAINT
                     'package:flutter/src/rendering/box.dart':
                     Failed assertion: line 1929 pos 12: 'hasSize'

                     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      RenderBox.size (package:flutter/src/rendering/box.dart:1929:12)
                     #3      RenderUiKitView._handleGlobalPointerEvent
(package:flutter/src/rendering/platform_view.dart:382:25)
                     #4      PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:94:12)
                     #5      PointerRouter._dispatchEventToRoutes.<anonymous closure>
(package:flutter/src/gestures/pointer_router.dart:139:9)
                     #6      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:397:8)
                     #7      PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:137:18)
                     #8      PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:129:5)
                     #9      GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:440:19)
                     #10     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:420:22)
                     #11     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:287:11)
                     #12     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
                     #13     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
                     #14     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
                     #15     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
                     #19     _invoke1 (dart:ui/hooks.dart:182:10)
                     #20     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
                     #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
                     (elided 5 frames from class _AssertionError and dart:async)

                     router: Instance of 'PointerRouter'
                     route: Closure: (PointerEvent) => void from Function '_handleGlobalPointerEvent@361508051':.
                     event: PointerDownEvent#e057e(position: Offset(162.3, 536.7))
                     ════════════════════════════════════════════════════════════════════════════════════════════════════

Your last comment is very illuminating, though -- the _Theatre is skipping the off-screen children, yet the RenderUiKitView is still listening to events even though they didn't get hit test to touch it. That's fascinating! Why is that object listening to all events like that?

@amirh introduced this change in this commit: https://github.com/flutter/flutter/commit/5099701f88f49ec12ebca676d8e61149917bde9c

@Hixie The RenderObject in question registers a global pointer route on attach:
https://github.com/flutter/flutter/blob/c99ed373b3d254f9b10789ddf3771c3aa39e48ca/packages/flutter/lib/src/rendering/platform_view.dart#L405
With that, it will get all pointer events even when it isn't layed out (as in the case where its OverlayEntry is covered by other opaque OverlayEntries).
So, one way to fix it would be to make the pointer route it registers aware that the object may not be layed out (or that the layout may even be outdated). Another way could be to refactor how the render object receives pointer events. Not sure how to do the latter, though, since it sounds like the object also needs to know about events that don't hit it to tell the native side to not handle those...

Yeah I guess I was just wrong about the fact that a render object existing means it gets laid out in that frame, given _Theatre's behaviour.
Just doing nothing if we haven't laid out isn't going to be enough because it's also possible that we have laid out, then went offstage, and our parent moved. This means would that our layout information is invalid (maybe wildly so, consider e.g. something being kept alive in a list that has scrolled by a million pixels since we were last laid out).

@Hixie keptalive child will be detached, and the renderUIKit will unregister itself from global pointer event, the Offstage one maybe tricky though, I wonder whether we can check whether we are off stage

is this issue actually fixed?
I get the same error with using the GoogleMap Widget, even though it's not rendered. It is indeed in one of my other routes and I can tell that this a bug using the GoogleMap Widget because when I remove it, everything works just fine.

Ah what I meant was the stack trace @TahaTesser posted in #83481 (comment):
                     ══╡ EXCEPTION CAUGHT BY GESTURE LIBRARY ╞═══════════════════════════════════════════════════════════
                     The following assertion was thrown while routing a pointer event:
                     RenderBox was not laid out: RenderUiKitView#fe2b9 NEEDS-LAYOUT NEEDS-PAINT
                     'package:flutter/src/rendering/box.dart':
                     Failed assertion: line 1929 pos 12: 'hasSize'

                     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      RenderBox.size (package:flutter/src/rendering/box.dart:1929:12)
                     #3      RenderUiKitView._handleGlobalPointerEvent (package:flutter/src/rendering/platform_view.dart:382:25)
                     #4      PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:94:12)
                     #5      PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:139:9)
                     #6      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:397:8)
                     #7      PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:137:18)
                     #8      PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:129:5)
                     #9      GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:440:19)
                     #10     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:420:22)
                     #11     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:287:11)
                     #12     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
                     #13     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
                     #14     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
                     #15     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
                     #19     _invoke1 (dart:ui/hooks.dart:182:10)
                     #20     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
                     #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
                     (elided 5 frames from class _AssertionError and dart:async)

                     router: Instance of 'PointerRouter'
                     route: Closure: (PointerEvent) => void from Function '_handleGlobalPointerEvent@361508051':.
                     event: PointerDownEvent#e057e(position: Offset(162.3, 536.7))
                     ════════════════════════════════════════════════════════════════════════════════════════════════════

Your last comment is very illuminating, though -- the _Theatre is skipping the off-screen children, yet the RenderUiKitView is still listening to events even though they didn't get hit test to touch it. That's fascinating! Why is that object listening to all events like that?

Can this, uhh, get addressed? I'm on 3.13.9.

Non-fatal Exception: FlutterError
Bad state: RenderBox was not laid out: RenderUiKitView#f24d4. Error thrown while routing a pointer event.

Non-fatal Exception: FlutterError
0  ???                            0x0 RenderBox.size + 1987 (box.dart:1987)
1  ???                            0x0 RenderUiKitView._handleGlobalPointerEvent + 389 (platform_view.dart:389)
2  ???                            0x0 PointerRouter._dispatch + 98 (pointer_router.dart:98)
3  ???                            0x0 PointerRouter._dispatchEventToRoutes.<fn> + 143 (pointer_router.dart:143)
4  ???                            0x0 _LinkedHashMapMixin.forEach (dart:collection)
5  ???                            0x0 PointerRouter._dispatchEventToRoutes + 141 (pointer_router.dart:141)
6  ???                            0x0 PointerRouter.route + 133 (pointer_router.dart:133)
7  ???                            0x0 GestureBinding.handleEvent + 488 (binding.dart:488)
8  ???                            0x0 GestureBinding.dispatchEvent + 468 (binding.dart:468)
9  ???                            0x0 RendererBinding.dispatchEvent + 333 (binding.dart:333)
10 ???                            0x0 GestureBinding._handlePointerEventImmediately + 413 (binding.dart:413)
11 ???                            0x0 GestureBinding.handlePointerEvent + 376 (binding.dart:376)
12 ???                            0x0 GestureBinding._flushPointerEventQueue + 323 (binding.dart:323)
13 ???                            0x0 GestureBinding._handlePointerDataPacket + 292 (binding.dart:292)

Reproduced the issue on the latest stable and master channel with a pure platform view example (without using webview_flutter plugin) at platform_route_138315.

Entire exception log
======== Exception caught by gesture library =======================================================
The following assertion was thrown while routing a pointer event:
RenderBox was not laid out: RenderUiKitView#5471d NEEDS-LAYOUT NEEDS-PAINT
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1972 pos 12: 'hasSize'

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.yml

When the exception was thrown, this was the stack:
#2      RenderBox.size (package:flutter/src/rendering/box.dart:1972:12)
#3      RenderDarwinPlatformView._handleGlobalPointerEvent (package:flutter/src/rendering/platform_view.dart:353:25)
#4      PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
#5      PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143:9)
#6      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
#7      PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
#8      PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:133:5)
#9      GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:488:19)
#10     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:468:22)
#11     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:430:11)
#12     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:413:7)
#13     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:376:5)
#14     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:323:7)
#15     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:292:9)
#16     _invoke1 (dart:ui/hooks.dart:328:13)
#17     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:409:7)
#18     _dispatchPointerDataPacket (dart:ui/hooks.dart:262:31)
(elided 2 frames from class _AssertionError)
====================================================================================================

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.16.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (8 hours ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe.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 17.0.6+0-17.0.6b829.9-10027231)

[!] Android Studio (version unknown)
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.8+0-17.0.8b1000.22-10799086)

[✓] Android Studio (version 2022.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 119.0.6045.123

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.17.0-15.0.pre.20, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.17.0-15.0.pre.20 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 4d75edb3c0 (5 hours ago), 2023-11-23 17:09:23 -0500
    • Engine revision 152790b581
    • Dart version 3.3.0 (build 3.3.0-152.0.dev)
    • DevTools version 2.30.0-dev.4
    • 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 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version unknown)
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.8+0-17.0.8b1000.22-10799086)

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe Patch 3.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 17.0.6+0-17.0.6b829.9-10027231)

[✓] Android Studio (version 2022.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 119.0.6045.159

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Hi there.
Are there any workarounds for this issue?

One workaround you can use is by using the visibility_detector package like below.
This hides the PlatformView while it is not visible which removes the error as described above.
This issue should be given more priority however. It has been 3 years since this issue was opened.

class NativeViewIOS extends StatefulWidget {
  const NativeViewIOS({Key? key}) : super(key: key);

  @override
  State<NativeViewIOS> createState() => _NativeViewIOSState();
}

class _NativeViewIOSState extends State<NativeViewIOS> {
  bool _isVisible = false;

  @override
  Widget build(BuildContext context) {
    return VisibilityDetector(
      onVisibilityChanged: (info) {
        if (!mounted) return;

        if (info.visibleFraction < 1 && _isVisible) {
          setState(() {
            _isVisible = false;
          });
        } else if (info.visibleFraction == 1 && !_isVisible) {
          setState(() {
            _isVisible = true;
          });
        }
      },
      key: Key(/* Insert name for the key here */),
      child: Visibility(
        visible: _isVisible,
        child: /* Platform view code here */,
      ),
    );
  }
}

Hi @danagbemava-nc ,
Your support in this issue is appreciated as it has been opened for 3 years already.

Hi @danagbemava-nc , @chunhtai ,
Any plans to resolve this issue soon?
Thanks.

Hi @chunhtai , @danagbemava-nc ,
Flutter released v.3.24.1, when can we expect a solution for this issue?

Can confirm having the same issue while using webview_flutter plugin.


Client Allocation Request for: Simba

Client Allocation Questions
Core Information

Name: Simba
Website / Social Media: Slack Xinan Xu
Region: North America
DataCap Requested: 5TiB
Addresses to be Notarized: f1wrzhpcsq4agpqugkjqiht7smjedgrzcsmi4iddq
Notary Requested: ann-shin

Hey, @xinaxu ,thanks for your request. Can you kindly add more information / context here on:

Are you representing an individual or a company？

If you are representing a company, Please answer the following questions: What are the establishment time, number of employees, business scope, number of registered users, number of social media followers, and storage usage of your company? e.g. include links to social media/news mentions etc.
If you are an individual, Please introduce yourself,e.g. include links to social media/news mentions, etc.

Your history working on IPFS / Filecoin, e.g. notable contributions to the community, type of engagement shown over time, etc.

Type, size, and source of the data you will be store on Filecoin,e.g. public data or private data, etc. Is there any sensitive content or illegal content?

How you intend to store the data on Filecoin, e.g. redundancy, location/miner preferences, etc

Have you already apply for DataCap to another notary, and has it been accepted or rejected.

Would you be OK in posting deal transactions on Github?

I am an individual
I am currently a software engineer. I used to be a researcher specialized in Physics. https://www.linkedin.com/in/xinan-xu-b868a326/
I have been an active slack member starting October, I've been developing filecoin related tools in my github repo and actively reporting bugs related to Filecoin/lotus. I am a participant of Slingshot 2.x and I am also a Filecoin storage provider (f064218).
I will be storing CCAFS Climate data http://www.ccafs-climate.org/, Data size is 6.9 TiB and most will be stored as compressed ASCII files. The data is licensed under Creative Commons Attribution 4.0 International License which in other words is free to share and redistribute in any format.
The data will be stored primarily with 5-10 storage provider located in North America(primarily) and Europe. I will reach out to miners via Slack and verify their identities and geolocations to make sure the data will be distributed evenly and fairly.
I have applied for DataCap with Filecoin Foundation. https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/112. The request has been approved. We need slightly more than granted amount to store the complete dataset.
Absolutely okay with posting transactions here.

Thank you for your application.Please apply after using the granted datacap( #112),We will decide whether to grant datacap according to your usage。


Fail to start VM when user is not valid Linux username

Hi,
My current username on my company's laptop is DOUGLAS.
At startup I have this log message:
local user "DOUGLAS" is not a valid Linux username (must match "^[a-z_][a-z0-9_-]*$"); using "lima" username instead
And then the startup script freezes in the ssh requirement step :
INFO[0026] SSH Local Port: 60022
INFO[0026] [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
INFO[0055] [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
INFO[0065] [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
INFO[0075] [hostagent] Waiting for the essential requirement 1 of 5: "ssh"

Looking at the /Users/DOUGLAS/.lima/default/serial.log file I can see this error log:
[   23.293950] cloud-init[1092]: + sudo -iu lima XDG_RUNTIME_DIR=/run/user/502 systemctl --user enable --now dbus
[   23.308990] cloud-init[1092]: sudo: unknown user: lima
[   23.310206] cloud-init[1092]: sudo: error initializing audit plugin sudoers_audit
[   23.311112] cloud-init[1092]: LIMA| WARNING: Failed to execute /mnt/lima-cidata/boot/40-install-containerd.sh
[   23.312583] cloud-init[1092]: LIMA| Exiting with code 1

Here is the serial.log.zip log file to help you with this issue.

I've just seen another error message higher in the log file:
[   10.971908] cloud-init[653]: 2021-11-10 20:08:02,846 - util.py[WARNING]: Failed to create user lima
[   10.978792] cloud-init[653]: 2021-11-10 20:08:02,853 - util.py[WARNING]: Running module users-groups (<module 'cloudinit.config.cc_users_groups' from '/usr/lib/python3/dist-packages
/cloudinit/config/cc_users_groups.py'>) failed

Though there are no reasons visible for this failure

What is your uid on the host?
$ id -u
501

Maybe the value is too large (may happen when the user is defined by directory services). Does the other user have a lower uid (e.g. because it is created locally)?

Here is the ids:
talend_comprod@FRL-FVFXQ0SUHV2J ~ % id -u
504

 DOUGLAS@FRL-FVFXQ0SUHV2J  ~ % id -u
502

I created manually the user talend_comprod

I can reproduce the issue. I have a work Mac with username "adrian.hesketh" with the same problem. However, lima works fine on my personal Mac where I use a Linux compatible username.

It looks like the user name is set in the script here:
https://github.com/lima-vm/lima/blob/9ca11fc62acd130ca060b603d341a3596c906929/pkg/cidata/cidata.go#L90
And it appears to be set correctly to "lima".
The User Data seems to use the correct SSH key setup.
https://github.com/lima-vm/lima/blob/9ca11fc62acd130ca060b603d341a3596c906929/pkg/cidata/cidata.TEMPLATE.d/user-data#L8


Upgrade Django to v5

Upgrade django dependency in the project from 2.x to 5.x
Subsequently upgrade the python version from 2.x to 3.x
Handle code changes caused by python migration
Updates specific to an imported library can be ignored, however python/django specific imports and syntax updates need to be handled

yes, i have updated it before or recently in one of my project explain a little bit more about it.

@iayushrana The current project is setup to use python 2.7 and Django 1.9.5
We need to upgrade django to the latest LTS supported version and the maximum supported python version for it
The requirement is only to update:

Requirements
Code relevant changes stemming from this upgrade
Package upgrades and their relevant changes are not expected from this upgrade, they will be handled via other tickets.

Let me know if you require any other information.
Please let us know if you will be picking this issue and we will assign it to you.

I want to work on it.

Hi @Pranav-1717
Sure, I am assigning this to you.
Please feel free to reach out if you have any questions or difficulties.


How to import glew

I am using anaconda on Mac, and have PyOpenGL installed. It works fine. Now I want to install glew. Even though the installation through conda install glew is successful, when I import glew, I receive error No module name 'glew'.

the glew package on Anaconda is the C package only, and it does not provide any python modules. To use it you need an external package such as GLEWpy that interfaces with the C libraries. It is not available on Anaconda (yet?), but you can install it with pip (from pypi):
pip install glewpy

When I try pip install glewpy, this pops up.
Could not find a version that satisfies the requirement glewpy (from versions: ) No matching distribution found for glewpy

I just tried the pip install command too and it fails with the same message. After having a look on https://pypi.python.org/pypi/glewpy, I found out that the record on pip does not contain any files anymore that could be downloaded. If you look on sourceforge (https://sourceforge.net/projects/glewpy/files/) you can see that the last update to glewpy was over 10 years ago, so I think that project can be considered dead.
I can't find any other information about python wrappers for GLEW, and I'm not sure if there are any. I'd recommend looking for another, better maintained, library which serves as a windowing toolkit for GL. Have you had a look at PyQt or PySDL2?


The amount of the data

Hi,
from your readme, the data is 600+ hours, but after I run the recipe, there are only 400h data for chain model training, so someone can give me some suggestions?
Thanks

Can you check if all the datasets (german tuda, SWC, m-ailabs data) are correctly downloaded an build?

Also, unfortunatly, the scripts will silently fail on tuda if lxml and bs4 is not installed. So be sure to do:
pip3 install beautifulsoup4 lxml
before you run the scripts.

complete training data should be about 1000h with newest scripts now


Create HistogramOption object to allow user to specify Histogram method via options

Wrote accompanying unit and integration tests

also, should we merge histograms with different methods?


S3 tar recieved

What
added a check for the decompressing the s3_tar file
added a check for a config file existing
added a check to confirm if the config file is valid
Can't run the pipeline yet
How to review
supply the tar file in the bucket  by start("tarfile_path")
then when the pipleline will be working that will run as well
Who can review
anyone

Had to do something very similar to check the IAC was hooking up correctly, have included here -  just follow this sort of pattern and continue with the extra bits that are on this task.
from dpytools.s3.basic import decompress_s3_tar
import os

from dpytools.stores.directory.local import LocalDirectoryStore

from dpypelines.pipeline.shared import notification as notify

def start(s3_object_name: str):
    """
    Handles the required behaviour when recieving a tar file indicated
    by an s3 object name.

    Example s3_object_name: my-bucket/my-data.tar
    """

    # Decompress the tar to ./inputs
    try:
        decompress_s3_tar(s3_object_name, "inputs")
    except Exception as err:
        notify.data_engineering("MESSAGE")
        raise err

    # Identify the child directory we've just decompressed to within /inputs
    try:
        directories = [d for d in os.listdir("inputs") if os.path.isdir(os.path.join("inputs", d))]
        assert len(directories) == 1, (
            "Aborting, input directory has more than one directory within it"
        )
        decompressed_directory = directories[0]
    except Exception as err:
        notify.data_engineering("MESSAGE")
        raise err

    # Create a local directory store using our new files
    try:
        store = LocalDirectoryStore(f"inputs/{decompressed_directory}")
    except Exception as err:
        notify.data_engineering("MESSAGE")
        raise err


numba list type undecided

I try to use list  to get results from numba jist function but I have below error.

 def Search(compare_desc , USER , _desc , _names): ### LIST
    tupZ = [['lucky', 18.265, 100, 0.1]]

    for x in range(_names.shape[0]):
        dist = np.sum(np.square(compare_desc - _desc[x]))

        if dist < 1.00:
            tmp_tup = [x, float(dist), x, sim]
            tupZ = tupZ.append(tmp_tup)
return tupz

it says :
Failed in nopython mode pipeline (step: nopython frontend)
Undecided type $84.9 :=
[1] During: resolving caller type: $84.9
[2] During: typing of call at /-RemoteCamMultidb.py (111)

            tupZ = tupZ.append(tmp_tup)
            ^
how can I use list and append new list in jit

Thanks for the report. Please could you provide more information about what caused this problem:

The code that you were running (as a minimal working reproducer, if you are unsure how to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).
Any data needed to run the code.
The full trace back of the exception.

Here's an example of something that might help...
from numba import njit
import numpy as np

@njit
def Search(compare_desc , USER , _desc , _names): ### LIST
    tupZ = [('lucky', 18.265, 100, 0.1)]

    for x in range(_names.shape[0]):
        dist = np.sum(np.square(compare_desc - _desc[x]))

        if dist < 1.00:
            a_string = 'somename'
            a_float = 1.23
            an_int = x
            small_float = 0.2
            tupZ.append((a_string, a_float, an_int, small_float))

    return tupZ

compare_desc = np.zeros(10,)
desc = np.zeros(10,)
names = np.zeros(10,)

res = Search(compare_desc, 'foo', desc, names)
print(res)

above example gave below error:
 raise RuntimeError("LLVM IR parsing error\n{0}".format(errmsg)) RuntimeError: Failed in nopython mode pipeline (step: nopython mode backend) LLVM IR parsing error <string>:199:110: error: invalid use of function-local name   %"extracted.f0" = extractvalue {{i8*, i64, i32, i8*, i8*}, double, i64, double} {{i8*, i64, i32, i8*, i8*} %".61", double 0x403243d70a3d70a4, i64 100, double 0x3fb999999999999a}, 0

Which version of Numba and llvmlite do you have? The above worked for me with conda packages of version 0.43 and 0.28 respectively.

0.42.0    0.27.0
I will update numba now.
and let you know...

your example worked perfectly.
but program gave error again which is none sense :(
Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of BoundFunction(list.append for list((unicode_type, float64, int64, float64))) with parameters (([unichr x 35], float32, int64, float32))

parameterized
[1] During: resolving callee type: BoundFunction(list.append for list((unicode_type, float64, int64, float64)))
[2] During: typing of call at /-RemoteCamMultidb.py (140)

File "_mqt_production-RemoteCamMultidb.py", line 140:
def SearchPeople_2(compare_desc, USER, people_desc, people_names):

small_float = sim
tupZ.append((a_string, a_float, an_int, small_float))

It's really hard to work out what the problem is without being able to see the code and input that produced it, please provide a working sample code that produces this error.
Without this, I'd guess that the problem is described here:
Invalid use of BoundFunction(list.append for list((unicode_type, float64, int64, float64))) with parameters (([unichr x 35], float32, int64, float32))

the code is doing a list.append with an argument of type ([unichr x 35], float32, int64, float32) but the list was originally used with a type (unicode_type, float64, int64, float64).

If you are new to Numba, perhaps take a look at the 5 minute guide first and/or click one of the Try Now buttons here http://numba.pydata.org/ to open up an interactive Numba demo in your browser, this one demonstrates the basics.

here the minimal example :
`from numba import njit
import numpy as np
import numba
import llvmlite

print(numba.__version__ , "  " , llvmlite.__version__)

@njit
def Search(compare_desc , USER , _desc , _names): ### LIST
    tupZ = [('lucşky', 18.265, 100, 0.1)]

    for x in range(_names.shape[0]):
        dist = np.sum(np.square(compare_desc - _desc[x]))

        if dist < 1.00:
            a_string = names[x]
            a_float = 1.23
            an_int = x
            small_float = 0.2
            tupZ.append((a_string, a_float, an_int, small_float))

    return tupZ

compare_desc = np.zeros(10,)
desc = np.zeros(10,)
#names = np.zeros(10,)
names = np.asarray(['testtste','julis' , 'mnerty' , 'tired' , 'really'])

res = Search(compare_desc, 'foo', desc, names)
print(res)`

Thanks. The issue is that storing the names as a NumPy array of strings and then accessing each element means each element of the array is considered as different length of unicode characters as a type, which is a) really hard to deal with and b) not compatible with the unicode_type 'lucsky' in the original list definition:
This works:
from numba import njit
import numpy as np
import numba
import llvmlite

print(numba.__version__ , "  " , llvmlite.__version__)

@njit
def Search(compare_desc , USER , _desc , _names): ### LIST
    tupZ = [('lucşky', 18.265, 100, 0.1)]

    for x in range(len(_names)): # switch this to use the tuple length
        dist = np.sum(np.square(compare_desc - _desc[x]))

        if dist < 1.00:
            a_string = names[x]
            a_float = 1.23
            an_int = x
            small_float = 0.2
            tupZ.append((a_string, a_float, an_int, small_float))

    return tupZ

compare_desc = np.zeros(10,)
desc = np.zeros(10,)
#names = np.zeros(10,)
names = ('testtste','julis' , 'mnerty' , 'tired' , 'really') # make this a tuple of unicode strings

res = Search(compare_desc, 'foo', desc, names)
print(res)

Assuming resolved. Closing.


Provide way to keep iframe hidden until ready

No reason this couldn't be done with props, if needed. So going to close this one out.


Include the asof parameter for historical stock data requests

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe.
The API references describe an asof parameter:
https://alpaca.markets/docs/api-references/market-data-api/stock-pricing-data/historical/
However, this is not included in the various requests StockBarsRequest, StockTradesRequest, StockQuotesRequest, etc. of alpaca-py.
The same goes for the currency parameter.
Describe the solution you'd like.
Implement the asof (and currency) parameters in StockBarsRequest, StockTradesRequest, StockQuotesRequest, etc.
Describe an alternate solution.
No response
Anything else? (Additional Context)
No response

This issue is resolved by https://github.com/alpacahq/alpaca-py/pull/477


Stage Size Detection When Nav Is Off

It'd be useful to be able to choose to have the stage resizing features of Nav (including leaving room for controls), but without giving the user the ability to pan/zoom. This would primarily be used in Live Schematics that are embedded in modules.

Not going to implement. Wait for LunchBox Maker (or whatever we end up calling it).


Defautl GUEST_MTU=1500 on Virtual Networks prevents correct deployments in Equinix BareMetal

Description
Default MTU=1500 prevents OneKE deployments in Equinix Baremetal to deploy correctly. The correct MTU size should be 1450.
To Reproduce

Provision an Edge Cluster in Equinix Baremetal
Deploy a kubernetes cluster using OneKE on the Equinix Baremetal
Deployment fails with workers/masters never joining the cluster and failures with oneflow service
Change GUEST_MTU=1450 on public/private network
OneKE deployment completes successfully

Expected behavior
OneKE appliance should deploy correctly in Equinix Baremetal instances
Details

Affected Component: one-provision
Hypervisor: KVM
Version: 6.10 and older

Progress Status

[ ] Code committed
[ ] Testing - QA
[ ] Documentation (Release notes - resolved issues, compatibility, known issues)

duplicates that one?


fix(offline-api): Change CT to content type in the error message

We have an erorr message cannot save CT sldihfsd because it does not exist which might be confusion a tiny bit for folks who does not know what CT stands for.

Summary

Description

Motivation and Context

Todos

[x] Implemented feature
[ ] Feature with pending implementation

Screenshots (if appropriate):

:tada: This PR is included in version 0.19.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: