install-qt-action seems entirely broken

As of today, I cannot seem to get this action to work. Here is the relevant snippet from a linux build:
INFO    : aqtinstall(aqt) v3.1.20 on Python 3.11.10 [CPython GCC 9.4.0]
/opt/hostedtoolcache/Python/3.11.10/x64/bin/python3 -m aqt install-qt linux desktop 6.8 --autodesktop --outputdir /home/runner/work/SavvyCAN/Qt --modules qtserialbus qtserialport
INFO    : aqtinstall(aqt) v3.1.20 on Python 3.11.10 [CPython GCC 9.4.0]
INFO    : Resolved spec '6.8' to 6.8.1
ERROR   : The packages ['qt_base', 'qtserialbus', 'qtserialport'] were not found while parsing XML of package information!
==============================Suggested follow-up:==============================

Please use 'aqt list-qt linux desktop --arch 6.8.1' to show architectures available.
Please use 'aqt list-qt linux desktop --modules 6.8.1 ' to show modules available.
Error: Error: The process '/opt/hostedtoolcache/Python/3.11.10/x64/bin/python3' failed with exit code 1

The thing is, qtserialbus and qtserialport most certainly do exist. Not sure about qt_base, it isn't listed when doing the recommended aqt list-qt linux desktop --modules 6.8.1 linux_gcc_64
So, is this a problem with aqt or in install-qt-action?
Edit: I should add, this only happens in linux. Under Windows, the same basic thing works perfectly fine. There it finds the qtserialbus and qtserialport modules and compiles.

Seems like an aqt issue with Linux and Qt 6.7+ if you don't specify the full Qt version. Try requesting 6.8.0 or 6.8.1 instead of 6.8 or 6.8.*.

Indeed, that solves the issue! It's odd that using 6.8 as the version specifier works with Windows but not Ubuntu Linux.


[FLINK-34522][core] Changing the Time to Duration for StateTtlConfig.Builder.cleanupInRocksdbCompactFilter

What is the purpose of the change
FLINK-32570 deprecated the Time class and refactor all Public or PublicEvolving apis to use the Java's Duration.

StateTtlConfig.Builder#cleanupInRocksdbCompactFilter is still using the Time class. In general, we expect:
Mark cleanupInRocksdbCompactFilter(long, Time) as @Deprecated
Provide a new cleanupInRocksdbCompactFilter(long, Duration)
But I found this method is introduced in 1.19 (FLINK-30854), so a better solution may be: only provide cleanupInRocksdbCompactFilter(long, Duration) and don't use Time.
The deprecated Api should be keep for 2 minor version. IIUC, we cannot remove Time related class in Flink 2.0 if we don't deprecate it in 1.19. If so, I think it's better to merge this JIRA in 1.19.0 as well.

Brief change log
[FLINK-34522][core] Changing the Time to Duration for StateTtlConfig.Builder.cleanupInRocksdbCompactFilter

Fix based on https://github.com/apache/flink/pull/24388   & https://github.com/apache/flink/pull/24387#issuecomment-1971427877

Thanks for creating this PR, please correct the import examples in the docs.

Thanks @Myasuka for the review!
The Time is still used for ttl config and Time is not deprecated in python api in 1.19, that's why I didn't remove this import in this PR.
https://github.com/apache/flink/pull/24387#issuecomment-1966071598 also mentions this issue, FLINK-34527 will deprecate it.


merge to live

Docs Build status updates of commit bd9aa63:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

office-365-management-api/office-365-management-activity-api-faq.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


I have  a debug when I run this model.

    I have  a debug when I run this model.

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.HalfTensor [12, 1024, 1]], which is output 0 of ViewBackward, is at version 1; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).
If you have the same problem, can you answer it for me?
Thanks.
Originally posted by @YunXi24 in https://github.com/luoyuanlab/Clinical-Longformer/issues/5#issuecomment-1338875162

Can you try torch 1.11?


[ADAM-1803] Refactor GenomicRDD.writeTextRdd to util.TextRddWriter.

Fixes #1803
More things needed to move than I would've preferred; I tried to keep visibility as narrow as possible.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/2487/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/2488/
Test PASSed.

Merged! Thanks @heuermh!


Feature Request: Config resyncPeriod for kubernetes_sd_configs

Proposal
Use case. Why is this important?
We want get node target quickly after new node join cluster, but the resyncPeriod can't be config by ourself
Prometheus Can afford the way that change or update resyncPeriod for kubernetes_sd_configs?

Prometheus uses client go's informers, which actually do a watch on the API server (compare with kubectl get --watch). Prometheus should get updates on new nodes with barely any latency.
In fact, resync of client go does (since some years) not even talk to the API server any more, but just sent all known objects again (in this case, to Prometheus). So this would only help if Prometheus would lose information on objects.
This might be a valid feature request for other reasons (I'm currently investigating how the resync period breaks monitoring of a successful service discovery), but changing the resync period will not help with the described use case, this should be pretty much live already anyway.

Agreed, we don't want to do this because it has no useful effect.


User/ole

:x: Build TheIdServer 4.6.5-user-ole1-0042 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/5563cb1dce by @aguacongas)

:white_check_mark: Build TheIdServer 4.6.5-user-ole1-0044 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/08699af95e by @aguacongas)

:white_check_mark: Build TheIdServer 4.6.5-user-ole1-0045 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/fcc93625d0 by @aguacongas)


Allow ciao-down VMs mounts and mapped ports to be controlled

The commit makes three main changes to ciao-down.

The settings, e.g., memory, cpu usage and mounts, specified when VMs are created using prepare or started using start, are now persisted.  These settings are re-used when the VM is started at a later date.
Users can specify which directories they would like to see mounted in the guest VM and the 9p security model used to mount them.  Multiple mounts can be specified.
Users can specify which ports can be mapped from the host's localhost to the guest VM.

The two vm types currently supported by ciao include one mounted directory by default, the GOPATH.  It is not possible to remove this mount entirely via the command line, although this can be done by editing the ~/.ciao-down/instance/state.yaml.  However, it is possible to change the security model or the host directory to mount.  This can done as follows
--mount hostgo,none,$HOME/go
The key is to specify the existing hostgo tag.  When ciao-down processes a new mount it checks to see whether the tag, hostgo in this case, already exists.  If it does it updates the mount with the new information.
A similar situation exists with ports.  Each ciao-down VM has one port mapped, port 22, which is mapped to 10022 on the hosts localhost interface.  It is possible to change the host port by specifying a --port option, e.g.,
--port 10023-22
As the guest port 22 has already been defined a new port mapping is not created.  Instead the host port of the existing mapping is updated from 10022 to 10023.

@grahamwhaley here's the PR that should allow you to change the 9p security model used to mount the GOPATH in the guest VM.  Let me know if you have any problems.  You should just be able to do,
./ciao-down stop
pull and build new version of ciao-down from this PR
./ciao-down start --mount hostgo,none,$HOME/go

Coverage increased (+0.07%) to 65.859% when pulling 46b0385e8d26b245e91d4efa0d5356e25e96c261 on markdryan:ciao-down-state into 026a5d4b164466bc69e7fa0edd766bbfb6056c33 on 01org:master.

Coverage increased (+0.07%) to 65.859% when pulling 46b0385e8d26b245e91d4efa0d5356e25e96c261 on markdryan:ciao-down-state into 026a5d4b164466bc69e7fa0edd766bbfb6056c33 on 01org:master.

Coverage decreased (-0.01%) to 65.775% when pulling 6eabb0a3b9a9bbece7e6ac1b2e0f7f25c16dd646 on markdryan:ciao-down-state into 026a5d4b164466bc69e7fa0edd766bbfb6056c33 on 01org:master.

Hi. I can ack that the security model for the 9p can be set with --mount and looks to be persisting.
But... the memory size set on 'start' does not look like it is persisting for me.
I did a start -mem 6, got a a 6 on the command line and checked it was in the state.yaml.
Then I did a stop and then a start with no parameters, and got a default 3G vm - confirmed in the state.yaml and on the qemu command line through a ps.

@grahamwhaley Thanks for the review.  I think I see the problem with mem and cpu.  I'll update the PR shortly with a fix.

Coverage decreased (-0.02%) to 65.772% when pulling 9245e940f5b9be6ddb71b79df5e80c90519c4320 on markdryan:ciao-down-state into 74376a3d8a124cdd880745a5a5552e8c8d0fe677 on 01org:master.

@grahamwhaley This should be fixed now.  Could you try again?

Thanks. I can confirm the 9p security model and the memory size are persisting here.
lgtm


Bug: s3 client download file returns meta data instead of file on every other call

Hi,
every second invocation of download_file is returning the file, but every other invocation is returning meta data.
How to reproduce:
s3_client = boto3.client('s3', region_name='eu-west-1')
s3_client.create_bucket(Bucket=self.bucket_name, CreateBucketConfiguration={ 'LocationConstraint': 'us-west-1'})
with open('..\\area_type.json', 'rb') as file:
    s3_client.upload_fileobj(file, self.bucket_name, "area_type.json")
s3_client.head_object(Bucket=self.bucket_name, Key="area_type.json")

s3_client.download_file("test_bucket.s3.eu-west-1.amazonaws.com", "area_type.json", "test_file_temp.json")
# this creates a file with content: <?xml version="1.0" encoding="UTF-8"?><ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>test_bucket.s3.eu-west-1.amazonaws.com</Name><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>area_type.json</Key><LastModified>2022-01-29T13:23:04.000Z</LastModified><ETag>"b9e351ad74db70cb713126fd490137e4"</ETag><Size>269601</Size><StorageClass>STANDARD</StorageClass><Owner><ID>75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a</ID><DisplayName>webfile</DisplayName></Owner></Contents></ListBucketResult>

s3_client.download_file("test_bucket.s3.eu-west-1.amazonaws.com", "area_type.json", "test_file_temp2.json")
# this returns the actual file

