Uncaught (in promise) Invariant Violation: An error occurred!

Module version(s) affected
5.2.0-beta1, 5.1, 5.0
Description
After installing a fresh Silverstripe installation (using silverstripe/installer) and only adding dnadesign/silverstripe-elemental to the default Page object, when you add an element and publish the page, you get the following error:
Uncaught (in promise) Invariant Violation: An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#%7B%22version%22%3A%223.8.8%22%2C%22message%22%3A32%2C%22args%22%3A%5B%5D%7D
I originally thought it might be something in my project code caused by a misconfigured nginx setting, but I've now reproduced the error on a new install using Apache.  It also appears to have been fixed a few times in the past: https://github.com/silverstripe/silverstripe-elemental/issues?q=invariant
How to reproduce
composer create-project silverstripe/installer ss52 5.2.0-beta1

---
Page:
  extensions:
    - DNADesign\Elemental\Extensions\ElementalPageExtension
---

Setup the project using the details above. This was reproduced with the php:8.1-apache-jammy image, but also appears on nginx/fpm setups
In Firefox 124, create a new Page
Add a few Content blocks
Publish the page

OBSERVE: the above error appears in the console
Possible Solution
No response
Additional Context
No response
Validations

[X] Check that there isn't already an issue that reports the same bug
[X] Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)

This is a duplicate of https://github.com/silverstripe/silverstripe-elemental/issues/950 which I know you've seen, because you posted a link to filtered issues in slack. Please don't create duplicate issues.
In this case because this issue includes more information than the other one I'll close the other one, but in future please just include additional context in the existing issue.
Please also update the How to reproduce to include actual steps to reproduce the error - what do I do in the browser to see the error? Do I have to create a page? Create a block? Publish a block? etc etc etc.

Fair enough, the issue was 2 years old for SS4 though, and is impacting the publish button.  I've added it here with fresh reproduction steps on SS5. Apologies for the duplicate

is impacting the publish button

What do you mean by "impacting"? Does it set the button to disabled, for example?
And do you mean the page publish button, or the block publish button?

Last user report I had, an "error" Toast message appeared in the top right and publication did not actually occur. That was initially caused me to suspect an nginx problem. The page was stuck in a draft state afterwards. I'm still not entirely sure how to reproduce it myself.  The console error here is specifically for default installs

I see these errors too in console on multiple 5.2 sites using Elemental. Can the errors be suppressed/fixed somehow?


Create/record a Cartographer demo

Description of problem
A simple and concise demonstration of the Cartographer's main use case (how to create a Supply Chain) is missing from the repo or the project's website
Proposed solution
Record a brief demo showcasing the value and flexibility that Cartographer can provide to the Supply Chain use case, so we can publish it on the project's public sites

Done, as part of TGIK episode:
https://www.youtube.com/watch?v=TJPGn0-hpPY&t=1957s


Make visible only when player is on

Suggestion: ^^title
When Spotify is running, show the toolbar. If it's closed (its process is ended), hide the toolbar.

I also suggest (maybe optional in settings), when music stops/pauses, the scrolling text pause to scroll too and push the text info to the beggining.
Also, like ingdanko suggested, when spotify is closed, hide the toolbar, this would be very nice too.

+1

BUMP I was going to suggest this feature I would like to see this implemented.


lv_obj_set_hidden not possible with page object

I created a page to have a scroll option on some screens. I tried everything to hide the page object but nothing works, all otions crash the code.
What i have tried:

lv_obj_set_hidden
lv_page_set_style (with invisible style)
lv_page_set_sb_mode -> LV_SB_MODE_OFF
any ideas what i could do to use this feature?
Any hints are greatly appreciated!

Please send a simple code to reproduce the issue in the simulator.

i redefined the global label while creating the page. it was a typo. everthing works as expected.
Thanks :)


Fix nightly build

Fixed error in Generate Reports: Comment in Maven command line broke the job
Upgrade actions
added buildplan-maven-plugin
added sloc-maven-plugin

related to #201

The build attaches now a "reports" artifact. It contains

The buildplan
SLOC files for each module
plugin updates report
dependency updates report

Furthermore it contains a "distros" build artifact


Youtube Video Starting at Certain Time

It would be nice to have an option in the YoutubeAudioSourceManager to be able to player a youtube video from a certain time. Maybe something like loadTrackWithVideoId(String videoId, int seconds, boolean mustExist);?

Why? You can set the position of an AudioTrack before playing it.

Ah ok, I missed that feature. I'll close this issue. Thanks.


MM-22027: Removes 'on the next AD/LDAP synchronization' from the mess…

Summary
Updates some text now that team/channel group sync happens on demand.
Ticket Link
https://mattermost.atlassian.net/browse/MM-22027
Related Pull Requests
n/a

@thefactremains I think I have captured all of the requested changes.


WPF support on .NET Core 3.0

We have to support the new WPF that's released for .NET Core 3.0.
For now, I'm not sure what we should do to support it, but we definitely want to do it.

Fixed via #219


[2.x] Missing data after a sudden power cut

I am using Influx DB version 2.7.3 on a Variscite SOM Board: Variscite Spear-MX8 version 1.4
and OS details:  Linux: Linux imx8qm-var-som 5.15.60-imx8qm+ga172809910fb #1 SMP PREEMPT Sat Jun 10 07:41:51 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux.
We are experiencing a loss of chunks of data after the system powers up. on further investigation, we have found that all shards that were present before the power-down still exist.
Does anyone have any idea about this issue and what we can do to retrieve the data?

@SagarAcevin Where are you storing the data? eMMC? SD card? Or somewhere else?

@gwossum We are storing the data on the SD card.


Overall Performance Optimization

