did-get-response-details for Page

It would be awesome to have a way to recognize the response details of the page itself and not it's resources.

did-get-response-details will be emitted for all url_requests occurring, which includes all schemes supported by electron (file, http, chrome-extension, asar, custom etc). Is there some resource that is not tracked by this event ?

They are all tracked, yes. But I only want to track the html files.
For example, There's a page called index.html and it has iframes to multiple html files and imports various scripts.
I only want to get the response details of the main index.html and not the html files it loads via iframes and the scripts it imports.
What I am trying to implement with it, is automatic downloading of resources when an archive link is clicked (is navigated to), instead of the archive links imported as other stuff in the page.

Nevermind, this is something that can be easily worked around in user land.


Support show segment distribution by collection

show segment-loaded-grpc --collection [collection-id]
/kind improvement

/lgtm


UI 241 tree shaking (HZC-2157)

Closes #241
Here is the result on cloud UI

Note: this is a breaking change since I haven't included type exports into our index.ts export files. However, you can always import types from the nested file.

@fantkolja awesome result! one question - what was the reason you got rid of all the star* exports?

@fantkolja awesome result! one question - what was the reason you got rid of all the star* exports?

Actually, as I understood from many articles I have read, those kinds of exports prevent tree shaking, since the bundler can't identify, which exactly entities are used and which aren't.
As you can see replacing * exports with the common named exports is basically everything I did here to achieve the result.


MountVolume.SetUp failed for volume "test" : invalid character '/' looking for beginning of value

Describe the bug
After a fresh installation I tried to add an keyvault-flexvolumet and got a failure. I also checked the /var/log/kv-driver.log and found that there is also an error documented.
"ERROR: {"status": "Failure", "message": "validation failed, resourcegroup is empty"}"
Steps To Reproduce
Just do the steps which described in your readme.md
Expected behavior
Key Vault FlexVolume version
keyvault-flexvolume:v0.0.11
Access mode: service principal or pod identity
Service principal
Kubernetes version
v1.11.0+d4cacc0
Additional context

I can confirm this error also.

@Sifa91 @dirien I tried the steps from the readme with v0.0.11 and I can't recreate the error. The only time I can recreate the scenario is if I don't provide the resource group in the pod spec. Can you confirm the resource group is provided in the pod spec?

Problem solved. RPM JQ was missing.
You can close the issue.


chore: migrate to Owl Bot

Attempt 3.

@SurferJeffAtGoogle this looks really healthy, I think the problem is just the replace rules are perhaps interfering with linting? Do we only want to perform the replace when new code is added?


Add RuckigGenerator

Description
Please explain the changes you made, including a reference to the related issue if applicable
Checklist

[ ] Required by CI: Code is auto formatted using clang-format
[ ] Extend the tutorials / documentation reference
[ ] Document API changes relevant to the user in the MIGRATION.md notes
[ ] Create tests, which fail without this PR reference
[ ] Include a screenshot if changing a GUI
[ ] While waiting for someone to review your request, please help review another open pull request to support the maintainers

Please update the title and description of the PR so that at least I know what is it about... I really have no idea without looking at the source code in detail. Ok, I have an idea, but it should be written here in the PR. Something like a summary. What is it, why is it being added, what are the use cases and reasons for it.


Fixes #8 - Fix support for standard promises

