[QUESTION] Python Wrapper

I'm currently using  subword-nmt to run BPE programmatically in Python. This implementation mostly match the fastBPE command line (applyBPE, etc.) like here
# fastBPE/fast applybpe ofn ifn bpe_codes bpe_vocab
bpe = BPE(bpe_codes, merges=-1, separator='@@', vocab=bpe_vocab, glossaries=None)
codes = bpe.process_line(line)

My question is if a swig wrapper of C++ headers to Python could make sense or not instead of using subword-nmt.
Thank you.

Fixed in https://github.com/glample/fastBPE/commit/8af0dae779f11d9385d021915dffa0b7d4303e63

See usage on the README :)

@glample that's amazing!!!

I get the following compilation error when running python setup.py install. This is on macOS, using anaconda3's python 3.7.2
running install
running bdist_egg
running egg_info
creating fastBPE.egg-info
writing fastBPE.egg-info/PKG-INFO
writing dependency_links to fastBPE.egg-info/dependency_links.txt
writing requirements to fastBPE.egg-info/requires.txt
writing top-level names to fastBPE.egg-info/top_level.txt
writing manifest file 'fastBPE.egg-info/SOURCES.txt'
package init file 'fastBPE/__init__.py' not found (or not a regular file)
reading manifest file 'fastBPE.egg-info/SOURCES.txt'
writing manifest file 'fastBPE.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.7-x86_64/egg
running install_lib
running build_py
running build_ext
building 'fastBPE' extension
creating build
creating build/temp.macosx-10.7-x86_64-3.7
creating build/temp.macosx-10.7-x86_64-3.7/fastBPE
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/john/anaconda3/include -I/Users/john/anaconda3/include -arch x86_64 -IfastBPE -I/Users/john/anaconda3/include/python3.7m -c fastBPE/fastBPE.cpp -o build/temp.macosx-10.7-x86_64-3.7/fastBPE/fastBPE.o -std=c++11 -Ofast -pthread
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
fastBPE/fastBPE.cpp:649:10: fatal error: 'ios' file not found
#include "ios"
         ^~~~~
1 warning and 1 error generated.
error: command 'gcc' failed with exit status 1

I get the following compilation error when running python setup.py install. This is on macOS, using anaconda3's python 3.7.2
running install
running bdist_egg
running egg_info
creating fastBPE.egg-info
writing fastBPE.egg-info/PKG-INFO
writing dependency_links to fastBPE.egg-info/dependency_links.txt
writing requirements to fastBPE.egg-info/requires.txt
writing top-level names to fastBPE.egg-info/top_level.txt
writing manifest file 'fastBPE.egg-info/SOURCES.txt'
package init file 'fastBPE/__init__.py' not found (or not a regular file)
reading manifest file 'fastBPE.egg-info/SOURCES.txt'
writing manifest file 'fastBPE.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.7-x86_64/egg
running install_lib
running build_py
running build_ext
building 'fastBPE' extension
creating build
creating build/temp.macosx-10.7-x86_64-3.7
creating build/temp.macosx-10.7-x86_64-3.7/fastBPE
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/john/anaconda3/include -I/Users/john/anaconda3/include -arch x86_64 -IfastBPE -I/Users/john/anaconda3/include/python3.7m -c fastBPE/fastBPE.cpp -o build/temp.macosx-10.7-x86_64-3.7/fastBPE/fastBPE.o -std=c++11 -Ofast -pthread
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
fastBPE/fastBPE.cpp:649:10: fatal error: 'ios' file not found
#include "ios"
         ^~~~~
1 warning and 1 error generated.
error: command 'gcc' failed with exit status 1

I have the same issue.
sys: anaconda3's python 3.7.3.

I have the above gcc issue as well.


Improving Runtime Error Messages for Operators

This is a change to provide additional context such as Node type and Node name to Status messages generated during validation checks in Operator implementations.
The change will add type and name to the error messages already provided in the code.

/AzurePipelines run

/AzurePipelines run

/AzurePipelines run

/AzurePipelines run

LGTM - but overall this seems to expose node name and node type when the status is getting created. Why not just ad op type here - https://github.com/Microsoft/onnxruntime/blob/0bf12e9dbf7d5ba434dcaa8254a9495b9d3d7bd7/onnxruntime/core/framework/sequential_executor.cc#L121 ?

@hariharans29
that's even a better suggestion. I might as well do that instead.
I'm going to close this PR, create a branch instead and resubmit subsequent to the inputs.


add basic user documentation on how to do a query

A user should be able to check out some basic instructions and screenshots to get a sense of:

what can this thing do?
how do I create and run a query?
where should I direct my feedback / questions?

This could live in our docs https://www.neurobagel.org/documentation/ or in a README

@rmanaem did we say that you are tackling this issue as part of the individual UI element issues in the milestone?

Yea, I think it's been amended to the #2 and as a sub-task to each issue in its task list


where is ./arxiv_ti_ab.json

how could you find it? Can you show me about that?

how could you find it? Can you show me about that?

hey, would you solve the problem?  Can you show me about that? please QAQ


I think U should be replaced with _XPLATSTR in the public headers

Thanks for reporting this.

Fixed in 9cd0db8ae2425b8c2ac377f3db3e5425458d5d0c


Add new matrics for labels/tags associated with issue/PR

When we respond to an issue or review a PR, we usually hope that the Issue/PR is clearly classified and described in detail. Many communities use labels/tags system for issue/PR classification. The labels/tags associated with an issue affect the developer's understanding of the Issues/PR and the time of feedback. So I think we can have some metrics for labels/tags

How many labels/tags are attached to the Issues/PR?

How many types of labels/tags are attached to the Issues/PR?