Researchers,
Are there any suggestions to improve the performance of the overall pipeline? I am using one Tesla V100, and the performance is about 187 questions per minute by running two instances in parallel.
Though the outcomes are simply great! I am running showstopper making use of this in production. With some leverage of assumptions, I am able to process roughly 2000 documents per day. per GPU We chunk each document (every doc has different # of chunks) & each chunk has n th hints.
My goal is to target roughly 20,000 docs per GPU per day. If so I should be able to scale fabric of 5 GPUs, to keep the operational cost under check. We receive roughly doc 100k updates per day.
Thank you,
Anshoo

@anshoomehra  Have you found any solution. i am going through same production sitaution where model is taking much gpu memory so i can't increase my worker to make multiprocess. Can you advise something?

@anshoomehra Have you found any solution. i am going through same production sitaution where model is taking much gpu memory so i can't increase my worker to make multiprocess. Can you advise something?

@kbrajwani not very clear on your problem statement, GPU memory is tied to input load, not sure if you are batching or not, try to analyze there first & fine tune. GPUs are expensive & hence they being fully utilized to max is good, do not be afraid on that front!! Just be watchful of overloading, memory errors, & be creative to dynamically handle load should any of this happen. Few tips in general:

Switch to T4 GPUs that would save you on cost and hopefully you can procure GPUs if needed.
Beam Size is a critical hyperparameter, the lowest gives you best performance, not necessarily quality, find the right balance of quality & performance here for your domain of input text.
It's been awhile & I see many lighter versions of unilm, not sure if you have tried them?
Batching (if feasible) will give you the best performance.

I followed the custom approach over unilm generating questions, and had good success with it. Let me pen this down as it may help many & even share the code. It will take me a while to do so, FYI.
Good luck!

Thanks man


Do I have to worry about page boundaries within my prog() function?

Hi, I want to use littlefs with an SST26VF016B 16Mbit flash memory. The smallest block unit that can be erased is 4096 bytes. Within those 4096 bytes, there are 16 pages of size 256 bytes. Only one page can be programmed in one call. However, following the reference sheet, when more than 256 bytes is given to program, it wraps around the page start.
So, now I need to implement the prog() prototype of littlefs and if I undertand it correctly, prog() does only write x bytes within one programmable block (in my case one page). I can calculate the memory address by the given argument block (number) and offset. However, what happens if given size exceeds the remaining number of bytes inside this page?
For example:
block size = 4096, prog size = 256
prog(cfg, block=4, off=200, size=64)

would exceed a page boundary since the remaining number of bytes after the offset is smaller than to-write size=64.
I hope my question is understandable. I am kind of new to embedded / flash memory and hope to find an answer here.

I think you should be OK, certainly if you also have cache_size = 256 - I've been using another flash device in the same series for some time without noticing any problems, also with prog_size = 256 and block_size = 4096.
With cache_size = 256, littleFS maintains a write buffer of size prog_size, which logically must start on a 256-byte boundary otherwise there will be complications when wrapping into another block.
If cache_size is 512, say, I think the same argument applies.
Why not put a trap in your flash writing driver to check that writes don't cause a wrap around? That will settle it, unless @geky can give a definitive answer.

@bselc just a side note:
The datasheet -> section 5.2 second paragraph states: "The programmed data must be between 1 to 256 bytes and in whole byte increments"
To me that means you can do: .prog_size = .read_size = 1
At least that's what I'm doing with a similar chip and a page of 256 bytes, erase block of 4k and cache of 4k
As far as writing more than 1 page....  here's my quick and dirty code:
...
prvLfsCfg.prog  = &LFS_Write;
...

int LFS_Write(const struct lfs_config *c, lfs_block_t block, lfs_off_t off, uint8_t *buffer, lfs_size_t size)
{
	int32_t result = LFS_ERR_OK;
	uint32_t uiFlashAddr = (block * c->block_size) + off + SERIAL_FLASH_FS_START_ADDRESS;
	QSPI_SF_Write( uiFlashAddr, size, buffer);
	return result;
}

int32_t QSPI_SF_Write( uint32_t SF_Address, uint32_t Len, uint8_t *pSrcBuffer)
{
	xSemaphoreTake( prvQSPIMutex, portMAX_DELAY);
	// ensure we do not cross page boundaries
	uint32_t uiAddr = SF_Address;
	while (Len)
	{
		uint32_t uiPageOffset = uiAddr % prvSFlashPageSize;
		uint32_t uiWriteLen = min( Len, (prvSFlashPageSize - uiPageOffset));
		s25fl1xx_write(&sQSPI_Drv, pSrcBuffer, uiWriteLen, uiAddr, false);
		Len -= uiWriteLen;
		pSrcBuffer += uiWriteLen;
		uiAddr += uiWriteLen;
	}
	xSemaphoreGive(prvQSPIMutex);
	return 0;
}

Hope that helps.
Sorry got to go now so no time to format the code better, but I can try and explain more tomorrow if you can't read it.

Just to confirm, littlefs only promises to write in multiples of the prog_size. So for a 256 byte prog_size, littlefs may try to write 256, 512, 768, etc. What @evpopov provided is the correct way to batch this into page-size units for the flash device.
The prog_size config exists for devices that have a physical limit on the minimum number of bytes they can write at a time. Since the SST26VF016B supports byte-level reads/progs you can set both read_size/prog_size to 1.

In theory, you could set prog_size = page-size so that all program operations maximize the amount of data they send in a bus transaction. But I have never seen this be a bottleneck and the savings would probably be really small vs upgrading to QSPI/etc.

Ah yes, any read/prog operations will be multiples of the read_size/prog_size and aligned to the read_size/prog_size.
Assuming "start address" here is the off parameter in the read/prog functions.


Bugfix: fail on critical build errors

(not yet tested)
Resolves #15

@severinbratus , thanks again!
I've tested it here: https://github.com/TeachBooks/testable-template/actions/runs/8880318945
Could you still provide a summary which includes the branches which are published anyway? And would it be possible to add the traceback (in case of a jupyter book build issue, for example the issue starting here https://github.com/TeachBooks/testable-template/actions/runs/8880318945/job/24380098298#step:7:38) or the previous line in case of another error (https://github.com/TeachBooks/testable-template/actions/runs/8880318945/job/24380099268#step:7:36 this line, but not sure whether it's always just one line) And would it be possible to show the summary at the top? So above annotations, artifacts and non-critical errors summaries? That's still the most important one so it would be a bity if that's hidden somewhere

To note, here's another type of error which is properly shown: https://github.com/TeachBooks/testable-template/actions/runs/8880522755

And would it be possible to show the summary at the top? So above annotations, artifacts and non-critical errors summaries? That's still the most important one so it would be a bity if that's hidden somewhere

Yes, I now see a way to do this: upload a summary artifact from each branch-building job, and then download & combine them later.

Could you still provide a summary which includes the branches which are published anyway?

Yes, this should be compatible with the approach above.

And would it be possible to add the traceback (in case of a jupyter book build issue, for example the issue starting here https://github.com/TeachBooks/testable-template/actions/runs/8880318945/job/24380098298#step:7:38) or the previous line in case of another error (https://github.com/TeachBooks/testable-template/actions/runs/8880318945/job/24380099268#step:7:36 this line, but not sure whether it's always just one line)

By add traceback, do you mean to have more descriptive error messages than Error: Process completed with exit code 127? I do not think this is possible -- this is how it has been before as well https://github.com/TeachBooks/testable-template/actions/runs/8838899318

And would it be possible to add the traceback (in case of a jupyter book build issue, for example the issue starting here https://github.com/TeachBooks/testable-template/actions/runs/8880318945/job/24380098298#step:7:38) or the previous line in case of another error (https://github.com/TeachBooks/testable-template/actions/runs/8880318945/job/24380099268#step:7:36 this line, but not sure whether it's always just one line)

By add traceback, do you mean to have more descriptive error messages than Error: Process completed with exit code 127? I do not think this is possible -- this is how it has been before as well https://github.com/TeachBooks/testable-template/actions/runs/8838899318

Yes, to have the lines above the exit code error echoed as well. So in case of the first link, the lines 107 - 110 and in case of the second link, the line 35. The exit code is not descriptive, while the description is there in those lines above. If it's not possible maybe provide instructions how to find those?

@Tom-van-Woudenberg Please see https://github.com/TeachBooks/testable-template/actions/runs/8951772242 for an example that includes all three:

non-critical error (NOTE: this will disappear from the summary on the second run due to caching)
critical build error
teachbooks missing

Resolves #23 now as well, see https://github.com/TeachBooks/testable-template/actions/runs/8967130932 I plan to make a new Issue & PR for the change request on marking failed branches in the table


[Feat] Client-go which is used to communicate with the managed-clusters can be configed with qps and burst

At the best, the configuration can be different for the managed clusters.

@oeular sgtm, one feasible approach is to add the client-side rate-limit configurations under the spec of ClusterGateway (extending secrets via annotations). also, this feature should be gated according to its maturity. /cc @Somefive

If the feature is not assigned, we want to join next month.

This feature looks good to me. It's okay for @oeular to start.


Tooltip is not shown on density line in the middle of scatter matrix.

See demo: https://github.com/JetBrains/lets-plot/blob/master/docs/examples/jupyter-notebooks/scatter_matrix.ipynb

Fixed.


Fix condition for is_internal

depends on #22094
Fixes https://codeberg.org/forgejo/forgejo/issues/77
The old logic did not consider is_internal.

make L-G-T-M work


Fix various typos in docs for readability

Change Description
A small set of trivial fixes for typos and readability in the docs.
Steps to Test
N/A
Pull Request Checklist
Testing

[Y] Your PR passes all CI checks.
[N/A] Tests covering the positive and negative (error paths) are included.
[N/A] Bug fixes contain tests triggering the bug to prevent regressions.

Code Style and Documentation

[Y] The change obeys the Code Documentation and Commenting guidelines, and lines wrap at 80.
[Y] Commits follow the Ideal Git Commit Structure.
[Y] Any new logging statements use an appropriate subsystem and logging level.
[N/A] Any new lncli commands have appropriate tags in the comments for the rpc in the proto file.
[N/A]  There is a change description in the release notes, or [skip ci] in the commit message for small changes.

📝 Please see our  Contribution Guidelines for further guidance.

Thanks for the PR. Please check the contribution guidelines regarding Ideal Git Commit Structure.

Fixed the commit message to follow the guidelines for a trivial typo change. Does this look good now?

Thanks for the PR. Please check the contribution guidelines regarding Ideal Git Commit Structure.

Would appreciate another look at this PR. :)

That's me nudging them to get it merged in hahaha.
On Sun, Jul 7, 2024, 1:16 PM Marcia Waite @.***> wrote:

Thanks for the PR. Please check the contribution guidelines regarding Ideal
Git Commit Structure
https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#ideal-git-commit-structure
.
Would appreciate another look at this PR. :)
—
Reply to this email directly, view it on GitHub
https://github.com/lightningnetwork/lnd/pull/8881#issuecomment-2212558980,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHUMHIXACMIXVX4RYA7SC3ZLGOY7AVCNFSM6AAAAABKEZMNNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGU2TQOJYGA
.
You are receiving this because you commented.Message ID:
@.***>

@yyforyongyu @bitromortac Requesting another look since the most recent change.


xExchInstall: Broken in <IP_ADDRESS>

ISSUE TITLE:
xExchInstall: Broken in <IP_ADDRESS>
ISSUE DESCRIPTION (this template):
It looks like xExchInstall was broken in https://github.com/PowerShell/xExchange/pull/218. Changing 'Invoke-Expression -Command' to '&' prevents the winrm command from executing correctly, as it tries to execute the command and all the parameters as an executable. You can reproduce this by trying to run 'Invoke-Expression -Command "dir -?"', and then trying to run '& "dir -?"'.
Specifically, the change from:
Invoke-Expression -Command "winrm i restore winrm/config" | Out-Null
To:
& "winrm i restore winrm/config" | Out-Null
Doesn't work.
@luigilink, can you comment on what you were trying to accomplish with this change, and if you have an alternate way to pass the required parameters to winrm (other than the original method)? Thanks.
Details of the scenario you tried and the problem that is occurring
Trying to install Exchange 2016 CU8 on Windows 2012 R2.
Version of the operating system and PowerShell the target node is running
Caption                             OSArchitecture                      Version                            MUILanguages                       $PSVersionTable.PSVersion

Microsoft Windows Server 2012 R2... 64-bit                              6.3.9600                           {en-US}                            4.0
Exchange Server edition and version the target node is running
Exchange 2016 CU8
Version of the DSC module you're using, or write 'dev' if you're using current dev branch
<IP_ADDRESS>

The goal was to remove Invoke-Expression since it reports as a PSSA rule.
This works
& winrm i restore winrm/config

or for testing
winrm g winrm/config

But why was it using Invoke-Expression at all? Couldn't we just run the below?
winrm i restore winrm/config | Out-Null

Looks like any of those options work. I'll probably go with the last one. I'll add a fix for this while working on https://github.com/PowerShell/xExchange/issues/200


Socket leak on "esp_https_server" component (IDFGH-5778)

Hi,
I am writing a websocket server and i did some tests opening and closing connections with the server.
After about 9 requests(opening and closing) the server rejects new connections.
The registered closed callback function(closed_socket_handler) is called in all 9 closed sockets.
Error:
    httpd: httpd_accept_conn: error in accept (23)
    httpd: httpd_server: error accepting new connection

Config:
    httpd_ssl_config_t config = HTTPD_SSL_CONFIG_DEFAULT();
    config.httpd.core_id = tskNO_AFFINITY;
    config.httpd.max_open_sockets = 5;
    config.httpd.task_priority =  tskIDLE_PRIORITY + 5;
    config.httpd.close_fn = closed_socket_handler;
    config.transport_mode = HTTPD_SSL_TRANSPORT_INSECURE;
    config.httpd.lru_purge_enable = false;  // The lib limits to 5 openned sockets, but closes oldest socket and opens another if "lru_purge_enable = true".

Why the the server are rejecting new connections if callback "closed_socket_handler" are called in all times ?
Some help are welcome.
Thank's.

@baldhead69 When we close socket, if socket not be closed by Four-way handshake, the socket will enter Time-wait state, maybe 120s (not sure). In this state,  the socket will not be completely released, and the socket fd will still be occupied. For solve this issue, you can use SO_LINGER option and force close the socket.

@baldhead69 Could you please set lru_purge_enable  true in httpd_config_t  and try.

@baldhead69 When we close socket, if socket not be closed by Four-way handshake, the socket will enter Time-wait state, maybe 120s (not sure). In this state, the socket will not be completely released, and the socket fd will still be occupied. For solve this issue, you can use SO_LINGER option and force close the socket.

How to do this and where ?
Thank's.

I enabled "Enable SO_LINGER processing" in menuconfig "Component config->LWIP", but not solved.
I think i need set SO_LINGER = true and/or TIME_WAIT = 0, but i don't know where or how.

@baldhead69 Could you please set lru_purge_enable  true in httpd_config_t  and try.

Not solved, same problem.
After nine connection:
W (00:00:39.136) httpd: httpd_accept_conn: error in accept (23)
W (00:00:39.136) httpd: httpd_server: error accepting new connection
W (00:00:44.358) httpd: httpd_accept_conn: error in accept (23)
W (00:00:44.358) httpd: httpd_server: error accepting new connection
W (00:03:18.262) httpd: httpd_accept_conn: error in accept (23)
W (00:03:18.262) httpd: httpd_server: error accepting new connection

I enabled "Enable SO_LINGER processing" in menuconfig "Component config->LWIP", but not solved.
I think i need set SO_LINGER = true and/or TIME_WAIT = 0, but i don't know where or how.

@baldhead69 You can refer to https://esp32.com/viewtopic.php?f=13&t=20705

@baldhead69 When we close socket, if socket not be closed by Four-way handshake, the socket will enter Time-wait state, maybe 120s (not sure). In this state, the socket will not be completely released, and the socket fd will still be occupied. For solve this issue, you can use SO_LINGER option and force close the socket.

Looks like it's solved.

@ESP-YJM
I don't know why closing the connection by Jmeter is returning an error, maybe the websocket server is not responding correctly with a closing frame.
I must open a new issue for this ?

@baldhead69 When we close socket, if socket not be closed by Four-way handshake, the socket will enter Time-wait state, maybe 120s (not sure). In this state, the socket will not be completely released, and the socket fd will still be occupied. For solve this issue, you can use SO_LINGER option and force close the socket.

Looks like it's solved.

Glad to hear the good news.  From the wireshark packet, i think the websocket layer close is right. But need check the TCP layer close. I think you can follow this issue and no need open a new.

@ESP-YJM
I did two tests.

First test: open and close connection without user(i) send a websocket close frame.

The server are not sending a websocket close frame(ie, not a clean websocket close protocol).

Second test: open and close connection with user(i) send a websocket close frame.

The server send a websocket close frame(ie, a clean websocket close protocol).

@ESP-YJM
I use visual studio code with esp-idf.
The code compile ok, but visual studio code show that not encounter some data structs.
I include "#include <lwip/sockets.h>", but inside this file appear in line 44 that "LWIP_SOCKET" is not enabled.
Do you know how/where i can enable "LWIP_SOCKET"  ???
Thank's.

@baldhead69 I think LWIP_SOCKET is enabled in opt.h https://github.com/espressif/esp-lwip/blob/2c9c531f0a7e0ee536db9de4f9dc54e453712087/src/include/lwip/opt.h#L1985

@ESP-YJM
I think visual studio code are buggy, but i dont have assurance.

@baldhead69 I think you no need care about the display in vscode. C:\esp-idf\components\coap\libcoap\examples\lwip\lwipopts.h we don't use it. If you want to know whether LWIP_SOCKET defined, you can do some build test.

@baldhead69 I think you no need care about the display in vscode. C:\esp-idf\components\coap\libcoap\examples\lwip\lwipopts.h we don't use it. If you want to know whether LWIP_SOCKET defined, you can do some build test.

Yes, but it's annoying to see the failure in the code if you use this feature to find errors in the program.

@baldhead69 I think you no need care about the display in vscode. C:\esp-idf\components\coap\libcoap\examples\lwip\lwipopts.h we don't use it. If you want to know whether LWIP_SOCKET defined, you can do some build test.

Yes, but it's annoying to see the failure in the code if you use this feature to find errors in the program.

I agree that but it is difficult to make vscode identify which macro is defined, due to some macro generated when make build. I think this topic is not related to the title issue. Do you have any doubt or comments about title issue? If no, i think we can close it and open other topic issue to disscuss vscode display.

@ESP-YJM
The close frame issue remains to be resolved.
May be you can close here and you can continue here with the close frame:
https://github.com/espressif/esp-idf/issues/7493#issuecomment-912203846
The uri handler are not called when client close frame and the "background websocket layer" do not send a close message to do a clean close.
Thank's.

@baldhead69 Yes, current version not support do a clean close. I will keep #7493 open and fixed in this issue tickets. And #7486 maybe can be closed. You can help close #7486.

I enabled "Enable SO_LINGER processing" in menuconfig "Component config->LWIP", but not solved.
I think i need set SO_LINGER = true and/or TIME_WAIT = 0, but i don't know where or how.

@baldhead69 You can refer to https://esp32.com/viewtopic.php?f=13&t=20705

After I upgraded my idf version from 4.2 to 5.0, I encountered the same problem.This post helped me.Thanks


allowOldDates on Android

Obviously allowOldDates only works on iOS for this plugin, but does anyone know how to make it work for Android too?

isn't it just the same as setting the minDate to the current date if allowOldDates is false?

That doesn't work either. Unfortunately it seems like this project is abandoned.

It works fine:
minDate: .new Date().valueOf()
You have to set it with a Unix timestamp


para to para integration test

!! Dont merge , am fixing some rpc issues,
in testing enviroment it seems rpc cannot connect to remote url

Current issue solving for this PR to be ready is ismp parachain consensus inherents messages.

Next step is cleanup everything and use the relay function for this.


Can’t pass options containing a space for all fastlane tools

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
It looks like there’s a problem parsing option containing spaces. Here are two examples where the part after the space is ignored:
$ deliver --ipa /System/Library/Automator/Activate\ Fonts.action
[00:21:19]: Error setting value '/System/Library/Automator/Activate' for option 'ipa'

or
$ deliver --ipa '/System/Library/Automator/Activate Fonts.action'
[00:21:35]: Error setting value '/System/Library/Automator/Activate' for option 'ipa'

Another example with scan:
$ ~/.fastlane/bin/scan --device "iPhone 5s"
[00:23:29]: $ xcodebuild -list -workspace ./XCDYouTubeKit\ Demo.xcworkspace
[00:23:35]: $ xcodebuild clean -showBuildSettings -workspace ./XCDYouTubeKit\ Demo.xcworkspace -scheme XCDYouTubeKit\ Framework
[00:23:36]: Ignoring 'iPhone', couldn’t find matching simulator
[00:23:36]: Couldn't find any matching simulators for '["iPhone"]' - falling back to default simulator

Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.11.6

Ruby
2.2.4

Bundler?
false

Xcode Path
/Applications/Xcode81.app/Contents/Developer/

Xcode Version
8.1

Git
git version 2.9.3

Installation Source
/Users/0xced/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.11.6 (15G1108)

Ruby Lib Dir
/Users/0xced/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

credentials_manager
0.16.2
✅ Up-To-Date

fastlane_core
0.55.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

json
1.8.1

multi_json
1.12.1

highline
1.7.8

colored
1.2

commander
4.4.0

babosa
1.0.2

excon
0.54.0

rubyzip
1.1.7

plist
3.1.0

terminal-table
1.4.5

gh_inspector
1.0.2

security
0.1.3

credentials_manager
0.16.2

fastlane_core
0.55.0

i18n
0.7.0

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.4.3

activesupport
<IP_ADDRESS>

CFPropertyList
2.3.3

claide
1.0.1

nanaimo
0.2.2

xcodeproj
1.4.1

bundler
1.13.6

word_wrap
1.0.0

generated on: 2016-11-12

This looks like a bug specific to the self-contained version of fastlane. Tools installed with gem are fine:
$ ~/.gem/bin/deliver --ipa /System/Library/Automator/Activate\ Fonts.action
[00:36:20]: Error setting value '/System/Library/Automator/Activate Fonts.action' for option 'ipa'

[!] '/System/Library/Automator/Activate Fonts.action' doesn't seem to be an ipa file

@ohwutup Any idea where this is coming from?

I found the problem: most of the fastlane tools wrapper scripts forget to quote the argument forwarding, i.e. it should be
exec "${DIR}/bundle/bin/bundle-env" deliver "$@"

instead of
exec "${DIR}/bundle/bin/bundle-env" deliver $@

Notice the quotes!

Thanks @0xced we will definitely fix this up ASAP!

I just hit this very issue with gym --workspace "My Project.xcworkspace". Is there any update on it?

Thanks everyone, looking into the issue now 👍

Thanks everyone, we submitted the patch, and will release a new bundle shortly 👍

Did you have a chance to try the new bundle? Please let us know if that works for you.

I am slightly confused. I tried just now and it seems to work but I haven't upgraded explicitly. So either I cannot reproduce the issue any more or fastlane toolset was autoupdated (I installed it via brew cask).
$ gym --version
gym 1.12.1


[BUG] VMs don't start after migrating off of deleted node

Describe the bug

VMs don't start when moving off of a host that's being deleted
To Reproduce
Steps to reproduce the behavior:

Create a 4 node cluster
Add 4 VMs
Create them as Image template VMs with the last three being cloned off of the first
Delete the host that they are on
Expected behavior

The VMs should migrate then start
Support bundle

harvester-supportbundle_354a3d19-a23c-46af-b5f9-0ff55547f6a9_2021-07-06T17-58-01Z.zip
Environment:

Harvester ISO version: master-50c6f22c-head
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): bare metal DL160

Additional context
If you stop the VMs then start them manually they will run. It doesn't appear to be related to starting multiple VMs at once. It appears that the volume fails to attach.

Reproducible in master-9f917060-head,

Create a 4-node cluster
Run multiple VMs
Delete one of the nodes
VMs on that node turn to starting status.

The VM pods stuck in ContainerCreating. events:
  Warning  FailedMount         98s                 kubelet                  Unable to attach or mount volumes: unmounted volumes=[disk-0], unattached volumes=[hotplug-disks libvirt-runtime sockets disk-0 private public ephemeral-disks container-disks]: timed out waiting for the condition
  Warning  FailedAttachVolume  20s (x14 over 12m)  attachdetach-controller  AttachVolume.Attach failed for volume "pvc-976e34a6-5475-424a-a97b-a91c3f029fdf" : rpc error: code = DeadlineExceeded desc = volume pvc-976e34a6-5475-424a-a97b-a91c3f029fdf failed to attach to node harvester-6wq4t

support bundle:
supportbundle_33dd87d0-06d9-4f29-8aae-6204f06ae826_2021-10-10T05-53-01Z.zip

Depend on https://github.com/longhorn/longhorn/issues/2618


The pjp.cmd.home will override the essentialcmds.home.use

If we need to set the cross-world home we will use the /pjp home create command (we need cross-world permission to the home in different world)
but you just override the essential command (no need cross-world permission)
two plug-in shouldn't use same home command ,especially this important command

One plugin does not dictate the commands another plugin can use. Command conflicts are to be resolved by the Sponge server owner.
https://forums.spongepowered.org/t/conflicting-plugin-commands-look-no-further/11011


Median of 2 sorted arrays

Issue: 41
Added cpp file to find median of 2 sorted arrays.
Please merge my pull request under hacktober fest

Hello @shashank-lol ,
I hope this message finds you well. I wanted to take a moment to express our appreciation for your contributions to our open-source project. Your efforts have been invaluable to our community.
We have been working hard to improve and expand the project to provide more value to our users. We kindly invite you to consider showing your support by starring our repository. Starring the repository helps us grow and reach a wider audience, making it easier for others to discover and benefit from the project.
🌟 https://github.com/UzairHussain193/Get_Start_with_OpenSource_Contributions 🌟
Your star would mean a lot to us and would help us continue to make meaningful contributions to the open-source community.
Thank you for being a part of our project, and we look forward to your continued support. If you have any questions, feedback, or suggestions, please don't hesitate to reach out.
Warm regards,
Uzair Hussain
<EMAIL_ADDRESS>https://github.com/UzairHussain193/


[GPoS] Stage 2 Stake Limit Calculation

Stake Limit Calculation Mechanism Brief Introduction
Stake Limit Calculation combine with 2 parts: a curve set and a 2 stages-curve, curve-set decides a key param of the 2 stages-curve, and the 2 stages-curve decides node's stake limit.
1. Curve Set
Curve set decides a param named Stake Limit cut-off point(SL Cut-Off Point), which decides the total stake limit the nodes can stake, initial with 60%, and this SL Cut-Off Point decided by the total effective stakes rate, which = total_effective_stakes / total_issued.

2. 2 Stages-curve
2 stages-curve truly decided the Stake Limit, which divided into 2 stages, 1st stage is static ratio with storage power(initial with 1:5), and the 2nd stage will comparing with total storages, and the transforming condition is decided by the SL Cut-Off Point from Curve Set shows below.


module rename

Using this Hotrod in Signadot e2e averted the dependency issue I was getting earlier. But then the e2e tests are failing. Here's a PR to just swap out hotrod (void of OPA changes): https://github.com/signadot/signadot/pull/4057


Errors that are expected by way of expected_status_codes should not impact Apdex

We have reports that errors with status codes matching specified expected_status_codes values are correctly appearing in the Errors Inbox as "expected", but are negatively impacting Apdex.
This relevant specification text confirms that expected errors should not impact Apdex.

Expected errors MUST create traced errors and error events, but MUST NOT increment any of the Errors/* metrics in order to prevent error rate and Apdex modifications.

We'll need to determine where in the agent or back-end the denotation of an error as expected fails to prevent that error from impacting Apdex.
NOTE: The use of ignore_status_codes works as a workaround. Ignored errors are seen as not impacting Apdex. The drawback of the workaround is that ignored errors are not delivered to the Errors Inbox.

Thank you so much for taking the time and digging into the problem. :) While the linked PR #2619 would be good enough for what we need, as far as I can see this would still let expected_classes and expected_messages impact the Apdex score -- right? As the PR has added a check specifically for expected_status_codes but not the other "expected" configuration options. See https://github.com/newrelic/newrelic-ruby-agent/blob/dev/newrelic.yml#L309-L322

Thank you so much for taking the time and digging into the problem. :) While the linked PR #2619 would be good enough for what we need, as far as I can see this would still let expected_classes and expected_messages impact the Apdex score -- right? As the PR has added a check specifically for expected_status_codes but not the other "expected" configuration options. See https://github.com/newrelic/newrelic-ruby-agent/blob/dev/newrelic.yml#L309-L322

Hi @florianpilz! I'm very glad to hear that the linked PR will be helpful!
As for expected error classes and error messages, I believe those are now covered as well. I think the code changes cover everything, but my text summary was insufficient.
Previously, the only way an expected error would not impact Apdex would be if the notice_error API was used with an expected: true key/value pair argument. With PR #2619, that check for an expected: true attribute on the error is still being checked, but we are now additionally performing an ErrorCollector#expected? check on the exception and the HTTP response code (which can be nil). The exception and optional HTTP response code are sent to ErrorFilter#expected? which looks like this:
def expected?(ex, status_code = nil)
  @expected_classes.include?(ex.class.name) ||
    (@expected_messages.key?(ex.class.name) &&
    @expected_messages[ex.class.name].any? { |m| ex.message.include?(m) }) ||
    @expected_status_codes.include?(status_code.to_i)
end

That method will take care of checking for configured expected classes and messages by looking at the exception argument, and then check for an expected HTTP status code by looking at the optional status code argument.
The inclusion of these #expected? methods is the big change the PR introduced.
So I think what happened is that the code in the PR does everything we want, but my description was limited by only mentioning the status codes. If after taking another look you disagree, please let me know and I'd be happy to investigate farther.
We'll keep you posted via comments on this issue for when these changes make it into a new agent gem release.

@florianpilz I have updated the PR description text, the CHANGELOG, and the source code comments. Thanks very much for pointing out that the error classes and error messages are also possible ways to expect errors! See acb8297

Hi @florianpilz. The PR has now been approved and merged, so the bugfix should go out in the next release of the New Relic Ruby agent. Thank you again for bringing this issue to our attention!

Really nice! You are right, I only got distracted by HTTP codes being explicitly passed. Makes all sense now and looking forward to the next release. 🎉 ❤


Please invite me to the GitHub Community Organization

Please invite me to the GitHub Community Organisation.

Name: Agriya Khetarpal

Discord Username(if exists): RocketRaja#0906

Additional Context: None

Where did you meet Eddie?
A friend talked about him and asked me to join
What do you like about this community/ why do you want to join?
I want to learn more about open-source and improve my GitHub profile

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps


Python: client docs improvements.

Resolves these points in #1320:

Docstrings should use 4-space indents.
Docstring class references should use the ~. prefix if a period is present in the class name.
In docstring examples, use ... for the prompt in hanging indents or continued statements (match the interpreter).

@lukesneeringer can you take a quick look at the baseline changes?
Not that the changes to the doc messages should be ignored as they the documentation generation is being removed in #1496.

Codecov Report

Merging #1497 into master will decrease coverage by <.01%.
The diff coverage is 87.5%.

@@             Coverage Diff              @@
##             master    #1497      +/-   ##
============================================
- Coverage        87%   86.99%   -0.01%
- Complexity     4111     4117       +6
============================================
  Files           405      406       +1
  Lines         16492    16505      +13
  Branches       1759     1760       +1
============================================
+ Hits          14349    14359      +10
- Misses         1667     1669       +2
- Partials        476      477       +1

Impacted Files
Coverage Δ
Complexity Δ

...ransformer/py/PythonApiMethodParamTransformer.java
91.95% <100%> (+0.38%)
28 <0> (ø)
:arrow_down:

...api/codegen/transformer/py/PythonSurfaceNamer.java
93.22% <100%> (+0.11%)
58 <0> (+2)
:arrow_up:

...oogle/api/codegen/util/py/PythonRenderingUtil.java
93.75% <100%> (+1.44%)
11 <3> (+3)
:arrow_up:

...oogle/api/codegen/util/py/PythonDocstringUtil.java
25% <25%> (ø)
1 <1> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9241de5...16bee66. Read the comment docs.

@lukesneeringer ready for another look!

Ready for another look @lukesneeringer


Improvements to /-/create-token restrictions interface

It would be neat not to show write permissions against immutable databases too - and not hard from a performance perspective since it doesn't involve hundreds more permission checks.
That will need permissions to grow a flag for if they need a mutable database though, which is a bigger job.

Originally posted by @simonw in https://github.com/simonw/datasette/issues/1947#issuecomment-1350414402
Also, DO show the _memory database there if Datasette was started in --crossdb mode.

Non-memory named databases shouldn't show write actions, since those won't persist.


Search queries with commas (,) get splitted into multiple queries when using Shodan

uncover version
projectdiscovery/uncover@be23df81db2678f9e32e13faf57463ae729d3ddf compiled using go version devel go1.19-5bb2628c6f  darwin/amd64
Current Behavior
$ cat $HOME/.config/uncover/config.yaml
query:
  - 'org:"Something, Inc."'

engine: shodan
...

Results in the following queries issues by the tool:
[shodan] unexpected status code 502 received from https://api.shodan.io/shodan/host/search?key=REDACTED&query=org:"Something&page=1
[shodan] unexpected status code 502 received from https://api.shodan.io/shodan/host/search?key=REDACTED&query= Inc."&page=1

Expected Behavior
A single query is issued using my raw string, urlencoding it if needed.
Steps To Reproduce:
$ SHODAN_API_KEY=REPLACE-WITH-YOURS uncover -q 'org:"Something, Inc."' -v

Anything else
For now I've fixed this by doing the needed changes in order for the program to handle Query parameter as a string type rather than goflags.FileCommaSeparatedStringSlice. Please, note this required more changes but I avoided pasting them there.
diff --git a/runner/options.go b/runner/options.go
index 17804d6..a23b7e5 100644
--- a/runner/options.go
+++ b/runner/options.go
@@ -23,7 +23,7 @@ var (

 // Options contains the configuration options for tuning the enumeration process.
 type Options struct {
-       Query        goflags.FileCommaSeparatedStringSlice
+       Query        string

Would be happy to contribute a change to use Query as a string, but maybe the proper fix is to make goflags.FileCommaSeparatedStringSlice properly handle quotted commas? I'll leave that decision to your team! 😃

@jimen0, thanks again for reporting this. This is now fixed in the latest release.

looks like we have regression of this bug, reopening for further tracking.


Creating a conda environment with OpenMM-ML and PhysicsML

There have been some difficulties with installing physicsml in the same environment with openmm-ml. As a workaround, we have found that the following sequence of installs works
conda create -p ./.venv python=3.11
conda activate ./.venv
pip install physicsml
conda install openmm-ml pytorch-gpu -c conda-forge

@peastman can you try this an confirm if it works for you? Thanks!

Doing it that way works.  Here is what I did.
conda create --name test -c conda-forge python=3.11
conda activate test
pip install physicsml
mamba install -c conda-forge openmm-ml pytorch-gpu rdkit pytest

I then used pytest tests/openmm to run all the tests for the OpenMM interface, and everything passed.
Do you expect it to only work with Python 3.11, or should it also work with other versions?

Ah that's great!
It's compatible with 3.8, 3.9, 3.10, and 3.11 (tests run for all these versions)

What about supporting 3.12?

We don't have plans to support it currently, but I think we will at some point.


TransferDom：add TransferDom #2043

Please makes sure the items are checked before submitting your PR, thank you!

[ ] Rebase before creating a PR to keep commit history clear.
[ ] Only One commit
[ ] No eslint errors

Codecov Report

Merging #2045 into v2 will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##              v2   #2045   +/-   ##
=====================================
  Coverage   6.31%   6.31%
=====================================
  Files        143     143
  Lines       4737    4737
  Branches     536     536
=====================================
  Hits         299     299
  Misses      4437    4437
  Partials       1       1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7cc9b35...2a3b0c7. Read the comment docs.


Improvements to whitelist management so the adding to custodians pops off the arbiter list and viceversa.

This is intended to prevent the case where a custodian could be an arbiter at the same time on the same DAO.
Adding to one list should pop the user off the other list unless they cannot be popped off.

The cases where an arbiter cannot be popped off the arbiter whitelist (added to custodian whitelist) is when they are an arbiter on a proposal that is not completed or expired for a given DAO.
A custodian cannot be popped off the custodian whitelist (added to the arbiter whitelist) if they are a registered candidate for a DAO.

This will require each of the the<EMAIL_ADDRESS>to be added to the wlman permission on each of the dao.worlds and prop.worlds contracts.
I have not updated the tests to verify the running of this code but it compiles locally.

I think this one can be closed once #146 is merged


[lucene-custom-filter] Conditional token filter factory

The ConditionalTokenFilterFactory is an abstract class.
The idea is to do a similar trick that the ProtectedTermFilterFactory is using:
{:conditional {:condition "regex"
                       :wrapped-filters "reverseString, synonymgraph"
                       :synonymgraph.file "path-to-file"}}

(defn conditional-token-filter [args]
  (let [args (prepare-params args)]
    (proxy [ConditionalTokenFilterFactory] [args]
      (create [^TokenStream input ^Function inner]
        (proxy [ConditionalTokenFilter] [input inner]
          (shouldFilter [] (prn ">>>>" args) true))))))


Cannot install module from powershell 5.1

The PSH Gallery says that the minimum version is 5.1.
However, the module will not install under 5.1 but with 7 only.

I am not able to repro this.  More information is needed.  I did need to update my PackageManagement and PowerShellGet modules to the latest versions, that support the -AllowPrerelease switch.  But then I was able to install the module under Windows PowerShell:
Install-Module microsoft.powershell.secretsmanagement -Force -AllowPrerelease

Closing this as we are not able to repro, if you can provide more information we will re-open--thanks!


fix(deps): update icr.io/ext/logdna-agent docker tag to v3.8.8-20230922.cc92b95fe91f7384

This PR contains the following updates:

Package
Update
Change

icr.io/ext/logdna-agent
patch
3.8.7-20230911.d56198292a9583c4 -> 3.8.8-20230922.cc92b95fe91f7384

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This PR is included in version 1.7.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Support attach to application consoles (Vm and Container)

This PR implements a possibility to attach to an application console and have a fully functional terminal for commands execution.
A running application on an EVE device has a console for input or output. You can attach to the application console from the EVE device as a control terminal if the application (VM or Container) listens to the TTY line and communicates with the virtual console /dev/hvc0 device. For example for popular linux distributions deployed as VM application this is usually the case.
First list applications consoles of all running QEMU (KVM) processes:
# eve list-app-consoles
PID     APP-UUID                                CONS-TYPE       CONS-ID
---     --------                                ---------       ---------
3883    e4e2f56d-b833-4562-a86f-be654d6387ba    VM              e4e2f56d-b833-4562-a86f-be654d6387ba.1.1/cons
4072    f6d348cc-9c31-4f8b-8c4f-a4aae4590b97    CONTAINER       f6d348cc-9c31-4f8b-8c4f-a4aae4590b97.1.2/cons
4072    f6d348cc-9c31-4f8b-8c4f-a4aae4590b97    VM              f6d348cc-9c31-4f8b-8c4f-a4aae4590b97.1.2/prime-cons

Choose console ID you need to attach and pass it as an argument to the eve attach-app-console command:
# eve attach-app-console e4e2f56d-b833-4562-a86f-be654d6387ba.1.1/cons
[20:26:15.116] tio v1.37
[20:26:15.116] Press ctrl-t q to quit
[20:26:15.116] Connected
<PRESS ENTER>

Ubuntu 18.04.6 LTS user hvc0

user login:

Note: tio utility is used as a simple TTY terminal, so in order to quit the session please press ctrl-t q or read the tio manual for additional commands.
The same 'cons' console ID can be used for the Container application, but please be aware if container does not start a shell then terminal is very limited and can be used only for reading for the console output, but not for executing commands.
In order to attach to the console of the hosting Vm of the Container application another console ID should be used which is named prime-cons:
# eve attach-app-console f6d348cc-9c31-4f8b-8c4f-a4aae4590b97.1.2/prime-cons
[20:41:47.124] tio v1.37
[20:41:47.124] Press ctrl-t q to quit
[20:41:47.124] Connected
<PRESS ENTER>
~ #

The prime-cons console exists only for the Container applications and is always reachable for executing commands on the Vm which hosts corresponding container.
Once terminal responds on the prime-cons console it is possible to enter container by executing the eve-enter-container command:
~ # eve-enter-container
(none):/# ps awux
PID   USER     TIME  COMMAND
    1 root      0:00 /bin/sh
    6 root      0:00 -ash
    7 root      0:00 ps awux
(none):/# exit
~ #

This PR does two main important things:

Provides a helper sub-commands as a part of eve script: list-app-consoles and attach-app-console which pumps bytes between a QEMU virtual socket and PTY and attaches tio utility to the corresponding PTY. This gives an easy way to attach to the 'cons' file (exists for ages on EVE) in the corresponding /run/hypervisor/kvm/*/ folder.
Adds the second virtual console prime-cons (same /run/hypervisor/kvm/*/ folder) for the Container applications. The 'prime-cons' is a terminal attached to the agetty process executed in the init-initrd script of the hosting Vm.
Adds a eve-enter-container script which enter the corresponding container from the hosting Vm.

Difference to the previous version:

Targeted most of the comments and suggestions. Thanks guys.
Yetus fixes.

Difference to the previous version:

Doc update

Docs updated, yetus fixed, merging.


ShedLock 4.42.0 not compatible with SpringBootStarterDataRedis 2.7.4

Is your feature request related to a problem? Please describe.
When trying to use ShedLock with redis the following error is thrown:
java: cannot access redis.clients.jedis.JedisPoolConfig   class file for redis.clients.jedis.JedisPoolConfig not found
If I manualy import Redis.client in v3.3.0 current is v4. There is no problem

Hi, thanks for feedback. Which lock provider do you use? shedlock-provider-redis-jedis4 should work


Temporary Fix for Re-Submitting all Resources to Validation

@wardi this will also get fixed by the upstream stuff (https://github.com/ckan/ckan/pull/7968). And then I think, in the Validation extension after upstream fix, you can just ignore if it is a dataset because all of the Resource hooks will happen no matter what.
But as for this temporary fix, it is a little bit chaotic, but it is mainly comments detailing what is happening and why. It is just adding context key,values in some of the resource hooks, and then checking for them in the after_update.
Basically it will prevent resubmitting all Resources if:

one is deleted
one is updated
one is created

Fortunately, the blueprints for dataset edit, it uses allow_partial_update so users can use the edit dataset form no problem without any resources getting re-submitted. The only issue that remains here, and we cannot really fix, is if a user is hitting the API on /api/action/package_update or /api/action/package_patch and passing a list of resources into it.  They should feel bad and use /api/action/resource_patch.
Bonus: I replaced the ckanapi usage with just the toolkit.get_action

appreciate the comments here to help with the cleanup later. There's a small race condition in updating the flags but it was there before this PR so it can be addressed separately


selectHighlights selects wrong value when search is set to regex

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:

1.84.1
2b35e1e6d88f1ce073683991d1eff5284a32690f
x64

OS Version: Windows 10 Enterprise build 19045.4046

If the in-file search editor is present (but not focused) with "Use Regular Expression" toggled on, ctrl+shift+L (editor.action.selectHighlights) will select all matches for the value in the search bar rather than the value currently selected in the editor. Turning off regex or exiting the in-page search bar will revert the shortcut to its correct behavior.
All steps below were performed on a new file with all user settings and key bindings disabled.
Steps to Reproduce:

Open/create a file with duplicate texts
Enable in-page search (ctrl+f)
Submit a value present in the file to the search editor (value A)
Enable the regex option for in-page search (alt+r)
Select a non-unique text in the page (value B)
Trigger editor.action.selectHighlights (ctrl+shift+L)
All instances of A will be selected (if any) rather than all instances of B

In the GIF above you will see me attempt to select highlights a number of times by double-clicking a word and spamming ctrl+shift+L. The result varies slightly based on the current search editor value.

If the search value is found in the page, selection flips from the value selected manually to all instances of the search value.
If the search editor is empty, the editor is populated it with the current selection and all page instances are selected.
If the search editor value has no matches, the shortcut will simply do nothing.

Note that I have submitted this issue previously without realizing the reproduction hinged on enabling regex. My sincere apologies for not performing a more in-depth analysis at the time in response to the dev's request for more information. I was busy at the time, but I still regret wasting someone's time.

Can confirm
create a blank file with the following text
example text
example text
example text

right click text and select Change All Ocurreneces
notice how all occurrences of text are selected ✅
ctrl+f to open find
type example and enable regex mode
right click text again and select Change All Ocurreneces
notice how all occurrences of example are now selected ❌


Ensure we're prepared for adopting AutoCloseable from stdlib

We want to be able to make things like RedwoodComposition and maybe others extend from AutoCloseable once its stable.
This mostly entails making sure we use close(): Unit and not something like cancel() or something with a non-Unit return value.

We did this. Will add elsewhere as needed.


The provided user token was malformed.

Using the example app I generated a token successfully but when I try to create assessment (generate score) the API response is "invalidReason": "MALFORMED"
Endpoint:
POST https://recaptchaenterprise.googleapis.com/v1/projects/PROJECT_ID/assessments?key=API_KEY

Request Body:
{
    "event": {
        "token": "YOUR_TOKEN",
        "siteKey": "RECAPTCHA_KEY",
        "expectedAction": "login"
    }
}

Response:
{
    "name": "projects/PROJECT_NUMBER/assessments/PROJECT_ID",
    "event": {
        "token": "YOUR_TOKEN",
        "siteKey": "RECAPTCHA_KEY",
        "userAgent": "",
        "userIpAddress": "",
        "expectedAction": "login",
        "hashedAccountId": "",
        "express": false,
        "requestedUri": "",
        "wafTokenAssessment": false,
        "ja3": "",
        "headers": [],
        "firewallPolicyEvaluation": false,
        "fraudPrevention": "FRAUD_PREVENTION_UNSPECIFIED"
    },
    "riskAnalysis": {
        "score": 0,
        "reasons": [],
        "extendedVerdictReasons": []
    },
    "tokenProperties": {
        "valid": false,
        "invalidReason": "MALFORMED",
        "hostname": "",
        "androidPackageName": "",
        "iosBundleId": "",
        "action": "",
        "createTime": "1970-01-01T00:00:00Z"
    }
}

When I tried to validate the token at https://jwt.io/ it said invalid signature

So I found my mistake, the token was being printed using debugPrint which trimmed the value.
It is silly of me not to realise this, when I used developer.log() and used the complete value I was able to get the correct response.
Thank you for the package.


Separation of transports (API change)

Transports should probably be separated into different files.
Here's how the proposed API would look:
// Just using core, for localCaller or custom transports
const rpc = require('rpc/core')
let runner = new rpc.Runner({ 'add': (a, b) => a + b })
let api = rpc(runner.localCaller)

// Using built-in transport
const rpc = require('rpc/tcp')
let runner = new rpc.TCPRunner(...)
let api = rpc(new rpc.TCPCaller(...))

// Import everything
const rpc = require('rpc')
let runner = new rpc.TCPRunner(...)
let api = rpc(new rpc.LocalCaller(runner))

The way I'm thinking, each require('rpc/...') would extend the require('rpc/core') export, which would mean that the all parts of the module would sit under one object, but be independently loaded. The main benefit of this would be that implementing things would be simpler.

Merged onto v1.0-dev in #13.


Plugins fail to install due to search false positives

This change brings the regex pattern for plugin (without version) search inline with the regex pattern for plugin+version search on line 80.
Without the prepended caret (^), plugins that are not installed may fail to install due to false positives.  Example:

Install the ssh-credentials plugin
Install the credentials plugin

With the current logic, the regex "credentials" will match the existing plugin "ssh-credentials" and the plugin will not be installed.  Adding a ^ fixes this issue.

I think the failure was random travis glitching.  I've kicked it.


Fix _InitChipStack() initialization order.

Problem
ConfigurationMgr().Init() indirectly uses the System layer,
which has not yet been initialized, in its ‘fail-safe armed’ case.
Fixes #5336 TestPlatformMgr occasionally crashes on Linux
Change overview
Initialize Configuration Manager after the System layer.
Testing
Confirmed on Linux that adding fail-safe-armed=1 to
/tmp/chip_config.ini reliably triggers the TestPlatformMgr
crash on master, but not after this change.
Relying on CI to confirm that there are no unexpected side effects
of changing the initialization order. (There should be none, since
System::Layer does not depend on ConfigurationMgr.)

This is fine, but why are we ending up in the "fail-safe is armed" case in the unit tests? That's also broken, and needs to be investigated. Please make sure there's an issue tracking it?

#11380 Unexpectedly armed failsafe encountered in TestPlatformMgr


the permissions for the datadog-agent need to be modifiable

Motivation for this change
I can't get any disk metrics with the user-group datadog. My system runs all daemons through root. Below is my error message that I was able to resolve by creating a permissions option in the datadog-agent module setting my services.datadog-agent.permissions = { User = "root"; Group = "root"; };
Jun 27 02:14:59 nixos zx0f096xv8lgg1wxgnwhspxq0n4lj96g-unit-script-datadog-agent-start[16394]: 2020-06-27 02:14:59 UTC | CORE | WARN | (pkg/collector/py/datadog_agent.go:148 in LogMessage) | (disk.py:107) | Unable to get disk metrics for /run/user/1000/gvfs: [Errno 13] Permission denied: '/run/user/1000/gvfs'

Things done

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

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

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

Also, it might be easier to just do
{
  services.datadog-agent = { /* whatever */ };
  systemd.services.datadog-agent.serviceConfig = {
    # Either this (but results in an unused datadog user)
    User = "root";
    Group = "root";
    # Or this
    SupplementaryGroups = [ "myorg" ];
    # Or maybe this?
    InaccessiblePaths = [ "/run/user" ];
  };
}