Promises were breaking for me using es6-promise and rsvp. I suspect it is because "promise.done... has not been standardised" (https://www.promisejs.org/)
Without the .done() it works now!

That's interesting. I've noticed a lot of discussion around detecting unhandled exceptions without using done() and I realize done() didn't make it into the spec. I think it is probably best to end the promise chain if the done function is available. What do you think?

I don't think that it is necessary. If it was, perhaps I am doing all my promise chains in all my apps wrong? :-)

Unfortunately I think it is necessary for Q. Q doesn't know when to consider the exception uncaught unless you explicitly end the promise chain using done():
https://github.com/kriskowal/q#the-end
I think it is best to do the following:
function promiseToCallback(promise, callback, thisObj) {
    if (callback) {
        var finalPromise = promise.then(
            function(data) {
                callback(null, data);
            },
            function(err) {
                callback(err);
            });
        if (finalPromise.done) {
            finalPromise.done();
        }
    }

    return promise;
}

OK, updated. Thanks! Please republish to npm if merged.

oh crap, one sec

There we go.

Looks good. I'll go merge now and publish.

New version published with the fix<EMAIL_ADDRESS>Let us know if you see any issues. Thanks for the fix.


Implement HandleOpenContainer

Ok I'm not sure that's the best name so feel free to suggest better names but I still think that this handler can be useful for many things

Any place for this where simply handling interaction does not suffice? Also see #210.

We wouldn't have to check if the player interacted with a container. Also if you change your mind merge #210 and not mine

It seems that #210 is stale, so I think it's best to close that PR and continue here.


Is it possible to increase Gas Price  ?

Hi,
I wondered if it could be possible to increase the gas price or select one value?
I already look at the code. I saw that I could set the max quantity of gas used. But I found nothing on the Gas Price.
Thank you for your help and your work !!

Duplicate, see the other issues.

Sorry for the duplicate !! Thank you

Sorry for reviving a question, maybe just a suggestion could we allow the user to specify an optional parameter when instantiating uniswap? I am thinking this parameter can be a function that returns an integer (gas price in wei), so the user can specify the way he wishes to specify prices prior to each transaction (could be via Web3 strategy, ETH gas station, a fixed constant or otherwise).
If specified, this function will be triggered in uniswap._get_tx_params() to specify the gasPrice in the txn parameters. If it is not specified, then nothing will happen (i.e. web3 sets using its own strategy).
Let me know your thoughts!

Seems unnecessary when you can already use Web3 gas strategies to achieve
the same thing.
On Fri, 19 Mar 2021, 07:48 matt, @.***> wrote:

Sorry for reviving a question, maybe just a suggestion could we allow the
user to specify an optional parameter when instantiating uniswap? I am
thinking this parameter can be a function that returns an integer (gas
price in wei), so the user can specify the way he wishes to specify prices
prior to each transaction (could be via Web3 strategy, ETH gas station, a
fixed constant or otherwise).
If specified, this function will be triggered in uniswap._get_tx_params()
to specify the gasPrice in the txn parameters. If it is not specified,
then nothing will happen (i.e. web3 sets using its own strategy).
Let me know your thoughts!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/shanefontaine/uniswap-python/issues/70#issuecomment-802598584,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKXDOWGPOBA3ITQNYNET2DTELXVTANCNFSM4YX44RWQ
.


Fixed #31169 -- Adapted the parallel test runner to use spawn. [GSoC]

ticket-31169
TO DO:

~Ensure test runner works with --reverse~ Fixed (not sure how)
PostgreSQL:

~Investigate inspectdb failure~ Patch submitted to fix
~Fix m2m_through failure (fails on Windows with --parallel=1 as well)~ Fixed

~Add parallel support for Oracle, whether spawned or forked~ PR

Will fix flake8 failures in the more permanent PR.

Hi @lothemar, right, how are we getting on here? Fancy updating to latest master and we can start working out what the TODOs are?

Current status on Windows:
(django) PS C:\Users\carlt\src\django\tests> python .\runtests.py --parallel=4
...
----------------------------------------------------------------------
Ran 13544 tests in 148.219s

FAILED (failures=186, errors=3, skipped=1208, expected failures=4)

A lot of errors that look like this, which looks like a path setting issue:
======================================================================
FAIL: test_disallowed_abbreviated_options (user_commands.tests.CommandRunTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\carlt\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 59, in testPartExecutor
    yield
  File "C:\Users\carlt\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 628, in run
    testMethod()
  File "C:\Users\carlt\src\django\tests\user_commands\tests.py", line 288, in test_disallowed_abbreviated_options
    self.assertNoOutput(err)
  File "C:\Users\carlt\src\django\tests\admin_scripts\tests.py", line 149, in assertNoOutput
    self.assertEqual(len(stream), 0, "Stream should be empty: actually contains '%s'" % stream)
  File "C:\Users\carlt\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 852, in assertEqual
    assertion_func(first, second, msg=msg)
  File "C:\Users\carlt\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 845, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: 1236 != 0 : Stream should be empty: actually contains 'Traceback (most recent call last):
  File "./manage.py", line 11, in main
    from django.core.management import execute_from_command_line
  File "C:\Users\carlt\src\django\django\core\management\__init__.py", line 14, in <module>
    from django.core.management.base import (
  File "C:\Users\carlt\src\django\django\core\management\base.py", line 11, in <module>
    from django.core import checks
  File "C:\Users\carlt\src\django\django\core\checks\__init__.py", line 8, in <module>
    import django.core.checks.caches  # NOQA isort:skip
  File "C:\Users\carlt\src\django\django\core\checks\caches.py", line 2, in <module>
    from django.core.cache import DEFAULT_CACHE_ALIAS
  File "C:\Users\carlt\src\django\django\core\cache\__init__.py", line 15, in <module>
    from asgiref.local import Local
ModuleNotFoundError: No module named 'asgiref'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./manage.py", line 22, in <module>
    main()
  File "./manage.py", line 17, in main
    ) from exc
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
'

Current status on Windows:
(django) PS C:\Users\carlt\src\django\tests> python .\runtests.py --parallel=4
...
----------------------------------------------------------------------
Ran 13544 tests in 148.219s

FAILED (failures=186, errors=3, skipped=1208, expected failures=4)

A lot of errors that look like this, which looks like a path setting issue:
======================================================================
FAIL: test_disallowed_abbreviated_options (user_commands.tests.CommandRunTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\carlt\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 59, in testPartExecutor
    yield
  File "C:\Users\carlt\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 628, in run
    testMethod()
  File "C:\Users\carlt\src\django\tests\user_commands\tests.py", line 288, in test_disallowed_abbreviated_options
    self.assertNoOutput(err)
  File "C:\Users\carlt\src\django\tests\admin_scripts\tests.py", line 149, in assertNoOutput
    self.assertEqual(len(stream), 0, "Stream should be empty: actually contains '%s'" % stream)
  File "C:\Users\carlt\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 852, in assertEqual
    assertion_func(first, second, msg=msg)
  File "C:\Users\carlt\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 845, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: 1236 != 0 : Stream should be empty: actually contains 'Traceback (most recent call last):
  File "./manage.py", line 11, in main
    from django.core.management import execute_from_command_line
  File "C:\Users\carlt\src\django\django\core\management\__init__.py", line 14, in <module>
    from django.core.management.base import (
  File "C:\Users\carlt\src\django\django\core\management\base.py", line 11, in <module>
    from django.core import checks
  File "C:\Users\carlt\src\django\django\core\checks\__init__.py", line 8, in <module>
    import django.core.checks.caches  # NOQA isort:skip
  File "C:\Users\carlt\src\django\django\core\checks\caches.py", line 2, in <module>
    from django.core.cache import DEFAULT_CACHE_ALIAS
  File "C:\Users\carlt\src\django\django\core\cache\__init__.py", line 15, in <module>
    from asgiref.local import Local
ModuleNotFoundError: No module named 'asgiref'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./manage.py", line 22, in <module>
    main()
  File "./manage.py", line 17, in main
    ) from exc
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
'

Could you show me a full log? I'm not getting any of these errors on my local machine, nor did I see them in the previous jenkins builds.
I'm updating to master now and I'm writing a post on the forums

I just checked it out and did runtests.py —parallel=4. I’ll have a play...

@carltongibson I definitely think @modify_settings is the culprit. Still don't know where the error occurs but I suspect the settings manipulation it does ruins something.

My hunch was initially that the problem was in modify settings, but after testing, it's clear the problem is that the code determines these three modules to contain stale content types: model_options, model_package, custom_lookups.
I'm not sure why it only does that when run through a spawned process.

@carltongibson I've been testing the parallel test runner on PostgreSQL and I found tons of bugs (mostly related to django.contrib.postgres missing in the installed apps).
I've resolved 8 of them I think so far, but there's one that occurs even when not running in parallel. I think it might be a Windows bug or I might have an issue on my end. This is the last stubborn failure for PostgreSQL, other than the common check_framework failure
Could you try running runtests.py --parallel=1 inspectdb.tests.InspectDBTransactionalTests.test_foreign_data_wrapper on Windows?
It's failing on my machine with this error:
The error was: could not open file "/dev/null" for reading: No such file or directory
HINT:  COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql's \copy.

AssertionError: 'class InspectdbIrisForeignTable(models.Model):' not found in [...]

@lothemar That failure is probably my fault as the CI doesn't run the PostgreSQL tests on Windows. We used /dev/null as a cheat because otherwise we would have needed a file on the server readable by PostgreSQL itself which wasn't feasible.
We could try to substitute /dev/null for nul on Windows which should be equivalent, but I've never tried it. Have a look at os.devnull for this.

@pope1ni I opened up a ticket here and made a patch for it. Thanks for the insight!

Rewriting all backup calls to VACUUM INTO as Django supports Python versions <3.7 and backup was only introduced in 3.7.

Hi @lothemar I´m still getting the various failures. I've uploaded a log into a gist here

Hi @lothemar I´m still getting the various failures. I've uploaded a log into a gist here

@carltongibson I'll try to reproduce them on a different machine since I'm not getting these errors locally on my machine
Any idea why the path setting issue occurs?

Thus far none. (I need to look into it...) No stress: we’ll work it out.

Hey @carltongibson @lothemar
I think I've worked this out 😲
I ran the tests on my device and had the same number of test failures as Carlton. I did a bit of googling and found this bug in Python. https://bugs.python.org/issue39439
I was running it on Python 3.7.6, so I installed Python 3.8.3 (note: why does pyenv stop at 3.8.1!) and the tests now all pass. 🎉
Ran 13930 tests in 188.160s  <-- this is usually about 600 seconds 👍

@smithdc1 Great work!
I'm glad it's a simple fix. I wish they backported that change to earlier Python versions though.
This does introduce an issue for any user who's using a python version earlier than 3.8

https://github.com/python/cpython/pull/18157
It looks like it did get back ported to a later version of the python 3.7 series?

My mistake, I thought this bug manifested in 3.6, but the issue tracker on python was specific of 3.7+

Good hunting @smithdc1: let me bump Python and play with that. (We still support Python 3.6 so we need to establish what the exact state of play is.)

why does pyenv stop at...?

You need to update it. If you cloned then git pull, otherwise whatever it says for your installation method.

Hi @lothemar. I pulled and rebased, then seeing a lot of errors:

Test output...
(django) ~/Documents/Django-Stack/django/tests (pr/12646-gsoc-spawn)$ ./runtests.py
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Creating test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
Cloning test database for alias 'other'...
System check identified no issues (22 silenced).
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
Process ForkPoolWorker-1:
Traceback (most recent call last):
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/pool.py", line 105, in worker
    initializer(*initargs)
  File "/Users/carlton/Documents/Django-Stack/django/django/test/runner.py", line 317, in _init_worker
    setup_test_environment()
  File "/Users/carlton/Documents/Django-Stack/django/django/test/utils.py", line 115, in setup_test_environment
    "setup_test_environment() was already called and can't be called "
RuntimeError: setup_test_environment() was already called and can't be called again without first calling teardown_test_environment().
Process ForkPoolWorker-2:
Traceback (most recent call last):
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/pool.py", line 105, in worker
    initializer(*initargs)
  File "/Users/carlton/Documents/Django-Stack/django/django/test/runner.py", line 317, in _init_worker
    setup_test_environment()
  File "/Users/carlton/Documents/Django-Stack/django/django/test/utils.py", line 115, in setup_test_environment
    "setup_test_environment() was already called and can't be called "
RuntimeError: setup_test_environment() was already called and can't be called again without first calling teardown_test_environment().
Process ForkPoolWorker-3:
Traceback (most recent call last):
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/pool.py", line 105, in worker
    initializer(*initargs)
  File "/Users/carlton/Documents/Django-Stack/django/django/test/runner.py", line 317, in _init_worker
    setup_test_environment()
  File "/Users/carlton/Documents/Django-Stack/django/django/test/utils.py", line 115, in setup_test_environment
    "setup_test_environment() was already called and can't be called "
RuntimeError: setup_test_environment() was already called and can't be called again without first calling teardown_test_environment().
Process ForkPoolWorker-4:
Traceback (most recent call last):
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/pool.py", line 105, in worker
    initializer(*initargs)
  File "/Users/carlton/Documents/Django-Stack/django/django/test/runner.py", line 317, in _init_worker
    setup_test_environment()
  File "/Users/carlton/Documents/Django-Stack/django/django/test/utils.py", line 115, in setup_test_environment
    "setup_test_environment() was already called and can't be called "
RuntimeError: setup_test_environment() was already called and can't be called again without first calling teardown_test_environment().
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
Process ForkPoolWorker-5:
Traceback (most recent call last):
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/pool.py", line 105, in worker
    initializer(*initargs)
  File "/Users/carlton/Documents/Django-Stack/django/django/test/runner.py", line 317, in _init_worker
    setup_test_environment()
  File "/Users/carlton/Documents/Django-Stack/django/django/test/utils.py", line 115, in setup_test_environment
    "setup_test_environment() was already called and can't be called "
RuntimeError: setup_test_environment() was already called and can't be called again without first calling teardown_test_environment().
Process ForkPoolWorker-6:
Traceback (most recent call last):
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/pool.py", line 105, in worker
    initializer(*initargs)
  File "/Users/carlton/Documents/Django-Stack/django/django/test/runner.py", line 317, in _init_worker
    setup_test_environment()
  File "/Users/carlton/Documents/Django-Stack/django/django/test/utils.py", line 115, in setup_test_environment
    "setup_test_environment() was already called and can't be called "
RuntimeError: setup_test_environment() was already called and can't be called again without first calling teardown_test_environment().
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
Testing against Django installed in '/Users/carlton/Documents/Django-Stack/django/django' with up to 4 processes
Process ForkPoolWorker-7:
Traceback (most recent call last):
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/carlton/.pyenv/versions/3.7.7/lib/python3.7/multiprocessing/pool.py", line 105, in worker
    initializer(*initargs)

# continues

This on macOS with Python 3.7.7.

Update: but works fine with 3.8.

Hi @lothemar. I pulled and rebased, then seeing a lot of errors:
Test output...
This on macOS with Python 3.7.7.

This output is for forked processes. It's odd that it's giving this error for forked processes on macOS (I assume you're using macOS), while in the CI (which I presume uses a Linux distro) it does not.
Regardless of the underlying reason, I believe this will be fixed if the process_setup block only executes when the multiprocessing start method is spawn.

Hi @lothemar. Yes, it does use fork on 3.7 on macOS. I would have thought the branch would have picked it up 🧐
Query is why this error coming up? Parallel runs fine with fork on master.
(One option might be to switch to fork anyway for macOS, but I'm not yet sure that's necessary)

@carltongibson Added a fix that should address the macOS error. Can you confirm?

Super. I'll give it a run later. 👍

Hello @carltongibson
Been busy with university starting. I'm gonna take a stab at this over the weekend.
Could you explain to me how adding the supports_parallel_creation flag would deal with the SQLite issue? I think I'm misunderstanding what the issue is. The issue I see is the compatibility issue with Python 3.6 using VACUUM INTO.
The solution I'm proposing to deal with the compatibility issue is this: we can add more factors to the can_clone_databases flag such as DB version and OS to determine if the database is good for cloning or not. For example, SQLite 3.26 would be cloned on Linux but it would not be cloned on Windows.
The supports_parallel_creation flag is an idea I fully support. It'll make the roll-out and the code simpler.

Hi @lothemar Super. Thanks. (Uni takes priority! 🙂)
The idea was to move the is SQLite >= 3.27 (i.e. has VACUUM INTO) to the DB backend, as a property there. Then I was thinking can we generalise to e.g. Oracle 🤔 — I didn't think that 100% though yet, but the general thrust was as in the comment, to allow saying "This doesn't work on ..., yet".

The solution I'm proposing to deal with the compatibility issue is this: we can add more factors to the can_clone_databases flag such as DB version and OS to determine if the database is good for cloning or not. For example, SQLite 3.26 would be cloned on Linux but it would not be cloned on Windows.

Yep. Super. It's particularly Windows but, we need to fallback to the existing not-parallel approach if conditions X, Y, Z are not met.
I want to get this in, so let's chip away here now.

If I've understood correctly Django's main branch will drop Python 3.6 following the feature freeze in January for 3.2?
Python 3.7 (well the latest release in that series) supports 3.31 from my reading of the release notes, and therefore this sqlite issue goes away?
https://docs.python.org/3.7/whatsnew/changelog.html#id19

@smithdc1 — Yes... — I was hoping to get this in for 3.2 though... 😄 Maybe it's easier to wait (but it's on my list to sit down with before the feature freeze and see)

@smithdc1 — Yes... — I was hoping to get this in for 3.2 though... smile Maybe it's easier to wait (but it's on my list to sit down with before the feature freeze and see)

Users can use different versions of SQLite, and Python can be shipped with different versions of SQLite in some distros, so dropping support for Python 3.6 is only a part of this problem. Currently we support SQLite 3.8.3+ so bumping to 3.27 is a big change.
We generally support SQLite about 5 years after released (see e.g. ticket-30055), so we could bump to

SQLite 3.13.0 released in May 2016 in Django 3.2,
SQLite 3.17.0 released in February 2017 in Django 4.0,
SQLite 3.27.0 released in February 2019 in Django 5.0.

@carltongibson I can get it in before the feature freeze. I'll start working on this actively again by the end of December, starting from the 26th

Hey @lothemar — supert!
This makes a big difference running the tests on Windows. It would be a great change if we can get it in (even if just for the base tests with SQLite)

This makes a big difference running the tests on Windows.

Just to put this into context, my raspberry pi runs the tests faster than my 10th gen i5 laptop.

Hey, just wanted to let everyone know I've picked up this PR again, and will be addressing Chris' comments. I've rebased onto the latest master & handled the existing merge conflicts. All that's left is to address the relevant comments.

Superseded by #15421.


Revert "Insert text on double tap [hacky solution]"

Sorry to revert but this is completely breaking zooming in/out with two fingers as it creates a text node.
Reverts excalidraw/excalidraw#1155

cc  @Fausto95 @j-f1


transpileModule does not account for package.json type when ran with node16/nodenext module setting

Bug Report
🔎 Search Terms
transpileModule node16 nodenext
🕗 Version & Regression Information
Checked with
@4.9.4
@beta - 5.0.0-beta
@next - 5.1.0-dev.20230227
It's only about node16/nodenext and therefore doesn't affect TS versions before 4.7
⏯ Playground Link
https://github.com/romkhub/ts-transpile-node16
The repo illustrates how tsc provides ESM, while transpileModule gives CJS upon the same setup.
After debugging I see it related to this code which, as I understand, essentially hides all the files except the one transpiled.
My real-world scenario is an attempt to use node16 TS setup in a repo built with webpack and ts-loader in transpileOnly mode. With transpileOnly: true I get CJS, transpileOnly: false - ESM
🙁 Actual behavior
transpileModule does not recognize "type": "module" in package.json and emit CJS, while tsc emits ESM
🙂 Expected behavior
JS emitted by transpileModule is the same as of tsc

Hitting the same problem. Seems like the cause of it is the following:

a custom compilerHost is created inside of transpileModule()
the fileExists() method of the host is only able to check existence of the input file path: https://github.com/microsoft/TypeScript/blob/27d3454f07cb41a24275d7f1de07621b8217f739/src/services/transpile.ts#L108
the host is passed to getImpliedNodeFormatForFile() function, which is responsible to find nearest package.json and to look at its the "type" field
this job is done by getPackageJsonInfo() function, which calls host.fileExists() on each of potential packageJsonPaths: https://github.com/microsoft/TypeScript/blob/27d3454f07cb41a24275d7f1de07621b8217f739/src/compiler/moduleNameResolver.ts#L2263

Unfortunately the host cannot know about package.json files, because it is only able to check the existence of the input file path.

Might be this is expected behaviour. For instance, if the transpileModule() function is intended to work with visual files only and it shouldn’t know anything about the real file system.

Here is a patch of the compilerHost which makes "module": "node16" compiler option work as expected:
- fileExists: (fileName): boolean => fileName === inputFileName,
- readFile: () => "",
+ fileExists: (fileName) => fileName.endsWith("package.json") ? sys.fileExists(fileName) : fileName === inputFileName,
+ readFile: (fileName) => fileName.endsWith("package.json") ? sys.readFile(fileName) : "",

I'll wait for @rbuckton to make a final call, but my impression is that the entire point of transpileModule is to be a text-only transform process. It shouldn't attempt to hit the disk at all; it especially cannot call sys functions.

I concur with @RyanCavanaugh. transpileModule shouldn't interact with the file system at all. If you want it to treat the input file as ESM, you would need to provide a fileName to the transpileOptions argument with a .mts (or .mtsx) extension. If that isn't sufficient, we could consider adding an option to TranspileOptions to override the implied node format.


Leaflet Benchmarks?

Do you have a standard way of benchmarking Leaflet?  If I'm contributing a pull request, I would like to make sure that I'm improving or at least maintaining current performance.

There are no formal benchmarks yet. It's pretty hard to measure performance of things that are reliant on DOM. If you think your pull request can affect performance, you're welcome to write a benchmark specific to the feature you're adding.


nvm doesn't work

Description
nvm command not found. It should exist based on https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#tools
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
20230317.1
Is it regression?
don't know
Expected behavior
nvm is available on PATH
Actual behavior
nvm doesn't exist
Repro steps
name: Main
on: push
jobs:
  build:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v3
      - run: nvm ls

@Santas Hello
the
nvm in the image is not intended for a direct call technically, you can use actions/setup-note to handle this.
Alternatively, you can add the source ~/.bash_profile call into your job.
I am going to close this ticket, feel free to reach us out again if you have questions left.


Bumping bouncycastle to v1.78

Describe the solution you are proposing
Bumping bouncycastle to v1.78.
Resolves https://github.com/advisories/GHSA-m44j-cfrm-g8qc, https://github.com/advisories/GHSA-v435-xc8x-wvr9 and https://github.com/advisories/GHSA-8xfc-gm6g-vgpv.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Check List

[ ] Backport Labels added.
[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Approving, Please create a issue for build failure fix.

https://github.com/opensearch-project/performance-analyzer-rca/issues/564 creacted

Merging as admin and bypassing the CI check for this dep upgrade. @psychbot @Gaganjuneja @nishchay21 please follow-up by resolving the issues seen in the CI checks on older release branches.


Add support Tencent Cloud COS vistual hosted style.

Tencent Cloud COS does not support Path-style, so we need to use virtual-hosted-style.
refer to
Tencent Cloud COS Regions and Access Endpoints
Tencent Cloud COS path-style 域名相关问题

We are no longer accepting these endpoints in this fashion, we have to make room for other vendors if needed but via a different configuration.
We cannot keep adding new functions in this manner. Thanks for the PR but we can't accept it in current form.

We cannot keep adding new functions in this manner. Thanks for the PR but we can't accept it in current form.

I have also encountered this issue where BucketLookupAuto policy cannot accurately find the appropriate domain style.
@harshavardhana Emmm, what form do you perfer to fix this issue?


[BUG]Extremely Slow and Failing fvm install Command

Before creating a bug report please make check the following

[x] You have read our FAQ
[x] If you have used flutter. Please install correctly, run pub cache repair. Close the terminal and try again.
[x] If you are on Windows. Make sure you are running the terminal as administrator or with developer permissions.
[x] Run fvm doctor if possible and add the output to the issue.

fvm doctor

FVM Version: 2.4.1
___________________________________________________

FVM config found:
___________________________________________________

Project: radio_qth_map
Directory: /home/numa08/src/github.com/covelline/radio_qth_map/app/radio_qth_map
Version: 3.16.4
Project Flavor: None selected
___________________________________________________

Version is currently cached locally.

Cache Path: /home/numa08/fvm/versions/3.16.4
Channel: false
SDK Version: 3.16.4

IDE Links
VSCode: .fvm/flutter_sdk
Android Studio: /home/numa08/src/github.com/covelline/radio_qth_map/app/radio_qth_map/.fvm/flutter_sdk

Configured env paths:
___________________________________________________

Flutter:

Dart:
/home/linuxbrew/.linuxbrew/bin/dart

FVM_HOME:
not set

Describe the bug
When using the fvm install command to clone Flutter, I am experiencing significantly slow download speeds for the source code. Here is a copy from the terminal, indicating speeds around 80 ~ 200 KiB/s.

To troubleshoot the issue, I attempted the following:

Manual Git Clone:
I executed git clone git@github.com:flutter/flutter.git -b 3.16.4. This process worked fine with speeds around 10 MiB/s, indicating no issues with cloning speed.

Using Process.start:
Realizing that the git execution is ultimately handled by Dart's Process.start, I wrote and executed the following code to measure the speed .

import 'dart:io';

void main() async {
    final p = await Process.start(
        'git',
        ['clone',
        'git@github.com:flutter/flutter.git',
        '-b',
        '3.16.4',
        ],
        runInShell: true,
        mode: ProcessStartMode.inheritStdio
        );
}

The result was similar to the first test, with cloning speeds of about 10 MiB/s.

Testing with git.dart Used Internally by FVM:
To see if the issue lies within git.dart, which is used internally by FVM, I wrote and executed the following code to measure the speed .

import 'package:test_app/test_app.dart' as test_app;
import 'package:git/git.dart';

void main(List<String> arguments) async {
  await runGit(
    [
      'clone',
      '--progress',
      '-c',
      'advice.detachedHead=false',
      '-b',
      '3.16.4',
      'git@github.com:flutter/flutter.git',
    ],
    echoOutput: true,
  );
}

Like the second test, it confirmed sufficient speeds.

It seems the issue might be within FVM's internal implementation or the command-line options being executed. I am unsure of how to resolve this but would appreciate guidance on further steps for a detailed investigation.
To Reproduce
Steps to reproduce the behavior:

Go to terminal..
Run fvm use stable...
Check...
See error

Expected behavior
A clear and concise description of what you expected to happen.
I expect the cloning process to complete at speeds comparable to the standard git command, typically in the range of several tens of MiB/s.
Logs
Please provide the verbose logs by running --verbose after the command.
fvm install --verbose
Flutter "3.16.4" is not installed.

Installing version: 3.16.4...
Cloning into '/home/numa08/fvm/versions/3.16.4'...
remote: Enumerating objects: 485131, done.
remote: Counting objects: 100% (41909/41909), done.
remote: Compressing objects: 100% (1593/1593), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 4595 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
[ 2m 41.448s] Cloning into '/home/numa08/fvm/versions/3.16.4'...
remote: Enumerating objects: 485131, done.
remote: Counting objects: 100% (41909/41909), done.
remote: Compressing objects: 100% (1593/1593), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 4595 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

[ 2m 41.449s] Internal Error: Could not git clone 3.16.4

Could not install 3.16.4

Please run command with  --verbose if you want more information

Desktop (please complete the following information):

OS: Ubuntu (WSL2)
FVM Version 2.4.1
If Windows: Which Powershell are you using?

Additional context
Add any other context about the problem here.
I considered the possibility of using the --filter=tree:0 option in the clone command to only clone necessary information.

I'm facing this issue as well! How do we solve it? I'd try the manual method you said and report back

Thank you for your comment.
I also tried cloning manually. The command I used is as follows.
cd $HOME/fvm/versions
git clone git@github.com:flutter/flutter.git -b 3.16.4 --filter=tree:0 ./3.16.4
# and go your project directory that is managed by fvm
fvm use

facing same issue

I am facing same issue with -filter=tree command as well

Maybe this was a hick up on git? if not can you do the same command on version 3.0 beta 5?

github is also slow ... can be an issue. !!!

but i am trying to clone using
git clone git@github.com:flutter/flutter.git -b 3.16.5 --filter=tree:0 ./3.16.5
but it doesn't consider it as a clean setup and delete the folder and its content @leoafarias

I got it working with this --filter=tree command

Be aware of any command that does partial clones, as flutter tooling is tightly dependent on the clone itself and can cause weird issue due to release channel detection and feature flags

I had same problem.
[64] % fvm doctor

No FVM config found:
/Users/yao
Fvm will run the version in your PATH env: /Users/yao/fvm/versions/stable/bin/flutter

Configured env paths:
___________________________________________________

Flutter:
/Users/yao/fvm/versions/stable/bin/flutter

Dart:
/opt/homebrew/bin/dart

FVM_HOME:
not set

i'm facing the same issue, my internet connection is good everything is downloading with the speed of 5mb/s on browser but when i run 'fvm install' then speed is 50, 100, 200, 400 kb/s and then it suddenly stops, please solve this issue.

When you have an issue like this, can you run the clone command through git? This seems to be a git issue, as fvm is running the clone command behind the scenes. Also, I suggest using version 3.0.0 beta, as it does some optimizations behind the scenes.

I was able to install it by changing my git settings.
$ git config --global http.postBuffer 52428800
$ git config --global core.compression 0

$ fvm install 3.16.8
Flutter "3.16.8" is not installed.

Installing version: 3.16.8...
Cloning into '/Users/shotaroaoki/fvm/versions/3.16.8'...
remote: Enumerating objects: 490967, done.
remote: Counting objects: 100% (94009/94009), done.
remote: Compressing objects: 100% (2683/2683), done.
remote: Total 490967 (delta 91704), reused 91326 (delta 91326), pack-reused 396958
Receiving objects: 100% (490967/490967), 87.69 MiB | 822.00 KiB/s, done.
Resolving deltas: 100% (399354/399354), done.
Updating files: 100% (7856/7856), done.
HEAD is now at 67457e669f [flutter_releases] Flutter stable 3.16.8 Framework Cherrypicks (#141648)
Downloading Darwin arm64 Dart SDK from Flutter engine 6e2ea58a5ccbefcfadc2d4b7b8045fc6c20ab812...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  207M  100  207M    0     0  3702k      0  0:00:57  0:00:57 --:--:-- 3690k
Building flutter tool...
Resolving dependencies...
Got dependencies.
Flutter 3.16.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 67457e669f (7 days ago) • 2024-01-16 16:22:29 -0800
Engine • revision 6e2ea58a5c
Tools • Dart 3.2.5 • DevTools 2.28.5

@leoafarias
I am facing issue on latest fvm version as well. How to utilize the Git mirroring for faster cloning?

It should already be enabled. Can you try to clone outside of fvm to see if it's an issue with fvm itself?

Anyone with a working solution for this problem ?

still the same issue

Sorry guys not sure what to do here.. the information is not as clear if it was a git hick up or if  its happening internally...


Unable to resolve module @openmobilehub/maps-plugin-mapbox

Hello, I'm trying to run the app, I'm using: core and openstreetmaps.
    "@openmobilehub/maps-core": "^1.0.0",
    "@openmobilehub/maps-plugin-openstreetmap": "^1.0.0",

Then I run: npm run android:
error Unable to resolve module @openmobilehub/maps-plugin-mapbox from<EMAIL_ADDRESS>@openmobilehub/maps-plugin-mapbox could not be found within the project or in these directories:
  node_modules/@openmobilehub/maps-core/node_modules
  node_modules
  ../../../node_modules
> 1 | export default require('@openmobilehub/maps-plugin-mapbox');
    |                         ^
  2 |.

Hi @TrejoCode! Thanks for reporting the issue. Can you please specify the react-native version that you use, so we can reproduce it and work on the fix.

Hi @TrejoCode! Thanks for reporting the issue. Can you please specify the react-native version that you use, so we can reproduce it and work on the fix.

I'm sorry I forgot it.
React Native 0.73.6

@TrejoCode Thanks, I want let you know that later this week we have planning session and we are going to take care about this issue. I will get back to you once we have some updates.

@Nataliagros Friendly ping.

Hi @TrejoCode - thanks for replying and apologies for delayed answer
Does this issue still exists?


Feature addnginxdockercomp

Changed production docker-compose file included to match current environment needs (it loads a prod.env file)
Also, added nginx and corresponding configuration as a container.

Should I approve this? So the docker-compose was change to include prod.env? Was another change done?

I'm not sure now... Let me check the docker-compse file again. I did
configure it to load the prod.env file but I didn't fix the versions like
in your file.
On Wednesday, June 8, 2016, Victor Fernandez<EMAIL_ADDRESS>wrote:

Should I approve this? So the docker-compose was change to include
prod.env? Was another change done?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/roman0316/misas/pull/31#issuecomment-224804803, or mute
the thread
https://github.com/notifications/unsubscribe/ABduYh4sTE-8_luvBZ6EeFbOXNt5MV21ks5qJ6dQgaJpZM4IviXf
.

--
Ricardo Román | INT
|<EMAIL_ADDRESS>|

Reviewed and approved!


Multi-gpu training issue: device cuda mismatch

Hi, in training I encountered RuntimeError: Function SqueezeBackward1 returned an invalid gradient at index 0 - expected device cuda:3 but got cuda:4. In the paper I remember you used 8 GPUs. Have you encountered this issue before? Thanks.
The command I am using is python3 train.py --datadir ../../sthsthv2 --dataset st2stv2 -d 101 --groups 16 --logdir ./logs --lr 0.01 -b 64 --dropout 0.5 -j 36 --blending_frames 3 --epochs 50 --disable_scaleup --imagenet_blnet_pretrained. And I have the pretrained model ready under ./pretrained.
The environment I am using under Ubuntu18.04.3 LTS is:
#Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main
ca-certificates           2019.11.27                    0
certifi                   2019.11.28               py37_0
libedit                   3.1.20181209         hc058e9b_0
libffi                    3.2.1                hd88cf55_4
libgcc-ng                 9.1.0                hdf63c60_0
libstdcxx-ng              9.1.0                hdf63c60_0
ncurses                   6.1                  he6710b0_1
numpy                     1.17.4                   pypi_0    pypi
openssl                   1.1.1d               h7b6447c_3
pillow                    6.2.1                    pypi_0    pypi
pip                       19.3.1                   py37_0
protobuf                  3.11.1                   pypi_0    pypi
python                    3.7.5                h0371630_0
readline                  7.0                  h7b6447c_5
scikit-video              1.1.11                   pypi_0    pypi
scipy                     1.3.3                    pypi_0    pypi
setuptools                42.0.2                   py37_0
six                       1.13.0                   pypi_0    pypi
sqlite                    3.30.1               h7b6447c_0
tensorboard-logger        0.1.0                    pypi_0    pypi
tk                        8.6.8                hbc83047_0
torch                     1.3.1                    pypi_0    pypi
torchvision               0.4.2                    pypi_0    pypi
tqdm                      4.40.2                   pypi_0    pypi
wheel                     0.33.6                   py37_0
xz                        5.2.4                h14c3975_4
zlib                      1.2.11               h7b6447c_3

should be resolved by fadab3b4. do you mind trying it again? thanks

Thanks for your reply. I tried the latest code but still encountered the same issue. I also tried different pytorch version (1.3.1, 1.2.0, 1.1.0) and different servers and the problem persists. Have you encountered this problem from your side?

Sorry I found out it was my fault (the updated version not sync to the remote servers...) Now the updated version works. Thanks for your help~


update ingress version

Hello!
Thanks for great documents!
Update ingress apiVersion on https://kubernetes.io/ja/docs/concepts/services-networking/ingress/
It's looks like networking.k8s.io/v1beta1 is already deprecated on v1.19.
Error:
Warning: networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress

Thanks!

@yuta-ron
Hello. Thank you for your PR.
We manage translation based on milestone. We will evaluate if we can apply this after merging current work for 1.18.
Ref. https://kubernetes.io/ja/docs/contribute/localization/


Use full community, collection and item names in breadcrumb navigation

Description
Small PR based in Angular Issue
Expected result:

@jtimal : This looks to be failing a single spec/test... the should render the breadcrumbs test here in breadcrumbs.component.spec.ts: https://github.com/DSpace/dspace-angular/blob/main/src/app/breadcrumbs/breadcrumbs.component.spec.ts#L75
Could you look into this? It seems like it's directly related to the small changes you've made in this PR...and hopefully it'll be an easy test to fix.

Thank you Tim,
I have already made a correction and it seems to pass the tests.
Thanks!

@atarix83 : I asked @jtimal to remove the tooltip from the final part of the breadcrumbs, as it's not necessary to show the tooltip in that situation, as the full title is visible just below the breadcrumbs.  In other words, tooltips should only be displayed for titles of parent objects in the breadcrumbs.
This is similar to 6.x behavior, as on the Item page itself, 6.x never displayed the full title in the breadcrumbs.  Instead it just displayed "View Item".

👍 Re-tested today. Thanks @jtimal ! This looks good to me now.
In today's meeting, @atarix83 and I briefly discussed this and agreed that the tooltip isn't necessary on the last part of the breadcrumb (the current page) as the title is always displayed in full on the current page.
Therefore, I'm going to go ahead and merge this immediately.

Thank you very much for all your help !


Unwanted scrolling in reply headers on mobile. (MC mobile allows you to shake people violently)

When scrolling the page on a mobile, the page scrolling is interrupted by scrolling within the header of the reply.
No scrolling should happen inside the header of replies.
See a user report here https://minichan.org/topic/55099 for an alternative perspective.

Sounds like the CSS was required for cites and quotes.
https://minichan.org/topic/55327

That seems to have been a separate issue where webpack enabled strict mode for javascript, which some of the ancient functions did not like. Fixed in 74bd8cd47a2df661cd92412fca62711ea2ec419a and f6398f4a13ae2d5a5aaed066d27d5364f6a3e1a2


Select ng-model issue

Hello, I got working this wrapper in my application, but I found out that when you set a ng-model value in a select, the validation just stops working, I don't know if this is an angular issue or the wrapper, or jquery validate.
JSFiddle example

In your example user is undefined, so angular generates the following <option> in your <select>:
<option value="? undefined:undefined ?" selected="selected"></option>

jQuery Validate thinks this is valid, because "? undefined:undefined ?" is a valid 'required' value. Only if the value is not set (value=""), the validator will mark it as invalid.


app freezes when running with custom embedder in flutter stable 2.2

It seems like flutter commit 0c00942 broke something in flutter-pi. Any app I run gets stuck after the first frame. Touch events still reach the dart VM, but apparently flutter never requests a new frame using the the embedder vsync callback.
The previous engine roll commit (flutter commit 33a9d6c) works absolutely fine however. Here's the diff between the two engine commits
The engine commits in between are vsync-related, and that'd make sense because a colleague of mine has an embedder that doesn't specify the vsync callback, and he doesn't experience the issue.
Anyone have some idea what could be going on? I can try to create a minimal example for reproducing the issue if that helps
EDIT: flutter doctor and reproduction steps:
hannes@pop-os:~/devel/flutter_sdk$ flutter doctor -v
[✓] Flutter (Channel unknown, 2.2.0, on Linux, locale de_DE.UTF-8)
    • Flutter version 2.2.0 at /home/hannes/devel/flutter_sdk
    • Framework revision b22742018b (vor 13 Tagen), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /home/hannes/devel/android-studio
    • Flutter plugin version 56.0.2
    • Dart plugin version 202.8488
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] Connected device (2 available)
    • Chrome (web)          • chrome • web-javascript • Google Chrome 90.0.4430.93
    • Raspberry Pi (mobile) • pi     • linux-arm64    • Raspberry Pi 4 Model B+

! Doctor found issues in 1 category.

Steps to reproduce
I have a minimal embedder reproducing the issue: minimal embedder. Needs to be compiled with -lsystemd and -lflutter_engine (so also make sure you have the libsystemd-dev package  installed)

build the engine with custom embedders as the target, either the 2.2 stable one or the c4678d65a62b one, which is the first one that shows the issue.
put the compiled icudtl.dat inside /usr/lib (on the device you want to run the custom embedder on)
compile the minimal embedder. This needs the flutter_embedder.h of the engine build in the same directory.
checkout the correct flutter SDK: flutter channel stable for the 2.2 stable one or git checkout 0c00942 for the first SDK that shows the issue.
create a new hello world app: flutter create hello_world
inside the onPressed callback of the floating action button, add some print command like print("button was pressed");
build the asset bundle for that app: flutter build bundle
deploy the asset bundle to /tmp/hello_world on the device you want to run the embedder on:

for example, rsync -a ./build/flutter_assets/ pi@raspberrypi:/tmp/hello_world

run the embedder
If you run it, you'll see:

flutter requests a frame,
that frame request is responded to by the embedder
flutter presents a frame
flutter requests a new frame
that frame request is responded to by the embedder
flutter requests yet another frame
that frame request is queued since the previous frame has not yet been presented
nothing happens after that, flutter will never present or request anything again

EDIT: Added a minimal embedder reproducing the issue.

Hi @ardera
Can you please provide your flutter doctor -v, a complete reproducible minimal code sample, and complete and complete reproducible steps
Thank you

@TahaTesser added the info

I'm going to reason about the threading and vsync handling in the reproducible use case. It would also be helpful if you also pasted the thread dump from gdb via thread apply all bt.

Sure. This is with SDK 0c00942 and engine c4678d6:

(gdb) thread apply all bt

Thread 16 (Thread 0xad9fe3e0 (LWP 24820)):
#0  futex_reltimed_wait_cancelable (private=0, reltime=0xad9fd810, expected=0,
    futex_word=0x31784) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0xad9fd8a4, mutex=0x2, cond=0x31758)
    at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x31758, mutex=0x2, abstime=0xad9fd8a4)
    at pthread_cond_wait.c:667