Meanwhile, the metric Time to First Response takes attention into consideration ( I don't know if attention means a comment to an issue/PR ). Sometimes, contributors who do not want to response in words, thay give labels to issue/PR to help others to solve the problem, I think that is also a way to make contribution.
I think Time to First Response can also take labels into account, so we can say:

how fast a label is attached to a Issues/PR

Thanks!

We have recorded this as an issue being considered. Good idea!!, @robekeane ! (Code Development Process Quality) https://docs.google.com/spreadsheets/d/1tAGzUiZ9jdORKCnoDQJkOU8tQsZDCZVjcWqXYOSAFmE/edit#gid=1004270137

Thanks, @sgoggins

Going to close this issue since this work is happening elsewhere.


Implemented Page.$ tests

closes #24

@kblok would it be ok to rename the method from GetElemntAsync to QuerySelectorAsync?

We have some real fails in AppVeyor @Meir017


Gem working without qt?

I just installed this gem on a new laptop and everything seems to be working fine without qt. I'm on Sierra 10.12.5. How is that even possible?
FYI, my driver is set to webkit:
Capybara.javascript_driver = :webkit

You must have Qt installed on your system somehow. What does qmake -v report?
The gem would not successfully install if Qt were not installed, as the gem must compile against the Qt libraries.

Oh you're right!
$ qmake -v
QMake version 3.0
Using Qt version 5.5.1 in<EMAIL_ADDRESS>
All this time I was checking with brew info qt. Of course it said the latest version was not installed.
Thanks a lot @mhoran!


Calling player.sendCustomCommand() from MainActivity doesn't work and gives the warning "Controller isn't allowed to call custom session command:COMMAND_NAME"

I am currently developping a music app using Media3. The app must be able to select the next song "on the fly" once the previous song has ended.
Since I needed the playback to continue in the background, I moved my entire implementation from MainActivity to MediaSessionService
I have successfully implemented two custom SessionCommand called "LIKE" and "DISLIKE" in MediaSessionService. I can see them in my notifications, and pressing them yields the desired result. So far, so good.
const val LIKE = "like"
const val DISLIKE = "dislike"

lateinit var player: ExoPlayer

class MusicPlayerService : MediaSessionService() {

    private inner class CustomMediaSessionCallback: MediaSession.Callback {
        // Configure commands available to the controller in onConnect()
        @OptIn(UnstableApi::class) override fun onConnect(
            session: MediaSession,
            controller: MediaSession.ControllerInfo
        ): MediaSession.ConnectionResult {
            val sessionCommands = MediaSession.ConnectionResult.DEFAULT_SESSION_COMMANDS.buildUpon()
                .add(SessionCommand(LIKE, Bundle.EMPTY))
                .add(SessionCommand(DISLIKE, Bundle.EMPTY))
                .build()
            return MediaSession.ConnectionResult.AcceptedResultBuilder(session)
                .setAvailableSessionCommands(sessionCommands)
                .build()
        }

        @OptIn(UnstableApi::class) override fun onCustomCommand(
            session: MediaSession,
            controller: MediaSession.ControllerInfo,
            customCommand: SessionCommand,
            args: Bundle
        ): ListenableFuture<SessionResult> {
            if (customCommand.customAction == LIKE) {
                // Custom logic

                return Futures.immediateFuture(
                    SessionResult(SessionResult.RESULT_SUCCESS)
                )
            }
            if (customCommand.customAction == DISLIKE) {
                // Custom logic

                return Futures.immediateFuture(
                    SessionResult(SessionResult.RESULT_SUCCESS)
                )
            }

            Log.e("CUSTOM COMMAND", "the specified custom command does not exist")
            return Futures.immediateFuture(
                SessionResult(SessionError.ERROR_BAD_VALUE)
            )
        }
    }

    private var mediaSession: MediaSession? = null

    @OptIn(UnstableApi::class)
    override fun onCreate() {
        super.onCreate()
        player = ExoPlayer.Builder(this).build()

        // Custom buttons layout
        val likeButton = CommandButton.Builder()
            .setDisplayName("Like")
            .setIconResId(R.drawable.thumb_up)
            .setSessionCommand(SessionCommand(LIKE, Bundle()))
            .build()
        val dislikeButton = CommandButton.Builder()
            .setDisplayName("Dislike")
            .setIconResId(R.drawable.thumb_down)
            .setSessionCommand(SessionCommand(DISLIKE, Bundle()))
            .build()

        mediaSession =
            MediaSession.Builder(this, player)
                .setCallback(CustomMediaSessionCallback())
                .setCustomLayout(ImmutableList.of(likeButton, dislikeButton))
                .build()

        // mediaSession = MediaSession.Builder(this, player).build()

        playNextSong()
    }

The problem is, how am I supposed to call them from the MainActivity ?
That is, until I found player.sendCustomCommand()
I still had two buttons (like and dislike) each with a Listener  from back when the entire implementation was in the MainActivity, so I tried doing it like this:
    val dislikeCommand = SessionCommand("DISLIKE", Bundle.EMPTY)
    val likeCommand = SessionCommand("LIKE", Bundle.EMPTY)

    lateinit var likeButton : Button
    lateinit var dislikeButton : Button

    var player: MediaController? = null

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        enableEdgeToEdge()
        setContentView(R.layout.activity_main)
        ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main)) { v, insets ->
            val systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars())
            v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom)
            insets
        }

        likeButton = findViewById<Button>(R.id.likeButton)
        dislikeButton = findViewById<Button>(R.id.dislikeButton)

        /* Creating session token (links our UI with service and starts it) */
        val sessionToken = SessionToken(applicationContext, ComponentName(applicationContext, MusicPlayerService::class.java))

        /* Instantiating our MediaController and linking it to the service using the session token */
        val mediacontrollerFuture = MediaController.Builder(applicationContext, sessionToken).buildAsync()

        mediacontrollerFuture.addListener({
            player = mediacontrollerFuture.get()
        }, ContextCompat.getMainExecutor(applicationContext) )

        likeButton.setOnClickListener {
            player?.sendCustomCommand(likeCommand, Bundle.EMPTY)
        }

        dislikeButton.setOnClickListener {
            player?.sendCustomCommand(dislikeCommand, Bundle.EMPTY)
        }
    }

    // Other lifecycle methods

}

But when I look and the logcat, pressing the button returns the following warning:
Controller isn't allowed to call custom session command:LIKE
(NOTE: the same applies for "DISLIKE")
Even calling a bogus custom SessionCommand yields the same warning message
After reading the documentation on custom commands, I still haven't found a way to call custom SessionCommands from the MainActivity. The Google search "media3" "sendCustomCommand" only returned 10 results. So I'm pretty sure that my whole approach is wrong.
Could anyone orient me in the right direction?
Thank you in advance !

const val LIKE = "like"
const val DISLIKE = "dislike"
[...]
                .add(SessionCommand(LIKE, Bundle.EMPTY))
                .add(SessionCommand(DISLIKE, Bundle.EMPTY))

val dislikeCommand = SessionCommand("DISLIKE", Bundle.EMPTY)
val likeCommand = SessionCommand("LIKE", Bundle.EMPTY)

Can you try with using the exact same command names including lower-case/upper-case being the same?

@marcbaechinger Wow... I am such a blind idiot... Why I even put quotation marks around LIKE and DISLIKE is beyond me...
 Oh, and sorry for wasting your time.

@marcbaechinger Wow... I am such a blind idiot... Why I even put quotation marks around LIKE and DISLIKE is beyond me...
 Oh, and sorry for wasting your time.


BandagedBD's injector (1.0.0)

Prompt me to update the injector and restart the app, and i still got prompt to update again . This can go on forever unless i ignore it but it is quite annoying

Try manually reinstalling using our new cross-platform installer: https://github.com/betterdiscord/installer

That helped me , Thank you.


commented on KSQL null unsupported printing for CDC topics

Dear Jiri,
a really simple NOTE but I consider it useful.

Closing this, as I've added a more general item on this to the FAQ. Thanks for your efforts, @desavera.


Importing data leads to error

Following the readme gives me the following error. Is this error caused by my castor structure?

It is hard to diagnose when not knowing what your study looks like, but it seems like in the row above:
    target_field = study.get_single_field(new_name[0]) # <-- Here
    # Check if we want to validate field exists for parent
    # This can be None for testing purposes
    if target == "Study":
        # Check for study
        if target_field.step.form.form_type != "Study":

Target field is not found, and then this function returns none.
Can you show me the column link file, and verify for me that every column name exists as a field in you study?

