Add a "kapp images list" command.

Describe the problem/challenge you have
Want an easy way of being able to list all images used by an application deployment and what top most resource they were specified in, eg., Deployment, DaemonSet, StatefulSet, or if no owner they are created from, then the Pod.
Describe the solution you'd like
Would like to be able to say:
kapp images list -a example

Anything else you would like to add:
There are already commands for:
kapp config-map list -a example
kapp service-account list -a example

This would fit in with how these are possible and have similar sort of result.
The command to list images would be useful when trying to verify the the outcome of image rewrites due to using kbld to map to hash, or when doing image relocation via imgpkg.

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
cc @jorgemoralespou

And am aware that could feed resources into kbld inspect, however would be nice to have self contained solution in kapp itself.
Also, due to #239, you can't do:
kapp inspect --raw -a example | kbld inspect -f-

Using kbld inspect it shows images against all resources in chain and not just top most owner, which is what would really care about.

what do you mean by "top most owner" here?

what do you mean by "top most owner" here?

With that command:
kapp inspect --raw -a example  --tty=false | kbld inspect -f-

you get all the images for the pods, replicasets and deployments as it's the output of what kapp returns. There's a lot of duplicated values here since we only care for the values of the top level elements, typically Deployments, but any of the 3 that has been actually the resource generated by the user and not the one that the system generated because of the wrapping.
An example output is:
kapp inspect --raw -a educates --tty=false | kbld inspect -f -
Images

Image     gcr.io/google_containers/pause:latest
Metadata  -
Resource  controllerrevision/educates-prepull-7bbd48554c (apps/v1) namespace: eduk8s

Image     gcr.io/google_containers/pause:latest
Metadata  -
Resource  daemonset/educates-prepull (apps/v1) namespace: eduk8s

Image     gcr.io/google_containers/pause:latest
Metadata  -
Resource  pod/educates-prepull-7v2tg (v1) namespace: eduk8s

Image     gcr.io/google_containers/pause:latest
Metadata  -
Resource  pod/educates-prepull-7v2tg (v1) namespace: eduk8s

Image     quay.io/eduk8s/base-environment:210508.015017.4546935
Metadata  -
Resource  controllerrevision/educates-prepull-7bbd48554c (apps/v1) namespace: eduk8s

Image     quay.io/eduk8s/base-environment:210508.015017.4546935
Metadata  -
Resource  daemonset/educates-prepull (apps/v1) namespace: eduk8s

Image     quay.io/eduk8s/base-environment:210508.015017.4546935
Metadata  -
Resource  pod/educates-prepull-7v2tg (v1) namespace: eduk8s

Image     quay.io/eduk8s/base-environment:210508.015017.4546935
Metadata  -
Resource  pod/educates-prepull-7v2tg (v1) namespace: eduk8s

Image     quay.io/eduk8s/eduk8s-operator:develop
Metadata  -
Resource  deployment/eduk8s-operator (apps/v1) namespace: eduk8s

Image     quay.io/eduk8s/eduk8s-operator:develop
Metadata  -
Resource  pod/eduk8s-operator-65458598b5-z2fd8 (v1) namespace: eduk8s

Image     quay.io/eduk8s/eduk8s-operator:develop
Metadata  -
Resource  pod/eduk8s-operator-65458598b5-z2fd8 (v1) namespace: eduk8s

Image     quay.io/eduk8s/eduk8s-operator:develop
Metadata  -
Resource  replicaset/eduk8s-operator-65458598b5 (apps/v1) namespace: eduk8s

12 images

Succeeded

When in reality only 3 images should have been shown as a result of the command we're asking for:

NAMESPACE
RESOURCE_TYPE
RESOURCE
IMAGE

eduk8s
deployment
eduk8s-operator
quay.io/eduk8s/eduk8s-operator:develop

eduk8s
daemonset
educates-prepull
quay.io/eduk8s/base-environment:210508.015017.4546935

eduk8s
daemonset
educates-prepull
gcr.io/google_containers/pause:latest


[WASDKv1.2] NavigationViewItem.IsSelected makes its menu items invisible

Describe the bug
After WinAppSDK v1.2, NavigationViewItem's menu items are not visible when IsSelected is true.
Steps to reproduce the bug

Create plain WinUI 3 app project (WinAppSDK v1.15).
Add this XAML code in MainWindow.xaml.

<NavigationView>
    <NavigationView.MenuItems>
        <NavigationViewItem
            Content="Item A"
            IsSelected="True">
            <NavigationViewItem.MenuItems>
                <NavigationViewItem Content="Item A-1" />
                <NavigationViewItem Content="Item A-2" />
            </NavigationViewItem.MenuItems>
        </NavigationViewItem>
    </NavigationView.MenuItems>
</NavigationView>

Run the app and make sure the menu items (A-1, A-2) are visible.
Update WindowsAppSDK to v1.2.
Run the app again and the menu items won't be visible.

Expected behavior
Menu items keep their visibilities.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.2.0
Windows version
Windows 11 (21H2): Build 22000
Additional context
No response

This is still reproducible in WindowsAppSDK v1.3.230602002.


Some doubts

Hi,
I tried following the tutorial and I am having some questions. What is the right place to raise queries?
Thanks,
VEnky

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7aee46f8-9db1-33ef-b637-fc8e8881fab9
Version Independent ID: 6c469f9f-9751-669f-3dd4-c4fb49c9ae19
Content: Multicontainer tutorial using Docker Compose & ASP.NET Core - Visual Studio
Content Source: docs/containers/tutorial-multicontainer.md
Product: visual-studio-windows
Technology: vs-azure
GitHub Login: @ghogen
Microsoft Alias: ghogen

@venky76v Thank you for the question.
Issues covered here revolve around documentation concerns and/or general product questions, for instance a topic that doesn't cover one particular aspect.
Product-related issues such as feedback, bugs and feature requests, are directed to the Developer community.
Support requests involving setup issues or things "not working" are encouraged to use Visual Studio support or Stack Overflow before seeking assistance from either product or document team.

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


[ReadComicNet] Update Domain Name

Checklist:

[ ] Updated extVersionCode value in build.gradle for individual extensions
[ ] Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
[ ] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[ ] Added the isNsfw = true flag in build.gradle when appropriate
[ ] Have not changed source names
[ ] Have explicitly kept the id if a source's name or language were changed
[ ] Have tested the modifications by compiling and running the extension through Android Studio
[ ] Have removed web_hi_res_512.png when adding a new extension

bump version please

and this extension still doesn't work, it needs fix. Next time please try the fix before create a PR, thanks.


[bug]: long model names render parts of the UI inaccessible

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
12GB
What version did you experience this issue on?
3.0.0
What happened?
Long model names enlarge the left part of the UI and push other parts out of the accessible frame (see screenshot at the right; no scrollbar becomes visible)
Screen resolution is 1920x1080
Browser: Chrome 115.0.5790.99
OS: Windows 10
Screenshots

Additional context
No response
Contact Details
No response

Thanks for pushing the software to its limits (literally)! 🙃
For now, until this truncates, would just recommend renaming (which can be done via UI or updating the models.yaml file)


VACUUM Advisor: Group related documentation together by category in TOC

With the introduction of the "What is X?" pages did this become a bit hard to parse after all. To help, group together the VACUUM Advisor category page with the related explanation pages in the TOC.
In passing revise the page titles of the category pages to be worded "[category] in VACUUM Advisor" instead of
"pganalyze VACUUM Advisor: [category]", and use that wording for the TOC as well, if the category page is in a group. "Activity" is the exception here, as it remains a top-level TOC item under VACUUM Advisor.
Additionally, rename "Bloat in Postgres" to "What is Bloat?" to avoid the awkwardly similar name to "Bloat in VACUUM Advisor", and to match how we named "What is Freezing?".

Before:

After:

Are we okay not changing the link of "What is Bloat?" from bloat-in-postgres to what-is-bloat?

Yeah, we should go ahead and change it for consistency. Will do that.


Transparency issue

In the source bitmap doesn't support transparency, the resulted transformed bitmap will have black borders due to original config.
Bitmap.Config config = source.getConfig() != null ? source.getConfig() : Bitmap.Config.ARGB_8888;

Taken from circle transformation.
Is that desired behaviour for transformed images?

@naixx
Is it the same problem?
https://github.com/wasabeef/glide-transformations/issues/5

@naixx
Hi
pushed v.1.0.5
use ARGB_8888 :+1:

Great! Thank you! :+1:


Use i3-msg -t get_tree to handle stacked, tabbed layout and scratchpad

Right now the script checks if the workspace from which the command has been issued is not the focused one. This works fine when the layout of containers is a v-split or h-split, but if it's tabbed or stacked it's easy to configure a situation in which the shell that's running the command is hidden but the notification won't be sent as the workspace that issued the command is still focused.
Yet, handling such cases should still be possible by using i3-msg -t get_tree that will print the entire i3 tree.
The main difficulty in implementing this enhancement is that the output is complex and dense of information, which combined with the esoteric jq filters might make the job tough.

This might be a good start for understanding how to parse in jq, https://stedolan.github.io/jq/tutorial/

Solved by 6b95d. Tree traversal wasn't that hard.


chore(main): release iso-filecoin 5.1.1

:robot: I have created a release beep boop
5.1.1 (2024-12-30)
Bug Fixes

fix publish (a6c0648)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

iso-filecoin-v5.1.1
:sunflower:


Requesting for addition of spdm_transport_none_lib

Requesting for adding https://github.com/DMTF/spdm-emu/tree/main/library/spdm_transport_none_lib
in libspdm. As there might be use cases of having different transport so it would be helpful for having transport none in libspdm.

We may have transport other than MCTP. So spdm_transport_none_lib would be helpful in that case.


FancyZones causing system lag with multiple monitors

