Error: incompatible architecture on Apple Silicon with Colima

Describe the bug
I switched to an M1 Macbook not too long ago and migrated all of my old data and settings from my old Intel Mac. This seems to have left my Homebrew installation in a less-than-ideal state, including things like Python, Pyenv, Docker, and Colima. So when I first tried running SWE-agent, I got errors related to Colima/Docker and tried reinstalling them. That led me to the fun error:
brew cleanup Error: Permission denied @ apply2files

and
FATA[0000] limactl is running under rosetta, please reinstall lima with native arch FATA[0001] lima compatibility error: error checking Lima version: exit status 1

I was stuck on that for a while, until I found someone online pointing out that Homebrew apparently doesn't migrate cleanly from Intel to Apple Silicon, and recommended deleting Homebrew and reinstalling everything with the appropriate architecture flags, so I spent an evening doing that. And it did get Colima running again, but as it turns out.... Homebrew now installs to /usr/local/opt/ rather than /usr/lib and a lot of things were still pointing to the old locations, so things were breaking in interesting new ways. Trying to run SWE-agent gave this one:
dyld[99385]: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
  Referenced from: <E5AE053B-2D1A-3827-96AC-422BC13EF22B> /Users/jensr/.pyenv/versions/3.9.10/bin/python3.9
  Reason: tried: '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache)

Again, some Google-fu took me to a recommendation to simply create a symlink from the non-existing location to the location that holds that file, so I did: bash-3.2# ln -s /opt//homebrew/lib/libintl.8.dylib /usr/local/opt/gettext/lib/libintl.8.dylib
But now trying to run SWE-agent gives me this error:
dyld[5598]: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
  Referenced from: <E5AE053B-2D1A-3827-96AC-422BC13EF22B> /Users/jensr/.pyenv/versions/3.9.10/bin/python3.9
  Reason: tried: '/usr/local/opt/gettext/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/opt/gettext/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/gettext/0.22.5/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/gettext/0.22.5/lib/libintl.8.dylib' (no such file), '/opt/homebrew/Cellar/gettext/0.22.5/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache)

So I'm stuck with incompatible architecture (have 'arm64', need 'x86_64') and that's where I gave up since it seemed to tell me the container wants x86_64 and I'm on arm64. And with the note in the README about compatibility issues with Arm architecture, I thought that was the end of it. So I'm very surprised to hear that you guys are running on M series Macs yourselves? How? Did you sacrifice a goat to Bjarne Stroustrup?
I understand that this is probably very much a 'me' problem, having apparently borked part of my Mac's setup, but maybe there's something obvious I've done wrong that you can clue me in on?
Steps/commands/code to Reproduce
Simply running the commands from the README (the developers section with Conda)
Error message/results
dyld[5598]: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
  Referenced from: <E5AE053B-2D1A-3827-96AC-422BC13EF22B> /Users/jensr/.pyenv/versions/3.9.10/bin/python3.9
  Reason: tried: '/usr/local/opt/gettext/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/opt/gettext/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/gettext/0.22.5/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/gettext/0.22.5/lib/libintl.8.dylib' (no such file), '/opt/homebrew/Cellar/gettext/0.22.5/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache)

System Information
Mac M1, 16GB memory, MacOS Sonoma 14.2.1
Checklist

[X] I'm running with the latest docker container/on the latest development version
[X] I've searched the other issues for a duplicate
[X] I have copied the full command/code that I ran
[X] I have copied the full log file/error message that was the result (if applicable)
[X] I have enclosed code/log messages in triple backticks (docs) and clicked "Preview" to make sure it's displayed correctly.

Could you provide information on how you tried to install swe-agent? Did you do the "all in docker" approach? Or the one with conda? What commands do the error messages actually correspond to?

As mentioned, I was following the Conda section of the README
The errors came in response to this command: python run.py --model_name gpt4 \
   --data_path https://github.com/JensRoland/kegstand/issues/26 \
   --config_file config/default_from_url.yaml

I just tried another Docker container and sure enough, I had an issue. This time it was with the credentials helper being set to Docker Desktop, which is no longer installed since I wanted to use Colima instead. In any case, I solved that and now I can absolutely run other Docker containers. However, running the python run.py command above yields the same error as before.

OK, can you try to just run
 docker run -it sweagent/swe-agent /bin/bash

Update: I found the issue! I had a broken installation of (of all things) Python 3.9.10. Running python with no arguments at all resulted in the same error, and as soon as I switched to a different Python version, the problem disappeared.
Now I am getting a far more benign ModuleNotFoundError: No module named 'rich' but that should be trivial to fix (rich is missing from the requirements.txt file)

You probably need to install the conda env

I believe I did. And I just tried in GitHub Codespaces with the latest code, and get the same error.

Did you activate the env?

Locally I did, and in the Codespace it is automatically detected and activated. conda list shows no rich package installed.

Huh. Can you show me the output from conda list?

 Those are the base environments, not the swe-agent ones. The IDEs in both cases auto-activated a Conda env, but the wrong one, and I didn't check. (I haven't used Conda in a long time and missed this)

Thanks for following up :)


[liburing] update to 2.3

Library name
liburing
New version number
2.3
Other information that may be useful (release notes, etc...)
https://github.com/axboe/liburing/releases/tag/liburing-2.3

I hacked the portfile.cmake locally with these changes for liburing 2.3 which seems to work:
    REF 4915f2af869876d892a1f591ee2c21be21c6fc5c #liburing-2.3
    SHA512 126ea84ca0ac6a11b2984f4855a3b75d2e8cee04cd8b6723ffc95a27f65049f798dd33324c3c11d5c8e94a19f189e6413bb2895525163db65c90c4293734bc7e


[Bug] AXE-11000 / 6 GHz WLAN label

Anything you want to mention?
hey
there is a small bug the 6ghz module, it is displayed as a second 5 ghz module.

Your device model
GT-AXE11000
Firmware type
Stock
Firmware version
<IP_ADDRESS>.388_22525-gd35b8fe
Does everything work well?
Yes

Hello. I am really sorry for such a late reply.
Can you please confirm, that the issue is still there and that you have a possibility to test some code that will help fix the issue?

Hi @Vaskivskyi, I have an ET8 where the 6GHz is also showing up as 5GHz-2. I can help test if needed.

@JohnyR,
If you can use the latest AsusRouter backend library (1.1.0b1 - a beta release, included with the latest integration beta release as well), you can use it to easily get the raw temperature data which I need.

to install the library pip install asusrouter==1.1.0b1
run it as the following:

python -m asusrouter -o path/to/save --host <IP_ADDRESS> -u admin -p admin -P 80 --dump --zip

this will queue all the known endpoints from your device and create a zip with raw data in it + a log file. I need the content of the file which looks like {date}-Endpoint.TEMPERATURE.content

Full list of asusrouter arguments
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        The output folder for the log.
  --dump                Perform a full dump.
  --host HOST           The hostname / ip address of the router.
  -u USERNAME, --username USERNAME
                        The username for the router. Default: `admin`.
  -p PASSWORD, --password PASSWORD
                        The password for the router. Default: `admin`.
  -s, --ssl             Use SSL for the connection.
  -P PORT, --port PORT  The port to connect to. Only when using non-default settings. Default is 80 for HTTP and 443 for HTTPS.
  --debug               Enable debug logging.
  --zip                 Zip the output.

This is a new tool to give users a possibility to dump device data and share it for better debugging of AsusRouter as well as implementing new features. Keep in mind, that the .content files are a raw data from the device - some of them will include MAC / IP addresses as well as names of your devices.
So, in case you want to share anything except the temperature endpoint, do it only privately

@Vaskivskyi, running it as we speak. How long is it supposed to take?

Ah. I now understood, that I actually answered the wrong question... Sorry for that. The data we need is in a different part and is not available right now as easily... I will adjust the things and let you know what to try
P.S. The test should take 10-30 s only in principle. Also, it should run with the same settings as you have for the integration

Hahaha, ah, makes sense. I was a little confused why you wanted temperature data. Sure, let me know.

@JohnyR,
with 0.24.0 or just by installing pip install asusrouter==1.1.0 you'll now be able to get a larger set of data from the device when running it the same way:
python -m asusrouter -o path/to/save --host <IP_ADDRESS> -u admin -p admin -P 80 --dump --zip

You'll need file {date}-Endpoint.HOOK.content. There will be several of them, one of the interest is the one with something like this:
{
"cpu_usage":{"cpu1_total":"52557468","cpu1_usage":"4733197","cpu2_total":"52587131","cpu2_usage":"1731814","cpu3_total":"52621020","cpu3_usage":"1821047","cpu4_total":"52620879","cpu4_usage":"1720689"},
"memory_usage":{"mem_total":"1048576","mem_free":"235464","mem_used":"813112"},
"netdev":{ "BRIDGE_rx":"0x30a0b6bba","BRIDGE_tx":"0x134ce06712","INTERNET_rx":"0xe5d193f41","INTERNET_tx":"0x2000941dd","INTERNET_rx":"0xeb9a134fe","INTERNET_tx":"0x227d6b665","WIRED_rx":"0x39ddba16c","WIRED_tx":"0x80c855eba","WIRELESS0_rx":"0x1d09911e","WIRELESS0_tx":"0x610f01c4","WIRELESS1_rx":"0x2f570951","WIRELESS1_tx":"0x32ed23b8c","LACP1_rx":"0x0","LACP1_tx":"0x5e9c7a8c","LACP2_rx":"0xf5b08c18","LACP2_tx":"0x4408840"}
}

We need everything in the netdev key. This is the list of network interfaces and traffic on them. We need to find out which ones you have, so I can fix the labels

@Vaskivskyi sorry for the delay. Hope this helps:
{
    "cpu_usage": {
        "cpu1_total": "44213630",
        "cpu1_usage": "3134258",
        "cpu2_total": "44213628",
        "cpu2_usage": "3540060",
        "cpu3_total": "44213626",
        "cpu3_usage": "2490619",
        "cpu4_total": "44213629",
        "cpu4_usage": "235106"
    },
    "memory_usage": {
        "mem_total": "524288",
        "mem_free": "193796",
        "mem_used": "330492"
    },
    "netdev": {
        "BRIDGE_rx": "0x7710a094",
        "BRIDGE_tx": "0x344459921",
        "WIRED_rx": "0x8b9ed3f28",
        "WIRED_tx": "0x582c3a4dc3",
        "WIRELESS0_rx": "0x38f6edb11",
        "WIRELESS0_tx": "0x12aafc194",
        "WIRELESS1_rx": "0x53090e92ed",
        "WIRELESS1_tx": "0x7f0498e7f",
        "WIRELESS2_rx": "0x84c1feb2",
        "WIRELESS2_tx": "0xab594b7a"
    }
}

Thanks!

@JohnyR, is your device shown in the HA UI as ZenWiFi ET8 or somehow else?
Here, just below the Device info label