#3  0xb5ca5ed6 in dart::Monitor::WaitMicros (this=0x31740, micros=4999999)
    at ../../../engine/src/third_party/dart/runtime/vm/os_thread_linux.cc:467
#4  0xb5c0764a in dart::MonitorLocker::WaitMicros (this=0xad9fdd4c,
    micros=4999999)
    at ../../../engine/src/third_party/dart/runtime/vm/lockers.h:181
#5  0xb5d19794 in dart::ThreadPool::WorkerLoop (this=0x31738, worker=0x29e10)
    at ../../../engine/src/third_party/dart/runtime/vm/thread_pool.cc:183
#6  0xb5d19bee in dart::ThreadPool::Worker::Main (args=171536)
    at ../../../engine/src/third_party/dart/runtime/vm/thread_pool.cc:323
#7  0xb5ca53ae in dart::ThreadStart (data_ptr=0x28618)
    at ../../../engine/src/third_party/dart/runtime/vm/os_thread_linux.cc:153
#8  0xb5038494 in start_thread (arg=0xad9fe3e0) at pthread_create.c:486
#9  0xb5146578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 14 (Thread 0xaf6803e0 (LWP 24816)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0xb452b448) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0xb452b420) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0xb452b420, mutex=0x0) at pthread_cond_wait.c:655
#3  0xb5ca5e66 in dart::Monitor::WaitMicros (this=0xb452b408, micros=0) at ../../../engine/src/third_party/dart/runtime/vm/os_thread_linux.cc:462
#4  0xb5ca5e0c in dart::Monitor::Wait (this=0xb452b408, millis=0) at ../../../engine/src/third_party/dart/runtime/vm/os_thread_linux.cc:447
#5  0xb5be14ca in dart::MonitorLocker::Wait (this=0xaf67fc74, millis=0) at ../../../engine/src/third_party/dart/runtime/vm/lockers.h:173
#6  0xb5d27c84 in dart::BackgroundCompiler::Run (this=0xb452b400) at ../../../engine/src/third_party/dart/runtime/vm/compiler/jit/compiler.cc:1193
#7  0xb5d29728 in dart::BackgroundCompilerTask::Run (this=0xb452c718) at ../../../engine/src/third_party/dart/runtime/vm/compiler/jit/compiler.cc:1117
#8  0xb5d196d6 in dart::ThreadPool::WorkerLoop (this=0x31738, worker=0xb4540958) at ../../../engine/src/third_party/dart/runtime/vm/thread_pool.cc:158
#9  0xb5d19bee in dart::ThreadPool::Worker::Main (args=3025406296) at ../../../engine/src/third_party/dart/runtime/vm/thread_pool.cc:323
#10 0xb5ca53ae in dart::ThreadStart (data_ptr=0xb452e610) at ../../../engine/src/third_party/dart/runtime/vm/os_thread_linux.cc:153
#11 0xb5038494 in start_thread (arg=0xaf6803e0) at pthread_create.c:486
#12 0xb5146578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0xb3cfe3e0 (LWP 24809)):
#0  0xb51469d0 in epoll_wait (epfd=<optimized out>, events=0xb3cfdc30, maxevents=16, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0xb5a9cc42 in dart::bin::EventHandlerImplementation::Poll (args=176896) at ../../../engine/src/third_party/dart/runtime/bin/eventhandler_linux.cc:392
#2  0xb5ab8ffa in dart::bin::ThreadStart (data_ptr=0x2ae90) at ../../../engine/src/third_party/dart/runtime/bin/thread_linux.cc:93
#3  0xb5038494 in start_thread (arg=0xb3cfe3e0) at pthread_create.c:486
#4  0xb5146578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0xaeafe3e0 (LWP 24808)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x2aab8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0x2aa90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x2aa90, mutex=0x0) at pthread_cond_wait.c:655
#3  0xb53593a6 in std::__1::__libcpp_condvar_wait (__cv=0x2aa90, __m=0x2aa78) at ../../../engine/src/third_party/libcxx/include/__threading_support:288
#4  0xb5359364 in std::__1::condition_variable::wait (this=0x2aa90, lk=...) at ../../../engine/src/third_party/libcxx/src/condition_variable.cpp:44
#5  0xb5381eee in std::__1::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_1>(std::__1::unique_lock<std::__1::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_1) (this=0x2aa90, __lk=..., __pred=...) at ../../../engine/src/third_party/libcxx/include/__mutex_base:364
#6  0xb5381d80 in fml::ConcurrentMessageLoop::WorkerMain (this=0x2aa60) at ../../../engine/src/flutter/fml/concurrent_message_loop.cc:80
#7  0xb5384176 in fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0::operator()() const (this=0x2add4) at ../../../engine/src/flutter/fml/concurrent_message_loop.cc:26
#8  0xb5384112 in std::__1::__invoke<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0> (__f=...) at ../../../engine/src/third_party/libcxx/include/type_traits:3530
#9  0xb53840d6 in std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0>&, std::__1::__tuple_indices<>) (__t=...) at ../../../engine/src/third_party/libcxx/include/thread:341
#10 0xb5383dae in std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0> >(void*) (__vp=0x2add0) at ../../../engine/src/third_party/libcxx/include/thread:351
#11 0xb5038494 in start_thread (arg=0xaeafe3e0) at pthread_create.c:486
#12 0xb5146578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0xaf2ff3e0 (LWP 24807)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x2aab8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0x2aa90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x2aa90, mutex=0x0) at pthread_cond_wait.c:655
#3  0xb53593a6 in std::__1::__libcpp_condvar_wait (__cv=0x2aa90, __m=0x2aa78) at ../../../engine/src/third_party/libcxx/include/__threading_support:288
#4  0xb5359364 in std::__1::condition_variable::wait (this=0x2aa90, lk=...) at ../../../engine/src/third_party/libcxx/src/condition_variable.cpp:44
#5  0xb5381eee in std::__1::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_1>(std::__1::unique_lock<std::__1::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_1) (this=0x2aa90, __lk=..., __pred=...) at ../../../engine/src/third_party/libcxx/include/__mutex_base:364
#6  0xb5381d80 in fml::ConcurrentMessageLoop::WorkerMain (this=0x2aa60) at ../../../engine/src/flutter/fml/concurrent_message_loop.cc:80
#7  0xb5384176 in fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0::operator()() const (this=0x2ad04) at ../../../engine/src/flutter/fml/concurrent_message_loop.cc:26
#8  0xb5384112 in std::__1::__invoke<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0> (__f=...) at ../../../engine/src/third_party/libcxx/include/type_traits:3530
#9  0xb53840d6 in std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0>&, std::__1::__tuple_indices<>) (__t=...) at ../../../engine/src/third_party/libcxx/include/thread:341
#10 0xb5383dae in std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0> >(void*) (__vp=0x2ad00) at ../../../engine/src/third_party/libcxx/include/thread:351
#11 0xb5038494 in start_thread (arg=0xaf2ff3e0) at pthread_create.c:486
#12 0xb5146578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0xafe813e0 (LWP 24806)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x2aab8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0x2aa90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x2aa90, mutex=0x0) at pthread_cond_wait.c:655
#3  0xb53593a6 in std::__1::__libcpp_condvar_wait (__cv=0x2aa90, __m=0x2aa78) at ../../../engine/src/third_party/libcxx/include/__threading_support:288
#4  0xb5359364 in std::__1::condition_variable::wait (this=0x2aa90, lk=...) at ../../../engine/src/third_party/libcxx/src/condition_variable.cpp:44
#5  0xb5381eee in std::__1::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_1>(std::__1::unique_lock<std::__1::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_1) (this=0x2aa90, __lk=..., __pred=...) at ../../../engine/src/third_party/libcxx/include/__mutex_base:364
#6  0xb5381d80 in fml::ConcurrentMessageLoop::WorkerMain (this=0x2aa60) at ../../../engine/src/flutter/fml/concurrent_message_loop.cc:80
#7  0xb5384176 in fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0::operator()() const (this=0x2ac34) at ../../../engine/src/flutter/fml/concurrent_message_loop.cc:26
#8  0xb5384112 in std::__1::__invoke<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0> (__f=...) at ../../../engine/src/third_party/libcxx/include/type_traits:3530
#9  0xb53840d6 in std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0>&, std::__1::__tuple_indices<>) (__t=...) at ../../../engine/src/third_party/libcxx/include/thread:341
#10 0xb5383dae in std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0> >(void*) (__vp=0x2ac30) at ../../../engine/src/third_party/libcxx/include/thread:351
#11 0xb5038494 in start_thread (arg=0xafe813e0) at pthread_create.c:486
#12 0xb5146578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0xb06823e0 (LWP 24805)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x2aab8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0x2aa90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x2aa90, mutex=0x0) at pthread_cond_wait.c:655
#3  0xb53593a6 in std::__1::__libcpp_condvar_wait (__cv=0x2aa90, __m=0x2aa78) at ../../../engine/src/third_party/libcxx/include/__threading_support:288
#4  0xb5359364 in std::__1::condition_variable::wait (this=0x2aa90, lk=...) at ../../../engine/src/third_party/libcxx/src/condition_variable.cpp:44
#5  0xb5381eee in std::__1::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_1>(std::__1::unique_lock<std::__1::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_1) (this=0x2aa90, __lk=..., __pred=...) at ../../../engine/src/third_party/libcxx/include/__mutex_base:364
#6  0xb5381d80 in fml::ConcurrentMessageLoop::WorkerMain (this=0x2aa60) at ../../../engine/src/flutter/fml/concurrent_message_loop.cc:80
#7  0xb5384176 in fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0::operator()() const (this=0x2ab44) at ../../../engine/src/flutter/fml/concurrent_message_loop.cc:26
#8  0xb5384112 in std::__1::__invoke<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0> (__f=...) at ../../../engine/src/third_party/libcxx/include/type_traits:3530
#9  0xb53840d6 in std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0>&, std::__1::__tuple_indices<>) (__t=...) at ../../../engine/src/third_party/libcxx/include/thread:341
#10 0xb5383dae in std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned int)::$_0> >(void*) (__vp=0x2ab40) at ../../../engine/src/third_party/libcxx/include/thread:351
#11 0xb5038494 in start_thread (arg=0xb06823e0) at pthread_create.c:486
#12 0xb5146578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xb3aff3e0 (LWP 24804)):
#0  0xb51469d0 in epoll_wait (epfd=<optimized out>, events=0xb3afed40, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0xb53961bc in fml::MessageLoopLinux::Run (this=0xb31005c8) at ../../../engine/src/flutter/fml/platform/linux/message_loop_linux.cc:53
#2  0xb538c35c in fml::MessageLoopImpl::DoRun (this=0xb31005c8) at ../../../engine/src/flutter/fml/message_loop_impl.cc:96
#3  0xb538be30 in fml::MessageLoop::Run (this=0xb31005b8) at ../../../engine/src/flutter/fml/message_loop.cc:49
#4  0xb53937fe in fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0::operator()() const (this=0x28c1c) at ../../../engine/src/flutter/fml/thread.cc:35
#5  0xb5393790 in std::__1::__invoke<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> (__f=...) at ../../../engine/src/third_party/libcxx/include/type_traits:3530
#6  0xb539375e in std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>&, std::__1::__tuple_indices<>) (__t=...) at ../../../engine/src/third_party/libcxx/include/thread:341
#7  0xb53935d8 in std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*) (__vp=0x28c18) at ../../../engine/src/third_party/libcxx/include/thread:351
#8  0xb5038494 in start_thread (arg=0xb3aff3e0) at pthread_create.c:486
Backtrace stopped: Cannot access memory at address 0x3f2