Thanks for the reply! In this case I tried to only upload the record ids.  It turned out the issue was using 'recordId' instead of 'record_id'. Currently however, I get the error in the output csv that the record does not exist in the study. Should I First upload them via the api in the image below (using free text participant id's)?

Yes, records first have to exist in the study. You can use the client to create the records.
If you have linked the study in the API you can use:
study.client.create_record(institute_id, email, record_id)
        """Creates a record. Record_id is only necessary when id generation
        strategy is set to free text. Ccr_patient_id is an optional parameter.
        Returns None when record creation failed."""

You can put in None for email if you don't want to add an email.
Record_id is only necessary if you have free text record_ids

Closing this now, let me know if you have any other question.


Error code 102

I get this error when I try to call another client
AgoraRtmChannel sendMessage failed errorCode: 102

Can you please share your code


The difference between the two control modes？

one is :
roslaunch open_manipulator_gazebo open_manipulator_gazebo.launch
roslaunch open_manipulator_controller open_manipulator_controller.launch
another is:
roslaunch open_manipulator_controllers joint_trajectory_controller.launch sim:=false
i find that these two modes to control manipulator is different, when i need use service(such as SetJointPosition) to control manipulator , only the first method could make the arm move.
i want to know why, and what the difference between these two methods.
thx～

Hi,
roslaunch open_manipulator_controller openc_manipulator_controller.launch command uses the ROBOTIS manipulator library that defines a custom service SetJointPosition in it while the other uses the position_controllers in the ros-controls package, therefore, the latter does not accept SetJointPosition service.

Closing this issue as there isn't any recent activity. Please feel free to reopen when necessary.


Error of activate the readable watcher for event extension

At application where there are a lot of async filesytem operations, also uses rabbitmq and postgres.  Sometimes I get the following error:  Warning: Event::__construct(): 2 bytes of buffered data lost during stream conversion!' at /var/www/vendor/amphp/amp/lib/Loop/EventDriver.php:245 and then application is crushed. Any idea with this error? Use v2.1.2.

I have no idea why that might happen. Could you report that as a bug to the event extension at https://bitbucket.org/osmanov/pecl-event?

@deadbeat88 created an issue here: https://bitbucket.org/osmanov/pecl-event/issues/56/bug-of-stream-conversion.
The warning occurs when Event::__construct tries to obtain numeric file descriptor from a PHP stream resource. I don't know how to handle this warning except using the PHP_STREAM_CAST_INTERNAL flag ("stream cast for internal use"). The flag even seems to be appropriate in our case :thinking:
It should be noted that the warning wouldn't appear in cases of using numeric file descriptor, or a socket resource instead of a PHP stream.

@rosmanov I guess it might be a TLS socket?
@deadbeat88 Could you check with stream_get_meta_data which kind of steam is responsible for that warning?

@kelunik could be just any stream resource (resource created with the sockets extension is a different thing)
@kelunik @deadbeat88  I've now added PHP_STREAM_CAST_INTERNAL flag in the master branch. Let's check if everything is okay. If it is, I'll publish a new PECL release.

Today after your comment about stream resource I narrowed down the search and found that the error occurs when using Amp\Process\Proccess:
$process = new Process($cmd);
yield $process->start();
/** @var string $content */
$content = yield buffer($process->getStdout());
/** @var int $code */
$code = yield $process->join();

for example for $cmd='cd "/tmp/i_48daffb4fba88a87d24d95adb2c583cd934dc775" && zip 48daffb4fba88a87d24d95adb2c583cd934dc775 receipts.xml'

@rosmanov fixed and released new version 2.5.3, bug fixed and issue can be closed.

Cool!


ipsec/vxlan: separate out the CNI service instead of sidekick services of ipsec/vxlan

Fixed with ipsec/vxlan 0.1.1 with rancher/net:v0.11.3


Add basic nix flake support

This adds support for the nix build system / package manager / OS.
The branch can be verified functional via installing nix profile install github:farcaller/tubekit.

Thanks!


"Generic Dilemma" - Is it true?  If truly yes, can Fortran go with "Slow Compilers"?

Design for a Generics facility in programming languages now appears to suffer from The Abundance Syndrome - The Problem of Plenty.  There is just too much information out there on both the "theory" and "practice" of generic programming, too many ways to go about it.
It also appears language designers have unconsciously, subconsciously, or consciously faced a dilemma: to go with language design decisions that lead to

Slow programmers AND/OR
Slow processors (compilers) AND/OR
Slow run-time behavior (poor program execution times)

I personally think Fortran is mostly in camp 1 of above choices, with some limited Generic facilities it teases programmers who then end up spending a lot of time trying to work their way around the gaps and limitations in the language.
But then Fortran also includes the unlimited polymorphic - CLASS() and TYPE() - which teases the programmers even further and should they pursue unlimited polymorphism in Fortran as a "poor coders'" substitute for their needs in Generics, the resultant code will also suffer at run-time with dynamic typing and dispatch.  This then falls under camp 3 also.
So, as a high level vision for any improved design Fortran pursues with Fortran 202Y and beyond, my recommendation will be to help the programmers first - for the practitioners of Fortran and their time are the most precious and valuable assets.  And run-time performance is the next aspect of most interest to Fortran, it has long been an important distinguishing characteristic, to write the least.
Thus any design of Generics in Fortran should keep this in mind and if need be, place the onus during the feature design on the processors i.e., place it under camp 2 above.

Interesting post.  I would add to you your list:   4. Slow emergence of support from vendors.     This one is probably somewhat unique to Fortran in that there are few vendors and all have very limited budgets for implementing new features.

Regarding slow compilers, I actually think if we go with the "strong concept" idea, as discussed at our last meeting:
https://fortran-lang.discourse.group/t/generics-proposal-for-202y-video-call/353/7?u=certik
it can be implemented in a way that compiles quickly, at least in Debug mode (e.g., by referring the resolution to runtime, thus being able to generate machine code right away for a generic subroutine). In Release mode one would do it at compile time, which would indeed be a bit slower, but hopefully not as slow as in C++ (which has "light concepts") because the compiler wouldn't need to examine the body of the generic subroutine every time; and in Release mode one applies all optimizations anyway (such as function inlining, which in some sense is very similar to generic programming).

I think one of the challenges that may affect vendor compilation speed is that of detecting related instantiations of the same template.     If the compiler inlines and compiles the template at each instantiation that can be wasteful and end up with a bloated executable.   My understanding is that, at least in the early days, some C++ implementations instead deferred the inlining until the link stage.   The result was fast compilation followed by incredibly long link times as the various instantiations were cross referenced using a presumably sub-optimal algorithm.   None of this should be inherently slow, but vendors will presumably focus on getting it "right" before the overly worry about going fast (both at compile time and at run time).

I will try to have a prototype compiler implementation of the generics, which would help answer many of these questions.

@certik wrote Oct. 23, 2020 11:06 AM EDT:

I will try to have a prototype compiler implementation of the generics, which would help answer many of these questions.

Having a prototype compiler implementation will be of tremendous help, in fact it will be invaluable.
With Fortran standard, I end up spending a lot of time reading current and older papers by J3 and listening in to discussions.  And I've been saddened to find a lot of good ideas and promising proposals that didn't get considered or pursued because they were viewed without actual evidence to be inefficient or too costly to implement.  On the other hand, there have been features that have moved forward with the presumption all the details have been worked out on paper but which have later discovered to have significant holes or issues following implementations of published standard e.g., FORALL with Fortran 95, finalization with Fortran 2003, and DO CONCURRENT with Fortran 2008.
Thus a prototype compiler implementation with Generics will be most welcome.

@tclune wrote Oct. 19, 2020 11:13 AM EDT:

.. I would add to you your list: 4. Slow emergence of support from vendors ..

Yes, but it's good to see some Fortran implementations really turn a corner in this regard e.g., Intel Fortran Beta of their latest oneAPI compiler toolset offers full Fortran 2018 support (though critical bugfixes in certain key areas are outstanding but I think that's a different matter).
My original post here is concerned more with design choices with the Generics feature: chances are the work, as it progresses on its way toward Fortran 202Y, will arrive at many a "fork in the road."   I hope the path taken on each or most of such options will be those that which help programmers without sacrificing run-time execution.
I'm encouraged by the promise of "strong concepts".

I think it is safe to say that if it sacrifices run-time performance the feature will not be accepted.    One of the main advantages of templates over run-time polymorphism should be to allow compilers to exploit type-specific issues during instantiation.


Merge tool (logviewer_indexer): stderr

Prerequisites
affected version:0.19.0
make sure to check this before filing an issue:

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed

Expected Behavior
stderr used only for posting errors (which should stop process and reject it)
Current Behavior
stderr has some environment / debug messages, like:
parsing: [32, 30, 33, 37, 37, 31, 30, 32, 02, 0A] => last row_nr: 20377102