This works because the module system merges all definitions (the one from your config and from this module) of systemd.services.datadog-agent.

I think adding to SupplementaryGroups from inside the datadog module, if certain checks requiring it is fine. @maxgitt, WDYT>


Version on pypi looks weird

Probably not super important, but there are two versions showing on the pypi download page, so I'm not sure which is correct (I think it's 3.2.2)

Looks like someone updated the readme but didn't create the git tag...  @auvipy was 3.3.0 an intended new release?

3.3.0 is the latest version, but on that time readme was forgotten not updated

Thanks for clarifying.


code cleanup & EditorConfig

We've discussed coding style guidelines and generally agreed that something such as google's c++ guide would be worth trying out.
Using an .editorconfig file with EditorConfig plugin allows reformatting existing code and automatic consistency of new code.

All ssc tests and all SAM default configurations unchanged and files open and save in VS2019 without issue


Avoid endpoints creating new spans (skip pattern)

Hey guys
I'm seeing traces are created to calls done to the "/actuator/health" endpoint.
I had read that there is a skip pattern to avoid those endpoints creating spans by default, was it removed/changed?
Do you know where I can find info on how to configure endpoints to not generate traces?
Thanks for your help

hi the skip pattern is configured in web module https://github.com/opentracing-contrib/java-spring-web/blob/master/opentracing-spring-web-starter/src/main/java/io/opentracing/contrib/spring/web/starter/WebTracingProperties.java#L37