s3_client.download_file("test_bucket.s3.eu-west-1.amazonaws.com", "area_type.json", "test_file_temp3.json")
# this returns the xml meta data again

What I was expecting:
3 files with the original content of the file.
What happened:
only the second call got the file.
I think I have the newest versions installed via pip:
moto version 2.3.2
boto version 1.10.38
on
python 2.8.12
using anaconda 4.10.3
The error also seems to occur with get_object and read(), but that is more complicated to show here reliably.
thank you!

Hi @DanielGeffers, thanks for raising this, we will look into it.
What version of responses do you have installed?

Hi @bblommers
I have version 0.17.0
Thank you very much.

Hi @DanielGeffers, I'm not able to reproduce this, I'm afraid - with the test case above, I get the original content three times in a row.
The only change I made to your example is changing this line:
s3_client.download_file("test_bucket.s3.eu-west-1.amazonaws.com", "area_type.json", "test_file_temp.json")
to
s3_client.download_file("test_bucket", "area_type.json", "test_file_temp.json")

as the first parameter should only be the bucket name, not the full URL, but I'm assuming that was a typo.

@bblommers
THANK YOU very much.
I changed the bucket name from a full URL to the name only, and it now works normally. So my issue is solved.
I suspect that there still is a bug in eigther moto or boto3, since having a url as bucket name should not cause an error every second time^^
Should I therefore close the ticket?

Happy to hear that, @DanielGeffers!
I agree that it sounds like a bug, but even with the full URL's, I couldn't reproduce it - for me, it would always throw a 404 on the first download_file.
See my test file:
https://github.com/bblommers/s3-multiple-downloads/blob/main/test.py
And test execution showing the 404:
https://github.com/bblommers/s3-multiple-downloads/runs/5004616160?check_suite_focus=true

Going to close this as unreproducible - do let us know if you find a way to reproduce this though.


Set error on the parent (root) span if it exists

For gRPC, the network status code is always 200, so the parent span won't know there's been an error. Help it out by explicitly setting the error tag to true based on the logical status code.

@jdm-square could you merge this? Thanks!

@Hexcles Since this merged, we're getting reports of phantom errors with 200 response codes in the datadog UI, where there are no logs of errors in the same period. This seems extremely likely to be related to this change; could you explain more about what problem this change was intended to address?

@jdm-square just to make sure: are the "phantom error" reports from GRPC endpoints? If not, we might have a bug (although I struggle to see why -- is there another code path that could cause statusCode to be different from networkStatusCode? I only see GRPC.)
Now if we are talking about GRPC, then I'd argue these are real errors. Just a reminder that GRPC always uses 200 on the wire, while setting the actual status code in the trailer. These errors are non-zero GRPC status codes. If it were a normal HTTP request, it'd show up as a straightforward error with status code >= 400.
As far as logging goes, unfortunately we don't use misk built-in logging, and we pay attention to log grpc-status for GRPC endpoints, too, so there is no phantom -- the request log would clearly show it's a 200 HTTP response with a non-zero GRPC status code and set at ERROR level, but it is a bit weird in e.g. Datadog tracing UI where there's a prominent green 200, which takes a bit of developer education.
There's a usability problem here. You could have the request logs and span tags use the "logical" statusCode instead of networkStatusCode, but that's technically incorrect and may be confusing if you cross-reference other metrics.

We started to have increased number errors in APM for http endpoints. One of our endpoints returns code 402 which is not an error.

Ok, I've investigated the cases of 200 responses being reported as errors for my own service, and there are errors occuring in gRPC endpoints that line up. Some association is missing from the Datadog UI, because it claims that there are no associated errors or traces for those erroring responses, which is probably contributing to the confusion from other engineers encountering this.
It's not yet clear to me if the problem in the previous comment is related to this, given that the responses are not 200 responses.

Actually, I can see how this code change would cause that behaviour change. This feels like either cardio is doing the wrong thing (how are they creating meaningful gRPC responses with non-200 status codes?) or we should only check for codes >499.

Mmm, another reason why this behaviour ends up confusing people: one source of "phantom" errors that I've come across is when a gRPC action fails because the client closed the request. Misk internally catches this and reports it as an info log (https://github.com/cashapp/misk/blob/e356915b54ae122731d0d30a9e6b757b16f48002/misk/src/main/kotlin/misk/web/exceptions/EofExceptionMapper.kt#L12), so it's easy for an investigation to see a large spurt of errors reported from Datadog, but filtering the logs to warnings or errors to show nothing of interest.