Steps to Reproduce
Merge any few files. Posting to stderr happens at the end of operation

fixed with in 0.20.0


Document Zed Lake Service API

These docs now live at https://github.com/brimdata/zed/blob/main/docs/lake/service-api.md
Thanks @mattnibs!


compiling problems

Hello,
I am trying to compile your program on a PC with Ubuntu 20.04 and I am stumbling on the following errors :
berryshare-0.17.0/src/omx_sink.h:13:10: fatal error: ilclient.h: No such file or directory
   13 | #include "ilclient.h"
      |          ^~~~~~~~~~~~
berryshare-0.17.0/src/rtp_depacketizer.h:8:10: fatal error: rtp-packet.h: No such file or directory
    8 | #include <rtp-packet.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

Any idea where these files may be found ?

I understand why: ilclient.h is a Raspberry Pi specific (firmware) file... so it seems to be impossible to build this project on a normal PC... :-(


Update Dashboard APIs for Getting Dashboard by Business Application/Service

Adding Error handling for each API call
Updated CMDB repository to only pull correct Application/Service names

@tabladrum LGTM


importing mxnet causing subprocess to crash

may be related to #13831
Description
importing mxnet causes OSErrors in subprocess
Environment info (Required)
Scientific Linux 7.5
Python 3.6.3
MXnet 1.5.0 (from packages)
(tried on multiple computers running different cuda builds)
Error Message:
(Paste the complete error message, including stack trace.)
Minimum reproducible example
Using the following script (or just using the appropriate commands)
import mxnet
import subprocess
n = 0
while True:
    if not n%1000: print ("RUN", n)
    ret = subprocess.call(['ls', '/tmp'], stdout=subprocess.PIPE)
    n += 1

will eventually give this error message:
Traceback (most recent call last):
File "subcrash.py", line 13, in
ret = subprocess.call(['ls', '/'], stdout=subprocess.PIPE)
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/subprocess.py",
line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/subprocess.py",
line 709, in init
restore_signals, start_new_session)
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/subprocess.py",
line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 14] Bad address: 'ls'
Doesn't seem to matter which executable.
What have you tried to solve it?
Don't even know where to start.
If you try putting in a stack tract or pdb it won't break.

Hi all,
this bug keeps biting us. This is easily reproducible, meaning that it occurs randomly but with pretty high frequency, always within a few hundred attempts, but non deterministic.
The code I'm using (essentially the same as above):
import mxnet
import subprocess

for i in range(1000):
    if not i%100: print(i)
    try:
        ret = subprocess.call(["ls","/tmp"], stdout=subprocess.PIPE)
    except Exception as e:
        print(i, e)
        exit()

I managed to isolate some requirements to recreate a conda environment where this issue occurs.
This is obtained with conda + pip as follows (I have conda 4.7.12):
conda create -n mxnet-test --file env_conda.txt
conda activate mxnet-test
#make sure we're using the pip in the env
echo $(which pip)
pip install -r env_pip.txt

where the content of the files is:
env_conda.txt:
mkl=2019.0=118
numpy=1.16.4=py36h99e49ec_0
env_pip.txt:
mxnet-cu80mkl==1.5.0

and this is the result of conda list -e
# platform: linux-64
_libgcc_mutex=0.1=main
blas=1.0=openblas
ca-certificates=2019.5.15=1
certifi=2019.9.11=py36_0
chardet=3.0.4=pypi_0
idna=2.8=pypi_0
intel-openmp=2019.4=243
libedit=3.1.20181209=hc058e9b_0
libffi=3.2.1=hd88cf55_4
libgcc-ng=9.1.0=hdf63c60_0
libgfortran-ng=7.3.0=hdf63c60_0
libopenblas=0.3.6=h5a2b251_1
libstdcxx-ng=9.1.0=hdf63c60_0
mkl=2019.0=118
mxnet-cu80mkl=1.5.0=pypi_0
ncurses=6.1=he6710b0_1
numpy=1.16.4=py36h99e49ec_0
numpy-base=1.16.4=py36h2f8d375_0
openssl=1.1.1d=h7b6447c_1
pip=19.2.2=py36_0
python=3.6.9=h265db76_0
python-graphviz=0.8.4=pypi_0
readline=7.0=h7b6447c_5
requests=2.22.0=pypi_0
setuptools=41.0.1=py36_0
sqlite=3.29.0=h7b6447c_0
tk=8.6.8=hbc83047_0
urllib3=1.25.5=pypi_0
wheel=0.33.4=py36_0
xz=5.2.4=h14c3975_4
zlib=1.2.11=h7b6447c_3

Note : this is non-deterministic also at "build-time", in the sense that, creating environments with exactly the same requirements and exactly the same installed libraries, you can randomly end up with an environment where the issue does not occur.

This does seem related (or really, the same thing) as https://github.com/numpy/numpy/issues/10060
and https://github.com/apache/incubator-mxnet/issues/12710
Setting KMP_INIT_AT_FORK=FALSE does seem to fix the issue.
Not sure if something could be done by the libraries that use MKL to warn about this and how to prevent it.

@sbebo I take this issue as a defect of the openmp library and the library will be excluded in the next minor release.

@szha @eric-haibin-lin this bugreports describes the cause of the OSErrors that time-to-time happen on ci.mxnet.io (CI used by gluon-nlp.mxnet.io , gluon-cv.mxnet.io , ...)

Note that we didn't face the OSError related crashes anymore after upgrading to Ubuntu 18.04 (more specifically, using the following Docker container https://github.com/dmlc/gluon-nlp/blob/master/ci/batch/docker/Dockerfile )

Hi @leezu, is it possible for you to try export KMP_INIT_AT_FORK=false in your CI environment?

Note that we didn't face the OSError related crashes anymore after upgrading to Ubuntu 18.04 (more specifically, using the following Docker container https://github.com/dmlc/gluon-nlp/blob/master/ci/batch/docker/Dockerfile )

Oh, will try to move to Ubuntu 18.04 if possible.

@TaoLv the issue occurred only rarely (few times a month) for us and did not occur anymore during the recent months. What would be the expectation of setting export KMP_INIT_AT_FORK=false? Should it fix the issue or are you asking to confirm if setting the env variable reintroduces the problem?

The env variable fixed the problem reported in this issue. So if GluonNLP CI is facing the same issue, I think it can be fixed by this env variable too.

@leezu, the same issue and same fix as #14979. I'm closing this issue as:

libiomp5.so has been removed from the pip releases of MXNet;
The problem should have been fixed in a newer version of libiomp5.so.

Feel free to reopen if you have any question. Thanks!


[Frozen] Soups tweaks

About the PR

Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Added several soup recipes
add: Added soup flavors

add; -> add:

add; -> add:

Done

As per the others when they use cgraphs re-open.

@lapatison you didn't have to delete the branch since you could reopen this once the chef rework is in

@lapatison you didn't have to delete the branch since you could reopen this once the chef rework is in

Crap, I forgot that renaming branch deletes it.
Ill restore it back and will wait for cooking update

Under https://github.com/space-wizards/space-station-14/issues/8524
As food doesn't really have a purpose it's subject to removal at any time pending chef work.


Error installing kate