Is this property should be working for ignoring span from RestTemplate ? I have a health endpoint which calls actuator endpoint of others services and spans are created from RestTemplate

The skip pattern is for server side endpoints.

This not working in latest Jaeger version, please any help ?


fix: Use 0x0 as a fallback Size if SENSOR_INFO_PHYSICAL_SIZE is null (e.g. on USB cameras)

…cs cannot get the SENSOR_INFO_PHYSICAL_SIZE value of the camera device

What

Changes

Tested on

Related issues

Hey - thanks for the PR this is a good fix. I'm hoping a size of 0x0 won't cause any issues later, e.g. divisions by zero in zooming or similar. But we'll see.
Did you run yarn check-all in the package/ directory? Looks like it is not formatted properly, please do that.

Actually it is formatted properly - nevermind!

Actually it is formatted properly - nevermind!

I tested yarn check-all on the main branch, and these Formatting errors also exist.
The error is as follows:
`
Formatting Swift code..
error: SwiftFormat not installed, install with 'brew install swiftformat' (or manually from https://github.com/nicklockwood/SwiftFormat)
Linting Swift code..
error: SwiftLint not installed, install with 'brew install swiftlint' (or manually from https://github.com/realm/SwiftLint)
Linting Kotlin code..
error: KTLint not installed, install with 'brew install ktlint' (or manually from https://github.com/pinterest/ktlint)
Formatting C++ code..
error: clang-format not installed, install with 'brew install clang-format' (or manually from https://clang.llvm.org/docs/ClangFormat.html)
Linting JS/TS code..
$ eslint "**/*.{js,ts,tsx}" --fix
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.2.0
YOUR TYPESCRIPT VERSION: 5.3.3
Please only submit bug reports when using the officially supported version.
=============
$ tsc --noEmit
All done!
✨  Done in 3.59s.
`