@Vaskivskyi, main node:

secondary node connected to main node:

Thanks @Vaskivskyi!

@Vaskivskyi just had a chance to check, seems like the interface is still named 5 GHz-2 in the config flow:

@JohnyR,
can you please share the identity of your device? I just used the code available for my model to see what values are passed on the 6 GHz being available but might be that different branches of the FW are not compatible.
You'd need a first request sent to Endpoint.HOOK (the second request in general, just after the login) which would look like this:
{
"serial_no":"REDACTED",
"label_mac":"REDACTED",
"lan_hwaddr":"REDACTED",
"wan_hwaddr":"REDACTED",
"productid":"RT-AX88U",
"firmver":"<IP_ADDRESS>",
"buildno":"388.4",
"extendno":"0",
"rc_support":"mssid 2.4G 5G usbX2 update switchctrl manual_stb 11AX pwrctrl WIFI_LOGO nandflash movistarTriple wifi2017 app ofdma wpa3 reboot_schedule ipv6 ipv6pt PARENTAL2 dnsfilter am_addons cake ntpd dnspriv dualwan pptpd openvpnd utf8_ssid printer modem webdav rrsut cloudsync media appnet timemachine hdspindown diskutility nfsd dnssec usb_bk email bwdpi wrs_wbl ookla tor HTTPS letsencrypt ssh vpnc repeater psta wl6 wifi_tog_btn user_low_rssi wifiradar tcode usericon stainfo realip lacp wanbonding wtfast ifttt alexa ipsec_srv mumimo netool cfg_sync no_finiwl betaupg amas bcmwifi bcmhnd mbo conndiag eula proxysta iperf3 gn_wbl amazon_wss account_binding gameMode wireguard ftp_ssl acl96 dhdlog dis11b smart_connect",
"ss_support":"asuswebstorage webdav dropbox ftp samba usb ",
"led_val":"0"
}

and you can get it in the same way as before https://github.com/Vaskivskyi/ha-asusrouter/issues/591#issuecomment-1817996762

@Vaskivskyi, sure:
{
    "serial_no": "-",
    "label_mac": "-",
    "lan_hwaddr": "-",
    "wan_hwaddr": "",
    "productid": "RT-AXE95Q",
    "firmver": "<IP_ADDRESS>",
    "buildno": "388",
    "extendno": "23759-gfd1c030",
    "rc_support": "mssid 2.4G 5G update usbX1 switchctrl manual_stb 11AX pwrctrl WIFI_LOGO nandflash movistarTriple wifi2017 app ofdma wpa3 reboot_schedule ipv6 ipv6pt PARENTAL2 dnsfilter dnspriv dualwan pptpd openvpnd utf8_ssid printer modem webdav rrsut cloudsync media appnet timemachine hdspindown diskutility dnssec usb_bk frs_feedback dblog email 5G-2 bwdpi wrs_wbl ookla HTTPS letsencrypt ssh vpnc vpn_fusion repeater psta wl6 user_low_rssi tcode usericon cfg_wps_btn stainfo cloudcheck realip ifttt alexa ipsec_srv mumimo netool cfg_sync no_finiwl fupgrade afwupg betaupg amas amas_bdl bcmwifi bcmhnd mbo conndiag eula proxysta iperf3 wifi6e account_binding wireguard ftp_ssl acl96 hnd_ax_675x dhdlog dis11b smart_connect",
    "ss_support": "asuswebstorage webdav dropbox ftp samba usb ",
    "led_val": "1"
}

Hm. That would explain why it didn't work with the last update. Your device has 5G-2 in the supported services and not the key for the WiFi 6E support. That's weird. I will then just do a check for the device model. Unfortunately, that would mean that the fix will only work for this type of device, not for other 3-bands with 2.4, 5 and 6 GHz support

@JohnyR, 0.25.0 should fix it for your device model, hopefully. Give it a try


daemon: register warning_error metric after parsing CLI options

As the logger was being setup in an init function, and since the metrics
are only enabled after parsing the configuration flag, the default
metrics function being used was a NoOp which was causing the metric from
not being reported.
Fixes: 0fec218c33ff ("pkg/metrics: set all metrics as a no-op unless they are enabled")
Signed-off-by: André Martins<EMAIL_ADDRESS>

This change is

Coverage decreased (-0.05%) to 44.08% when pulling c9d781ac18861a1751cda14ee4f7f6701b4b66b5 on pr/fix-missing-metric into 030ceacbcccf4048062db29457491122f0afc0a1 on master.

test-me-please

test-me-please


fix extra parameters params for the links

I'm using kaminari with sinatra on a project and I need to use extra parameters with the pagination links. The kaminari documentation describes this here https://github.com/kaminari/kaminari#extra-parameters-params-for-the-links. Unfortunately this doesn't seem to be working with the sinatra gem in my project (I didn't test a vanilla application).
I did some digging and this patch fixed the problem for me. I'm not sure it is the best solution since merging the idea of current_params and extra_params might be confusing but this was the fix with the least impact on the existing code so I thought I would start here. I'm happy to go further with some guidance from a maintainer.
Also the tests crashed on my machine so hopefully travis still runs.

Travis is failing with the same error I see locally :disappointed:

Just noticed I am still on my branch for this, any interest in getting this merged?


error running 1.2.1 app on 1.2.0

With Java 7, I'm getting:
:ceylon-dart-language:compileCeylonDart
Exception in thread "main" ceylon.language.AssertionError "Module com.vasileff.ceylon.dart.compiler/1.2.0-DP2-SNAPSHOT is not available"
	at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.checkModule(Metamodel.java:1872)
	at com.vasileff.ceylon.dart.compiler.loader.DartModuleManager.initCoreModules(DartModuleManager.ceylon:52)
...
	at com.redhat.ceylon.launcher.Bootstrap.run(Bootstrap.java:55)
	at com.redhat.ceylon.launcher.Bootstrap.main(Bootstrap.java:32)

but, no exception occurs when running on Java 8.
The line of code that is failing is:
        value languageModuleVersion = `module`.version;

Unfortunately, the exception only happens when I launch from a gradle script. If I run the exact same command from bash, it works on both 7 and 8. The command is:
ceylon run --rep /Users/jvasileff/Dropbox/Repos/jv/ceylon-dart/ceylon-dart-compiler/build/modules-jvm/main --run com.vasileff.ceylon.dart.compiler::bootstrapCompile com.vasileff.ceylon.dart.compiler/1.2.0-DP2-SNAPSHOT /Users/jvasileff/Dropbox/Repos/jv/ceylon-dart/ceylon-dart-language/source /Users/jvasileff/Dropbox/Repos/jv/ceylon-dart/ceylon-dart-language/build/modules-dart/main

I realize this isn't a great bug report, but it's the best I've got right now.

Ok, this is not necessarily a bug. But I'll leave the issue open in case there's room for a better error message.
What was happening is that gradle supports a daemon mode for fast startup, and when I was using Java 7, the pre-existing daemon process that was used had env. vars for Ceylon 1.2.0, not 1.2.1.
Bottom line: when you try to use Ceylon 1.2.0 to run a 1.2.1 app, it may sort-of-work until you try to use the metamodel, and then you get the exception above. Part of the problem may be that the app imports the typechecker and other internal stuff.

In theory, you can't run 1.2.1 apps with 1.2.0, right @tombentley ?

Indeed you can't run 1.2.1 modules on 1.2.0 (in 1.2.1 you'll be able to run 1.2.0 modules).
Given that it's too late to fix the error message in 1.2.0 when trying to run something else, the only question that remains is whether the error you get in 1.2.1 when trying to run 1.2.2 modules is any better. There are tests for that in compiler-java /.../CompatTests, so I think we can close this.


overflow trigger icon is not right aligned when no header-actions div exists

Select one ...  (check one with "x")
[x ] bug
[ ] feature request
[ ] enhancement

Expected behavior
When in sub 768px mode, the responsive navigation level 2 trigger button should be right aligned.
Actual behavior
The overflow trigger icon hugs the app title
Reproduction of behavior
Repro is trivial, just remove the header-actions div from the DOM
Environment details

Angular version: 2.0.X
2.4.1

Clarity version:
0.8.1

OS and version:
macOS 10.12

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Only tested in Chrome

Thanks for reporting this @elesueur. I will investigate and try to get this fixed soon.


URL in Docs doesn't match the one in Repo

The URL for Manual Mocks in the Docs uses an underscore which leads to Github's 404 page because the actual URL uses dashes.
Docs

Repo

Can you send a pull request with a fix? :) The docs are in this repo and the website has an edit link even.

The website now shows the correct link. Thanks!


Information on page is wrong

Connect to Azure Data Lake Storage Gen2 or Blob Storage using Azure credentials
The following credentials can be used to access Azure Data Lake Storage Gen2 or Blob Storage:
The page implies that the 3 options that are listed below apply on ADLS Gen2 and Blob Storage. However, it doesn't seem to be possible to connect to Blob Storage using a Service Principle.

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

ID: 05ac122e-f471-be41-1f4a-4df605413ad1
Version Independent ID: 05ac122e-f471-be41-1f4a-4df605413ad1
Content: Connect to Azure Data Lake Storage Gen2 and Blob Storage - Azure Databricks
Content Source: databricks/storage/azure-storage.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@NLVSTE1
Thanks for your feedback! We will investigate and update as appropriate.

@kateglee-db
Could you please review add comments on this, update as appropriate.

Thanks for providing feedback that helps improve our documentation. We've created an internal work item (DOC-11884) to address your feedback. The timeline for resolution varies based on resourcing.
#please-close


evaluator

The evaluator needs some instructions on how to use it.
I'm testing the evaluator but the read_activations function does not accept the reference dataset.
python evaluations/evaluator.py datasets/airplane.npz datasets/airplane.npz
The above command throws the below error:
ValueError: missing arr_0 in npz file
Can you also advise on the right format for samples? Its not very clear from the code.

Also. the sample.py does not save any samples anywhere.
sample_all = bin_pen(sample_all, args.pen_break)
print(f"sample all {sample_all} is saved!")

This code seems to be printing the whole vector ?

Please use the correct method to read and use npz files. If you are not familiar with the relevant methods, please learn the relevant APIs yourself, such as: https://numpy.org/doc/stable/reference/generated/numpy.savez.html、
https://numpy.org/doc/stable/reference/generated/numpy.savez_compressed.html

The evaluator needs some instructions on how to use it.

Here are the ways to use scripts for your reference: https://github.com/XDUWQ/SketchKnitter#evaluation

I am following the script from your readme file, however that exact script creates the error I mentioned earlier.
Are you suggesting that I need to load and savez the dataset before calling **python evaluations/evaluator.py  [/path/to/reference-data] **
I assumed from your script that the [/path/to/reference-data] argument would accept the dataset automatically.


I have serious slowness problems. Popups, scroll, inputs.