Thread 3 (Thread 0xb44ff3e0 (LWP 24803)):
#0  0xb51469d0 in epoll_wait (epfd=<optimized out>, events=0xb44fed40, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0xb53961bc in fml::MessageLoopLinux::Run (this=0xb3b005c8) at ../../../engine/src/flutter/fml/platform/linux/message_loop_linux.cc:53
#2  0xb538c35c in fml::MessageLoopImpl::DoRun (this=0xb3b005c8) at ../../../engine/src/flutter/fml/message_loop_impl.cc:96
#3  0xb538be30 in fml::MessageLoop::Run (this=0xb3b005b8) at ../../../engine/src/flutter/fml/message_loop.cc:49
#4  0xb53937fe in fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0::operator()() const (this=0x28abc) at ../../../engine/src/flutter/fml/thread.cc:35
#5  0xb5393790 in std::__1::__invoke<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> (__f=...) at ../../../engine/src/third_party/libcxx/include/type_traits:3530
#6  0xb539375e in std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>&, std::__1::__tuple_indices<>) (__t=...) at ../../../engine/src/third_party/libcxx/include/thread:341
#7  0xb53935d8 in std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*) (__vp=0x28ab8) at ../../../engine/src/third_party/libcxx/include/thread:351
#8  0xb5038494 in start_thread (arg=0xb44ff3e0) at pthread_create.c:486
Backtrace stopped: Cannot access memory at address 0x3f2