I get the following error when installing kate using home-brew:
% brew install kate
==> Installing kate from adymo/homebrew-kde
==> Installing dependencies for adymo/kde/kate: akonadi, libical, kdepimlibs, kactivities, kde-runtime
==> Installing adymo/kde/kate dependency: akonadi
==> Downloading http://download.kde.org/stable/akonadi/src/akonadi-1.13.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/akonadi-1.13.0.tar.bz2
==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/kde4 -Wdev --trace --debug-output -DKDE_DEFAULT_HOME=Library/Preferences/KDE -DCMAKE_PREFIX_PATH=/usr/local/C
==> make
[ 78%] Built target clientcapabilityaggregatortest
Linking CXX executable akdbustest
[ 78%] Built target akstandarddirstest
[ 78%] Built target akdbustest
make: *** [all] Error 2
When running brew doctor, I get the following:
Error: Failed to import: adymo/kde/base_kde_formula
formulae require at least a URL
Error: compile error
/usr/local/Library/Taps/adymo/homebrew-kde/calligra.rb:64: syntax error, unexpected tSTRING_BEG, expecting tAMPER
system "cmake", *cmake_args, "-DBUNDLE_INSTALL_DIR=."
^
/usr/local/Library/Taps/adymo/homebrew-kde/calligra.rb:72: syntax error, unexpected tSTRING_BEG, expecting tAMPER
"-DBUNDLE_INSTALL_DIR=#{bin}",
^
/usr/local/Library/Taps/adymo/homebrew-kde/calligra.rb:72: syntax error, unexpected ',', expecting kEND
Any help would be appreciated. Thank you.

Calligra is no longer part of this repo


Maybe don't auto-generate keys?

Given that

There is a command to create keys
There is a way to build without keys
Building with a freshly created set of keys is rarely what you want

I think it would be reasonable to not automatically generate keys. It mostly makes it easier to do 3 by accident, which is rarely what you want.

Brainstorming: perhaps we should flip the polarity and not sign by default, unless you explicitly say to do so.
Then we'd want a way to prevent people from forgetting, maybe we want a repo.toml in the root that specifies whether the repo is supposed to be secure or not. Then it's all very explicit.

perhaps we should flip the polarity and not sign by default, unless you explicitly say to do so.

I think this is a good idea. To be fair, I thought signatures were required when I first started working on this.

@michaelpj see https://github.com/andreabedini/foliage/pull/23


Review substitute function proposal noted in absil/ilreflect.fs

A comment in absil/ilreflect.fs suggests the replacement of the convTypeRefAux function with code proposed in the proceeding comment. See here: https://github.com/Microsoft/visualfsharp/blob/master/src/absil/ilreflect.fs#L339

I think we can close this - the code speaks for itself and something in the future may lead us to action this.  For now leave the code in place - remove the word REVIEW if you like. Thanks


I need to get frame from video file or rtsp.

I am a beginner of wpf, i am going to make the LPR project that process the frame from rtsp or video.
I already made the engine from image, but i stopped at get frame processing.
Can u send me the simple sample code that process the frame from rtsp or video ?
For example, convert the color frame to gray and display code.
I already look at the SetVideoCallbacks  function, but i can't know how should i use it.
Frame processing, is the main working for video processing, but there is no proper sample for this.
I really need ur helpness.
I will wait for ur reply.
Thanks.

Closing as duplicate of #522 and #507


nixos/nginx: use Mozilla Intermediate TLS configuration

Motivation for this change
The configuration at https://ssl-config.mozilla.org/#server=nginx&config=intermediate
is reliably kept up-to-date in terms of security and compatible with a
wide range of clients. They've probably had more care and thought put
into them than our defaults, and will be easier to keep updated in
the future.
The only removed (rather than changed) configuration option here is
ssl_ecdh_curve, per https://github.com/mozilla/server-side-tls/issues/189.
Resolves #80952.
cc @infinisil @fpletz
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test nginx

backport pr https://github.com/NixOS/nixpkgs/pull/81902

thanks, forgot about the backport!


[integration_test] flutter drive crash with error: Dart library 'dart:ui' is not available on this platform.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Run the command:
 flutter drive \
  --driver=test_driver/integration_test.dart \
  --target=integration_test/login_integration_test.dart

Expected results
Run the integration test and give a result.
Actual results
Crash with error:

log

../../flutter/packages/flutter/lib/semantics.dart:16:1: Error: Dart library 'dart:ui' is not available on this platform.
export 'dart:ui' show LocaleStringAttribute, SpellOutStringAttribute;
^
Context: The unavailable library 'dart:ui' is imported through these packages:
integration_test.dart => package:flutter_driver => package:flutter => dart:ui
...

Detailed import paths for (some of) the these imports:
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => package:flutter/src/foundation/memory_allocations.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => package:flutter/src/foundation/memory_allocations.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => package:flutter/src/foundation/memory_allocations.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/key.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/memory_allocations.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/memory_allocations.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/memory_allocations.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => package:flutter/src/foundation/debug.dart => dart:ui
integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => dart:ui
...

../../flutter/packages/flutter/lib/src/cupertino/bottom_tab_bar.dart:5:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show ImageFilter;
^
../../flutter/packages/flutter/lib/src/cupertino/colors.dart:5:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show Brightness, Color;
^
../../flutter/packages/flutter/lib/src/cupertino/context_menu.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' as ui;
^
../../flutter/packages/flutter/lib/src/cupertino/dialog.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show ImageFilter;
^
../../flutter/packages/flutter/lib/src/cupertino/nav_bar.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show ImageFilter;
^
../../flutter/packages/flutter/lib/src/cupertino/route.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show ImageFilter, lerpDouble;
^
../../flutter/packages/flutter/lib/src/cupertino/slider.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show lerpDouble;
^
../../flutter/packages/flutter/lib/src/cupertino/switch.dart:8:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show lerpDouble;
^

Code sample
Code sample
integration_test.dart:

import 'package:integration_test/integration_test_driver_extended.dart';

Future<void> main() async {
  await integrationDriver();
}

login_integration_test.dart:
void main() async {}

Screenshots or Video

Screenshots / Video demonstration
[No media]

Logs
All Logs

ovidiuusvat@Ovidius-MacBook-Pro POSeidon.MobileApp % flutter drive \
  --driver=test_driver/integration_test.dart \
  --target=integration_test/login_integration_test.dart

Resolving dependencies...
  _fe_analyzer_shared 61.0.0 (62.0.0 available)
  aad_oauth 0.4.1 (0.4.4 available)
  analyzer 5.13.0 (6.0.0 available)
  audioplayers 4.1.0 (5.0.0 available)
  audioplayers_android 3.0.2 (4.0.0 available)
  audioplayers_darwin 4.1.0 (5.0.0 available)
  audioplayers_linux 2.1.0 (3.0.0 available)
  audioplayers_platform_interface 5.0.1 (6.0.0 available)
  audioplayers_web 3.1.0 (4.0.0 available)
  audioplayers_windows 2.0.2 (3.0.0 available)
  auto_route 3.2.4 (7.7.1 available)
  chopper 6.1.4 (7.0.0 available)
  collection 1.17.1 (1.18.0 available)
  csslib 0.17.3 (1.0.0 available)
  device_info_plus 8.2.2 (9.0.2 available)
  dio 5.3.0 (5.3.1 available)
  file 6.1.4 (7.0.0 available)
  flutter_local_notifications 14.1.2 (15.1.0+1 available)
  flutter_secure_storage 6.1.0 (8.0.0 available)
  flutter_secure_storage_macos 1.1.2 (3.0.0 available)
  flutter_secure_storage_windows 1.1.3 (2.0.0 available)
  flutter_svg 1.1.6 (2.0.7 available)
  google_fonts 4.0.4 (5.1.0 available)
