Add support for wheels to setuptools easy_install....

Originally reported by: pombredanne (Bitbucket: pombredanne, GitHub: pombredanne)

what would it take? This could help enable wheels in buildout too BTW
https://github.com/buildout/buildout/issues/144
What I mean by this is to be able to install wheels like we can install eggs (wheel adds bdist_wheel to setuptools already)

Bitbucket: https://bitbucket.org/pypa/setuptools/issue/78

In a recent thread [1] on distutils-sig, this has come up again, but in the context of buildout missing support for wheels.
[1] Huge multi-branching thread, really. See threads about "Deprecating file extensions", "Future of buildout" and "What roles eggs still play^
From what I can see, the following changes are needed:
In setuptools/package_index.py consider wheels for download, the same way .exe files are considered for download.
In setuptools/command/easy_install.py, treat wheel files the same way .exe files are treated, by converting them to unzipped eggs, including mapping wheel_name-1.0.data/platlib and wheel_name-1.0.data/purelib files as needing to be mapped to the root of the wheel.

I'm not even sure they need to be treated as zip-unsafe eggs. My understanding is that wheel files are meant to be a suitable replacement for eggs, allowing them to be added to sys.path through the same easy-install.pth mechanism and also readily deleted for uninstall.
Regardless, I welcome a PR to address this issue. It would ease the disparity between the two installers.

In the threads I mentioned above, the "powers that be" were very insistent that wheels are not a full replacement of eggs, just of the installation aspect of eggs.
Many wheels can be added still zipped to the PYTHONPATH and their code will be available to Python (but not all, se below), but I'm not sure if pkg_resources would be able to read their metadata in this format.
However, a careful reading of the wheel spec shows that wheels that contain a directory like wheel_name-1.0.data/platlib or wheel_name-1.0.data/purelib are explicitly incompatible with being added to the PYTHONPATH, zipped or not. They would need to be unpacked and theses subdirectories moved to the root of the unpacking directory before this directory could be added to the PYTHONPATH.
At this point, the resulting directory looks pretty much like an unzipped egg, except for the wheel_name-1.0.dist-info directory instead of EGG-INFO, but it looks like pkg_resources can already handle this format of metadata as well.
Anyway, by following the way .exe files (created by bdist_wininst) are handled by easy_install and package_index, (including the directory mapping done by get_exe_prefixes() to handle purelib and platlib directories) one should be able to come up with a PR that will enable setuptools to handle wheel files that will benefit all users of setuptools.
Unfortunately, for the moment I'm out of round 'tuits to implement this PR myself.

In the buildout issue mentioned just above, @dholth had this to say about adding wheel installation support to setuptools:

It should be easy to add wheel install support to setuptools or easy_install or whatever buildout may need. pkg_resources was the first tool to support dist-info directories, and once they are unpacked they look exactly like eggs in your pkg_resources.working_set. There's code from the wheel install command that could be called and is fairly setuptools-onic. Use wheel.install.WheelFile() instances which are sortable by how desirable the particular wheel is, this works with only the filename. Grab WheelFile.install_paths(), change them all to point to the single directory in which it should be installed egg-style, pass to WheelFile.install(overrides={...}), then generate console scripts as usual.

I guess this would mean vendoring wheel just, like packaging.

The only part that might need a little love is wheel.pep425tags which generates a slightly different list of supported tags than pip.pep425tags, mainly pip supports more OSX tags. They should probably just be kept identical.

The pep425tags part should probably be treated by packaging somehow, so that both pip and setuptools (and wheel?) treat the compatibility tags the same. Currently in setuptools, the compatibility tags are handled by pkg_resources.Environment.can_add() AFAICT, and for the purposes of supporting wheel, and treating it as just as downloadable as any other distribution, we might not need to change anything, though we might want to defer to an official pep425tags implementation in the future.
As for vendoring wheel, we need to weight the cost of that versus the benefit of using it for just copying some files around (and the cost of duplicating this code into another, potentially different, implementation).

Or you could install wheel when you need to install wheels, just like pip installs wheel when it needs to build them. Wheel is probably already installed.

Historically, setuptools has been self-sufficient in the formats it knows how to install, this is to allow other systems (e.g. buildout) to easily bootstrap themselves by depending on setuptools only.
This means that, although you can easily add other build formats, like bdist_egg, by adding an entry point, setuptools currently doesn't have an entry point for installing different binary formats.
Still, if one is feeling adventurous, one could create such entry point configurability for installation formats on setuptools and take the opportunity to spin off the installation of bdist_wininst (and perhaps the building of bdist_wininst as well) into another package that we could put to pasture.

FYI, we've made some progress on this on the buildout side.
For now, this uses an extension:
https://github.com/buildout/wheel/blob/master/src/buildout/wheel/__init__.py
That monkey patches setuptools to:

treat .whl as a source extension and

augments interpret_distro_name to parse the project/version correctly.

When buildout sees a .whl distro, it converts it to an egg and the installs that.
The egg conversion currently uses humpty, which uses distlib, which seems heavy and buggy.  I'd like us to get rid of those dependencies, if practical.
At a minimum, we'll probably want to make a PR to optionally have setuptools treat wheels as source releases, to avoid monkey patching, although ideally we'd provide a PR to provide wheel support proper.

This is supported starting with 38.2.0.


Hi uhhh

Can you add uuuhhh 489/982 (82878*94) please

you try and edit this behemoth of a document, my laptop sounds like a microwave right now

Should be addressed by #2


Fix memory / PID leak when page navigation is timed out

The opened page isn't being closed in case of timeout error, causing it to remain open forever. This was causing heavy memory leaks when requests frequently timed out, killing my bot.
docker stats after 24 hours of uptime

This patch is a simple fix by just wrapping the function in a try {} finally {}

Thanks!


add wine download path

just add wine download path , because when I use homebrew they tell me download form this webside.

What exactly is the message when you use homebrew? Because I don't want to link to a specific Wine version announcement unless it's necessary.


[Bug] Bug title logback.xml Incorrect configuration

Before Creating the Bug Report