Thread 2 (Thread 0xb4e0a3e0 (LWP 24802)):
#0  0xb51469d0 in epoll_wait (epfd=<optimized out>, events=0xb4e09d40, maxevents=1, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0xb53961bc in fml::MessageLoopLinux::Run (this=0xb45005c8) at ../../../engine/src/flutter/fml/platform/linux/message_loop_linux.cc:53
#2  0xb538c35c in fml::MessageLoopImpl::DoRun (this=0xb45005c8) at ../../../engine/src/flutter/fml/message_loop_impl.cc:96
#3  0xb538be30 in fml::MessageLoop::Run (this=0xb45005b8) at ../../../engine/src/flutter/fml/message_loop.cc:49
#4  0xb53937fe in fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0::operator()() const (this=0x28954) at ../../../engine/src/flutter/fml/thread.cc:35
#5  0xb5393790 in std::__1::__invoke<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> (__f=...) at ../../../engine/src/third_party/libcxx/include/type_traits:3530
#6  0xb539375e in std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>&, std::__1::__tuple_indices<>) (__t=...) at ../../../engine/src/third_party/libcxx/include/thread:341
#7  0xb53935d8 in std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*) (__vp=0x28950) at ../../../engine/src/third_party/libcxx/include/thread:351
#8  0xb5038494 in start_thread (arg=0xb4e0a3e0) at pthread_create.c:486
Backtrace stopped: Cannot access memory at address 0x3f2

