Mapster show a wrong dependency

is it a real dependency of Mapster? if not then some error is being thrown at the very core of .Net runtime and mapster doesn't catch it.

here is the repo. please make sure to use the Mapster Branch
https://github.com/mhamri/ef-int32-bug/tree/mapster
also, if I add the [AdaptTo("[name]Dto"), GenerateMapper] on top of entity classes, all the generated mappers are empty hence I mapped them manually.

Thank you for report. My project still use EF Core 2.x so I don't know it has problem. Please use https://www.nuget.org/packages/Mapster.EFCore/5.0.0.

NOTE: you might need to use MaxDepth, PreserveReference doesn't support for EF Query.

The reason, Mapster cannot generate mapper is because Mapster cannot generate circular reference projection. I will throw descriptive error in the future. Here is the way to fix.
public class MyRegister : IRegister
{
    public void Register(TypeAdapterConfig config)
    {
        Console.WriteLine("HOOOOOOOOOOOOOOOOOOOOOOOOO");
        config.Default.MaxDepth(2);
    }
}


Umbrella 0.1.0

[X] Canvas renderer
[X] Serialization
[X] Deserialization
[X] Documentation
[ ] Examples
[X] Unit tests
[ ] Default behaviors (e.g. sprite animation, collision)
[ ] Audio
[ ] Preloader/Assetloader
[ ] Tweening
[ ] Github page
[ ] Fix DOM renderer (#4)
[x] Use Karma test runner (#2)
[x] Distribute as CommonJS and AMD (#3)

Actually, version-wise it will be 1.0.0, not 0.1.0


Make middleware thread safe

We've noticed that in high traffic threaded environment (Puma) this middleware shares instance variables memory between threads and occasionally swaps ivars content.
In a worst-case scenario observed for a request from user A the response that was coming back was from a request made by a user B. If Set-Cookie header was present user A was immediately logged out and logged in as a user B (completely confusing users).
We've observed also a number of other requests/responses swaps which in general were hard to debug e.g. API request calls returning non-API responses.
This PR does not remove using of ivars (@status, @headers, @body) but rather duplicates the middleware calls. We are using forked repo for a few days now and we do not observe the issue anymore.
For more issues similar to this one you can check here , here and here in SO thread.
If this won't be planned for merging after all, maybe at least will save some time for others debugging similar symptoms.

oh, thanks a lot for the PR! why are those instance variables in the first place, :thinking:
I'd even try to get rid of those instance variables.
@DonSchado could you take a look? maybe merge this PR, release a patch and then these instance vars should be refactored?

Thanks for raising this issue @kspe very appreciated!
If we inline the html? method, we could remove all instance vars.
But very interesting, I also don't know if this pattern was just copied over from the former project, but now I believe the issue makes sense in the way rack initializes middleware.
Is #dup even necessary, when we refactor/remove the internal state?

Is #dup even necessary, when we refactor/remove the internal state?

I think the main issue is that middleware maintains a mutable state in ivars. Without those, it should be safe to remove dup. The worst thing is that it is hard to test in specs, easier with real applications run locally and bombarded with many requests at a high rate.

Thank you! <3


[TBBAS-1596]: Make IServer inherited from property object

Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] Pull request title reflects its content
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Description:

Please check whether the following PR duplicates this issue: https://github.com/openDAQ/openDAQ/pull/417


update default URLs

Update info URL to point here.

I've done a docs sweep and we have current docs here that also link out to the other docs. More importantly we'd like people to file issues here if they're filing one, so those of us with access to fix the infra see them immediately with high signal : noise ratio (IE I watch this repo and unlike k8s.io repo the issues are very specific to this project)

Update default registry endpoint config to point to artifact registry

We can't keep using k8s.gcr.io (we are not in production anyhow) because soon it will redirect to us ... so use one of the AR regions. I chose us-central1 because prow.k8s.io is primarily there.

/approve
/lgtm


[Issue-2688] Hotfix temporary disable transfer for NUUM token

Related issue(s)

#2688

Is your feature request related to a problem(s)? Please describe.

Hotfix disable transfer for NUUM token

Describe the solution you'd like

Hotfix disable transfer for NUUM token

Describe alternatives you've considered

No

Additional context

No

🚀 Deployed on https://pr-2689--sw-web-runner.netlify.app


@bs.obj and = ""

In Reason, you can omit the = "" at the end of @bs.obj. Refmt will even automatically remove it.
type t;
<EMAIL_ADDRESS>external make: (~name: string, ~age: int=?, unit) => t;

In ReScript syntax, you can't:
type t
@bs.obj external make: (~name: string, ~age: int=?, unit) => t = ""

This seems like a regression.

@johnridesabike do you use this mainly in combination with @bs.obj?
I'll investigate and see what can be done here. There might be hidden consequences.

Yes. My impression was that refmt included this feature specifically for @bs.obj, although I may be mistaken.

Yes. My impression was that refmt included this feature specifically for @bs.obj, although I may be mistaken.

That is correct


feat(bindings): find another way to show protocol custom errors

TryParsingCustomError is not usable anymore after switching to use txmgr, can we find another way to show the custom errors?

Closed by https://github.com/taikoxyz/taiko-client/pull/755


S2QuerySet - ForeignKey with to_field that is not primary key.

Hi YourLabs.
I really appreciate your work on this project. It is a very helpful addition to django!
(I am hoping this is the right way to contribute to your project)
My use case here is a Select2QuerySetView, where I am using a ForeignKey with a 'to_field' parameter - but importantly the to_field is not an IntegerField nor the pk, but a TextField (I am using django with an imported database table).
In my CreateView, I put a custom get_result_value(...) function to return my to_field value.
However I had trouble in my EditView, where it had to show the selected choices back - with:
ValueError: invalid literal for int() with base 10: 'example-string-to_field-value'
pointing to QuerySetSelectMixin.filter_choices_to_render, at "filter(   pk__in = ..."
Of course, it was looking up my to_field (string) as the model pk (which it thought should be an integer, helping me notice it also wasn't the pk).
I came up with a solution that worked for my project, and have provided it below. Hopefully this helps.
I allowed a 'to_field' param on the QuerySetSelectMixin, and used that to construct the filter_choices_to_render filter.
class QuerySetSelectMixin(WidgetMixin):
    """QuerySet support for choices."""

    #added (an override of) this method, to accept an optional 'to_field' parameter
    def __init__(self, *args, **kwargs):
        kwargs.setdefault('to_field', 'pk')
        self.to_field_name = kwargs.pop('to_field')
        super().__init__(*args, **kwargs)

    #then use the value here
    def filter_choices_to_render(self, selected_choices):
        """Filter out un-selected choices if choices is a QuerySet."""
        filter_args = { '%s__in'%self.to_field_name : [c for c in selected_choices if c] } #Construct the 'pk__in' part with the chosen to_field name
        self.choices.queryset = self.choices.queryset.filter(
            **filter_args #use the filter
        )

(For safe measure, as I was looking through the code, I think the default BaseQuerySetView post function should also use the get_result_value/get_result_label function calls - as these are overwritten in my code)
class BaseQuerySetView(ViewMixin, BaseListView):
    """Base view to get results from a QuerySet.
#....
        def post(self, request):
#...
        return http.JsonResponse({
            'id': self.get_result_value(result), #modified to function call
            'text': self.get_result_label(result), #modified to function call
        })

Regards again, I appreciate your work.
Please let me know your thoughts about this, or anything I could do here.
Peter

Can you paste the form code please ?

Thanks for your reply.
Apologies, I wasn't originally sure myself what my problem was, but I think it is:
Using a ForeignKey to_field which points to a field other than the pk.
(The string->int conversion fortunately highlighted this problem)
My models have in effect:
#models.py:
class ReferenceModel(models.Model):
    """Imported model made by inspectdb"""
    autofield = models.AutoField(primary_key=True)
    id_string = models.TextField(unique=True)

    class Meta:
        managed = False

class MainModel(models.Model):
    """my custom model"""
    #other fields
    reference = models.ForeignKey(
        ReferenceModel, on_delete=models.PROTECT,
        to_field='id_string',
    )

and the form has:
#forms.py
class MainModelCreateAndUpdateForm(forms.ModelForm):
	class Meta:
			model = MainModel
			fields = [
				#...,
				'reference',
			]

			widgets = {
				'reference': autocomplete.ModelSelect2(
					url='reference_model_autocomplete',
				),
				#another field also used a standard ModelSelect2Multiple
			}

#views.py
class MainModelUpdateView(MyPermissionMixin, UpdateView):
	form_class = MainModelCreateAndUpdateForm
	#...

As the to_field in MainModel.reference is not to the ReferenceModel pk, the lookup failed in ModelSelect2.filter_choices_to_render.
So the code I copied above was how I got around looking up a non-pk field in the model.
[A side note on the database/ReferenceModel: in truth, id_string is the actual postgres pk, but django seems to expect AutoFields have pk=True.]
This would definitely not be a standard use case, though I believe django does let you use a ForeignKey to_field that is unique, even if not pk - so I hoped to provide my solution around this.
For my project, I just made a class ModelSelect2WithToField(ModelSelect2) using that code.
Regards again,
Appreciate your work,
Peter

Could you add your complete traceback please ? We'll see what line of code is involved in this exactly then.

Thanks, hopefully this is useful.
Steps:

I created a MainModel through MainModelCreateView - the ModelSelect2 widget worked perfectly to select eg my_mainmodel_instance.reference <- { my_referencemodel_instance: autofield=1, id_string='EXAMPLE_ID_001' }
[Refresher from the models.py: autofield is the pk, and id_string is my FK to_field]

Then went to edit the my_mainmodel_instance through MainModelUpdateView, and got:
ValueError: invalid literal for int() with base 10: 'EXAMPLE_ID_001'

From the runserver output:
Internal Server Error: /mainmodel/edit/1/
Traceback (most recent call last):
  File "mydir~\venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner
    response = get_response(request)
  File "mydir~\venv\lib\site-packages\django\core\handlers\base.py", line 217, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "mydir~\venv\lib\site-packages\django\core\handlers\base.py", line 215, in _get_response
    response = response.render()
  File "mydir~\venv\lib\site-packages\django\template\response.py", line 107, in render
    self.content = self.rendered_content
  File "mydir~\venv\lib\site-packages\django\template\response.py", line 84, in rendered_content
    content = template.render(context, self._request)
  File "mydir~\venv\lib\site-packages\django\template\backends\django.py", line 66, in render
    return self.template.render(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 207, in render
    return self._render(context)
  File "mydir~\venv\lib\site-packages\django\test\utils.py", line 107, in instrumented_test_render
    return self.nodelist.render(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 990, in render
    bit = node.render_annotated(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 957, in render_annotated
    return self.render(context)
  File "mydir~\venv\lib\site-packages\django\template\loader_tags.py", line 177, in render
    return compiled_parent._render(context)
  File "mydir~\venv\lib\site-packages\django\test\utils.py", line 107, in instrumented_test_render
    return self.nodelist.render(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 990, in render
    bit = node.render_annotated(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 957, in render_annotated
    return self.render(context)
  File "mydir~\venv\lib\site-packages\django\template\loader_tags.py", line 177, in render
    return compiled_parent._render(context)
  File "mydir~\venv\lib\site-packages\django\test\utils.py", line 107, in instrumented_test_render
    return self.nodelist.render(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 990, in render
    bit = node.render_annotated(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 957, in render_annotated
    return self.render(context)
  File "mydir~\venv\lib\site-packages\django\template\loader_tags.py", line 72, in render
    result = block.nodelist.render(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 990, in render
    bit = node.render_annotated(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 957, in render_annotated
    return self.render(context)
  File "mydir~\venv\lib\site-packages\django\template\loader_tags.py", line 72, in render
    result = block.nodelist.render(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 990, in render
    bit = node.render_annotated(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 957, in render_annotated
    return self.render(context)
  File "mydir~\venv\lib\site-packages\django\template\loader_tags.py", line 72, in render
    result = block.nodelist.render(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 990, in render
    bit = node.render_annotated(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 957, in render_annotated
    return self.render(context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 1046, in render
    return render_value_in_context(output, context)
  File "mydir~\venv\lib\site-packages\django\template\base.py", line 1024, in render_value_in_context
    value = force_text(value)
  File "mydir~\venv\lib\site-packages\django\utils\encoding.py", line 76, in force_text
    s = six.text_type(s)
  File "mydir~\venv\lib\site-packages\django\utils\html.py", line 385, in <lambda>
    klass.__str__ = lambda self: mark_safe(klass_str(self))
  File "mydir~\venv\lib\site-packages\django\forms\forms.py", line 137, in __str__
    return self.as_table()
  File "mydir~\venv\lib\site-packages\django\forms\forms.py", line 285, in as_table
    errors_on_separate_row=False)
  File "mydir~\venv\lib\site-packages\django\forms\forms.py", line 240, in _html_output
    'field': six.text_type(bf),
  File "mydir~\venv\lib\site-packages\django\utils\html.py", line 385, in <lambda>
    klass.__str__ = lambda self: mark_safe(klass_str(self))
  File "mydir~\venv\lib\site-packages\django\forms\boundfield.py", line 41, in __str__
    return self.as_widget()
  File "mydir~\venv\lib\site-packages\django\forms\boundfield.py", line 127, in as_widget
    **kwargs
  File "mydir~\venv\lib\site-packages\dal\widgets.py", line 150, in render
    widget = super(WidgetMixin, self).render(name, value, attrs)
  File "mydir~\venv\lib\site-packages\django\forms\widgets.py", line 220, in render
    context = self.get_context(name, value, attrs)
  File "mydir~\venv\lib\site-packages\django\forms\widgets.py", line 663, in get_context
    context = super(Select, self).get_context(name, value, attrs)
  File "mydir~\venv\lib\site-packages\django\forms\widgets.py", line 625, in get_context
    context['widget']['optgroups'] = self.optgroups(name, context['widget']['value'], attrs)
  File "mydir~\venv\lib\site-packages\dal\widgets.py", line 140, in optgroups
    self.filter_choices_to_render(selected_choices)
  File "mydir~\venv\lib\site-packages\dal\widgets.py", line 183, in filter_choices_to_render
    pk__in=[c for c in selected_choices if c]
  File "mydir~\venv\lib\site-packages\django\db\models\query.py", line 784, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File "mydir~\venv\lib\site-packages\django\db\models\query.py", line 802, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File "mydir~\venv\lib\site-packages\django\db\models\sql\query.py", line 1250, in add_q
    clause, _ = self._add_q(q_object, self.used_aliases)
  File "mydir~\venv\lib\site-packages\django\db\models\sql\query.py", line 1276, in _add_q
    allow_joins=allow_joins, split_subq=split_subq,
  File "mydir~\venv\lib\site-packages\django\db\models\sql\query.py", line 1210, in build_filter
    condition = self.build_lookup(lookups, col, value)
  File "mydir~\venv\lib\site-packages\django\db\models\sql\query.py", line 1104, in build_lookup
    return final_lookup(lhs, rhs)
  File "mydir~\venv\lib\site-packages\django\db\models\lookups.py", line 24, in __init__
    self.rhs = self.get_prep_lookup()
  File "mydir~\venv\lib\site-packages\django\db\models\lookups.py", line 219, in get_prep_lookup
    rhs_value = self.lhs.output_field.get_prep_value(rhs_value)
  File "mydir~\venv\lib\site-packages\django\db\models\fields\__init__.py", line 966, in get_prep_value
    return int(value)
ValueError: invalid literal for int() with base 10: 'EXAMPLE_ID_001'

The parts in bold from the debug server page were:
  File "mydir~\venv\lib\site-packages\dal\widgets.py", line 150, in render
    widget = super(WidgetMixin, self).render(name, value, attrs)
#and
  File "mydir~\venv\lib\site-packages\dal\widgets.py", line 140, in optgroups
    self.filter_choices_to_render(selected_choices)
  File "mydir~\venv\lib\site-packages\dal\widgets.py", line 183, in filter_choices_to_render
    pk__in=[c for c in selected_choices if c]

(at 183, debug context shows: """ selected_choices == ['EXAMPLE_ID_001'] , self ==
<dal_select2.widgets.ModelSelect2 object at 0x04EACA90>""")
The part of the error I noticed was the mismatch between the filter 'pk__in' from QuerySetSelectMixin.filter_choices_to_render, with the choices list being [to_fields,]
So my workaround was to dynamically create a '%s__in' filter, using an optional init parameter.
PS: django-autocomplete-light==3.2.9, Django==1.11.3
Thanks again,
Please let me know if there is anything else I can help with,
Peter

Thanks, can you paste your form code please ? Perhaps using another form field would work better.

Sorry for the delay - what else did you want to see from the form code?
For my project, I made a workaround, just implementing the changes to the QuerySetSelectMixin code I tried to post above in a CustomModelSelect2 class. So I am happy however it goes.
I wasn't sure if this was the right way to do it - I was hoping to share the code I used in case someone else had similar troubles/use case. (Sorry if this was the wrong place to post?)


[WIP] Add sns extended client support

Updated the PR.
Shall we merge it to master, or is it better to keep it in a separate branch? Also I do not know if we should propose these changes to the upstream repo to be included in the library.


Docs: Packaging process docs have broken image links

Bug Report
Images under the following page: https://tanzucommunityedition.io/docs/v0.11/designs/package-process/
are broken

Expected Behavior
See images in docs page
Steps to Reproduce the Bug
Go to the package process docs page and see no images. Open developer console to see 404 links

May be related, or have a similar fix required: https://github.com/vmware-tanzu/community-edition/issues/4084


Filemoon host to Anizm

Source name
Anizm
Source language
Turkish
Describe your suggested feature
Add Filemoon host to Anizm.
https://filemoon.sx
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

It's seems It's already in Anizm, but its broken. It gives "loading failed: http error 404 not found" error

Duplicate of #3248


Change number of objects

The default value is to output 100 objects (for all classes)
How can I change it to output more objects for instance 300.
What do I have to change in the config or code to get this?

Did you have aa change to look at my question?
Thanks in advance.

@FengLi-ust
I have tried to modify the config to change the number of predicted objects from default 100 to 300
I have tried NUM_OBJECT_QUERIES: 300 and DN_NUM: 300 nevertheless the output is still 100xh,w
Could you point me to the config parameters to change to be able to change the number of predicted objects?

May I ask if you succeeded, my dataset has only one class, I tried to change NUM_OBJECT_QUERIES to 1 and it ran successfully but I'm not sure if it's right or not!

@Small-fly-guy the NUM_OBJECT_QUERIES is not related to the number of classes. NUM_OBJECT_QUERIES refers to how many max objects are present in your image, I would not set this to 1 The number of classes will be get from your COCO dataset format.


Only send position & counts should be published over public feed

Currently, (almost) everything that is sent to the admin feed is also sent over the public feed, see image below.
I don't think this is intended behavior.
The public should only see the calculated counts & positions

Oof good catch, Not intended for sure

@Topvennie wrote this code, and I did not catch it.
class DataPublisher(QueueManager):
    """
    An extension on QueueManagers that only publishes data when it is different from last publish.
    Also provides a way to publish data to topics. This way one queue can easily be used for multiple data updates.
    """

    _cache: dict[str, Any] = {}
    _publish_lock: Lock = Lock()

This makes the _cache a class variable, shared between the normal and admin data publisher


ability to save table to a png

Amazing work on this project -- I'm highly appreciative
I'm curious if there is any way to save a table to a .png (or any sort of image).  I'm looking for something similar to the gtsave package in gt.  I know there's a way to render the html code, but curious if I'm missing a way to export to image.
Thank you in advance

Use this: https://github.com/vgalin/html2image

From Discord user dersu in great_tables server, this code can be adapted:
from html2image import Html2Image
from IPython.core.display import HTML

html_file_path = r"C:\Scripts\test.html"

# Get the HTML content from the displayed output
html_content = HTML(gt._repr_html_()).data

# Save the HTML content to a file
with open(html_file_path, "w") as f:
    f.write(html_content)

# Instantiate Html2Image
hti = Html2Image()

# Screenshot an HTML file
hti.screenshot(
    html_file=html_file_path, save_as="test.png"
)

^^^ tried this approach. Was a bit disappointed with the result. You can’t target the table element, the image is at a low resolution, and it’s uncropped.
Another way is to use Selenium, which provides more access to the Chrome Webdriver. And you can target the table element too.

Amazing work on this project -- I'm highly appreciative
I'm curious if there is any way to save a table to a .png (or any sort of image).  I'm looking for something similar to the gtsave package in gt.  I know there's a way to render the html code, but curious if I'm missing a way to export to image.
Thank you in advance

Hi, do you have an example where your concert the GT table into HTML?


Panic on Windows during record

I suspect that Windows is not well supported or widely used but the binary is available so I gave it a try. Some things worked for me but not enough to create usable alerts. I've tried 0.13.0, 0.13.1 and 1.0.0 with similar results. The same things work fine on a Linux VM.
Here is one example of a panic...
E:\kapacitor-1.0.0-1>kapacitor show amdocs_cpu
ID: amdocs_cpu
Error:
Template:
Type: batch
Status: disabled
Executing: false
Created: 14 Sep 16 15:57 BST
Modified: 14 Sep 16 16:13 BST
LastEnabled: 01 Jan 01 00:00 UTC
Databases Retention Policies: ["amdocs"."default"]
TICKscript:
batch
|query('''
SELECT mean(totalpct)
FROM "amdocs"."default"."sar_cpu"
''')
.period(1h)
.every(1h)
.groupBy(time(20m), 'host')
|alert()
.crit(lambda: "mean" > 25)
.log('e:\temp\alerts.log')
DOT:
digraph amdocs_cpu {
query1 -> alert2;
}
E:\kapacitor-1.0.0-1>kapacitor record batch -task amdocs_cpu -past 24h
Post http://localhost:9092/kapacitor/v1/recordings/batch: read tcp [::1]:63565->[::1]:9092: wsarecv: An existing connection was forcibly closed by the remote host.
Server output...
2016/09/14 16:13:12 Using configuration at: kapacitor.conf
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x59cc5f]
goroutine 58 [running]:
panic(0xd81ae0, 0xc082006080)
/usr/local/go/src/runtime/panic.go:481 +0x3f4
github.com/influxdata/kapacitor/services/replay.(*Service).saveBatchRecording(0xc0820c5ce0, 0x0, 0x0, 0xc0822082c8, 0x1, 0x1, 0x0, 0x0)
/root/go/src/github.com/influxdata/kapacitor/services/replay/service.go:1392 +0x5f
github.com/influxdata/kapacitor/services/replay.(*Service).doRecordBatch.func1(0xc082223260, 0xc0820c5ce0, 0x0, 0x0, 0xc0822082c8, 0x1, 0x1)
/root/go/src/github.com/influxdata/kapacitor/services/replay/service.go:1297 +0x64
created by github.com/influxdata/kapacitor/services/replay.(*Service).doRecordBatch
/root/go/src/github.com/influxdata/kapacitor/services/replay/service.go:1298 +0x19d
The config is unchanged from the distribution except for...
[replay]
dir = "E:\kapacitor-1.0.0-1\replay"
[task]
dir = "E:\kapacitor-1.0.0-1\tasks"
[storage]
boltdb = "E:\kapacitor-1.0.0-1\kapacitor.db"

The backslashes in the above text shown by GitHub are actually double backslashes in my files. I guess I should have posted four backslashes. Sorry for any confusion.


Avoid convention mapping in Java application plugin

Application plugin using convention mapping to set applicationDefaultJvmArgs.
JavaExec having a jvmArgs property with backing field as javaExecSpec. Because of names doesn't match, convention mapping is not able to set convention value to jvmArgs.
This PR introducing property getJvmArguments() backing by ListProperty<String> jvmArguments and getting rid off convention mapping in plugin in favor of Provider.convention.

@bot-gradle test acc

I've triggered the following builds for you:

AllConfigCacheTestsPullRequestFeedback build

@bot-gradle test acc

I've triggered the following builds for you:

AllConfigCacheTestsPullRequestFeedback build

I've triggered the following builds for you:

AllConfigCacheTestsPullRequestFeedback build

@bot-gradle test acc

I've triggered the following builds for you:

AllConfigCacheTestsPullRequestFeedback build

@big-guy PTAL

@bot-gradle test acc

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you.

@bot-gradle test and merge

Only open PR can be merged.


ARTEMIS-1545 Adding ignore statement on blocked calls

@michaelandrepearce can you review this please?

@clebertsuconic this shouldn't be ignored.


Highcharts angular performance

Hello,
I've got performance issue/question. I'm rendering about 80 area charts in single page using angular and highcharts-ng. When data is loaded and angular is binding it to charts my browser does not respond for about 2 seconds. It is maybe not great amount, but still...

What is the reason? It is angular-to-chart binding issue or just chart rendering by highcharts?
There is possibility to make it a little faster or just make it not hanging browser ?

I had a similar problem and adding disable-data-watch="true" to the  element fixed this problem for me.  It's worth a shot if you haven't tried it already.

as @woolyninja says! You could also try use setTimeout to render each chart asynchronously. This won't speed it up but may stop the browser freezing.

Thank you for responses. There is no visible performance after adding disable-data-watch="true". Data is loaded asynchronously because page is loaded and after about 5 seconds chart data is loaded via websocket. You mean render each chart in async mode ?

Yes I mean render each chart individually asynchronously.

Ok, but charts and other data are generated in ng-repeat. Each chart tag is marked by ng-if="obj.hasChart". In code it looks like this:

{{element.name}}

    <highchart ng-if="element.hasChart" config="element.chart"></highchart>

After page load each hasChart property is set to false so there is no any chart in page, but name is filled. After about 5-7 seconds additional data is loaded via websocket and some of charts are filled with data by Angular because array object has changed. So angular is taking care of binding data to chart. You mean that I should create each chart settings with timeout function, and set different timeout values ? Or you suggest other method ?


Method.Update Function Not called with multiple Tulip Indicators

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[X ] bug report
[ ] question about the decisions made in the repository
newest Stabe build
Action taken (what you did)
Attempted to add multiple tulip indicators (any tulip indicators).
Then run strategy via command line.
Expected result (what you hoped would happen)
The method.update function will be called.
Actual result (unexpected outcome)
The method.update function is not called.
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
You can mix and match any of the tulip indicators. Declaring multiple of them just does not work.
this.addTulipIndicator('_mfi', 'mfi', {optInTimePeriod: 14});
  this.addTulipIndicator('_bb', 'bbands', {optInTimePeriod: 20, optInNbStdDevs:2});
  this.addTulipIndicator('_stoch', 'stoch', {optInFastKPeriod: 3, optInSlowKPeriod: 3, optInSlowDPeriod: 3});
  this.addTulipIndicator('_macd', 'macd', { optInFastPeriod: 10, optInSlowPeriod: 21, optInSignalPeriod: 9});

Thanks for the report, will check asap.

issue occurs in 6.6 not 6.5. Just verified

I can not confirm this.
tested with latest 0.6.6 and with tulip-multi-strat.js in UI mode.Added the 4 tulip indicators from above and the update method is called as expected.
In general it is probably difficult to see logs in console, because log.js prevents in UI-mode. But if you add to _write method a console.log(message); like this:
Log.prototype = {
   _write: function(method, args, name) {
   ...
    console.log(message);
    this.output[method](message);
}

than you see that the update method is called.
I didn't tested it in standalone mode.

In UI mode there is :
candleSize = 1
historySize = 4
But in standalone mode, in  sample-config.js there is no such settings for tulip-multi-strat.
With the bugfix we check if historySize was provided or not.


feat: refactor

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 179 (0.0%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-9.7%) to 84.749%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contracts/root/staking/lib/SupernetManager.sol
0
5
0.0%

contracts/root/staking/lib/GenesisLib.sol
0
18
0.0%

contracts/root/staking/lib/StakeManagerLibs.sol
0
19
0.0%

contracts/child/validator/RewardDistributor.sol
0
24
0.0%

contracts/root/staking/StakeManager.sol
0
29
0.0%

contracts/child/validator/ValidatorSet.sol
0
35
0.0%

contracts/root/staking/CustomSupernetManager.sol
0
49
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-9.7%

Covered Lines:
1453

Relevant Lines:
1678

💛  - Coveralls


Surface bundle fetch error if gh client is not present

Summary
This will not be the case for other OCI providers, so let's start
checking for that now.
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 50.131% (-0.01%) from 50.142%
when pulling 6feaafe8b9177e627d1f41dd409b13287a193e81 on sigstore-bundle-gh
into 10c648de471c25a67c2776aef1f7bb2da4fc0a64 on main.


Missing flutter_linux library

I've compiled it via the cmake .. -DBUILD_FLUTTER_RPI=On then I've got the following error:
ranciere@ranciere:~/work/flutter_embedded/build$ make [ 16%] Built target engine [ 18%] Performing build step for 'rpi_flutter' [ 12%] Linking CXX executable flutter /usr/lib/gcc-cross/arm-linux-gnueabihf/9/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lflutter_linux collect2: error: ld returned 1 exit status make[5]: *** [CMakeFiles/flutter.dir/build.make:174: flutter] Error 1 make[4]: *** [CMakeFiles/Makefile2:76: CMakeFiles/flutter.dir/all] Error 2 make[3]: *** [Makefile:130: all] Error 2 make[2]: *** [CMakeFiles/rpi_flutter.dir/build.make:113: rpi_flutter-prefix/src/rpi_flutter-stamp/rpi_flutter-build] Error 2 make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/rpi_flutter.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
How can I build this lib?

@ranciere I'll take a look.  What type of shell are you looking for?  Just anything that runs on RPI3?

Just anything that runs on RPI4 :) First I would like to run something on my PI in interpreter mode, but later it would bo be good to run an AOT application, debug, hot reload etc.

Okay.  Give me a few days too take a look.  Are you looking for full screen custom, or just standard flutter desktop support?

So if you're looking for Flutter Engine Linux desktop support, you should have most of what you need.  You should build with my changes in master.  Something like this:
cmake .. -DBUILD_FLUTTER_RPI=ON -UENGINE_EMBEDDER_FOR_TARGET -UENGINE_DISABLE_DESKTOP -DTARGET_HOSTNAME=mydevice
It needs to sync the sysroot from the target, and the target needs all the dependencies installed prior.  gtk3+, etc.  I haven't worked through what they are yet.  Let me know what you find.

I've tried with the newest version. Running just 'cmake ..' results:
[ 60%] Performing configure step for 'engine'
Generating GN files in: out/linux_debug_arm
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
    pkgresult = exec_script(pkg_config_script, args, "value")
                ^----------
Current dir: /home/ranciere/work/flutter_embedded/third_party/engine/src/out/linux_debug_arm/
Command: python /home/ranciere/work/flutter_embedded/third_party/engine/src/build/config/linux/pkg-config.py -s /home/ranciere/work/flutter_embedded/sysroot -a arm --system_libdir lib gtk+-3.0
Returned 1.
stderr:

Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found

Interesting: the compiling of flutter engine runs without compile error, but the copying is unsuccesfull:
[ 56%] Performing install step for 'engine'
Error copying file "out/linux_debug_arm/libflutter_engine.so" to "/home/ranciere/work/flutter_embedded/build".
make[2]: *** [CMakeFiles/engine.dir/build.make:74: engine-prefix/src/engine-stamp/engine-install] Error 1
make[1]: *** [CMakeFiles/Makefile2:142: CMakeFiles/engine.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

It's a naming error, the name of the lib is libflutter_engine_gtk.so, not libflutter_engine.so

With cmake .. -DBUILD_FLUTTER_RPI=ON -DTARGET_SYSROOT=/home/ranciere/work/sysroot, I will get:
ranciere@ranciere:~/work/flutter_embedded/buil$ make -j8
[ 16%] Built target depot_tools
[ 33%] Built target sysroot
[ 50%] Built target symlink_fixups
[ 52%] Performing build step for 'engine'
ninja: Entering directory `out/linux_debug_arm'
[1/1] Regenerating ninja files
FAILED: build.ninja
../../flutter/third_party/gn/gn --root=../.. -q --check gen .
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
    pkgresult = exec_script(pkg_config_script, args, "value")
                ^----------
Current dir: /home/ranciere/work/flutter_embedded/third_party/engine/src/out/linux_debug_arm/
Command: python /home/ranciere/work/flutter_embedded/third_party/engine/src/build/config/linux/pkg-config.py -s /home/ranciere/work/sysroot -a arm --system_libdir lib gtk+-3.0
Returned 1.
stderr:

Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Traceback (most recent call last):
  File "/home/ranciere/work/flutter_embedded/third_party/engine/src/build/config/linux/pkg-config.py", line 248, in <module>
    sys.exit(main())
  File "/home/ranciere/work/flutter_embedded/third_party/engine/src/build/config/linux/pkg-config.py", line 143, in main
    prefix = GetPkgConfigPrefixToStrip(options, args)
  File "/home/ranciere/work/flutter_embedded/third_party/engine/src/build/config/linux/pkg-config.py", line 82, in GetPkgConfigPrefixToStrip
    "--variable=prefix"] + args, env=os.environ).decode('utf-8')
  File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['pkg-config', '--variable=prefix', 'gtk+-3.0']' returned non-zero exit status 1

See //flutter/shell/platform/linux/config/BUILD.gn:14:1: whence it was called.
pkg_config("gtk") {
^------------------
See //flutter/shell/platform/linux/BUILD.gn:67:5: which caused the file to be included.
    "//flutter/shell/platform/linux/config:gtk",
    ^------------------------------------------
ninja: error: rebuilding 'build.ninja': subcommand failed
make[2]: *** [CMakeFiles/engine.dir/build.make:112: engine-prefix/src/engine-stamp/engine-build] Error 1
make[1]: *** [CMakeFiles/Makefile2:142: CMakeFiles/engine.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

When did you do a git pull last?   You may have to manually remove the
patches.  That's on my to-do list.
On Tue, May 12, 2020, 2:24 PM ranciere<EMAIL_ADDRESS>wrote:

With cmake .. -DBUILD_FLUTTER_RPI=ON
-DTARGET_SYSROOT=/home/ranciere/work/sysroot, I will get:
ranciere@ranciere:~/work/flutter_embedded/buil$ make -j8
[ 16%] Built target depot_tools
[ 33%] Built target sysroot
[ 50%] Built target symlink_fixups
[ 52%] Performing build step for 'engine'
ninja: Entering directory `out/linux_debug_arm'
[1/1] Regenerating ninja files
FAILED: build.ninja
../../flutter/third_party/gn/gn --root=../.. -q --check gen .
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
pkgresult = exec_script(pkg_config_script, args, "value")
^----------
Current dir: /home/ranciere/work/flutter_embedded/third_party/engine/src/out/linux_debug_arm/
Command: python /home/ranciere/work/flutter_embedded/third_party/engine/src/build/config/linux/pkg-config.py -s /home/ranciere/work/sysroot -a arm --system_libdir lib gtk+-3.0
Returned 1.
stderr:
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Traceback (most recent call last):
File "/home/ranciere/work/flutter_embedded/third_party/engine/src/build/config/linux/pkg-config.py", line 248, in
sys.exit(main())
File "/home/ranciere/work/flutter_embedded/third_party/engine/src/build/config/linux/pkg-config.py", line 143, in main
prefix = GetPkgConfigPrefixToStrip(options, args)
File "/home/ranciere/work/flutter_embedded/third_party/engine/src/build/config/linux/pkg-config.py", line 82, in GetPkgConfigPrefixToStrip
"--variable=prefix"] + args, env=os.environ).decode('utf-8')
File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['pkg-config', '--variable=prefix', 'gtk+-3.0']' returned non-zero exit status 1
See //flutter/shell/platform/linux/config/BUILD.gn:14:1: whence it was called.
pkg_config("gtk") {
^------------------
See //flutter/shell/platform/linux/BUILD.gn:67:5: which caused the file to be included.
"//flutter/shell/platform/linux/config:gtk",
^------------------------------------------
ninja: error: rebuilding 'build.ninja': subcommand failed
make[2]: *** [CMakeFiles/engine.dir/build.make:112: engine-prefix/src/engine-stamp/engine-build] Error 1
make[1]: *** [CMakeFiles/Makefile2:142: CMakeFiles/engine.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/jwinarske/flutter_embedded/issues/30#issuecomment-627606239,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5R3W3ZR3BTNAJIESI47A3RRG5A5ANCNFSM4M5ZB2AQ
.

When did you do a git pull last? You may have to manually remove the
patches. That's on my to-do list.
Also you will want to clear some CMake variables that may have been set in the CMake cache file.
git pull
flutter_glfw example:
cmake .. -DBUILD_FLUTTER_RPI=ON -UTARGET_SYSROOT -UENGINE_EMBEDDER_FOR_TARGET -UENGINE_DISABLE_DESKTOP
gtk3+ desktop shell (ignore install fail for now):
cmake .. -DTARGET_SYSROOT=/home/ranciere/work/sysroot -UBUILD_FLUTTER_RPI -UENGINE_EMBEDDER_FOR_TARGET -DENGINE_DISABLE_DESKTOP=OFF -DENGINE_EMBEDDER_FOR_TARGET=OFF
Check the engine build folder in the case of gtk3+ desktop shell. I would expect an executable that can be run as-is.
On a fresh clone, you can skip the -U.

I worked through the gtk+-3.0 for host, default rpi config, and updated the readme.
When you specify a different TARGET_SYSROOT, you may need to override PKG_CONFIG_PATH when calling CMake.  Do this with -DPKG_CONFIG_PATH=/mypath/to/pkgcfg:/myother/path/pkgcfg

I tried in both way (cmake .. -DBUILD_FLUTTER_RPI=ON and cmake .. -DTARGET_SYSROOT=/home/ranciere/work/sysroot -DENGINE_DISABLE_DESKTOP=OFF -DENGINE_EMBEDDER_FOR_TARGET=OFF) in two newly cloned repository (ee6ece9) and I got this new error in both case:
[3806/3809] SOLINK ./libflutter_engine.so
FAILED: libflutter_engine.so so.unstripped/libflutter_engine.so libflutter_engine.so.TOC
/home/ranciere/work/flutter_embedded_glfw/third_party/engine/src/buildtools/linux-x64/clang/bin/clang++ --target=armv7-unknown-linux-gnueabihf --sysroot /home/ranciere/work/flutter_embedded_glfw/sysroot -shared -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -pthread --sysroot=/home/ranciere/work/flutter_embedded_glfw/sysroot  -Wl,-O2 -Wl,--gc-sections -Wl,--as-needed -o ./so.unstripped/libflutter_engine.so  -Wl,--build-id=sha1 -Wl,-soname=libflutter_engine.so @./libflutter_engine.so.rsp && { /home/ranciere/work/flutter_embedded_glfw/third_party/engine/src/buildtools/linux-x64/clang/bin/llvm-readelf -d ./so.unstripped/libflutter_engine.so | grep SONAME ; /home/ranciere/work/flutter_embedded_glfw/third_party/engine/src/buildtools/linux-x64/clang/bin/llvm-nm -gD -f posix ./so.unstripped/libflutter_engine.so | cut -f1-2 -d' '; } > ./libflutter_engine.so.tmp && if ! cmp -s ./libflutter_engine.so.tmp ./libflutter_engine.so.TOC; then mv ./libflutter_engine.so.tmp ./libflutter_engine.so.TOC; fi && /home/ranciere/work/flutter_embedded_glfw/third_party/engine/src/buildtools/linux-x64/clang/bin/llvm-strip -o ./libflutter_engine.so ./so.unstripped/libflutter_engine.so
ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:145
>>>               pthread_create.o:(stack_list_del) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:282
>>>               pthread_create.o:(free_stacks) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:282
>>>               pthread_create.o:(free_stacks) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:160
>>>               pthread_create.o:(stack_list_add) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against symbol: start_thread in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by createthread.c:142 (../sysdeps/unix/sysv/linux/createthread.c:142)
>>>               pthread_create.o:(create_thread) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by createthread.c:142 (../sysdeps/unix/sysv/linux/createthread.c:142)
>>>               pthread_create.o:(create_thread) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by createthread.c:142 (../sysdeps/unix/sysv/linux/createthread.c:142)
>>>               pthread_create.o:(create_thread) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by createthread.c:142 (../sysdeps/unix/sysv/linux/createthread.c:142)
>>>               pthread_create.o:(create_thread) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by futex-internal.h:200 (../sysdeps/nptl/futex-internal.h:200)
>>>               pthread_create.o:(setxid_mark_thread.isra.1) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:1059
>>>               pthread_create.o:(setxid_unmark_thread.isra.3.part.4) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against symbol: __stack_chk_guard in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3
>>> referenced by allocatestack.c:1090
>>>               pthread_create.o:(setxid_signal_thread) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against symbol: __stack_chk_guard in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3
>>> referenced by allocatestack.c:1111
>>>               pthread_create.o:(__nptl_setxid_error.part.8) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:311
>>>               pthread_create.o:(__deallocate_stack) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:311
>>>               pthread_create.o:(__deallocate_stack) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:311
>>>               pthread_create.o:(__deallocate_stack) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:821
>>>               pthread_create.o:(__make_stacks_executable) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:821
>>>               pthread_create.o:(__make_stacks_executable) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:888
>>>               pthread_create.o:(__reclaim_stacks) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:888
>>>               pthread_create.o:(__reclaim_stacks) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a(pthread_create.o)
>>> referenced by allocatestack.c:888
>>>               pthread_create.o:(__reclaim_stacks) in archive /home/ranciere/work/flutter_embedded_glfw/sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/libpthread.a

ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
make[2]: *** [CMakeFiles/engine.dir/build.make:112: engine-prefix/src/engine-stamp/engine-build] Error 1
make[1]: *** [CMakeFiles/Makefile2:140: CMakeFiles/engine.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

I've tried without parameters (cmake .. -GNinja) and the linker error exists.

What's the output of your cmake invocation?

The output:
-- CMAKE_BUILD_TYPE not set, defaulting to Release.
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Generator .............. Ninja
-- Build Type ............. Release
-- ENGINE_RUNTIME_MODE not set, defaulting to arm.
-- Rootfs Archive Url ..... http://director.downloads.raspberrypi.org/raspbian/archive/2020-02-14-13:48/root.tar.xz
-- Target Sysroot ......... /home/ranciere/work/flutter_embedded/sysroot
-- Engine Repo ............ git@github.com:flutter/engine.git
-- Engine Commit .......... 9e5072f0ce81206b99db3598da687a19ce57a863
-- ENGINE_RUNTIME_MODE not set, defaulting to debug.
-- PKG_CONFIG_PATH ........ /home/ranciere/work/flutter_embedded/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig:/usr/share/pkgconfig
-- Engine Flags ........... --runtime-mode debug --no-goma --lto --clang --enable-fontconfig --embedder-for-target --full-dart-sdk --disable-desktop-embeddings --target-os linux --linux-cpu arm --target-sysroot /home/ranciere/work/flutter_embedded/sysroot --target-toolchain /home/ranciere/work/flutter_embedded/third_party/engine/src/buildtools/linux-x64/clang --target-triple armv7-unknown-linux-gnueabihf --arm-float-abi hard
-- custom_lib_flags ....... $target_sysroot/usr/lib/arm-linux-gnueabihf/libpthread.a $target_sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/libgcc_eh.a $target_sysroot/usr/lib/arm-linux-gnueabihf/libc.a -Wl,-z,notext
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ranciere/work/flutter_embedded/build

Confirm that the values assigned to "custom_lib_flags" match your sysroot.  Override with ENGINE_CUSTOM_LIB_FLAGS.

That linker error indicates the patch didn't apply.  As the patch explicitly adds "-Wl,-z,notext".  The patch step only runs once per download.  So chances are something was interrupted on the build.  You can force the patch step to run again by either editing the CMake file; as a space somewhere, or deleting one of the files under engine-prefix.

Okay.  I hit the same problem, and I think I have a fix.  It's in the build patch. Although it's odd as I've gotten past this with the old patch, so I'm not convinced it's totally resolved.
Three options after pulling:
rm .../build/engine-prefix/src/engine-stamp/engine-done
rm .../build/engine-prefix/src/engine-stamp/engine-patch
make
this forces patch to happen again

or -
blow away build/engine-prefix and third_party/engine

or -
cd third_party/engine/src
git checkout .
cd third_party/icu
git checkout .

If you hit the pkg_config issue on a re-build, you can get around that by exporting PKG_CONFIG_PATH pointing to the right pkgconfig folder.  In the case of the default build it points to: ${TARGET_SYSROOT}/usr/lib/arm-linux-gnueabihf/pkgconfig:/usr/share/pkgconfig

Hi,
Unfortunately no progress, the bug still exists wit a fresh checkout (rm -fr ./flutter_embeded) than I followed the instructions (git clone; export PKG_CONFIG_PATH; cmake ..; make). The cmake config:
-- CMAKE_BUILD_TYPE not set, defaulting to Release.
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Generator .............. Unix Makefiles
-- Build Type ............. Release
-- ENGINE_RUNTIME_MODE not set, defaulting to arm.
-- Rootfs Archive Url ..... http://director.downloads.raspberrypi.org/raspbian/archive/2020-02-14-13:48/root.tar.xz
-- Target Sysroot ......... /home/ranciere/work/flutter_embedded/sysroot
-- Engine Repo ............ git@github.com:flutter/engine.git
-- Engine Commit .......... 9e5072f0ce81206b99db3598da687a19ce57a863
-- ENGINE_RUNTIME_MODE not set, defaulting to debug.
-- PKG_CONFIG_PATH ........ /home/ranciere/work/flutter_embedded/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig:/usr/share/pkgconfig
-- Engine Flags ........... --runtime-mode debug --no-goma --lto --clang --enable-fontconfig --embedder-for-target --full-dart-sdk --disable-desktop-embeddings --target-os linux --linux-cpu arm --target-sysroot /home/ranciere/work/flutter_embedded/sysroot --target-toolchain /home/ranciere/work/flutter_embedded/third_party/engine/src/buildtools/linux-x64/clang --target-triple armv7-unknown-linux-gnueabihf --arm-float-abi hard
-- custom_lib_flags ....... $target_sysroot/usr/lib/arm-linux-gnueabihf/libpthread.a $target_sysroot/usr/lib/gcc/arm-linux-gnueabihf/8/libgcc_eh.a $target_sysroot/usr/lib/arm-linux-gnueabihf/libc.a -Wl,-z,notext
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ranciere/work/flutter_embedded/build

The PKG_CONFIG_PATH is correct, the pc files are presented there. How can I check a build patches? Could you tell me a relative path to a makefile and build flags to look at?

You should be good to go now.  I've added Channel support, and have checked all the channels for armv7.  Once you confirm you're good I'm going to mark a release.

Hi @jwinarske,
Interesting sequel, I have another bug during compilation of the engine (new checkout):
[1973/3804] AR obj/third_party/dart/runtime/libdart_jit.a
FAILED: obj/third_party/dart/runtime/libdart_jit.a
rm -f obj/third_party/dart/runtime/libdart_jit.a && /home/ranciere/work/flutter_embedded/third_party/engine/src/buildtools/linux-x64/clang/bin/armv7-unknown-linux-gnueabihf-ar rcs obj/third_party/dart/runtime/libdart_jit.a @obj/third_party/dart/runtime/libdart_jit.a.rsp
/bin/sh: 1: /home/ranciere/work/flutter_embedded/third_party/engine/src/buildtools/linux-x64/clang/bin/armv7-unknown-linux-gnueabihf-ar: not found
[1996/3804] CXX obj/third_party/libcxx/src/libcxx.locale.o
ninja: build stopped: subcommand failed.

But if I rerun the make -j then the compilation will be successful :o

I've installed the executable to /usr/bin/flutter_glfw and the dynamic library to /usr/lib/arm-linux-gnueabihf/libflutter_engine.so; but the executable cannot load the flutter lib:
flutter_glfw: error while loading shared libraries: libflutter_engine.so: cannot open shared object file: No such file or directory
If I run it via strace the executable is able to open the lib:
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\240\10\0014\0\0\0"..., 512) = 512
_llseek(3, 25935456, [25935456], SEEK_SET) = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1720) = 1720
close(3)                                = 0

I think the linker flags/architecture do not fit. Should I open a new ticket for this?

what's the output of this: readelf -d libflutter_engine.so

also the icu dat file is required in the same directory as the engine so

Readelf output:
Dynamic section at offset 0x18b9778 contains 25 entries:
  Tag        Type                         Name/Value
 0x0000000e (SONAME)                     Library soname: [libflutter_engine.so]
 0x0000001e (FLAGS)                      TEXTREL BIND_NOW
 0x6ffffffb (FLAGS_1)                    Flags: NOW
 0x00000011 (REL)                        0x21534
 0x00000012 (RELSZ)                      574704 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffa (RELCOUNT)                   68923
 0x00000017 (JMPREL)                     0xada24
 0x00000002 (PLTRELSZ)                   5640 (bytes)
 0x00000003 (PLTGOT)                     0x18baca8
 0x00000014 (PLTREL)                     REL
 0x00000006 (SYMTAB)                     0xe24
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000005 (STRTAB)                     0x144a0
 0x0000000a (STRSZ)                      53395 (bytes)
 0x00000016 (TEXTREL)                    0x0
 0x6ffffef5 (GNU_HASH)                   0xb0f4
 0x00000004 (HASH)                       0xf330
 0x00000019 (INIT_ARRAY)                 0x186f01c
 0x0000001b (INIT_ARRAYSZ)               692 (bytes)
 0x0000001a (FINI_ARRAY)                 0x186f014
 0x0000001c (FINI_ARRAYSZ)               8 (bytes)
 0x0000000c (INIT)                       0x18675d0
 0x0000000d (FINI)                       0x18675dc
 0x00000000 (NULL)                       0x0

I've put the icudtl.dat to the /usr/lib/arm-linux-gnueabihf directory, but results is the same.

now run readelf -d on the executable

Here is:
Dynamic section at offset 0x105fa0 contains 29 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libflutter_engine.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x0000001e (FLAGS)                      TEXTREL
 0x00000015 (DEBUG)                      0x0
 0x00000011 (REL)                        0x1d4b4
 0x00000012 (RELSZ)                      1696 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x00000017 (JMPREL)                     0x1db54
 0x00000002 (PLTRELSZ)                   696 (bytes)
 0x00000003 (PLTGOT)                     0x113500
 0x00000014 (PLTREL)                     REL
 0x00000006 (SYMTAB)                     0x126a0
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000005 (STRTAB)                     0x19980
 0x0000000a (STRSZ)                      15154 (bytes)
 0x00000016 (TEXTREL)                    0x0
 0x6ffffef5 (GNU_HASH)                   0x16608
 0x00000004 (HASH)                       0x17d58
 0x00000019 (INIT_ARRAY)                 0x114018
 0x0000001b (INIT_ARRAYSZ)               8 (bytes)
 0x0000001a (FINI_ARRAY)                 0x114010
 0x0000001c (FINI_ARRAYSZ)               8 (bytes)
 0x0000000c (INIT)                       0x11051c
 0x0000000d (FINI)                       0x110528
 0x6ffffff0 (VERSYM)                     0x15ee0
 0x6ffffffe (VERNEED)                    0x165e8
 0x6fffffff (VERNEEDNUM)                 1
 0x00000000 (NULL)                       0x0

And output of ldd flutter_glfw is:
	linux-vdso.so.1 (0xbef90000)
	/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0xb6f2d000)
	libflutter_engine.so => not found
	libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6dc7000)
	/lib/ld-linux-armhf.so.3 (0xb6f42000)

This is what I see:
readelf -d ./flutter_glfw

Dynamic section at offset 0x104fa0 contains 29 entries:
  Tag        Type                         Name/Value
 0x0000001d (RUNPATH)                    Library runpath: [/media/joel/SolidState/flutter_embedded/build/stable:]
 0x00000001 (NEEDED)                     Shared library: [libflutter_engine.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]

Running the executable it attempts to resolve libraries based on the relative path.  If your target doesn't have this path it will fail to find the dependencies.
To get it to run you need to do this:
LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf flutter_glfw
The RPATH isn't a problem in the case of a Yocto build, as Yocto implements a virtual sysroot, and it installs to the path it will run from.

The flutter example CMake did not have an install step.  Without this it creates the bogus rpath, which is what you're looking at.  I fixed it last night.  Make sure you have that fix git pull
From master
readelf -d /media/joel/SolidState/flutter_embedded/sysroot/usr/bin/flutter_glfw

Dynamic section at offset 0x104fa0 contains 28 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libflutter_engine.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]

At first I thought that LD_LIBRARY_PATH was the problem, but
Here is a the strace log of loading of libflutter_engine.so without so:
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/tls/v7l/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/v7l/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/tls/v7l/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/v7l/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/tls/v7l/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/v7l/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/tls/v7l/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/v7l", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/tls/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/tls/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/tls/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/tls/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/v7l/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/v7l/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/v7l/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/v7l/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/v7l/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/v7l/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/v7l/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/v7l", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/arm-linux-gnueabihf/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/tls/v7l/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls/v7l/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/tls/v7l/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls/v7l/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/tls/v7l/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls/v7l/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/tls/v7l/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls/v7l", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/tls/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/tls/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/tls/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/tls/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/tls", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/v7l/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/v7l/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/v7l/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/v7l/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/v7l/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/v7l/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/v7l/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/v7l", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/neon/vfp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/neon", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf", {st_mode=S_IFDIR|0755, st_size=69632, ...}) = 0
openat(AT_FDCWD, "/lib/tls/v7l/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/v7l/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/v7l/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/vfp", 0xbe92f9c8)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/v7l/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l", 0xbe92f9c8)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/neon", 0xbe92f9c8)     = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/vfp", 0xbe92f9c8)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbe92f9c8)          = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v7l/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v7l/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/neon", 0xbe92f9c8)     = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v7l/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/vfp", 0xbe92f9c8)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v7l/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l", 0xbe92f9c8)          = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/neon/vfp", 0xbe92f9c8)     = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/neon", 0xbe92f9c8)         = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/vfp", 0xbe92f9c8)          = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/lib/tls/v7l/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v7l/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v7l/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v7l/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l", 0xbe92f9c8)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/vfp", 0xbe92f9c8)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbe92f9c8)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v7l/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v7l/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/neon", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v7l/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/vfp", 0xbe92f9c8)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v7l/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l", 0xbe92f9c8)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/neon/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/neon/vfp", 0xbe92f9c8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/neon/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/neon", 0xbe92f9c8)     = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/vfp/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vfp", 0xbe92f9c8)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
writev(2, [{iov_base="flutter_glfw", iov_len=12}, {iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="libflutter_engine.so", iov_len=20}, {iov_base=": ", iov_len=2}, {iov_base="cannot open shared object file", iov_len=30}, {iov_base=": ", iov_len=2}, {iov_base="No such file or directory", iov_len=25}, {iov_base="\n", iov_len=1}], 10flutter_glfw: error while loading shared libraries: libflutter_engine.so: cannot open shared object file: No such file or directory
) = 132
exit_group(127)                         = ?
+++ exited with 127 +++

As you see the system tries to load the library form various directories, but it cannot succeed (library is not presented). If I copy the so to the /usr/lib/arm-linux-gnueabihf then the output will be the followings (part of it):
openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabihf/libflutter_engine.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\240\10\0014\0\0\0"..., 512) = 512
_llseek(3, 25935456, [25935456], SEEK_SET) = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1720) = 1720
close(3)

As you see, the system is able to open and read the library, so this is not the fault.
(I've defined the TARGET_SYSROOT).

Is there an rpath on your library?  If so, this is from an outdated build.
I just tested package installing, after both packages installed, using strace I see it load the library, but fails for another reason.  More fun later :)

Let's open a different issue to match what we're looking at.  I think the build finds the missing library now.  Do you agree?

closing since we are no longer missing flutter_linux library.

Yes, I agree! I will open a new issue today!


Update all GitHub Actions to use checkout@v3 and cache@v3

💡 Description

Per actions execution, @v2 will soon be deprecated and these won't work

@ramesh-maddegoda @nutjob4life @jimmie @tloubrieu-jpl as we are working in repos, let's keep in mind to update the GitHub Actions YAML files to use the newer versions of these steps in the workflows.

Looks like the checkout@v3 and cache@v3 actions are API-compatible with @v2 so this should be trivial 😅

The following repositories have pull requests pending that address the @v3 upgrades:

archive-analytics
deep-archive
doi-service
doi-ui
feedback-widget
github-actions-base
harvest
mi-label
naif-pds4-bundler
nasa-pds.github.io
pds-api
pds-api-pythonlib
pds-api-service
pds-github-util
PDS-Pipelines
pds-registry-app
pds-view
pds3-product-tools
pds4-graph
pds4-information-model
pds4-jparser
pdsen-corral
pdsen-maven-parent
PLAID
product_relationships
registry-api
registry-common
registry-crawler-service
registry-harvest-cli
registry-harvest-service
registry-loader
registry-mgr
roundup-action
sumo-tools
supplementer
template-repo-java
template-repo-python
tracking-service
transform
wds-react
wds-web
wds-wordpress
web-analytics

The validate repository was already upgraded to @v3

Largely done - awaiting the plethora of PR's to be approved.

It sounds like all the PR have been merged, I moving this ticket to review


Add configurable input window height for vertical layout

Updated README.md and config.lua to include a new height option for the input window in vertical layout.
Modified sidebar.lua to use the new configurable height instead of a hard-coded value of 8.

This change allows users to customize the height of the input window when using the vertical layout, providing more flexibility in the UI.

LGTM


Pairing Mode, Easy unpairing, Security Pin, Automation Actions & Callbacks

This PR makes the unpairing process easier and adds the following:

Unpair Button
Pairing Mode Switch with configurable timeout
Security Pin
Callbacks for Pairing Mode (On, Off, Paired)
Actions to unpair, toggle pairing mode (on, off)

@uriyacovy what do you think about the changes?

@AzonInc, @andrejsoucek, thanks a lot for the contribution. It looks good but I need to review and test the code. Hopefully I'll get to that today/tomorrow (just back from vacation).


Add jamesst.one

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: jamesst.one
  url: https://jamesst.one
  size: 4.36
  last_checked: 2022-09-11

GTMetrix Report: https://gtmetrix.com/reports/jamesst.one/OwHedIwi/

I love this site - great work!


set cache control

Coverage increased (+0.1%) to 75.839% when pulling 94e16ce15b8cb734993050c1c1dce8b4d7c24164 on set-cache-control into 4ed752e24bf773ff07ed5631069e1757de28c37d on master.


Only limit the neighbor cache rate after sending a request packet

Prior to this change, the neighbor cache rate would get limited even when the device failed to process our arp packet, which could put the socket in the waiting state in the next poll.
This change only limits the cache rate if the device successfully consumed our packet.
Closes https://github.com/smoltcp-rs/smoltcp/issues/319 again
For more information refer to my comment on the issue.

The change seems fine as-is, but I think that the lookup_pure/lookup distinction lost its meaning. Do you think you could merge those into just lookup? I'll leave the details to your judgement.

Makes sense, I will try something.

Ok, done. Let me know what you think of my approach.


fix(localization): modify evaluation item in localization

Types of PR

[ ] New Features
[x] Upgrade of existing features
[ ] Bugfix

Description
(1) Add a save topic /localization/pose_estimator/initial_to_result_relative_pose
driving_log_replayer/launch/localization.launch.py
This topic shows the relative pose that ndt_scan_matcher changed in optimization in each frame. This indicator by itself is not sufficient to determine if a scenario is OK/NG, but it can be useful from an analysis perspective, so it is added to the record topic.
(2) Remove the judgment by lateral_distance, which is inappropriate for evaluation.
As mentioned earlier, relative_pose cannot be an OK/NG indicator by itself. Currently, the Convergence condition is NG when the lateral_distance  (i.e., in the y direction of the vehicle body) is large, but this is not directly related to Convergence.
The remaining exe_time and iteration_num are also not appropriate as Convergence criteria, but to avoid doing too much in one pull request, I will limit this pull request to removing only lateral_distance.
How to review this PR
Others

I will create a new scenario about localization diagnostics. This PR is now closed.


Getting Started with Neo4j

Title: Getting Started with Neo4j
Author: Arjun Rajeev Nedungadi (@arjuntherajeev)
Prerequisites: None
Time to Complete: 40 Minutes
SHORT Summary/Context/Objectives: This lesson introduces Neo4j - a Graph Database and explains how to perform CRUD (Create-Read-Update-Delete) operations on data in the database.
Link to lesson: https://github.com/arjuntherajeev/neo4jStarterLesson

Labels: beginner, neo4j, graph database


Adding threshold marker

Adding a threshold marker in gauge would be a great addition...

Looks justgage has no this feature. You can request the original project https://github.com/toorshia/justgage


Mongoose 4 RC and mongo-connect error

Here is an error that happens with mongoose 4rc-3 and connect-mongo 0.4.1
https://gist.github.com/whitecolor/877afbce9bdc9bb2bba2

closed. old version of connnect-mongo was used.

For future reference, I'd recommend using connect-mongodb-session instead. connect-mongo is no longer maintained and has several known issues.


Model migration issue from go-pg to bun

Given this simplified example, I have a model:
type Token struct {
	ID           int
	CompanyID    int       `bun:"-" json:"company_id"`
}

And this query:
rows, err := db.QueryContext(ctx, `
SELECT t.id, u.company_id
  FROM tokens t
  LEFT JOIN users u ON t.user_id = u.id
  WHERE t.id = ?`, id)

err = m.DB.ScanRows(ctx, rows, token)

I get an error of:
Scan error on column index 8, name \"company_id\": bun: Token does not have column \"company_id\""

In go-pg, I was able to parse columns that didn't exist in the database to a struct.  Did this change or what is the recommended way to do that now?  Thank you.

@wavded it seems that ScanRows method is just a wrapper over database/sql Rows.Scan() method: https://github.com/uptrace/bun/blob/master/model_scan.go#L29
So probably it does not take bun tags into account.
According to the docs you should write your select query with db.NewSelect() method:
err := db.NewSelect().Model(&user).Where("id = 1").Scan(ctx)

https://bun.uptrace.dev/guide/queries.html#scan-and-exec

You should use bun:",scanonly" instead of bun:"-":
type Token struct {
	ID           int
	CompanyID    int       `bun:",scanonly" json:"company_id"`
}

I will document this.

The migration guide should be updated.

Thanks @vmihailenco !

@vmihailenco Just FYI, that option isn't documented here, seems like it should: https://bun.uptrace.dev/guide/models.html#struct-tags

@wavded thanks, will update.


Refactored logs for storagecluster controller

Signed off by: Priyanka Jiandani<EMAIL_ADDRESS>

/cc @jarrpa

/retest

made all the changes