prom_api.execute_maintenance - cannot update/delete rows from chunk "_hyper_29_146874_chunk" as it is compressed

I've set up retention period for metric to 30 days.
When I try to execute maintenance, the ERROR occurres (see below).
I've copied the SQL query mentioned in the error message and tried to execute that SQL directly - and got the same error.
_hyper_29_146874_chunk - is the chunk of hypertable prom_data.node_network_receive_frame_total (prom_data, not prom_data_series)
I have no idea why TimescaleDB is trying to update prom_data table while executing this request.
CONTEXT:  SQL statement "
        WITH potentially_drop_series AS (
            SELECT distinct series_id
            FROM prom_data.node_network_receive_frame_total
            WHERE time < '2020-12-28 20:13:07.983624+03'
            EXCEPT
            SELECT distinct series_id
            FROM prom_data.node_network_receive_frame_total
            WHERE time >= '2020-12-28 20:13:07.983624+03' AND time < '2020-12-28 21:20:44.78165+03'
        ), confirmed_drop_series AS (
            SELECT series_id
            FROM potentially_drop_series
            WHERE NOT EXISTS (
                SELECT 1
                FROM  prom_data.node_network_receive_frame_total  data_exists
                WHERE data_exists.series_id = potentially_drop_series.series_id AND time >= '2020-12-28 21:20:44.78165+03'
                --use chunk append + more likely to find something starting at earliest time
                ORDER BY time ASC
                LIMIT 1
            )
        ) -- we want this next statement to be the last one in the txn since it could block series fetch (both of them update delete_epoch)
        UPDATE prom_data_series.node_network_receive_frame_total SET delete_epoch = current_epoch+1
        FROM _prom_catalog.ids_epoch
        WHERE delete_epoch IS NULL
            AND id IN (SELECT * FROM confirmed_drop_series)
    "