I have serious slowness problems. Popups, scroll, inputs.
I'm using f7 + vue
Any solution?

iOS version?

Your issue is closed because it is not filled correctly. Before you open an issue please review the contributing guideline.
Please fill the issue template correctly and:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with isssue

It will save a lot of time for other contributors to check your issue and fix it.

iOS version?

Android


feat: automatically create schedules to materialise partitioned assets dynamically

This PR closes #2119 and unblocks the merging of #2110 by enhancing the dlt_factory decorator by automatically creating daily schedules for assets with partition_def. The key features include:

Daily Schedule & Weekly Job: It sets up a daily schedule for the asset and a job that materializes weekly on Sunday. Partitions that are already materialized are skipped.

Custom Tagging: The dlt_factory decorator now adds a custom tag (opensource.observer/extra -> partitioned-assets) to Dagster assets to indicate they are partitioned.

Job Creation: An internal job is created using the provided partition and is included in the AssetFactoryResponse.

RunRequest & ScheduleDefinition: The definitions are loaded to create RunRequests for the partitions, which are used to build ScheduleDefinition. Partitions that are already materialized are filtered out.

Merging Schedules: The dynamically generated schedules are then merged with schedules from all_assets_job and passed to the main Dagster definition.

/test-deploy 56ffaeb5bd50eb3d4b3253dc7da8a3b21e1f09aa


D435 芯片型号

您好，麻烦问下相机内部芯片的型号。

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>

The ASIC inside D400 product lines is D4.


🐛 [cloud_firestore] Expected a value of type 'FieldPath', but got one of type 'LegacyJavaScriptObject'

Bug report
Describe the bug
After updating to cloud_firestore: 4.4.0, the update method is not working.
final Map<FieldPath, dynamic> data = {
        FieldPath.fromString('test'): 'test',
        FieldPath.fromString('value'): 1234,
      };
FirebaseFirestore.instance.collection('testCollection').update(data);

Expected behavior
Should not give this error "Expected a value of type 'FieldPath', but got one of type 'LegacyJavaScriptObject'".
Flutter doctor
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.8, on macOS 12.6.3 21G419 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.75.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Click To Expand
firebase_core: 2.5.0
cloud_firestore: 4.4.0

Please do test this on all the platforms also, not just the test cases.

I face the same issue, too. It started happening after I switched to cloud_firestore: 4.4.0. (I also upgraded all other firebase packages I use).
All methods stays the same, nothing is changed.
add() , get() , set() all working, the only problem is with the update().
I am developing for the web platform.
Flutter doctor:
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
[√] Android Studio (version 2022.1)
[√] VS Code (version 1.75.1)
[√] Connected device (3 available)
[√] HTTP Host Availability```

I can verify the error too
It seems it related to this PR
More specifically https://github.com/firebase/flutterfire/pull/10388/files#diff-4f492214e4a65ffeb40aac41adc7570e0c07db1d3acc74d3e3a68c923b07a1b0R24 this function should have the following signature (firestore_interop.FieldPath instead of FieldPath)
  static Map<firestore_interop.FieldPath, dynamic>? encodeMapDataFieldPath(
      Map<Object, dynamic>? data) {
    if (data == null) {
      return null;
    }
    Map<firestore_interop.FieldPath, dynamic> output =
        <firestore_interop.FieldPath, dynamic>{};
    data.forEach((key, value) {
      output[valueEncode(key)] = valueEncode(value);
    });
    return output;
  }

But there is a second problem too after modifying the code to this.
https://github.com/firebase/flutterfire/blob/master/packages/cloud_firestore/cloud_firestore_web/lib/src/interop/firestore.dart#L370
the updateDoc call does not support [firestore_interop.FieldPath values inside a json object.
Valid usage: updateDoc(docRef, fieldPath, data)
Invalid usage:
updateDoc(docRef, {fieldPath: value`})

I would suggest to allow FieldPath type in dart side but to transform this value into a string separated by dots for the web part

I can verify this error as well. I was unable to build the project after downgrading back to 4.3.2 turns out the problem is in cloud_firestore_platform_interface: 5.11.0.
Editing pubspec.lock manually and fetching cloud_firestore_platform_interface: 5.10.2, works for now.

Is there a chance we get a hotfix for this bug? I can not manage to keep on working on the project.
update() is needed at many points.
No solution worked for me:

Since the method still expects Map<Object, Object?> data, I cannot place FieldPath directly as a parameter.
Turning map object keys into FieldPath does not work either, it gives the same error.
Even if I downgraded cloud_firestore back to 4.3.2 and manually changed the version of  cloud_firestore_platform_interface to 5.10.2, I could not make it run. It reverts back to 5.11.0 when I try to build or run the project.

Help needed.

For now, we are using the older version of cloud_firestore by overriding it in dependency_overrides:
dependency_overrides:
  cloud_firestore: 4.3.2
  cloud_firestore_platform_interface: 5.10.2
  cloud_firestore_web: 3.2.2

I guess your model is partly absent or extra , can you try .set instead of .update method ?

Thanks for the report and findings. Seeing the same error upon running using plugin example with latest version.
https://github.com/firebase/flutterfire/issues/10451#issuecomment-1430522535
Related error:
cloud_firestore-4.4.0/lib/src/document_reference.dart:177:76: Error: The argument type 'Map<FieldPath, dynamic>' can't be
assigned to the parameter type 'Map<String, dynamic>'.

/cc @Lyokone for attention.

Thanks for the report, I'm investigating

This PR is fixing the bug; I'm investigating why it was not caught by e2e tests.

Any fix?

@deepak-agendaboa, thank you for your help!
For now we have the downgrade left.
dependency_overrides:   cloud_firestore: 4.3.2   cloud_firestore_platform_interface: 5.10.2   cloud_firestore_web: 3.2.2

any fix?

Fix will be released today

Hello, I also have the same problem, (I tested web and native macOS, the problem only occurs on the web platform).
I tried to update now via command
flutter pub upgrade firebase_core firebase_auth firebase_storage cloud_firestore
I saw that it will be fixed today, but there is still no fix available, I'm following this issue, as soon as someone manages to update, share it here, please
Thanks

It was released as part of the latest cloud_firestore_web version. Updating to cloud_firestore 4.4.1 will contain the update.

Was this tested with values of FieldValue.arrayUnion(...)? Now instead of the error in the title of this issue, I'm seeing Function updateDoc() called with invalid data. Unsupported field value: a custom _FieldValueArrayUnion object . I'll open a new ticket 😞

I can verify the comment above. I face the same issue when FieldValue.delete() is used.
Here is the function:
... .collection.doc("myDoc").update({'myField.myNestedField': FieldValue.delete()});

Here is the error:
Function updateDoc() called with invalid data. Unsupported field value: a custom _FieldValueDelete object
(found in field 'myField.myNestedField' in document myDoc)

Shall we open a new issue or reopen this one and continue here?

Thank you @Lyokone  😊👍, After Updating to version 4.4.1 it resolved here, in some places it is still triggering the following error (only for the web platform):
"Function updateDoc() called with invalid data. Unsupported field value: a custom LinkedMap object (found in field Status in document Filiais/1)"
I've seen an old thread regarding a similar error on:
https://stackoverflow.com/questions/48156234/function-documentreference-set-called-with-invalid-data-unsupported-field-val
I'm seeing if this resolves the other errors, although I find it odd that it works on native macOS and doesn't work on the web
I'm still going to keep an eye on this topic because it may have updates that solve the other problems
Thanks


Gradient Error (No gradient defined for operation 'bilateral_layer_1/Lu_10' (op type : Lu)) in CRFLayer

The issue is from the new refined UNet v3.0 which i try to train my dataset on.
the link to the repo of that model is here:
https://github.com/92xianshen/refined-unet-v3
I am working on this code on Jupyter notebook for my convenience.
I design the Unet architecture code based on the architecture given in this UNet.py file of repo.
I am training this model on the data of pets dataset (oxford-iiit-pets dataset) whose link is given below:
https://www.kaggle.com/datasets/tanlikesmath/the-oxfordiiit-pet-dataset
The data from the dataset is categorized into training and validation dataset already.
The Jupyter Notebook named Fresh_Unet3 is attached.
The problem is that the whole code runs successfully and model also got compiled, model summary obtained, but when i try to fit the model, it gives error which is:
StagingError: in user code:
File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\keras\engine\training.py", line 1284, in train_function  *
    return step_function(self, iterator)  #here
File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\keras\engine\training.py", line 1268, in step_function  **
    outputs = model.distribute_strategy.run(run_step, args=(data,))  #here
File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\keras\engine\training.py", line 1249, in run_step  **
    outputs = model.train_step(data)  #here
File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\keras\engine\training.py", line 1054, in train_step
    self.optimizer.minimize(loss, self.trainable_variables, tape=tape)  #here
File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\keras\optimizers\optimizer.py", line 542, in minimize
    grads_and_vars = self.compute_gradients(loss, var_list, tape)  #here
File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\keras\optimizers\optimizer.py", line 275, in compute_gradients
    grads = tape.gradient(loss, var_list)  #here

LookupError: No gradient defined for operation'bilateral_layer_1/Lu_10' (op type: Lu). In general every operation must have an associated<EMAIL_ADDRESS>for correct autodiff, which this op is lacking. If you want to pretend this operation is a constant in your program, you may insert `tf.stop_gradient`. This can be useful to silence the error in cases where you know gradients are not needed, e.g. the forward pass of tf.custom_gradient. Please see more details in https://www.tensorflow.org/api_docs/python/tf/custom_gradient.

The library versions are as follows:
python = 3.9.6
tensorflow = '2.12.0'
keras = '2.12.0'
I am attaching zip file containing Jupyter Notebook of the file i'm working on and a Python file named CRFLayer.py which contains the code of CRF.
UNET_MODELv3.zip
According to me, the error could be in the BilateralLayer class inside CRFLayer.py file.
Please provide your valuable suggestions and solution to this problem.

Hi @rishabh316 ,
It might be possible that any of the Op may not have gradient implementation and you are trying to calculate the gradient for it. Please cross check it once. I am attaching the lost of raw_ops in tensorflow with the status of gradient. Please cross check whether any of your Op falling under the category of No Gradient implementation.
Also tf.gradients valid only in graph context. I recommend to use tf.GradientTape  instead which is best suitable for Tf2.x versions.
Thanks!

Hi @rishabh316 ,
It might be possible that any of the Op may not have gradient implementation and you are trying to calculate the gradient for it. Please cross check it once. I am attaching the lost of raw_ops in tensorflow with the status of gradient. Please cross check whether any of your Op falling under the category of No Gradient implementation.
Also tf.gradients valid only in graph context. I recommend to use tf.GradientTape  instead which is best suitable for Tf2.x versions.
Thanks!

Thanks for your response and suggestions sir.
Is there any way i can apply this CRFLayer by doing some modifications to the model.