Actually it is formatted properly - nevermind!

I tested yarn check-all on the main branch, and these Formatting errors also exist.
The error is as follows:
Formatting Swift code.. error: SwiftFormat not installed, install with 'brew install swiftformat' (or manually from https://github.com/nicklockwood/SwiftFormat) Linting Swift code.. error: SwiftLint not installed, install with 'brew install swiftlint' (or manually from https://github.com/realm/SwiftLint) Linting Kotlin code.. error: KTLint not installed, install with 'brew install ktlint' (or manually from https://github.com/pinterest/ktlint) Formatting C++ code.. error: clang-format not installed, install with 'brew install clang-format' (or manually from https://clang.llvm.org/docs/ClangFormat.html) Linting JS/TS code..

lgtm!

the error is btw that you didnt install the tools. you need them to format.

tools

I get it, I will install the tools immediately, thank you


Avoid genrating local files if possible

If deployed on server this will generate a large amount of files occupying disk space.
Plus disk io is much slower than memory.
Can we try to call it from python directly and read/write files using BytesIO?

This is a good point! I've updated the IO for the original track and separated the tracks.
For the original track, Demucs requires to load from a file, so the raw bytes of the original track are written into a temporary file. The file will be deleted after converted to Tensor.
For output tracks, no file is written in the latest implementation.


[WIP]add manage_etc_default_sensu flag param

Pull Request Checklist

Description

Related Issue

Fixes # .
Motivation and Context

How Has This Been Tested?

General

[ ] Update README.md with any necessary configuration snippets

[ ] New parameters are documented

[ ] New parameters have tests

[ ] Tests pass - bundle exec rake validate lint spec

@ndelic0 Closing due to lack of response. We value your input and will gladly reopen if you could answer the questions above. Thank you!


Issue14 finished

Request for review and pull
Everything except comments is done.
Login works
Menu has submenus and CRUD operation works on them
Branches have working CRUD operations
Registration works
Logo is corrected
Multilanguage support on all places where it was possible due to the database design limitations
Redudant files deleted and typoes corrected

Vypadá to oukej ;)