Microsoft PowerToys version
0.58.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
When extending desktop to a second display, FancyZones causes significant general system lag.
Choosing "Show only on 1" or "Show only on 2" in Windows Display settings resolves this issue.
See video showing this issue - https://user-images.githubusercontent.com/21065715/171397087-e8ca092e-9e8a-4cad-ba4e-08ec41739463.mp4
✔ Expected Behavior
Using multiple displays should have no impact on system performance when using FancyZones.
❌ Actual Behavior
When second monitor display is enabled, it can take as much as 1-2 seconds for each individual keystroke to be displayed. In addition, FancyZones zone activation becomes very erratic.
Other Software
No response

@pat15312 Great video explaining the exact issue. I have noticed the same system lag with the latest version 0.58.0 while using 2 monitors. After I closing my laptop lid (disabling the laptop monitor) and only utilize the external monitor, the lag goes away. I only noticed this issue with the latest version.

Hi @pat15312
Thank your for the great video!
Can you confirm that disabling FancyZones from PowerToys settings will fix the lag?
Can you also attach a bug report? Not sure if we can find any relevant information in the report.
/bugreport

PowerToysReport_2022-06-01-11-44-05.zip
Uploaded the Report Bug zip.

Thank you for the report. This issue is similar to https://github.com/microsoft/PowerToys/issues/18057, the fix will be in the next release. As a workaround, you can change the default layout to any other.
/dup of https://github.com/microsoft/PowerToys/issues/18057


Use of make test-e2e in test suite

[kind/Documentation]

What did you find missing in the documentation?
Are we really care about the running of make test-e2e [1], i mean running the whole test suite through make test-e2e or may be make integration  ?
[1] https://github.com/openshift/odo/blob/master/Makefile#L156
I am in the favor of removing [1] because it is available from the start of odo i guess but not in use.
What is the relevance of it?
Test cleanup

Yes. We need it. I use it constantly and it beats waiting for the CI to finish.
Plus you need it to test locally against your own cluster.
I'm good for renaming it though, but we 100% need to keep this.

👍 for keeping this.
Running all test with a single command is really useful, especially once we can run multiple tests in parallel.

Sorry @amitkrout I think that we have a consensus. I'm going to close this for now, we 100% need to keep make test-e2e.


[RELAY] Fix reshape header file

The header file definition of InferNewShape was incorrect, this patch fixes it.

cc @jwfromm

cc @jwfromm

Whoops, I guess I missed this and it isn't used externally. Definitely good to fix it before it causes issues though, thanks!

Whoops, I guess I missed this and it isn't used externally. Definitely good to fix it before it causes issues though, thanks!


MacOS Support

Is macOS support planned?

It is, but I can't add it. I don't have a mac.

@alexmercerind I'm not sure if the project is active or not, but I guess we can now add MacOS (even Android) discord-rpc support using Dart's Socket with InternetAddressType.unix.
I've already created an repo with working example: https://github.com/KRTirtho/discord_rich_presence
Also, I guess we can drop the usage of shared library and dlls completely if we use win32's CreateNamedPipe for Windows and Unix Domain Socket will also work for Linux
You can follow the https://github.com/sardonicism-04/discord-rich-presence (Rust discord-rpc implementation) as I found the solution there. (Credit to @sardonicism-04)
I wanted to create the Windows implemenation but my C++ skills quickly showed up as I'm an expert in it /s 🙃

Btw, this way we also add the support for RPC Buttons 🔥 🔥  too (again thanks to @sardonicism-04)


Adding the macos notification update post

cc @jpmedley @Meggin @kosamari @petele
Would be good to get this landed as soon as possible.

@jpmedley please review

will push live shortly.


onChange not firing when clicking on toolbar buttons

There is an inconsitency with the onChange function. When e.g. selecting some entered text and clicking the "bold" button from the toolbar, the onchange function is not fired immediately. Only when clicking back into the mui-rte textbox, the event is being fired.
I have an example on sandbox

mui-rte binds to the onChange function of the draftJs editor and calls your onChange function. So onChange not being called as you described is a draftJs issue.
I don't know what your use-case is, but the onChange function gets called not only when you click back into the mui-rte textbox, but also when you click anywhere but the mui-rte toolbar. So my guess would be onChange gets called anytime the toolbar loses focus (onBlur).

@mmaass You're right with your assumption. The following is happening: the user selects a text portion in the editor, clicks the "bold" button on the toolbar and then immediately clicks the "save" button on the toolbar (so he never leaves the toolbar). As I am using react form hooks as my form library, I had to watch for changes of the mui-rte textbox in the onChange event to track changes. So the "bold action" got lost and never saved.

Hi @zszep
As for the use case you described:

the user selects a text portion in the editor, clicks the "bold" button on the toolbar and then immediately clicks the "save" button on the toolbar (so he never leaves the toolbar).

When pressing the save button, the bold style is already in the state so it is not lost, but the onChange event is not triggered as the draft-js's Editor does not fire it.

@niuware See my use case . Just have to use the onChange event to make react hook forms work.

@zszep I got it. It should be fixed on version 1.23.1. Please check it out.

tested it and it works. gj.

Can confirm that it is working as expected on version 1.23.1


Bug: if connection is started with connection type .ssl, sending email will hang

Bug: if connection is started with connection type .ssl, sending email will hang. This will hang even if timeout is set to a low value. If I instead set to .startTLS(.always), it's working no problem. Using Amazon SES.
Thanks for this package.

@thuotdwz What version of SwiftSMTP are you using? I've just tried it with both versions 1 and 2rc and sending an email with .ssl worked fine.
However, there's always the option that Amazon SES behaves "strangely". Had similar issues with Office365 before.
Could you turn on logging and send the log transmission (redacting any sensitive information). Here's the transmission from my test email as an example:
☁ 220 mailserv.regfish.com ESMTP

💻 HELO mailserv.regfish.com

☁ 250 mailserv.regfish.com

💻 AUTH LOGIN

☁ 334 VXNlcm5hbWU6

💻 REDACTED

☁ 334 UGFzc3dvcmQ6

💻 REDACTED

☁ 235 2.7.0 Authentication successful

💻 MAIL FROM:<REDACTED>

☁ 250 2.1.0 Ok

💻 RCPT TO:<REDACTED>

☁ 250 2.1.5 Ok

💻 DATA

☁ 354 End data with <CR><LF>.<CR><LF>

💻 From: SwiftSMTP CLI <REDACTED>
To: Florian Friedrich <REDACTED>
Date: Wed, 20 May 2020 09:30:15 +0200
Message-ID: REDACTED
Subject: Testing SwiftSMTP from CLI
Content-type: multipart/alternative; boundary=7D9941F7DEA74B52AA3C8EE2F18DFDF1
MIME-Version: 1.0

--7D9941F7DEA74B52AA3C8EE2F18DFDF1
Content-Type: text/plain; charset="UTF-8"

Hi there,

this is a test mail from SwiftSMTP CLI.


Subject name hashes removed

Fixes #813
Review Checklist

Tests were added to cover all code changes
Documentation was added / updated
Code and tests follow standards in CONTRIBUTING.md

LGTM!

We should make sure the classifier gear does not send this information before merging, although I'm pretty sure it doesn't.


fix: Unauthorized error when deleting users for admin

Brief description. What is this change?

Unauthorized error when deleting users for admin

Implementation description. How did you make this change?
Initial approach:

Put back the auto-refresh code from PR #193