[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

[X] I have searched the GitHub Issues and GitHub Discussions  of this repository and believe that this is not a duplicate.

[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment
ubutun 20
RocketMQ version
dev
JDK Version
openjdk 17
Describe the Bug
this file  example/src/main/resources/logback.xml config the log file path is error.
line 23 and line 26.
like this:

        <file>/Users/xiweng.yy/logs/nacos/perf.log</file>

        <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
            <fileNamePattern>/Users/xiweng.yy/logs/nacos/perf.log.%i</fileNamePattern>
            <maxIndex>${JM.LOG.RETAIN.COUNT:-7}</maxIndex>
        </rollingPolicy>

i think should use
        <file>${user.home}/logs/nacos/perf.log</file>

        <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
            <fileNamePattern>${user.home}/logs/nacos/perf.log.%i</fileNamePattern>
            <maxIndex>${JM.LOG.RETAIN.COUNT:-7}</maxIndex>
        </rollingPolicy>

Steps to Reproduce
run com.alibaba.nacos.example.App#main
What Did You Expect to See?
modify the log file 's path.
What Did You See Instead?
use ${user.home} or another.
Additional Context
No response

I'd like to check this out

it seems there is not config file in example path


Error in sys.excepthook

Not sure what is the issue
(mimictalk) C:\ai\MimicTalk>python inference/app_mimictalk.py
args.a2m_ckpt checkpoints/240112_icl_audio2secc_vox2_cmlr
args.head_ckpt
args.torso_ckpt checkpoints_mimictalk/German_20s/model_ckpt_steps_10000.ckpt
1
| WARN: checkpoints\240112_icl_audio2secc_vox2_cmlr\audio2secc_vae.yaml not exist.
| load 'model' from 'checkpoints/240112_icl_audio2secc_vox2_cmlr\model_ckpt_steps_1856000.ckpt', strict=True
| WARN: checkpoints_mimictalk\German_20s\secc_img2plane.yaml not exist.
Error in sys.excepthook:

Original exception was:

Even the command line is not working. Error handling is bad in code, no clear information what is wrong.
(mimictalk) C:\ai\MimicTalk>python inference/train_mimictalk_on_a_video.py
copy "checkpoints/mimictalk_orig/os_secc2plane_torso\config.yaml" "checkpoints_mimictalk/GER"
        1 file(s) copied.
| WARN: checkpoints\mimictalk_orig\os_secc2plane_torso\secc_img2plane.yaml not exist.

you  need config.yaml  file ,the info   warning ,Check the file or download it again

Config.yaml is already there

This file is missing
secc_img2plane.yaml
https://drive.google.com/drive/folders/1KM0GubbN0B6l3CCAL31341TYaFmJCXAx

I've learned the hard way.
in short, what you need to do:

for the complaining missing yml files, go into that folder , copy config.yml and name it the same as the file that's been missing
there is a entire model missing, resnet34-333f7ec4.pth
that file could be downloaded from example here https://github.com/fregu856/deeplabv3/tree/master/pretrained_models/resnet/    .   and NOTE: this file needs to be placed in your  user home (eg /home/youruser or c:\users\youruser in a folder called .cache\torch\hub\checkpoints

and off you go:

@ultrafunkamsterdam
Appreciate your response. I gave up on this but with your  help the gradio Ui is running.
However still getting error
| python data_gen/utils/process_video/extract_segment_imgs.py --ds_name=nerf --vid_dir=data/raw/videos/German_20s.mp4
todo videos number: 1
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1730815048.379380    2164 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.
| Extracting Segmaps && Saving...
<class 'OSError'> [WinError 6] The handle is invalid
| Head images Extracted!
create rasterizer on device cuda:0
Training ERROR: 'NoneType' object is not subscriptable

@ultrafunkamsterdam
Appreciate your response. I gave up on this but with your help the gradio Ui is running.
However still getting error
| python data_gen/utils/process_video/extract_segment_imgs.py --ds_name=nerf --vid_dir=data/raw/videos/German_20s.mp4
todo videos number: 1
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1730815048.379380    2164 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.
| Extracting Segmaps && Saving...
<class 'OSError'> [WinError 6] The handle is invalid
| Head images Extracted!
create rasterizer on device cuda:0
Training ERROR: 'NoneType' object is not subscriptable

i haven't tried extract_segment_imgs.py  but only app_mimictalk.py .
any way. if you have ipython installed, open it up, type
%pdb
and on the next line
%run  data_gen/utils/process_video/extract_segment_imgs.py --ds_name=nerf --vid_dir=data/raw/videos/German_20s.mp4
it is more easy to locate what is wrong.


[CLI] Add command instance search to SkyWalking CLI

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[ ] Requirement
[x] Feature or performance improvement

Command:

swctl instance search --regex=projectB(.*)skywalking-server-0002 --service-id=5 --start=2019-11-15 --step=MONTH
swctl instance search --regex=projectB(.*)skywalking-server-0002 --service-name=projectA --start=2019-11-15 --step=MONTH

refer #3819

@arugal Any progress?

The code is finished and PR will be submitted soon.

Ref #15


jumpcloud_system_insights table

It would be great to see the System Insights details, instead of simply knowing whether it is enabled or not (which is what is available on JumpCloud_device).
The API 2.0 link here shows various system insights details that can be gathered. I believe most of them are important for many of us:
https://docs.jumpcloud.com/api/2.0/index.html#tag/System-Insights
The ones I am more interested are hardware-related at the moment, such as CPU, Memory and others, but I would think many of these details are equally important on different occasions.

Thanks for the feedback, @oaulicino. We will take a deeper look at the API and check the feasibility of adding those details.


Adding a new session button which uses current session settings

Made to address #135
This allows for a "New" button which takes all of the current sessions parameters and creates a new session.
When the new session is provided by the API we then redirect to the new session ID.
To make things easy on users, a new hotkey was set up to allow for the use of ALT+N which will create a new session on demand.

I noticed that the input box did not autofocus, Ive added that change to this request as well.
This way when a user hits the button or uses the hot key, the input box is ready for input

@snxraven Can you add a screenshot to this PR. Thanks!

Screenshot as requested:

@nsarrazin :-)

@nsarrazin Of course :) The latest commit attempts to complete the requested change:


remove unused sidebar tabs

Mockups / Screenshots

marketplace and deals are not planned to be worked on anytime soon. to reduce confusion from our users, we will remove these options from the sidebar

Implementation

remove unused sidebar items at src/common/components/Sidebar/Sidebar.tsx#L18-L42

Hey @davidlhw I would like to work on this issue, please assign it to me.


/skin cannot be used on bungee'd servers

Not sure if this is still an issue - not sure how to test it! @Rasgnarok if you could please give me a hint!


Merge context and context-interface module

Add the context-interface classes to the nostr.context package and get rid of the context-interface.
Branch: feature/0.6-SNAPSHOT

Might not work, because of cyclic module dependencies.


Issue with SourceTracker2 installation

Hello,
I am trying to install sourcetracker in a cluster computer and I am getting an error after I test if my installation was successful.
What I did:

conda create -n sourcetracker2 -c biocore python=3.5 numpy scipy scikit-bio biom-format h5py hdf5 seaborn
conda activate sourcetracker2
conda install -c bioconda sourcetracker
sourcetracker2 gibbs --help             ****after this I get the following error:

Traceback (most recent call last):
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/bin/sourcetracker2", line 6, in
from sourcetracker._cli import cli
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/sourcetracker/_cli/init.py", line 19, in
import_module('sourcetracker._cli.gibbs')
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/sourcetracker/_cli/gibbs.py", line 23, in
from sourcetracker._sourcetracker import (
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/sourcetracker/_sourcetracker.py", line 15, in
from skbio.stats import subsample_counts
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/skbio/init.py", line 13, in
import skbio.io  # noqa
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/skbio/io/init.py", line 238, in
import_module('skbio.io.format.lsmat')
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/skbio/io/format/lsmat.py", line 77, in
from skbio.stats.distance import DissimilarityMatrix, DistanceMatrix
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/skbio/stats/distance/init.py", line 192, in
from ._base import (DissimilarityMatrixError, DistanceMatrixError,
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/skbio/stats/distance/_base.py", line 13, in
from IPython.core.pylabtools import print_figure
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/IPython/init.py", line 55, in
from .terminal.embed import embed
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/IPython/terminal/embed.py", line 16, in
from IPython.terminal.interactiveshell import TerminalInteractiveShell
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/IPython/terminal/interactiveshell.py", line 32, in
from .debugger import TerminalPdb, Pdb
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/IPython/terminal/debugger.py", line 6, in
from IPython.core.completer import IPCompleter
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/IPython/core/completer.py", line 146, in
import jedi
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/jedi/init.py", line 41, in
from jedi.api import Script, Interpreter, set_debug_function,
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/jedi/api/init.py", line 15, in
import parso
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/parso/init.py", line 41, in
from parso.parser import ParserSyntaxError
File "/storage/home/hcoda1/6/ldavila3/.conda/envs/sourcetracker2/lib/python3.5/site-packages/parso/parser.py", line 113
node_map: Dict[str, type] = {}
^
SyntaxError: invalid syntax
I'll appreciate any help!

Hi Lizdasa,
I am getting the same error, did you manage to solve this issue? Thanks for any help!

@celinecuinat I ran into a different error and used python=3.6 instead of 3.5 because it appears there are some compatibility issues between the packages. Not sure if that would solve your error, but thought I'd mention it!

I'm having the exact same problem!
Does anyone know how to solution it?

When installing from git (pip uninstall sourcetracker && pip install git+https://github.com/biota/sourcetracker2.git)
the same command works!!!

I encountered the same problem using Python 3.5.6 after running this:

sourcetracker2 gibbs --help

Traceback (most recent call last):
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/bin/sourcetracker2", line 5, in
from sourcetracker._cli.gibbs import gibbs
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/sourcetracker/init.py", line 11, in
from ._sourcetracker import gibbs
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/sourcetracker/_sourcetracker.py", line 17, in
from skbio.stats import subsample_counts
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/skbio/init.py", line 13, in
import skbio.io  # noqa
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/skbio/io/init.py", line 238, in
import_module('skbio.io.format.lsmat')
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/skbio/io/format/lsmat.py", line 77, in
from skbio.stats.distance import DissimilarityMatrix, DistanceMatrix
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/skbio/stats/distance/init.py", line 192, in
from ._base import (DissimilarityMatrixError, DistanceMatrixError,
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/skbio/stats/distance/_base.py", line 13, in
from IPython.core.pylabtools import print_figure
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/IPython/init.py", line 55, in
from .terminal.embed import embed
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/IPython/terminal/embed.py", line 16, in
from IPython.terminal.interactiveshell import TerminalInteractiveShell
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/IPython/terminal/interactiveshell.py", line 32, in
from .debugger import TerminalPdb, Pdb
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/IPython/terminal/debugger.py", line 6, in
from IPython.core.completer import IPCompleter
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/IPython/core/completer.py", line 146, in
import jedi
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/jedi/init.py", line 41, in
from jedi.api import Script, Interpreter, set_debug_function,
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/jedi/api/init.py", line 15, in
import parso
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/parso/init.py", line 41, in
from parso.parser import ParserSyntaxError
File "/srv/scratch/z3520673/bin/miniconda3/envs/st2/lib/python3.5/site-packages/parso/parser.py", line 113
node_map: Dict[str, type] = {}
^
SyntaxError: invalid syntax
Any solution?


<n-select> assigns value to label key on object returned form onCreate

TuSimple/naive-ui version (版本)
2.20.0
Vue version (Vue 版本)
3.2.20
Browser and its version (浏览器及其版本)
any
System and its version (系统及其版本)
any
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/bug-naiveui-select-oncreate-epynl?file=/src/Demo.vue
Reappearance steps (重现步骤)
Type something on any select in the result page, then blur (press enter or click elsewhere)
Expected results (期望的结果)
What you type should remain in the select (displaying the content of the label key)
Actual results (实际的结果)
The select displays the content of the value key instead
Remarks (补充说明)
You can set an object as value, it's even more evident

The reproduction link doesn't contain what you said.

WTF the sand box seems to have reverted to the one from wich I started the reproduction. I will fix it

In case i still does not work, replace the content of demo.vue with :
<template>
  <n-space vertical>

{{multipleSelectValue}}

{{selectValue}}

    <n-select
      v-model:value="multipleSelectValue"
      filterable
      multiple
      tag
      :options="options"
      @create="onCreate"
    />
    <n-select v-model:value="selectValue" filterable tag :options="options" @create="onCreate"/>
  </n-space>
</template>


Error with venv while installing requirements

Ciao,
I couldn't manage to install the modules in requirements.txt
In particular, here are some info about the env I'm using

OS: 5.10.42-1-MANJARO x86_64 GNU/Linux
Python version: 3.9.5

To reproduce the issue using the python-3.9.5 executable:
python -m venv ~/.venvs/surprisememore
pip install -r requirements.txt

The error that I get is the following
ERROR: Could not find a version that satisfies the requirement numba==0.52.0
(from versions: 0.1, 0.2, 0.3, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.9.0, 0.10.0, 0.10.1,
0.11.0, 0.12.0, 0.12.1, 0.12.2, 0.13.0, 0.13.2, 0.13.3, 0.13.4, 0.14.0, 0.15.1, 0.16.0, 0.17.0,
0.18.1, 0.18.2, 0.19.1, 0.19.2, 0.20.0, 0.21.0, 0.22.0, 0.22.1, 0.23.0, 0.23.1, 0.24.0, 0.25.0,
 0.26.0, 0.27.0, 0.28.1, 0.29.0, 0.30.0, 0.30.1, 0.31.0, 0.32.0, 0.33.0, 0.34.0, 0.35.0, 0.36.1,
0.36.2, 0.37.0, 0.38.0, 0.38.1, 0.39.0, 0.40.0, 0.40.1, 0.41.0, 0.42.0, 0.42.1, 0.43.0, 0.43.1,
0.44.0, 0.44.1, 0.45.0, 0.45.1, 0.46.0, 0.47.0, 0.48.0, 0.49.0, 0.49.1rc1, 0.49.1, 0.50.0rc1,
0.50.0, 0.50.1, 0.51.0rc1, 0.51.0, 0.51.1, 0.51.2, 0.52.0rc2, 0.53.0rc1.post1, 0.53.0rc2,
0.53.0rc3, 0.53.0, 0.53.1)

ERROR: No matching distribution found for numba==0.52.0

I hope it helps.
Good luck

Apparently, the installation-related issue with numba is solved by using numba==0.53.1, but of course this needs to be tested.
However, the installation issue now has to do with surprisemes.
In particular, here the output of pip install surprisemes==0.1.0
ERROR: Could not find a version that satisfies the requirement surprisemes==0.1.0 (from versions: none)
ERROR: No matching distribution found for surprisemes==0.1.0

I hope it helps


raft: fix a description of MemoryStorage.Compact

The parameter name is compactIndex, not i.

LGTM

thanks for the quick review!


runZonedGuarded and WidgetsFlutterBinding.ensureInitialized throws exception

Steps to Reproduce
This app uses a FutureBuilder to display the status of a Future that will always fail. This version works as expected.
import 'dart:async';
import 'package:flutter/material.dart';

void main() {
  runApp(App());
}

class App extends StatefulWidget {
  @override
  _AppState createState() => _AppState();
}

class _AppState extends State<App> {
  Future _future;

  @override
  void initState() {
    super.initState();
    _future = _fetch();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: FutureBuilder(
            future: _future,
            builder: (context, snapshot) {
              if (snapshot.connectionState == ConnectionState.done) {
                return ElevatedButton(
                  onPressed: () {
                    setState(() {
                      _future = _fetch();
                    });
                  },
                  child: Text('Retry'),
                );
              } else {
                return CircularProgressIndicator();
              }
            },
          ),
        ),
      ),
    );
  }

  Future<void> _fetch() async {
    await Future.delayed(Duration(milliseconds: 300));
    throw Exception('Failure');
  }
}

But, if I change the main() function to use runZoneGuarded and WidgetsFlutterBinding.ensureInitialized() as shown a in firebase_crashlytics example (https://github.com/FirebaseExtended/flutterfire/blob/master/packages/firebase_crashlytics/firebase_crashlytics/example/lib/main.dart)
void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runZonedGuarded(() {
    runApp(App());
  }, (error, stackTrace) {
    print('runZonedGuarded: Caught error in my root zone.');
  });
}

Then the app starts behaving weirdly.
The second future is reported as Unhandled exception and the FutureBuilder never received the ConnectionState.done.
[VERBOSE-2:ui_dart_state.cc(177)] Unhandled Exception
Expected results:
The Flutter framework should either:

add some checks in the framework to prevent the use of WidgetsFlutterBinding.ensureInitialized outside of runZonedGuarded.
or make it work as expected

Actual results:
The behaviour is extremely hard to understand and debug. The connection between WidgetsFlutterBinding.ensureInitialized, runZonedGuarded and Future.error is hard to see.

Logs

No issues found! (ran in 1.8s)

[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H15 darwin-x64,
    locale en-BE)
    • Flutter version 1.22.5 at /Users/xavier/projects/flutter_stable
    • Framework revision<PHONE_NUMBER> (5 days ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/xavier/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin installed
    • Dart plugin version 202.8070

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

[✓] Connected device (2 available)
    • iPhone 12 Pro (mobile)     • 8A5D83C7-43FC-42AD-8298-5E804879D5BA • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
    • iPhone 12 Pro Max (mobile) • A2CFE996-7193-4B0F-A4EF-9231C20EEE9B • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)

! Doctor found issues in 1 category.

logs
tahatesser@Tahas-MacBook-Pro master_flutter % fm
[  +77 ms] executing: [/Users/tahatesser/Code/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +62 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +3 ms] f37969638dc9d61c0f26ce16cefe9f92104884c9
[        ] executing: [/Users/tahatesser/Code/flutter_master/] git tag --points-at f37969638dc9d61c0f26ce16cefe9f92104884c9
[  +25 ms] Exit code 0 from: git tag --points-at f37969638dc9d61c0f26ce16cefe9f92104884c9
[   +1 ms] executing: [/Users/tahatesser/Code/flutter_master/] git describe --match *.*.* --long --tags
f37969638dc9d61c0f26ce16cefe9f92104884c9
[  +52 ms] Exit code 0 from: git describe --match *.*.* --long --tags f37969638dc9d61c0f26ce16cefe9f92104884c9
[        ] 1.25.0-8.0.pre-57-gf37969638d
[  +43 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/Users/tahatesser/Code/flutter_master/] git ls-remote --get-url origin
[  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +50 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref HEAD
[  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[   +6 ms] executing: sw_vers -productName
[  +19 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +31 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.1
[        ] executing: sw_vers -buildVersion
[  +28 ms] Exit code 0 from: sw_vers -buildVersion
[   +1 ms] 20C69
[  +11 ms] executing: sysctl hw.optional.arm64
[   +9 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +63 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +56 ms] executing: /Users/tahatesser/Code/sdk/platform-tools/adb devices -l
[   +6 ms] executing: /usr/bin/xcode-select --print-path
[   +6 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Volumes/Extreme/Xcode.app/Contents/Developer
[   +5 ms] executing: sysctl hw.optional.arm64
[   +4 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[ +305 ms] Exit code 0 from: xcrun xcodebuild -version
[   +1 ms] Xcode 12.3
           Build version 12C33
[   +2 ms] executing: xcrun xcdevice list --timeout 2
[   +3 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +52 ms] List of devices attached
           EUYTFEUSQSRGDA6D       device usb:336789504X product:RMX2001 model:RMX2001 device:RMX2001L1 transport_id:1
[  +94 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.watchOS-7-2" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-14-3" : [
                 {
                   "dataPath" :
                   "\/Users\/tahatesser\/Library\/Developer\/CoreSimulator\/Devices\/01685E98-F396-4EB9-9C58-8B92677E24D5\/data",
                   "logPath" : "\/Users\/tahatesser\/Library\/Logs\/CoreSimulator\/01685E98-F396-4EB9-9C58-8B92677E24D5",
                   "udid" : "01685E98-F396-4EB9-9C58-8B92677E24D5",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
                   "state" : "Shutdown",
                   "name" : "iPhone 12"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-14-2" : [
                 {
                   "availabilityError" : "runtime profile not found",
                   "dataPath" :
                   "\/Users\/tahatesser\/Library\/Developer\/CoreSimulator\/Devices\/2188C52E-1D22-45B2-98B8-48401D2B6716\/data",
                   "logPath" : "\/Users\/tahatesser\/Library\/Logs\/CoreSimulator\/2188C52E-1D22-45B2-98B8-48401D2B6716",
                   "udid" : "2188C52E-1D22-45B2-98B8-48401D2B6716",
                   "isAvailable" : false,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
                   "state" : "Shutdown",
                   "name" : "iPhone 12"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.tvOS-14-3" : [

               ]
             }
           }
[+2913 ms] [
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "14.3 (18C61)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone13,2",
                        "identifier" : "01685E98-F396-4EB9-9C58-8B92677E24D5",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-12-1",
                        "modelName" : "iPhone 12",
                        "name" : "iPhone 12"
                      }
                    ]
[   +4 ms] /Users/tahatesser/Code/sdk/platform-tools/adb -s EUYTFEUSQSRGDA6D shell getprop
[  +60 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +91 ms] Skipping pub get: version match.
[ +130 ms] Found plugin integration_test at /Users/tahatesser/Code/flutter_master/packages/integration_test/
[ +123 ms] Found plugin integration_test at /Users/tahatesser/Code/flutter_master/packages/integration_test/
[   +6 ms] Generating
/Users/tahatesser/AndroidStudioProjects/master_flutter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +64 ms] ro.hardware = mt6785
[        ] ro.build.characteristics = default
[  +45 ms] Initializing file store
[  +13 ms] Skipping target: gen_localizations
[   +4 ms] complete
[   +5 ms] Launching lib/main.dart on RMX2001 in debug mode...
[   +8 ms] /Users/tahatesser/Code/flutter_master/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names --experimental-emit-debug-metadata --output-dill
/var/folders/kg/2btzrnf942v3cdgznfl8kvtw0000gn/T/flutter_tools.OWWfMG/flutter_tool.24iEYb/app.dill --packages
/Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build/152a2ce78bff4a6f74a44ed554717a64.cache.dill.track.dill --flutter-widget-cache
--enable-experiment=alternative-invalidation-strategy
[  +20 ms] executing: /Users/tahatesser/Code/sdk/platform-tools/adb -s EUYTFEUSQSRGDA6D shell -x logcat -v time -t 1
[  +23 ms] <- compile package:master_flutter/main.dart
[  +74 ms] --------- beginning of main
           12-15 20:50:03.804 I/ADB_SERVICES(21870): for fd 25, revents = 2011
[  +16 ms] executing: /Users/tahatesser/Code/sdk/platform-tools/adb version
[  +25 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as /Users/tahatesser/Code/sdk/platform-tools/adb
[   +3 ms] executing: /Users/tahatesser/Code/sdk/platform-tools/adb start-server
[   +8 ms] Building APK
[  +19 ms] Running Gradle task 'assembleDebug'...
[   +5 ms] Using gradle from /Users/tahatesser/AndroidStudioProjects/master_flutter/android/gradlew.
[        ] /Users/tahatesser/AndroidStudioProjects/master_flutter/android/gradlew mode: 33261 rwxr-xr-x.
[   +6 ms] executing: [/Users/tahatesser/AndroidStudioProjects/master_flutter/android/]
/Users/tahatesser/AndroidStudioProjects/master_flutter/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=/Users/tahatesser/AndroidStudioProjects/master_flutter/lib/main.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1214 ms] Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
[+11585 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +90 ms] executing: [/Users/tahatesser/Code/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +62 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] f37969638dc9d61c0f26ce16cefe9f92104884c9
[        ] [        ] executing: [/Users/tahatesser/Code/flutter_master/] git tag --points-at
f37969638dc9d61c0f26ce16cefe9f92104884c9
[        ] [  +96 ms] Exit code 0 from: git tag --points-at f37969638dc9d61c0f26ce16cefe9f92104884c9
[        ] [   +1 ms] executing: [/Users/tahatesser/Code/flutter_master/] git describe --match *.*.* --long --tags
f37969638dc9d61c0f26ce16cefe9f92104884c9
[   +1 ms] [  +60 ms] Exit code 0 from: git describe --match *.*.* --long --tags f37969638dc9d61c0f26ce16cefe9f92104884c9
[        ] [        ] 1.25.0-8.0.pre-57-gf37969638d
[        ] [  +45 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [/Users/tahatesser/Code/flutter_master/] git ls-remote --get-url origin
[        ] [  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +52 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref HEAD
[        ] [  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[  +16 ms] [   +1 ms] master
[        ] [  +47 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +57 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +71 ms] Initializing file store
[        ] [  +15 ms] Skipping target: gen_localizations
[        ] [   +6 ms] kernel_snapshot: Starting due to {}
[  +11 ms] [  +13 ms] /Users/tahatesser/Code/flutter_master/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter
--no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--no-link-platform --packages /Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/package_config.json --output-dill
/Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/flutter_build/9235f16eee5d089864825f339244acbb/app.dill --depfile
/Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/flutter_build/9235f16eee5d089864825f339244acbb/kernel_snapshot.d
package:master_flutter/main.dart
[+6259 ms] [+7200 ms] kernel_snapshot: Complete
[ +497 ms] [ +488 ms] debug_android_application: Starting due to {}
[ +398 ms] [ +380 ms] debug_android_application: Complete
[ +403 ms] [ +476 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[        ] [   +4 ms] build succeeded.
[  +96 ms] [  +11 ms] "flutter assemble" took 8,752ms.
[        ] [   +3 ms] ensureAnalyticsSent: 0ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +200 ms] > Task :app:packLibsflutterBuildDebug
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :integration_test:preBuild UP-TO-DATE
[        ] > Task :integration_test:preDebugBuild UP-TO-DATE
[        ] > Task :integration_test:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :integration_test:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[  +97 ms] > Task :app:generateDebugBuildConfig
[        ] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[        ] > Task :integration_test:writeDebugAarMetadata
[  +97 ms] > Task :app:mergeDebugShaders
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :integration_test:mergeDebugShaders
[        ] > Task :integration_test:compileDebugShaders NO-SOURCE
[        ] > Task :integration_test:generateDebugAssets UP-TO-DATE
[        ] > Task :integration_test:packageDebugAssets
[+3801 ms] > Task :app:mergeDebugAssets
[ +199 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues
[        ] > Task :app:generateDebugResources
[        ] > Task :integration_test:compileDebugRenderscript NO-SOURCE
[        ] > Task :integration_test:generateDebugResValues
[        ] > Task :integration_test:generateDebugResources
[  +99 ms] > Task :integration_test:packageDebugResources
[ +498 ms] > Task :app:checkDebugAarMetadata
[ +102 ms] > Task :app:createDebugCompatibleScreenManifests
[        ] > Task :app:extractDeepLinksDebug
[        ] > Task :integration_test:extractDeepLinksDebug
[        ] > Task :integration_test:compileDebugLibraryResources
[  +96 ms] > Task :app:mergeDebugResources
[        ] > Task :integration_test:processDebugManifest
[        ] > Task :integration_test:generateDebugBuildConfig
[ +100 ms] > Task :integration_test:parseDebugLocalResources
[        ] > Task :app:processDebugMainManifest
[        ] [androidx.test.espresso:espresso-core:3.2.0]
/Users/tahatesser/.gradle/caches/transforms-2/files-2.1/b57e330d5fcdd60ce3b36badc90dc06f/espresso-core-3.2.0/AndroidManifest.xml
Warning:
[        ]      Package name 'androidx.test.espresso' used in: androidx.test.espresso:espresso-core:3.2.0,
androidx.test.espresso:espresso-idling-resource:3.2.0.
[ +397 ms] > Task :app:processDebugManifest
[ +105 ms] > Task :integration_test:javaPreCompileDebug
[        ] > Task :app:javaPreCompileDebug
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :integration_test:processDebugJavaRes NO-SOURCE
[        ] > Task :integration_test:bundleLibResDebug NO-SOURCE
[  +94 ms] > Task :integration_test:generateDebugRFile
[ +499 ms] > Task :app:compressDebugAssets
[+12701 ms] > Task :app:processDebugManifestForPackage
[        ] > Task :app:checkDebugDuplicateClasses
[ +299 ms] > Task :app:processDebugResources
[+1099 ms] > Task :integration_test:compileDebugJavaWithJavac
[ +101 ms] > Task :integration_test:bundleLibRuntimeToJarDebug
[        ] > Task :integration_test:bundleLibCompileToJarDebug
[ +596 ms] > Task :app:mergeDebugJniLibFolders
[ +101 ms] > Task :app:desugarDebugFileDependencies
[+1400 ms] > Task :app:compileDebugKotlin
[ +102 ms] > Task :app:compileDebugJavaWithJavac
[        ] > Task :app:compileDebugSources
[ +995 ms] > Task :app:mergeDebugJavaResource
[+1801 ms] > Task :integration_test:mergeDebugJniLibFolders
[        ] > Task :integration_test:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :integration_test:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :integration_test:copyDebugJniLibsProjectOnly
[        ] > Task :app:validateSigningDebug
[ +304 ms] > Task :app:dexBuilderDebug
[        ] > Task :integration_test:copyDebugJniLibsProjectAndLocalJars
[        ] > Task :integration_test:extractDebugAnnotations
[        ] > Task :integration_test:mergeDebugGeneratedProguardFiles
[        ] > Task :integration_test:mergeDebugConsumerProguardFiles
[        ] > Task :integration_test:prepareLintJarForPublish
[        ] > Task :integration_test:compileDebugSources
[        ] > Task :integration_test:mergeDebugJavaResource
[  +96 ms] > Task :integration_test:syncDebugLibJars
[        ] > Task :integration_test:bundleDebugAar
[        ] > Task :integration_test:assembleDebug
[+1705 ms] > Task :app:mergeExtDexDebug
[ +689 ms] > Task :app:mergeDebugNativeLibs
[ +599 ms] > Task :app:stripDebugDebugSymbols
[        ] Unable to strip the following libraries, packaging them as they are: libflutter.so.
[ +300 ms] > Task :app:mergeDexDebug
[+2003 ms] > Task :app:packageDebug
[ +195 ms] > Task :app:assembleDebug
[  +92 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 51s
[        ] 57 actionable tasks: 56 executed, 1 up-to-date
[ +389 ms] Running Gradle task 'assembleDebug'... (completed in 52.5s)
[  +46 ms] calculateSha: LocalDirectory:
'/Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk'/app.apk
[  +46 ms] calculateSha: reading file took 45us
[ +637 ms] calculateSha: computing sha took 636us
[   +4 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[  +13 ms] executing: /Users/tahatesser/Code/sdk/build-tools/30.0.2/aapt dump xmltree
/Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +27 ms] Exit code 0 from: /Users/tahatesser/Code/sdk/build-tools/30.0.2/aapt dump xmltree
/Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.master_flutter" (Raw: "com.example.master_flutter")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="master_flutter" (Raw: "master_flutter")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.master_flutter.MainActivity" (Raw:
                   "com.example.master_flutter.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
                     "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw:
                     "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +5 ms] Stopping app 'app.apk' on RMX2001.
[        ] executing: /Users/tahatesser/Code/sdk/platform-tools/adb -s EUYTFEUSQSRGDA6D shell am force-stop
com.example.master_flutter
[  +73 ms] executing: /Users/tahatesser/Code/sdk/platform-tools/adb -s EUYTFEUSQSRGDA6D shell pm list packages
com.example.master_flutter
[  +70 ms] Installing APK.
[   +3 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /Users/tahatesser/Code/sdk/platform-tools/adb -s EUYTFEUSQSRGDA6D install -t -r
/Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk/app.apk
[+4888 ms] Performing Streamed Install
                    Success
[        ] Installing build/app/outputs/flutter-apk/app.apk... (completed in 4.9s)
[   +2 ms] executing: /Users/tahatesser/Code/sdk/platform-tools/adb -s EUYTFEUSQSRGDA6D shell echo -n
40de42379052c857c315ea4f58f43da6b3e7ff29 > /data/local/tmp/sky.com.example.master_flutter.sha1
[  +30 ms] executing: /Users/tahatesser/Code/sdk/platform-tools/adb -s EUYTFEUSQSRGDA6D shell -x logcat -v time -t 1
[  +64 ms] --------- beginning of main
           12-15 20:51:02.893 W/UserAppManager( 3903): init start: 0
[  +15 ms] executing: /Users/tahatesser/Code/sdk/platform-tools/adb -s EUYTFEUSQSRGDA6D shell am start -a android.intent.action.RUN
-f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez
verify-entry-points true com.example.master_flutter/com.example.master_flutter.MainActivity
[ +110 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.master_flutter/.MainActivity (has extras)
}
[   +2 ms] Waiting for observatory port to be available...
[+2247 ms] Observatory URL on device: http://<IP_ADDRESS>:35213/ZQj2-JLV_rM=/
[   +1 ms] executing: /Users/tahatesser/Code/sdk/platform-tools/adb -s EUYTFEUSQSRGDA6D forward tcp:0 tcp:35213
[  +13 ms] 54046
[        ] Forwarded host port 54046 to device port 35213 for Observatory
[   +9 ms] Caching compiled dill
[ +142 ms] Connecting to service protocol: http://<IP_ADDRESS>:54046/ZQj2-JLV_rM=/
[   +2 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at
http://<IP_ADDRESS>:54046/ZQj2-JLV_rM=/.
[ +479 ms] DDS is listening at http://<IP_ADDRESS>:54048/xmsRiJm_NQ8=/.
[  +83 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:54046/ZQj2-JLV_rM=/
[  +19 ms] DevFS: Creating new filesystem on the device (null)
[  +33 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.master_flutter/code_cache/master_flutterYXYFON/master_flutter/)
[   +2 ms] Updating assets
[ +190 ms] Syncing files to device RMX2001...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +2 ms] <- recompile package:master_flutter/main.dart c570fe38-a845-4954-a2c6-fd7af6bf0c30
[        ] <- c570fe38-a845-4954-a2c6-fd7af6bf0c30
[ +162 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device RMX2001... (completed in 167ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[  +12 ms] Connected to _flutterView/0x72ce9bc820.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on RMX2001 is available at: http://<IP_ADDRESS>:54048/xmsRiJm_NQ8=/
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[ +289 ms] I/.master_flutte( 4363): ProcessProfilingInfo new_methods=459 is saved saved_to_disk=1 resolve_classes_delay=5000
[ +868 ms] D/ColorViewRootUtil( 4363): nav bar mode ignore false downX 544 downY 1182 mScreenHeight 2400 mScreenWidth 1080
mStatusBarHeight 54 globalScale 1.125 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0,
x[0]=544.0, y[0]=1182.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0,
pointerCount=1, historySize=0, eventTime=12098540, downTime=12098540, deviceId=4, source=0x1002, displayId=0 }
[ +405 ms] E/flutter ( 4363): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: Exception: Failure
[        ] E/flutter ( 4363): #0      _AppState._fetch (package:master_flutter/main.dart:56:5)
[        ] E/flutter ( 4363): <asynchronous suspension>
[        ] E/flutter ( 4363): #1      _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart)
[        ] E/flutter ( 4363): <asynchronous suspension>
[        ] E/flutter ( 4363):
[+13291 ms] D/ColorViewRootUtil( 4363): nav bar mode ignore false downX 565 downY 1308 mScreenHeight 2400 mScreenWidth 1080
mStatusBarHeight 54 globalScale 1.125 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0,
x[0]=565.0, y[0]=1308.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0,
pointerCount=1, historySize=0, eventTime=12112238, downTime=12112238, deviceId=4, source=0x1002, displayId=0 }
[+1177 ms] Skipping target: gen_localizations
[        ] complete
[   +1 ms] Performing hot restart...
[  +10 ms] Scanned through 499 files in 8ms
[   +1 ms] Syncing files to device RMX2001...
[        ] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] <- recompile package:master_flutter/main.dart 883efc70-81ee-4008-a97e-80cab7fd9703
[        ] <- 883efc70-81ee-4008-a97e-80cab7fd9703
[  +79 ms] Updating files.
[+1436 ms] DevFS: Sync finished
[        ] Syncing files to device RMX2001... (completed in 1,517ms)
[        ] Synced 25.1MB.
[        ] <- accept
[ +457 ms] Hot restart performed in 1,985ms.
[   +4 ms] Performing hot restart... (completed in 1,992ms)
[        ] Restarted application in 1,997ms.
[ +139 ms] I/GED     ( 4363): ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 27, oppidx_max 27, oppidx_min 0
[+1639 ms] D/ColorViewRootUtil( 4363): nav bar mode ignore false downX 514 downY 1129 mScreenHeight 2400 mScreenWidth 1080
mStatusBarHeight 54 globalScale 1.125 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0,
x[0]=514.0, y[0]=1129.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0,
pointerCount=1, historySize=0, eventTime=12117191, downTime=12117191, deviceId=4, source=0x1002, displayId=0 }
[ +434 ms] E/flutter ( 4363): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: Exception: Failure
[        ] E/flutter ( 4363): #0      _AppState._fetch (package:master_flutter/main.dart:56:5)
[        ] E/flutter ( 4363): <asynchronous suspension>
[        ] E/flutter ( 4363): #1      _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart)
[        ] E/flutter ( 4363): <asynchronous suspension>
[        ] E/flutter ( 4363):

multiple flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale
    en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (5 days ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (1 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64 • Android 10 (API 29)

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on macOS 11.1 20C69 darwin-x64,
    locale en-GB)
    • Flutter version 1.24.0-10.2.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision 022b333a08 (4 weeks ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[!] Android Studio
    • Android Studio at /Applications/Android/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Android Studio not found at /Applications/Android/Contents
    • Try updating or re-installing Android Studio.

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 10 (API 29)
    • Web Server (web) • web-server       • web-javascript • Flutter Tools
    • Chrome (web)     • chrome           • web-javascript • Google Chrome
      87.0.4280.88

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.25.0-9.0.pre.57, on macOS 11.1 20C69 darwin-x64,
    locale en-GB)
    • Flutter version 1.25.0-9.0.pre.57 at /Users/tahatesser/Code/flutter_master
    • Framework revision f37969638d (12 hours ago), 2020-12-14 22:18:03 -0500
    • Engine revision 1749dbcc1b
    • Dart version 2.12.0 (build 2.12.0-150.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[!] Android Studio
    • Android Studio at /Applications/Android/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Android Studio not found at /Applications/Android/Contents
    • Try updating or re-installing Android Studio.

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 10 (API 29)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 11.1 20C69
      darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome
      87.0.4280.88

! Doctor found issues in 1 category.

Same issue here

Reproducible on the latest versions of flutter.
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: Exception: Failure
#0      _AppState._fetch (package:newday/main.dart:58:5)
<asynchronous suspension>
#1      _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:628:33)
<asynchronous suspension>

recordings

with runZoneGuarded
without runZoneGuarded

updated sample
import 'dart:async';
import 'package:flutter/material.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runZonedGuarded(() {
    runApp(const App());
  }, (error, stackTrace) {
    print('runZonedGuarded: Caught error in my root zone.');
  });
}

class App extends StatefulWidget {
  const App({super.key});

  @override
  State<App> createState() => _AppState();
}

class _AppState extends State<App> {
  late Future _future;

  @override
  void initState() {
    super.initState();
    _future = _fetch();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: FutureBuilder(
            future: _future,
            builder: (context, snapshot) {
              if (snapshot.connectionState == ConnectionState.done) {
                return ElevatedButton(
                  onPressed: () {
                    setState(() {
                      _future = _fetch();
                    });
                  },
                  child: const Text('Retry'),
                );
              } else {
                return const CircularProgressIndicator();
              }
            },
          ),
        ),
      ),
    );
  }

  Future<void> _fetch() async {
    await Future.delayed(Duration(milliseconds: 300));
    throw Exception('Failure');
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-arm, locale en-GB)
    • Flutter version 3.3.9 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (10 days ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

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

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • 4F72110C-F38B-4CF9-93C4-4D6042148D28 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.71

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.7.0-2.0.pre.9, on macOS 13.0.1 22A400 darwin-arm64, locale en-GB)
    • Flutter version 3.7.0-2.0.pre.9 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ce94230281 (8 hours ago), 2022-12-01 19:13:07 -0800
    • Engine revision 025aefc7af
    • Dart version 2.19.0 (build 2.19.0-444.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

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

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • 4F72110C-F38B-4CF9-93C4-4D6042148D28 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.71

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

@danagbemava-nc flutter fire documentation has different example have a look once
https://firebase.flutter.dev/docs/crashlytics/usage#:~:text=To catch such errors%2C you can use runZonedGuarded like do%3A

I think this ticket can be closed:

The sample in Firebase was updated and the documentation explain that it is necessary to put the WidgetsFlutterBinding.ensureInitialized() inside runZonedGuarded.
In the latest flutter master, there is an additional warning at the start of the app:

Zone mismatch.
The Flutter bindings were initialized in a different zone than is now being used. This will likely
cause confusion and bugs as any zone-specific configuration will inconsistently use the
configuration of the original binding initialization zone or this zone based on hard-to-predict
factors such as which zone was active when a particular callback was set.
It is important to use the same zone when calling `ensureInitialized` on the binding as when calling
`runApp` later.
To make this warning fatal, set BindingBase.debugZoneErrorsAreFatal to true before the bindings are
initialized (i.e. as the first statement in `void main() { }`).


CF: parse to params for channel in dial

Description

10347

Type of change

[x] Internal refactoring
[ ] Bug fix (bugfix - non-breaking)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Code snippets
In case of new feature or breaking changes, please include code snippets.

Please wait until the production CI is green before merging this PR. @ayeminag


TypeError: no implicit conversion of Fixnum into String when using mariadb_replication and master_log_pos

master_log_pos is declared as an Interger in the resource... But used as a String in the provider. Just had a to_s will resolve the bug.

It's corrected, merge ok


Backwards navigation in Coder

In Coder, it is easy to navigate to some other class, for example by clicking on the superclass, or on anything in the sidebar. But there is no way back, unless I missed something. I often click on the wrong line in the sidebar and find myself at a completely unexpected place (some random package), with no way to go back.

Yes, this is still on the wish list. We’ll get there.


pull request for e2e test at 01/07/2017 08:45:07

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Saver/Summary: The process cannot access the file because it is being used by another process.

Hey guys!
I have been banging my head for a couple of days with the following:
I am using a MonitoredTrainingSession with a single local server (but bug is identical even if using Supervisor and/or distributed architecture).
#... sess  = tf.train.MonitoredTrainingSession(...)\ while True:\    sess.run(train_op)
Assuming sequential runs of the python client without changing a single line of code,  the problem is that I sometimes get the error:
Tensorflow.python.framework.errors_impl.FailedPreconditionError: Failed to rename: .../graph.pbtxt.tmp23e44d8fdce844e6822a56dc886588e6 to: .../graph.pbtxt : The process cannot access the file because it is being used by another process.
... and the interesting thing is that sometimes this does not occur and training begins, but it then happens just as the first before_run call of the checkpoint hook tries to save the initial state (as seen in the MonitoredSession source code):
Failed to rename: .../model.ckpt-1_temp_4fcb775402bc44568b86836d94747b27/part-00000-of-00001.data-00000-of-00001.tempstate17529973146728747180 to: .../model.ckpt-1_temp_4fcb775402bc44568b86836d94747b27/part-00000-of-00001.data-00000-of-00001 : The process cannot access the file because it is being used by another process.
 Thank you very much for the solution.

Thank you!!!!!!!

What about google drive? Does it work if saving to google drive?

I met the same issue.
FailedPreconditionError (see above for traceback): Failed to rename: ./logs/checkpoints/model_epoch-1.data-00000-of-00001.tempstate9288023132477748030 to: ./logs/checkpoints/model_epoch-1.data-00000-of-00001 : The process cannot access the file because it is being used by another process.
; Broken pipe
	 [[Node: save/SaveV2 = SaveV2[dtypes= ... ...

I did not sync this project with any online drive.
I my case, It's git reading that file content. So that file cannot be renamed. I added logs/ to .gitignore, this error was fixed.

O.M.G. lol, I had a sneaking suspicion that it was dropbox but didn't want to admit it to myself

I get this error using plain file system so what gives?

Shutdown every backup service, MEGA, DropBox, GoogleDrive.
Add to .gitignore

This is apparently a problem with OneDrive as well.

@grldsndrs And Google Drive :))

NICE!!!!! It's work

what a relief!!! had the same problem. selectively not syncing the folder you are saving in works!

I had the error without saving weights to a cloud service. I use PyCharm what is indexing new files, so maybe the error occured because of that in my case.

JFC. Thank you for posting this.

 Thank you very much for the solution.

whats the solution

Wow this saved me so much time. After hours of putting together this model just running into this error knowing it should be working was so frustrating. pausing my dropbox sync did the job. now moving all my docs away from dropbox...

Dropbox works perfectly fine on Mac, OneDrive not working on Windows


Changes related to WebLogic Security Patch

Changes related to WebLogic Security Patch

CustomHostNameVerifier implementation
Disable Remote Anonymous T3/IIOP Lookup
Set umask 027 for $domain/server/security directory and boot.properties

Reviewed the changes and looks fine.

Review and tested. @mriccell can you merge this PR please ? Thanks !


Release 0.4.2

We've accumulated non-breaking HAL changes, including three new peripherals:

SRTC (#83)
ADC (#84)
TRNG (#99)

I'm planning a 0.4.2 release of the HAL to publish these new peripherals. Once released, the new peripherals will be immediately available to users who typically target a 0.4 HAL crate.
I plan to release sometime next week. Should we hold off, or include any other work?
The ADC support will warrant a new release of the IOMUXC crate, which defines the ADC pins. I'll track that in the IOMUXC repo.

See the release notes here.


[UnitTests] Popup window not close after some time

Closes/fixes #issue
Added unit tests to provide better code coverage
Checklist

[ ] This PR makes changes to the public API
[ ] I have included links for closing relevant issue numbers

nice, thanks for contributing!


Return status from functions like BasePlot.save_to_file

While debugging a new METplus use case that runs a script to generate a Hovmoeller diagram (dtcenter/METplus#626) calling METcalcpy, I discovered that the use case would run successfully but not generate any output images. The log file mentioned that the file could not be created, but there were no errors.
Describe the Enhancement
Enhance the functions that catch failures to return some values (True/False, path/None, etc.) so that the calling functions can check this value to determine if the function succeeded or not. It would also be nice if the error was more clear that it is an error, i.e. the line starts with "ERROR:" or something similar.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the enhancement down into sub-issues.

[ ] Add a checkbox for each sub-issue here.

Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) or no engineer required
[ ] Select scientist(s) or no scientist required

Labels

[X] Select component(s)
[X] Select priority
[X] Select requestor(s)

Projects and Milestone

[X] Review projects and select relevant Repository and Organization ones or add "alert:NEED PROJECT ASSIGNMENT" label
[X] Select milestone to next major version milestone or "Future Versions"

Define Related Issue(s)
Consider the impact to the other METplus components.

[ ] Update the METplus use cases that call METcalcpy accordingly

Enhancement Checklist
See the METplus Workflow for details.

[ ] Complete the issue definition above, including the Time Estimate and Funding Source.
[ ] Fork this repository or create a branch of develop.
Branch name: feature_<Issue Number>_<Description>
[ ] Complete the development and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s), Project(s), Milestone, and Linked issues
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

Will create a method to create this ERROR message that we can call in other places if wanted and can add to save to file later


Update HMAC functions to catchup with protocol.

The JSON protocol for HMAC keys is (as advertised) not stable. Changed
the implementation to catchup with the latest updates in the spec.
This fixes #2293.

This change is

@devbww

It is a bit of a shame that it is timeCreated but just updated (instead of timeUpdated).

Indeed.  But that is what the spec says, and follows the "pattern" for other JSON resources.
In general, we prefer not to rename or otherwise make the fields "better".  If the JSON (or gRPC) protocol calls them "fooBar" then we just translate that to "foo_bar" even if "foo_baz" would have been a an improvement.

Absolutely.  I was just lamenting the upstream choice.


[REQUEST]: add export hits in the following format  |  as in the previous version

This feature request respects the following points:

[X] This is a feature request, not a question or a configuration issue; Please visit our forum first to troubleshoot with volunteers, before creating a report. The links can be found here.
[X] This issue is not already reported on GitHub (I've searched it).
[X] I'm using an up to date version of OpenBullet2. We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
[X] I agree to follow OpenBullet's Code of Conduct.
[X] This report addresses only a single feature request; If you have multiple feature request, kindly create separate reports for each one.

Description of the feature request
I have checked several times in the web client in the database hits section. but I no longer find export in the following format  |  as in the previous version
Is your feature request related to a problem
found it most useful to export in this format  |
Describe the solution you'd like
add export hits in the following format  |  in hits database section
Describe alternatives you've considered
No response
Relevant screenshots or videos
No response
Additional information
No response

You can edit the Environment.ini file and add whatever export format you wish. Could you please try to edit those and restart OB2, then try again?


Enhancing Page by adding "Find yourself in Github" section

Description
With this enhancement, the user will be able to search him/her in Github after looking at the Git-Cheatsheet, eventually giving a better user experience in the page.
Checklist

[x] I am making a proper pull request, not spam.
[x] I've checked the issue list before deciding what to submit.
[x] I've added the section in the Navbar for easy Navigation
[x] I ensured that the page remains responsive after the addition of the custom CSS

Related Issues or Pull Requests
#127
Add relevant screenshot or video (if any)

Please review the deployment in my fork and let me know if changes are necessary :) @EshanTrivedi21

Excellent Work! The design appears to be a little off, but the functioning is perfect; I'll do the design modifications once I'm a little more free. Thank you so much for your contribution.

Thanks a lot @EshanTrivedi21 ❤☺

@pooranjoyb i have made the changes. Will be waiting for your valuable feedbacks.

@pooranjoyb i have made the changes. Will be waiting for your valuable feedbacks.

Dayum it's really awesome & marvelous , nice work man! 💯

Thanks for the feedback, hope to work with you again!


Error while global destruction

I sometimes get an error (in cleanup) Can't call method "FETCH" on an undefined value at /home/and/perl5/perlbrew/perls/perl 5.20.0/lib/site_perl/5.20.0/Mojo/Pg.pm line 91, <DATA> line 440 during global destruction. while using Minion (1.13) and Mojo::Pg (2.01)

Maybe it happens when I use notify from worker via $job->app->pg->pubsub->notify, but for now I can't create a minimal example.

I've never seen this, so i'm afraid without a test case there is nothing we can do.

I have this error/warning too (If it would change anything).

@Logioniz Only if you can provide a test case.

Application:
#!/usr/bin/env perl
use Mojolicious::Lite;

use Minion;
use Mojo::Pg;

my $pg_uri = 'postgresql://test@/test';
app->plugin(Minion => {Pg => $pg_uri});
helper pg => sub { state $pg = Mojo::Pg->new($pg_uri) };

app->pg->pubsub->listen(test => sub { say app->minion->job($_[1])->info->{result} });
app->minion->add_task(test => sub {
  system('/bin/sleep 1');
  say 'test';
  $_[0]->finish(rand);
  $_[0]->app->pg->pubsub->notify(test => $_[0]->id)
});

app->start;

Enqueue tasks:
$ for i in {1..100}; do perl t.pl minion job -e test; done

Run worker and send SIGINT to process:
$ perl t.pl minion worker
test
0.0406342305160585
test
^Ctest
test
^Ctest
test
test
test
0.0460506010770949
^C^Ctest
test
^C^C^C^C^Ctest
test
test
	(in cleanup) Can't call method "FETCH" on an undefined value at /home/and/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/Mojo/Pg.pm line 91, <DATA> line 440 during global destruction.
0.173964488776143
	(in cleanup) Can't call method "FETCH" on an undefined value at /home/and/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/Mojo/Pg.pm line 91, <DATA> line 440 during global destruction.
	(in cleanup) Can't call method "FETCH" on an undefined value at /home/and/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/Mojo/Pg.pm line 91, <DATA> line 440 during global destruction.
test
	(in cleanup) Can't call method "FETCH" on an undefined value at /home/and/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/Mojo/Pg.pm line 91, <DATA> line 440 during global destruction.
test
test
test
	(in cleanup) Can't call method "FETCH" on an undefined value at /home/and/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/Mojo/Pg.pm line 91, <DATA> line 440 during global destruction.
	(in cleanup) Can't call method "FETCH" on an undefined value at /home/and/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/Mojo/Pg.pm line 91, <DATA> line 440 during global destruction.
	(in cleanup) Can't call method "FETCH" on an undefined value at /home/and/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/Mojo/Pg.pm line 91, <DATA> line 440 during global destruction.
test

Get errors in random order.

@avkhozov Afraid i was still not able to replicate the problem.

I suspect this will make the problem go away, but i'm not sure if it is the correct solution. https://github.com/kraih/mojo-pg/commit/a8dbeab671ec2e4c980637beb3d7627fc74f74f6

Ok, I'm going to test further.

This one is related too, database handles should never be reused after forking. https://github.com/kraih/mojo-pg/commit/0d2333d3ef29c60e67ddaa77f73fa203b49d7de5

@kraih a8dbeab did indeed fix a similar problem for me.


Linux build

Hello,
Is there some hope you release a Linux build of MFP?

Unfortunately WPF only supports windows. When MAUI and .NET 6 is released I will consider rewriting the app to also work on linux and mac depending on how much work that will be.
For now maybe wine will work?

I tried with wine but unfortunately, it doesn't work. The app started fine but crashed after some seconds. Now the app crash every time I starts it, even after removing the preferences file.

I would also love to use this under Linux. Right now, .NET 5 is already installable under Linux with https://dot.net/v1/dotnet-install.sh or snap, so I don't quite see why it would not work there. I am no expert at C# in general, but if you need assistance on how dependencies and stuff work under Linux I'd be glad to help. Maybe you could explain how this project can be compiled in general (best case without windows only tools)? Then I could try to make it work myself.

Right now, .NET 5 is already installable under Linux with https://dot.net/v1/dotnet-install.sh or snap, so I don't quite see why it would not work there.

Because the UI is made in WPF which is is windows only. The C# side will work just fine under mac/linux.

Maybe you could explain how this project can be compiled in general (best case without windows only tools)? Then I could try to make it work myself.

You should be able to just do dotnet build inside the solution directory, but having it use WPF might cause it to not compile im not sure.

Ideally I think the app should be split into multiple projects so that the core of the app does not rely on any UI, then add UI projects for MAUI/Blazor/Console. Technically this could be done now to first decouple it from WPF, and then rewrite the WPF part in a crossplatform UI like avalonia or maui later.
Im just not sure there is enough linux/mac users that would want to use MFP for this to make sense for now.
Btw apparently someone ran MFP in wine on mac and said that everything worked fine but the UI was glitching, so maybe wine on some specific distro would also work.

@Yoooi0 Thanks for elaborating on those details
I can confirm that I was able to make it run with wine, but the UI was unusable. May differ from DE to DE how unusable it turns out. It was also a bit of a fiddle, if there is interest I can share how I did it.
I will try some scanarios on compiling with wine/linux the next days, but probably this won't go anywhere, as my quick read on WPF basically gave no possibility to get it compiling on Linux.
About the User base on Linux, my scenario, which I think would be interesting to a wider user base, is to make the device controllable via Wifi. This could be done by using a Pi Zero 2 W (which is capable of runnng dotnet 5 and probably also 6) and installing buttplug.io as well as MultiFunPlayer for compatibility with Video Players as well as simple Remote Control and Games.
A windows PC would be overkill in this scenario obviously. The OS image could then be shared so it could be setup with minimal configuration.
For that Scenario I agree with you, a console version would be the perfect solution, dodging the windows dependency entirely and also saving some valuable RAM on the small device. Such an update would be greatly appreciated!

Unfortunately WPF only supports windows. When MAUI and .NET 6 is released I will consider rewriting the app to also work on linux and mac depending on how much work that will be.

Any update on this please ?

Well, MAUI is released but its not that great and will take some time to mature.
I still would like to support linux and mac but will probably have to use Avalonia instead which might make the rewrite easier too.
So the status is the same: "maybe someday"

Another possible solution that does not require a rewrite: https://avaloniaui.net/XPF
Hopefully they release a free license for open source projects.