! http 1.1.0 (overridden)
  injectable 1.5.4 (2.1.2 available)
  injectable_generator 1.5.5 (2.1.6 available)
  intl 0.18.0 (0.18.1 available)
  matcher 0.12.15 (0.12.16 available)
  material_color_utilities 0.2.0 (0.8.0 available)
  mobile_scanner 2.1.0 (3.3.0 available)
  path_provider_platform_interface 2.0.6 (2.1.0 available)
  source_span 1.9.1 (1.10.0 available)
  stack_trace 1.11.0 (1.11.1 available)
  stream_channel 2.1.1 (2.1.2 available)
  test_api 0.5.1 (0.6.1 available)
  vm_service 11.3.0 (11.8.0 available)
  webview_flutter 3.0.4 (4.2.2 available)
  webview_flutter_android 2.10.4 (3.9.2 available)
  webview_flutter_platform_interface 1.9.5 (2.4.0 available)
  webview_flutter_wkwebview 2.9.5 (3.7.2 available)
  win32 4.1.4 (5.0.6 available)
Got dependencies!
Connected devices:
sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 13 (API 33) (emulator)
iPhone 14 Pro (mobile)      • 9446B5F2-647A-4762-8B92-711D83391FD5 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.4.1 22F82 darwin-arm64
Chrome (web)                • chrome                               • web-javascript • Google Chrome 109.0.5414.119

No wireless devices were found.

[1]: sdk gphone64 arm64 (emulator-5554)
[2]: iPhone 14 Pro (9446B5F2-647A-4762-8B92-711D83391FD5)
[3]: macOS (macos)
[4]: Chrome (chrome)
Please choose one (or "q" to quit): 1
Running Gradle task 'assembleDebug'...                              5.2s
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app-debug.apk...          823ms
I/.drmax.poseidon( 9152): Compiler allocated 4579KB to compile void android.view.ViewRootImpl.performTraversals()
../../flutter/packages/flutter/lib/semantics.dart:16:1: Error: Dart library 'dart:ui' is not available on this platform.
export 'dart:ui' show LocaleStringAttribute, SpellOutStringAttribute;
^
Context: The unavailable library 'dart:ui' is imported through these packages:

    integration_test.dart => package:flutter_driver => package:flutter => dart:ui
    ...

Detailed import paths for (some of) the these imports:

    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => package:flutter/src/foundation/memory_allocations.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => package:flutter/src/foundation/memory_allocations.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => package:flutter/src/foundation/memory_allocations.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/key.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/memory_allocations.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/memory_allocations.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/memory_allocations.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => package:flutter/src/foundation/debug.dart => dart:ui
    integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart => package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => dart:ui
    ...

../../flutter/packages/flutter/lib/src/cupertino/bottom_tab_bar.dart:5:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show ImageFilter;
       ^
../../flutter/packages/flutter/lib/src/cupertino/colors.dart:5:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show Brightness, Color;
       ^
../../flutter/packages/flutter/lib/src/cupertino/context_menu.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' as ui;
       ^
../../flutter/packages/flutter/lib/src/cupertino/dialog.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show ImageFilter;
       ^
../../flutter/packages/flutter/lib/src/cupertino/nav_bar.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show ImageFilter;
       ^
../../flutter/packages/flutter/lib/src/cupertino/route.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show ImageFilter, lerpDouble;
       ^
../../flutter/packages/flutter/lib/src/cupertino/slider.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show lerpDouble;
       ^
../../flutter/packages/flutter/lib/src/cupertino/switch.dart:8:8: Error: Dart library 'dart:ui' is not available on this platform.
import 'dart:ui' show lerpDouble;
       ^

Flutter Doctor output
Doctor output

[✓] Flutter (Channel stable, 3.10.6, on macOS 13.4.1 22F82 darwin-arm64, locale en-RO)
    • Flutter version 3.10.6 on channel stable at /Users/ovidiuusvat/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (3 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/ovidiuusvat/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • 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.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] 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.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)

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

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 13 (API 33) (emulator)
    • iPhone 14 Pro (mobile)      • 9446B5F2-647A-4762-8B92-711D83391FD5 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.4.1 22F82 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 109.0.5414.119

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

• No issues found!