Need some way to specify where extra arguments are placed

For instance I add the following to all my terraform states
{
  terraform {
    extra_arguments "ouput_plan" {
      commands = [
        "plan"
      ]

      # With the get_tfvars_dir() function, you can use relative paths!
      arguments = [
        "-out=${get_tfvars_dir()}/tfplan.out"
      ]
    }

    extra_arguments "apply_plan" {
      commands = [
        "apply",
        "destroy"
      ]

      # With the get_tfvars_dir() function, you can use relative paths!
      arguments = [
        "${get_tfvars_dir()}/tfplan.out"
      ]
    }
  }
}

However when I run apply-all I get the following:
[snip]
[terragrunt] [/Users/cp/projects/work/infrastructure/src/aws/global] 2018/03/28 15:02:36 Running command: terraform apply /Users/cp/projects/work/infrastructure/src/aws/global/tfplan.out -input=false -auto-approve
Too many command line arguments. Configuration path expected.
[snip]

I run in to a lot of issues like being able to pass -terragrunt-source or -terragrunt-source-update flags (I need to use env) because the extra arguments are placed before any extra arguments given. I can see why that is since the feature is for flags, but I think this is still a valuable feature to have built in to terragrunt.
As far as the feature being "need way to...": I'm not sure that's the best solution either, but maybe some field called arguments_post or pre_arguments would solve this in a way that is clear to others.