Thread 1 (Thread 0xb6ff5010 (LWP 24789)):
#0  __GI___select (timeout=0x0, exceptfds=0xbefff170, writefds=0xbefff170, readfds=0xbefff170, nfds=5) at ../sysdeps/unix/sysv/linux/select.c:41
#1  __GI___select (nfds=5, readfds=0xbefff170, writefds=0xbefff170, exceptfds=0xbefff170, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:37
#2  0x00011dc4 in main (argc=1, argv=0xbefff4e4) at ./minimal.c:468

Btw, I also experienced similiar hangups starting from flutter 2.0 sometimes when a window metrics event was sent at runtime. Those hangups looked exactly the same as the one in this issue. The engine requested a frame, embedder responded, engine didn't draw anything, then requested another frame, and then nothing ever happens after. Didn't happen too often though. Sometimes it would happen after the 2nd window metrics event sent to the engine, sometimes after the 20th, so probably some kind of race condition. Don't have a reproduction steps for that though

I can easily reproduce the same issue when I use the flutter gallery app, too. It doesn't seem to freeze without using the Vsync callback.
https://user-images.githubusercontent.com/62131389/122492305-7c6d4980-d020-11eb-9023-346c76fdb4f8.mov

@ardera
I tried to reproduce the issue using Flutter 2.5.0-5.2.pre (7a4c4505f6a7a1aa758d62b58150dce43cfa473f) version, but I couldn't. Can you still reproduce it now?