My issue got solved as i defined my custom gradient for that layer whose op type does not have pre-defined gradient given by tensorflow. Thanks for your suggestion.


tests/acme: check consistent account hash

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I've added yet another check for the legacy default behaviour of NixOS<=23.11 in https://github.com/flyingcircusio/nixpkgs/tree/acme-accounts-compatibility-hash 100d31317cfe26d944f0f6f2bcb6a3e81a2bdd53
(also had to rebase to latest master to pull in #317257)

I've added yet another check for the legacy default behaviour of NixOS<=23.11 in https://github.com/flyingcircusio/nixpkgs/tree/acme-accounts-compatibility-hash 100d313
(also had to rebase to latest master to pull in #317257)

Perhaps for what you are testing, you could simply check if the accounts folder contains > 1 subfolder after this test succeeds. It will give you a bit more portability - you won't need two hardcoded hashes in the test.

@m1cr0man No, that won't be sufficient. I don' just want to check for the behaviour that setting the option to null gets me a different account, but I need to verify that the hash itself does not change over time. Because a change in account data will trigger a re-registration, this is what matters. So hardcoding the 2nd hash as well is mandated here.
I guess I'll open a follow-up PR then with the additional test case.


[INTERNAL] core.Control.extend: fix renderer sample in description

The sample in the .extend description had many issues:

renderer object needs to be defined outside of metadata
Missing apiVersion: 2 flag to actually make use of semantic rendering APIs
Use of non-existent APIs: openTag and closeTag

Fixed the snippet accordingly.

Thank you for the fix, @boghyon .
I've slightly modified the text in the JSDoc and the commit message. Originally, apiVersion was not mentioned by intention, as we didn't want to encourage it at that point in time. But there is no more reason not to promise it.


Error: error:0909006C:PEM routines:get_name:no start line

Error: error:0909006C:PEM routines:get_name:no start line
at Sign.sign (internal/crypto/sig.js:80:26)
at RSASHA1.getSignature (e:\nodejs-projects\hello-worlds\node_modules\xml-crypto\lib\signed-xml.js:91:22)
at SignedXml.calculateSignatureValue (e:\nodejs-projects\hello-worlds\node_modules\xml-crypto\lib\signed-xml.js:414:32)
at SignedXml.computeSignature (e:\nodejs-projects\hello-worlds\node_modules\xml-crypto\lib\signed-xml.js:738:8)
at otpRequest (e:\nodejs-projects\hello-worlds\index.js:89:6)
at Layer.handle [as handle_request] (e:\nodejs-projects\hello-worlds\node_modules\express\lib\router\layer.js:95:5)
at next (e:\nodejs-projects\hello-worlds\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (e:\nodejs-projects\hello-worlds\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (e:\nodejs-projects\hello-worlds\node_modules\express\lib\router\layer.js:95:5)
at e:\nodejs-projects\hello-worlds\node_modules\express\lib\router\index.js:281:22

Hello @yaronn
I am experiencing this error too and it's driving me crazy. While I don't expect that you trouble shoot stuff for me, can you give me an hint about what may be wrong? Thank you!

@git-nikhilbhardwaj @mcorossigo I'm having the same issue. Did you ever resolve it?

@git-nikhilbhardwaj , @mcorossigo , @jasonhjohnson , could any of you please provide version numbers and example code of your problem? Even better would be a PR with a test that fails.


FASTER COPIES: use rsync

Thanks.
For this I prefer to have something separate from the copy command.
May be direct API like rsync just like copy.

That would require a lot of code duplication. With this implementation copy 'just works'.
That said, we could also have a rsync call to copy whole directories. But I haven't felt the need for that just yet.
—
Sent from Mobile,
I shalt be brief
On Mon, Mar 30, 2015 at 1:21 AM, Arunoda Susiripala
<EMAIL_ADDRESS>wrote:

Thanks.
For this I prefer to have something separate from the copy command.
May be direct API like rsync just like copy.
Reply to this email directly or view it on GitHub:
https://github.com/arunoda/nodemiral/pull/13#issuecomment-87537123

I'm actually using this in a meteor-up fork where I send the app tgz processed with GZIP='--rsyncable' with minimal code change.
I don't think this method can be significantly slower than plain scp.
—
Sent from Mobile,
I shalt be brief
On Mon, Mar 30, 2015 at 1:34 AM, null<EMAIL_ADDRESS>wrote:

That would require a lot of code duplication. With this implementation copy 'just works'.
That said, we could also have a rsync call to copy whole directories. But I haven't felt the need for that just yet.
—
Sent from Mobile,
I shalt be brief
On Mon, Mar 30, 2015 at 1:21 AM, Arunoda Susiripala
<EMAIL_ADDRESS>wrote:

Thanks.
For this I prefer to have something separate from the copy command.
May be direct API like rsync just like copy.
Reply to this email directly or view it on GitHub:
https://github.com/arunoda/nodemiral/pull/13#issuecomment-87537123


std::ranges don't work with integers

I tried to create an integer-map.
frozenca::BTreeMap<int, int, 64> map;
map.emplace(0, 0);

fc_btree.h(916,24): error C2672: 'operator __surrogate_func': no matching overloaded function found
It comes from std::ranges::find_if_not()

Should be fixed in eacef64

Compiling with zero errors!


🐛 Fix TestReconcileForCluster unit test

What this PR does / why we need it:
Fixes the TestReconcileForCluster intermittent failure by not re-using a test artifact after it has conditions added to it. It's not ideal that we mutate some of these test resources, but I'm avoiding a larger refactor here to get the tests passing reliably.
Which issue(s) this PR fixes:
Fixes #220
Thanks to @dmvolod for pointing out that go test -count=2 ./controllers/helmchartproxy/... makes this bug occur all the time. This allowed me to debug it. (Removing t.Parallel() also triggers the failure.)

/lgtm


Surface Error class constructors

The error instances should be surfaced/exposed so that when an error occurs, handling logic can differ between errors
// ... load db
try {
  await db.push("/test1","super test");
  // something else that raises its own DatabaseError instance unrelated to node-json-db
} catch (err) {

  // This is the current way to deduce error but is prone to false positives if the error wasn't given
  if (err.constructor.name === 'DatabaseError') {
    // ...
  }
}

Where as if Error classes are exposed, the check is less prone to false positives
import { DatabaseError as JsonDatabaseError/*, ... */ } from 'node-json-db';
// ... load db
try {
  await db.push("/test1","super test");
  // something else that raises its own DatabaseError instance unrelated to node-json-db
} catch (err) {
  if (err instanceof JsonDatabaseError) {
    // ...
  }
}

That would be a great QoL improvement.
You can open an MR for it akin to this:
https://github.com/Belphemur/node-json-db/pull/462
I'll accept it and merge it :)


Fix Invalid reference warning for functions passed as arguments

Purpose

Fixes a warning appearing when a function that is passed as a argument is referred to in documentation.

Fixes #21527
@dulvinw Please review.
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Closing PR as the comment by @dulvinw on issue #21527


⚠ Bofrost.com has degraded performance

In 2014e7e, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 8143 ms

Resolved: Bofrost.com performance has improved in 8fc6632.


How do I confirm musikcube is using alsa?

I don't think my musikcube install is using alsa.
How do I know? Well, I installed strawberry and have configured it to use alsa (+ using my DAC + hw 0:0).  I have to stop the Youtube playback first before strawberry starts playing music. If I play on strawberry first and then try to play a Youtube video, the Youtube video is silent.
If I do same with musikcube, I can hear sound from both musikcube and Youtube.
Any ideas? Thanks
(card 0 is my DAC)
[myuser@fedora ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Series [Mini-i Series], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [Dell AW3821DW]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0

Output driver: alsaout
Output device:  I've tried everything you can see on the screenshot. (there's a few more HDMI ones but I think those refer to my AMD video card. Also, "front:CARD=series,dev=0" up to "iec958:CARD=series,dev=0" only shows up if I turn on the DAC)

I can see from the screenshot that you're using alsa -- the output driver is set to AlsaOut -- but I see that your alsa configuration can seemingly render to pipewire. I'm not exactly sure how that works, though.
All that said, I'm a little confused by the problem. The issue is you only one want app to be able to play music at the same time? In other words, you don't want to hear musikcube playing while youtube does?


DOC: Flex boxs and Footer

What's wrong with the existing documentation

On the website, we can observe that on the 3rd page, the flex items are not aligned perfectly, and the hover effect is not working properly. When hovering, the text does not fit on the screen and zooms in too much.

The list items in the footer are not aligned correctly, and the list symbols are not hidden.

Add ScreenShots

223f-73ca-404e-963e-ab6069dee19b)

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Sure, please work on it @nileshsn

I Can also do that.
Please assign this issue to me so that I can start working over it

I successfully resolved the issues I was assigned to, Thank you @Its-Aman-Yadav

Footer is not align properly I can do that.
Please assign this issue to me so that I can start working over it


Show suggestions from n-th character

It would be great if we could set the autocompleter to make suggestions only after you type n-th letters of a word. E.g. from 3rd character, fu wouldn't trigger autocomplete, while fun would.
This is useful when you have 1-2 letter snippets, and both autocomplete and snippets are triggered/ confirmed via tab key (I know you can map custom keys, but it's useful to use just one).

This package is deprecated and no longer shipped with Atom. If this is still an issue using the autocomplete-plus package, please open up a new issue on that repository, thanks.


Remove useless warning when closing a connection

Websocket can print a useless warning while the connection closes if the other side closes the socket first (ConnectionResetError). This commit removes this warning if the state is CLOSING or CLOSED.

I believe it shouldn't be possible to reach this code path when the connection status is CLOSING or CLOSED. Can you show me how this happens?

In my case, I created a direct port of Puppeteer from JS (node) to Python 3.6 using asyncio (soon to be on GitHub). Puppeteer is Google's tool to control Chrome/Chromium using DevTools via websockets for automated tests. When the tests are done, Puppeteer kills -9 Chrome (no need to ask gently since it uses a temporary profile) and cleans up at the same time (which closes the client websocket). When this happens, the connection is reset while Websocket is in a closing state. I can create a small repro case if you want, without all the bells and whistles.

Okay, this may produce an unexpected result. I should take a look at this.
My only concern is not to let errors pass silently, which could make it harder to diagnose mistakes in the connection handler.

I guess I could additionally explicitly check for ConnectionResetError in the if check.

I get another related error, worse since it's not only a warning but a crash. Sometimes, instead of a ConnectionReset, I do get a connection_lost(), which puts the state = State.CLOSED. Then (almost simulteneously), write_frame(OP_CLOSE, frame_data) fails, since there's an InvalidState check in protocol.py, line 642.

@mattpepin Can you test if #389 solves the problem which the first commit in your PR addresses?
I don't want silence all exceptions in the CLOSING or CLOSED state because they can contain useful debug information about why the connection died. That's the only way to know when a websocket connection handler raises an exception.
The problem targeted by your second commit was fixed in 402059e4a46a764632eba8a669f5b012f173ee7b.

Yes, of course. Not sure if I'll have time tomorrow, but I will report back by tuesday!


checking ecs deploy buildkite plugin github to linear zap

This was sent to the linear app through the zap integration successfully.


Update directly-accessing-the-bing-maps-tiles.md

Hello! I'm a user who is reading BingMap Docs.
Response written in document(http://ecn.{subdomain}.tiles.virtualearth.net/tiles/r{quadkey}.jpeg?g=129&mkt={culture}&shading=hill&stl=H) appears when map type is Road.
If you use RoadOnDemand as the map type as written in the document, you will see the response as below.
{
  "authenticationResultCode": "ValidCredentials",
  "brandLogoUri": "https://dev.virtualearth.net/Branding/logo_powered_by.png",
  "copyright": "Copyright © 2024 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.",
  "resourceSets": [
    {
      "estimatedTotal": 1,
      "resources": [
        {
          "__type": "ImageryMetadata:http://schemas.microsoft.com/search/local/ws/rest/v1",
          "imageHeight": 256,
          "imageUrl": "http://ak.dynamic.{subdomain}.tiles.virtualearth.net/comp/ch/{quadkey}?mkt=en-US&it=G,L&shading=hill&og=2390&n=z",
          "imageUrlSubdomains": [
            "t0",
            "t1",
            "t2",
            "t3"
          ],
          "imageWidth": 256,
          "imageryProviders": [
            {
              "attribution": "© 2024 Microsoft Corporation",
              "coverageAreas": [
                {
                  "bbox": [
                    -90,
                    -180,
                    90,
                    180
                  ],
                  "zoomMax": 21,
                  "zoomMin": 1
                }
              ]
            },
            {
              "attribution": "© 2023 TomTom",
              "coverageAreas": [
                {
                  "bbox": [
                    -90,
                    -180,
                    90,
                    180
                  ],
                  "zoomMax": 21,
                  "zoomMin": 1
                }
              ]
            },
            {
              "attribution": "© 2023 Zenrin",
              "coverageAreas": [
                {
                  "bbox": [
                    23.5,
                    122.5,
                    46.65,
                    151.66
                  ],
                  "zoomMax": 21,
                  "zoomMin": 4
                }
              ]
            },
            {
              "attribution": "© 2023 NavInfo",
              "coverageAreas": [
                {
                  "bbox": [
                    18.566,
                    72.846,
                    54.3085,
                    123.972
                  ],
                  "zoomMax": 21,
                  "zoomMin": 6
                },
                {
                  "bbox": [
                    40.0186,
                    123.972,
                    54.3085,
                    136.0872
                  ],
                  "zoomMax": 21,
                  "zoomMin": 6
                }
              ]
            }
          ],
          "vintageEnd": null,
          "vintageStart": null,
          "zoomMax": 21,
          "zoomMin": 1
        }
      ]
    }
  ],
  "statusCode": 200,
  "statusDescription": "OK",
  "traceId": "b3b8e62b034e8ec46f96d51072277146|PUS000DE22|<IP_ADDRESS>"
}

I think it would be good to change the response written in the document.
I'd appreciate it if you could tell me if I made a mistake. Thanks:)

@chldppwls12 - this looks good, thank you.


Hot loop on invalid resource format

If a resource in a bundle is misspecified, smith hot loops.
E1004 04:09:38.667737       1 streamwatcher.go:109] Unable to decode an event from the watch stream: unable to decode watch event: Object 'Kind' is missing in '.....'

It turned out that the error is produced by Unstructured json deserializer that is used to produce runtime.Object while deserializing resources field in Bundle. Cannot fix that, should fix the root cause which is invalid data in the bundle. That is tracked in #141. Leaving open until it is implemented.


Remove Component version from issue template

Now that Firebase 7.0.0 is a single Firebase version
#no-changelog

Sorry for being late to the party. As for me we should remove the component version as we still have a significant amount of developers using previous Firebase version. I would rather mark the field as optional or "if applicable" instead.

My thought was that the usability versus value trade-off isn't justified.  The extra version field will be confusing to 7.x, Carthage, SPM and zip users. And we can almost always determine the component version from the Firebase version, and if we suspect something weird, we need to ask for a Podfile.lock anyway.  I'm happy to chat if you'd like to discuss further.

Now when you explained it it looks reasonable to me. Thanks.


Remove the enable: “false” at the top of the file

Closing in favour of https://github.com/galaxyproject/training-material/pull/1375


Implemented function call without parameters and subselects as fields

Now, the following are valid:
SELECT (SELECT A FROM B) FROM C
SELECT A(B(C())) FROM D
Additions to grammar:
Expression
o "SubSelectExpression"
UserFunction
o "LITERAL LEFT_PAREN RIGHT_PAREN"
This, before, would generate a syntax error.
Also, I included a require directive to coffee-script/register, that is necessary to build via cake build.

Solves #17

Hi sorry, I was away for a few days but this looks good.
Thanks a bunch for the change.


Delete Conversation API does not work

Hello,
I'm trying to run the DELETE API under conversations:
getting the following foreign key reference error:
    raise translated_error from error sqlalchemy.exc.IntegrityError: (sqlalchemy.dialects.postgresql.asyncpg.IntegrityError) <class 'asyncpg.exceptions.ForeignKeyViolationError'>: update or delete on table "conversation" violates foreign key constraint "message_conversation_id_fkey" on table "message" DETAIL:  Key (id)=(79d87f70-4829-41aa-9043-1b61e7888a74) is still referenced from table "message". [SQL: DELETE FROM conversation WHERE conversation.id = $1::UUID] [parameters: ('79d87f70-4829-41aa-9043-1b61e7888a74',)] (Background on this error at: https://sqlalche.me/e/20/gkpj
Any idea how to resolve this?
I have tried to add cascade ON DELETE but alembic migrations are not updating the tables:
class Conversation(Base):
    messages = relationship("Message", back_populates="conversation", cascade="delete, merge, save-update")
    conversation_documents = relationship(
        "ConversationDocument", back_populates="conversation", cascade="delete, merge, save-update"
    )

Any help would be appreciated.

pull request is added to fix the API


Use correct array type for outputs in HybridBlock.forward

Description
Fixes https://github.com/apache/incubator-mxnet/issues/18544

@mxnet-bot run ci [unix-cpu]


AMBARI-21008 Integrate AlertTargetService and subresources with swagger

Change-Id: Icdbc0221f7d66fc27c051b0cacf04534f3875ae4
What changes were proposed in this pull request?
Add swagger documentation to AlertTarget API endpoints
How was this patch tested?
Generate swagger docs by
test -Drat.skip -Dcheckstyle.skip -DskipTests -Dgenerate.swagger.resources

then manually checking Swagger output at ambari-server/docs/api/generated/index.html
checkstyle using:
clean checkstyle:checkstyle -pl ambari-server

API endpoint calls at api/v1/alert_targets have also been tested manually
please review @Jetly-Jaimin @adoroszlai @benyoka

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1091/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1097/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1235/
Test FAILed.
Test FAILured.

@benyoka Can you please review?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1253/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1259/
Test FAILed.
Test FAILured.


fix(autoware_control_evaluator): fix bugprone-exception-escape

Description
This is a fix based on clang-tidy bugprone-exception-escape error.
/home/emb4/autoware/autoware/src/universe/autoware.universe/evaluator/autoware_control_evaluator/src/control_evaluator_node.cpp:49:23: error: an exception may be thrown in function '~ControlEvaluatorNode' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]
ControlEvaluatorNode::~ControlEvaluatorNode()
                      ^

Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@xtk8532704
Can you review the PR?

@xtk8532704
Please confirm the PR. Thank you very much.


test IoU is nan

Thank you for opening the wonderful codes of ENet for us.
When I try to select the "test" mode , the result is like this:
Avg. loss: 13.1708 | Mean IoU: nan
unlabeled: nan
road: nan
sidewalk: nan
building: nan
wall: nan
...
And all the IoUs are nan.
However, when I choose to train the ENet model, the mIoU is normal, but I am sure that the project uses the same iou.py and confusionmatrix.py.
Would you like to explain the reason for me?  Thank you very much!

I see. #8 can perfectly explain the problem.


Add type-safe sync.Pool wrapper

What does this PR do?
Adds a wrapper around sync.Pool that provides type-safety through generics.
Two variants are introduced to create a typed pool:

Uses a default new(T) for the sync.Pool.New function
Uses a user-provided function for sync.Pool.New

Motivation
Increased safety of code and less verbose usage, due to not requiring type-assertions each time Get is called.
Additional Notes
I did not make changes to packages that had their own go.mod files.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Introspection is not being run in CI

In the refactor of the CI playbooks, introspection was inadvertently dropped from the nonHA job. This allowed the IPA ramdisk we build in CI to stop working for introspection. (I am pretty sure we are just missing the python-hardware dependency)
We need to make sure to include introspection on at least one job.

How did it work in the HA, are nonHA and HA not using the same ironic ramdisk images?

@trown  ramdisk error reported in https://github.com/redhat-openstack/tripleo-quickstart/issues/14#issuecomment-192739594
was "failed to run hardware-detect utility: [Errno 2] No such file or directory"
and related journal ends with:
Mar 05 15:19:31 localhost ironic-python-agent[1639]: Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory

So it's not just missing dep, but that ipmi is assumed which doesn't exist in virt nodes?

will be fixed by https://review.gerrithub.io/#/c/265850/

fixed, introspection runs in the nonha job.


pip3 is unable to build wheel for cmsis-pack-manager as part of the requirements.txt on Fedora 37.

I'm not sure where to report this since pip says it's not a pip issue, so please let me know if I should report it somewhere else.
Describe the bug
Running pip3 install --user -r ~/zephyrproject/zephyr/scripts/requirements.txt returns the following error:

Building wheel for cmsis-pack-manager (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for cmsis-pack-manager (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [288 lines of output]

To Reproduce
Steps to reproduce the behavior:

west init ~/zephyrproject
cd ~/zephyrproject
west update
west zephyr-export
pip3 install --user -r ~/zephyrproject/zephyr/scripts/requirements.txt

Expected behavior
A pip3 command runs successfully and the repo is ready to use.
Impact
Unable to build applications with Zephyr.
Logs and console output
pip3 install --user -r zephyr/scripts/requirements.txt
Ignoring windows-curses: markers 'sys_platform == "win32"' don't match your environment
Ignoring python-magic-bin: markers 'sys_platform == "win32"' don't match your environment
Collecting pyelftools>=0.27
  Using cached pyelftools-0.29-py2.py3-none-any.whl (174 kB)
Requirement already satisfied: PyYAML>=5.1 in /home/joshua/.local/lib/python3.11/site-packages (from -r zephyr/scripts/requirements-base.txt (line 11)) (6.0)
Requirement already satisfied: pykwalify in /home/joshua/.local/lib/python3.11/site-packages (from -r zephyr/scripts/requirements-base.txt (line 14)) (1.8.0)
Collecting canopen
  Using cached canopen-2.0.0-py3-none-any.whl (59 kB)
Requirement already satisfied: packaging in /usr/lib/python3.11/site-packages (from -r zephyr/scripts/requirements-base.txt (line 18)) (21.3)
Collecting progress
  Using cached progress-1.6-py3-none-any.whl
Collecting psutil
  Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting pylink-square
  Using cached pylink_square-0.14.3-py2.py3-none-any.whl (82 kB)
Collecting anytree
  Using cached anytree-2.8.0-py2.py3-none-any.whl (41 kB)
Collecting intelhex
  Using cached intelhex-2.3.0-py2.py3-none-any.whl (50 kB)
Requirement already satisfied: west>=0.10.1 in /home/joshua/.local/lib/python3.11/site-packages (from -r zephyr/scripts/requirements-base.txt (line 30)) (0.14.0)
Requirement already satisfied: colorama in /home/joshua/.local/lib/python3.11/site-packages (from -r zephyr/scripts/requirements-build-test.txt (line 7)) (0.4.6)
Requirement already satisfied: ply>=3.10 in /usr/lib/python3.11/site-packages (from -r zephyr/scripts/requirements-build-test.txt (line 10)) (3.11)
Collecting gcovr>=4.2
  Using cached gcovr-5.2-py2.py3-none-any.whl (81 kB)
Collecting coverage
  Using cached coverage-6.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (217 kB)
Collecting pytest
  Using cached pytest-7.2.0-py3-none-any.whl (316 kB)
Collecting mypy
  Using cached mypy-0.991-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.1 MB)
Collecting mock>=4.0.1
  Using cached mock-4.0.3-py3-none-any.whl (28 kB)
Collecting breathe>=4.34
  Using cached breathe-4.34.0-py3-none-any.whl (92 kB)
Collecting sphinx!=5.2.0.post0,~=5.0
  Using cached sphinx-5.3.0-py3-none-any.whl (3.2 MB)
Collecting sphinx_rtd_theme~=1.0
  Using cached sphinx_rtd_theme-1.1.1-py2.py3-none-any.whl (2.8 MB)
Collecting sphinx-tabs
  Using cached sphinx_tabs-3.4.1-py3-none-any.whl (10.0 kB)
Collecting sphinxcontrib-svg2pdfconverter
  Using cached sphinxcontrib_svg2pdfconverter-1.2.1-py3-none-any.whl (8.1 kB)
Collecting pygments>=2.9
  Using cached Pygments-2.13.0-py3-none-any.whl (1.1 MB)
Collecting sphinx-notfound-page
  Using cached sphinx_notfound_page-0.8.3-py2.py3-none-any.whl (8.5 kB)
Collecting sphinx-copybutton
  Using cached sphinx_copybutton-0.5.1-py3-none-any.whl (13 kB)
Collecting pyserial
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting pyocd>=0.29.0
  Using cached pyocd-0.34.2-py3-none-any.whl (13.4 MB)
Collecting tabulate
  Using cached tabulate-0.9.0-py3-none-any.whl (35 kB)
Collecting cbor>=1.0.0
  Using cached cbor-1.0.0-py3-none-any.whl
Collecting gitlint
  Using cached gitlint-0.18.0-py2.py3-none-any.whl (22 kB)
Collecting junit2html
  Using cached junit2html-30.1.3-py3-none-any.whl (15 kB)
Collecting clang-format>=1.13x
  Using cached clang_format-15.0.4-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB)
Collecting lpc_checksum
  Using cached lpc_checksum-3.0.0-py3-none-any.whl (5.1 kB)
Requirement already satisfied: Pillow in /usr/lib64/python3.11/site-packages (from -r zephyr/scripts/requirements-extras.txt (line 19)) (9.2.0)
Collecting imgtool>=1.9
  Using cached imgtool-1.9.0-py3-none-any.whl (27 kB)
Collecting grpcio-tools
  Using cached grpcio_tools-1.50.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB)
Collecting PyGithub
  Using cached PyGithub-1.57-py3-none-any.whl (297 kB)
Collecting graphviz
  Using cached graphviz-0.20.1-py3-none-any.whl (47 kB)
Collecting python-magic
  Using cached python_magic-0.4.27-py2.py3-none-any.whl (13 kB)
Requirement already satisfied: lxml in /usr/lib64/python3.11/site-packages (from -r zephyr/scripts/requirements-compliance.txt (line 6)) (4.9.1)
Collecting junitparser>=2
  Using cached junitparser-2.8.0-py2.py3-none-any.whl (11 kB)
Collecting pylint
  Using cached pylint-2.15.5-py3-none-any.whl (508 kB)
Requirement already satisfied: docopt>=0.6.2 in /home/joshua/.local/lib/python3.11/site-packages (from pykwalify->-r zephyr/scripts/requirements-base.txt (line 14)) (0.6.2)
Requirement already satisfied: python-dateutil>=2.8.0 in /usr/lib/python3.11/site-packages (from pykwalify->-r zephyr/scripts/requirements-base.txt (line 14)) (2.8.2)
Requirement already satisfied: ruamel.yaml>=0.16.0 in /home/joshua/.local/lib/python3.11/site-packages (from pykwalify->-r zephyr/scripts/requirements-base.txt (line 14)) (0.17.21)
Collecting python-can>=3.0.0
  Using cached python_can-4.0.0-py3-none-any.whl (235 kB)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/lib/python3.11/site-packages (from packaging->-r zephyr/scripts/requirements-base.txt (line 18)) (3.0.9)
Collecting future
  Using cached future-0.18.2-py3-none-any.whl
Requirement already satisfied: six in /usr/lib/python3.11/site-packages (from pylink-square->-r zephyr/scripts/requirements-base.txt (line 21)) (1.16.0)
Requirement already satisfied: setuptools in /usr/lib/python3.11/site-packages (from west>=0.10.1->-r zephyr/scripts/requirements-base.txt (line 30)) (62.6.0)
Collecting jinja2
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting attrs>=19.2.0
  Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting iniconfig
  Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting pluggy<2.0,>=0.12
  Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting typing-extensions>=3.10
  Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting mypy-extensions>=0.4.3
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting docutils>=0.12
  Using cached docutils-0.19-py3-none-any.whl (570 kB)
Collecting sphinxcontrib-applehelp
  Using cached sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
Collecting sphinxcontrib-devhelp
  Using cached sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
Collecting sphinxcontrib-jsmath
  Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.0
  Using cached sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB)
Collecting sphinxcontrib-serializinghtml>=1.1.5
  Using cached sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB)
Collecting sphinxcontrib-qthelp
  Using cached sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
Collecting snowballstemmer>=2.0
  Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
Requirement already satisfied: babel>=2.9 in /usr/lib/python3.11/site-packages (from sphinx!=5.2.0.post0,~=5.0->-r zephyr/scripts/requirements-doc.txt (line 4)) (2.10.3)
Collecting alabaster<0.8,>=0.7
  Using cached alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting imagesize>=1.3
  Using cached imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB)