Looks like this method is not behaving as intended: https://github.com/gruntwork-io/terragrunt/blob/master/options/options.go#L177. PRs with a fix are welcome.

I also came across this issue when trying to implement a plan-all command which persists a planfile, that is used by apply-all later.
This would work perfectly fine if terragrunt wouldn't try to add -input=false -auto-approve at the end of the cmd.

[terragrunt] [/home/sebastian/Development/tg-boatyard/tg-timeseriesmonitor/aws/eu-central-1/base/rds] 2019/01/02 11:33:07 Detected 1 Hooks
[terragrunt] [/home/sebastian/Development/tg-boatyard/tg-timeseriesmonitor/aws/eu-central-1/base/rds] 2019/01/02 11:33:07 Running command: terraform apply /home/sebastian/Development/tg-boatyard/tg-timeseriesmonitor/aws/eu-central-1/base/rds/tfplan.out -input=false -auto-approve
Too many command line arguments. Configuration path expected.

these parameters should have to be ordered before the specific planfile. Resulting in the following cmd which would work when running manually

terraform  apply -input=false -auto-approve /tfplan.out

Is there any work around this?  We implemented extra arguments in tfvars as described in #428 to save multiple plans as part of CI, but are now seeing the same thing.

+1, just came across this. Will try to find some time to look into what's causing the error and fix. @brikis98