Final approach:
Since no other user role (donor or volunteer) has the means to delete a user from the frontend, we just removed the isAuthorizedByRole check when deleting a user in userRouter.delete. (Since we can't figure out why bearer token is null and not set upon login and only upon refreshing as seen in the initial approach, and not sure where is the right place to set this bearer token value w/o breaking functionality of auto-logging out user after 1 hour).

Steps to test
We need to make sure both deleting a user as admin AND auto-log out after 1 hour works.

Log in as admin
Go to User Management and delete a user.
User should be successfully deleted.
Don't log out and wait 1 hour or more
Go back to the page and make sure it auto-logged out for you.

Checklist

[x] My PR name is descriptive and in imperative tense
[x] My commit messages follow conventional commits and are descriptive. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
[x] I have run the appropriate linter(s)
[x] I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR
[ ] The appropriate tests if necessary have been written

Ignore the console.logs LOL will remove when final tests done

Since no other user role (donor or volunteer) has the means to delete a user from the frontend, we just removed the isAuthorizedByRole check when deleting a user in userRouter.delete. (Since we can't figure out why bearer token is null and not set upon login and only upon refreshing as seen in the initial approach, and not sure where is the right place to set this bearer token value w/o breaking functionality of auto-logging out user after 1 hour).


Add tests

Every postcss plugin must have tests. It is a mandatory rule of PostCSS Plugin Guidelines.
You can use test from postcss-plugin-boilerplate

Thank you. Complete.


Flesh out Schnorr/BIP340 functionality (version2)

This is an alternative implementation to #50, using the technique from https://github.com/loganfsmyth/gensync to reduce the copy paste needed to implement synchronous and asynchronous versions of functions.
The added cognitive overhead of this technique is definitely a downside, but it helps keep the code from growing unnecessarily large as functionality is added, and makes it more natural to hew close to the specifications of cryptographic protocols rather than having the competing pressure to break things down to reduce copy/paste.
I went looking for this solution while I was working on implementing MuSig2* (https://github.com/ElementsProject/secp256k1-zkp/blob/10dd7e676d2930ba16d21e93a94a70b880bef312/doc/musig-spec.mediawiki) in noble-secp256k1. That being a somewhat more complex protocol, involving many tagged hashes, the overhead to having sync and async was growing.

Here's the WIP MuSig2* implementation I mentioned: https://github.com/brandonblack/noble-secp256k1/pull/1

If this style of sync/async handling gets merged, we can also combine the 3-parts of ECDSA sign into a single function, which will make it easier to validate against the spec.

Thanks for the work Brandon, this is a really nice concept!
I'd keep the code duplicated / less complex to not depend on async generators. Reason is: extremely security-conscious code and we need to think of all the possible outcomes of the generators. Maybe later!
Let's continue in previous PR and sorry you've wasted time on this.

No worries. If at some point you want MuSig2* key aggregation / signing upstreamed, we may want to revisit this. It was getting to be a real bear to implement sync/async MuSig2* w/o something like this.


add choices and remove choices

How can I add or remove choices on a particular event after it's initialized? (addchoice or removechoice doesn't exist in the doc)
Thank you in advance

this is the same problem I am having... it seems impossible to add a choice for the user
(i.e. the ability of adding an email from a list... or adding an email not in the list!)

You will have to set all the choices again if you want to add/remove choices. You will have to do what with setChoices.
var select = document.getElementById('yourElementId');
var picker = new Choices(select, yourConfig);
var choices = [{'value':'myValue', 'label':'myLabel'});
// whatever event you want to trigger, replace 'choice' with your event
select.addEventListener('choice', function(event) {
  // push another object into choices array
  choices.push({'value':'myOtherValue', 'label':'myOtherLabel'});
  // set the choices again by replacing all the choices with the  changed choices variable
  picker.setChoices(choices, 'value', 'label', true);
});

Rebuilding the whole choices list from scratch IS NOT an ACCEPTABLE answer. I have a complex select list with multiple groups and options. I don't want to write unnecessary Javascript to reconstruct a JSON structure of those groups and options. Please create methods createChoice and removeChoice so we can more fluently interact with the choices dropdown. Thank you.


Bug detected with Intel debug flag -check all

I am building and running GCHPctm using MAPL 2.2.7 with ifort18 (18.0.5) using debug flag -check all. The default in ESMA_cmake was previously check bounds and uninitialized variables only. With the update to check all I encounter an error in MAPL_CubedSphereGridFactory.F90 at this line:
https://github.com/GEOS-ESM/MAPL/blob/8e1ce3623cc8459143bea3187944d5aea14f2005/base/MAPL_CubedSphereGridFactory.F90#L744-L746
The error message is as follows and occurs during HISTORY.rc read:
forrtl: severe (408): fort: (2): Subscript #1 of the array IMS has value 3 which is greater than the upper bound of 2

Image              PC                Routine            Line        Source
geos<PHONE_NUMBER>B99E50  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>64CE9E  mapl_cubedsphereg         745  MAPL_CubedSphereGridFactory.F90
geos<PHONE_NUMBER>EF51DA  mapl_gridmanager_         151  MAPL_GridManager.F90
geos<PHONE_NUMBER>EF682F  mapl_gridmanager_         196  MAPL_GridManager.F90
geos<PHONE_NUMBER>EF882B  mapl_gridmanager_         248  MAPL_GridManager.F90
geos<PHONE_NUMBER>93D8C7  mapl_historygridc         639  MAPL_HistoryGridComp.F90
geos<PHONE_NUMBER>5BE979  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>5C254B  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>7C3125  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>5BFFDA  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>D71311  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>BAFA3F  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>DE232C  mapl_genericmod_m        1824  MAPL_Generic.F90
geos<PHONE_NUMBER>5BE979  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>5C254B  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>7C3125  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>5BFFDA  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>D71311  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>BAFA3F  Unknown               Unknown  Unknown
geos<PHONE_NUMBER>07DE72  mapl_capgridcompm         612  MAPL_CapGridComp.F90
geos<PHONE_NUMBER>07A0CB  mapl_capgridcompm         558  MAPL_CapGridComp.F90

I can fix the error by replacing the code with this:
         ! same decomposition
         ! GCHP: test each array dim separately to avoid error if debug flags on
         !equals = all(a%ims == b%ims)
         equals = a%ims(1) == b%ims(1)
         if (.not. equals) return
         equals = a%ims(2) == b%ims(2)
         if (.not. equals) return

I find this rather cryptic. I do not understand why I needed to make the change but it does work to fix it. I printed out the values in all the equalities and none of them are 3, which seems to be consistent with other peoples' findings for this particular ifort error that I've found online.  Any thoughts on a better solution or why this is happening? Do you see this as well?

Stylistically, I prefer to instead first check the shapes.   I.e., before the offending line, insert
equals = (size(a%ims) == size(b%ims))
if (.not. equals) return

I guess that Intel must have done something "mostly harmless" (D. Adams) with the optimizer on.

That solves the problem as well.

I printed out the sizes and indeed, size(a%ims) is 4 and size(b$ims) is 2. My model NY is 24 and NX is 2. Is it a coincidence with these settings divide each face into 2x4 regions?
This is occurring during HISTORY.rc read. I do not apply a grid label for any of my collections so the output grid is the same as the internal grid.

Here is some additional information for my c24 run with 48 cores:
 Reading HISTORY RC Files:
 -------------------------
grid size differs. size(a%ims) and size(b%ims):            4           2
b%ims :           12          12
a%ims :            6           6           6           6

I need to discuss this further with @bena-nasa and @atrayano, but I have a suspicion as to what is happening.   But it would not explain why we're not seeing that same failure on our end.
Nominally your NY and NX imply that you are running on 48 processes with 8 processes per face.   This means the only "clean" decompositions of a face are   1x8, 2x4, 4x2, and 8x1.    And several factors encourage more even aspect ratios, so your observations are not a complete coincidence.
Because of the server aspect, I think History has flexibility in choosing a decomposition.   I know that ExtData often is forced to choose a different layout than implied by NX, NY so that coarse lat/lon grids can still be decomposed at high process counts.    So it may just be that we (@mathomp4) always choose NX=4 for 48 process runs and get "lucky" regarding the missing check.
In any event, I'm 100% confident the missing check is required.    Since you already have it implemented and tested, I encourage you to do a PR for this issue.

Hmm. How does one trigger this? I just tried running GEOS GCM C24 at 2x24, 3x18, and 4x12 with -check all,noarg_temp_created and none of them crashed. Well, after an hour. Do you need to have HISTORY write to see it?

You need to have History write some field at native resolution.

@lizziel Can you upload your History.rc file?    Native output should not be defining another grid.

The HISTORY.rc I am using is here.

Lizzie, you don't need to specify the native grid (c24) in the grid labels list.  History can get this from the fields which already have a grid.

@bena-nasa I agree that @lizziel does not need to specify the grid_label for the native grid, but she is not referencing it anywhere

Do we have a mechanism to explicitly confirm that the native grid is to be used?      Having it default to native is good, but I think a best practice would be to explicitly confirm this.   I suppose a comment line could be used.

If the collection doesn't have a grid label keyword the native grid is used. You mean like a message to the log confirming this?

A bit of background on this file... The HISTORY.rc is meant to educate users who don't know how to fill it out. The labels at the top are examples. In this case the native run (for benchmark simulation ) is c48 by default so the c24 label is available there if users want to output at higher resolution, to save space for example. Then they don't need to go digging in the wiki to figure out how to do it.

@bena-nasa   No I meant something like
foo.grid_label: native

@tclune @bena-nasa Was this fixed? Or was this a "wontfix"?

It's a "wontfix".


Failed to find data service

Hi,
I have been testing both the sidddy / Flora and Lociii / Flora but I runt into issues.
With the Lociii fork I get this after it connects to the flora:

Failed to find data service

Anyone that got a clue on what to do?
Thanks

I have the same issue. Any ideas how to fix it?

Please check the following:

did you enter the correct MAC address for the device?
is the device in close distance to the esp32? At least for testing purposes, you should have the sensor max 1m away from the esp32. Once the connection is known to work, you can test how far away you can position the sensor.

If this does not help, please provide the serial log of your failed connection attempt. Note that the changes from Locii were merged now, so please pull the master branch for your tests.

Hi,
I have now used the master branch but same issue.
5:52:55.860 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
15:52:55.860 -> configsip: 0, SPIWP:0xee
15:52:55.860 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
15:52:55.860 -> mode:DIO, clock div:1
15:52:55.860 -> load:0x3fff0018,len:4
15:52:55.860 -> load:0x3fff001c,len:952
15:52:55.860 -> load:0x40078000,len:6084
15:52:55.860 -> load:0x40080000,len:7936
15:52:55.860 -> entry 0x40080310
Initialize BLE client...
Connecting to WiFi...
........
15:53:01.960 -> WiFi connected
15:53:01.960 ->
15:53:01.960 -> Connecting to MQTT...
MQTT connected
15:53:01.994 ->
15:53:01.994 -> Processing Flora device at c4:7c:8d:67:65:19 (try 1)

Connection successful
Failed to find data service

That's weird, it looks like the connection to the device itself is successful, but the device does not offer the required data service for the connection. Could you check with some bluetooth analysis device if your flora sensor actually provides the data service with UUID 00001204-0000-1000-8000-00805f9b34fb? Easiest way is probably to use an app on your mobile phone to check this, e.g. nRF Connect.

Seems like it is there.

Hi,
could you try the following?

Please flash flora with "Core Debug Level" set to "Verbose":

Check the content from Serial Monitor after reset. You should see lots of log entries from ESP32 core now. We're looking for entries with content "GATT Event: ...". If you see these, debug log was successfully enabled :-)
Please attach the complete content of the serial monitor here.

BR,
Sidddy

Here it comes:
ets Jun  8 2016 00:22:57
18:59:44.326 ->
18:59:44.326 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
18:59:44.326 -> configsip: 0, SPIWP:0xee
18:59:44.326 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
18:59:44.326 -> mode:DIO, clock div:1
18:59:44.326 -> load:0x3fff0018,len:4
18:59:44.326 -> load:0x3fff001c,len:952
18:59:44.326 -> load:0x40078000,len:6084
18:59:44.326 -> load:0x40080000,len:7936
18:59:44.326 -> entry 0x40080310
Initialize BLE client...
[D][BLEDevice.cpp:444] setPower(): >> setPower: 7
18:59:46.426 -> [D][BLEDevice.cpp:449] setPower(): << setPower
18:59:46.426 -> Connecting to WiFi...
18:59:46.426 -> [D][WiFiGeneric.cpp:345] _eventCallback(): Event: 2 - STA_START
18:59:46.426 -> [D][WiFiGeneric.cpp:345] _eventCallback(): Event: 0 - WIFI_READY
.[D][WiFiGeneric.cpp:345] _eventCallback(): Event: 4 - STA_CONNECTED
......[D][WiFiGeneric.cpp:345] _eventCallback(): Event: 7 - STA_GOT_IP
18:59:50.494 -> [D][WiFiGeneric.cpp:389] _eventCallback(): STA IP: -------------------, MASK: ------------------, GW: --------------------
18:59:50.494 -> .
18:59:50.494 -> WiFi connected
18:59:50.494 ->
18:59:50.494 -> Connecting to MQTT...
18:59:50.494 -> MQTT connected
18:59:50.494 ->
18:59:50.494 -> Processing Flora device at c4:7c:8d:67:65:19 (try 1)
18:59:50.494 -> [D][BLEDevice.cpp:54] createClient(): >> createClient
18:59:50.494 -> [D][BLEDevice.cpp:60] createClient(): << createClient
18:59:50.494 -> [D][BLEClient.cpp:91] connect(): >> connect(c4:7c:8d:67:65:19)
18:59:50.494 -> [D][BLEClient.cpp:74] clearServices(): >> clearServices
18:59:50.494 -> [D][BLEClient.cpp:81] clearServices(): << clearServices
18:59:50.494 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_REG_EVT
18:59:50.494 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_REG_EVT
18:59:50.494 -> [D][BLEUtils.cpp:1550] dumpGattClientEvent(): [status: ESP_GATT_OK, app_id: 0x0]
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CONNECT_EVT
18:59:52.748 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_CONNECT_EVT
18:59:52.748 -> [D][BLEUtils.cpp:1407] dumpGattClientEvent(): [conn_id: 0, remote_bda: c4:7c:8d:67:65:19]
18:59:52.748 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_OPEN_EVT
18:59:52.748 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_OPEN_EVT
18:59:52.748 -> [D][BLEUtils.cpp:1503] dumpGattClientEvent(): [status: ESP_GATT_OK, conn_id: 0, remote_bda: c4:7c:8d:67:65:19, mtu: 23]
18:59:52.748 -> [D][BLEClient.cpp:123] connect(): << connect(), rc=1
18:59:52.748 -> - Connection successful
18:59:52.748 -> [D][BLEClient.cpp:322] getService(): >> getService: uuid: 00001204-0000-1000-8000-00805f9b34fb
18:59:52.748 -> [D][BLEClient.cpp:358] getServices(): >> getServices
18:59:52.748 -> [D][BLEClient.cpp:74] clearServices(): >> clearServices
18:59:52.748 -> [D][BLEClient.cpp:81] clearServices(): << clearServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_DISCONNECT_EVT
19:00:01.625 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_DISCONNECT_EVT
19:00:01.625 -> [D][BLEUtils.cpp:1423] dumpGattClientEvent(): [reason: ESP_GATT_CONN_TIMEOUT, conn_id: 0, remote_bda: c4:7c:8d:67:65:19]
19:00:01.625 -> [D][BLEClient.cpp:374] getServices(): << getServices
19:00:01.625 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CLOSE_EVT
19:00:01.625 -> [D][BLEClient.cpp:339] getService(): << getService: not found
19:00:01.625 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_CLOSE_EVT
19:00:01.625 -> [D][BLEUtils.cpp:1392] dumpGattClientEvent(): [status: ESP_GATT_OK, reason:ESP_GATT_CONN_TIMEOUT, conn_id: 0]
19:00:01.625 -> - Failed to find data service
19:00:01.625 -> [D][BLEClient.cpp:133] disconnect(): >> disconnect()
19:00:01.625 -> [D][BLEClient.cpp:141] disconnect(): << disconnect()
19:00:01.625 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_UNREG_EVT
19:00:01.625 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_UNREG_EVT
Processing Flora device at c4:7c:8d:67:65:19 (try 2)
19:00:02.642 -> [D][BLEDevice.cpp:54] createClient(): >> createClient
19:00:02.642 -> [D][BLEDevice.cpp:60] createClient(): << createClient
19:00:02.642 -> [D][BLEClient.cpp:91] connect(): >> connect(c4:7c:8d:67:65:19)
19:00:02.642 -> [D][BLEClient.cpp:74] clearServices(): >> clearServices
19:00:02.642 -> [D][BLEClient.cpp:81] clearServices(): << clearServices
19:00:02.642 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_REG_EVT
19:00:02.642 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_REG_EVT
19:00:02.642 -> [D][BLEUtils.cpp:1550] dumpGattClientEvent(): [status: ESP_GATT_OK, app_id: 0x0]
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CONNECT_EVT
19:00:14.754 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_CONNECT_EVT
19:00:14.754 -> [D][BLEUtils.cpp:1407] dumpGattClientEvent(): [conn_id: 0, remote_bda: c4:7c:8d:67:65:19]
19:00:14.754 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_OPEN_EVT
19:00:14.754 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_OPEN_EVT
19:00:14.754 -> [D][BLEUtils.cpp:1503] dumpGattClientEvent(): [status: ESP_GATT_OK, conn_id: 0, remote_bda: c4:7c:8d:67:65:19, mtu: 23]
19:00:14.754 -> [D][BLEClient.cpp:123] connect(): << connect(), rc=1
19:00:14.754 -> - Connection successful
19:00:14.754 -> [D][BLEClient.cpp:322] getService(): >> getService: uuid: 00001204-0000-1000-8000-00805f9b34fb
19:00:14.754 -> [D][BLEClient.cpp:358] getServices(): >> getServices
19:00:14.754 -> [D][BLEClient.cpp:74] clearServices(): >> clearServices
19:00:14.754 -> [D][BLEClient.cpp:81] clearServices(): << clearServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_DISCONNECT_EVT
19:00:22.909 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_DISCONNECT_EVT
19:00:22.909 -> [D][BLEUtils.cpp:1423] dumpGattClientEvent(): [reason: ESP_GATT_CONN_TIMEOUT, conn_id: 0, remote_bda: c4:7c:8d:67:65:19]
19:00:22.909 -> [D][BLEClient.cpp:374] getServices(): << getServices
19:00:22.909 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CLOSE_EVT
19:00:22.909 -> [D][BLEClient.cpp:339] getService(): << getService: not found
19:00:22.909 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_CLOSE_EVT
19:00:22.909 -> - Failed to find data service
19:00:22.909 -> [D][BLEUtils.cpp:1392] dumpGattClientEvent(): [status: ESP_GATT_OK, reason:ESP_GATT_CONN_TIMEOUT, conn_id: 0]
19:00:22.909 -> [D][BLEClient.cpp:133] disconnect(): >> disconnect()
19:00:22.909 -> [D][BLEClient.cpp:141] disconnect(): << disconnect()
19:00:22.909 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_UNREG_EVT
19:00:22.909 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_UNREG_EVT
Processing Flora device at c4:7c:8d:67:65:19 (try 3)
19:00:23.924 -> [D][BLEDevice.cpp:54] createClient(): >> createClient
19:00:23.924 -> [D][BLEDevice.cpp:60] createClient(): << createClient
19:00:23.924 -> [D][BLEClient.cpp:91] connect(): >> connect(c4:7c:8d:67:65:19)
19:00:23.924 -> [D][BLEClient.cpp:74] clearServices(): >> clearServices
19:00:23.924 -> [D][BLEClient.cpp:81] clearServices(): << clearServices
19:00:23.924 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_REG_EVT
19:00:23.924 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_REG_EVT
19:00:23.924 -> [D][BLEUtils.cpp:1550] dumpGattClientEvent(): [status: ESP_GATT_OK, app_id: 0x0]
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CONNECT_EVT
19:00:45.643 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_CONNECT_EVT
19:00:45.643 -> [D][BLEUtils.cpp:1407] dumpGattClientEvent(): [conn_id: 0, remote_bda: c4:7c:8d:67:65:19]
19:00:45.643 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_OPEN_EVT
19:00:45.643 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_OPEN_EVT
19:00:45.643 -> [D][BLEUtils.cpp:1503] dumpGattClientEvent(): [status: ESP_GATT_OK, conn_id: 0, remote_bda: c4:7c:8d:67:65:19, mtu: 23]
19:00:45.643 -> [D][BLEClient.cpp:123] connect(): << connect(), rc=1
19:00:45.643 -> - Connection successful
19:00:45.643 -> [D][BLEClient.cpp:322] getService(): >> getService: uuid: 00001204-0000-1000-8000-00805f9b34fb
19:00:45.643 -> [D][BLEClient.cpp:358] getServices(): >> getServices
19:00:45.643 -> [D][BLEClient.cpp:74] clearServices(): >> clearServices
19:00:45.643 -> [D][BLEClient.cpp:81] clearServices(): << clearServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_DISCONNECT_EVT
19:00:52.780 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_DISCONNECT_EVT
19:00:52.780 -> [D][BLEUtils.cpp:1423] dumpGattClientEvent(): [reason: ESP_GATT_CONN_TIMEOUT, conn_id: 0, remote_bda: c4:7c:8d:67:65:19]
19:00:52.780 -> [D][BLEClient.cpp:374] getServices(): << getServices
19:00:52.780 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CLOSE_EVT
19:00:52.780 -> [D][BLEClient.cpp:339] getService(): << getService: not found
19:00:52.780 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_CLOSE_EVT
19:00:52.780 -> - Failed to find data service
19:00:52.780 -> [D][BLEUtils.cpp:1392] dumpGattClientEvent(): [status: ESP_GATT_OK, reason:ESP_GATT_CONN_TIMEOUT, conn_id: 0]
19:00:52.780 -> [D][BLEClient.cpp:133] disconnect(): >> disconnect()
19:00:52.780 -> [D][BLEClient.cpp:141] disconnect(): << disconnect()
19:00:52.780 -> [D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_UNREG_EVT
19:00:52.780 -> [D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_UNREG_EVT
WiFi disonnected
19:00:55.287 -> [D][WiFiGeneric.cpp:345] _eventCallback(): Event: 3 - STA_STOP
19:00:55.287 -> [D][WiFiGeneric.cpp:345] _eventCallback(): Event: 3 - STA_STOP
19:00:55.287 -> [E][WiFiClient.cpp:338] write(): 113
19:00:55.287 -> MQTT disconnected
19:00:55.287 -> Going to sleep now.

I have the same issue:
`Connecting to MQTT...
MQTT connected
Processing Flora device at c4:7c:8d:67:0f:a5 (try 1)
[D][BLEDevice.cpp:54] createClient(): >> createClient
[D][BLEDevice.cpp:60] createClient(): << createClient
[D][BLEClient.cpp:91] connect(): >> connect(c4:7c:8d:67:0f:a5)
[D][BLEClient.cpp:74] clearServices(): >> clearServices
[D][BLEClient.cpp:81] clearServices(): << clearServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_REG_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_REG_EVT
[D][BLEUtils.cpp:1550] dumpGattClientEvent(): [status: ESP_GATT_OK, app_id: 0x0]
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CONNECT_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_CONNECT_EVT
[D][BLEUtils.cpp:1407] dumpGattClientEvent(): [conn_id: 0, remote_bda: c4:7c:8d:67:0f:a5]
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_OPEN_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_OPEN_EVT
[D][BLEUtils.cpp:1503] dumpGattClientEvent(): [status: ESP_GATT_OK, conn_id: 0, remote_bda: c4:7c:8d:67:0f:a5, mtu: 23]
[D][BLEClient.cpp:123] connect(): << connect(), rc=1

Connection successful
[D][BLEClient.cpp:322] getService(): >> getService: uuid: 00001204-0000-1000-8000-00805f9b34fb
[D][BLEClient.cpp:358] getServices(): >> getServices
[D][BLEClient.cpp:74] clearServices(): >> clearServices
[D][BLEClient.cpp:81] clearServices(): << clearServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_DISCONNECT_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_DISCONNECT_EVT
[D][BLEUtils.cpp:1423] dumpGattClientEvent(): [reason: ESP_GATT_CONN_TIMEOUT, conn_id: 0, remote_bda: c4:7c:8d:67:0f:a5]
[D][BLEClient.cpp:374] getServices(): << getServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CLOSE_EVT
[D][BLEClient.cpp:339] getService(): << getService: not found
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_CLOSE_EVT
[D][BLEUtils.cpp:1392] dumpGattClientEvent(): [status: ESP_GATT_OK, reason:ESP_GATT_CONN_TIMEOUT, conn_id: 0]
Failed to find data service
[D][BLEClient.cpp:133] disconnect(): >> disconnect()
[D][BLEClient.cpp:141] disconnect(): << disconnect()
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_UNREG_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_UNREG_EVT
Processing Flora device at c4:7c:8d:67:0f:a5 (try 2)
[D][BLEDevice.cpp:54] createClient(): >> createClient
[D][BLEDevice.cpp:60] createClient(): << createClient
[D][BLEClient.cpp:91] connect(): >> connect(c4:7c:8d:67:0f:a5)
[D][BLEClient.cpp:74] clearServices(): >> clearServices
[D][BLEClient.cpp:81] clearServices(): << clearServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_REG_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_REG_EVT
[D][BLEUtils.cpp:1550] dumpGattClientEvent(): [status: ESP_GATT_OK, app_id: 0x0]
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CONNECT_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_CONNECT_EVT
[D][BLEUtils.cpp:1407] dumpGattClientEvent(): [conn_id: 0, remote_bda: c4:7c:8d:67:0f:a5]
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_OPEN_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_OPEN_EVT
[D][BLEUtils.cpp:1503] dumpGattClientEvent(): [status: ESP_GATT_OK, conn_id: 0, remote_bda: c4:7c:8d:67:0f:a5, mtu: 23]
[D][BLEClient.cpp:123] connect(): << connect(), rc=1
Connection successful
[D][BLEClient.cpp:322] getService(): >> getService: uuid: 00001204-0000-1000-8000-00805f9b34fb
[D][BLEClient.cpp:358] getServices(): >> getServices
[D][BLEClient.cpp:74] clearServices(): >> clearServices
[D][BLEClient.cpp:81] clearServices(): << clearServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_DISCONNECT_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_DISCONNECT_EVT
[D][BLEUtils.cpp:1423] dumpGattClientEvent(): [reason: ESP_GATT_CONN_TIMEOUT, conn_id: 0, remote_bda: c4:7c:8d:67:0f:a5]
[D][BLEClient.cpp:374] getServices(): << getServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CLOSE_EVT
[D][BLEClient.cpp:339] getService(): << getService: not found
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_CLOSE_EVT
Failed to find data service
[D][BLEUtils.cpp:1392] dumpGattClientEvent(): [status: ESP_GATT_OK, reason:ESP_GATT_CONN_TIMEOUT, conn_id: 0]
[D][BLEClient.cpp:133] disconnect(): >> disconnect()
[D][BLEClient.cpp:141] disconnect(): << disconnect()
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_UNREG_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_UNREG_EVT
Processing Flora device at c4:7c:8d:67:0f:a5 (try 3)
[D][BLEDevice.cpp:54] createClient(): >> createClient
[D][BLEDevice.cpp:60] createClient(): << createClient
[D][BLEClient.cpp:91] connect(): >> connect(c4:7c:8d:67:0f:a5)
[D][BLEClient.cpp:74] clearServices(): >> clearServices
[D][BLEClient.cpp:81] clearServices(): << clearServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_REG_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_REG_EVT
[D][BLEUtils.cpp:1550] dumpGattClientEvent(): [status: ESP_GATT_OK, app_id: 0x0]
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_DISCONNECT_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_DISCONNECT_EVT
[D][BLEUtils.cpp:1423] dumpGattClientEvent(): [reason: ESP_GATT_CONN_FAIL_ESTABLISH, conn_id: 0, remote_bda: c4:7c:8d:67:0f:a5]
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_OPEN_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_OPEN_EVT
[D][BLEUtils.cpp:1503] dumpGattClientEvent(): [status: ESP_GATT_ERROR, conn_id: 0, remote_bda: c4:7c:8d:67:0f:a5, mtu: 0]
[D][BLEClient.cpp:123] connect(): << connect(), rc=0
Connection failed, skipping
Processing Flora device at c4:7c:8d:67:0f:a5 (try 4)
[D][BLEDevice.cpp:54] createClient(): >> createClient
[D][BLEDevice.cpp:60] createClient(): << createClient
[D][BLEClient.cpp:91] connect(): >> connect(c4:7c:8d:67:0f:a5)
[D][BLEClient.cpp:74] clearServices(): >> clearServices
[D][BLEClient.cpp:81] clearServices(): << clearServices
[D][BLEDevice.cpp:143] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 0] ... ESP_GATTC_REG_EVT
[D][BLEUtils.cpp:1377] dumpGattClientEvent(): GATT Event: ESP_GATTC_REG_EVT
[D][BLEUtils.cpp:1550] dumpGattClientEvent(): [status: ESP_GATT_ERROR, app_id: 0x0]
`

Hi,
Is there anything else we can do to help? Would be really cool to get this working before christmas(was planned to be a gift). Thanks

Got the same problem, but sometimes it works, after I reset for a couple of times. It also doesn't work reliable when the flower sensor is right next to the esp32. Any tips, would be very helpful :-)

@wackerr @sandrisj Does this issue still occur with arduino-esp32 1.0.2? I'm still unable to reproduce this problems and the logs don't really give a hint...

Hi siddy - yes the issue does still occur with the v1 esp32 board - I have the same issue.

Thanks for your efforts Sidddy,
same issue here with a HHCC Flower Care sensor, Firmware 3.2.1

I have same issue with Flower Care sensor (FW 3.2.1) and Adafruit HUZZAH32 - ESP32 Feather.

I think I discovered why the data service is not found. I added this line Serial.println(serviceUUID.toString().c_str()); to the program. It prints the UUID and as you can see the UUID is missing 2 characters (fb) in the end, but I don't know how to fix it.
`Processing Flora device at c4:7c:8d:6a:e2:1b (try 1)

Connection successful
Failed to find data service
00001204-0000-1000-8000-00805f9b34
`

If I pass it defined like so:
const char* serviceUUID = "00001204-0000-1000-8000-00805f9b34fb"
to getService the serial println shows the correct string.
However, the lib still fails to find the data service as it is cast to this BLEUUID object.
I suspect that the error occurs in this library here.
https://github.com/nkolban/ESP32_BLE_Arduino/blob/master/src/BLEUUID.h

Thank you @e6on and @ng2dev for your analysis. Now it works for me :-)
In Arduino IDE I searched for ESP32 BLE and added the library by Neil Kolban / Version 1.0.1 - which is also stated at the main page of his project.
Sketch -> Include Library -> Manage Libraries...
Instead of this:
#include "BLEDevice.h"
I now added that library:
#include <BLEDevice.h>
Now I can see the sensor outputs.

Ha great work guys - open source at its finest

I have a Miflora plant sensor working with well with ESP32 using this s/w.
I just took delivery of 5 VegTrug sensors.
They connect to okay, but the program cannot find the data service.
I am in a position to do any testing necessary


chore: Update dcl schemas

Update the DCL schemas library to its latest version.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.21%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
338

Relevant Lines:
383

💛  - Coveralls


Evalling @time gc() after reading a large file results in allocating 12GB of memory and then crashing

Read a 1GB string and then gc. Works fine in the repl:
julia> @time begin
         s = readstring(open("../imdb/movie_info.csv"))
         nothing
       end
  0.216533 seconds (151 allocations: 919.144 MB, 16.75% gc time)

julia> @time gc()
  0.045423 seconds (648 allocations: 33.249 KB, 92.16% gc time)

In atom:
module Test

@time begin
  s = readstring(open("../imdb/movie_info.csv"))
  nothing
end # ctrl-enter here

@time gc() # ctrl-enter here

end

The second eval takes about 10s to return, allocates ~12gb of memory and then crashes julia-client. Atom sometimes becomes unresponsive afterwards, but is not consuming any cpu.
julia> versioninfo()
Julia Version 0.5.0
Commit 3c9d753 (2016-09-19 18:14 UTC)
Platform Info:
  System: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, broadwell)

julia> Pkg.status()
10 required packages:
 - Atom                          0.5.2
 - Benchmark                     0.1.0
 - BenchmarkTools                0.0.5
 - Blink                         0.4.1
 - Gadfly                        0.4.4
 - Hiccup                        0.0.3
 - JLD                           0.6.3
 - Match                         0.3.0
 - PyPlot                        2.2.4
 - SQLite                        0.3.7
80 additional packages:
 - ASTInterpreter                0.0.4
 - AbstractTrees                 0.0.4
 - ArgParse                      0.3.1
 - AxisAlgorithms                0.1.5
 - BinDeps                       0.4.5
 - Blosc                         0.1.7
 - COFF                          0.0.2
 - CRC                           1.1.1
 - Calculus                      0.1.15
 - CategoricalArrays             0.0.4
 - CodeTools                     0.4.0
 - Codecs                        0.2.0
 - ColorTypes                    0.2.6
 - Colors                        0.6.7
 - Compat                        0.9.2
 - Compose                       0.4.4
 - Conda                         0.3.2
 - Contour                       0.2.0
 - DWARF                         0.1.0
 - DataArrays                    0.3.8
 - DataFrames                    0.8.3
 - DataStreams                   0.0.15
 - DataStructures                0.4.6
 - Distances                     0.3.2
 - Distributions                 0.10.2
 - ELF                           0.1.0
 - FileIO                        0.1.2
 - FixedPointNumbers             0.1.6
 - FixedSizeArrays               0.2.3
 - ForwardDiff                   0.2.5
 - GZip                          0.2.20
 - Gallium                       0.0.4
 - HDF5                          0.6.6
 - Hexagons                      0.0.4
 - HttpCommon                    0.2.6
 - HttpParser                    0.2.0
 - HttpServer                    0.1.6
 - Interpolations                0.3.6
 - Iterators                     0.1.10
 - JSON                          0.7.0
 - JuliaParser                   0.7.4
 - Juno                          0.2.1
 - KernelDensity                 0.3.0
 - LNR                           0.0.2
 - LaTeXStrings                  0.2.0
 - Lazy                          0.11.2
 - LegacyStrings                 0.1.1
 - Loess                         0.0.7
 - MachO                         0.0.4
 - MacroTools                    0.3.2
 - MbedTLS                       0.3.0
 - Measures                      0.0.3
 - Media                         0.2.2
 - Mustache                      0.1.2
 - Mux                           0.2.1
 - NaNMath                       0.2.1
 - NullableArrays                0.0.9
 - ObjFileBase                   0.0.4
 - Optim                         0.6.1
 - PDMats                        0.4.2
 - PositiveFactorizations        0.0.2
 - PyCall                        1.7.2
 - Ratios                        0.0.4
 - Reactive                      0.3.4
 - Reexport                      0.0.3
 - Requires                      0.3.0
 - Rmath                         0.1.3
 - SHA                           0.2.1
 - Showoff                       0.0.7
 - SortingAlgorithms             0.1.0
 - StatsBase                     0.9.0
 - StatsFuns                     0.3.1
 - StructIO                      0.0.2
 - TerminalUI                    0.0.2
 - TextWrap                      0.1.6
 - URIParser                     0.1.6
 - VT100                         0.0.2
 - WeakRefStrings                0.2.0
 - WebSockets                    0.2.1
 - WoodburyMatrices              0.2.0

jamie@machine:~/imp$ apm list
Built-in Atom Packages (90)
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
Community Packages (10) /home/jamie/.atom/packages
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
└── (empty)

Same behavior after Pkg.upgrade()
julia> Pkg.status()
10 required packages:
 - Atom                          0.5.2
 - Benchmark                     0.1.0
 - BenchmarkTools                0.0.5
 - Blink                         0.4.1
 - Gadfly                        0.4.4
 - Hiccup                        0.0.3
 - JLD                           0.6.4
 - Match                         0.3.0
 - PyPlot                        2.2.4
 - SQLite                        0.3.7
80 additional packages:
 - ASTInterpreter                0.0.4
 - AbstractTrees                 0.0.4
 - ArgParse                      0.3.1
 - AxisAlgorithms                0.1.5
 - BinDeps                       0.4.5
 - Blosc                         0.1.7
 - COFF                          0.0.2
 - CRC                           1.1.1
 - Calculus                      0.1.15
 - CategoricalArrays             0.0.4
 - CodeTools                     0.4.1
 - Codecs                        0.2.0
 - ColorTypes                    0.2.8
 - Colors                        0.6.8
 - Compat                        0.9.2
 - Compose                       0.4.4
 - Conda                         0.3.2
 - Contour                       0.2.0
 - DWARF                         0.1.0
 - DataArrays                    0.3.8
 - DataFrames                    0.8.3
 - DataStreams                   0.0.15
 - DataStructures                0.4.6
 - Distances                     0.3.2
 - Distributions                 0.10.2
 - ELF                           0.1.0
 - FileIO                        0.1.2
 - FixedPointNumbers             0.1.8
 - FixedSizeArrays               0.2.3
 - ForwardDiff                   0.2.5
 - GZip                          0.2.20
 - Gallium                       0.0.4
 - HDF5                          0.6.6
 - Hexagons                      0.0.4
 - HttpCommon                    0.2.6
 - HttpParser                    0.2.0
 - HttpServer                    0.1.6
 - Interpolations                0.3.6
 - Iterators                     0.1.10
 - JSON                          0.7.0
 - JuliaParser                   0.7.4
 - Juno                          0.2.2
 - KernelDensity                 0.3.0
 - LNR                           0.0.2
 - LaTeXStrings                  0.2.0
 - Lazy                          0.11.2
 - LegacyStrings                 0.1.1
 - Loess                         0.0.7
 - MachO                         0.0.4
 - MacroTools                    0.3.2
 - MbedTLS                       0.3.0
 - Measures                      0.0.3
 - Media                         0.2.2
 - Mustache                      0.1.2
 - Mux                           0.2.1
 - NaNMath                       0.2.1
 - NullableArrays                0.0.9
 - ObjFileBase                   0.0.4
 - Optim                         0.6.1
 - PDMats                        0.4.2
 - PositiveFactorizations        0.0.2
 - PyCall                        1.7.2
 - Ratios                        0.0.4
 - Reactive                      0.3.4
 - Reexport                      0.0.3
 - Requires                      0.3.0
 - Rmath                         0.1.3
 - SHA                           0.2.1
 - Showoff                       0.0.7
 - SortingAlgorithms             0.1.0
 - StatsBase                     0.10.0
 - StatsFuns                     0.3.1
 - StructIO                      0.0.2
 - TerminalUI                    0.0.2
 - TextWrap                      0.1.6
 - URIParser                     0.1.6
 - VT100                         0.0.2
 - WeakRefStrings                0.2.0
 - WebSockets                    0.2.1
 - WoodburyMatrices              0.2.0

I think this is most likely due to us trying to display s and rendering the entire array as a string for the clipboard. The gc() is throwing me off though, is it really specific to that? Does it happen if you do let instead of begin so that s is hidden from the global scope?
May also be worth checking out Juno.jl, as the clipboard issue is fixed on master.

This also happens on Juno master. The problem is that we have no output limiting for strings:
"test"^100_000_000

will crash Atom just as reliably. The workaround with the let-block works though because we then don't try to render s in the workspace.

Ok, I've patched that on Juno master, so this issue may be fixed with that.

Yup, that works.

I'm still a little confused why it would be trying to render s when I eval @time gc() but not when I eval @time begin; s = readstring(open("../imdb/movie_info.csv")); nothing; end. (I wrapped the latter in a block specifically to avoid displaying s).

It works on Juno master though, and printing big strings has been the cause of much wasted time for me, so thanks for the fix :)

The display happens because of the workspace (which we should probably disable updates on if it's not visible). Not sure why it's only happening after the second eval though; maybe there's something race-y going on where you're still transferring data for a while before crashing or something.

so thanks for the fix :)

No problem! Happy to help however we can.

Well, we have this nifty workspace panel which will render everything in global scope. It tries to do that after you eval the begin ... end block and will crash Atom even without the gc... line after some time.

Ah, that makes sense. I'd never opened the workspace panel. It is indeed nifty.


I am migrating my webpack v4 to v5 i'm facing the below issue

[webpack-cli] D:\22.05\FORMS-1065\core-ui-application\node_modules\webpack-dev-server\lib\servers\WebsocketServer.js:10
static heartbeatInterval = 1000;
^
SyntaxError: Unexpected token =
at Module._compile (internal/modules/cjs/loader.js:760:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12)
at Module.require (internal/modules/cjs/loader.js:723:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Server.getServerTransport (D:\22.05\FORMS-1065\core-ui-application\node_modules\webpack-dev-server\lib\Server.js:1663:28)
at Server.createWebSocketServer (D:\22.05\FORMS-1065\core-ui-application\node_modules\webpack-dev-server\lib\Server.js:2443:57)
at Server.start (D:\22.05\FORMS-1065\core-ui-application\node_modules\webpack-dev-server\lib\Server.js:3229:12)
at processTicksAndRejections (internal/process/task_queues.js:86:5)``

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us by recreating the issue using one of our templates.
Please fill out all fields, we can't help you without it.
From stack trace it looks like your code has static keyword, I think webpack parser does not support it. Please use babel (or equal tool) to transpile your code.

same issue with me:

Bug report

What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
[webpack-cli] /opt/app-root/src/www/mo_prod/frontend/node_modules/webpack-dev-server/lib/servers/WebsocketServer.js:10
  static heartbeatInterval = 1000;
                           ^

SyntaxError: Unexpected token =
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Server.getServerTransport (/opt/app-root/src/www/mo_prod/frontend/node_modules/webpack-dev-server/lib/Server.js:1664:28)
    at Server.createWebSocketServer (/opt/app-root/src/www/mo_prod/frontend/node_modules/webpack-dev-server/lib/Server.js:2444:57)
    at Server.start (/opt/app-root/src/www/mo_prod/frontend/node_modules/webpack-dev-server/lib/Server.js:3234:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @ start: `cross-env NODE_OPTIONS=--max-old-space-size=8096 CONFIG_ENV=development better-npm-run start-dev`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /opt/app-root/src/.npm/_logs/2022-04-20T01_27_10_737Z-debug.log

Other relevant information:
[admin@m-remote-xx frontend]$ npx webpack-cli info

  System:
    OS: Linux 3.10 CentOS Linux 7 (Core)
    CPU: (4) x64 Intel Core Processor (Skylake)
    Memory: 7.28 GB / 15.51 GB
  Binaries:
    Node: 12.13.1 - /usr/local/bin/node
    Yarn: 1.22.5 - /usr/bin/yarn
    npm: 5.10.0 - ~/www/mo_prod/frontend/node_modules/.bin/npm
  Packages:
    babel-loader: ^8.1.0 => 8.2.5
    clean-webpack-plugin: ^4.0.0 => 4.0.0
    copy-webpack-plugin: ^9.1.0 => 9.1.0
    css-hot-loader: ^1.4.4 => 1.4.4
    css-loader: ^5.0.1 => 5.2.7
    esbuild-webpack-plugin: ^1.1.0 => 1.1.0
    file-loader: ^6.0.0 => 6.2.0
    fine-uploader: ^5.16.2 => 5.16.2
    fine-uploader-wrappers: ^1.0.1 => 1.0.1
    html-webpack-plugin: ^5.5.0 => 5.5.0
    less-loader: ^8.0.0 => 8.1.1
    postcss-loader: ^6.2.1 => 6.2.1
    react-fine-uploader: ^1.1.0 => 1.1.1
    react-hot-loader: ^4.12.21 => 4.13.0
    speed-measure-webpack-plugin: ^1.3.3 => 1.5.0
    string-replace-loader: ^2.3.0 => 2.3.0
    style-loader: ^2.0.0 => 2.0.0
    terser-webpack-plugin: ^5.3.1 => 5.3.1
    uglifyjs-webpack-plugin: ^2.2.0 => 2.2.0
    url-loader: ^4.1.1 => 4.1.1
    webpack: ^5.68.0 => 5.72.0
    webpack-bundle-analyzer: ^4.5.0 => 4.5.0
    webpack-cli: ^4.9.2 => 4.9.2
    webpack-dev-server: ^4.7.4 => 4.8.1
    webpack-merge: ^5.8.0 => 5.8.0
    webpack-parallel-uglify-plugin: ^2.0.0 => 2.0.0

webpack version:  v5.72.0
Node.js version: v12.13.1
Operating System: Linux 3.10 CentOS Linux 7 (Core)
Additional tools:

@vankop I think we should fix it, does acorn support it?

it seems to be the problem with npm version?
in my case, the project used the wrong npm unser node_modules
I run rm -rf ~/www/mo_prod/frontend/node_modules/.bin/npm
the npm directory back to my default install directory /usr/local/bin/npm ,and the npm version is back to v6.12.1
However,  it worked!

What is node version?

What is node version?

still v12.13.1


Laravel storage file not found on hosting server.Is there an special way to symlink?

I have setup a server for my laravel application.
This is my folder structure
/var/www/html/
        |___ MYDOMAIN.COM
                |___ MYDOMAIN_UAT           ( Contains index.php and assets)
                |___ MYDOMAIN_UAT_STAGING   ( Contains rest of the project)

My problem is file storage is not working on this UAT application. When i'm trying to access the files it returns a 404.
I have linked the storage using php artisan storage:link, and also using
ln -sfv /var/www/html/egig2go.com/egig_uat_staging/storage  /var/www/html/egig2go.com/egig_uat_staging/public
This only happens on the server. Working fine on localhost.
Also file upload is working fine. File is uploaded to the correct folder.
This occurs only when i'm trying to get the file. (ex: Show the uploaded image in the frontend)
Like this,
<img src="{{asset('storage/avatars/BDTQ7lPqFByfvBK1dF7RaA0zjJXT2NHppseyXmOZ.jpeg')}}">
I'm trying to show the uploaded file in the frontend, but file is not loading.

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!


[lib/contents.php] Use variable name 'retVal' instead of 'retval' as …

This pull request fixes a small issue introduced by the changes in #2447.
As variable names in PHP are case-sensitive, the identifier $retVal must be used instead of $retval throughout the file lib/contents.php.

Nice catch! Thank you!


How to do Object Tracking with Sipeed Maix Bit

Hi,
Is there a way to do object tracking with Maix Bit? Maybe like DeepSort. I was wondering if I can do a tiny yolo v4 with Deepsort.
Thanks!

Questions not suitable for the purpose of the warehouse


Unable to see the api data from the remotefilter

I am using at.js  with remoteFilter to get the data from the api and when I look at the data- the at.js is filtering the data with atwho_order:-1 . I want to turnoff the default filtering of at.js

Your issue seems to be similar to this one : https://github.com/ichord/At.js/issues/444

Thanks for responding, I had looked into the #444 but for me only partial data being visible.
If my API is responding with 100 results and I want display all them in the dropdown, but only 2 results are visable and when I debug the issue - I found that the 2 results have atwho_order:>0 and rest of the data has atwho_order:-1.

One more question: After I select the item from the dropdown- is there any way I can access the selected object instead of element.
ex:
Dropdown element is
`
John, doe
srini,lms
`
and the array is
[ {name:'srini',id:'1222',display:'lms'}, {name:'john',id:'333',display:'doe'} ]
and I am trying to get the {name:'srini',id:'1222',display:'lms'} object when the
srini,lms
 element is selected

@lmssrinivas Were you able to turn off the filtering? I'm having the same issue.


HST ramp model and enabling calibrated spectra

I wrote up the HST ramp model and am committing it here for others to test down the road.
I added some code that masks the uncalibrated part of the NIRSpec 2d array.  It's quick and dirty, but it works.  Once I get more experience with other instruments, I'll certainly want to make changes/enhancements.  It's just not worth devoting more time until I know how the other instrument will work.

Codecov Report

Merging #534 (69109c7) into main (5c585fb) will decrease coverage by 0.25%.
The diff coverage is 2.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #534      +/-   ##
==========================================
- Coverage   57.68%   57.43%   -0.25%
==========================================
  Files          92       93       +1
  Lines       11145    11195      +50
==========================================
+ Hits         6429     6430       +1
- Misses       4716     4765      +49

Impacted Files
Coverage Δ

...ureka/S5_lightcurve_fitting/models/HSTRampModel.py
0.00% <0.00%> (ø)

src/eureka/S3_data_reduction/s3_reduce.py
88.09% <16.66%> (-1.49%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Closing PR after merging #544


[WIP] add test framework

Codecov Report

Merging #40 (11418d5) into main (d6606c9) will increase coverage by 0.94%.
The diff coverage is 91.46%.

@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   45.42%   46.36%   +0.94%
==========================================
  Files          44       46       +2
  Lines        2435     2517      +82
  Branches      296      307      +11
==========================================
+ Hits         1106     1167      +61
- Misses       1308     1327      +19
- Partials       21       23       +2

Impacted Files
Coverage Δ

tests/conftest.py
90.14% <90.14%> (ø)

tests/test_istextfile.py
100.00% <100.00%> (ø)

src/dvc_objects/fs/system.py
48.52% <0.00%> (-23.53%)
:arrow_down:

src/dvc_objects/istextfile.py
100.00% <0.00%> (+14.28%)
:arrow_up:

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 d6606c9...11418d5. Read the comment docs.


Check for backups using PITR in corso

After we delete backups, make sure we can still open an old version of the repo and list them.

Does this PR need a docs update or release note?

[ ] :white_check_mark: Yes, it's included
[ ] :clock1: Yes, but in a later PR
[x] :no_entry: No

Type of change

[ ] :sunflower: Feature
[ ] :bug: Bugfix
[ ] :world_map: Documentation
[x] :robot: Supportability/Tests
[x] :computer: CI/Deployment
[ ] :broom: Tech Debt/Cleanup

Issue(s)

#3799

Test Plan

[x] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

manually tested with a non-ci repo successfully


Logic ICs don't unlink when switching between them

Description

@deltanedas
Mfw can't add image on mobile
Reproduction

Link IC, switch, link, check links, cry
Screenshots

Additional context

integrated circuit isnt a thing yet pro


Performance suggestion

I wait a long time for the first time to load it. I got a lot of messages which I do not care about

From my own expirence I know that a log takes a lot of time. So, it may be a good suggestion to not display the ignored directories, but just the ones that I am interested in wathcing
What do you think?

Fixed by #60


Selenide could automatically download chromedriver

Check if chrome driver is not installed yet
Check the latest version of chromedriver from here:
http://chromedriver.storage.googleapis.com/LATEST_RELEASE
Download binary and install to /home/USER/.selenide/chromedriver

Hi. I managed to work it out. It works both Mac or Windows.You can check it out here.
We can put this into Selenide boot, it checks whenever starts or we can create maven or gradle dependency. How do you want it to be?

Cool! Thank you!
I thought about including this functionality in Selenide. Simpler is better.

Done https://github.com/codeborne/selenide/pull/610


create not allowed while custom resource definition is terminating

What steps did you take and what happened:
Deployed the Trivy operator with helm
This error message in the Trivy operator pod logs
{"level":"error","ts":"2023-05-23T10:56:59Z","msg":"Reconciler error","controller":"job","controllerGroup":"batch","controllerKind":"Job","Job":{"name":"scan-vulnerabilityreport-fb4474b98","namespace":"monitoring-test"},"namespace":"monitoring-test","name":"scan-vulnerabilityreport-fb4474b98","reconcileID":"81d3cbd3-7cf1-46ec-a7a7-517b43070c25","error":"create not allowed while custom resource definition is terminating","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:274\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:235"}

I have similar error messages for every namespaces and with the following kinds
controllerKind":"Service"
controllerKind":"Job"
controllerKind":"ReplicaSet"
Is that a permission issue? Or what type?
What did you expect to happen:
No that errors.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

Trivy-Operator version (use trivy-operator version): 0.13.0 Helm version
Kubernetes version (use kubectl version): 1.25.5
OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc):

@tothger have you deleted CRDs before install or performed any other action ?

@chen-keinan yes. I deleted all the CRD-s before the installation. Basically it was required due to the install failed because of the difference CRD structures. ( especially it failed at the clustercompliance report ).
the old Starboard operator with Trivy were installed before on my cluster.
Good to mention. I deleted only the CRD-s for the reports but not every single reports what created for every resource by Starboard.
So I did the intended steps what mentioned in the helm chart. Wasnt that enough?
These were the steps
kubectl delete crd vulnerabilityreports.aquasecurity.github.io
kubectl delete crd configauditreports.aquasecurity.github.io
kubectl delete crd clusterconfigauditreports.aquasecurity.github.io
kubectl delete crd rbacassessmentreports.aquasecurity.github.io
kubectl delete crd infraassessmentreports.aquasecurity.github.io
kubectl delete crd clusterrbacassessmentreports.aquasecurity.github.io

@tothger its look like it related , need to confirm that env. is clean without any terminating resources in process.
can you confirm that and try again ?


Magento Web workload Benchmark

My proposition is to add real life benchmark for web services. This proposition was tested by our team using Magento (PHP based free to use web shop).
To simulate with you workload which you are interested in this benchmark should share some options:

Number of DB machines
Number of Cache machines (default 0 – without cache)
Number of Web machines (Front-End)
All-in-one option (run all services on one VM)
Number of clients at ones (number of clients machines is counted automatically based of that number)
Shop size (number of products)
Workload time (default 600s)

Technical spec:

Magento
MySQL
Memcached
Apache
Gatling – for traffic simulation

Data are automatically generated on provision machines with DB.
Whole test return us:

Request per second
Median time of request
Distribution characteristic

I like what you are proposing and its important to have a solid web workload before we delare v1.0 on PKB :)
Right now EPFL has a pull request for a websearch benchmark here https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/pull/422
Can you check this out an see if it matches your needs?

@kivio - Is this something you are going to work on or should I try and find someone?

i try to do something in this subject but in very limited time

@kivio Sounds great. Is there a dataset and a query trace or generator to use with Magento?

We have it done a little bit manually but it's simple to automize. But my biggest problem currently is lack of time to do it.


Replace hacky code with a custom ESLint formatter

This is not really maintainable.
Instead we should write a custom ESLint formatter. The initial version should probably do exactly the same format we support on master, but without the hacky string manipulations.

I went ahead and wrote a custom formatter. See #2136


Documentation Touchups

I will gather small things to fix in the doumentation here

[x] The build on readthedocs currently fails, sth with urllib version
[x] The coypright year is outdated (add a check for future new years?)
[x] The changelogs should be natsorted, not lexsorted
[x] To contributing section, add best practices for breaking changes and deprecations
[x] Appearently, we are incompatible with sphinx 7.0.0. (changelog), see e.g. this doctest action's log.
[x] Address this warning

As of b16c3c7, this is all done.


feat: add API Management Product Policy resource

Issue-id (partially)
PR Checklist

[x] I have added example(s) inside the [./examples/] folder
[x] I have added the example(s) to the integration test list for normal (~30 minutes) or long runner >30 minutes
[x] I have checked the coding conventions as per the wiki
[ ] I have checked to ensure there aren't other open Pull Requests for the same update/change?

Description
Adding https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/api_management_product_policy
Does this introduce a breaking change

[ ] YES
[x] NO

Testing
CI tests included in this PR

https://github.com/aztfmod/terraform-azurerm-caf/pull/1167 wanted to add this with other resources, but it seems to be abandoned.

@arnaudlh I think it would have been better if you would have added the suggestions here instead of committing directly to main. In that way, the whole PR itself is something that works fine.


explicitly update julia registry during online startup

This resolves https://github.com/JuliaPy/PythonCall.jl/issues/428 by explicitly adding a call to update the Pkg registry.

Thanks :)

Now released on PyPI


HamburgerMenu

I have HambugerMenu with primary buttons. They should be visible only if IsLoggedIn flag is set true in ViewModel. After changing flag to true nothing is changing
<tempControls:HamburgerButtonInfo  PageType="views:StartPage" Visibility="{Binding IsLoggedIn, Converter={StaticResource BoolToVisibilityConverter}}">

The question is how to refresh primarybuttons collection?

Use a method in Shell.xaml.cs that is called from a viewmodel. For instance, in Shell.xaml.cs:
`
public static void SetMenuAuthorized(bool isAuthenticated)
{
        WindowWrapper.Current().Dispatcher.Dispatch(() =>
        {
            Instance.MyMenuVisibleOnLogin.Visibility = (isAuthenticated) ? Visibility.Visible : Visibility.Collapsed;
        });
    }

Call it from viewmodel asViews.Shell.SetMenuAuthorized(false) on MainPage.xaml.cs startup and ``Views.Shell.SetMenuAuthorized(true) after authentication.
It works for me.

I am trying to decopule ViewModels and Views. So I don't have access to Pages from ViewModel

Assuming that IsLoggedIn is a property exposed by your view-model, I would simply recommend the commands you place in your PageHeader have Visibility bound to that property with a converter (or don't use a converter if your property exposes Visibility, which is a very nice approach).

I already have done this, however still it looks like it works only for the first name, with x:Bind and not working with binding
 <tempControls:HamburgerButtonInfo  PageType="views:StartPage"
Visibility="{x:Bind ViewModel.IsLoggedIn, Mode=TwoWay, Converter={StaticResource BoolToVisibilityConverter}}">


which are the best management of TelegramClient?

I'm locked on callback and close. make 1 instance of TelegramClient for all application without ".close" or make 1 instance each controller that needs and close on controller destroy?
i have problem in each solution

1 application instance: i need callback inside controller
1 controller instance: when i move from 2 controller where each use TelegramClient i close first and instanziate second quickly and receive crash :(

If we're talking about doing standard calls (no upload/download) I'd say keep 1 client, and you should be able to use sync method to get the result in your current thread, it should not be an issue.
If multiple controllers are in the same threads and you don't want to be blocking, then currently there's no way to do this. When I started the lib I had 2 versions of the client, one sync and another returning observable, ended up removing the latter because it was a pain to maintain 2 almost identical classes without being able to use inheritance because of one being sync and the other async. Maybe it's time I think about re-introducing an API to get the result as an Observable.
If you need to download/upload files, you can get a downloaderClient from your main client to avoid blocking your main client.
What is the crash you're mentioning? If you use multiple client and call close() you need to make sure you're using close(false) version.

try to exaplain my problem:
i have 2 controller, login and chat. after login was succesfull o close login controller and open chat controller.
the flow are this:

start login controller and inside initialize TLClient
make login using TLClient
close login controller, make TLClient.close() and launch chat controller
start chat controller and inside initialize TLClient
make some TLClient calls
receive exception

In this case I would find a way to pass your TLClient instance to your chat controller instead of closing it to re-open it.
What's the exception? How are you closing the client in the login controller? Are you using client.close(false); ?

i recreate TLClient instance becaouse i want to change callback
whit client.close(false); works, but i don't know if is the correct way to manage TLClient

I should probably set the callback as mutable, could potentially be dangerous in multi-thread use-case though, like the callback being modified while being called, but I guess that's the dev job to avoid this kind of issues.
I would think this this the clean way to do it, instead of closing a connection to re-open a new one immediately.
I'll push a commit with the callback as mutable ASAP.

thz. another question about rxJava: why use rxJava if all methods are synchronous?
i think that is better to remove completely thread management inside library and make all in current thread, and demand thread management on final developer
no?

RxJava is used internally to handle threading.
Telegram API is not synchronous, you can send multiple rpc query at once, and get the response in any order. So threading is needed. And as mentioned above, at first, I also had a client implementation that returned Observable instead of being synchronous, this way the developer could handle thread easily (that's the beauty of rx, you can use subscribeOn and observeOn to manage threading).
Everything is synchronous in the default client because the result is in fact transformed using toBlockable :)
So removing thread management inside library is not possible :)

i suggest to remove all optional params from getDefaultClient and create setter

preferredDataCenter is not optional since it's used for the first connection so cannot remove it.
The updateCallback could be removed from constructor I guess, but I find it more convenient to be able to pass it directly, and since overloads are generated, I don't see the issue in keeping it

After some thinking, updateCallback should not be removed from the constructor:
The client is connecting to Telegram when created, and sometimes you'll get updates from Telegram right on connection (updates since last connection).
If updateCallback is set via a setter only, you could lose updates.