Requirement already satisfied: requests>=2.5.0 in /usr/lib/python3.11/site-packages (from sphinx!=5.2.0.post0,~=5.0->-r zephyr/scripts/requirements-doc.txt (line 4)) (2.28.1)
Collecting docutils>=0.12
  Using cached docutils-0.17.1-py2.py3-none-any.whl (575 kB)
Collecting sphinx-tabs
  Using cached sphinx_tabs-3.4.0-py3-none-any.whl (10.0 kB)
Collecting jinja2
  Using cached Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting capstone<5.0,>=4.0
  Using cached capstone-4.0.2-py2.py3-none-manylinux1_x86_64.whl (2.1 MB)
Collecting cmsis-pack-manager<1.0,>=0.4.0
  Using cached cmsis-pack-manager-0.4.0.tar.gz (43 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting intervaltree<4.0,>=3.0.2
  Using cached intervaltree-3.1.0-py2.py3-none-any.whl
Collecting libusb-package<2.0,>=1.0
  Using cached libusb_package-<IP_ADDRESS>-cp311-cp311-linux_x86_64.whl
Collecting natsort<9.0,>=8.0.0
  Using cached natsort-8.2.0-py3-none-any.whl (37 kB)
Collecting prettytable<4.0,>=2.0
  Using cached prettytable-3.5.0-py3-none-any.whl (26 kB)
Collecting pyusb<2.0,>=1.2.1
  Using cached pyusb-1.2.1-py3-none-any.whl (58 kB)
Collecting gitlint-core[trusted-deps]==0.18.0
  Using cached gitlint_core-0.18.0-py2.py3-none-any.whl (70 kB)
Requirement already satisfied: Click>=8 in /usr/lib/python3.11/site-packages (from gitlint-core[trusted-deps]==0.18.0->gitlint->-r zephyr/scripts/requirements-extras.txt (line 7)) (8.1.3)
Collecting arrow>=1
  Using cached arrow-1.2.3-py3-none-any.whl (66 kB)
Collecting sh>=1.13.0
  Using cached sh-1.14.3.tar.gz (62 kB)
  Preparing metadata (setup.py) ... done
Collecting Click>=8
  Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting arrow>=1
  Using cached arrow-1.2.1-py3-none-any.whl (63 kB)
Collecting sh>=1.13.0
  Using cached sh-1.14.2-py2.py3-none-any.whl (40 kB)
Collecting cbor2
  Using cached cbor2-5.4.3-cp311-cp311-linux_x86_64.whl
Collecting cryptography>=2.4.2
  Using cached cryptography-38.0.3-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB)