[        ] Detailed import paths for (some of) the these imports:
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/assertions.dart =>
package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart => dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart =>
package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
[   +3 ms]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart =>
package:flutter/src/foundation/debug.dart => dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart => dart:ui
[   +6 ms]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart =>
package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart =>
package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
[   +2 ms]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart =>
package:flutter/src/foundation/memory_allocations.dart => dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart =>
package:flutter/src/foundation/memory_allocations.dart => package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart =>
dart:ui
[   +3 ms]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/change_notifier.dart =>
package:flutter/src/foundation/memory_allocations.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/debug.dart => dart:ui
[   +2 ms]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/diagnostics.dart =>
package:flutter/src/foundation/debug.dart => dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/key.dart =>
package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
[   +5 ms]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/memory_allocations.dart => dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/memory_allocations.dart =>
package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
[   +2 ms]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/foundation.dart => package:flutter/src/foundation/memory_allocations.dart =>
package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/assertions.dart =>
package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
[   +2 ms]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart =>
dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart =>
package:flutter/src/foundation/assertions.dart => package:flutter/src/foundation/diagnostics.dart => package:flutter/src/foundation/debug.dart => dart:ui
[   +1 ms]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart => package:flutter/src/foundation/binding.dart =>
package:flutter/src/foundation/debug.dart => dart:ui
[        ]     integration_test.dart => package:flutter_driver/driver_extension.dart => package:flutter_driver/src/common/handler_factory.dart => package:flutter/cupertino.dart =>
package:flutter/src/cupertino/activity_indicator.dart => package:flutter/widgets.dart => package:flutter/rendering.dart => package:flutter/foundation.dart =>
package:flutter/src/foundation/change_notifier.dart => dart:ui
[   +1 ms]     ...
[        ] ../../flutter/packages/flutter/lib/src/cupertino/bottom_tab_bar.dart:5:8: Error: Dart library 'dart:ui' is not available on this platform.
[        ] import 'dart:ui' show ImageFilter;
[        ]        ^
[        ] ../../flutter/packages/flutter/lib/src/cupertino/colors.dart:5:8: Error: Dart library 'dart:ui' is not available on this platform.
[        ] import 'dart:ui' show Brightness, Color;
[        ]        ^
[        ] ../../flutter/packages/flutter/lib/src/cupertino/context_menu.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
[        ] import 'dart:ui' as ui;
[        ]        ^
[        ] ../../flutter/packages/flutter/lib/src/cupertino/dialog.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
[   +1 ms] import 'dart:ui' show ImageFilter;
[        ]        ^
[        ] ../../flutter/packages/flutter/lib/src/cupertino/nav_bar.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
[        ] import 'dart:ui' show ImageFilter;
[        ]        ^
[        ] ../../flutter/packages/flutter/lib/src/cupertino/route.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
[        ] import 'dart:ui' show ImageFilter, lerpDouble;
[        ]        ^
[        ] ../../flutter/packages/flutter/lib/src/cupertino/slider.dart:6:8: Error: Dart library 'dart:ui' is not available on this platform.
[        ] import 'dart:ui' show lerpDouble;
[        ]        ^
[        ] ../../flutter/packages/flutter/lib/src/cupertino/switch.dart:8:8: Error: Dart library 'dart:ui' is not available on this platform.
[        ] import 'dart:ui' show lerpDouble;
[        ]        ^
[        ] Unregistering signal handlers...
[        ] executing: /Users/ovidiuusvat/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop ro.drmax.poseidon
[ +124 ms] executing: /Users/ovidiuusvat/Library/Android/sdk/platform-tools/adb -s emulator-5554 uninstall ro.drmax.poseidon
[ +134 ms] Success
[   +1 ms] "flutter drive" took 36,973ms.
[   +2 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      DriveCommand.runCommand (package:flutter_tools/src/commands/drive.dart:354:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1336:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:296:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:244:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:91:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>

[ +139 ms] ensureAnalyticsSent: 137ms
[        ] Running 0 shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

@ousvat
What platform are you trying to run ? Can you take a look at integration_test package example and run to see if you get same error or not ? And also to compare the config with yours.

@darshankawar I changed my test driver to look like this:

import 'package:flutter_driver/flutter_driver.dart';
import 'package:integration_test/integration_test_driver_extended.dart';

Future<void> main() async {
  final FlutterDriver driver = await FlutterDriver.connect();
  await integrationDriver(driver: driver);
}

But now I got another error:
error:

✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app-debug.apk...           4.4s
I/.drmax.poseidon(12892): Compiler allocated 4579KB to compile void android.view.ViewRootImpl.performTraversals()
VMServiceFlutterDriver: Connecting to Flutter application at http://<IP_ADDRESS>:58869/HjqqLpdWoM4=/
VMServiceFlutterDriver: Isolate found with number:<PHONE_NUMBER>914143
VMServiceFlutterDriver: Isolate is paused at start.
VMServiceFlutterDriver: Attempting to resume isolate
I/flutter (12892): [🌎 Easy Localization] [DEBUG] Localization initialized
D/FRCPlugin(12892): Sending fetchTimeout: 60
E/flutter (12892): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/foundation/binding.dart': Failed assertion: line 150 pos 12: '_debugInitializedType == null':
Binding is already initialized to WidgetsFlutterBinding
E/flutter (12892): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
E/flutter (12892): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
E/flutter (12892): #2      new BindingBase (package:flutter/src/foundation/binding.dart:150:12)
E/flutter (12892): #3      new _TestWidgetsFlutterBinding&BindingBase&SchedulerBinding (package:flutter_test/src/binding.dart)
E/flutter (12892): #4      new _TestWidgetsFlutterBinding&BindingBase&SchedulerBinding&ServicesBinding (package:flutter_test/src/binding.dart)
E/flutter (12892): #5      new _TestWidgetsFlutterBinding&BindingBase&SchedulerBinding&ServicesBinding&GestureBinding (package:flutter_test/src/binding.dart)
E/flutter (12892): #6      new _TestWidgetsFlutterBinding&BindingBase&SchedulerBinding&ServicesBinding&GestureBinding&SemanticsBinding (package:flutter_test/src/binding.dart)
E/flutter (12892): #7      new _TestWidgetsFlutterBinding&BindingBase&SchedulerBinding&ServicesBinding&GestureBinding&SemanticsBinding&RendererBinding (package:flutter_test/src/binding.dart)
E/flutter (12892): #8      new _TestWidgetsFlutterBinding&BindingBase&SchedulerBinding&ServicesBinding&GestureBinding&SemanticsBinding&RendererBinding&PaintingBinding (package:flutter_test/src/binding.dart)
E/flutter (12892): #9      new _TestWidgetsFlutterBinding&BindingBase&SchedulerBinding&ServicesBinding&GestureBinding&SemanticsBinding&RendererBinding&PaintingBinding&WidgetsBinding
(package:flutter_test/src/binding.dart)
E/flutter (12892): #10     new
_TestWidgetsFlutterBinding&BindingBase&SchedulerBinding&ServicesBinding&GestureBinding&SemanticsBinding&RendererBinding&PaintingBinding&WidgetsBinding&TestDefaultBinaryMessengerBinding
(package:flutter_test/src/binding.dart)
E/flutter (12892): #11     new TestWidgetsFlutterBinding (package:flutter_test/src/binding.dart)
E/flutter (12892): #12     new LiveTestWidgetsFlutterBinding (package:flutter_test/src/binding.dart)
E/flutter (12892): #13     new IntegrationTestWidgetsFlutterBinding (package:integration_test/integration_test.dart)
E/flutter (12892): #14     IntegrationTestWidgetsFlutterBinding.ensureInitialized (package:integration_test/integration_test.dart:159:7)
E/flutter (12892): #15     mainTest (file:///Users/ovidiuusvat/development/projects/POSeidon.MobileApp/features/reception_of_goods/integration_test/foo_test.dart:6:56)
E/flutter (12892): #16     main (file:///Users/ovidiuusvat/development/projects/POSeidon.MobileApp/integration_test/login_integration_test.dart:40:3)
E/flutter (12892): <asynchronous suspension>
E/flutter (12892):
VMServiceFlutterDriver: Flutter Driver extension is taking a long time to become available. Ensure your test app (often "lib/main.dart") imports "package:flutter_driver/driver_extension.dart" and calls enableFlutterDriverExtension() as the first call in main().
D/TransportRuntime.CctTransportBackend(12892): Making request to: https://firebaselogging.googleapis.com/v0cc/log/batch?format=json_proto3
D/TrafficStats(12892): tagSocket(5) with statsTag=0xffffffff, statsUid=-1
I/TransportRuntime.CctTransportBackend(12892): Status Code: 200
I/TransportRuntime.CctTransportBackend(12892): Content-Type: application/json; charset=UTF-8
I/TransportRuntime.CctTransportBackend(12892): Content-Encoding: gzip
I/Choreographer(12892): Skipped 33 frames!  The application may be doing too much work on its main thread.

I am running the test on an Android emulator

Hi @ousvat
I tried checking integration_test package example and see it works without issue. Can you also try running it and confirm?
If the issue is only reproduced with your project, can you please provide a completed and minimal reproducible code sample that doesn’t include 3rd party plugins or complex production code so that we may verify this?

@huycozy I tried the example and is working. I just needed to add  final FlutterDriver driver = await FlutterDriver.connect(); to the driver file.
I think it would be great if you add these details to the integration_test documentation.

Thanks for your response.
Actually, you should use integration_test package to run integration tests, please see the migration guide here: https://docs.flutter.dev/release/breaking-changes/flutter-driver-migration.
Regarding the issue, is the issue solved after your add above line of code (final FlutterDriver driver = await FlutterDriver.connect())? If it's solved, feel free to close this. Otherwise, please provide a complete sample code as mentioned above (as I can see from the stack trace above, it looks like you were running the test on a complex project which may contain 3rd packages, easy_localization for eg)

@huycozy I use driver only for saving the screenshots. Is there another way of doing this?
That line of code solves my issue. But I am keeping the issue open to ask you to update the documentation on the integration_test package in the screenshot saving section.

I use driver only for saving the screenshots. Is there another way of doing this?

Looks like it's not supported yet, please see: https://github.com/flutter/flutter/issues/51890

That line of code solves my issue. But I am keeping the issue open to ask you to update the documentation on the integration_test package in the screenshot saving section.

Glad to know it's solved. For the documentation issue, I would recommend you file a separate issue as a proposal for better tracking there. Please help to file a new issue for this. When you open the issue, please clarify where/what should it be updated.
I will close this issue as solved. Thank you!


I found that putting the attributes of the HTML element in the wrong says "invalid syntax"

Challenge Add Placeholder Text to a Text Field has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
<link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

<input placeholder="cat photo URL" type="text">

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

The main problem is this:
this does not work:
<input placeholder="cat photo URL" type="text">

this does:
<input type="text" placeholder="cat photo URL">

Both are perfectly valid html form what I understand.
Also I find it interesting that there's no talk of putting a " />" at the end.

Looks like this regex is too particular about attribute order!

If you tell me where the code is I could probably easily fix it.

Sorry didn't mean to close it

@justgage The code's in freecodecamp\seed\challenges\01-front-end-development-certification\html5-and-css.json on line 1867.

you have to first show the input type and then the placeholder for the image .. the first syntax which you wrote is wrong  while the second one is right .Therefore the second one works slowly you will learn more :)

Also I find it interesting that there's no talk of putting a " />" at the end.

The <input> is an void tag. It doesn't require an end tag.

@jmmarco thanks for the reference. I learned something.

Would changing the regular expression from
/URL\\s*[\"\\']\\s*\\/?>/gi
to
/\\s*[\"\\']\\s*\\/?>/gi
be a valid fix?  Or is this too lenient?

@justgage are you still working on a fix for this?  If not, I can put a fix in.

@paycoguy go ahead, I've been busy with school as of late


Surat Al-Mu'minūn Ayah 28

And when you have boarded the ship, you and those with you, then say, 'Praise to Allah who has saved us FORM the wrongdoing people.'
I think the "form" is suppose to be "from". Allah swt knows best

I think also it is suppose to be "from". But Allah swt knows best.

also fixed in revision 3 of sahih international, we should fix this.

@ahmedre where can we get the revision 3?


Chunk.hasRuntime throwing error

Do you want to request a feature or report a bug?
Yes.

What is the current behavior?
I wrote a plugin that work is just collect chunk info. So I decide to separate chunks and root chunks by chunk.hasRuntime method. But when I call that, that's throwing an error. The error is Cannot read property 'entrypoints' of undefined
Here are my plugins,
class getChunkDetails{
   apply(compiler){
      compiler.plugin('compilation', (compilation)=>{
           let chunkInfo = {};
           let rootChunkInfo = {};
           compilation.plugin('chunk-asset', (chunk, name)=>{
                let { hasRuntime, id } = chunk;
                if (!hasRuntime()){
                      chunkInfo[id] = name;
                }else{
                      rootChunkInfo[id] = name;
                }
           })
      })
   }
}

let { a } = b;
a();

is not the same as
b.a();

If you don't know why, read it up in a javascript book.

I understood. It's a context problem. Thanks!


Train data?

Hi man,what is the train data, only VoxCeleb2 or  VoxCeleb1+VoxCeleb2 ?

when train only in Vox2


Validate table

If a table already exists, it might be missing columns or have extra columns. The table should be validated and corrected for this.

Corrected is maybe a strong word. I don't think its for vardogr to change table structures of existing tables. Instead we should be able to work around it.
For example: Model has 3 columns (id, value1, value2). Target has 2 columns (id, value1). Should not crash on this and only enter the id + value1. Maybe with a WARN message.


Auto-run is now disabled by default, and missing entirely?

This is one of the main reasons I prefer JSBin and Codepen over JSFiddle. Is there some setting I'm missing, and a way to make the UI more clear if it is? Thank you.

I've not changed the UI. What do you see?
This is what I see:

I see the difference now. If I hide the output panel, I lose auto-run. Is that by design? I found it frustrating for one. Thank you.

It's very much by design, otherwise the console becomes unusable and littered with output.

It might be nice to add some kind of clue. Perhaps a tooltip-like suggestion on hover of the 'run' button, or at the bottom of the console pane. Thanks for considering, and assisting.


New decorators for dialog.

@volkanceylan I have added some new decorators for dialog to hide buttons.
HideDelete, HideSave, etc.

Hi @Estrusco
Thank you for the patch.
Can i use this decorator with my existing project as a patch?

Hi @ms4hafiz
You can, but you have to copy Serenity.CoreLib.d.ts in your Scripts\typings\serenity\  and  Serenity.CoreLib.js in your Scripts\serenity dir. Also you have to minimize Serenity.CoreLib.js and copy the Serenity.CoreLib.min.js in Scripts\serenity dir.
If you can, I suggest you to wait taht Volkan checks this and than merge it in serenity.

Thanks @Estrusco , but couldn't it be easier to override updateInterface:
updateInterface() {
    super.updateInterface();
    this.deleteButton.hide();
}

I think such attributes use cases are limited and would increase size of CoreLib.js folder, while i'm trying to make it smaller.

In my personal case there are several table that are not deletable or insertable by the user.
But for me I have created a base class to manage these dialogs.
I create these decorators mainly becouse there are many users who open issues related to buttons, and I think that decorators are more friendly for beginner users.
Anyhow I'm according with you that the size of CoreLib must be smaller possible.
Then if you think all this is not necessary, I can close this request.
Wait for you response master ;)

Hi @Estrusco  and @volkanceylan
I find this a very good improvement and it really would not take too much space within CoreLib - and would enforce your declarative programming style, Volkan:-)
With Kind regards,
John

Thanks for all suggestions but for now i think we should close this, i may later think about a different solution. A wiki entry about hiding buttons should be nice and useful for now.


Bug: Line breaks between lists and horizontal rules are removed when "Remove empty lines between list markers and checklists" is enabled

Describe the Bug
Line breaks between lists and horizontal rules are removed when "Remove empty lines between list markers and checklists" is enabled, if the same character is used for the list item and for the horizontal rule.
How to Reproduce
Given I have "Remove empty lines between list markers and checklists" enabled, and I have Markdown like:
---

- Some list item 1
- Some list item 2

---

Some text

When I trigger the linter by saving the file
Then the content is linted like this (notice the line breaks removed between the list and the horizontal rules):
---
- Some list item 1
- Some list item 2
---

Some text

Expected Behavior
Given the above example, I would have expected the linter to make no changes.
Screenshots
N/A
Device

[x] Desktop
[ ] Mobile

Additional Context
This can be avoided by ensuring that the punctuation used for adjacent lists and rules is different (e.g. *** and -, or --- and *). But it forces you to change the way you write your Markdown, so it's not an ideal workaround.

Thanks for reporting this issue, @todd-pd . I will see what is going on. It is likely a regex check gone awry.

I will go ahead and ignore hr's/thematic breaks for this to fix the issue.

@todd-pd , are you using the example at the start of the file? If so, it might have the yaml affecting it. Otherwise, I agree that it is the rule you mentioned.

@pjkaufman No, the example is slightly misleading in that way. There's more plain text above the first horizontal rule. No YAML.

Gotcha. This should be fixed now on master. If the issue is still present there or in the next release, please feel free to let us know and reopen this issue.

Nice, thanks for the quick turnaround!

No problem. It was a simple fix.


spruce up ui, minor formatting

open to change anything. i was originally going to just swap out the google play badge with a newer one but i figured i might as well do this.

Thanks for cleaning up this page!
By removing the app and play store badges it also removes attention to the most prominent action (I think) we want to show. It would be better to upgrade them with the newer ones. Can we check if a user is viewing this page via our app? In that case we can drop these badges.
You have to click the icon button to open the link? Some of the icons need a label for users to understand what it mean, for example discord. Maybe is a list a better option. In the current design and on our settings tip we also call it chat, instead of Discord.

by list, do you mean i should make it so each link is on its own row?

the authentication page is shown because the authentication page is not ready yet.

did you mean to say "the onboarding page is shown"?

the authentication page is shown because the authentication page is not ready yet.

did you mean to say "the onboarding page is shown"?

Whoops, yes. Had a chat and looks like it's difficult to know if a user is viewing this page via our app? So skip this for now.

@matthiasdebaat i went ahead and updated it to use the list style. i also changed the style a bit and removed some unused css while i was at it. it looks like this now:

Nice!
In English the title fits perfectly, what does it look like for other languages with more characters? Can you add chevrons to the list items?

chevrons added :+1:


chart: Update to Weblate 4.11.2

Proposed changes
Upgrade the Chart to provide Weblate 4.11.2.
Checklist

[ ] Lint and unit tests pass locally with my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added documentation to describe my feature.
[ ] I have squashed my commits into logic units.
[ ] I have described the changes in the commit messages.

Other information

Merged, thanks for your contribution!