Fix typos

Thanks, @sroille!

Dear @Court72, we were wondering why the license/cla check shows "All CLA requirements met.". We were expecting @sroille to have to go through the clearance process or are documentation only fixes exempt ?

Hi @ahoubenvarian, the CLA is required if a PR meets a certain threshold of changes. This PR contained a small change, so no signature was required.


How to add non-menu content in the sidebar

Description
Is there a way to add content below the menu?
Adminkit has a sidebar-cta class, but I can't figure out how to insert my text there.
What I really want to do is add some options there, which will include a list of checkboxes and switches.  It will only be visible on some pages.
Example
From layout.html.twig
   {% block body %}

                {% block sidebar %}
                    {{ render_menu(admin_menu) }}

RENDER FORM HERE.
                {% endblock %}

                    {% block topbar %}
etc..

Hi,
You juste have to override template of vendor, check documentation here : https://symfony.com/doc/current/bundles/override.html


Add build instructions

After update org.jetbrains.intellij i can't build a plugin with build profile Rider (Windows)
Please write instructions for build with correct dependencies (Java versions, etc).
Thanks

Is this still an issue?

Hi @matkoch :-)
I think it would be useful to have a document that describes the minimum necessary versions of Java and dotnet to start making changes to the project, when I first connected to the development I experienced some difficulties to start and reached everything by trial and error. And a document that would contain all this information would help new contributors reduce the threshold for entering the project

@inyutin-maxim: would something like this be sufficient from your perspective?

@inyutin-maxim: would something like this be sufficient from your perspective?

Hi @mu88 Looks great for me, I think it's worth adding to the readme for this project


Comment reactions box is clipped

Comment reactions box got clipped if the comment box is placed above the comments

However, if the reply text box is active, the reactions box won't get clipped.

I tried moving the comment box to the bottom, but now I found that giscus iframe is clipped if I disable the post reactions.
With post reactions enabled:

With post reactions disabled:

Apparently there's some miscalculations for the iframe height if post reactions disabled.

Thanks, fixed. For some reason, outermost margins do not contribute to the parent (body)'s height, but it does to the html. I could've just targeted the html as the point of reference for the overall height of the iframe, but I decided to eliminate these margins and add an extra bottom padding if the input position is at the top.
This does mean that there is a bottom padding even when it's not necessary, e.g. when the reply box is open or if there's a reply to the bottommost comment. I think that's a reasonable compromise rather than having a layout shift every time the reactions popup is toggled.


Docker compose

Run postgres in a container.  Connect postgres and the api using docker-compose
Branched because we're not done (if we go this route). What do you think?
up
docker-compose up -d

Postgres needs some time to set up. API may fail to connect. May have to wait 20 seconds and run:
docker-compose restart api

down
docker-compose down

SQL scripts
Notice the only sql scripts we need are located in sql/

@cmatheny

That would be easier to set up instead of installing postgres manually. My only concern is that any changes made to the local dev database are lost along with the container, meaning if you want to add some specific test data to your own database you have to do it each time you spin up the database. Is that something we can/want to address?

Database data is persisted in a volume (mounted at ./pgdata).  First time you spin up environment, postgres will run the scripts in ./sql.  Each time after, postgres will reuse data in the ./pgdata volume.
Spin up dev environment
make up

During development - rebuild api
make

Reset dev environment
make clean

One caveat
If it's your first time running make up or you are running it right after make clean, then Postgres needs some time to set up the database.
The API will initially fail to connect.  Wait 10-20 seconds and run make.
Check the API logs
make logs

Another caveat
If our tests require specific data, then we must edit the scripts in ./sql
Then everyone else just has to pull that code, make clean, and make up

I was getting permissions errors with the mounted database folder being on a windows filesystem. Solved by using a docker volume which persists after containers are stopped. Verified changes persisted through complete pc reboot. The volume is created if it doesn't yet exist, or mounted if it already exists. I also updated make clean to delete the volume. Do you see any problems with this setup?

lgtm


Error when saving Creature in example code