Collecting protobuf<5.0dev,>=4.21.6
  Using cached protobuf-4.21.9-cp37-abi3-manylinux2014_x86_64.whl (408 kB)
Collecting grpcio>=1.50.0
  Using cached grpcio-1.50.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB)
Collecting deprecated
  Using cached Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
Collecting pyjwt>=2.4.0
  Using cached PyJWT-2.6.0-py3-none-any.whl (20 kB)
Collecting pynacl>=1.4.0
  Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
Collecting dill>=0.2
  Using cached dill-0.3.6-py3-none-any.whl (110 kB)
Collecting platformdirs>=2.2.0
  Using cached platformdirs-2.5.4-py3-none-any.whl (14 kB)
Collecting astroid<=2.14.0-dev0,>=2.12.12
  Using cached astroid-2.12.12-py3-none-any.whl (264 kB)
Collecting isort<6,>=4.2.5
  Using cached isort-5.10.1-py3-none-any.whl (103 kB)
Collecting mccabe<0.8,>=0.6
  Using cached mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
Collecting tomlkit>=0.10.1
  Using cached tomlkit-0.11.6-py3-none-any.whl (35 kB)
Collecting lazy-object-proxy>=1.4.0
  Using cached lazy_object_proxy-1.8.0-cp311-cp311-linux_x86_64.whl