This is a code change that I believe would make @mateuszmrozewski's behaviour change go away. Any opinions on if it's the right change?
diff --git a/misk/src/main/kotlin/misk/web/interceptors/TracingInterceptor.kt b/misk/src/main/kotlin/misk/web/interceptors/TracingInterceptor.kt
index 41d6c154d..7ade6b20c 100644
--- a/misk/src/main/kotlin/misk/web/interceptors/TracingInterceptor.kt
+++ b/misk/src/main/kotlin/misk/web/interceptors/TracingInterceptor.kt
@@ -73,7 +73,7 @@ internal class TracingInterceptor internal constructor(private val tracer: Trace
         Tags.ERROR.set(span, true)
         // In case of gRPC errors, [HttpCall.networkStatusCode] is always 200, in which case the
         // parent (likely the root) span won't be able to know about the error.
-        if (parentSpan != null) {
+        if (chain.httpCall.networkStatusCode != chain.httpCall.statusCode && parentSpan != null) {
           Tags.ERROR.set(parentSpan, true)
         }
       }

@jdm-square I have some explanation for the HTTP (non-GRPC) case:
Prior to this patch, misk will mark the http.action inner span as error for 4xx requests, but whether or not the service entry span (e.g. servlet.request) is marked as error is up to the instrumentation. In the case of Datadog, it only considers 5xx as error. So you'd have a failed http.action nested inside a successful servlet.request. This PR changed that.
I think your patch should work. But I wonder if it's better to only treat 5xx as errors (i.e. change > 399 to > 499), which is more in line with the industry convention I believe.

Agreed—it does seem surprising to mark 4xx traces as errors in the current setup.

Thank you for investigating. Will you prepare a PR to apply the suggested patch?

Yep!


Join two table and show combined result in Django with pre defined tables in MySQL database

I have pre defined tables- functions and resources in MySQL database. I am able to connect to these individual tables separately in django but I want to join these tables based on function_id and show the combined result.

I tried with foreign key but getting error as shown below.

PLEASE PROVIDE SOLUTION FOR JOINING TABLES AND VIEWING THE COMBINED TABLE RESULT

That doesn't seem to be related to django-helpdesk...
You should ask your question on https://stackoverflow.com/ and prefer to post your code as formatted text instead of screenshots.
One thing I would say about your code is you should replace function_id by only function because Django will automatically map the Python field to the [name-of-field]_id SQL column. Then run makemigrations and migrate commands.

Since this is a generic django question and not related to helpdesk, I'm going to close this ticket.


Update jest version

Jest 23 adds support for test.each #4845

There is already #4450

I haven't updated #4550 so this is fine.  But the jsdom error needs to be fixed before proceeding.  Can we pin jsdom dependency to a version.

A fix appears to have been merged into jest master https://github.com/facebook/jest/pull/6792.
Could wait for that to be released instead of pinning jsdom.

The jsdom error appears to be fixed now with version 23.5.0 of jest. There are other failing tests, but I don't know weather the errors are due to these changes or an unstable CI setup.

@Timer this also fixes one of the issues with CI (namely facebook/jest##6766) if you want to tag it.


Introduce Targeted Extensions

Use Marathon proxy as customization point for constrained protocol
extensions. This change doesn't affect any Marathon function, so please introduce them if you like.

Rename Marathon to MarathonCore. (There is no change in the original Marathon.swift.)
Create Marathon.swift to use Marathon proxy as customization point for constrained protocol extensions.

The merits are

Can provide clear extensions defined by Marathon.
Can avoid extension's collisions.
Looks a modern way.

Referred to the following libraries.

https://github.com/ReactiveX/RxSwift/blob/master/RxSwift/Reactive.swift
https://github.com/ReactiveCocoa/ReactiveSwift/blob/master/Sources/Reactive.swift
https://github.com/Nirma/Attributed/blob/master/Attributed/Attributed.swift

@pixyzehn Maybe I'm missing something, but I fail to see what improvement this brings. I personally don't find the code more clear this way, I find it more complicated 😬 I see why frameworks like Rx does this because they want to add public extensions on classes like UIView, but for Marathon that's not the case...

they want to add public extensions on classes like UIView

@JohnSundell
That's what I was thinking. In terms of this aspect, I don't think the change brings good benefit. Thank you for giving me your idea. I'll close this😉


Rerun example integration

This adds support for viewing decimation results using https://github.com/rerun-io/rerun
This is not ready for merging, but you may want to try this. Makes it very easy to test parameters from the command line and view output.
Careful of viewing wireframes with large meshes, it tends to crash rerun.
Also, rerun is a heavy dependency. Hence the examples are in their own crate, and rerun is gated behind an optional feature.

Closing due to inactivity


ENH: Add basic netcdf handling

Hi and thanks for this extension!
The extension seems to handle netcdf4 files pretty well (as far as I can see). However I have to manually change my file extensions from .nc to .hdf.
This PR makes it even more straightforward by recognizing ".nc" as valid file format for the extension.

Note: I have issues setting up the dev environment thus I can't really test this change unfortunately.

Thank You for the PR!


Stylized macOS + sorted Desktop & Mobile OS names

Since iOS was stylized, I thought it was consistent if we also stylized macOS (it's not Mac OS anymore, it's (macOS)[https://en.wikipedia.org/wiki/MacOS]).
Also took a quick moment to sort the values for Desktop and Mobile OS names in order to more easily locate at a glance the item being looked for.
Happy to remove the sorting if it breaks anything though as long as we can keep macOS instead of Mac OS.

@mikecao  - I noticed that the latest version of Umami doesn't seem to include these changes, as it shows as "Mac OS" instead of "macOS". Anything I need to do to change this in the latest version, or was this just not merged fully yet?


pyvips.Image.new_from_file(imagefilepath) - keep loading the old file even if the image has changed

Hello,
I have a question related to an issue I am having while using libvips, bear with me I find out about this library just yesterday so I am quite a beginner.
I am using libvips only for image resizing because is superfast.
in my test case I am loading an image from a filepath inside a loop, the image that point to that path can change so every loop I am expecting to load a different image evethough the filepath is the same. for instance
test.py
while True:
    jobs = disque-client.get_job(['ses-faced.in'])
    for queue_name, job_id, job in jobs:
         img = pyvips.Image.new_from_file("/test/camera-capture.jpg", shrink=2)
         ..... do some image processing stuff with opencv....
         cv2.write("output", img)

/test/camera-capture.jpg is updated with a new camera sample by another process which then create a job that triggers the code above.
The problem I am experiencing is that even though the /test/camera-capture.jpg file changes on the filesystem, the call to pyvips.Image.new_from_file("/test/camera-capture.jpg", shrink=2) always return the first image loaded at the first iteration of the loop, so basically at the first run.
so this is what happens:
start this program (test.py)
first job arrives
load image from "/test/camera-capture.jpg"
do stuff
wait for next job
next job arrives (the camera process has ovewritten the camera-capture.jpg with a new image)
load image from "/test/camera-capture.jpg" ---> but the image loaded is the same as the previous job as if a cache, that points to that filename loaded during the first job, is used instead.
Is this the case, are the images loaded with this method eventually cached?
Is there any way one can close the  pyvips.Image and start fresh at each loop iteration?
Many thanks,
Massimo

Hello @strangerism,
Yes, libvips keeps a cache of recent operations and returns old results if you repeat a call.  This is usually a good thing, but in your case it's obviously not what you want.
You have a few choices:

Disable the cache. You can use pyvips.cache_set_max() to set the number of cached operations. Set it to zero to disable the caching system.
Use access="sequential". You could ask for the image to be streamed. You won't be able to reuse pixels, but the image won't be cached.

@jcupitt Thank you for the quick reply. Indeed, I have used access options and it works as I need it now.
I am closing this issue.
best wishes.


Unable to selectDate

I'm having problem changing the selected date. Basically I have a button that should select "tomorrow"
public void onClick(View v) {                 Calendar tomorrow = Calendar.getInstance();                 tomorrow.add(Calendar.DAY_OF_MONTH, 1);                 horizontalCalendar.selectDate(tomorrow);             }
I never used Calendar or Date before so maybe is just an error in my comprehension.
This is the  Horizontal Calendar build:
final HorizontalCalendar horizontalCalendar = new HorizontalCalendar.Builder(view, R.id.calendarView)                 .startDate(startDate.getTime())                 .endDate(endDate.getTime())                 .showMonthName(false)                 .build();

Hello @vinjex
Is your problem solved?

@Mulham-Raee
Yes, there was a problem with some of my code, after solving that your calendar worked as intended. By the way thank you for your work, it speeded up my project a lot.

Glad it helped you in your project, if you don't mind sending me a link of your app, I would be happy to feature it here.

Sure, as soon as I upload to it to the play store I'll send you a link. The repo is currently private because of my workplace's rules, so I can't show it to you for the moment.


version IRIs not resolving

Here's the version IRI according to the latest release
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/cl.owl">
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/cl/releases/2023-06-22/cl.owl"/>
This does not resolve!
Looking at the Config - & comparing to links from the release page, it looks like maybe it needs to redirect to  https://github.com/obophenotype/cell-ontology/releases/download/2023-06-22/cl.owl
Wondering if this is a general issue for version IRIs where we've switched to using release assets due to large file sizes.

http://purl.obolibrary.org/obo/cl/releases/2023-06-22/cl.owl is resolving now.

Uberon is broken too.  Is this a general issue due to changes at GitHub?

Uberon is already correct the config. http://purl.obolibrary.org/obo/uberon/releases/2023-06-28/uberon.owl is resolving.
Yes, CL was missing the configuration for the releases only.


Epic: ember-data 1.13+ support

An issue to keep track of steps to take to be fully compatible with modern ember data.
The work for this is happening on ember-data-1-13-support.

[ ] restructure incoming payloads to JSON API (nearly finished, will build on #19)
[ ] parse _link's properly (not sure if this requires supporting CURIEs or if that can happen later)
[ ] handle meta data

+1

version 0.3.0-beta.2 is available which should provide support for ember-data 1.13.4 and above. @magg ^^ feel free to give it a try! (More info on #25 and #24)


Update to a newer version of LittleTiles

PROBLEM
The newest version of LittleTiles available through CurseForge for Minecraft 1.7.10 is v1.2.  This version is dramatically inferior to later versions of the mod (i.e., > 1.5) to the point of being nearly unusable.
SOLUTION
Please upgrade to a more modern version of LittleTiles.

I've created an issue over on the LittleTiles issue tracker requesting a newer version be uploaded to CurseForge.  Not much for us to do until they approve the request.


TLS-Crypt option is not backwards compatible

First, thanks for updating the kylemann image.
We noticed when issuing new certificates they are no longer compatible with the old server due to the <tls-auth>/<tls-crypt> change. Reading around this it looks like server won't be compatible with <tls-auth> certificates if we change it to <tls-crypt>
From what I've read so far it would probably be best to move to tls-cryptv2 in general as it seems it should support both but maybe this should be configurable.
Also because you've built to the same image tag in docker hub the change just got silently applied in some places and not others, maybe it would be better to build to a new release tag?

Thanks for letting me know. I'll do some reading on tls-cryptv2.
The change was applied to build 2.6.6-build20. The previous build 2.6.6-build19 should still use <tls-auth>. The latest tag is indeed a rolling release and will be updated every time there is a new build (this is by design). There is a bit more info on the release process here.


don’t add “Please merge me into a nearby building” to memorial plaques, ask how it is attached

Memorial Plaques can be on a pole, free standing. You add fixme tag that I can not even edit when I add Memorial Plaque template, it opaquely appears after.

Duplicate of #565, please track the issue there.


ember-cli-test-loader not found

I get this error when installing ember-cli-mocha in a new ember-cli 1.13.6 application:
$ ember install ember-cli-mocha
version: 1.13.6
Installed packages for tooling via npm.
installing ember-cli-mocha
[?] Overwrite tests/test-helper.js? Yes, overwrite
overwrite tests/test-helper.js
Installing browser packages via Bower...
cached git://github.com/switchfly/ember-mocha-builds.git#0.8.0
Installed browser packages via Bower.
Package ember-cli/ember-cli-test-loader=ember-cli/ember-cli-test-loader not found
Error: Package ember-cli/ember-cli-test-loader=ember-cli/ember-cli-test-loader not found

ember-cli v.1.13.6
io.js v.2.4.0
npm v.2.13.2
os: linux x64

same

Likely related to https://github.com/ember-cli/ember-cli/issues/4497

Same thing happens with
$ ember generate ember-cli-qunit

So, this bug belongs to ember-cli. I'll close it here.

See https://github.com/ember-cli/ember-cli/issues/4584

fixed with https://github.com/switchfly/ember-cli-mocha/pull/69


Uncaught ModuleNotFoundError in caching.py line 22

Aider version: 0.59.1
Python version: 3.10.10
Platform: macOS-15.0.1-arm64-arm-64bit
Python implementation: CPython
Virtual environment: No
OS: Darwin 24.0.0 (64bit)
Git version: git version 2.43.0
An uncaught exception occurred:
Traceback (most recent call last):
  File "base_coder.py", line 1129, in send_message
    yield from self.send(messages, functions=self.functions)
  File "base_coder.py", line 1414, in send
    hash_object, completion = send_completion(
  File "sendchat.py", line 83, in send_completion
    res = litellm.completion(**kwargs)
  File "llm.py", line 23, in __getattr__
    self._load_litellm()
  File "llm.py", line 30, in _load_litellm
    self._lazy_module = importlib.import_module("litellm")
  File "__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "__init__.py", line 9, in <module>
    from litellm.caching import Cache
  File "caching.py", line 22, in <module>
    from openai._models import BaseModel as OpenAIObject
ModuleNotFoundError: No module named 'openai._models'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
  File "main.py", line 757, in main
    coder.run()
  File "base_coder.py", line 730, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 773, in run_one
    list(self.send_message(message))
  File "base_coder.py", line 1131, in send_message
    except retry_exceptions() as err:
  File "sendchat.py", line 24, in retry_exceptions
    litellm.exceptions.APIConnectionError,
  File "llm.py", line 23, in __getattr__
    self._load_litellm()
  File "llm.py", line 30, in _load_litellm
    self._lazy_module = importlib.import_module("litellm")
  File "__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "__init__.py", line 9, in <module>
    from litellm.caching import Cache
  File "caching.py", line 22, in <module>
    from openai._models import BaseModel as OpenAIObject
ModuleNotFoundError: No module named 'openai._models'

Thank you for filing this issue.
Can you please try to install or reinstall aider in a separate Python environment? Either with venv or pipx?
Please remove the existing environment/aider installation first, e.g. with pipx:
$ pipx uninstall aider-chat
uninstalled aider-chat! ✨ 🌟 ✨

$ pipx install aider-chat
  installed package aider-chat 0.59.1, installed using Python 3.12.7
  These apps are now globally available
    - aider
done! ✨ 🌟 ✨

This document may be helpful -> https://aider.chat/docs/troubleshooting/imports.html

It appears there were conflicting versions installed potentially via homebrew and pipx. Removing all of them and reinstalling with pipx worked as expected.
Thanks for the help and, more importantly, for the amazing tool :)


Sample rate configuration failure

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
Sample rate configuration failure

Bug

Which version of SkyWalking, OS, and JRE?
v8.3.0
Which company or project?
XiaoMai
What happened?
Traceignoreextendservice inherits from contextmanagerextendservice to samplingservice. When servicemanger manages class loadallservices, this will conflict with the default sampling rate configuration samplingservice. The keys of both are the same,so the SamplingService while not boot

 private Map<Class, BootService> loadAllServices() {
        Map<Class, BootService> bootedServices = new LinkedHashMap<>();
        List<BootService> allServices = new LinkedList<>();
        load(allServices);
     // plugin TraceIgnoreExtendService and SamplingService has the same key
        for (final BootService bootService : allServices) {
            Class<? extends BootService> bootServiceClass = bootService.getClass();
            boolean isDefaultImplementor = bootServiceClass.isAnnotationPresent(DefaultImplementor.class);
            if (isDefaultImplementor) {
                if (!bootedServices.containsKey(bootServiceClass)) {
                    bootedServices.put(bootServiceClass, bootService);
                } else {
                    //ignore the default service
                }
            } else {
                OverrideImplementor overrideImplementor = bootServiceClass.getAnnotation(OverrideImplementor.class);
                if (overrideImplementor == null) {
                    if (!bootedServices.containsKey(bootServiceClass)) {
                        bootedServices.put(bootServiceClass, bootService);
                    } else {
                        throw new ServiceConflictException("Duplicate service define for :" + bootServiceClass);
                    }
                } else {
                    Class<? extends BootService> targetService = overrideImplementor.value();
                    if (bootedServices.containsKey(targetService)) {
                        boolean presentDefault = bootedServices.get(targetService)
                                                               .getClass()
                                                               .isAnnotationPresent(DefaultImplementor.class);
                        if (presentDefault) {
                            bootedServices.put(targetService, bootService);
                        } else {
                            throw new ServiceConflictException(
                                "Service " + bootServiceClass + " overrides conflict, " + "exist more than one service want to override :" + targetService);
                        }
                    } else {
                        bootedServices.put(targetService, bootService);
                    }
                }
            }

        }
        return bootedServices;
    }

:class org.apache.skywalking.apm.agent.core.sampling.SamplingService=org.apache.skywalking.apm.plugin.trace.ignore.TraceIgnoreExtendService@6622fc65

You mean TraceIgnoreExtendService will override and disable SamplingService, right?

You mean TraceIgnoreExtendService will override and disable SamplingService, right?

yes

Currently, yes. They are alternative. Do you want TraceIgnoreExtendService including SamplingService's capabilities?
If so, we are welcome the pull request. This is not hard. Just call super.* at the right places in the TraceIgnoreExtendService .

Currently, yes. They are alternative. Do you want TraceIgnoreExtendService including SamplingService's capabilities?
If so, we are welcome the pull request. This is not hard. Just call super.* at the right places in the TraceIgnoreExtendService .

OK, I'll try


Cannot see IsMtuRequestAvailable and RequestMtu.

Hello,
I just installed the package with nuget. But when I receive a ScanResult and try to access the device in order to try a RequestMtu, the methods are not available in my form project.
  BleAdapter.Current.Scan().Subscribe(scanResult => {                 scanResult.Device.Connect();                 scanResult.Device.IsMtuRequestAvailable             });
What am i missing here? I saw in the sample in the repository that you are actually accessing it without any trouble in "DeviceViewModel" :
  this.RequestMtu = ReactiveCommand.CreateFromTask(                 async x =>                 {                     if (!this.device.IsMtuRequestAvailable)                     {                         this.Dialogs.Alert("MTU Request not supported on this platform");                     }
Thank you in advance for your help.
Cheers,

what nuget package version are you using?

Ok solved ;) It was a missing update of the package ;)


The input of bam file

Hi, thank you for the software, very useful, just wondering if the input of the bam file should be sorted by position or name?

Hi and welcome to the maxsonBraunLab!
I have only used position-sorted BAM files as the input for GoPeaks. Have you tried to input name-sorted files?


Allow more than 1 connection in the connection pool

It seems like this driver only supports 1 connection in a connection pool. I can see there are some tests and code related to multiple connections in a pool. but when initializing the driver, it uses a hardcoded value of 1 when it creates the pool.
Is there any particular reason we can't use a large pool size?

Hi @espenhogbakk,
thank you for your feature request. While it should be easy to implement we need to add documentation and integration tests to verify it really works.
Our product manager put it onto the roadmap but we don't know when it will be implemented.

Thanks for the feedback.
So am I correct when the only way to reliably use this driver now is to do this?
driver.connect()
driver.query()
driver.close()

Unless of course you in the same "context" are doing multiple queries series (and don't want to do them in parallell). E.g in our Node.js application we might get a bunch of requests in at the same time, handled in different contexts/processes and then without a connection pool we need to establish a new connection to the cluster, query and close it down?
Seems like there is quite a bit overhead of doing so, see this log output
[2024-05-27T21:41:02.202Z] DEBUG: [SQLClient] Login
[2024-05-27T21:41:02.203Z] DEBUG: [Pool:1716846061955] Add connection
[2024-05-27T21:41:02.204Z] DEBUG: [Pool:1716846061955] Assign connection
[2024-05-27T21:41:02.267Z] DEBUG: [Connection:1716846061955] Received data
[2024-05-27T21:41:02.267Z] DEBUG: [Pool:1716846061955] Release connection
[2024-05-27T21:41:02.288Z] DEBUG: [Pool:1716846061955] Assign connection
[2024-05-27T21:41:02.977Z] DEBUG: [Connection:1716846061955] Received data
[2024-05-27T21:41:02.977Z] DEBUG: [Pool:1716846061955] Release connection
[2024-05-27T21:41:02.978Z] DEBUG: [Pool:1716846061955] Assign connection
[2024-05-27T21:41:03.104Z] DEBUG: [Connection:1716846061955] Received data
[2024-05-27T21:41:03.105Z] DEBUG: [WebSQL]: Fetch more data for:  1
[2024-05-27T21:41:03.106Z] DEBUG: [WebSQL]: fetchMoreData: 0 13146
[2024-05-27T21:41:03.154Z] DEBUG: [Connection:1716846061955] Received data
...
[2024-05-27T21:41:08.579Z] DEBUG: [WebSQL]: fetchMoreData: 13144 13146
[2024-05-27T21:41:08.646Z] DEBUG: [Connection:1716846061955] Received data
[2024-05-27T21:41:08.648Z] DEBUG: [WebSQL]: Closing ResultSet 1
[2024-05-27T21:41:08.652Z] DEBUG: [WebSQL]: Loaded all data
[2024-05-27T21:41:08.653Z] DEBUG: [Pool:1716846061955] Release connection
[2024-05-27T21:41:08.663Z] DEBUG: [SQLClient] Close all connections

That is 902ms before we receive any data. I must be missing something as this surely isn't how it's supposed to be?

I am not very familiar with the code, but I don't think there is another way, unless you implement a connection pool in your application :-(
I will ask our product manager to prioritize this.

Investigated, found a couple of logical issues with the current implementation, had a chat with the PM yesterday. We should decide on a proper course of action today. Plan a meeting with chipi and tobe to discuss

Hi @espenhogbakk ,
We've released a new version of the driver that now adds a connection pool. The user guide was updated.
We've also addressed the issues with the logger.
Please let us know if anything else you need is missing.
(We'll have a look at enabling compression somewhere in the following weeks)
Kind regards


update lesson's banner card images

update lesson's banner card images to the ones of their tracks card banner
for example all the fundamental's track lessons, will have the same track banner image the fundamentals track haves

updated


Change the Data Requirements for Principal Organizations

A principal organization needs an official name, colloquial name, unit identifier, parent organization and description.  Super users can only edit the colloquial name and description.  Administrators edit the official name, unit identifier and parent organization.  This is issue is related to #36, #49, and #103.
Reference item 100

We will first only add the UIC field.
The tasks to implement this are:

field will be unique, not required
use different labels per organization type (labels come from dictionary)
migration
add field to forms and displays
write tests

Super users should only be able to edit a principal organization's name.
Currently super users can edit the parent organization, organization name and official name of a principal organization, but not the identification code.
Only administrator's should be able to edit the parent organization, official name and identification code.  In general, super users do not have the training to know the parent organizations, official names and identification codes.  Most super users don't even know the system of record for these three fields.  As a result, super users will use colloquial names and make up identification codes.  The organization name is for super users to add the principal organization's colloquial name.

@VassilIordanov @gjvoosten Can an identification code filter be added to advanced search for principal organizations?  Currently to search on the identification code, the user has to use the "Search term" data field.  It would be more intuitive for the users to have a unique filter.

@dspCarlson Created a new issue for the extra search field: https://github.com/NCI-Agency/anet/issues/467


Adding a custom protest sign to supermarket

linked with #109
Custom Propsign ytd/ytyp so we do not touch the original sign

Same as https://github.com/SOZ-Faut-etre-Sub/SOZ-FiveM-Server/pull/95
Can you add the image to the folder ? And squash + rebase your commits ? (also please make sur you don't have any lint issue with lua or typescript)

All modifications done

Mergé dans https://github.com/SOZ-Faut-etre-Sub/SOZ-FiveM-Server/commit/c7d4740d4baebd16ac47253c298e30a337a1c9ae merci à toi


Avoid using Win32_Product for application queries

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

3.1.0

Affected Resource(s)
Windows
Configuration Files

Expected Behavior

Actual Behavior
We noticed that the Application event log on one of our customers sites filled up with Event ID 1035. Checking for the issue, I have found it on all inspected Windows servers with a DSC configuration and an installed arcgis module.
The culprit are line 288-289 in ArcGIS_Install.psm1, but there are also 18 other occurrences of Win32_product.
$ver = Get-CimInstance Win32_Product| Where-Object {$_.Name -match $trueName -and $_.Vendor -eq 'Environmental Systems Research Institute, Inc.'}
Write-Verbose "Installed Version $($ver.Version)"

As far as I can see the two lines are not even necessary, as the Write-Verbose is the only use of the $ver variable. A quick fix is to comment out these two lines in the installed module, or remove the arcgis module after installation.
Microsoft has strongly advised against using the Win32_Product class for application queries.
https://docs.microsoft.com/en-us/troubleshoot/windows-server/admin-development/windows-installer-reconfigured-all-applications

Win32_product class is not query optimized. Queries such as select * from Win32_Product where (name like 'Sniffer%') require WMI to use the MSI provider to enumerate all of the installed products and then parse the full list sequentially to handle the where clause. This process also initiates a consistency check of packages installed, verifying and repairing the install. With an account with only user privileges, as the user account may not have access to quite a few locations, may cause delay in application launch and an event 11708 stating an installation failure.

The recommended approach to get this information seems to be use of registry as mentioned in this devblog article.
https://devblogs.microsoft.com/scripting/use-powershell-to-quickly-find-installed-software/
Code example using registry:
$array = @()

#Define the variable to hold the location of Currently Installed Programs
$UninstallKey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall"

#Create an instance of the Registry Object and open the HKLM base key
$reg = [microsoft.win32.registrykey]::OpenBaseKey("LocalMachine", [Microsoft.Win32.RegistryView]::Registry32)

#Drill down into the Uninstall key using the OpenSubKey Method
$regkey = $reg.OpenSubKey($UninstallKey)

#Retrieve an array of string that contain all the subkey names
$subkeys = $regkey.GetSubKeyNames()

#Open each Subkey and use GetValue Method to return the required values for each
foreach ($key in $subkeys) {
    $thisKey = $UninstallKey + "\\" + $key
    $thisSubKey = $reg.OpenSubKey($thisKey)
    $obj = New-Object PSObject
    # $obj | Add-Member -MemberType NoteProperty -Name “ComputerName” -Value $computername
    $obj | Add-Member -MemberType NoteProperty -Name "DisplayName" -Value $($thisSubKey.GetValue("DisplayName"))
    $obj | Add-Member -MemberType NoteProperty -Name "DisplayVersion" -Value $($thisSubKey.GetValue("DisplayVersion"))
    $obj | Add-Member -MemberType NoteProperty -Name "Publisher" -Value $($thisSubKey.GetValue("Publisher"))
    $obj | Add-Member -MemberType NoteProperty -Name "Version" -Value $($thisSubKey.GetValue("Version"))
    $array += $obj
}

$array | Where-Object { $_.Publisher -eq "Environmental Systems Research Institute, Inc." } | select-object DisplayName, DisplayVersion, Publisher, Version | ft -auto

Steps to Reproduce

Important Factoids

References

@HakonD thanks for this great suggestion. We will make appropriate fixes on the lines you have suggested in the upcoming releases.

@HakonD we have included changes for this in release v.3.1.1:
https://github.com/Esri/arcgis-powershell-dsc/releases/tag/v3.1.1
Closing this issue, but if this is still being encountered please feel free to reopen.


[Bug]: Auto-forwarding does not work in send flow

Describe the bug
Bitkit does not forward the user to the Review & Send view in the Send flow after scanning a QR or pasting and invoice or address using the paste button. Instead, the user currently has to manually tap [Continue].
Reproduce

Go to [Send]
Tap on [Scan] or [Paste] icon
Scanned invoice or copied invoice is pasted in the input field
User has to manually tap [Continue] to go to Review&Send step.

Expected behavior: App forwards user automatically to Review&Send after step 2.
Screenshots / Recording
No response
Operating system
iPhone 11, iOS 16.1.1
Bitkit version
v1.0 (23)
Log output
No response

Duplicate of https://github.com/synonymdev/bitkit/issues/441


Question: Named bindings

I have a situation where I have some pretty complex raw queries that are being constructed. To avoid dealing with escaping values myself, I'd like to let the query builder handle this. Additionally, because the queries are complex and constructed in many steps, I'd rather not have the ordering of the replacements be significant. In many other tools, I would use "named bindings" to do this, but I can't find any example of this in the docs.
For example, something like  runQuery('SELECT * FROM mytable WHERE foo = :fooval', { fooval: 'value to use in the query' })
Knex mentions this here as "named bindings", but I can't seem to find the right way to get access to this method, as the TS type for queryBuilder.raw() only accepts a single string.

qb.raw() is just a shortcut for qb.getKnex().raw(), so you could use that to work with the real knex method (where the binding parameter exists).
sure we can add it here too (PR welcome)


Transfer a repo

This project has been discussed on the Aries WG and ACA-PUG meetings, and attendees were generally in agreement that this should be added to the Hyperledger Aries project.
Please include:

GitHub repo to transfer: https://github.com/Indicio-tech/aries-socketdock
Project to be added to: Aries
Teams with which access: (examples on GitHub team list)

Team name: aries-admins

Role:

Read
Triage
Write
Manage
Admin

Team name: aries-framework-javascript-committers, aries-cloudagent-python-committers
Role:

Read
Triage
Write

Team name: aries-contributers

Role:

Read
Triage

cc: @TelegramSam @swcurran @TimoGlastra @dbluhm

@mepeltier please transfer the repo to me, ryjones

Transfer initiated (had to do the repo transfer dance so it will be coming from my user)

Here you go!


[BUG]

Acknowledgement of preliminary instructions

[x] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?

Idk but it happens to me. It has never happened before. How can I fix it

Try running it as an administrator

Idk but it happens to me. It has never happened before. How can I fix it

If you open the file properties for RobloxPlayerBeta.exe at the path given, what does it show under the "Compatibility" tab?

Try running it as an administrator

No im pretty sure you need the exact opposite. There was an issue with this once...

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.


Use built-in IPython code highlighting in formatted OQ2 output

Summary
We currently have an option to QuantumCircuit.qasm that produces rich formatted output for IPython/Jupyter contexts.  This involves a lot of manual handling, while modern IPython has the IPython.display.Code object for representing things.  This commit switches over to preferentially using this, if the user has a Pygments lexer capable of handling the qasm2 alias available.
This is part of an effort to fully deprecate the qiskit.qasm package (in favour of qiskit.qasm2, where appropriate), and to trim down extra components where there are supported alternatives.
Details and comments
Depends on #9944.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 39 (28.21%)  changed or added relevant lines in 6 files are covered.
14 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.02%) to 85.412%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/qasm/init.py
4
6
66.67%

qiskit/qasm/pygments/init.py
0
3
0.0%

qiskit/qasm/pygments/lexer.py
0
3
0.0%

qiskit/tools/jupyter/library.py
0
4
0.0%

qiskit/circuit/quantumcircuit.py
6
22
27.27%

Files with Coverage Reduction
New Missed Lines
%

qiskit/circuit/quantumcircuit.py
1
93.51%

qiskit/qasm/pygments/init.py
1
0%

qiskit/tools/jupyter/library.py
1
0%

qiskit/qasm/pygments/lexer.py
11
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
67713

Relevant Lines:
79278

💛  - Coveralls

Can we remove the on hold with this since #9944 has merged? (I assume it needs the rebase because it did merge)

Now rebased over main, but looking at the PR with fresh eyes, the path forwards may just be to close it and simply not include a formatted option once QuantumCircuit.qasm is moved to qiskit.qasm2.dumps.

I think I'm going to close this - we can probably just keep the current form kicking until we fully remove the formatted option by nature of not transferring it over to the new qiskit.qasm2.dumps introduced in #10533.


Submitting multiple EOS actions in one transaction - does not bring up Scatter window or initiate transaction

Hello- I am attempting to submit multiple EOS actions in one transaction, but it doesn't appear to work.
let scatter = this.props.scatter;
let eos = scatter.eos(this.props.network, Eos, this.props.options, "https")
eos.transaction(tr => {
  tr.buyrambytes({
    payer: this.props.scatter.identity.accounts[0].name,
    receiver: this.props.scatter.identity.accounts[0].name,
    bytes: 50
  })

  tr.transfer({
    from: this.props.scatter.identity.accounts[0].name,
    to: 'gi4dcnbug4ge',
    quantity: '0.0050 EOS',
    memo: ''
  })
});

When I comment out either of the tr.[action] calls above, the code works:

Scatter pops up to request authorization of the request
I can see the network transactions printed in the console with verbose mode enabled
The transaction is executed

When I try to use both actions in one transaction, Scatter never pops up and even with verbose mode on I can't find any feedback to give me some clues as to what the issue is.
Here is the console output that comes up when I attempt to execute the code above with both actions in the transaction:
17:23:28.404 index.js:36 api > post 	 https://eos.greymass.com:443/v1/chain/get_info {}
17:23:28.416 index.js:36 api > post 	 https://eos.greymass.com:443/v1/chain/get_info {}
17:23:28.631 index.js:36 api < response 	 https://eos.greymass.com:443/v1/chain/get_info {"server_version":"8777d8db","chain_id":"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906","head_block_num":7761901,"last_irreversible_block_num":7761574,"last_irreversible_block_id":"00766ea60cdbe61c2a79022fdb55237fe600b500ee814d0b8d19ecaff0d1ce54","head_block_id":"00766fed7f1ef3e5e91d314f4774116f9f9688a42d7bfb18213d18b744e8ce51","head_block_time":"2018-07-25T21:23:26.500","head_block_producer":"argentinaeos","virtual_block_cpu_limit":21252057,"virtual_block_net_limit":1048576000,"block_cpu_limit":199900,"block_net_limit":1048576}
17:23:28.633 index.js:36 api < response 	 https://eos.greymass.com:443/v1/chain/get_info {"server_version":"8777d8db","chain_id":"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906","head_block_num":7761901,"last_irreversible_block_num":7761574,"last_irreversible_block_id":"00766ea60cdbe61c2a79022fdb55237fe600b500ee814d0b8d19ecaff0d1ce54","head_block_id":"00766fed7f1ef3e5e91d314f4774116f9f9688a42d7bfb18213d18b744e8ce51","head_block_time":"2018-07-25T21:23:26.500","head_block_producer":"argentinaeos","virtual_block_cpu_limit":21252057,"virtual_block_net_limit":1048576000,"block_cpu_limit":199900,"block_net_limit":1048576}
17:23:28.634 index.js:36 api > post 	 https://eos.greymass.com:443/v1/chain/get_block {"block_num_or_id":7761574}
17:23:28.690 index.js:36 api < response 	 https://eos.greymass.com:443/v1/chain/get_block {"timestamp":"2018-07-25T21:20:41.500","producer":"eosriobrazil","confirmed":0,"previous":"00766ea5492c00015d3be84a227de6b53dc70f5afbda45d7a928fdcc4ad7e8e9","transaction_mroot":"0000000000000000000000000000000000000000000000000000000000000000","action_mroot":"e2896ff94b6ed5056b62b4ef2a56bcf9cf370a467a89949f01b21a9a031a410e","schedule_version":210,"new_producers":null,"header_extensions":[],"producer_signature":"SIG_K1_KkkrqswV5GBcnJavkUPLSReHxh96UW5VeS3muUNu15bR7Rvmq25ZSAzE82qRiYbkurLFa83SkPMpEjmqNSpQb28dDoicn7","transactions":[],"block_extensions":[],"id":"00766ea60cdbe61c2a79022fdb55237fe600b500ee814d0b8d19ecaff0d1ce54","block_num":7761574,"ref_block_prefix":788691242}

If I comment out one of the transaction pieces:
eos.transaction(tr => {
  tr.buyrambytes({
    payer: this.props.scatter.identity.accounts[0].name,
    receiver: this.props.scatter.identity.accounts[0].name,
    bytes: 50
  })

  /* tr.transfer({
    from: this.props.scatter.identity.accounts[0].name,
    to: 'gi4dcnbug4ge',
    quantity: '0.0050 EOS',
    memo: 'Fee Test'
  }) */
});

The Scatter window pops up as expected:

..and the transaction works. Here is the console output:
17:27:22.801 api > post 	 https://eos.greymass.com:443/v1/chain/get_info {}
17:27:22.814 index.js:36 api > post 	 https://eos.greymass.com:443/v1/chain/get_info {}
17:27:22.879 index.js:36 api < response 	 https://eos.greymass.com:443/v1/chain/get_info {"server_version":"8777d8db","chain_id":"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906","head_block_num":7762364,"last_irreversible_block_num":7762039,"last_irreversible_block_id":"0076707708f82767a0cefb448f77f5569901ac37abb00bc0400281060ca60828","head_block_id":"007671bc0d9b233fe74c157d7b1c63fb8f2fd3a79bf872a26a7b40e48d693fb2","head_block_time":"2018-07-25T21:27:20.500","head_block_producer":"libertyblock","virtual_block_cpu_limit":25339224,"virtual_block_net_limit":1048576000,"block_cpu_limit":199900,"block_net_limit":1048576}
17:27:22.892 index.js:36 api < response 	 https://eos.greymass.com:443/v1/chain/get_info {"server_version":"8777d8db","chain_id":"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906","head_block_num":7762364,"last_irreversible_block_num":7762039,"last_irreversible_block_id":"0076707708f82767a0cefb448f77f5569901ac37abb00bc0400281060ca60828","head_block_id":"007671bc0d9b233fe74c157d7b1c63fb8f2fd3a79bf872a26a7b40e48d693fb2","head_block_time":"2018-07-25T21:27:20.500","head_block_producer":"libertyblock","virtual_block_cpu_limit":25339224,"virtual_block_net_limit":1048576000,"block_cpu_limit":199900,"block_net_limit":1048576}
17:27:22.893 index.js:36 api > post 	 https://eos.greymass.com:443/v1/chain/get_block {"block_num_or_id":7762039}
17:27:22.962 index.js:36 api < response 	 https://eos.greymass.com:443/v1/chain/get_block {"timestamp":"2018-07-25T21:24:35.500","producer":"eoshuobipool","confirmed":0,"previous":"0076707681850591f54ed5d942a07615f11adca656e06b617c5ddc7fb715ebce","transaction_mroot":"0000000000000000000000000000000000000000000000000000000000000000","action_mroot":"f02d774e3572ff7fa587f0ee2e24af976b327beeb5f63c3ef61e677b7cfa6a44","schedule_version":210,"new_producers":null,"header_extensions":[],"producer_signature":"SIG_K1_K4E3ro1moQo8DNZtRJYSesNCRpBUKoWcyUACwx5uCm7zqbK1AhJViBeUWccKgHYctELAfV4wnMhBGeGB7BrtPbEdAqTXYJ","transactions":[],"block_extensions":[],"id":"0076707708f82767a0cefb448f77f5569901ac37abb00bc0400281060ca60828","block_num":7762039,"ref_block_prefix":1157353120}
17:27:35.359 index.js:36 api > post 	 https://eos.greymass.com:443/v1/chain/push_transaction {"compression":"none","transaction":{"expiration":"2018-07-25T21:28:20","ref_block_num":28791,"ref_block_prefix":1157353120,"net_usage_words":0,"max_cpu_usage_ms":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"eosio","name":"buyrambytes","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":"8073d6147175d3348073d6147175d33432000000"}],"transaction_extensions":[]},"signatures":["SIG_K1_KbrBXK2HQEEC6zV9Nb26qbrQCaLV9RS7cUk5JSxTFNnEofbC8LTHZsWBCPd4oGu1HuwroRB1Mb6jPtwe9XKqv7VrMYzy3M"]}
17:27:35.424 index.js:36 api < response 	 https://eos.greymass.com:443/v1/chain/push_transaction {"transaction_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","processed":{"id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","receipt":{"status":"executed","cpu_usage_us":4839,"net_usage_words":14},"elapsed":4839,"net_usage":112,"scheduled":false,"action_traces":[{"receipt":{"receiver":"eosio","act_digest":"90dbe854584c7797fe9ea46eb0237ef86d2dcca1a9fb33bc698f70849b2eca14","global_sequence":93968307,"recv_sequence":9873630,"auth_sequence":[["andrewcoutts",703]],"code_sequence":7,"abi_sequence":8},"act":{"account":"eosio","name":"buyrambytes","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"payer":"andrewcoutts","receiver":"andrewcoutts","bytes":50},"hex_data":"8073d6147175d3348073d6147175d33432000000"},"elapsed":2730,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[{"receipt":{"receiver":"eosio.token","act_digest":"211ebea5a95b66eb76bbadcf11c9f7d17273db7c0a550df4aaf86f74b8f2800d","global_sequence":93968308,"recv_sequence":2246473,"auth_sequence":[["andrewcoutts",704]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ram","quantity":"0.0143 EOS","memo":"buy ram"},"hex_data":"8073d6147175d334000090e602ea30558f0000000000000004454f5300000000076275792072616d"},"elapsed":859,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[{"receipt":{"receiver":"andrewcoutts","act_digest":"211ebea5a95b66eb76bbadcf11c9f7d17273db7c0a550df4aaf86f74b8f2800d","global_sequence":93968309,"recv_sequence":232,"auth_sequence":[["andrewcoutts",705]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ram","quantity":"0.0143 EOS","memo":"buy ram"},"hex_data":"8073d6147175d334000090e602ea30558f0000000000000004454f5300000000076275792072616d"},"elapsed":12,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[]},{"receipt":{"receiver":"eosio.ram","act_digest":"211ebea5a95b66eb76bbadcf11c9f7d17273db7c0a550df4aaf86f74b8f2800d","global_sequence":93968310,"recv_sequence":644804,"auth_sequence":[["andrewcoutts",706]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ram","quantity":"0.0143 EOS","memo":"buy ram"},"hex_data":"8073d6147175d334000090e602ea30558f0000000000000004454f5300000000076275792072616d"},"elapsed":13,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[]}]},{"receipt":{"receiver":"eosio.token","act_digest":"ee148335b507080d93b265d4df3ecdb8655d824c4069879cf37014bcb64f600d","global_sequence":93968311,"recv_sequence":2246474,"auth_sequence":[["andrewcoutts",707]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ramfee","quantity":"0.0001 EOS","memo":"ram fee"},"hex_data":"8073d6147175d334a0d492e602ea3055010000000000000004454f53000000000772616d20666565"},"elapsed":685,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[{"receipt":{"receiver":"andrewcoutts","act_digest":"ee148335b507080d93b265d4df3ecdb8655d824c4069879cf37014bcb64f600d","global_sequence":93968312,"recv_sequence":233,"auth_sequence":[["andrewcoutts",708]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ramfee","quantity":"0.0001 EOS","memo":"ram fee"},"hex_data":"8073d6147175d334a0d492e602ea3055010000000000000004454f53000000000772616d20666565"},"elapsed":10,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[]},{"receipt":{"receiver":"eosio.ramfee","act_digest":"ee148335b507080d93b265d4df3ecdb8655d824c4069879cf37014bcb64f600d","global_sequence":93968313,"recv_sequence":641972,"auth_sequence":[["andrewcoutts",709]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ramfee","quantity":"0.0001 EOS","memo":"ram fee"},"hex_data":"8073d6147175d334a0d492e602ea3055010000000000000004454f53000000000772616d20666565"},"elapsed":14,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[]}]}]}],"except":null}}
17:27:35.425 index.js:36 {"broadcast":true,"transaction":{"compression":"none","transaction":{"expiration":"2018-07-25T21:28:20","ref_block_num":28791,"ref_block_prefix":1157353120,"net_usage_words":0,"max_cpu_usage_ms":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"eosio","name":"buyrambytes","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":"8073d6147175d3348073d6147175d33432000000"}],"transaction_extensions":[]},"signatures":["SIG_K1_KbrBXK2HQEEC6zV9Nb26qbrQCaLV9RS7cUk5JSxTFNnEofbC8LTHZsWBCPd4oGu1HuwroRB1Mb6jPtwe9XKqv7VrMYzy3M"]},"transaction_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","processed":{"id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","receipt":{"status":"executed","cpu_usage_us":4839,"net_usage_words":14},"elapsed":4839,"net_usage":112,"scheduled":false,"action_traces":[{"receipt":{"receiver":"eosio","act_digest":"90dbe854584c7797fe9ea46eb0237ef86d2dcca1a9fb33bc698f70849b2eca14","global_sequence":93968307,"recv_sequence":9873630,"auth_sequence":[["andrewcoutts",703]],"code_sequence":7,"abi_sequence":8},"act":{"account":"eosio","name":"buyrambytes","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"payer":"andrewcoutts","receiver":"andrewcoutts","bytes":50},"hex_data":"8073d6147175d3348073d6147175d33432000000"},"elapsed":2730,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[{"receipt":{"receiver":"eosio.token","act_digest":"211ebea5a95b66eb76bbadcf11c9f7d17273db7c0a550df4aaf86f74b8f2800d","global_sequence":93968308,"recv_sequence":2246473,"auth_sequence":[["andrewcoutts",704]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ram","quantity":"0.0143 EOS","memo":"buy ram"},"hex_data":"8073d6147175d334000090e602ea30558f0000000000000004454f5300000000076275792072616d"},"elapsed":859,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[{"receipt":{"receiver":"andrewcoutts","act_digest":"211ebea5a95b66eb76bbadcf11c9f7d17273db7c0a550df4aaf86f74b8f2800d","global_sequence":93968309,"recv_sequence":232,"auth_sequence":[["andrewcoutts",705]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ram","quantity":"0.0143 EOS","memo":"buy ram"},"hex_data":"8073d6147175d334000090e602ea30558f0000000000000004454f5300000000076275792072616d"},"elapsed":12,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[]},{"receipt":{"receiver":"eosio.ram","act_digest":"211ebea5a95b66eb76bbadcf11c9f7d17273db7c0a550df4aaf86f74b8f2800d","global_sequence":93968310,"recv_sequence":644804,"auth_sequence":[["andrewcoutts",706]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ram","quantity":"0.0143 EOS","memo":"buy ram"},"hex_data":"8073d6147175d334000090e602ea30558f0000000000000004454f5300000000076275792072616d"},"elapsed":13,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[]}]},{"receipt":{"receiver":"eosio.token","act_digest":"ee148335b507080d93b265d4df3ecdb8655d824c4069879cf37014bcb64f600d","global_sequence":93968311,"recv_sequence":2246474,"auth_sequence":[["andrewcoutts",707]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ramfee","quantity":"0.0001 EOS","memo":"ram fee"},"hex_data":"8073d6147175d334a0d492e602ea3055010000000000000004454f53000000000772616d20666565"},"elapsed":685,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[{"receipt":{"receiver":"andrewcoutts","act_digest":"ee148335b507080d93b265d4df3ecdb8655d824c4069879cf37014bcb64f600d","global_sequence":93968312,"recv_sequence":233,"auth_sequence":[["andrewcoutts",708]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ramfee","quantity":"0.0001 EOS","memo":"ram fee"},"hex_data":"8073d6147175d334a0d492e602ea3055010000000000000004454f53000000000772616d20666565"},"elapsed":10,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[]},{"receipt":{"receiver":"eosio.ramfee","act_digest":"ee148335b507080d93b265d4df3ecdb8655d824c4069879cf37014bcb64f600d","global_sequence":93968313,"recv_sequence":641972,"auth_sequence":[["andrewcoutts",709]],"code_sequence":1,"abi_sequence":1},"act":{"account":"eosio.token","name":"transfer","authorization":[{"actor":"andrewcoutts","permission":"active"}],"data":{"from":"andrewcoutts","to":"eosio.ramfee","quantity":"0.0001 EOS","memo":"ram fee"},"hex_data":"8073d6147175d334a0d492e602ea3055010000000000000004454f53000000000772616d20666565"},"elapsed":14,"cpu_usage":0,"console":"","total_cpu_usage":0,"trx_id":"125eb2595fcc73fd8af4a40a4fe9dec16fdc51e6150e296a02a8112494cc2d8b","inline_traces":[]}]}]}],"except":null}}

I am attempting this referencing the EOSJS documentation where they show this example:
wif = '5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3'
pubkey = 'EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV'

eos.transaction(tr => {
  tr.newaccount({
    creator: 'eosio',
    name: 'myaccount',
    owner: pubkey,
    active: pubkey
  })

  tr.buyrambytes({
    payer: 'eosio',
    receiver: 'myaccount',
    bytes: 8192
  })

  tr.delegatebw({
    from: 'eosio',
    receiver: 'myaccount',
    stake_net_quantity: '10.0000 SYS',
    stake_cpu_quantity: '10.0000 SYS',
    transfer: 0
  })
})

Any help / guidance greatly appreciated. Thank you!

Update:
This pattern does not work either:
    await eos.transaction(['eosio', 'eosio.token'], ({eosio, eosio_token}) =>{
      eosio.buyrambytes({
        payer: this.props.scatter.identity.accounts[0].name,
        receiver: this.props.scatter.identity.accounts[0].name,
        bytes: 50
      })
      eosio_token.transfer({
        from: this.props.scatter.identity.accounts[0].name,
        to: 'gi4dcnbug4ge',
        quantity: '0.0050 EOS',
        memo: 'Fee Test'
      })
    })

This pattern works for two actions on the same contract, but I still can't seem to trigger two actions on two contracts:
    await eos.transaction(['eosio'], ({eosio}) => {
      eosio.buyrambytes(this.props.scatter.identity.accounts[0].name, this.props.scatter.identity.accounts[0].name, 50)
      eosio.buyrambytes(this.props.scatter.identity.accounts[0].name, this.props.scatter.identity.accounts[0].name, 503)
    })

This was likely related to an issue with multi-contract batch transactions. Should be fixed now.
fefc86f1195045c89230ebcbc09d9a4bed2e9780


After latest Windows update I can't run WSL version 2 and Docker is not launching on Windows 10 Enterprise for Virtual Desktop

Windows Build Number
Microsoft Windows [Version 10.0.19042.1165]
WSL Version

[X] WSL 2
[X] WSL 1

Kernel Version
5.10.16
Distro Version
Ubuntu-20.04
Other Software
Docker version 20.10.8, build 3967b7d
Docker Desktop Version <IP_ADDRESS>351
Repro Steps
Well, I have no exact reproducible steps, the nature of the problem is that after updating to

I can't change the default/or distribution version to WSL 2.
When I run  wsl --set-version Ubuntu-20.04 2 I get a fallback to --help.
Running after this
wsl --status
Default Distribution: Ubuntu-20.04
Default Version: 1

Windows Subsystem for Linux was last updated on 8/19/2021
WSL automatic updates are on.

Kernel version: 5.10.16

wsl --list --verbose
  NAME            STATE           VERSION
* Ubuntu-20.04    Stopped         1

Expected Behavior
WSL will change the distro to version 2
Actual Behavior

Diagnostic Logs
No response

If someone can assist me on this, as it is blocking me pretty hard on the job and my own investigations around the issue didn't result in success

@cfl-agaidulean - can you share the whole help text?  What SKU of Windows are you running?

Whole output after using the command
 wsl --set-version Ubuntu-20.04 2
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: wsl.exe [Argument] [Options...] [CommandLine]

Arguments for running Linux binaries:

    If no command line is provided, wsl.exe launches the default shell.

    --exec, -e <CommandLine>
        Execute the specified command without using the default Linux shell.

    --
        Pass the remaining command line as is.

Options:
    --distribution, -d <Distro>
        Run the specified distribution.

    --user, -u <UserName>
        Run as the specified user.

Arguments for managing Windows Subsystem for Linux:

    --help
        Display usage information.

    --install [Options]
        Install additional Windows Subsystem for Linux distributions.
        For a list of valid distributions, use 'wsl --list --online'.

        Options:
            --distribution, -d [Argument]
                Downloads and installs a distribution by name.

                Arguments:
                    A valid distribution name (not case sensitive).

                Examples:
                    wsl --install -d Ubuntu
                    wsl --install --distribution Debian

    --set-default-version <Version>
        Changes the default install version for new distributions.

    --shutdown
        Immediately terminates all running distributions and the WSL 2
        lightweight utility virtual machine.

    --status
        Show the status of Windows Subsystem for Linux.

    --update [Options]
        If no options are specified, the WSL 2 kernel will be updated
        to the latest version.

        Options:
            --rollback
                Revert to the previous version of the WSL 2 kernel.

Arguments for managing distributions in Windows Subsystem for Linux:

    --export <Distro> <FileName>
        Exports the distribution to a tar file.
        The filename can be - for standard output.

    --import <Distro> <InstallLocation> <FileName> [Options]
        Imports the specified tar file as a new distribution.
        The filename can be - for standard input.

        Options:
            --version <Version>
                Specifies the version to use for the new distribution.

    --list, -l [Options]
        Lists distributions.

        Options:
            --all
                List all distributions, including distributions that are
                currently being installed or uninstalled.

            --running
                List only distributions that are currently running.

            --quiet, -q
                Only show distribution names.

            --verbose, -v
                Show detailed information about all distributions.

            --online, -o
                Displays a list of available distributions for install with 'wsl --install'.

    --set-default, -s <Distro>
        Sets the distribution as the default.

    --set-version <Distro> <Version>
        Changes the version of the specified distribution.

    --terminate, -t <Distro>
        Terminates the specified distribution.

    --unregister <Distro>
        Unregisters the distribution and deletes the root filesystem.

Windows Details:
Edition	Windows 10 Enterprise for Virtual Desktops
Version	20H2
Installed on	5/11/2021
OS build	19042.1165

Very Strange...
/logs

 wpr -start wsl.wprp -filemode

        The system cannot find the file specified.

        Error code: 0x80070002

Even though the file is there.
Also noticed I don't have C:\Users\<my_name>\.wslconfig

I can't send screenshots unfortunately, due to company policy

Can we just check in what logical branch condition causes wsl to fallback to --help when entering --set-version?

That's why I'm asking, that shouldn't be possible.

I'm using the same Windows version, and didn't see this error. Can you run C:\Windows\System32\wsl.exe --set-version Ubuntu-20.04 2.
If it doesn't work, you have to provide logs

It's the same issue.
I created an issue in Feedback Hub with the same name as this Github issue name

I had the same issue with KB5005189 on Windows 11 this morning, after uninstalling the update I was able to open WSL again.

I am on Win 10 and I don't have this update, from what category is this update

It was under Quality Updates, installed a few hours ago and after the install I couldnt get Docker Desktop or WSL to start. The update is Windows 11 specific so it will not show up on your Windows 10 instance.

OH MY GOD YESSS! Thanks @MMulaosmanovic so much! I was not sure what exact update to uninstall so I removed both KB5005033 and KB4562830. But I believe it was KB5005033 who caused the issue.
I'll still keep this ticket open for Microsoft to come with a hotfix after that update so my win will be latest version.

Not a detailed response, however, fwiw I had the same errors/issues - it could no longer see the default ubuntu even though it was listed it as there - ubuntu wouldn't run and docker would fail.  I added a distro (wsl --install) and in docker unchecked "use default distro" and manually told it to use whatever ones I wanted.  Restarted and all works fine (including the pre-existing ubuntu install).
It seems like the windows update might lose a pointer of some kind to the default Ubuntu distro and installing another distro possibly? resets whatever it is that keeps track of the distros and allows them to run.

@benhillis  Is "Edition Windows 10 Enterprise for Virtual Desktops" a Windows server?  @cfl-agaidulean is using this version. And  in our code, if it's Windows Server, we will print help message.
@MMulaosmanovic Are you using Windows Server?

Any news on this? It seems after each VDI restart the updates are automatically re-applied, at least I know the issue now and easily uninstall them right away but still, annoying.

Any updates to this? Cant run WSL2 on Server 2022.

Same issue here - uninstalling the KB5005033 update resolved the issue temporarily. Looking forward to a permanent resolution.

I don't know if this is relevant or will help others, but I had all the same issues as above - I simply stopped and started wsl2 then installed a new (happened to be different) distro, rebooted, after that everything worked as before with the old and the new distro - and haven't had a problem since (never uninstalled the latest updates).   It seemed, that somehow installing another distro rewired some of the broken internals and made all well again, but YMMW....

@yyhmsg Check currently running wsl version, I bet it's v1

@cfl-agaidulean no, it's version 2 with all the latest windows updates installed...
wsl -l -v
NAME                          STATE       VERSION

Ubuntu-20.04               Running     2
openSUSE-42               Running     2
docker-desktop-data     Running     2
docker-desktop             Running     2

@benhillis Hi, is there any progress with fixing this issue? Our developers have a huge problem this, WSL v1 is slow as a temporary measure, and some guys can't uninstall the updates mentioned above.
Please, is there any way we can speed up fixing this stuff?

I worked around the issue by removing "proxyHttpMode": false line from the configuration file. I'm using Windows 10 home edition with the latest security patch. I do not have the security patches noted in the thread, but still had the following issue.
Log error message:
[09:29:38.296][GoBackendProcess  ][Error  ] msg="while parsing JSON from <...\\AppData\\Roaming\\Docker\\settings.json: json: cannot unmarshal bool into Go struct field Content.proxyHttpMode of type string"

Hey Microsoft please do something with KB5005565, its heavily impacting our development services, we can't work with WSL 1
Can we get at least an estimation on when it will be fixed?
Thank you!

@craigloewen-msft Do you know whether the issue is isolated to Windows 10, or also applicable to Windows 11?

Thanks for the update. Time to switch to MacOS 💢

I can confirm that uninstalling KB5005565 gets it working again.

Removed the update and was still unable to do wsl --set-default-version 2. Did you perform any aditional set after removing the update?

I can confirm that uninstalling KB5005565 gets it working again.

Removed the update and was still unable to do wsl --set-default-version 2. Did you perform any aditional set after removing the update?
Edition Windows 10 Enterprise for Virtual Desktops
Version 21H1
Installed on 6/25/2021
OS build 19043.1165

It worked for me!
What steps did I perform:

Uninstall KB5005565 update

I went into the Windows settings under Apps > Apps and Features and uninstalled Ubuntu

Download the Linux kernel update package. Read more

Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

Set WSL2 as my default version wsl --set-default-version 2

Install Ubuntu from Microsoft Store or if it not available you can manually install it using this link.

Open up Powershell and run: wsl -l -v

Now Docker is launching without any errors.🚀

I can confirm that uninstalling KB5005565 gets it working again.

Removed the update and was still unable to do wsl --set-default-version 2. Did you perform any aditional set after removing the update?
Edition Windows 10 Enterprise for Virtual Desktops
Version 21H1
Installed on 6/25/2021
OS build 19043.1165

It worked for me!
What steps did I perform:

Uninstall KB5005565 update

I went into the Windows settings under Apps > Apps and Features and uninstalled Ubuntu

Download the Linux kernel update package. Read more

Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select 'yes' to approve this installation.)