Just pulled the latest changes to upgrade to 0.1.3 and bumped into the following error when trying to save the document.
TypeError: Cannot call method 'apply' of undefined
    at /Users/richardmarr/local/node/lib/node_modules/resourceful/lib/resourceful/resource.js:159:29
    at loop (/Users/richardmarr/local/node/lib/node_modules/resourceful/lib/resourceful/resource.js:51:9)
    at Function.runBeforeHooks (/Users/richardmarr/local/node/lib/node_modules/resourceful/lib/resourceful/resource.js:53:6)
    at Function._request (/Users/richardmarr/local/node/lib/node_modules/resourceful/lib/resourceful/resource.js:105:8)
    at Function.save (/Users/richardmarr/local/node/lib/node_modules/resourceful/lib/resourceful/resource.js:225:15)
    at Factory.save (/Users/richardmarr/local/node/lib/node_modules/resourceful/lib/resourceful/resource.js:533:22)
    at Object.<anonymous> (/Users/richardmarr/Projects/celeri.ac/web-app/dbtest.js:47:6)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)

Code used:
var resourceful = require('resourceful');

resourceful.use('couchelastic',{
	host:'localhost',
		port:5984,
	cache:false,
	database:'test'
});
var Creature = resourceful.define('creature');
Creature.property('diet'); // Defaults to String
Creature.property('vertebrate', Boolean)
Creature.property('belly', Array);

Creature.prototype.feed = function (food) {
	this.belly.push(food);
};

var wolf = new(Creature)({
	diet:      'carnivor',
	vertebrate: true
});
wolf.feed('squirrel');
wolf.save()

Changing this line (resource.js:159)...
that.connection.[method].apply(that.connection, args);

...to the line below seems to fix the problem, but I'm guessing it's not what was intended:
that.connection.connection[method].apply(that.connection.connection, args);

Shouldn't Couchdb.save() arbitrate between PUT and POST based on the presence of an ID as a first argument and/or the presence of an _id property of the object? I'm scratching my head and can't find any place that happens. Resource.save() sends the value of the key property of the object to Couchdb.save() which passes that argument on to put() and then request(). But that means that it sends '_id' instead of the actual value of the object's _id property -- am I correct?

Included some sample code that reproduces this error in node v0.6.1 with resourceful v0.1.4:
var resourceful = require('resourceful');

var Creature = resourceful.define('creature', function () {
	this.use('couchdb');
	this.property('diet'); // Defaults to String
	this.property('vertebrate', Boolean);
	this.property('belly', Array);
});

Creature.prototype.feed = function (food) {
	this.belly.push(food);
};

var wolf = new(Creature)({
	diet:      'carnivor',
	vertebrate: true
});

wolf.feed('squirrel');
console.dir(wolf.belly); // outputs ['squirrel']

// throws error mentioned in previous comment: "TypeError: id must be a string"
wolf.save(function(){
	console.log('done'); // never executes
});

Another approach in this guy's fork.


Avoid pointer events

I rembember having trouble with pointer events, I'm sorry I can't be specific right now, because I forgot.
The point is: is it possible to avoid the use of pointer events, and use only hybrid ones?

No it is not possible to avoid pointer events.


Extension won't initiate in RF3

Is ScaleFast currently supported in RF3? I tried initializing ScaleFast after a fresh install, and I get this error in the output:
Traceback (most recent call last):   File "scaleFast.py", line 1532, in <module>   File "scaleFast.py", line 387, in __init__   File "scaleFast.py", line 920, in _selectedFontChanged   File "/Users/Cadmon/Library/Application Support/RoboFont/plugins/ScaleFast.roboFontExt/lib/mutatorScale/lib/mutatorScale/utilities/fontUtils.py", line 59, in getRefStems   File "/Users/Cadmon/Library/Application Support/RoboFont/plugins/ScaleFast.roboFontExt/lib/mutatorScale/lib/mutatorScale/utilities/fontUtils.py", line 127, in freezeGlyph   File "/Users/Cadmon/Library/Application Support/RoboFont/plugins/ScaleFast.roboFontExt/lib/mutatorScale/lib/mutatorScale/utilities/fontUtils.py", line 177, in extractComposites   File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/fontParts/base/deprecated.py", line 77, in transform   File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/fontParts/base/base.py", line 466, in transformBy   File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/fontParts/base/normalizers.py", line 999, in normalizeTransformationMatrix TypeError: Transformation matrices must be tuple instances, not Transform.

ScaleFast and the other extensions in this repository are now maintained by RoboDocs.
the updated version of ScaleFast is here. or get it with Mechanic2


Romeo's Comment

This looks amazing! Thanks for the edits @Consilium5128 I don't have anything to add.

Great :))


Fix CT200

fixes:

https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/issues/58
https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/issues/57


Add NewAddress wallet function

Orders need to go to a unique address in order for the listener to determine
what order they are for. This would normally be OK except scenarios where someone
has placed a direct order but hasn't paid (or two direct orders come in at the same time).
So we need a wallet function that returns a new address each time. Sadly this
can make it such that malicous buyers can place unfunded orders and run up
the size of the lookahead window in the keychain making it unlikely if not impossible
for all transactions will be detected when restoring from seed.
This can be fixed by either adding the lookahead window size to the config (TODO)
and implementing better DoS protection for unfunded orders.

Coverage increased (+0.02%) to 29.702% when pulling 2747bdcb019161ddd9ef7dd7eef0e45188b9d563 on newaddress into 5a47ad11c993e9feb1796d55c46cd4c3bd8e0111 on master.


Missing assignment parameter values for "Configure Azure PaaS services to use private DNS zones"

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform: 1.3.6
azure provider: 3.34.0
module: 3.0.0
Description
Configure Azure PaaS services to use private DNS zones not passing all parameter values with the subscription details of where central private DNS is located.
Describe the bug

Steps to Reproduce

Assign "Deploy-Private-DNS-Zones" to a landing zone
View Assignment properties
and a lot of the Parameter ID's entries have no value.

Screenshots

Additional context

Thank you for logging this... should be relatively quick fix so I will get this prioritised.


Sample: Broken image

https://github.com/pnp/sp-dev-list-formatting/tree/master/view-samples/events-format
Has a broken image;
https://github.com/pnp/sp-dev-list-formatting/blob/master/view-samples/events-format/screenshot.png

I close this issue because the image is showing.
https://github.com/pnp/List-Formatting/tree/master/view-samples/event-tiles


chore(release): 1.3.0 [skip ci]

1.3.0 (2024-04-23)
Bug Fixes

dafny: Local Service Constructors MUST return concrete (64f72c1)
dir name in java mpl release process (#162) (d92c06a)
KeyStore: JavaDocs for KMS Configuration (#293) (63ffff5)
Re-Polymorph w/ Smithy-Dafny@3378be16 & fix Java Testing (#190) (58d74f6)

Features

enable KMS MRK Keys in KeyStore (#285) (d924395)
remove quantifier-syntax (#218) (76ab6ef)
repolymorph to get dotnet constraint checking (#281) (04102d7)

Issue #, if available:
Description of changes:
Squash/merge commit message, if applicable:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Should this be mentioned?

https://github.com/aws/aws-cryptographic-material-providers-library/pull/275

Closing in favor of https://github.com/aws/aws-cryptographic-material-providers-library/pull/294


Add QCXR Feature Set | Fix Build Issues

Still a work in progress, mainly preparing it so you can change whatever you need. I will DM you when its somewhat ready.

PR #51  Change Log
Features Added:
Configurable Quick Menu
2D VR Keyboard
Quick Chat Menu
SimpleVoiceChat Compatibility Layer
File Changes:
Changed Default Controls
Added PhysicsHandlerMixin.java
Fixes:
Fixed Tooltip Bug
Forced Menu To Player
Fixed Multiplayer Red Screen Bug

yes

PR is ready to go, feel free to review and merge.


All drivers download files with "Network unavailable"

Description
When we open DBeaver, attempt to create a new connection, we're prompted to  download a driver which always fails with "Network error: Network unavailable":

It does not appear to be related to any ONE driver, but instead, all of them.
DBeaver Version
Community Edition <IP_ADDRESS>409011551
Operating System
Windows Server 2022
Database and driver
ALL OF THEM
Steps to reproduce

Install DBeaver
Click "New Database Connection"
Select any database.
Click "Test Connection"
The error occurs

Additional context
Troubleshooting:

Q: Firewall blocking traffic? A: There is no corporate firewall blocking traffic.
Q: Proxy? A: There is no proxy between this machine and the internet.
Q: Repeatable? A: Yes, this has occurred across multiple Win2k22 machines.

Can you open https://repo1.maven.org in the web browser?

I have the same problem. Version <IP_ADDRESS>409011551.
The  URL for the maven repo can be opened. turning off Zscaler doesn't make a difference to success or otherwise. How can I stop the download and install manually. I managed once to connect to the database , but now I am back in the download trap and I. don't know why. Thanks for your help!

@jonosooty

How can I stop the download and install manually.

Download the driver files
Open Connection configuration and press Driver Settings

Choose the libraries that can't be downloaded. They're either red or blue for you, and delete them with the Delete button

Use add file or add folder to add driver files that you downloaded manually

@E1izabeth like with the other users, the maven repo can be opened. There are no firewall rules preventing outbound traffic, so that's not the issue either.
Whilst manually downloading the driver is an option, I would assume that the the auto-download should work, no? Any other steps you'd recommend?

Duplicate of #34775