Collecting wrapt<2,>=1.14
  Using cached wrapt-1.14.1-cp311-cp311-linux_x86_64.whl
Requirement already satisfied: pytz>=2015.7 in /usr/lib/python3.11/site-packages (from babel>=2.9->sphinx!=5.2.0.post0,~=5.0->-r zephyr/scripts/requirements-doc.txt (line 4)) (2022.6)
Collecting appdirs<2.0,>=1.4
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting milksnake<1.0,>=0.1.5
  Using cached milksnake-0.1.5-py2.py3-none-any.whl (9.6 kB)
Requirement already satisfied: cffi>=1.12 in /usr/lib64/python3.11/site-packages (from cryptography>=2.4.2->imgtool>=1.9->-r zephyr/scripts/requirements-extras.txt (line 22)) (1.15.1)
Collecting sortedcontainers<3.0,>=2.0
  Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.1-py3-none-any.whl
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting msgpack~=1.0.0
  Using cached msgpack-1.0.4-cp311-cp311-linux_x86_64.whl
Requirement already satisfied: charset-normalizer<3,>=2 in /usr/lib/python3.11/site-packages (from requests>=2.5.0->sphinx!=5.2.0.post0,~=5.0->-r zephyr/scripts/requirements-doc.txt (line 4)) (2.1.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.11/site-packages (from requests>=2.5.0->sphinx!=5.2.0.post0,~=5.0->-r zephyr/scripts/requirements-doc.txt (line 4)) (3.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.11/site-packages (from requests>=2.5.0->sphinx!=5.2.0.post0,~=5.0->-r zephyr/scripts/requirements-doc.txt (line 4)) (1.26.12)
Requirement already satisfied: pycparser in /usr/lib/python3.11/site-packages (from cffi>=1.12->cryptography>=2.4.2->imgtool>=1.9->-r zephyr/scripts/requirements-extras.txt (line 22)) (2.20)
Building wheels for collected packages: cmsis-pack-manager
  Building wheel for cmsis-pack-manager (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cmsis-pack-manager (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [288 lines of output]
      /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
        warnings.warn(msg, warning_class)
      running bdist_wheel
      running build
      running build_py
      creating build/lib
      creating build/lib/cmsis_pack_manager
      copying cmsis_pack_manager/pack_manager.py -> build/lib/cmsis_pack_manager
      copying cmsis_pack_manager/_version.py -> build/lib/cmsis_pack_manager
      copying cmsis_pack_manager/_native__ffi.py -> build/lib/cmsis_pack_manager
      copying cmsis_pack_manager/_native.py -> build/lib/cmsis_pack_manager
      copying cmsis_pack_manager/__init__.py -> build/lib/cmsis_pack_manager
          Updating crates.io index
         Compiling libc v0.2.137
         Compiling autocfg v1.1.0
         Compiling cfg-if v1.0.0
         Compiling cfg-if v0.1.10
         Compiling log v0.4.17
         Compiling futures v0.1.31
         Compiling byteorder v1.4.3
         Compiling semver-parser v0.7.0
         Compiling either v1.8.0
         Compiling maybe-uninit v2.0.0
         Compiling lazy_static v1.4.0
         Compiling cc v1.0.76
         Compiling scopeguard v1.1.0
         Compiling proc-macro2 v1.0.47
         Compiling unicode-ident v1.0.5
         Compiling fnv v1.0.7
         Compiling quote v1.0.21
         Compiling syn v1.0.103
         Compiling tinyvec_macros v0.1.0
         Compiling rand_core v0.4.2
         Compiling lock_api v0.3.4
         Compiling unicode-bidi v0.3.8
         Compiling tinyvec v1.6.0
         Compiling semver v0.9.0
         Compiling autocfg v0.1.8
         Compiling spin v0.5.2
         Compiling memchr v2.5.0
         Compiling version_check v0.9.4
         Compiling rustc_version v0.2.3
         Compiling once_cell v1.16.0
         Compiling crossbeam-utils v0.7.2
         Compiling slab v0.4.7
         Compiling smallvec v0.6.14
         Compiling memoffset v0.5.6
         Compiling crossbeam-epoch v0.8.2
         Compiling untrusted v0.7.1
         Compiling matches v0.1.9
         Compiling parking_lot_core v0.6.2
         Compiling parking_lot v0.9.0
         Compiling rand_core v0.3.1
         Compiling serde_derive v1.0.147
         Compiling itoa v0.4.8
         Compiling unicase v2.6.0
         Compiling indexmap v1.9.1
         Compiling serde v1.0.147
         Compiling adler v1.0.2
         Compiling rand_chacha v0.1.1
         Compiling unicode-normalization v0.1.22
         Compiling rand_pcg v0.1.2
         Compiling gimli v0.26.2
         Compiling miniz_oxide v0.5.4
         Compiling iovec v0.1.4
         Compiling num_cpus v1.14.0
         Compiling bytes v0.4.12
         Compiling net2 v0.2.38
         Compiling time v0.1.44
         Compiling tokio-sync v0.1.8
         Compiling failure_derive v0.1.8
         Compiling percent-encoding v2.2.0
         Compiling ring v0.16.20
         Compiling tokio-executor v0.1.10
         Compiling mio v0.6.23
         Compiling tokio-io v0.1.13
         Compiling crossbeam-queue v0.2.3
         Compiling http v0.1.21
         Compiling idna v0.1.5
         Compiling tokio-current-thread v0.1.7
         Compiling tokio-timer v0.2.13
         Compiling backtrace v0.3.66
         Compiling hashbrown v0.12.3
         Compiling httparse v1.8.0
         Compiling crossbeam-deque v0.7.4
         Compiling tokio-codec v0.1.2
         Compiling tokio-threadpool v0.1.18
         Compiling percent-encoding v1.0.1
         Compiling unicode-xid v0.2.4
         Compiling tokio-buf v0.1.1
         Compiling string v0.2.1
         Compiling idna v0.3.0
         Compiling form_urlencoded v1.1.0
         Compiling tokio-reactor v0.1.12
         Compiling mio-uds v0.6.8
         Compiling url v1.7.2
         Compiling object v0.29.0
         Compiling hyper v0.12.36
         Compiling rand v0.6.5
         Compiling num-traits v0.2.15
         Compiling base64 v0.10.1
         Compiling tokio-uds v0.2.7
         Compiling tokio-fs v0.1.7
         Compiling tokio-udp v0.1.6
         Compiling tokio-tcp v0.1.4
         Compiling crc32fast v1.3.2
         Compiling try-lock v0.2.3
         Compiling tokio v0.1.22
         Compiling rustc-demangle v0.1.21
         Compiling serde_json v1.0.87
         Compiling want v0.2.0
         Compiling url v2.3.1
         Compiling mime_guess v2.0.4
         Compiling idna v0.2.3
         Compiling h2 v0.1.26
         Compiling http-body v0.1.0
         Compiling futures-cpupool v0.1.8
         Compiling rand_os v0.1.3
         Compiling sct v0.6.1
         Compiling webpki v0.21.4
         Compiling addr2line v0.17.0
         Compiling rand_isaac v0.1.1
         Compiling rand_xorshift v0.1.1
         Compiling rand_hc v0.1.0
         Compiling num-integer v0.1.45
         Compiling rand_jitter v0.1.4
         Compiling encoding_rs v0.8.31
         Compiling ryu v1.0.11
         Compiling rustls v0.16.0
         Compiling itoa v1.0.4
         Compiling webpki-roots v0.17.0
         Compiling publicsuffix v1.5.6
         Compiling ct-logs v0.6.0
         Compiling cookie v0.12.0
         Compiling try_from v0.3.2
         Compiling dtoa v0.4.8
         Compiling mime v0.3.16
         Compiling crossbeam-utils v0.8.12
         Compiling flate2 v1.0.24
         Compiling quick-xml v0.17.2
         Compiling dirs-sys v0.3.7
         Compiling iana-time-zone v0.1.53
         Compiling scoped-tls v0.1.2
         Compiling tokio-core v0.1.18
         Compiling minidom v0.12.0
         Compiling dirs v4.0.0
         Compiling termcolor v1.1.3
         Compiling unicode-width v0.1.10
         Compiling uuid v0.7.4
         Compiling textwrap v0.11.0
         Compiling xdg v2.4.1
         Compiling atty v0.2.14
         Compiling crossbeam-channel v0.5.6
         Compiling vec_map v0.8.2
         Compiling bitflags v1.3.2
         Compiling chrono v0.4.23
         Compiling ansi_term v0.12.1
         Compiling strsim v0.8.0
         Compiling app_dirs v1.2.1
         Compiling synstructure v0.12.6
         Compiling clap v2.34.0
         Compiling pbr v1.0.4
         Compiling tokio-rustls v0.10.3
         Compiling simplelog v0.8.0
         Compiling ctor v0.1.26
         Compiling hyper-rustls v0.17.1
         Compiling failure v0.1.8
         Compiling serde_urlencoded v0.5.5
         Compiling cookie_store v0.7.0
         Compiling reqwest v0.9.24
         Compiling cmsis-pack v0.3.0 (/tmp/pip-install-c1qkro4b/cmsis-pack-manager_a3eb0efd558f4809933816beffb1a4aa/rust/cmsis-pack)
      warning: fields `name`, `description` and `doc` are never read
         --> cmsis-pack/src/pdsc/component.rs:160:5
          |
      159 | pub struct Bundle {
          |            ------ fields in this struct
      160 |     name: String,
          |     ^^^^
      ...
      164 |     description: String,
          |     ^^^^^^^^^^^
      165 |     doc: String,
          |     ^^^
          |
          = note: `#[warn(dead_code)]` on by default
          = note: `Bundle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

         Compiling cmsis-cli v0.3.0 (/tmp/pip-install-c1qkro4b/cmsis-pack-manager_a3eb0efd558f4809933816beffb1a4aa/rust/cmsis-cli)
      warning: `cmsis-pack` (lib) generated 1 warning
         Compiling cmsis-cffi v0.3.0 (/tmp/pip-install-c1qkro4b/cmsis-pack-manager_a3eb0efd558f4809933816beffb1a4aa/rust/cmsis-cffi)
      warning: unused return value of `std::mem::replace` that must be used
         --> cmsis-cffi/src/pack_index.rs:145:13
          |
      145 |             mem::replace(boxed.borrow_mut(), next_state);
          |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = note: `#[warn(unused_must_use)]` on by default
          = note: if you don't need the old value, you can just assign the new value directly

      warning: unused return value of `std::mem::replace` that must be used
         --> cmsis-cffi/src/pack_index.rs:191:13
          |
      191 |             mem::replace(boxed.borrow_mut(), next_state);
          |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = note: if you don't need the old value, you can just assign the new value directly

      warning: `cmsis-cffi` (lib) generated 2 warnings
          Finished release [optimized] target(s) in 44.92s
      copying dylib libcmsis_cffi.so
      Traceback (most recent call last):
        File "/usr/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 244, in build_wheel
          return self._build_with_temp_dir(['bdist_wheel'], '.whl',
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir
          self.run_setup()
        File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 174, in run_setup
          exec(compile(code, __file__, 'exec'), locals())
        File "setup.py", line 66, in <module>
          setup(
        File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 177, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
          dist.run_commands()
        File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
          self.run_command(cmd)
        File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1229, in run_command
          super().run_command(command)
        File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/usr/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 299, in run
          self.run_command('build')
        File "/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1229, in run_command
          super().run_command(command)
        File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/usr/lib/python3.11/site-packages/setuptools/command/build.py", line 24, in run
          super().run()
        File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
          self.run_command(cmd_name)
        File "/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1229, in run_command
          super().run_command(command)
        File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-r1q_p4_3/overlay/lib/python3.11/site-packages/milksnake/setuptools_ext.py", line 88, in run
          func(base_path=base_path, inplace=False)
        File "/tmp/pip-build-env-r1q_p4_3/overlay/lib/python3.11/site-packages/milksnake/setuptools_ext.py", line 276, in build_cffi
          ffi = make_ffi()
                ^^^^^^^^^^
        File "/tmp/pip-build-env-r1q_p4_3/overlay/lib/python3.11/site-packages/milksnake/setuptools_ext.py", line 262, in make_ffi
          from milksnake.ffi import make_ffi
        File "/tmp/pip-build-env-r1q_p4_3/overlay/lib/python3.11/site-packages/milksnake/ffi.py", line 8, in <module>
          _directive_re = re.compile(r'^\s*#.*?$(?m)')
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/__init__.py", line 227, in compile
          return _compile(pattern, flags)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/__init__.py", line 294, in _compile
          p = _compiler.compile(pattern, flags)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/_compiler.py", line 743, in compile
          p = _parser.parse(p, flags)
              ^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/_parser.py", line 980, in parse
          p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/_parser.py", line 455, in _parse_sub
          itemsappend(_parse(source, state, verbose, nested + 1,
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.11/re/_parser.py", line 841, in _parse
          raise source.error('global flags not at the start '
      re.error: global flags not at the start of the expression at position 9
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cmsis-pack-manager
Failed to build cmsis-pack-manager
ERROR: Could not build wheels for cmsis-pack-manager, which is required to install pyproject.toml-based projects

Environment (please complete the following information):

OS: Linux, Fedora 37.
Toolchain: NA
Commit SHA or Version used: 3.2.99

Additional context
Add any other context that could be relevant to your issue, such as pin setting,
target configuration, ...

Duplicate of https://github.com/zephyrproject-rtos/zephyr/issues/51951


Hc 158 refactor

@pymonger @NamrataM i wanted to point out that i hard coded the postfix -0.2.4 to hysds_commons in Dockerfile because in the new pge-base image we soft link all "repos" (ie. hysds_commons, hysds, chimera, etc) to repos with a version number attached to it, i had to mess with the soft links for my new version of hysds_commons to get jobs to work properly.
will make more changes once we create a new version of the pge-base docker image, but that might not be for some time


EOS-28773: hctl drive-state-set command does not work

hctl drive-state-set command is used to explicitly transition
motr storage drive objects. Presently the command fails to
apply sns drive state changes due to wrongly parsing the consul
kv to fetch sdev fid corresponding to the drive.
Solution:

Update consul kv parsing to fetch sdev fid corresponding to the
drive.
Handle SNS state transitions as well.

Signed-off-by: Mandar Sawant<EMAIL_ADDRESS>

[root@ssc-vm-g4-rhev4-0554 ~]# hctl drive-state --json '{"node" : "ssc-vm-g4-rhev4-0554.colo.seagate.com", "source_type" : "drive",  "device" : "/dev/sdb", "state" : "repair"}'
0
2022-02-11 20:25:15,020 [DEBUG] Bound <class 'hax.common.HaxGlobalState'> to an instance <hax.common.HaxGlobalState object at 0x7faf29129240>
2022-02-11 20:25:15,021 [DEBUG] Created and configured an injector, config=<function di_configuration at 0x7faf2de622f0>
2022-02-11 20:25:15,025 [DEBUG] Starting new HTTP connection (1): <IP_ADDRESS>:8500
2022-02-11 20:25:15,027 [DEBUG] http://<IP_ADDRESS>:8500 "GET /v1/kv/eq-epoch HTTP/1.1" 200 91
2022-02-11 20:25:15,034 [DEBUG] http://<IP_ADDRESS>:8500 "PUT /v1/txn HTTP/1.1" 200 219
2022-02-11 20:25:15,035 [INFO] Written to epoch: 2
[root@ssc-vm-g4-rhev4-0554 ~]# hctl status -d
Byte_count:
    critical_byte_count : 0
    damaged_byte_count : 0
    degraded_byte_count : 0
    healthy_byte_count : 0
Data pool:
    # fid name
    0x6f00000000000001:0x32 'sns-pool'
Profile:
    # fid name: pool(s)
    0x7000000000000001:0x51 'default': 'sns-pool' None None
Services:
    ssc-vm-g4-rhev4-0554.colo.seagate.com  (RC)
    [started]  hax        0x7200000000000001:0x7   inet:tcp:<IP_ADDRESS>@24001
    [started]  confd      0x7200000000000001:0xa   inet:tcp:<IP_ADDRESS>@25001
    [started]  ioservice  0x7200000000000001:0xd   inet:tcp:<IP_ADDRESS>@25002
    [started]  ioservice  0x7200000000000001:0x1c  inet:tcp:<IP_ADDRESS>@25003
    [unknown]  m0_client  0x7200000000000001:0x2b  inet:tcp:<IP_ADDRESS>@27001
Devices:
    ssc-vm-g4-rhev4-0554.colo.seagate.com
    [online]  /dev/sdf
    [online]  /dev/sdg
    [online]  /dev/sdh
    [online]  /dev/null
    [online]  /dev/null
    [repairing]  /dev/sdb
    [online]  /dev/sdc
    [online]  /dev/sdd
[root@ssc-vm-g4-rhev4-0554 ~]#

[DEBUG] {ThreadPoolExecutor-0_0} Message #2 received: {"message_type": "M0_HA_MSG_NVEC", "payload": {"node": "ssc-vm-g4-rhev4-0554.colo.seagate.com", "source_type": "drive", "device": "/dev/s[DEBUG] {ThreadPoolExecutor-0_0} KVGET key=m0conf/nodes, kwargs={'recurse': True}
[DEBUG] {ThreadPoolExecutor-0_0} sdev_fid: 0x6400000000000001:0x10
[DEBUG] {ThreadPoolExecutor-0_0} KVGET key=m0conf/sites, kwargs={'recurse': True}
[DEBUG] {ThreadPoolExecutor-0_0} HA broadcast, node: ssc-vm-g4-rhev4-0554.colo.seagate.com device: /dev/sdb state: repair
[DEBUG] {qconsumer-3} Got BroadcastHAStates(group=48, states=[HAState(fid=0x6b00000000000001:0x11, status=REPAIR)], reply_to=<queue.Queue object at 0x7f754430ada0>) message from planner
[INFO] {qconsumer-3} HA states: [HAState(fid=0x6b00000000000001:0x11, status=REPAIR)]
[DEBUG] {qconsumer-3} Broadcasting HA states [HAState(fid=0x6b00000000000001:0x11, status=REPAIR)] over ha_link
[DEBUG] {qconsumer-3} KVGET key=m0conf/sites, kwargs={'recurse': True}
[DEBUG] {qconsumer-3} Setting sdev=0x6400000000000001:0x10 in KV with state=repairing
[DEBUG] {qconsumer-3} KVGET key=m0conf/nodes, kwargs={'recurse': True}
[DEBUG] {qconsumer-3} Broadcasting 1 notes
N  [ha/halon/interface.c:1119:m0_halon_interface_send]  hl=0x7f74ec002790 ep=inet:tcp:<IP_ADDRESS>@24001 epoch=0 tag=27 type=2
N  [ha/halon/interface.c:1119:m0_halon_interface_send]  hl=0x7f74bc001720 ep=inet:tcp:<IP_ADDRESS>@25001 epoch=0 tag=15 type=2
N  [ha/halon/interface.c:1119:m0_halon_interface_send]  hl=0x7f74c400df60 ep=inet:tcp:<IP_ADDRESS>@25002 epoch=0 tag=15 type=2
N  [ha/halon/interface.c:1119:m0_halon_interface_send]  hl=0x7f74c40164e0 ep=inet:tcp:<IP_ADDRESS>@25003 epoch=0 tag=13 type=2

@mssawant @suvratjoshi  can we merge this?


Guppy basecalled FAST5 files

Hi @ArtRand and @mitenjain ,
I  have FAST5 files base called by guppy. Does signal align accepts guppy_base called fast5 files? or is it going to accept guppy base called in the future?
Thanks,
Vahid.

Hi @vahidAK ,
We have an updated version of signalAlign here: https://github.com/UCSC-nanopore-cgl/signalAlign
Give it a try and let us know what you think?

Great! thanks, @mitenjain . I will try and let you know.


@sourceloop/core: Swagger Explorer - Option to hide the APIs

Already there https://github.com/sourcefuse/loopback4-microservice-catalog/tree/master/packages/core#oas
hence closing


Need help getting windows server 2019 working

Prerequisites

[X] Can you reproduce the problem?
[X] Are you running the latest version?

Description
Following the instructions in the README to setup a testing environment with github actions and running commander does not have any output. I've tried a few variations of invoking commander, but all with the same results. The file will download, I can see it with ls, but running /commander --version has no output. I have tried adding it to the path (can confirm it's in the path), but running commander --version has the same results.
Steps to Reproduce
Add a github action with the following config:
https://github.com/mcred/titan/blob/feature/e2e/.github/workflows/test.yml
Inspect output:
https://github.com/mcred/titan/commit/ee26a202ea5218314315bbb387705e97161abc17/checks?check_suite_id=268546125
Expected behavior:
Commander version v1.2.1
Actual behavior: [What actually happened]
No output, failure or exceptions.
Specifications

Version: v1.2.1 commander-windows-amd64
Platform: Windows Server 2019

Hey @mcred,
I think the problem is that the binary is not suffixed with .exe on windows.
On my machine with Windows 10 I couldn't get it working without the suffix.
Could check it if this would fix your problem?

@mcred I added the suffix to the new deployment. If it does not work I will investigate more on this issue

That was the issue! I appreciate the quick feedback. Thanks for putting in all the work for this test runner. It was just what I was looking for.


🚀 Feature: The function of only sharing text

🔖 Feature description
Share text without uploading files
🎤 Pitch
It can be used to share code, Magnet URI scheme, website and key

Pingvin Share is a file sharing platform, but I will look what I can do :)

Moved to #161.