Set WSL2 as my default version wsl --set-default-version 2

Install Ubuntu from Microsoft Store or if it not available you can manually install it using this link.

Open up Powershell and run: wsl -l -v

Now Docker is launching without any errors.🚀

Any news on this? It seems after each VDI restart the updates are automatically re-applied, at least I know the issue now and easily uninstall them right away but still, annoying.

I fixed that by disabling Windows Update service.

@jasonycw I think the bug may lie in the updates KB5005611, KB5005539. You should uninstall them as well. It might help.

Tried uninstall all those update and it's still not working
Windows even auto install KB5005565 for me during other uninstallation which fail to uninstall :(

For those that just want docker and can't get WSL2 to work another option is to ignore the docker error until getting settings and disable the WSL2 based engine. This allows to use the older Hyper-V based docker.

@craigloewen-msft - do you recall when this change is going out? Was it yesterday?

I was also experiencing this issue on WVD w/ 21H1, but the latest updates seem to have resolved it.

Can someone from Microsoft give an official answer around this?

I am not from Microsoft, but I can confirm that together with the last update, there was also an update to WSL. This seems to have solved the problem.

It is however not fixed on Server 2022 with the latest updates :(

It is however not fixed on Server 2022 with the latest updates :( #7666

WSL2 Deosn't run on Windows Server, never did.

Ah I see. That it worked fine previously was not by design it seems. That should have been communicated better.
This is confusing:
https://docs.microsoft.com/en-us/windows/wsl/install-on-server  and
https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=Windows-Server
The FAQ states "desktop" however: https://docs.microsoft.com/en-us/windows/wsl/faq#does-wsl-2-use-hyper-v--will-it-be-available-on-windows-10-home-

I can help add some clarity here:
Currently, WSL 2 is supported in Windows Virtual Desktop (WVD). Please make sure you take the latest security update (Specifically this November patch Tuesday update) and you will have access to WSL 2 distros.
WSL 2 is currently supported on Windows Server versions 2004 and 20H2.

The fix is available in KB5007186

@craigloewen-msft I am still experiencing this exact same issue on a Windows 11 Enterprise VM running in Azure.  The hotfix referenced above cannot be installed because the OS version is different.  Can this be fixed in Windows 11 as well?

You are on Windows Server 2022, where WSL 2 distros are not currently supported. Please use WIndows server 20H2 until then, we are investigating adding WSL 2 support to Windows Server 2022.

Is this still an issue on Windows 11 Enterprise multi-session 21H2 (OS Build 22000.978)? I am getting the same issue trying to set the default version to 2.

Yeah, that's the exact same thing I still get.  I think @craigloewen-msft misunderstood my comment from earlier this year.  I am not running Windows Server 2022, it's a Windows 11 Enterprise multi-session VM, running in Azure in my case.

Hey folks if you're running Windows 11 build 22000 on a multi-session VM, then we are aware of a problem where WSL 2 distros aren't accessible. We have a backport in the works to fix this. If you'd like to get immediate access please install the Store version of WSL at: https://aka.ms/wslstorepage

Thanks for the update!  With that new Store version of WSL I was able to successfully set the default version to 2.  I was not able to update existing ditstros to v2, but I was able to uninstall and re-install them successfully.  Thanks again!

@ecoonradt I deployed Win11 22h2 and did not run into the issue if that helps also.


Distinct not working with rawQuery

Subscription sc = storIOSQLite
.get()
.listOfObjects(Tweet.class)
.withQuery(RawQuery.builder()
.query("SELECT DISTINCT author FROM tweets")
.observesTables("tweets")
.build())
.prepare()
            .asRxObservable()

            // Get Result as rx.Observable and subscribe to further updates of tables from Query!
            .subscribeOn(Schedulers.io())
            .observeOn(AndroidSchedulers.mainThread())

            .subscribe(tweet -> { // Please don't forget to unsubscribe
                        // Will be called with first result and then after each change of tables from Query
                        // Several changes in transaction -> one notification
                        tweetsAdapter.setTweets(tweets);
                    }
            );

It is statement not working! Thank you!

We directly pass query string from RawQuery to SQLiteDatabase#rawQuery without any modifications.
Do you have more specific example? Because in case of tweets from storIO you can't create Tweet object from author field only.
I've checked it on another example and haven't met any issues:
        User user1 = User.builder().id("1").name("Jake").build();
        User user2 = User.builder().id("2").name("Jake").build();

        storIOSqlite
                .put()
                .objects(SolidList.list(userToPut, userToPut2))
                .prepare()
                .executeAsBlocking();

        Cursor cursor = storIOSqlite
                .get()
                .cursor()
                .withQuery(RawQuery.builder()
                        .query("SELECT DISTINCT name FROM users")
                        .build())
                .prepare()
                .executeAsBlocking();

        assertThat(cursor.getCount()).isEqualTo(1)

Closed for now
Feel free to reopen if you have some example (table structure and data) with witch we can meet this problem