PL/pgSQL function mark_unused_series(text,timestamp with time zone,timestamp with time zone) line 6 at EXECUTE
SQL statement "SELECT _prom_catalog.mark_unused_series(metric_table, older_than, check_time)"
PL/pgSQL function drop_metric_chunks(text,timestamp with time zone,timestamp with time zone) line 48 at PERFORM
SQL statement "CALL _prom_catalog.drop_metric_chunks(r.metric_name, NOW() - _prom_catalog.get_metric_retention_period(r.metric_name))"
PL/pgSQL function execute_data_retention_policy() line 18 at CALL
SQL statement "CALL _prom_catalog.execute_data_retention_policy()"
PL/pgSQL function execute_maintenance() line 3 at CALL
SQL state: XX000```

Hey @DMOsipov, thank you for opening this issue. This is a bug on our side and is in our notice. We hope to release a fix for this soon.

Hey @DMOsipov, thank you for opening this issue. This is a bug on our side and is in our notice. We hope to release a fix for this soon.

Hi @DMOsipov, this looks a lot like a bug in timescaledb that was previously fixed in the following PR https://github.com/timescale/timescaledb/pull/2092 . That should have been included in timescaledb 1.7.3. What version of TimescaleDB are you running?

Hi @cevian,
The error occured on TimescaleDB 1.7.2.
I upgraded to 1.7.4 after your comment, and the problem went away.
Thanks a lot for your kind support.


chore: Prepare ACA-Py Patch Release 0.10.2

We need to get a couple of fixes into a release - PR #2476 and Issue #2477.  We'll do an rc2 as soon as the PRs are ready to go.  The patch release will be branched off of 0.10.1 and will only have these fixes and release PRs.  The PRs will of course also go onto the main branch for subsequent releases.

Branch: https://github.com/hyperledger/aries-cloudagent-python/tree/0.10.2
It's got the changes from #2476 already so just waiting on #2477.

Testing of the 0.10.2-rc0 has been successful.  The changes address the two issues I reported; https://github.com/hyperledger/aries-cloudagent-python/issues/2477, https://github.com/hyperledger/aries-cloudagent-python/issues/2474

An issue related to the 0.10.2-rc0 has popped up.  Details start here; https://github.com/bcgov/DITP-DevOps/issues/109#issuecomment-1712033422.  If this does turn out to be another ACA-Py issue we'll created a ticket, while we do investigation we'll track the issue outside ACA-Py.

An issue related to the 0.10.2-rc0 has popped up. Details start here; bcgov/DITP-DevOps#109 (comment). If this does turn out to be another ACA-Py issue we'll create a ticket, while we do investigation we'll track the issue outside ACA-Py.

The reported issue has been resolved.  Technically it's not an issue with ACA-Py, but it is an issue with the documented process for manually creating and fully initializing a new RevReg.  PR for the update to the docs is incoming.

Testing of the RC image is going well.    Once testing is complete there, I'm confident we can complete the release process for 0.10.2.

@swcurran, IDIM has confirmed their testing has been successful.  Please proceed with the official 0.10.2 release.

Or would the issues discovered here, https://github.com/hyperledger/aries-cloudagent-python/issues/2497, delay this release?
cc @swcurran, @dbluhm

Yes…we’re waiting on an assessment of that one.


[uTVM][Runtime] Introduce Virtual Memory Allocator to CRT

As proposed in #5060, this PR brings an implement of a memory container that returns addresses from a single stack.

@tqchen to follow up your suggestion in #5062, the proposed memory container returns addresses from a single stack. Please review.

cc @tmoreau89 @ajtulloch @ZihengJiang @weberlo please help to take a look

I wonder if VMem allocator is a bit overkill for cases like micro controller. If we have a constant memory usage and do not do frequent alloc and free, perhaps we will be good by use an arena style allocator(which just allocs but do not free) and frees everything once we are done with the task.
It would be nice to do a quick benchmark of the vmemory allocator vs alternatives(in terms of binary size and efficiency)

I think we do need to reuse workspace memory between convolution layers, and reusing the space requires recycling the space with TVMBackendFreeWorkspace.

The workspace memory could have a different strategy. The way it works is that we create a different arena for workspace, along with a counter.

When a memory is allocated, we allocate memory from the arena, and add the counter
When a memory is de-allocated, we decrease the counter
When the counter goes to zero, we free all the memory.

This will work because all workspace memory are temporal

I agree we definitely need an arena style allocator, but can we introduce that in a separate PR? @tqchen

OK, however, note that havinbg a arena based allocator will likely mean remove the vmalloc based versions(for simplicity reasons)

That make sense, since we can have strategies for both runtime and workspace memories.

@tmoreau89 please followup @liangfu please rebase against the master

ping @liangfu

Rebased. Sorry for the late update.

Are the C sources currently being linted?

Yes, all sources (including C and C++ source code) under src directory are checked by the cpplint.

LGTM from my side, @liangfu let us also make sure we add the crt test to the CI. possibly by running some of the quick tests in the apps

Thanks @liangfu @tqchen the PR has been merged. For the CRT CI tests, I suggest these get added in a follow up PR.


Default HTTPS proxy protocol to HTTP if not explicitly specified otherwise

Hey,
Following up our discussion, I'm opening up a PR to fix https://github.com/seanmonstar/reqwest/issues/1080
Now proxies default to the HTTP protocol, unless explicitly specified otherwise

@seanmonstar Thank you!


Address parts returned in lower case (revisit)

Hi!
I ran across this project while trying to find an address parsing solution that doesn't involve calling out to a geocoder or third-party. It looks fantastic and I think I see a number of other problems that it can solve for us.
For that basic use case of parsing unstructured address text, the first issue we ran into seems to be a common one in that the results are all lower case.
I did a bit of searching through the repo and issues on this and it was covered back in 2017 via PR #207 and others.
Has anything changed in the last year that would allow the address parts to be returned in the original case?
How have others solved this issue? I could see sending the address parts to a commercial geocoder and would expect a high quality match with proper casing.
Anyway, great work and thanks for sharing!

There is a way to retain the original casing now that we use a simpler transliterator, but not to do what was being discussed in #51 (parsing as pointers to the original string), as tokenizations may differ between the original input and the normalized input. One common example of this is when there's an HTML entity in the input so Florida A&M would be converted to "Florida A&M" at minimum and tokenization before the conversion would be ["Florida", "A", "&", "amp", ";", "M"], whereas tokenization after would be ["Florida", "A", "&", "M"], so transliteration would need to be significantly refactored to guarantee that the parsed text would be the same i.e. searchable/replaceable in the original string.
If it doesn't need any connection to the original string other than the casing, then yes, that might be possible for 1.1.

@albarrentine That would be really amazing if it turns out to be doable.
FYI, we work with travel data in that main use case I described originally. Most of it came some reasonable system of record with a basis in reality. The problem is that it is back to a raw string of text when we get it and our systems (like many others) rely on properly broken out address parts for pretty much everything downstream.
I'm happy to help out with testing or whatever if I can. Just ping me.
Oh, and howdy from Texas!


Unhandeled Exception on Starting 2.4.0-alpha4

GTX1080
Latest Nvidia driver
Steam/SteamVR - latest
Oculus Quest
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ALVR.Launcher.SaveSettings()
at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
at System.Windows.Forms.Form.RaiseFormClosedOnAppExit()
at System.Windows.Forms.Application.ExitInternal()
at System.Windows.Forms.Application.Exit(CancelEventArgs e)
at ALVR.Launcher.Launcher_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at MetroFramework.Forms.MetroForm.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at MetroFramework.Forms.MetroForm.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
ALVR
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Program%20Files/ALVR/ALVR.exe
System.Windows.Forms
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
MetroFramework
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Program%20Files/ALVR/MetroFramework.DLL
System.Configuration
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
System.Core
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Core.dll
System.Xml
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
MetroFramework.Fonts
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Program%20Files/ALVR/MetroFramework.Fonts.DLL
Accessibility
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/Accessibility.dll
Microsoft.CSharp
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/Microsoft.CSharp.dll

NOTE:
I edited the driver_install.bat and driver_uninstall.bat to reflect the location of my SteamVR install directory: C:\Program Files\Steam\steamapps\common\SteamVR location

I have exactly the same error with 2.4.0-alpha4 on a new installed Windows 10. Replacing the up2date MV C++ 2017 with the VC_redist.x64.exe from the Readme did not change the error.

Additional, also SteamVR starts in safe mode with installed ALVR drivers. If i uninstall (remove external driver path) SteamVR starts without problems.
Riftcat works so it must be ALVR specific.

Agreed on the safe mode. Same as I.
I didn't try riftcat, however.

I did setup a development environment yesterday and did debug the problem in code. For me it was the missing (or not speaker connected) soundcard in my VM leading to a hidden unknown error from .NET. After pluging a usb soundcard ALVR and also SteamVR with the driver did start without problems. So you can check missing soundcard or incompatible soundcard settings (Samplerate...).

Thank you, @rene1977 @macfionn
I didn't think about environments without any audio device.
I will try to fix.

https://github.com/polygraphene/ALVR/issues/405#issuecomment-500781341


List the PackageIdentifier of the package to be added to automation
Tencent.QQ
Details about the application
InstallModes:

interactive
silent

InstallerSwitches:

Silent: /S

SilentWithProgress: /S

InstallLocation: '"path<INSTALLPATH>" "notify0"'
UpgradeBehavior: install
Protocols:

tencent

FileExtensions:

eif
eip
kipx

AppsAndFeaturesEntries:

DisplayName: 腾讯QQ
Publisher: 腾讯科技(深圳)有限公司
InstallerType: msi

Installers:

Architecture: x86
InstallerUrl: https://dldir1.qq.com/qqfile/qq/PCQQ<first 3 part of version number>/QQ<full version number>.exe

Product code needed as it is an msi packed in nsis installer.

See: https://github.com/microsoft/winget-pkgs/tree/master/manifests/t/Tencent/QQ

Patch update
Parse download instead

Please give download page link


Working on Kevin's wrapper for Mandeep's pair counter.

fixed small bugs in mock observables
added some READMEs
significant updates to  Kevin's pair-counting wrapper

added .c files cextern/sinha_pair_counter/ (I think these were mistakenly left out?)
to get everything to compile, I HAD to use clang in the make file
My major issue right now is linking countpairs.h correctly in the cython build of the wrapper.
READMEs outlining how to install and compile everything needs to be included (step-by-step instructions)

when I run the setup.py script with the command:
CC=clang python setup.py build_ext --inplace

I get the ominous warning:
clang -bundle -undefined dynamic_lookup -L//anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/sinha_pair_counter_wrapper.o -L../../../../cextern/sinha_pair_counter/ -L//anaconda/lib -o /Users/duncan/Documents/halotools/halotools/mock_observables/pair_counters/sinha_pair_wrapper/sinha_pair_counter_wrapper.so

Where is this README for the Sinha pair counter located?

I don't have one...

Ahh, ok, that's fine for now. I just misinterpreted one of your commit comments.

@kevinhuangtan can you compile, run the cython setup script, and import the wrapper into python?

@duncandc I think there were 2 problems and I fixed the first one. The first one is the setup.py needs countpairs.h in the same directory. The second I think is that the setup.py needs an absolute path to the library. Right now it is only getting a relative path.

@kevinhuangtan It does not work any better if I put in a absolute path...
I am going to remove this code from the main repo and create a branch in my fork that where we can work on this more.  After I get the branch setup, can you clone my fork's branch and push new commits to there?


fix npm audit vulnerabilities using resolutions

What this PR does / why we need it:
Which issue(s) this PR fixes:
Our internal security team noted that we have potential vulnerabilities in our devDependencies. These stem from nested dependencies in @grafana and @iot-app-kit package dependencies.
For most of the vulnerabilities, they were patched in very similar versions to what's already in the dependency chain, so this shouldn't cause much of an issue.
For these 2 dependencies, there was a significant shift in Major version, but from testing doesn't seem to impact the build of the customer application, so may appear when we run our automated tests, submitting this PR to find out.
    "d3-color": "^3.1.0",
    "log4js": "^6.4.0"

Fixes #
Special notes for your reviewer:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Mitchell Lee seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


deserializationPolicy.ts error when handling 400s

Package Name:  @azure-rest/core-client
Package Version: 1.4.0
Operating system: Mac Ventura
[ ] nodejs

version: v23.2.0

[ ] browser

name/version: n/a

[ ] typescript

version: ^5.0.4

Is the bug related to documentation in

[X] README.md -> Call Automation Live Transcription
[ ] source code documentation
[ ] SDK API docs on https://learn.microsoft.com

Describe the bug
When running src/app.ts, after an incoming call is handled, upon receiving some call events, the application crashes
To Reproduce
Steps to reproduce the behavior:

Setup callautomation live transcription demo
Answer an incoming call and stay on the line for > 30 s

Error in console output
/azure-live-transcription/node_modules/@azure/core-client/src/deserializationPolicy.ts:255
  const error = new RestError(initialErrorMessage, {
                ^
RestError: IDX23010: Lifetime validation of the signed http request failed. Current time: '11/14/2024 7:50:08 PM' UTC, signed http request is valid until: '11/14/2024 6:43:34 PM' UTC.
    at handleErrorResponse (/Users/sameer/workspace/azure-live-transcription/node_modules/@azure/core-client/src/deserializationPolicy.ts:255:17)
    at deserializeResponseBody (/Users/sameer/workspace/azure-live-transcription/node_modules/@azure/core-client/src/deserializationPolicy.ts:159:43)
    at processTicksAndRejections (node:internal/process/task_queues:105:5) {
  code: undefined,
  statusCode: 400,
  details: {}
}

OR
azure-live-transcription/node_modules/@azure/core-client/src/deserializationPolicy.ts:255
  const error = new RestError(initialErrorMessage, {
                ^
RestError: Invalid request
    at handleErrorResponse (/Users/sameer/workspace/azure-live-transcription/node_modules/@azure/core-client/src/deserializationPolicy.ts:255:17)
    at deserializeResponseBody (/Users/sameer/workspace/azure-live-transcription/node_modules/@azure/core-client/src/deserializationPolicy.ts:159:43)
    at processTicksAndRejections (node:internal/process/task_queues:105:5) {
  code: '400',
  statusCode: 400,
  details: {
    error: { code: '400', message: 'Invalid request', details: [Array] }
  }
}

Expected behavior
Demo app to not crash
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Specifically narrowed the issue down to https://github.com/Azure-Samples/communication-services-javascript-quickstarts/blob/main/callautomation-live-transcription/src/app.ts#L89
And just as a cheap retry, tried to recreate a new client and retry the answerCall command.
try {
	answerCallResult = await acsClient.answerCall(incomingCallContext, callbackUri, answerCallOptions);
}
catch(error) {
	console.log(`ERROR IN ANSWERING CALL: ${error}`);
	await createAcsClient();
	answerCallResult = await acsClient.answerCall(incomingCallContext, callbackUri, answerCallOptions);
}

That resulted in another exception being thrown at the 2nd answerCall with the new acsClient

Hi @xtreme-sameer-vohra, thank you for the report. This doesn't appear to be an issue with the core-client package -- the deserializationPolicy will throw a RestError whenever an unsuccessful (i.e. non-2xx) status code is received from the service. This includes the 400 status code that you are seeing.
I will tag this issue with the Communication label so that the ACS folks can help you with the underlying reason as to why the service might be responding with a 400 status here. Thanks for your patience!

Thanks @timovv


Update to 5.0

Please, can you update this wonderfull overlay to 5.0, with DNC/GNB icon ? :> thanks

Bump

I don't think we will have an update. The last was in 2017. Maybe someone can re-take the project just for maj ? I don't know how to do it because it's a language/methods i don't know :'(


Codecov

WIP - testing code coverage tools.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1dce682). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #27   +/-   ##
=========================================
  Coverage          ?   50.16%
  Complexity        ?       55
=========================================
  Files             ?       20
  Lines             ?      305
  Branches          ?       26
=========================================
  Hits              ?      153
  Misses            ?      144
  Partials          ?        8

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 1dce682...1606d80. Read the comment docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1dce682). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #27   +/-   ##
=========================================
  Coverage          ?   50.16%
  Complexity        ?       55
=========================================
  Files             ?       20
  Lines             ?      305
  Branches          ?       26
=========================================
  Hits              ?      153
  Misses            ?      144
  Partials          ?        8

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 1dce682...e971a1e. Read the comment docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1dce682). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #27   +/-   ##
=========================================
  Coverage          ?   50.16%
  Complexity        ?       55
=========================================
  Files             ?       20
  Lines             ?      305
  Branches          ?       26
=========================================
  Hits              ?      153
  Misses            ?      144
  Partials          ?        8

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 1dce682...e971a1e. Read the comment docs.


controller/deployer: Initial release should throw distinct error.

Closes #845.

LGTM

@titanous Comments addressed.

This needs tests.

@titanous Tests are there, I just forgot to update them. Fixed.

@titanous Changed to a transaction, but now everything stalls on the second call for some reason.

@titanous Fixed.

@titanous ^

LGTM, please rebase before merging.


Add  Rendering for Pie Chart

Description
Implemented rework of pie chart rendering. Pie slices are now drawn using <path> elements which will allow greater flexibility in customization, design variation, and animations.
For each slice, the following can be tweaked:

Fill color
Fill animation
Stroke color
Stroke width
Stroke animation
Stroke design

Pie chart arc remains using <circle> for now

Awesome stuff, thanks Ian! Looks even better than before. Super excited to see how this will look with the key as well 👀


MattesMutualInformationImageToImageMetricv4: Joint PDF summed to zero

Hello,
I am using SimpleITK (Python V3.7) to affine registration on 2 CT-scan serie and I get the error :

RuntimeError: Exception thrown in SimpleITK ImageRegistrationMethod_Execute: d:\a\1\sitk-build\itk-prefix\include\itk-4.13\itkMattesMutualInformationImageToImageMetricv4.hxx:205:
itk::ERROR: MattesMutualInformationImageToImageMetricv4(01489590): Joint PDF summed to zero

An important point is that I don't always get this error, sometime it works fine I don't know why
The code I use is :
registration_method = sitk.ImageRegistrationMethod()
registration_method.SetMetricAsMattesMutualInformation(numberOfHistogramBins=50)
registration_method.SetMetricSamplingStrategy(registration_method.REGULAR)
registration_method.SetMetricSamplingPercentage(1)
registration_method.SetInterpolator(sitk.sitkLinear)
registration_method.SetOptimizerAsGradientDescent(learningRate=1, numberOfIterations=255)
registration_method.SetOptimizerScalesFromPhysicalShift()
registration_method.SetShrinkFactorsPerLevel(shrinkFactors = [6,4,2,1])
registration_method.SetSmoothingSigmasPerLevel(smoothingSigmas=[3,2,1,0])
registration_method.SmoothingSigmasAreSpecifiedInPhysicalUnitsOn()
registration_method.SetInitialTransform(initial_transform)
before_slice_cast = sitk.Cast(before_slice_image, sitk.sitkFloat32)
after_slice_cast = sitk.Cast(after_slice_image, sitk.sitkFloat32)
final_transform = registration_method.Execute(before_slice_cast, after_slice_cast) #here i get the error

I attach an example of data of 2 slice where  before_slice_image si CT.... and after_slice_image is IMG....
example.zip

Hello @SylwekFr,
That error usually means that the images are no longer overlapping, the optimizer took a large step in parameter space and the transform mapping points from the fixed image to the moving image is mapping all points outside the moving image.
Your configuration of the registration is a bit strange:
registration_method.SetMetricSamplingStrategy(registration_method.REGULAR)
registration_method.SetMetricSamplingPercentage(1)

Please try
registration_method.SetMetricSamplingStrategy(registration_method.NONE)

and no need to set the sampling percentage.

Are you using a transform initializer?
If you haven't already please read through the Registration Overview and the linked Jupyter Notebook examples.

@zivy thank you for your reply, i tried now an i get a diffrent error :

RuntimeError: Exception thrown in SimpleITK ImageRegistrationMethod_Execute: d:\a\1\sitk-build\itk-prefix\include\itk-4.13\itkMattesMutualInformationImageToImageMetricv4.hxx:238:
itk::ERROR: MattesMutualInformationImageToImageMetricv4(0BE3BB68): Too many samples map outside moving image buffer. There are only 282 valid points out of 7225 total points. The images do not sufficiently overlap. They need to be initialized to have more overlap before this metric will work. For instance, you can align the image centers by translation.

@blowekamp thank you too for your reply, yes there is a transform initializer :
before_slice_image = sitk.Cast(before_image, sitk.sitkFloat32)
after_slice_image = sitk.Cast(after_image, sitk.sitkFloat32)
initial_transform = sitk.CenteredTransformInitializer(before_slice_image,
                                                                  after_slice_image,
                                                                  sitk.AffineTransform(before_slice_image.GetDimension()),
                                                                  sitk.CenteredTransformInitializerFilter.GEOMETRY)

In case I am missing some part of code which may help in the problem I can add here or the "full code" is avaliable here : https://github.com/SylwekFr/lung_analysis/blob/master/patientAffineRegistration.py

Hello @SylwekFr ,
Thanks for sharing your code, makes it much easier to help.
So, after looking at your code I am a bit puzzled. Based on your naming conventions in the code "before_slice_image", "after_slice_image" and the data in the zip file, two CT slices:
You appear to be registering two volumes, but iterating over slices and only aligning these in 2D. So instead of a single 3D transform you have multiple 2D transformations. This requires that the two volumes have the same number of slices and that the anatomy of interest is pretty much in the same 3D location along the z-axis (cranial-caudal direction). These requirements will never be satisfied.
You should align the volumes directly in 3D.
Also, it looks like in your code the images used for registration are obtained from numpy arrays. This means we are missing the physical sizes of the pixels (they are assumed to be 1x1mm). This is not happening in your case. The sample data you gave has a spacing of 0.98x0.98mm for one image and 0.59x0.59mm for the other. By ignoring this information any registration results you obtain will be problematic as registration is done in physical space.
If you can clarify your goal (input-output) we can better help you. Possibly explain the strategy you are using, I know you have a reason for the 2D approach, what is it?

Hello @zivy ,
Actually the registration is the 3rd step of the full application (lung_analysis), the  first step is to load the patient data (for example) containing a serial of slices (before_images) with related data (before_data) and another serial of slices (after_images), the before is taken by a CT-Scan device before a radiation therapy and the after after a radiation therapy by another CT-Scan device. the after serial have more slice than the before one so the number of slices of the after serial is reduced in the first step also. Still in the first step only the slices with lung present are keeped.
In the second step both selected slices for both series are segmented to only keep lungs on the images.  and then the segmented image are the input for the 3rd step which is the registration discussed here :)
The next step is calculation of median and average on Hounsfield Unit for different radiation range 0-5Gy, 5-10Gy, 10-20Gy, 20-30Gy and 30-40Gy (from radiotherapy) for each slices for different ROI and then make the difference between before serie and after serie for each slice, then sum median and mean difference and export to csv.
The reason why I am using 2D is more that I don't know how to reconstruct the 3D model, to segment it and to make the calculation for the next step on a 3D model (for now I do the calculation and exportation with numpy and panda).

OK, thanks for providing the bigger picture. Now I can confidently say that you should not do the registration in 2D and that the conversion to numpy arrays after loading the data is not the path you should take.
For the registration to work in your case you need to use 3D SimpleITK images. Going from numpy arrays to SimpleITK loses spatial information. If you want to go this way you will have to restore the SimpleITK image's spatial information (origin, spacing, direction cosine matrix).
Not sure what you mean by 3D model, are you referring to the 3D image, a segmentation on that image, something else?

I mean the 3D images, probably from both CT serie I should create from slides one 3D representation for each serial and probably then make all steps (segmentation, registration and calculation) on those two 3D representation, am I right ?

Yes, that is the recommended approach. Work in the native dimensionality of your image, 3D in your case.
If you still want to work on a slice by slice fashion you can extract them from the volume using the slicing operation (my_image[:,:,i] - z slice i from my_image) and afterwards you can combine the processed list of 2D slices back into a 3D volume JoinSeries. This 2D approach is less natural in ITK/SimpleITK, but it is possible.

Hello @zivy ,
Thank you very much for your recommendation I will try this approach, do you recommend a specific librabry for 3D segmentation if there is any ? Does SimpleITK have this functionality ?

Hello @SylwekFr,
All of the filters in SimpleITK work in 2D and 3D, mostly with minimal changes to input (I assume you were using those for performing your 2D segmentation so should be readily converted to 3D). Possibly take a look at our Jupyter notebook repository, the Python/3* series of notebooks illustrate various segmentation tasks.


Search by Tag Label

Users should be able to search by semantic tag label

Now users can search by tag label too :)


socket.io-client&netty-socketio compatibility issues

netty-socketio It seems like not supported socket.io v4.5.3，
front：
import {io} from "socket.io-client";

const socket = io("http://localhost:5432");

socket.on("connect", () => {
  console.log(">>>>>>>>>>>>>>success");
});
socket.on("join", (val) => {
  console.log("joinData",val);
});

back:
@Override
    public void start() throws Exception {
        // Listen for client connection behavior
        socketIOServer.addConnectListener(client -> {
            String loginUserNum = getParamsByClient(client);
            if (loginUserNum != null) {
                clientMap.put(loginUserNum, client);
                log.info("user{}joined，online：{}people",loginUserNum,clientMap.size());
                client.sendEvent("join","i'm Server，Hello Client！");
            }
        });
        socketIOServer.addDisconnectListener(client -> {
            String loginUserNum = getParamsByClient(client);
            if (loginUserNum != null) {
                clientMap.remove(loginUserNum);
                client.disconnect();
            }
        });
        socketIOServer.start();
    }

The result is infinite polling, but still not connecting

The same issue +1

Wich version of socket.io client are you using? I've detected that it only works on versions up to 2.3.1

i try to use version 1.x and 2.x and still not working. the client is written in javascript

The same issue +1,support now ?

Fixed in https://github.com/mrniko/netty-socketio/pull/897

已在 #897 中修复

Many thanks！


Adding Tesla via Gui fails

Describe the bug
I removed my Tesla from the config evcc.yaml and tried to add it via the gui.
While the validation worked, adding failed anyway.
Steps to reproduce
See Description

Configuration details
vehicles:
#  - name: NEO
#    type: template
#    template: tesla-command
#    capacity: 57.5
#    phases: 3
#    mincurrent: 6
#    maxcurrent: 16
#    icon: car

Log details
Unfortunately, nothing in the log files.

What type of operating system are you running?
HomeAssistant Add-on
Version
evcc version 0.124.0

I think its the same: https://github.com/evcc-io/evcc/issues/11987

I think its the same: #11987

It seems so.

@naltatis auch hier müsste bei synchronen Requests die Fehlermeldung ins Popup?

@buliwyf42 this should work in the nightly version


ValueError: Unknown URI - must be a path to an IPC socket, a websocket beginning with  'ws' or a URL beginning with 'http'

some one can help me on this pls :(

Try deleting the mainnet-fork-dev from networks and add it again, remember the host should start with http on lowercase, no HTTP.

your host is incorrect ... must be http://<IP_ADDRESS>


Add async commands

Hi, I am using this repository as base for my new project. However this repo does not implement async commands and as a consequence it does not show how to consider async commands inside a command bus implementation.
I rewritten the MessengerCommandBus implementation however this does not satisfy PHPStan as returning null for async commands results in error
Method MessengerCommandBus::dispatch() should return T but returns null.
💡 Type null is not always the same as T. It breaks the contract for some argument types, typically subtypes.

final class MessengerCommandBus implements CommandBusInterface
{
    public function __construct(MessageBusInterface $commandBus)
    {
        $this->messageBus = $commandBus;
    }

    /**
     * @template T
     *
     * @param CommandInterface<T> $command
     *
     * @return T
     */
    public function dispatch(CommandInterface $command): mixed
    {
        try {
            $envelope = $this->messageBus->dispatch($message);
            /** @var HandledStamp[] $handledStamps */
            $handledStamps = $envelope->all(HandledStamp::class);

            if (!$handledStamps) {
                // async command
                return null;
            }

            if (\count($handledStamps) > 1) {
                $handlers = implode(', ', array_map(fn (HandledStamp $stamp): string => sprintf('"%s"', $stamp->getHandlerName()), $handledStamps));

                throw new LogicException(sprintf('Message of type "%s" was handled multiple times. Only one handler is expected when using "%s::%s()", got %d: %s.', get_debug_type($envelope->getMessage()), static::class, __FUNCTION__, \count($handledStamps), $handlers));
            }

            return $handledStamps[0]->getResult();
        } catch (HandlerFailedException $e) {
            if ($exception = current($e->getWrappedExceptions())) {
                throw $exception;
            }

            throw $e;
        }
    }
}

if (!$handledStamps) {
    // async command
    return null;
}

Note that still a normal sync command must meet a handler. By removing the logic exception you'll miss that rule.
The alternative to allow async without losing the sync constraint would be:
if (!$handledStamps) {
    if ($envelope->all(SentStamp::class)) {
        // async command
        return null;
    }

    throw new LogicException(sprintf('Message of type "%s" was handled zero times. Exactly one handler is expected when using "%s::%s()".', get_debug_type($envelope->getMessage()), static::class, __FUNCTION__));
}

Checking by SentStamp::class you'll know that the command was at least sent through the async transport.


In the client I can configure the long polling

related https://github.com/zeebe-io/zeebe/issues/2931

done with https://github.com/zeebe-io/zeebe-client-csharp/commit/01b504d22f091f27a5cf957bab6b02075743168d


Clean up SQL Console Component

Update the dev mode SQL console to leverage the usql-toolbox console

@mcrascal are we ok with keeping the usql-toolbox package as a plugin, rather than pulling this all into core-components? We can re-export the sql console from core components to prevent needing to install it in the template

I'm good with it.


If PDF.js is on, show PDF.js. Remove logic to fall back to UV if split works are present

Summary
There are issues with the special logic applied to fall back to the UV even with PDF.js is on, which occurs for specific conditions (ie: split works exist). Per Katharine, for now let's remove that logic and always show PDF.js when that feature flag is on.
https://assaydepot.slack.com/archives/C0313NJV9PE/p1733411068582639
Acceptance Criteria

[ ] Regardless of the conditionals, when PDF.js is enabled it should the display PDF.js viewer.

Screenshots or Video
Testing Instructions
To be filled out by dev
Notes

Just dropping in a note here. The existing logic is preferred, if the UV can be fixed so it will display split works as it did before the cutover. The existing logic is ideal when both viewers are functional. If it is possible to fix both the UV and PDF.js so they function as they did before Valkyrie and Version 6, then we would be thrilled.
Removing the logic and relying on just PDF.js is a last resort option that we choose simply to prioritize showing works throughout the repo.
Question: What will happen to non-PDF works if we remove the logic and rely on PDF.js? Will TIFF and JPEG works render in the viewer? Will embedded videos still display?
Thanks for answering that question and considering other paths before reverting the logic.


Possible performance regression in v4.0.0-beta.7

Version
v4.0.0-beta.7
Summary
Since version 4.0.0-beta.7, the round-trip time has become very long.
Additionally, the same issue occurs when we upgrade our app to Kotlin version 2 in version 4.0.0-beta.6.
Steps to reproduce the behavior
I currently do not have time to conduct an investigation. Please let me know if there is any information you need.
Logs
(Your logs here)

Mmm indeed, there is quite a jump in the json benchmarks

We'll investigate, thanks for the heads up!

We haven't been able to confirm locally yet. The benchmark give similar results:
beta.7
3 357 106   ns       12922 allocs    trace    JsonTests.jsonApollo

beta.6
3 330 695   ns       12922 allocs    trace    JsonTests.jsonApollo

We'll keep digging.

I re-ran the benchmarks manually from main and it's back to normal times 🤔

I just tried re-running the exact same commit.

I am using Jetpack Compose, and since Apollo4, there have been multiple recompositions, causing the same request to be sent to the server multiple times.
Both beta6 and beta7 are sending multiple requests, but for some reason, performance issues only occur in beta7. However, I would like to first solve the problem of sending multiple requests, and then recheck to see if the performance issues still occur.

@sonatard apologies for the late response. Did you end up finding anything? This looks like a recomposition issue?

@martinbonnin Yes, I found what causes recomposition. In Kotlin 2.0, if we pass a lambda function option as a key to remember, it is recognized as a different value each time, causing recomposition to occur.
If we remove the option from the key as shown below, recomposition will no longer occur.
--- a/app/src/main/java/com/appify/android/infra/network/apollo/ApolloClientExt.kt
+++ b/app/src/main/java/com/appify/android/infra/network/apollo/ApolloClientExt.kt
@@ -77,7 +77,7 @@ fun <D : Query.Data> ApolloClient.query(
     }

     var refetching by remember { mutableStateOf(false) }
-    val keys = arrayOf(q.hashCode(), option, refetching)
+    val keys = arrayOf(q.hashCode(), refetching)
     val apolloResponseFlow =
         remember(keys = keys) {
             when (watch) {

However, if the option cannot be included in the key, there remains the problem that if the option dynamically changes, it cannot be re-fetched.

This is probably due to the fact that lambdas are now using invokedynamic. It's hard to tell why your option is not equal against recomposition but I don't think we can do much in Apollo Kotlin?

Thank you for your explanation. Currently, we pass options like fetchPolicy, and realistically, the options do not change depending on the state. For now, we plan to address this by removing the option from the key.
However, Apollo web does receive a fetchPolicy, and changes in this value trigger re-rendering. If we were to address this, we would solve it by accepting a FetchPolicy instead of a lambda and using it as the key.
Thank you for your cooperation.


'-s' parameter doesn't work while using -p 'ViewState'

hi , I get a problem where I use ' -s ' with -p 'ViewState' together ,

and if i can't use '-s' while using "-p 'viewState'" ,how can i  deal with the special character , my cmd command is :

stdin argument is only used for gadgets not plugins. Use -c "powershell.exe -encodedCommand $encodedCommand" and encode your inputs. Example here: https://www.nccgroup.com/uk/about-us/newsroom-and-events/blogs/2018/august/aspnet-resource-files-resx-and-deserialisation-issues/


More Features?

Can you add more features to the page for disabling extensions as there are more extensions that block things on my chromebook. Also they have a way of seeing my screen and in the Ingot by fog it enabled me to get rid of those extensions but it no longer works. There are also chrome apps like the Iboss compatibility plug-in that also block sites. I was just wondering if you could add more features?

These are disable-able.  This is only compatible with iBoss as it utilizes a bug that is limited to iBoss.  Although it could be retrofitted to other extensions that have a similar security oversight.


(react-native run-android --variant=release) Error: spawnSync ./gradlew ENOBUFS

This issue has popped up when I try to run my android app with any of my release-based variants. The app runs properly when not specifying a variant (using the debug variant), and I am also able to successfully create release .apk/.aab files as well.
When running npx react-native run-android --variant=release, the process goes on as normal until it reaches this point:
> Task :app:bundleReleaseJsAndAssets
warning: the transform cache was reset.
Loading dependency graph, done.
info Writing bundle output to:, /app/android/app/build/generated/assets/react/release/index.android.bundle
info Writing sourcemap output to:, /app/android/app/build/intermediates/sourcemaps/react/release/index.android.bundle.packager.map
info Done writing bundle output
info Done writing sourcemap output
info Copying 144 asset files
info Done copying assets
<=======------> 54% EXECUTING [2m 18s]
> IDLE
> IDLE
> IDLE
> :app:bundleReleaseJsAndAssets
> IDLE
> IDLE
> IDLE
> IDLE

after which it will consistently log a giant set of warnings related to the index.android.bundle. Here is an excerpt:
/app/android/app/build/generated/assets/react/release/index.android.bundle:29:134: warning: the variable "Promise" was not declared in function "isBoldTextEnabled"
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0])(r(d[1])),t=r(d[2]),o=r(d[3]),s=new Map,c={isBoldTextEnabled:function(){return Promise.resolve(!1)},isGrayscaleEnabled:function(){return Promise.resolve(!1)},isInvertColorsEnabled:function(){return Promise.resolve(!1)},isReduceMotionEnabled:function(){return new Promise(function(t,o){n.default?n.default.isReduceMotionEnabled(t):o(!1)})},isReduceTransparencyEnabled:function(){return Promise.resolve(!1)},isScreenReaderEnabled:function(){return new Promise(function(t,o){n.default?n.default.isTouchExplorationEnabled(t):o(!1)})},get fetch(){return this.isScreenReaderEnabled},addEventListener:function(n,o){var c;'change'===n||'screenReaderChanged'===n?c=t.addListener("touchExplorationDidChange",function(n){o(n)}):'reduceMotionChanged'===n&&(c=t.addListener("reduceMotionDidChange",function(n){o(n)})),s.set(o,c)},removeEventListener:function(n,t){var o=s.get(t);o&&(o.remove(),s.delete(t))},setAccessibilityFocus:function(n){o.sendAccessibilityEvent(n,o.getConstants().AccessibilityEventTypes.typeViewFocused)},announceForAccessibility:function(t){n.default&&n.default.announceForAccessibility(t)}};m.exports=c},23,[1,24,42,49]);
                                                                                ^~~~~~~
/app/android/app/build/generated/assets/react/release/index.android.bundle:38:3047: warning: the variable "DebuggerInternal" was not declared in function "value 16#"
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),l=r(d[1]),u=r(d[2]),s=r(d[3]),n=r(d[4]),h=(r(d[5]),r(d[6])),o=r(d[7]),c=(r(d[8]),(function(){function c(){l(this,c),this._lazyCallableModules={},this._queue=[[],[],[],0],this._successCallbacks=new Map,this._failureCallbacks=new Map,this._callID=0,this._lastFlush=0,this._eventLoopStartTime=Date.now(),this._immediatesCallback=null,this.callFunctionReturnFlushedQueue=this.callFunctionReturnFlushedQueue.bind(this),this.callFunctionReturnResultAndFlushedQueue=this.callFunctionReturnResultAndFlushedQueue.bind(this),this.flushedQueue=this.flushedQueue.bind(this),this.invokeCallbackAndReturnFlushedQueue=this.invokeCallbackAndReturnFlushedQueue.bind(this)}return u(c,[{key:"callFunctionReturnFlushedQueue",value:function(t,l,u){var s=this;return this.__guard(function(){s.__callFunction(t,l,u)}),this.flushedQueue()}},{key:"callFunctionReturnResultAndFlushedQueue",value:function(t,l,u){var s,n=this;return this.__guard(function(){s=n.__callFunction(t,l,u)}),[s,this.flushedQueue()]}},{key:"invokeCallbackAndReturnFlushedQueue",value:function(t,l){var u=this;return this.__guard(function(){u.__invokeCallback(t,l)}),this.flushedQueue()}},{key:"flushedQueue",value:function(){var t=this;this.__guard(function(){t.__callImmediates()});var l=this._queue;return this._queue=[[],[],[],this._callID],l[0].length?l:null}},{key:"getEventLoopRunningTime",value:function(){return Date.now()-this._eventLoopStartTime}},{key:"registerCallableModule",value:function(t,l){this._lazyCallableModules[t]=function(){return l}}},{key:"registerLazyCallableModule",value:function(t,l){var u,s=l;this._lazyCallableModules[t]=function(){return s&&(u=s(),s=null),u}}},{key:"getCallableModule",value:function(t){var l=this._lazyCallableModules[t];return l?l():null}},{key:"callNativeSyncHook",value:function(t,l,u,s,n){this.processCallbacks(t,l,u,s,n);try{return g.nativeCallSyncHook(t,l,u)}catch(t){throw'object'==typeof t&&null!=t&&void 0===t.framesToPop&&/^Exception in HostFunction: /.test(t.message)&&(t.framesToPop=2),t}}},{key:"processCallbacks",value:function(t,l,u,s,n){(s||n)&&(s&&u.push(this._callID<<1),n&&u.push(this._callID<<1|1),this._successCallbacks.set(this._callID,n),this._failureCallbacks.set(this._callID,s)),this._callID++}},{key:"enqueueNativeCall",value:function(t,l,u,s,h){this.processCallbacks(t,l,u,s,h),this._queue[0].push(t),this._queue[1].push(l),this._queue[2].push(u);var o=Date.now();if(g.nativeFlushQueueImmediate&&o-this._lastFlush>=5){var c=this._queue;this._queue=[[],[],[],this._callID],this._lastFlush=o,g.nativeFlushQueueImmediate(c)}n.counterEvent('pending_js_to_native_queue',this._queue[0].length),this.__spy&&this.__spy({type:1,module:t+'',method:l,args:u})}},{key:"createDebugLookup",value:function(t,l,u){}},{key:"setImmediatesCallback",value:function(t){this._immediatesCallback=t}},{key:"__guard",value:function(t){if(this.__shouldPauseOnThrow())t();else try{t()}catch(t){s.reportFatalError(t)}}},{key:"__shouldPauseOnThrow",value:function(){return'undefined'!=typeof DebuggerInternal&&!0===DebuggerInternal.shouldPauseOnThrow}},{key:"__callImmediates",value:function(){n.beginEvent('JSTimers.callImmediates()'),null!=this._immediatesCallback&&this._immediatesCallback(),n.endEvent()}},{key:"__callFunction",value:function(t,l,u){this._lastFlush=Date.now(),this._eventLoopStartTime=this._lastFlush,this.__spy?n.beginEvent(t+"."+l+"("+o(u)+")"):n.beginEvent(t+"."+l+"(...)"),this.__spy&&this.__spy({type:0,module:t,method:l,args:u});var s=this.getCallableModule(t);h(!!s,'Module %s is not a registered callable module (calling %s)',t,l),h(!!s[l],'Method %s does not exist on module %s',l,t);var c=s[l].apply(s,u);return n.endEvent(),c}},{key:"__invokeCallback",value:function(l,u){this._lastFlush=Date.now(),this._eventLoopStartTime=this._lastFlush;var s=l>>>1,n=1&l?this._successCallbacks.get(s):this._failureCallbacks.get(s);n&&(this._successCallbacks.delete(s),this._failureCallbacks.delete(s),n.apply(void 0,t(u)))}}],[{key:"spy",value:function(t){c.prototype.__spy=!0===t?function(t){console.log((0===t.type?'N->JS':'JS->N')+" : "+(t.module?t.module+'.':'')+t.method+"("+JSON.stringify(t.args)+")")}:!1===t?null:t}}]),c})());m.exports=c},32,[33,7,8,37,38,39,19,40,20]);

And at the end of these warnings, this error appears:
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment.
Error: spawnSync ./gradlew ENOBUFS
    at Object.spawnSync (internal/child_process.js:1041:20)
    at spawnSync (child_process.js:609:24)
    at execFileSync (child_process.js:636:15)
    at runOnAllDevices (/app/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:39)
    at buildAndRun (/app/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:158:41)
    at /app/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:125:12
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
    at async Command.handleAction (/app/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:164:9)

Here are the relevant variant settings in app/build.gradle:
def keystore = getPassword("local", "android_keystore_password")
def key = getPassword("local", "android_key_password")
...
signingConfigs {
        release {
            storeFile file('app.keystore')
            storePassword keystore
            keyAlias 'app'
            keyPassword key
        }
        debug {
            storeFile file('debug.keystore')
            storePassword 'android'
            keyAlias 'androiddebugkey'
            keyPassword 'android'
        }
    }
    buildTypes {
        release {
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            signingConfig signingConfigs.release
        }
        debug {
            debuggable true
            signingConfig signingConfigs.debug
        }
        stagingrelease {
            initWith release
            matchingFallbacks = ['release', 'debug']
        }
        productionrelease {
            initWith release
            matchingFallbacks = ['release']
        }
    }

React Native version:
System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz
    Memory: 1.03 GB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 12.6.0 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
    Android SDK:
      API Levels: 19, 22, 23, 25, 26, 27, 28, 29
      Build Tools: 22.0.1, 23.0.1, 25.0.2, 27.0.3, 28.0.3, 29.0.0, 29.0.0, 29.0.0, 29.0.1
      System Images: android-22 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom
      Android NDK: 20.0.5594570
  IDEs:
    Android Studio: 3.4 AI-183.6<IP_ADDRESS>92245
    Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
  npmPackages:
    @react-native-community/cli: ^3.0.4 => 3.0.4
    react: 16.9.0 => 16.9.0
    react-native: 0.61.2 => 0.61.2

Steps to Reproduce:

npx react-native run-android --variant=release with above context

Expected:
App to successfully run with specified variant.

Update:
Rather than being tied to variant explicitly, it seems to occur anytime I'm both bundling AND disabling dev mode. For instance, this config in app/build.gradle for the debug variant will also fail:
project.ext.react = [
    bundleInDebug: true,
    devDisabledInDebug: true,
    entryFile: "index.js",
    enableHermes: true,
]

try to do this:
chmod 755 android/gradlew

hey @Croge32 did you find any solution?

I have the same issue and forced to use Android Studio to run a release app

+1 I just discovered this issue and I don't know what to do. Nothing online too

got this issue when using wsl,

Seeing this now as well... Any update @Croge32 ?

for me after enabling hermes and running

react-native run-android --variant release

this cryptic texts appear
,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|2[12]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"1|([267]\\d{6})$","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"9(?:0[01]|3[019])\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7,8}|8[0-24-9]\\d{7})|(?:[2-478]\\d\\d|550)\\d{6}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10]],[,,"(?:[237]\\d{5}|8(?:51(?:0(?:0[03-9]|[1247]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-6])|1(?:1[69]|[23]\\d|4[0-4]))|(?:[6-8]\\d{3}|9(?:[02-9]\\d\\d|1(?:[0-57-9]\\d|6[0135-9])))\\d))\\d{3}",,,,"212345678",,,[9],[8]],[,,"483[0-3]\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-2457-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{3}|45[0-4])\\d{3}|13\\d{4}",,,,"1300123456",,,[6,8,10]],[,,,,,,,,,[-1]],[,,"(?:14(?:5(?:1[0458]|[23][458])|71\\d)|550\\d\\d)\\d{4}",,,,"550123456",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"0|(183[12])",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|[45]"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|[45]"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"16\\d{3,7}",,,,"1612345",,,[5,6,7,8,9]],1,,[,,"1[38]00\\d{6}|1(?:345[0-4]|802)\\d{3}|13\\d{4}",,,,,,,[6,7,8,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment.
Error: spawnSync ./gradlew ENOBUFS

same issue here, would rather not turn off hermes...

We are also experiencing this issue.
Hermes Enabled
RN 0.61.2
We are able to gradlew bundleRelease to build an apk/aab.
Happy to provide any additional details.

in react native 0.62.2 it's resolved tnx

0.61.5 still fails with "the variable was not declared"

Hi, I had the exact same issue and in my case a ./gradlew clean fixed it.

Same problem with Hermes Enabled, RN 0.62.2
Anyone found a solution?


Page 25: Patient Info

Validation of all fields state and zipcode as well. Probably having a hardcoded list for state willl help.
@Colmbus72
@jkhutch3

I would suggest using ajax to populate the list...


Invalid or incompatible cached data (cachedDataRejected)

Hello Osama,
I have the following problem below:
Error: Invalid or incompatible cached data (cachedDataRejected)
    at Object.Module._extensions.<computed> [as .jsc] (/home/<user>/nodevenv/node_modules/bytenode/lib/index.js:270:11)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (/home/<user>/nodevenv/<process-path>/main.loader.js:3:5)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)

I have seen https://github.com/bytenode/bytenode/issues/63 but I'm not sure if it's the same use-case as I do have here.
Here is what happened:

I did initial CD deployment, it worked fine
improved some of the code (worked on other things)
did another push, CD deployment, it worked fine
improved some of the code (worked on other things)
Repeated the same process above for about 5-10 times
At once (I didn't check the deployed environment after few commits so... I definitely need to guess which commit is the problem), I am getting that error, I am trying to figure it out if it's a deployment issue or something in my code.

In deployment, I stop the environment >> delete the old files >> reupload the new files >> start off the environment
I am running NestJS and unfortunately, I cannot upload a minimal reproduction for this issue nor that I can upload my project.
But may I please ask Osama, what could be the possible issues that can have this to happen?
You mentioned:

I did as promised. However, there are many moving parts here (electron, vue, the whole build system, your own implementation of bytenode protection.. etc). It will take some time to pin where the issue lie exactly.
cachedDataRejected is always because the runtime executable differs from the executable that was used to generate the .jsc file. Also, any JavaScript code that will be run as a «browser javascript» (which is the case with Vue) cannot be compiled by bytenode. Bytenode only deals with «Node.js javascript». Your problem might be here (still not sure because I have not finished reading your code).
If you want to protect your «browser javascript» code, try using NW.js instead of Electron. They have a tool called nwjc that does just that.

Can you please explain more about this "cachedDataRejected is always because the runtime executable differs from the executable that was used to generate the .jsc file."?
Much appreciated.

What are the versions of Node and bytenode in your project?

Yes, I made sure that both are the same and it's working, many thanks. I kinda figured from your statement:

cachedDataRejected is always because the runtime executable differs from the executable that was used to generate the .jsc file.

Many thanks Osama, you are awesome! :)

how did you solve the issues, please explain as i have issue with 32 bit installer and for 64 bit it works

@janafsal , that can be because you are using 64 bit when building your project. Try 32 bit OS and see if it works.

how did you solve the issues, please explain as i have issue with 32 bit installer and for 64 bit it works

You can not cross-compile using bytenode. You MUST use the same exact binaries to compile .js files to .jsc files. The "same exact" means the SAME EXACT. The same exact binary that will be shipped to the user MUST be used to generate the .jsc files. (If I understand your issue correctly)

@janafsal , that can be because you are using 64 bit when building your project. Try 32 bit OS and see if it works. I had to adjust my pipelines for different platforms.

I am using electron forge to make installers from a 64 bit mechine, both installer(32 and 64) works fine without using JSC file, but with jsc file only 64 bit works as you said it may be because i make from a 64 bit mechine

how did you solve the issues, please explain as i have issue with 32 bit installer and for 64 bit it works

You can not cross-compile using bytenode. You MUST use the same exact binaries to compile .js files to .jsc files. The "same exact" means the SAME EXACT. The same exact binary that will be shipped to the user MUST be used to generate the .jsc files in the first place. (If I understand your issue correctly)

Is there any alternative way to build 32 bit installer from a 64 bit mechine using bytenode

Is there any alternative way to build 32 bit installer from a 64 bit mechine using bytenode

If thr 64-bit machine can run the 32-bit electron, then it could be possible if you can tell the packager to use a custom electron copy to build the installer. It will be complicated though and there are many moving parts.

It might be easier to install a 32-bit virtual machine from here https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ (choose one of the windows 7 machines, they are 32-bit) and build your app there.

It might be easier to install a 32-bit virtual machine from here https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ (choose one of the windows 7 machines, they are 32-bit) and build your app there.

This will be a cool idea, thanks bro… will try this one…


Add template for new Tools

Closes #330

@vasinov you mentioned "Examples w/ Griptape Agents"; could you please expand on what you meant by that?

Closing in favor of https://github.com/griptape-ai/griptape/pull/459

Closing re: #459


Linux builds weren't uploaded

@conda-forge-admin, please update circle

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I updated the circle-ci deploy key and followed the project.

@bgruening Can you rerun the circleci builds in master when you get a chance? The last Linux build was never uploaded.

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I updated the circle-ci deploy key and followed the project.

Done.


Roll Flutter Engine from eb5748199016 to 8830d9c71536 (1 revision)

https://github.com/flutter/engine/compare/eb5748199016...8830d9c71536
2023-05-13<EMAIL_ADDRESS>Roll Skia from cfdfc039b848 to 872787e7595c (1 revision) (flutter/engine#42010)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Kindle fire device game stops playing

Hi,
In the kindle fire device game stops playing when the device is kept idle for sometime(Game is on but not played for some duration).
When exploring this issue, we got to know that  AudioContext is being initialized based on time condition in the sound.js and this is throwing an error of "Audio Context is undefined".
After commenting the AudioContext line in  _fixAudioContext() method(sound.js), then the issue got resolved  but not sure that this is would be the ideal solution.
Can this issue be handled in the application without making any changes in sound.js?

It sounds like the Kindle Fire's Silk browser still has the prefix 'webkit' on the 'AudioContext' class - the bug that _fixAudioContext() is a workaround for shouldn't exist in Silk (or older versions of Chrome on Android), so I'll change how we are seeing if _fixAudioContext() is used so that it doesn't break Silk.

What version of Fire OS is this Kindle Fire running?

Hi @shruthims91 -
Can you please post the version of Silk and of Fire OS on the affected device(s). To get the Silk version, http://docs.aws.amazon.com/silk/latest/developerguide/troubleshooting.html#version and to get the OS version, http://www.amazon.com/gp/help/customer/display.html?nodeId=201390270&sa-no-redirect=1

Release 0.4.20 should fix this issue.

@andrewstart , I am also facing the same issue in kindle fire device(Silk browser). Still facing same issue in 0.4.20 release.
Silk browser version I'm using : <IP_ADDRESS>-Fire_60070210
I am assuming below code is the change you have done in 0.4.20 in Sound.js
function _fixAudioContext()
{
//close old context
WebAudioPlugin.context.close();
// Change done in 0.4.20
var AudioContext = window.AudioContext || window.webkitAudioContext;
// Reset context
WebAudioPlugin.context = new AudioContext();
}
When I was debugging I got error in " WebAudioPlugin.context.close();" line. Maybe close() method is unsupported in the silk browser.

I just added try catch block to the "WebAudioPlugin.context.close();"  line, sound started playing and application works fine in silk browser. I know this is not an permanent fix. Please suggest.
function _fixAudioContext()
{
//close old context
try{
WebAudioPlugin.context.close();
} catch (e) {
Debug.error("Custom Error : " + e);
}
	var AudioContext = window.AudioContext || window.webkitAudioContext;
	// Reset context
	WebAudioPlugin.context = new AudioContext();

}

Hmm, it appears that close() is a far more recent addition to AudioContext than I thought. Release 0.4.21 should fix this.


When there are no future events, display a nice message

Description
When the events feed isn't returning any future events, make sure we show a message in situ on the homepage saying there are no events.
At the moment the site throws an uncaught exception. This in turn causes a failing test in cypress.
Expected behavior
A message stating that there are no events.
 Check back to see what's on.


bibata-extra-cursors: mark as broken

As mentioned in #211379, the project is unable to be build with clickgen version 2.x and upstream archived it on Nov 9, 2022.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 212461 run on x86_64-linux 1


I'm trying to get youtube 720p from json response , please help me

Hi Mohammed,
I'm changing playwright to get latest youtube shorts using xpath of current youtube search result but after want to download 720p video url from api , it's syntax error on return format ; (return resopnses.json()['result'].items())[22][1]['url'], video_id)
my complete def is :
def get_download_url(username):
    url = get_last_video_url(username)
    url = str(url) + '/'
    video_id = re.findall(
        r'https\:\/\/www\.tiktok\.com\/@{}\/video\/(.*?)\/'.format(username), url)[0]
    resopnses = requests.get(
        'https://api-v1.majhcc.com/api/dl/yt?url=https://www.youtube.com{}'.format(url))
    return resopnses.json()['result'].items())[22][1]['url'], video_id

please correct my def to response 22'th url value of json response as video_id
waiting for your response
finest regards

I did not understand contact with me on Instagram @jha4


export 'isHostComponent' (imported as 'isHostComponent') was not found in '@mui/core'

making build with webpack react and typescript
getting this error message :
WARNING in<EMAIL_ADDRESS>486:24-39
export 'isHostComponent' (imported as 'isHostComponent') was not found in '@mui/core'
the app is working on dev but i am trying to import TextField i am getting :
TypeError: (0 , o.isHostComponent) is not a

[ x ] The issue is present in the latest release.
[ x ] I have searched the issues of this repository and believe that this is not a duplicate.

Steps to Reproduce 🕹
tried to reinstall all mui packages but not luck
My wepack config
export default (env): Configuration => {
    process.env.TS_NODE_PROJECT = '';
    const plugins = [
        new HtmlWebpackPlugin({template: path.join(__dirname, 'public', 'index.html')}),
        new DotEnv({systemvars: true, path: path.join(__dirname, '.env')})
    ]
    const TS_CONFIG_PATH = path.resolve(__dirname, 'src/tsconfig.json')
    const IS_PROD = env.WEBPACK_SERVE ? 'development' : 'production'
    const IS_DEV = !IS_PROD
    return {
        mode: IS_DEV ? 'development' : 'production',
        entry: path.join(__dirname, 'src', 'index.tsx'),

        output: {
            path: path.join(__dirname, 'dist'),
            filename: 'assets/js/[name]-[contenthash:8]-bundle.js',
            chunkFilename: 'assets/js/[name]-[contenthash:8]-bundle.js',
            publicPath: '/'
        },
        resolve: {
            extensions: ['.tsx', '.ts', '.js'],
            plugins: [new TsconfigPathsPlugin({configFile: TS_CONFIG_PATH})]
        },
        plugins,
        module: {
            rules: [
                {
                    test: /\.(ts|js)x?$/,
                    include: path.join(__dirname, 'src'),
                    exclude: /node_modules/,
                    use: {
                        loader: 'babel-loader',
                        options: {
                            presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'],
                            plugins: [["@babel/plugin-transform-runtime", {
                                    "regenerator": true
                                }]]
                        }
                    },
                },
                {
                    test: /\.(png|svg|jpg|jpeg|gif)$/i,
                    type: 'asset/resource',
                },
            ],
        },
        optimization: {
            minimize: !IS_DEV
        },
        devServer: {
            port: 3001,
            hot: true,
            open: true,
            historyApiFallback: true,
            client: {
                logging:'error',
                overlay: {
                    warnings: false,
                    errors: true
                },
            }
        },
    }
};

@eranabir I'm encountering this exact issue, I don't suppose you managed to resolve this?

@eranabir I'm encountering this exact issue, I don't suppose you managed to resolve this?

Actually what happened is that i had
Typescript configured with global paths in tsconfig.json
i had “utils”:”utils/index.ts” to be able to import from
“@utils”
seems like it was override the imports mui was dependent on

@eranabir Oh my god, wow that was almost like it - I spent a good part of my day tearing my hair out over it. Thanks dude.
I didn't have any alias's setup like that, however, my baseUrl was set to src, and renaming the utils folder in there fixed it...


(PDB-3734) Ensure that resource indirection uses existing resource type

Before this commit, the resource type would be passed to Resource#new
in string form. This is problematic since it may result in the load of
a Ruby resource type which then is in conflict with genereated Pcore
resource type.
This commit ensures that the indirection uses the same logic as Puppet
when creating new resources.

Test PASSed

Can't claim to understand what's going on with the guts of puppet here, but I'll take your word for it. Does this need to be coordinated with any PRs on the puppet side?

No, there are no PRs on the puppet side. There's a ticket PUP-8002 but this PR is the only thing needed to fix it.

:+1: thanks


[#2967] Factor out shared code between PC & NPC sheets. Add item description collapsible sections.

Closes #2967

Sorry for the size of the PR, a large portion is just code that has been moved without modification, or file renames. I will highlight the sections you can safely skip below:

v2/actors.less has shared code moved from v2/character.less.
sheet-v2-mixin.mjs has shared code moved from character-sheet-2.mjs
actor-classes.hbs was factored out of character-features.hbs (now creature-features.hbs)
actor-trait-pills.hbs was factored out of character-details.hbs
All of the column-*.hbs files were factored out of character-features.hbs (now creature-features.hbs)
character-spells.hbs was renamed to creature-spells.hbs

creature-features.hbs was renamed from character-features.hbs but does contain some fairly significant refactoring so is worth a look. creature-spells.hbs, inventory2.hbs and creature-features.hbs show a lot of changes because the item rows needed to be further wrapped in order to support the extra item descriptions, so it's worth taking a quick look at that but otherwise most changes are just whitespace.

Thank you for the feedback, I have addressed it in the latest commit. There are also some additional changes in that commit from more code sharing I factored out today for the biography tab.


Add docs for provider auto-registration

Summary
Summarizes the current state in minder OSS documentation
Related: #3458
Change Type
Mark the type of change your PR introduces:

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

Testing
build and read the docs
Review Checklist:

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

Once this is merged, I'll get the SaaS docs up - they will be a bit different since minder cloud combines the two operations (that's why I went ahead and implemented the CLI -all flag).


IPv6 support

Driver version
2.1.2
Redshift version
PostgreSQL 8.0.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3), Redshift 1.0.70634
Client Operating System
macos
Python version
3.9
Problem description
At my company we started using VPN that only works over IPv6.
Since that we started seeing below errors when connecting:
 08:57:16 Encountered an error: Database Error ('communication error', gaierror(8, 'nodename nor servname provided, or not known'))

I looked into the code and it seems that the driver only works over ipv4.
I started a draft PR: https://github.com/aws/amazon-redshift-python-driver/pull/229
But I'm not sure whether that's enough.
Other SQL clients works fine over IPv6 (datagrip)

Hi @sparrovv , thank you for raising this issue and corresponding draft PR. I will raise this issue with the team for discussion and share our next steps here.

Confirmed, got the same issue with our ZTNA that will resolve Redshift cluster address to AAAA records for some reasons, thus preventing access as only IPV4 is managed.


fix race condition in privkey generation

Issue
When trying to use this library in Alertmanager, I got the following error:
  File "/var/lib/juju/agents/unit-am-0/charm/lib/charms/observability_libs/v1/cert_handler.py", line 214, in _on_config_changed
    self._generate_csr(renew=True)
  File "/var/lib/juju/agents/unit-am-0/charm/lib/charms/observability_libs/v1/cert_handler.py", line 233, in _generate_csr
    raise RuntimeError(
RuntimeError: private key unset. call _generate_privkey() before you call this method.

In fact, _on_config_changed() doesn't call _generate_privkey().
The issue is that a race condition probably causes config-changed to arrive before certificates-relation-joined, which doesn't generate the private key beforehand.
Please note that calling the function multiple times isn't a problem as the function will just skip :)
Solution
Add a call to _generate_privkey() in the _on_config_changed() handler.

This PR solves: https://github.com/canonical/observability-libs/issues/75


Load WCIF after parsing script

After #37 there's no need to load the WCIF before parsing the script.

Now that we cache WCIF, I don't think this is worthwhile, it makes the flow a lot more complicated (since fetching the WCIF can result in a redirect if auth fails -- burying that too deep in the stack is messy).


Win10/Ubuntu build attempt

With Ubuntu tools installed by apt-get (please provide the requirements list including those which should be removed!)
you install script rejects the provided gfortran and attempts to build bison.
That fails on 'aclocal-1.15' is missing
As I have built gfortran 7.0 myself I can put that on PATH and get down to:
....
Configuration completed.
2016-09-12 18:18:22 UTC [     info] Building with the following command:
2016-09-12 18:18:23 UTC [     info] FC="gfortran" CC="gcc" CXX="g++" make -j"1"
( cd /mnt/c/Users/tim/gnu/OpenCoarrays-1.7.2/prerequisites/downloads/mpich-3.1.4/src/binding/fortran/mpif_h && ./buildiface )
Replacing mpif.h.in
( cd /mnt/c/Users/tim/gnu/OpenCoarrays-1.7.2/prerequisites/downloads/mpich-3.1.4/src/binding/fortran/use_mpi && ./buildiface )
Replacing mpi_base.f90.in
Replacing mpi_constants.f90.in
Replacing mpi_t1.f90
CDPATH="${ZSH_VERSION+.}:" && cd /mnt/c/Users/tim/gnu/OpenCoarrays-1.7.2/prerequisites/downloads/mpich-3.1.4 && /bin/bash /mnt/c/Users/tim/gnu/OpenCoarrays-1.7.2/prerequisites/downloads/mpich-3.1.4/confdb/missing aclocal-1.15 -I confdb
/mnt/c/Users/tim/gnu/OpenCoarrays-1.7.2/prerequisites/downloads/mpich-3.1.4/confdb/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
But Ubuntu says "automake is already the newest version"
So I think more hints are needed.  A guess: maybe you don't like Ubuntu automake and should be trying to install what you want.

I was able to get further by grabbing an (unsupported) automake-1.15.deb from Ubuntu Yakkety and force installing it.  The normal automake build from source failed.

Hi @tprince,
Sorry but I'm a bit confused as to what exactly your issue is. It sounds like MPICH isn't working/installing properly... Is that the issue? I'm not sure if this is an Ubuntu-on-windows issue or what. Basically you need to get MPICH build so that it wraps GCC 5.3 or greater. If you can build MPICH wrapping GCC >= 5.3 and get CMake installed, then you could try the "advanced user" installation procedure:
cd OpenCoarrays
mkdir build
cd build
export FC=mpif90
export CC=mpicc
cmake ..
make
make test
make install

Also, please note, right now windows is completely unsupported since we don't have access to windows machines or volunteers to help maintain windows support.
You could also try the OpenCoarrays debian/ubuntu package maintained by @amckinstry (See here: https://github.com/sourceryinstitute/opencoarrays/issues/165#issuecomment-227486513)

On 9/12/2016 4:03 PM, Izaak Beekman wrote:

Hi @tprince https://github.com/tprince,
Sorry but I'm a bit confused as to what exactly your issue is. It sounds
like MPICH isn't working/installing properly... Is that the issue? I'm
not sure if this is an Ubuntu-on-windows issue or what. Basically you
need to get MPICH build so that it wraps GCC 5.3 or greater. If you can
build MPICH wrapping GCC >= 5.3 and get CMake installed, then you could
try the "advanced user" installation procedure:
|cd OpenCoarrays mkdir build cd build export FC=mpif90 export CC=mpicc
cmake .. make make test make install |
Also, please note, right now windows is completely unsupported since we
don't have access to windows machines or volunteers to help maintain
windows support.
You could also try the OpenCoarrays debian/ubuntu package maintained by
@amckinstry https://github.com/amckinstry (See here: #165 (comment)
https://github.com/sourceryinstitute/opencoarrays/issues/165#issuecomment-227486513)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/opencoarrays/issues/217#issuecomment-246473563,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACfqbPF2-sBXRbWLwN428z_C9HAWJ_DJks5qpbAegaJpZM4J65L_.

Yes, trying to build on Windows 10 Ubuntu subsystem as requested by
Damian Rouson.  No one mentioned a possibility of cmake or an Ubuntu
package; I've been trying to run the install script for 1.7.2 as specified.
So far, besides building the gcc/g++/gfortran independently, I've had to
force over-write automake with an automake-1.15.deb package and install
cpanm and YAML::Tiny, starting the install script over each time.
--
Tim Prince

Hmmm interesting...
Damian is going to be unavailable until this weekend, most likely, since he is traveling for business.

So far, besides building the gcc/g++/gfortran independently, I've had to
force over-write automake with an automake-1.15.deb package and install
cpanm and YAML::Tiny, starting the install script over each time.

That sounds quite frustrating! OpenCoarrays only depends directly on GCC > 5.3, and a recent MPICH, built against GCC (and CMake to build the project).  So the issues you are describing seem to be related to problems with Ubuntu and/or installing GCC or MPICH or CMake on Ubuntu running on windows.
Also, are you trying to build with GCC trunk/7 or would 5.3 or 6.x work?
If you don't need the latest trunk/7, then I would try this:
Look for a PPA that provides a recent GCC. I think toolchain-r/test provides a recent GCC (at least 5.3 if not 6.1) and a PPA with a recent CMake, and perhaps a recent auto-make/autotools. Then, after adding those PPAs install/upgrade GCC, CMake and autotools/automake with sudo apt-get ...
Then try building MPICH against GCC... you may have to specify gcc-6 or gcc-5 as the C compiler and gfortran-5 or gfortran-6 as the fortran compiler...
I have a pretty busy week, but could try to find time at some point to help out if your issues persist.
Good luck

On 9/12/2016 5:25 PM, Izaak Beekman wrote:

Hmmm interesting...
Damian is going to be unavailable until this weekend, most likely, since
he is traveling for business.
So far, besides building the gcc/g++/gfortran independently, I've had to
force over-write automake with an automake-1.15.deb package and install
cpanm and YAML::Tiny, starting the install script over each time.

That sounds quite frustrating! OpenCoarrays only depends directly on GCC

5.3, and a recent MPICH, built against GCC (and CMake to build the
project). So the issues you are describing seem to be related to
problems with Ubuntu and/or installing GCC or MPICH or CMake on Ubuntu
running on windows.

Also, are you trying to build with GCC trunk/7 or would 5.3 or 6.x work?
If you don't need the latest trunk/7, then I would try this:
Look for a PPA that provides a recent GCC. I think toolchain-r/test
provides a recent GCC (at least 5.3 if not 6.1) and a PPA with a recent
CMake, and perhaps a recent auto-make/autotools. Then, after adding
those PPAs install/upgrade GCC, CMake and autotools/automake with |sudo
apt-get ...|
Then try building MPICH against GCC... you may have to specify gcc-6 or
gcc-5 as the C compiler and gfortran-5 or gfortran-6 as the fortran
compiler...
I have a pretty busy week, but could try to find time at some point to
help out if your issues persist.
Good luck
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/opencoarrays/issues/217#issuecomment-246499042,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACfqbLLLeMjWAvY_87FHlkUPEEqZ3pqyks5qpcM9gaJpZM4J65L_.

Even after installing YAML::Tiny it still errors out late in the mpich
build, saying it doesn't locate the perl module.  I don't see that the
gcc version is at fault.
Damian said he was interested in seeing a build against gfortran trunk.
I never tried to build any earlier gcc since the Ubuntu subsystem began
to work for bootstrapping newer gcc than the 4.8 which they offer.
I don't have a particular personal interest in getting the Open
co-arrays working on my old Win10 box, as I use the newer Win8.1
platform more often.
--
Tim Prince

@tprince, thanks tons for trying this and reporting your results.  As @zbeekman, I'm not likely to be able to respond in detail this week.  I'm traveling and teaching a short course all day today through Thursday and traveling with family over the weekend.
In retrospect, my request might have been somewhat misguided and I apologize for that.  Your comp.lang.fortran post mentioned that you had already built GCC 7 on Windows 10 Ubuntu.  Probably it would have been better for me to start by asking how you installed GCC 7.  If you did it at the command-line in a bash shell, then you could simply post your steps and we can incorporate them into our installation script.  The first step is for me to revise our scripts to detect Windows.  On a related note, we currently check the OS in a few different places such as here and here.  As part of working on Windows support, I'll consolidate these into one location.

On 9/13/2016 9:14 AM, Damian Rouson wrote:

@tprince https://github.com/tprince, thanks tons for trying this and
reporting your results. As @zbeekman https://github.com/zbeekman,
I'm not likely to be able to respond in detail this week. I'm
traveling and teaching a short course all day today through Thursday
and traveling with family over the weekend.
In retrospect, my request might have been somewhat misguided and I
apologize for that. Your comp.lang.fortran post mentioned that you had
already built GCC 7 on Windows 10 Ubuntu. Probably it would have been
better for me to start by asking how you installed GCC 7. If you did
it at the command-line in a bash shell, then you could simply post
your steps and we can incorporate them into our installation script.
The first step is for me to revise our scripts to detect Windows. On a
related note, we currently check the OS in a few different places such
as here
https://github.com/sourceryinstitute/opencoarrays/blob/master/prerequisites/use-case/set_magic_variables.sh#L41
and here
https://github.com/sourceryinstitute/opencoarrays/blob/master/prerequisites/build-functions/set_compilers.sh#L11.
As part of working on Windows support, I'll consolidate these into one
location.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/opencoarrays/issues/217#issuecomment-246676857,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACfqbHkNN_kj44X-jbiFT4NfsTm8oiXYks5qpqG4gaJpZM4J65L_.

In order to install gfortran trunk on Windows Ubuntu subsystem, the
steps are pretty much as expected:
sudo apt-get install gcc [g++, mpfr, mpc, gmp, make, autoconf, m4, flex,
svn, patch, cloog-isl, iconv,  .....]
Note that apt-get install automake gives version 1.14, and it's not
possible to install from unpatched gnu sources.
As far as I know, there is no command which installs groups of
development tools.
svn  co svn://gcc.gnu.org/svn/gcc/trunk ....   [this svn seems rather
slow even relative to cygwin]
..../configure --enable-languages='c c++ fortran'  --prefix=......
make -j 3
sudo make install
If you like I can go back and check whether the gfortran build you have
in the install script will work after working past the automake problem.
It doesn't look like there is any way provided in the subsystem to
identify the Windows hosting or the differences between it and a
standalone Ubuntu (possibly the absence of 32-bit support or the
filesystem being ntfs only ?)
I don't think they offer any way to enter linux from a Windows script or
return to Windows in a linux script.
--
Tim Prince

I've started Issue #227  to summarize in script form what steps have worked or not worked at the top of the thread so I'm closing this one.


fixing computation of OF when doing an ADC

fixing computation of OF when doing an ADC. See angr bug angr/angr#254

@ltfish, as your stuff is pretty heavily impacted by conditional flags, could you take a look? The fix looks right to me.

I can confirm that this is the correct fix, based on examining the relevant VEX code (priv/guest_x86_helpers.h:161), which does extract the topmost bit.


Add factor-bundle support

It adds the browser.js but not the css data.

Hi @pcfreak30,
You can simply use var browserifyCSS = require('browserify-css'); if you want to require only the browser.js.
If you want to output CSS to a another file instead of embedding it into a JS bundle, you can check out the onFlush option at https://github.com/cheton/browserify-css#onflush.

I found a hack to get it working but I wanted it embedded in the common bundle via factor.


UC5Z

Key
Value

View
https://database.shabados.com/sources/2/page/157/line/7

Source
Sri Dasam Granth

Page
157

ID
UC5Z

Line
ieh kir nwm AlK khwXo ]

Depends on https://github.com/GurbaniNow/gurmukhi-fonts/issues/9


Make it possible to run phpstan under webroot

#46

This is causing a failure:
0.23s$ ./vendor/bin/phpstan analyze web/core/modules/migrate_drupal --no-progress | grep -q "tests/fixtures" && false || true
Note: Using configuration file /home/travis/build/mglaman/drupal/phpstan.neon.
\Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container.
The command "./vendor/bin/phpstan analyze web/core/modules/migrate_drupal --no-progress | grep -q "tests/fixtures" && false || true" exited with 0.

The reason it uses the working directory definition is to support global or symlinked installs. You cannot always be sure the composerAutoloadFile is Drupal's autoloader.
Honestly I think the only real workaround is allowing explicit definition of the Drupal project's root as a parameter.

Sorry, HEAD is broken with that error!


Integrate changes from NERSC GPU hackathon.

Description
During the NERSC GPU hackathon we used hackathon_main as our "base" branch.
Now the hackathon is over, we should merge our developments into master, after re-enabling the full test suite and fixing any issues we delayed addressing during the hackathon.
See also:
https://github.com/neuronsimulator/gpuhackathon/issues/4
Summary of hackathon developments:

TODO

Opening this now to help keep track of the changes. We should finish merging outstanding PRs to hackathon_main before working on this directly:
https://github.com/BlueBrain/CoreNeuron/pulls?q=is%3Apr+is%3Aopen+base%3Ahackathon_main
And remember that we need to coordinate similar changes in NMODL (https://github.com/BlueBrain/nmodl/pull/783).
Use certain branches for the SimulationStack CI
CI_BRANCHES:NEURON_BRANCH=master,NMODL_BRANCH=hackathon_main,

Codecov Report

Merging #713 (88e7647) into master (d565f35) will increase coverage by 0.70%.
The diff coverage is 78.94%.

:exclamation: Current head 88e7647 differs from pull request most recent head 9a98f73. Consider uploading reports for the commit 9a98f73 to get more accurate results

@@            Coverage Diff             @@
##           master     #713      +/-   ##
==========================================
+ Coverage   55.42%   56.12%   +0.70%
==========================================
  Files         107      107
  Lines        8940     8944       +4
==========================================
+ Hits         4955     5020      +65
+ Misses       3985     3924      -61

Impacted Files
Coverage Δ

coreneuron/gpu/nrn_acc_manager.cpp
42.02% <0.00%> (+1.18%)
:arrow_up:

coreneuron/io/lfp.cpp
82.60% <ø> (ø)

coreneuron/mechanism/capac.cpp
61.81% <ø> (ø)

coreneuron/mechanism/eion.cpp
57.85% <ø> (ø)

coreneuron/mechanism/mechanism.hpp
0.00% <ø> (ø)

coreneuron/mechanism/register_mech.cpp
66.37% <ø> (ø)

coreneuron/network/cvodestb.cpp
83.78% <ø> (ø)

coreneuron/network/netcvode.cpp
74.12% <ø> (ø)

coreneuron/permute/cellorder.cpp
100.00% <ø> (ø)

coreneuron/sim/fadvance_core.cpp
83.43% <ø> (ø)

... and 26 more

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 d565f35...9a98f73. Read the comment docs.