Great, thanks @lopezm1!

I had the same issue and I found a workaround/possible fix.
Why do we need -input=false -auto-approve by default?
I removed them from configstack/stack.go
// Apply all the modules in the given stack, making sure to apply the dependencies of each module in the stack in the
// proper order.
func (stack *Stack) Apply(terragruntOptions *options.TerragruntOptions) error {

	// stack.setTerraformCommand([]string{"apply", "-input=false", "-auto-approve"})

	stack.setTerraformCommand([]string{"apply"})
	return RunModules(stack.Modules)
}

Added those arguments to my terragrunt configuration (only if you require them):
  terraform {
    extra_arguments "plan_vars" {
      commands = [
        "plan",
      ]

      arguments = [
        "-out",
        "${get_tfvars_dir()}/plan.tfplan",
      ]
    }

    extra_arguments "apply_vars" {
      commands = [
        "apply",
      ]

      arguments = [
        "-auto-approve",
        "-input=false",
        "${get_tfvars_dir()}/plan.tfplan",
      ]
    }
  }

And the command is now valid and applies the plan:
Running command: terraform apply -auto-approve -input=false plan.tfplan

@carlosfrancia just wondering if you have submit a PR with your fix?

jtlyk I have created this PR https://github.com/gruntwork-io/terragrunt/pull/848 and instead of removing those options as @carlosfrancia mentioned I re organize them on the execution as @seppi91 mentioned and that solve the problem for me plz feedback :)


[desktop_multi_window] Proposal: Add a resizable boolean setter to WindowController

It would be nice to be able to control whether windows are allowed to be resizable or not.
Example:
windowController
  ..setFrame(const Offset(0, 0) & const Size(350, 350))
  ..center()
  ..setTitle('About {{app_name}}')
  ..isResizable(false) // This is what I'm suggesting
  ..show();

I support this as well. I want to prevent the user from resizing sub windows. Not sure if its possible though.

Hello, is anyone able to provide an update about this? It's really an important feature for desktop apps. @boyan01 perhaps?

https://stackoverflow.com/a/29339315/8819885


Add release notes

The release notes wiki is empty. Please add it for the 2.0 release. This can be used to maken a news item about the new release.

Added


operator github-arc-operator (1.1.0)

Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[ ] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

/merge possible

/merge possible

/merge possible

@mbmcmullen27 please fix description. At least a paragraph to let people know what is this operator doing. You can copy form a documentation. Use https://operatorhub.io/preview to check how it looks in the catalog. Thank you.

@J0zi Oh thank you! I forgot about the preview tool. I fixed the formatting there and added some additional context to make it more clear what the operator is for

/merge possible

/merge possible

@J0zi does it look good now? can we merge this in?

/merge possible


feat: adds ensured Radiant Light info

What
feat: adds ensured Radiant Light info

:tada: This PR is included in version 0.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fixed animation pause/continue-logic and fatal halts

Hello
As requested. I did a loooot of testing back and forth, and I ended up separating pause/continue from backgrounding, since there is probably many cases where backgrounding should not stop the timer.
The progress ring now listens for notifications from AppDelgate to be able to save and restore the animation when moving in and out of backgrounding.
I think everything works as you would expect now. The only problem I see now is that if you don't pause the timer and you move it out of the view (present a VC on top of it), the animation will stop just like before. I added to the docs that you should call pause in viewWillDisappear to be able to pause and restore it in this case. This of course means that it doesn't really work if you want it to keep counting even when another VC is on top of it. I have no use-case for that so I'm satisfied with how it is now.
I suggest you test it yourself before you merge it.
I also removed the crash when calling continue or pause if not paused or started. Now it just logs but only when compiled for debug.
Updated comments in code to reflect these changes.

Great! Thanks for this. Will review as soon as possible!

No problem. I'm sorry about the spaces vs tabs situation. I don't know what happened there. I just used the normal Reindent feature in XCode.

Now available in v3.3.1


Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below):1.10
Python version:3.6
Bazel version (if compiling from source):0.17
GCC/Compiler version (if compiling from source):N/a
CUDA/cuDNN version: N/a
GPU model and memory: N/a
Exact command to reproduce: adb install bazel-bin/tensorflow/contrib/lite/examples/android/tflite_demo.apk

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
I'm trying tensorflow demo app on my computer using the bazel build in the ubuntu terminal. The project has built successfully. When I run adb install bazel-bin/tensorflow/contrib/lite/examples/android/tflite_demo.apk I got this error
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
How can I solve this problem? Any help, please
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

The is built and is installed successfully, but it give me a run time error after replace the detect.tflife with my detect.tflite and my label map (after making some changes in the build and the DetectorActivity)

@Elites2017 Try adding this to build.gradle under Android to create apk for each type:
splits {
        abi {
            enable true
            reset()
            include 'x86', 'armeabi-v7a', 'x86_64'
            universalApk true
        }
    }

I have used that but the app runs and crashes each time I launch it. Runtime Error, I don't know where that error comes from? Before setting my model on the app, at the step to convert my .pb file (graph from the ssd_mobilenet v1_1.0_224) to .tflite file. The model was converted with this warning:
the (tflite_graph.pb) file is converted to .tflite with the following warning.
**Ignoring unsupported attribute type with key '_output_types' ** should I worry about it ?
Or do you think this warning can cause the runtime error in the app?
**NB: But the model from tensorflow works in the app, but my own model doesn't **
Exact comand used:
bazel run -c opt tensorflow/contrib/lite/toco:toco -- --input_file=/home/david/pro/tflite_graph.pb --output_file=/home/david/pro/detect.tflite --input_shapes=1,300,300,3 --input_arrays=normalized_input_image_tensor --output_arrays=TFLite_Detection_PostProcess --output_arrays=TFLite_Detection_PostProcess:1 --output_arrays=TFLite_Detection_PostProcess:2 --output_arrays=TFLite_Detection_PostProcess:3 --inference_type=QUANTIZED_UINT8 --mean_values=128 --std_values=128 --change_concat_input_ranges=false --allow_custom_ops --default_ranges_min=0 --default_ranges_max=6

@Elites2017 You would need to look into the details of your model. Please check input and output data type. Also make sure all ops used in the model are supported by tflite. Any other error messages did you observe?

I gave the following model a try
it stiils give me the warning of unsupported types.
My model details :Found 1 possible inputs: (name=normalized_input_image_tensor, type=float(1), shape=[1,300,300,3])
No variables spotted.
Found 1 possible outputs: (name=TFLite_Detection_PostProcess, op=TFLite_Detection_PostProcess)
Found 5595395 (5.59M) const parameters, 0 (0) variable parameters, and 0 control_edges
Op types used: 451 Const, 389 Identity, 105 Mul, 94 FakeQuantWithMinMaxVars, 70 Add, 35 Sub, 35 Relu6, 35 Rsqrt, 34 Conv2D, 25 Reshape, 13 DepthwiseConv2dNative, 12 BiasAdd, 2 ConcatV2, 1 TFLite_Detection_PostProcess, 1 Squeeze, 1 Sigmoid, 1 RealDiv, 1 Placeholder
To use with tensorflow/tools/benchmark:benchmark_model try these arguments:
bazel run tensorflow/tools/benchmark:benchmark_model -- --graph=converting/tflite_graph.pb --show_flops --input_layer=normalized_input_image_tensor --input_layer_type=float --input_layer_shape=1,300,300,3 --output_layer=TFLite_Detection_PostProcess
But it still gives me the error W tensorflow/contrib/lite/toco/tflite/operator.cc:879] Ignoring unsupported attribute type with key '_output_types' when trying to converting the exported graph (.pb file) to .tflite file although it's converted to .tflite file
Exact command:
bazel run -c opt tensorflow/contrib/lite/toco:toco --
--input_file=/home/david/tensorflow/converting/tflite_graph.pb
--output_file=/home/david/tensorflow/converting/detect.tflite
--input_shapes=1,300,300,3
--input_arrays=normalized_input_image_tensor
--output_arrays=TFLite_Detection_PostProcess
--inference_type=QUANTIZED_UINT8
--mean_values=128
--std_values=128
--change_concat_input_ranges=false
--allow_custom_ops
--default_ranges_min=0
--default_ranges_max=6

@Elites2017
Glad the above approach works for the TensorFlow model. Here is link to tflite supported ops. To tweak your model, please post your code snippet so we can provide guidelines. Since this is not a bug nor feature request, the question is best asked at StackOverflow.

Are all your questions answered?
Yes
No

It works without config option while building
bazel build -c opt  --cxxopt='--std=c++11' //tensorflow/lite/examples/android:tflite_demo