Error Converting SD Model @ 768x768 For Use With ControlNet

I am trying to convert the basic Stable Diffusion v1.5 model downloaded from https://huggingface.co/runwayml/stable-diffusion-v1-5 from diffusers format to coreml original 768x768 for use with ControlNet.
My command line is:
python -m python_coreml_stable_diffusion.torch2coreml --convert-unet --convert-text-encoder --convert-vae-encoder --convert-vae-decoder --unet-support-controlnet --model-version "./diffusers" --bundle-resources-for-swift-cli --attention-implementation ORIGINAL --latent-h 96 --latent-w 96 --compute-unit CPU_AND_GPU -o "./SD15-Original-768x768"
The error message is:
RuntimeError: The size of tensor a (64) must match the size of tensor b (96) at non-singleton dimension 3
Tests runs:
without  --unet-support-controlnet ,  @  512x512  --   OK
without  --unet-support-controlnet ,  @  768x768  --  OK
with     --unet-support-controlnet ,  @  512x512  --  OK
with     --unet-support-controlnet ,  @  768x768  --  FAIL
Pipeline 1 uses:
coremltools 6.2
diffusers 0.14.0
python 3.8
Pipeline 2 uses:
coremltools 6.3
diffusers 0.15.1
python 3.10
Behavior is identical in both pipelines.
Appears to complete
Stable_Diffusion_version_diffusers_vae_decoder.mlpackage
Stable_Diffusion_version_diffusers_vae-encoder.mlpackage
Errors when starting
Stable_Diffusion_version_diffusers_control-unet.mlpackage
Full Terminal output:
(python_playground) jrittvo@M1PRO convert % python -m python_coreml_stable_diffusion.torch2coreml --convert-unet --convert-text-encoder --convert-vae-encoder --convert-vae-decoder --unet-support-controlnet --model-version "./diffusers" --bundle-resources-for-swift-cli --attention-implementation ORIGINAL --latent-h 96 --latent-w 96 --compute-unit CPU_AND_GPU -o "./SD15-Original-768x768"
INFO:main:Initializing StableDiffusionPipeline with ./diffusers..
/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/transformers/models/clip/feature_extraction_clip.py:28: FutureWarning: The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use CLIPImageProcessor instead.
warnings.warn(
text_config_dict is provided which will be used to initialize CLIPTextConfig. The value text_config["id2label"] will be overriden.
INFO:main:Done.
INFO:main:Attention implementation in effect: AttentionImplementations.ORIGINAL
INFO:main:Converting vae_decoder
/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/diffusers/models/resnet.py:127: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
assert hidden_states.shape[1] == self.channels
/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/diffusers/models/resnet.py:140: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
if hidden_states.shape[0] >= 64:
INFO:main:Converting vae_decoder to CoreML..
Converting PyTorch Frontend ==> MIL Ops:   0%|        | 0/426 [00:00<?, ? ops/s]WARNING:main:Casted the beta(value=0.0) argument of baddbmm op from int32 to float32 dtype for conversion!
Converting PyTorch Frontend ==> MIL Ops: 100%|▉| 425/426 [00:00<00:00, 2270.48 o
Running MIL frontend_pytorch pipeline: 100%|█| 5/5 [00:00<00:00, 330.30 passes/s
Running MIL default pipeline: 100%|████████| 57/57 [00:03<00:00, 17.60 passes/s]
Running MIL backend_mlprogram pipeline: 100%|█| 10/10 [00:00<00:00, 671.22 passe
INFO:main:Saved vae_decoder model to ./SD15-Original-768x768/Stable_Diffusion_version_.diffusers_vae_decoder.mlpackage
INFO:main:Saved vae_decoder into ./SD15-Original-768x768/Stable_Diffusion_version._diffusers_vae_decoder.mlpackage
INFO:main:Converted vae_decoder
INFO:main:Converting vae_encoder
/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/diffusers/models/resnet.py:200: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
assert hidden_states.shape[1] == self.channels
/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/diffusers/models/resnet.py:205: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
assert hidden_states.shape[1] == self.channels
INFO:main:Converting vae_encoder to CoreML..
Converting PyTorch Frontend ==> MIL Ops:   0%|        | 0/354 [00:00<?, ? ops/s]WARNING:main:Casted the beta(value=0.0) argument of baddbmm op from int32 to float32 dtype for conversion!
Converting PyTorch Frontend ==> MIL Ops: 100%|▉| 353/354 [00:00<00:00, 2195.42 o
Running MIL frontend_pytorch pipeline: 100%|█| 5/5 [00:00<00:00, 455.95 passes/s
Running MIL default pipeline: 100%|████████| 57/57 [00:02<00:00, 28.16 passes/s]
Running MIL backend_mlprogram pipeline: 100%|█| 10/10 [00:00<00:00, 869.65 passe
INFO:main:Saved vae_encoder model to ./SD15-Original-768x768/Stable_Diffusion_version_.diffusers_vae_encoder.mlpackage
INFO:main:Saved vae_encoder into ./SD15-Original-768x768/Stable_Diffusion_version._diffusers_vae_encoder.mlpackage
INFO:main:Converted vae_encoder
INFO:main:Converting unet
INFO:main:Sample UNet inputs spec: {'sample': (torch.Size([2, 4, 96, 96]), torch.float32), 'timestep': (torch.Size([2]), torch.float32), 'encoder_hidden_states': (torch.Size([2, 768, 1, 77]), torch.float32), 'additional_residual_0': (torch.Size([2, 320, 64, 64]), torch.float32), 'additional_residual_1': (torch.Size([2, 320, 64, 64]), torch.float32), 'additional_residual_2': (torch.Size([2, 320, 64, 64]), torch.float32), 'additional_residual_3': (torch.Size([2, 320, 32, 32]), torch.float32), 'additional_residual_4': (torch.Size([2, 640, 32, 32]), torch.float32), 'additional_residual_5': (torch.Size([2, 640, 32, 32]), torch.float32), 'additional_residual_6': (torch.Size([2, 640, 16, 16]), torch.float32), 'additional_residual_7': (torch.Size([2, 1280, 16, 16]), torch.float32), 'additional_residual_8': (torch.Size([2, 1280, 16, 16]), torch.float32), 'additional_residual_9': (torch.Size([2, 1280, 8, 8]), torch.float32), 'additional_residual_10': (torch.Size([2, 1280, 8, 8]), torch.float32), 'additional_residual_11': (torch.Size([2, 1280, 8, 8]), torch.float32), 'additional_residual_12': (torch.Size([2, 1280, 8, 8]), torch.float32)}
INFO:main:JIT tracing..
/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/python_coreml_stable_diffusion/layer_norm.py:61: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
assert inputs.size(1) == self.num_channels
Traceback (most recent call last):
File "/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/python_coreml_stable_diffusion/torch2coreml.py", line 1282, in
main(args)
File "/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/python_coreml_stable_diffusion/torch2coreml.py", line 1147, in main
convert_unet(pipe, args)
File "/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/python_coreml_stable_diffusion/torch2coreml.py", line 688, in convert_unet
reference_unet = torch.jit.trace(reference_unet,
File "/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/torch/jit/_trace.py", line 794, in trace
return trace_module(
File "/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/torch/jit/_trace.py", line 1056, in trace_module
module._c._create_method_from_trace(
File "/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1488, in _slow_forward
result = self.forward(*input, **kwargs)
File "/Users/jrittvo/miniconda3/envs/python_playground/lib/python3.10/site-packages/python_coreml_stable_diffusion/unet.py", line 972, in forward
down_block_res_sample = down_block_res_sample + additional_residuals[i]
RuntimeError: The size of tensor a (96) must match the size of tensor b (64) at non-singleton dimension 3

Thanks for the report @jrittvo! I pushed a fix for this issue with ControlNet and custom latent dimensions. Please feel free to open a new issue if this issue persists for you or a related issue appears.


This library is emitting to everyone in a particular room AND everyone else not in a room

This is related to this code which doesnt filter out rooms in order to send messages :
// publish
143   if (opts.rooms && opts.rooms.length) {
144     opts.rooms.forEach(function(room) {
145       var chnRoom = chn + room + '#';
146       self.redis.publish(chnRoom, msg);
147     });
148   } else {
149     this.redis.publish(chn, msg);
150   }

Could you please give more details? I'm afraid I don't understand the issue here.


Exec tachikoma update<PHONE_NUMBER>1851

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage decreased (-0.009%) to 99.695% when pulling b9f1d1fa90ed93b20526e067eeba1d00c2267ff3 on pazjacket:tachikoma/update-20160512151851 into 77a776d257a2436999eb722afb99b372b7aa9f95 on hoshinotsuyoshi:master.


Incorrect build steps?

Are these still the correct steps for building Quail?
git clone https://github.com/quailjs/quail.git
cd quail
npm install
bower install
grunt build
I tried on the master branch and got an error about a missing bower.json file.

yeah I'm getting the same thing as well in addition to
Fatal error: Unable to find Gruntfile.

Same here
no bower.json & grunt.json in reposetry

I had the same problem. After poking around a little bit, I found these releases: https://github.com/quailjs/quail/releases
Downloaded the most recent one from Oct 2015, and the install steps listed in the readme worked like a charm. Not sure what's up w/ the current build (perhaps its in a transitional state), but if you're just looking to use the software, this should hopefully solve the problem. :+1:


Permission mixin and login required mixin

all permission need reviews
and some views should have login required mixin

in review app project , organization , department , team model was checked, every thin is ok, just need to work on permisssion

add Login required mixin to all  views that dosnt have permission required mixin

we implement role base access control and login required mixin and permission required mixec add to every service that we work on


Long delay in getting 1rst secret / unlocking vault in powershell core on Linux

When running powershell core (7.1.4 or 7.2.0) on Linux (both RHEL7 and RHEL8) it takes somewhere between a 4-8 seconds to get the 1rst secret from a SecretStore local vault and then < 10 ms per request after that.
In powershell core (7.1.3) on Windows it only takes ~350 ms for the 1rst request and < 20 ms per request after.
That long delay is problematic for some otherwise short running scripts.
What could be the cause of this? How best to troubleshoot further?
Thanks
Ed
Testing method:

setup local vault with test secret
start fresh shell
run the following:

 $PSVersionTable ; "nTESTING:" ; 1..4 | % {(Measure-Command {Get-Secret -Name testsecret -AsPlainText}).TotalMilliseconds}`
Sample results:
> $PSVersionTable ; "`nTESTING:" ; 1..4 | % {(Measure-Command {Get-Secret -Name testsecret -AsPlainText}).TotalMilliseconds}

Name                           Value
----                           -----
PSVersion                      7.1.4
PSEdition                      Core
GitCommitId                    7.1.4
OS                             Linux 3.10.0-1160.31.1.el7.x86_64 #1 SMP Wed May 26 20:18:08 UTC 2021
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

TESTING:
6197.1455
10.5208
16.4169
15.6045

It is difficult to know what is causing the initial delay.  It could be CLR JITing or maybe file system caching.  I have not seen or heard of anything this severe on any platform.  Are you running on a resource limited system?

You could try to explicitly load secret modules and see if the delay is at the load time.


i18n  not working

I have a file in:
/config/i18n.js
module.exports = {
    locales: ["bg", "en"],
    directory: "/config/locales",
    objectNotation: true
}

I have the translations files:
/config/locales/bg.json
{
  "Customers": "Клиенти"
}

I try to translate using:
#{__("Customers")} //undefined
sails.__("Customers") //undefined
i18n("Customers") //undefined

How can I make it work?

In sails.rc the i18n option was false. Removed it from there and now it works. :)


build: upgrade React Native version

Upgraded React Native to version 0.71.1 -- note that most files were automatically upgraded except for a handfew that I needed to do manually. Files that "failed to apply the diff" were manually fixed. Android runs and I am currently testing iOS.

iOS build is now working -- all files from the image that I included have been properly updated.

Also note that the required ruby version has been changed to 2.7.6

https://react-native-community.github.io/upgrade-helper/?from=0.70.6&to=0.71.1 -- this is the tool that I used to manually update the files that the CLI command did not automatically fix


feat(material-experimental/mdc-list): Add scaffolding for MDC-based list

That's weird, I did add a no-op test. Maybe it needs an actual expectation or something


Create a headless example

I recently noticed XR_MND_headless is an available extension on my Linux/SteamVR platform. So now I might be able to create an example for this without spinning my wheels trying to get Monado installed.

Hey, Thanks for making this.
I've recently been trying to make a very simple (accessibility) program in SteamVR that just runs in the background while playing a game and just print text (for now) when 4 buttons are touched on the L&R index or quest 2 controllers.
I've gotten the code to work, but since SteamVR can't run 2 things at once and doesn't support XR overlays yet, I can't run the code and another game at the same time... XR_MND_headless seems to be my last resort.
I'm no great programmer but I have tried so hard to break my head and get it to work by myself and I've looked far and wide but without examples online, I think I jumped into something bigger than I can handle.
Basically all of this to say:
My very very simple project might be screwed without this and I'm hoping I could understand and learn from it when it's done.
Thanks!

I briefly tried this on win10/steamvr which also reports that XR_MND_headless is available. Changed the setup of track_hmd.py to
with xr.InstanceObject(application_name="track_hmd", enabled_extensions=["XR_MND_headless"]) as instance, \
        xr.SystemObject(instance) as system, \
        xr.SessionObject(system, graphics_binding=None) as session:

and it will print hmd poses while remaining in the steamvr polar grid. However, I tried removing the sessiong.wait_frame() begin/end frame calls and got
(venv) PS C:\Users\s\source\repos\pyopenxr\pyopenxr_examples> python .\xr_examples\track_hmd.py
Traceback (most recent call last):
  File "C:\Users\s\source\repos\pyopenxr\pyopenxr_examples\xr_examples\track_hmd.py", line 21, in <module>
    view_state, views = session.locate_views()
  File "C:\Users\s\source\repos\pyopenxr\venv\lib\site-packages\xr\classes.py", line 234, in locate_views
    return locate_views(self.handle, view_locate_info)
  File "C:\Users\s\source\repos\pyopenxr\venv\lib\site-packages\xr\functions.py", line 705, in locate_views
    raise result
xr.exception.TimeInvalidError: The provided basetype:XrTime was zero, negative, or out of range.

https://github.com/cmbruns/pyopenxr/blob/85bdaf3ae249192f77c047a6bd766c8be321867d/src/xr/classes.py#L225-L227 looks like it tries to take the predicted display time from the (presumably blank) frame_state; I'm not yet familiar enough with openxr to debug beyond this.
Unfortunately, with the frame calls in, launching track_hmd.py does make steamvr kill whatever else is running (I'm also looking for a solution to make an "overlay" application through openxr). I know https://github.com/LunarG/OpenXR-OverlayLayer is out there and I roughly understand it functions as a "API layer" that can in theory run on top of steamvr. I don't know if anybody's tried that yet.


Killer Joe has no interface for XP

Issue Description:
Note: If this bug occurs in a modpack, please report this to the modpack author. Otherwise, delete this line and add your description here. If you are using an unreleased version of Ender IO (e.g. for 1.8.9), please don't open an issue for features that have not been announced as "finished" or "working".
What happens: In the Killer Joe is no Interface for the XP i have searched an older Version of it and i found that from the Version "EnderIO-1.10.2-<IP_ADDRESS>_beta" the interface is gone. Then the xp vacuum was inserted. Or is that so wanted? If so how do I get then liquid xp?
Is that wanted?

Steps to reproduce:

Grab the Killer Joe
Place it and fill it
Get angry
...

Yes I know but I need only once a Liquid Xp bucket to activate this.

There are 3 ways to get Liquid XP in Ender IO. The Killer Joe is no longer one of them.


migrate to esp-idf 5.1 and esp-idf-hal

This PR is to migrate to esp-idf 5 and use the safe Peripherals abstraction.
It also introduce zero-copy API to smartled interface (#30 ).
fix #31 and resolve #30

Awesome to try to get this crate to ESP-IDF 5. That's very welcome! :sparkles:


Replace Hashtable with LinkedHashMap in createIsoResponse

Description
This change replaces Hashtable with LinkedHashMap in the createIsoResponse method of ViewResponseHelper.
This modification is to maintain the insertion order of entries, which isn't the case with Hashtable.
This solves the problem described here:
https://github.com/apache/cloudstack/issues/7278
Related to the ordering of the ISOs table in CloudStack.
Currently, the order is not maintained because, when using a Hashtable, the insertion order gets lost when it tries to create the list on the API side.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

thanks @CharlesQueiroz for the fix
Hashtable is used many times in same PR. can you fix the others as well ?
@kiranchavala can you please verify it ?

@blueorangutan package

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6738

thanks @CharlesQueiroz for the update
it looks there is still one in the class
Hashtable<Long, UserVmResponse> vmDataList = new Hashtable<Long, UserVmResponse>();

thanks @CharlesQueiroz for the update it looks there is still one in the class
Hashtable<Long, UserVmResponse> vmDataList = new Hashtable<Long, UserVmResponse>();

Oh.. you're right. I've already fixed it. I patched the commit with this change.
Sorry about that. :P

@blueorangutan package

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6741

@blueorangutan test rocky8 kvm-rocky8

@weizhouapache a [SF] Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests

[SF] Trillian test result (tid-7374)
Environment: kvm-rocky8 (x2), Advanced Networking with Mgmt server r8
Total time taken: 53134 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7844-t7374-kvm-rocky8.zip
Smoke tests completed. 106 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_list_vms_metrics_admin
Error
3607.97
test_metrics_api.py

test_list_vms_metrics_history
Error
4.57
test_metrics_api.py

test_list_volumes_metrics_history
Error
5.50
test_metrics_api.py

test_01_deploy_vm_on_specific_host
Error
4.39
test_vm_deployment_planner.py

test_02_deploy_vm_on_specific_cluster
Error
4.36
test_vm_deployment_planner.py

test_03_deploy_vm_on_specific_pod
Error
4.41
test_vm_deployment_planner.py

test_04_deploy_vm_on_host_override_pod_and_cluster
Error
4.43
test_vm_deployment_planner.py

test_05_deploy_vm_on_cluster_override_pod
Error
4.42
test_vm_deployment_planner.py

@blueorangutan test matrix

@DaanHoogland a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-7391)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 41247 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7844-t7391-xenserver-71.zip
Smoke tests completed. 106 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestUnmanageVM>:setup
Error
0.00
test_vm_lifecycle_unmanage_import.py

ContextSuite context=TestChangeServiceOfferingForVmWithSnapshots>:setup
Error
0.00
test_vm_snapshots.py

[SF] Trillian test result (tid-7393)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 46159 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7844-t7393-kvm-centos7.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_migrate_VM_and_root_volume
Error
79.81
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
51.43
test_vm_life_cycle.py

[SF] Trillian test result (tid-7392)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 57452 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7844-t7392-vmware-67u3.zip
Smoke tests completed. 105 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

ContextSuite context=TestVMWareStoragePolicies>:setup
Error
0.00
test_storage_policy.py

test_01_deploy_vm_on_specific_host
Error
13.66
test_vm_deployment_planner.py

test_02_deploy_vm_on_specific_cluster
Error
3601.88
test_vm_deployment_planner.py

test_03_deploy_vm_on_specific_pod
Error
1.37
test_vm_deployment_planner.py

test_04_deploy_vm_on_host_override_pod_and_cluster
Error
2.37
test_vm_deployment_planner.py

test_05_deploy_vm_on_cluster_override_pod
Error
2.33
test_vm_deployment_planner.py

test_09_expunge_vm
Failure
425.71
test_vm_life_cycle.py

@blueorangutan test matrix

@weizhouapache a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-7410)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43004 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7844-t7410-xenserver-71.zip
Smoke tests completed. 108 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

[SF] Trillian test result (tid-7412)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 45766 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7844-t7412-kvm-centos7.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_migrate_VM_and_root_volume
Error
79.70
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
54.43
test_vm_life_cycle.py

@blueorangutan package

@soreana a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

[SF] Trillian test result (tid-7411)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 66847 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7844-t7411-vmware-67u3.zip
Smoke tests completed. 104 look OK, 4 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_02_upgrade_kubernetes_cluster
Failure
141.54
test_kubernetes_clusters.py

test_07_deploy_kubernetes_ha_cluster
Failure
184.60
test_kubernetes_clusters.py

test_08_upgrade_kubernetes_ha_cluster
Failure
0.07
test_kubernetes_clusters.py

test_09_delete_kubernetes_ha_cluster
Failure
0.05
test_kubernetes_clusters.py

ContextSuite context=TestKubernetesCluster>:teardown
Error
526.93
test_kubernetes_clusters.py

test_01_deploy_vm_on_specific_host
Error
15.68
test_vm_deployment_planner.py

test_02_deploy_vm_on_specific_cluster
Error
3603.26
test_vm_deployment_planner.py

test_03_deploy_vm_on_specific_pod
Error
28.01
test_vm_deployment_planner.py

test_04_deploy_vm_on_host_override_pod_and_cluster
Error
3602.64
test_vm_deployment_planner.py

test_05_deploy_vm_on_cluster_override_pod
Error
1.32
test_vm_deployment_planner.py

test_09_expunge_vm
Failure
424.68
test_vm_life_cycle.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
145.55
test_vpc_redundant.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Error
145.56
test_vpc_redundant.py

test_02_redundant_VPC_default_routes
Error
429.73
test_vpc_redundant.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Failure
343.97
test_vpc_redundant.py

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Error
343.99
test_vpc_redundant.py


Cannot read property 'cells' of undefined

Hi !
I just want to try before coding and it's not working ...
I have this code :
var Excel = require('exceljs');
var filename = './test.xlsx';

var workbook = new Excel.Workbook();
workbook.xlsx.readFile(filename)
    .then(function() {
        // use workbook
        var worksheet = workbook.getWorksheet('Dataset1');
        worksheet.eachRow(function(row, rowNumber) {
            console.log('Row ' + rowNumber + ' = ' + JSON.stringify(row.values));
        });
    });

But I have this error :

Cannot read property 'cells' of undefined

can you put an image of the excel file?

I am getting a very similar issue. My code is almost exactly the same as @ghost
My error:
Cannot read property 'Target' of undefined

for me I apply exactly the same APIs within the following code
var Excel = require('exceljs'); var inboundWorkbook = new Excel.Workbook(); inboundWorkbook.xlsx.readFile("Data/DataSet.xls").then(function() {    var inboundWorksheet = inboundWorkbook.getWorksheet(1); //or name of the worksheet    inboundWorksheet.eachRow({ includeEmpty: true }, function(row, rowNumber) { 	console.log("Row " + rowNumber + " = " + JSON.stringify(row.values));    }); });
but I got the error TypeError: Cannot read property 'eachRow'
I work in version<EMAIL_ADDRESS>so I update eachrow function exactly like the documentation but still doesn't work

i have same issue! but i can solved it
i create new workbook and copy content from old excel file to new workbooks and save it to .xlsx
i think my issue occur from older version of excel  (you can not convert from xls to xlsx by using
save as or online convert because i tried it! not work). my issue same like #652
maybe help!

hi, @hazemsamoaa .
inboundWorkbook.getWorksheet(1);
This is probably where the problem lies, try to replace id with sheet name.
Step into inboundWorkbook.getWorksheet(1) and wath this._worksheets, you'll find that you have several sheets but no one's id is 1.

see https://github.com/exceljs/exceljs/issues/2190#issuecomment-1498388491

getWorksheet will search by index or name, but some workbooks can have worksheet's indexes started from any number - in that case, you will receive undefined for workbook.getWorksheet(1). It's better to use workbook.worksheets[0] or workbook.getWorksheet()


Add persist to audacity, mpv, bleachbit, and ccleaner. Fix Everything config

Makes audacity and mpv portable since they will read/write settings from persistent directory instead of %AppData%.
See:

https://wiki.audacityteam.org/wiki/Portable_Audacity
https://mpv.io/manual/master/#files-on-windows

Nice! Thanks 👍


DeepSpeed Zero-3 is not compatible with low_cpu_mem_usage=True or with passing a device_map

hello!
The environment was installed as instructed without any code changes.
But an error was encountered:
DeepSpeed Zero-3 is not compatible with low_cpu_mem_usage=True or with passing a device_map
How can i solve it?

Does the change remove the definition of optimizer in ds_config_zero3.json?

thank you!


Simplify syntax when creating Hfss3dLayout() instance from an aedb folder

Description of the feature
Append "edb.def" to the projectname inside the class definition.
Steps for implementing the feature
The docstring currently states that the .aedb folder can be passed as projectname, but this doesn't work.
Useful links and references
https://aedt.docs.pyansys.com/release/0.6/API/_autosummary/pyaedt.hfss3dlayout.Hfss3dLayout.html

Resolved.


tests: set ceph_stable_release to luminous for rhcs

Signed-off-by: Andrew Schoen<EMAIL_ADDRESS>

Without this our downstream CI tests were not configuring mgr nodes because of https://github.com/ceph/ceph-ansible/blob/master/site.yml.sample#L142

Our upstream CI tests won't cover this change, so I'm going to merge.


Changed Hello World according to Wikipedia

https://en.wikipedia.org/wiki/Malbolge

Agreed, the existing one doesn't seem to work when tested with:
https://github.com/graue/esofiles/blob/master/malbolge/impl/malbolge.c
Yours prints "Hello World!"
This one:
(=<`#9]~6ZY32Vw/.R,+Op(L,+k#Gh&}Cdz@aw=;zyKw%ut4Uqp0/mlejihtfrHcbaC2^W\>Z,XW)UTSL53\HGFjW

Prints "Hello, world." I prefer yours.

Ah, looks like the existing one is supposed to be this:
(=<`:9876Z4321UT.-Q+*)M'&%$H"!~}|Bzy?=|{z]KwZY44Eq0/{mlk**
hKs_dG5[m_BA{?-Y;;Vb'rR5431M}/.zHGwEDCBA@98\6543W10/.R,+O<

It prints "Hello, world." too.


Check connection status of client endpoint from broker

Expected behavior
The older version(v 0.11) of the Server class had a method getConnectionsManager() to the connection manager of broker and through it we could get the list of connected clients in the broker at a stage. This method is no more present in version 0.12. How this has been changed in new version?
Actual behavior
There is no method found get the list of connected clients
Steps to reproduce
Minimal yet complete reproducer code (or URL to code) or complete log file
Earlier the code snippet was:
Collection listOfConnectedEPs= server.getConnectionsManager().getConnectedClients();
Moquette MQTT version
v 0.12
JVM version (e.g. java -version)
Java 8
OS version (e.g. uname -a)
Windows 7

Fixed in version 0.12.1
b827ad446d4f6f17d5240f0c4756861dbc795619


operator nxiq-operator-certified (1.181.0-1)

/pipeline restart operator-hosted-pipeline

/pipeline restart operator-hosted-pipeline

/pipeline restart operator-hosted-pipeline


bug(fabric): chaincode installation fails

Describe the bug
Chaincode installation fails when you're running a playbook from step 3 of this README.md
https://github.com/hyperledger/bevel/blob/v1.1.0/platforms/hyperledger-fabric/configuration/README.md#execution
To Reproduce
Steps to reproduce the behavior:

Follow https://github.com/hyperledger/bevel/blob/v1.1.0/platforms/hyperledger-fabric/configuration/README.md#execution
When you reach step 3, it won't finish successfully.
In the failing pod see the error:

Getting Orderer TLS certificates from Vault.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    60  100    60    0     0   1261      0 --:--:-- --:--:-- --:--:--  1304
Vault read API call response: {"errors":["1 error occurred:\n\t* permission denied\n\n"]}
Error: Failed to read Vault secret.
Error Details: 1 error occurred:
	* permission denied

Expected behavior
No issues when you follow the README.md.
Screenshots
No screenshot.
Environment (please complete the following information):

Bevel version: https://github.com/hyperledger/bevel/blob/v1.1.0
Runtime environment: ghcr.io/hyperledger/bevel-build:latest. All commands are executed from the docker image

Additional context
Adding information mentioned in Discord.
https://discord.com/channels/905194001349627914/1291821929807872030/1293882579392401448
<@383004601542115342>
On both 1.1.0 and develop branches, the chaincode setup doesn't work.
TLS and stuff is published to Vault for peers and orderes using this pattern
https://github.com/hyperledger/bevel/blob/develop/platforms/hyperledger-fabric/configuration/roles/helm_component/templates/value_peer.tpl#L32
        secretEngine: {{ vault.secret_path | default("secretsv2") }}
        secretPrefix: "data/{{ network.env.type }}{{ name }}"

And this is Chaincode Vault key generation pattern
https://github.com/hyperledger/bevel/blob/develop/platforms/hyperledger-fabric/configuration/roles/helm_component/templates/install_chaincode_job.tpl#L39
      orderersecretprefix: {{ vault.secret_path | default('secretsv2') }}/data/{{ org.name | lower }}/peerOrganizations/{{ namespace }}/orderer

Of course
{{ network.env.type }}{{ name }} is not the same as {{ org.name | lower }}.
{{ name }} is the org.name .
And the rest of the secret path is also invalid. There is no
peerOrganizations/{{ namespace }}/orderer in Vault which is expected by the Chaincode setup Bevel playbook.
Could you advise how chaincodes could be set up?
Alvaro Picazo — Yesterday at 10:36 AM
Feel free to create an Issue and we can work on it!

In case it is of help, I ran into this issue recently after tearing down and redeploying an eks cluster using a separate vault, and with no proxy (single cluster, single org, 3 orderers, 2 peers, single chain code).
When I deploy again on the new cluster, in the network.yaml file, I first change the
network.env.type to a new value
and also update the path for gitops flux
This prevents issues with local cached values, previously flux entries, etc., so I get a clean deploy.
The playbook creates a ACL vault policy based on the org name and saves it to the vault, for example:
bevel-vault-mgmt-ca-myorgname-net-policy
If you run the playbook again for a clean deployment to a new cluster, without 'first' editing this policy in the vault to point to the new path within the secretsvs kv engine, then you will get a permission denied error when attempting to read/write from the vault. The playbook looks to see if the policy is present, but does not rewrite it if present.
As an example (for me), when I tore down the old cluster, and created a new cluster with network.env.type: "helfdev3"
path "secretsv2/data/hlfdev3subskribo/" {      capabilities = ["list", "read", "create", "update"]    }    path "secretsv2/data/hlfdevsubskribo/credentials/" {      capabilities = ["list", "read", "create", "update"]    }
I changed hlfdev2 --> hlfdev3. (which maps to network.env.type in the platform.yaml file)
If you have multiple orgs and a single cluster, then do this for each org policy.

By the way, after editing a few other  areas of the playbook to get a successfull run, it still does not present a working blockchain. All the certs are created, pods deployed, genesis block created with the correct channel name and peers/orderers and saved to vault / flux. Except there is no join-channels job, no chaincode deployed, and no actual channel that shows on a peer chaincode list command on the peer cli. It is as if that entire section is missing from the network-deploy playbook.
Of course, I cannot connect to it from blockchain explorer in that state as well (after copying over crypto materials from the vault).
Also after finishing the non-operator section as entered the site.yaml,with no errors, it then jumps into the operator fabric version of the network deploy script, but skipping every single task in it.
Since there is no logic path in the site.yaml file, I assume that somewhere the network.env.type variable is changed by one of the tasks (still trying to trace where).
I am deploying  from a Mac (apple silicon), and had to use a few hacks, such as running in sudo (would not work otherwise), setting
-e "install_arch=arm64"
-e "bin_install_dir=/Users/michaelkhalsa/hlf/bevel/bin"
And modified the check/setup role for Wait for certs to be created in vault, to use a command instead of a shell, as otherwise it would never complete (as trying to run 'vault' from target, instead of controller.


(chores) camel-couchbase: disable ITs

These tests are way too heavy to run reliably. Even my build machine struggles with it (and, now, they are also causing problems with the latest testcontainers).


HTML tag not being emphasized in jQuery script even if it is being emphasized!!!

Challenge Change Text Inside an Element Using jQuery has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

jQuery Playground

#left-well

        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>

#right-well

        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>

Never mind. The tag need to be changed from "" to "".

strong to em

في الأحد، ٦ نوفمبر، ٢٠١٦ ١٠:٠٢ م Roan Opperman<EMAIL_ADDRESS>كتب:

strong to em
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11555#issuecomment-258702151,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP1TBU1j1rSLigX-iO2srd4wC8Tgah_nks5q7iRLgaJpZM4KqpFK
.

Hi @RoanOpperman! I'm glad you figured it out. If you need help in the future, please use the "Help" button on the challenge.
Happy coding!

@RoanOpperman sounds like your issue is resolved. Closing as resolved. If you get stuck or have questions with a challenge in the future, please first ask questions to the Help Room. Happy coding!


Update estela to python 3.9

estela needs and upgrade of python version. This allow to use updates packages and avoid vulnerabilities

@raymond1242 afaik this is done and can be closed


Support window close / minimize buttons with content in full view

Currently glazier allows the title bar to be disabled but this also disables the OS native buttons for closing and resizing (and macOS and windows stop treating them as main application windows).
This is fine but it would be nice to be able to configure a the window to have a full content view but still keep the OS native buttons and title_bar.
On macOS this can be done by adding NSWindowStyleMask::NSFullSizeContentViewWindowMask to the style_mask here
and by setting the window.setTitlebarAppearsTransparent_ with true.
I could open a PR for this but I wasn't sure how to name these items and also how to ensure consistency with windows / linux.

I haven't looked too much into this, but I suspect it will be painful on linux, what with the variety of different window decoration behaviors available in different environments. Maybe it's worth thinking about an API for platform-specific extensions? I know this was discussed in druid-shell at some point, although I can't find that discussion right now...

Looks like the backend for Wayland is currently lacking quite a bit of support for window decorations and now glazier just logs a warning. For now I might just throw together a PR for macOS and windows. And then for Wayland I'll just follow the current pattern and just log an error (unless I can figure out out how to make it work)


Add new address - Popup Step 3

After signing in, I'm presented with a pop-up asking me to share information about the current trash and recycling services. I'm presented with two options: 1. Sure-I would love to help or 2. No thanks - Take me to my building's page

closing as dupe


test: add some data-cy props

Commit merged in branch release/3.0.x (commit 52a63ab), closing this PR


Uncaught ReferenceError: require is not defined

It seems that this simple example tries to eval the inline module each time an import is resolved.
http://www.hekke.dk/es6-babel-bug.tar.gz
In Chrome the console outputs:
Uncaught ReferenceError: require is not defined
I don't know if this is an issue with es6-module-loader or babel?

@hekke I think the issue here is that the <script type="module"> is being processed by both Babel and ES6 Module Loader.
To stop Babel from processing it, you can rather have Babel loaded automatically by ES6 Module Loader by setting:
  System.paths.babel = 'node_modules/babel/browser.js';

It works!
Thank you so much!


Crashes on startup.

GOG version, build 1077. It crashes as soon as the spinny logo thing shows up.

can you provide XOM*.log ?

XOM0-DESKTOP-IM0UK17.log
Sorry for the late reply, I assume you mean this?

I can assume that the problem is with the shaders
   4747 | * XSOgl      | Invalid parameter type for rcpFrame in program CopyFxaa
   4770 | * XSOgl      | Invalid parameter type for rcpFrame in program CopyFxaaSepia

but in any case, restore the original files and try to install the patch in portions

dinput8.dll & plugins - exe hacks
Data/Bundles - aimers and weapon panel fix
Data/Tweak/MENUTWKXPCCOMMON.XOM - menu fix
Data/Language & Data/Tweak/MENUTWKXPCEURO.XOM - additional languages stuff
CG - shaders

Yeah so, it looks like it's the ASI loader itself that's crashing the game, I placed just dinpu8.dll in the game folder and it crashed.
That being said, I think you can close this as solved because I had a similar issue with GTA4 a while back, also caused by Ultimate ASI Loader. I don't know why it crashes when I use it, I have all the dependencies installed and the other ASI loaders worked fine with that game. Is there an alternative you can recommend for this mod?

If I run the game with everything but the dinput8.dll and plugins I get this, so I'm guessing that is essential:

is vcredist installed? https://aka.ms/vs/17/release/vc_redist.x86.exe

Yes.

Ran a repair but it didn't change anything.

try new version https://github.com/heatray/WUMPatch/releases/tag/v23.11.12

Tried it on a clean install, doesn't look like anything's changed. Is there a different ASI loader I can try?
XOM0-DESKTOP-LI6Q9KV.log

you can try any other version of asi loader
also you can try inject patch using SpecialK or Koaloader (I haven't tried)

Tried them, no luck. Game crashes just by having the ASI loader in the game folder, doesn't even need the mod.

I think I'll try posting this on the ASI Loader hub, since this doesn't seem to be a mod issue.


[ArPow] Add missing sourcebuild graph dependencies for aspnetcore

These dependencies are important for two main reasons.

It determines the build order and therefore dependency flow in source-build
During the repo builds, the intermediate sourcebuild packages for these dependencies will be used.  This eliminates prebuilts and will aid in the prebuilt detection UX at the repo level.

Repo
Missing Dependency
Version.Details Dependency Missing

aspnetcore
msbuild
x

aspnetcore
roslyn
x

aspnetcore
roslyn-analyzers
x

aspnetcore
runtime

This work was completed in 6.0 as part of the ArPow work.


[testing] Separate helpers with 0 dependencies

I believe some of the helpers are pretty much independent from mocha or any other test related dependency.
For example registerUniqueElement has 0 dependencies.
https://github.com/open-wc/open-wc/blob/2b06f4770e4881141172c37fb4f7e6323da7bccc/packages/testing/helpers.js#L15-L21
And many others in helpers.js too.
I have 2 ideas how to improve this.

Separate them into 2 packages - testing-helpers with 0 dependencies and testing-mocha-helpers with mocha dependent ones.

Make all helpers independent from mocha and provide integration with mocha in the individual package. I'm pretty sure this is technically possible, but I didn't investigate this deep enough to say it will not become more cumbersome. For inspiration take a look at the way how chai handles integration with mocha https://github.com/chaijs/chai/blob/4.2.0/README.md#usage

I've just found @LarsDenBakker lib with exactly the utils I expected to see in such a library https://github.com/LarsDenBakker/dom-test-utils/
And especially I liked this note in README there:

The intent is to create a standalone library based on modern APIs, and not coupled to any (testing) framework.

Maybe we should just remove our utils from here and recommend using dom-test-utils?

yeah already talked with him and we may combine it... hopefully move it to
a dedicated package in open-wc to not need to setup ci, browserstack,
renovate, ... multiple times
On Tue, Oct 30, 2018, 12:50 Mikhail Bashkirov<EMAIL_ADDRESS>wrote:

I've just found @LarsDenBakker https://github.com/LarsDenBakker lib
with exactly the utils I expected to see in such a library
https://github.com/LarsDenBakker/dom-test-utils/
And especially I liked this note in README there:
The intent is to create a standalone library based on modern APIs, and not
coupled to any (testing) framework.
Maybe we should just remove our utils from here and recommend using
dom-test-utils?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/open-wc/open-wc/issues/29#issuecomment-434270806, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABfOiQ9BRHdopXTjL0mvY16DtwS8jlvks5uqD0MgaJpZM4X-FOR
.

--
Thomas Allmer

now helpers are released independently via @open-wc/testing-helpers. (with lit-html as a dependency for litHtmlFixtures)
@open-wc/testing integrates the helpers and has a dependency on mocha
@open-wc/chai-dom-equals is a chai plugin supporting the semantic dom diff
will close for now feel free to reopen if you think something should still change


Fix read_vle to support 24 bit values

Documents says VLE can include 24 bit values so we need to use a long or unsigned long.

We're going to change the documentation according to the code.
VLE encoding for a word may end up being 3 bytes / 24 bits for larger values
Longer delays can be coded by multiple long delays.
We would prefer that for performance reasons


SQL firehose error

SQL firehose error with org.apache.druid.segment.realtime.firehose.SqlFirehoseFactory cannot be cast to org.apache.druid.data.input.FiniteFirehoseFactory
Affected Version
0.17.0
Description
Ran this command (spec below):
bin/post-index-task --file postgresql-test.json --url http://localhost:8081
Got this error:
2020-02-13T17:52:53,628 ERROR [task-runner-0-priority-0] org.apache.druid.indexing.common.task.IndexTask - Encountered exception in NOT_STARTED.
java.lang.ClassCastException: org.apache.druid.segment.realtime.firehose.SqlFirehoseFactory cannot be cast to org.apache.druid.data.input.FiniteFirehoseFactory
	at org.apache.druid.indexing.common.task.IndexTask$IndexIOConfig.getNonNullInputSource(IndexTask.java:1148) ~[druid-indexing-service-0.17.0.jar:0.17.0]
	at org.apache.druid.indexing.common.task.IndexTask.runTask(IndexTask.java:477) [druid-indexing-service-0.17.0.jar:0.17.0]
	at org.apache.druid.indexing.common.task.AbstractBatchIndexTask.run(AbstractBatchIndexTask.java:138) [druid-indexing-service-0.17.0.jar:0.17.0]
	at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:419) [druid-indexing-service-0.17.0.jar:0.17.0]
	at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:391) [druid-indexing-service-0.17.0.jar:0.17.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

All db connections were correct and networking was all working OK.
Using this spec
{
  "type": "index_parallel",
  "spec": {
    "dataSchema": {
      "dataSource": "some_datasource",
      "parser": {
        "parseSpec": {
          "format": "timeAndDims",
          "dimensionsSpec": {
            "dimensionExclusions": [],
            "dimensions": [
        "dim1",
        "dim2"
            ]
          },
          "timestampSpec": {
            "format": "auto",
            "column": "ts"
          }
        }
      },
      "metricsSpec": [],
      "granularitySpec": {
        "type": "uniform",
        "segmentGranularity": "DAY",
        "queryGranularity": {
          "type": "none"
        },
        "rollup": false,
        "intervals": null
      },
      "transformSpec": {
        "filter": null,
        "transforms": []
      }
    },
    "ioConfig": {
      "type": "index_parallel",
      "firehose": {
        "type": "sql",
        "database": {
          "type": "postgresql",
          "connectorConfig": {
            "connectURI": "jdbc:postgresql://<location>:5432/db",
            "user": "user",
            "password": "password"
          }
        },
        "sqls": [
          "SELECT * FROM some_table"
        ]
      }
    },
    "tuningconfig": {
      "type": "index_parallel"
    }
  }
}

The SQL firehose is community contributed and we recommend that you don't use it in any real workload.

@fjy We do a small batch upload daily and I wouldn't consider it "real workload". I think to dump the data out to csv (where date, number types are lost), move to storage/kafka and then ingest feels a bit overkill to create and manage IMO. Especially when you have a few data streams. I was looking at using Airflow, so many steps. I think connectivity to databases would make Druid far more useful/accessible  in general.

@saulfrank absolutely agree. In fact, we very much plan to rework the SQL firehouse to be a bit more production ready

Hi @saulfrank, the sql firehose with one sql statement is currently processed by one worker task. Would you try out with the “index” task instead?

@jihoonson tried that too and it gave the same error message.

@saulfrank 😢 thanks for trying it out.


Docker images are being pulled using HTTPS when Use HTTP is selected

Describe the bug

When Kubevela tries to pull an image from an insecure HTTP Docker Registry, it is using HTTPS for the URL.
To Reproduce

Create a Docker Registry that is insecure and uses HTTP.
Create an application that uses an image from this registry and deploy it

Expected behavior

The docker image should be pulled using HTTP
Screenshots

KubeVela Version

Version v1.8.0
Cluster information

v1.24.8+k3s1
Additional context

I think this error is generated by Kubelet, I'm not sure if this problem can be solved by KubeVela.

you can try it like this:
cat >> /etc/rancher/k3s/registries.yaml <<EOF
mirrors:
"<IP_ADDRESS>":
endpoint:
- "https://<IP_ADDRESS>"
EOF
systemctl restart k3s


Could I add tags to my posts and display in the homepage?

Hi, I am very new to web development. Recently I was using Jekyll minima to build my blog.
I was wondering how can I add tags to my posts and display the tag as hyperlink (once click, it will show all the posts contain this category/tag).
Thank you!!!

For later users, I have found the solution here.


Fix exec creation

I moved the exec creation command to ExecResource to mirror the API.
It now correctly returns the exec instance id.

Hey @DevNatan! Do you have a little time to review these three issues?

@DevNatan I fixed the imports in all three MRs. I don't know why the CI runs native tests as most of it is not yet implemented.

@DevNatan I fixed the imports in all three MRs. I don't know why the CI runs native tests as most of it is not yet implemented.

yep i'll disable CI tests, going to fix them soon


[11-10-2022]: Add subpage for open license

Description
Subpage on brief explanation on what Open license entails
Expected behaviour

[ ] Clicking the open license pane on the home page should direct to another page showing a brief on what Open license is

What needs to be done?

[ ] Add brief summary about what open license is
[ ] Add image illustration explaining more on open license
[ ] Reference links to read or learn more on open license

Who want to work on this issue?
I am currently working on this issue

Thank you @RealRichi3 - This is one of the best-outlined issues opened so far with a clear title and description.
However, it was addressed in PR #62 - We will add new tasks today which you can work on it!
I will close this for now, but feel free to open it later!

Alright @BatoolMM, thanks for your review

Already made a PR though, but it's alright, thanks


Bug: Failure to upload generated pipeline doesn't fail the job

I had an improperly configured job definition that was causing the monorepo-diff plugin to generate an invalid pipeline, which failed at the upload step. However, the overall job was marked as a success.
Skimming the code, I think it is because nothing is done with the return value of generatePipeline here.
Here is the debug output of the job in question:
Running plugin monorepo-diff command hook
  | $ /var/lib/buildkite-agent/plugins/github-com-chronotc-monorepo-diff-buildkite-plugin-v2-0-4/hooks/command
  | https://github.com/chronotc/monorepo-diff-buildkite-plugin/releases/download/v2.0.4/monorepo-diff-buildkite-plugin-linux
  | % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  | Dload  Upload   Total   Spent    Left  Speed
  | 100   644  100   644    0     0  35777      0 --:--:-- --:--:-- --:--:-- 37882
  | 100 3302k  100 3302k    0     0  48.1M      0 --:--:-- --:--:-- --:--:-- 48.1M
  | INFO[0000] --- :one: monorepo-diff v2.0.4
  | INFO[2021-07-19T18:14:16Z] Running diff command: .buildkite/shared/scripts/diff.sh
  | DEBU[2021-07-19T18:14:16Z] Output from diff:
  | .buildkite/pipeline.merge.yml
  | Generated Pipeline:
  | steps:
  | - {}
  |
  | DEBU[2021-07-19T18:14:16Z]
  | command = 'buildkite-agent',
  | args = '[pipeline upload /tmp/bmrd-252730796]',
  | error = '2021-07-19 18:14:16 INFO   Reading pipeline config from "/tmp/bmrd-252730796"
  | 2021-07-19 18:14:16 INFO   Updating BUILDKITE_COMMIT to "<REDACTED>"
  | 2021-07-19 18:14:16 WARN   POST https://agent.buildkite.com/v3/jobs/<REDACTED>/pipelines: 422 Step is missing a type `{}` (Attempt 1/60 Retrying in 5s)
  | 2021-07-19 18:14:16 ERROR  Unrecoverable error, skipping retries
  | 2021-07-19 18:14:16 FATAL  Failed to upload and process pipeline: POST https://agent.buildkite.com/v3/jobs/<REDACTED>/pipelines: 422 Step is missing a type `{}`
  | '

Thanks for the report. Maybe we should throw an error on generatePipeline for invalid configurations.

@adikari I don't think so, but I'll see if I can find something.


Use JDK17 for the jenkins agent on macos/aarch64

It makes more sense to use a native JDK instead of relying on Rosetta to be able to run the jenkins agent. Since JDK17 is now GA and Temurin builds and releases it we should identify whether there would be any problems with using JDK17 as the JDK for running the jenkins agent.
(Ideally I'd prefer to run the test machines - as a minimum - WITHOUT Rosetta2 in order to ensure that we don't introduce dependencies on it, but it's a bit of a scalpel job to remove it once it's been installed)

I've started https://ci.adoptopenjdk.net/computer/build-macstadium-macos11-arm64-1/log with a jdk-17 aarch64 binary. The grinder https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/4688/console ran fine.
Despite https://github.com/adoptium/infrastructure/issues/2533, this node hasn't crashed yet (though I used jdk16 in that issue so that error may be specific to jdk16)
I'll test a native jdk11 on one of the machines


Token error

Is there any way for the Invalid Token Error to terminate the client but not all of my code?
Type this error:

It finishes the client but not my code.

Put the HBInit function in the try/catch OR add a .catch() depending on if you use await/async syntax.
With await/async:
const HBInit = await HaxballJS
try {
  const room = HBInit({
    roomName: 'test',
    token: 'thr1.AAAAAGUoFkn6N1TdUatJBg.bS6fQZYprgM'
  })
} catch (e) {
  console.error(e)
}

Without async/await:
HaxballJS.then((HBInit) => {
  const room = HBInit({
    roomName: "Haxball.JS",
    maxPlayers: 16,
    public: true,
    noPlayer: true,
    token: "YOUR_TOKEN_HERE", // Required
  })
}).catch(e => console.error(e));

After the new release 2.1.3, the try/catch block won't work on HBInit function because i can't make throw "Invalid Token Error" on @basro's new error mechanism. Instead, console errors will appear without a throw.


Problem installing: Failed to install

I downloaded the .exe started it choose a location to install and after the installation was complete I tried running the program, I got a screen saying:
Please wait while we complete installation...
Checking for update...
Download failed (SSL connect error)
Retrying... (2 of 5)
Download failed (SSL connect error)
Retrying... (3 of 5)
Download failed (SSL connect error)
Retrying... (4 of 5)
Download failed (SSL connect error)
Retrying... (5 of 5)
Download failed (SSL connect error)
Update check failed: couldn't download version manifest
Saving C:\ProgramData\Path of Building\Launch.cfg
--- Render Shutdown ---
Unloading resources...
Deleting context...
Renderer shutdown complete.
Engine shutdown complete.
Failed to install.
I tried running it with my antivirus off and as admin but it didnt help, is there any way to fix that problem?

Do you use proxy? Can you access https://raw.githubusercontent.com/Openarl/PathOfBuilding/master/manifest.xml in browser?

Yes, I can access that and I dont use a proxy.

The only report I've had of this so far was from Windows XP, but you're not using that, so I'm not sure what's wrong. The program's networking is all handled by libcurl, so I may not be able to fix it, excepting perhaps by updating libcurl. I'll see if I can get the program to provide some more detailed diagnostic info; in the meantime you can try using the standalone version, which doesn't force an update check when run for the first time.

Downloaded the .zip and it works now, thx :)

Have got the same issue. During install, Download failed (SSL connect error)
Retrying... (5 of 5) were shown, and then installation continued normally.
But, when application was installed, it wasn't able to check for updates, and was not able to import build.

I'm still unsure why it is occurring; I've already updated libcurl to the latest version, so I'm not sure there's anything I can do about it.

One possible problem leading to this error is from inside wine:
err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available.
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.


FEAT: directive to add a dependent file copied to notebook location

This PR adds ability to specify a dependent file that is copied to the default build location at _build/jupyter/ to enable execution of notebook. A user can now specify a file to be copied using:
.. jupyter-dependency: _static/<filename>

[x] this could be improved through accessing specified build folder in the conf.

the writer now uses the outdir associated with the builder class


datanode's privileged mode

Just wondering if there's a specific reason the datanodes are being run in privileged mode? It would be a lot cleaner to not need this.
Likewise is hostPID really needed?

Thanks for filing this issue.
I don't recall any particular reasons to use the privileged mode. Maybe it wasn't necessary. Ditto for hostPID.
I suggest we just try out without using them. I'm definitely curious how it would behave. I'll report back when I get the result.

No worries. I'm probably going to try deploying this in an RBAC environment soon, and these things stood out to me. I'll also give it a whirl without the hostPID and privileged modes as well and let you know how this goes.

@jpiper any updates on this?

@afking  @kimoonkim looking into this this week :)

@afking @kimoonkim everything (including data locality) still works for me without the datanodes running privileged mode and hostPID


How to test for roles of author of sent message

After a message is sent, I'd like to test for whether or not the author of the message has a specified role. How would I do this? The documentation is complicated and confusing to read.

There is a method on the IGuildMember object called .hasRole(), so you’re not looking in the right place.
Besides, deeming from your last issue, it sounds like your inability to understand the documentation comes down to you not knowing the language.

Yeah that's correct - I've been programming for 7 years but I've done very little javascript

What do I do now

As the docs say, IMessage.author is an IUser instance, not IGuildMember. You need to access the member property on an IMessage object.

I suggest you join the Discord server https://discord.gg/discord-api


Error 404 with 1.0

Hello,
i'm using home assistant with the version 1.0 of this integration.
I have the Gardena gateway and the "smart automatic home & Garden pump". Nothing else (no mower...).
I hope this pump is supported ? Anyway the gateway should.
I followed the instructions in the documentation.
I created an api on https://developer.husqvarnagroup.cloud/ and added "Authentication API" and "Gardena smart system API".
I used "https://my.home-assistant.io/redirect/oauth" as the redirect URL.
I then installed the integration V1.0 in HA with HACS , restarted HA, added it to my integrations, filled in the application key and the application secret.
Then i started the integration.
I left the default settings "mowing time: 60, smart integration control time (30) smart watering time (30)"
But it does not work.
The logs indicate :
Logger: homeassistant.config_entries
Source: custom_components/gardena_smart_system/__init__.py:86
Integration: Gardena Smart System integration ([documentation](https://github.com/py-smart-gardena/hass-gardena-smart-system), [issues](https://github.com/py-smart-gardena/hass-gardena-smart-system/issues))
First occurred: 10:31:03 (1 occurrences)
Last logged: 10:31:03

Error setting up entry for gardena_smart_system
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/backoff/_async.py", line 151, in retry
    ret = await target(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 141, in __call_smart_system_get
    if self.__response_has_errors(response):
  File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 131, in __response_has_errors
    response.raise_for_status()
  File "/usr/local/lib/python3.10/site-packages/httpx/_models.py", line 749, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://api.smart.gardena.dev/v1/locations'
For more information check: https://httpstatuses.com/404

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/gardena_smart_system/__init__.py", line 49, in async_setup_entry
    await gardena_system.start()
  File "/config/custom_components/gardena_smart_system/__init__.py", line 86, in start
    await self.smart_system.update_locations()
  File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 146, in update_locations
    response_data = await self.__call_smart_system_get(
  File "/usr/local/lib/python3.10/site-packages/backoff/_async.py", line 183, in retry
    await asyncio.sleep(seconds)
  File "/usr/local/lib/python3.10/asyncio/tasks.py", line 605, in sleep
    return await future
asyncio.exceptions.CancelledError

and
Logger: gardena.smart_system
Source: custom_components/gardena_smart_system/__init__.py:86
Integration: Gardena Smart System integration ([documentation](https://github.com/py-smart-gardena/hass-gardena-smart-system), [issues](https://github.com/py-smart-gardena/hass-gardena-smart-system/issues))
First occurred: 10:30:06 (8 occurrences)
Last logged: 10:30:56

404 : {r['errors'][0]['title']} - {r['errors'][0]['detail']}

if I restart ha with debug logs enabled, the integration stays in "initialization" for a long time (>10 minutes).
Debug logs:
2023-05-12 11:03:29.668 ERROR (MainThread) [gardena.smart_system] 404 : {r['errors'][0]['title']} - {r['errors'][0]['detail']}
2023-05-12 11:03:29.677 INFO (MainThread) [gardena.smart_system] Backing off __call_smart_system_get(...) for 1.5s (httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://api.smart.gardena.dev/v1/locations'
For more information check: https://httpstatuses.com/404)
2023-05-12 11:03:37.626 ERROR (MainThread) [gardena.smart_system] 404 : {r['errors'][0]['title']} - {r['errors'][0]['detail']}
2023-05-12 11:03:37.640 INFO (MainThread) [gardena.smart_system] Backing off __call_smart_system_get(...) for 1.6s (httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://api.smart.gardena.dev/v1/locations'
For more information check: https://httpstatuses.com/404)
2023-05-12 11:03:39.463 ERROR (MainThread) [gardena.smart_system] 404 : {r['errors'][0]['title']} - {r['errors'][0]['detail']}
2023-05-12 11:03:39.467 INFO (MainThread) [gardena.smart_system] Backing off __call_smart_system_get(...) for 3.2s (httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://api.smart.gardena.dev/v1/locations'
For more information check: https://httpstatuses.com/404)```

My config :
Home Assistant 2023.5.2
Supervisor 2023.04.1
Operating System 10.1 on Odroid-XU4
Interface utilisateur : 20230503.3 - latest

Hello both,
@Atarinside : did you solve the problem ? Which equipment are you using ? you activated the gardena api ?
If you call the GET /locations directly from here : https://developer.husqvarnagroup.cloud/apis/gardena-smart-system-api#openapi, does it works ?
Are you also trying t setup the integration for the first time ?

@Atarinside : did you solve the problem ?
No.

Which equipment are you using ?
Gardena gateway and the "smart automatic home & Garden pump" : https://www.gardena.com/fr/outils-jardin/smart-system/smart-system/kit-smart-automatic-home-garden-pump-50005/967085401.html
The Gardena gateway works fine with the Gardena app on my phone but not with HA. Both are on the same network.
My HA is installed on an ODROID XU-4 with the disk image downloaded from HA website.
I also use Nabu Casa.

you activated the gardena api ?
Yes. + "Authentication API" and "GARDENA smart system API"

If you call the GET /locations directly from here : https://developer.husqvarnagroup.cloud/apis/gardena-smart-system-api#openapi, does it works ?
No. I'm not 100% sure how to do it.
I've done this : https://i.imgur.com/09Xd3SV.png
Then i clicked on "execure"  : https://i.imgur.com/atyMTeG.png

Are you also trying t setup the integration for the first time ?
Yes. But i tried also to unsinstall, install all available versions of the application with the same result.

Hi!
I have the same configuration. Installed the Gardena integration the first time using 1.0.0
"If you call the GET /locations directly from here : https://developer.husqvarnagroup.cloud/apis/gardena-smart-system-api#openapi, does it works ?"
Yes it does
And I have the same 404 errors, so nothing works.

Hello guys,
using the 1.1.1-rc3 version, i've managed to make it work.
In fact the solution was to create the API key/secret using THE SAME EMAIL ACCOUNT as on the gardena APP on my phone.
So :
1 - If needed, download the Gardena app for your android phone, register/create an account and check it's working with your gardena gateway.
2 - Follow the installation instruction for frome here : https://github.com/py-smart-gardena/hass-gardena-smart-system but login to https://developer.husqvarnagroup.cloud/ with the same account you used on your phone.
Best regards.


Add document to the new IO chaos template mechanism

Signed-off-by: yeya24<EMAIL_ADDRESS>What problem does this PR solve?
Document update for the feature #502

Codecov Report

Merging #545 into master will decrease coverage by 5.30%.
The diff coverage is 39.44%.

@@            Coverage Diff             @@
##           master     #545      +/-   ##
==========================================
- Coverage   61.39%   56.08%   -5.31%
==========================================
  Files          64       66       +2
  Lines        4069     4256     +187
==========================================
- Hits         2498     2387     -111
- Misses       1383     1699     +316
+ Partials      188      170      -18

Impacted Files
Coverage Δ

api/v1alpha1/kernelchaos_types.go
13.84% <0.00%> (+9.40%)
:arrow_up:

api/v1alpha1/timechaos_types.go
17.14% <0.00%> (+7.14%)
:arrow_up:

controllers/kernelchaos_controller.go
0.00% <0.00%> (ø)

controllers/podchaos/types.go
65.95% <0.00%> (ø)

controllers/stresschaos_controller.go
0.00% <0.00%> (ø)

pkg/chaosdaemon/netem_linux.go
26.66% <0.00%> (ø)

pkg/chaosdaemon/netlink_linux.go
0.00% <ø> (ø)

pkg/chaosdaemon/stress_server_linux.go
0.00% <0.00%> (ø)

pkg/utils/chaosdaemon.go
51.21% <ø> (ø)

pkg/webhook/config/config.go
17.14% <ø> (-72.86%)
:arrow_down:

... and 48 more

Continue to review full report at Codecov.

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

@dcalvin PTAL, Thanks!

I think we have to review this ASAP since this PR is urgent. We have the new IO chaos implementation for 3 weeks but the doc is still outdated. And this PR is not for fixing English grammars so we just need to review whether this doc is helpful for users to understand our new implementation.
@cwen0 @zhouqiang-cl Please review and see what should change. For the grammar and style problems, we can put in a later PR.

Sorry for the late response. I was occupied with other priories. Just had a quick run, and I think there is some editing to be done wrt the structure and the language. But I agree we can merge it first if there are no technical issues.

/run-e2e-test

/merge


test-bot: more conservatively cleanup etc/var.

Instead of killing all of etc/var every time just delete the etc/var files that were installed from the bottle.

This seems to have brought back the original bug. In https://github.com/Homebrew/homebrew-core/pull/13274 the mariadb bottle has .bottle/etc/my.cnf and the mysql bottle does not.

Fixed in https://github.com/Homebrew/homebrew-test-bot/commit/3c72d92cc5764aef25771ffd45b10cde0aba344d.


Problems with parseTag

I'm having some issues understanding the valid format for h's arguments. I keep running into this error:
TypeError: Cannot use 'in' operator to search for 'id' in 10445
    at parseTag (http://localhost:3000/bundle.js:2679:27)
    at h (http://localhost:3000/bundle.js:2652:23)

To reproduce that error, I did:
  const item = (repo) => {
    return (
      h('div.repo', [
        h('div.stars', repo.stargazers_count),
        h('a.name', {href: repo.html_url}, repo.full_name)
      ])
    )
  }

I thought the props were options, but apparently, I have to do this:
  const item = (repo) => {
    return (
      h('div.repo', {}, [
        h('div.stars', {}, repo.stargazers_count),
        h('a.name', {href: repo.html_url}, repo.full_name)
      ])
    )
  }

I thought the properties were optional... ?

This is because react-hyperscript looks for a string or an array as a "child" element. In this case, I assume repo.stargazers_count is a number so it is handling it incorrectly. This is a bug in react-hyperscript. I will fix. Just a sec!

This has been fixed in v2.2.1. Thanks!

thanks dude!


fix typos

Pull Request Test Coverage Report for Build 269

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.2%) to 94.456%

Files with Coverage Reduction
New Missed Lines
%

autokeras/net_transformer.py
1
87.5%

Totals

Change from base Build 268:
0.2%

Covered Lines:
1329

Relevant Lines:
1407

💛  - Coveralls

Thank you for the contribution but the docs have been largely changed recently.
The typo has been fixed during the process.


Parsing lp formatted files

@JWally
I found this problem http://miplib.zib.de/miplib2010/ns1766074.php and I converted the mps file into an lp one with lp_solve (lp_solve -parse_only -fmps ns1766074.mps -wlp ns1766074.lp) since the comments in Reformat.js mention lp_solver (you will find the lp file of the instance and the js file I use to generate the model in the archive below).
The problem is that even though it goes through the parsing, the solution is not the expected one and the parser seems to consider everything as a variable (even the 'cXX:' in front of the constraints). Is it possible for you to adapt the parser ? Because mps files seem to be popular (and there is just a command to go from mps to lp).
Archive.zip

It is fine now, so I close the issue.

Actually, @lvenerosy , issues are usually closed when the PR has been merged (https://github.com/JWally/jsLPSolver/pull/35)


RFC 74 module reorganisation - Implementation plan

We plan to implement the restructuring described in RFC 74 in chunks. The planned chunks are as follows:

[ ] Move Query model into search promotions (required for moving wagtail search into external library) - PR https://github.com/wagtail/wagtail/pull/7277
[ ] Move UserProfile model into Wagtail Core - PR https://github.com/wagtail/wagtail/pull/7564
[ ] Move wagtail.core to wagtail - PR https://github.com/wagtail/wagtail/pull/8011
[ ] Merge wagtail.admin into wagtail - No PR yet
[ ] Finish breaking up Wagtail's core models into separate modules - No PR yet
[ ] General reorganisation - No PR yet
[ ] Move optional apps into wagtail.contrib - No PR yet
[ ] Merge compulsory apps into wagtail - No PR yet
[ ] Rename and reorganise template tag libraries - No PR yet

Hiya. I'm not sure if this could be in scope but it would be awesome if we could remove the import * statements in blocks/__init__.py and replace them with explicit imports.
The import * statements make static analysis tools mad when importing from wagtail.core.blocks. e.g.

This RFC feels like it might be the right place to do it.

https://github.com/wagtail/wagtail/pull/7277 is now merged.


Suthesh/fix-nav-trans

Changes:

updated translations

Type of change

[x] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[x] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

We don't need this anymore.


Worker phones

Fix worker phones that have been changed due to pandas import

Hi! I'm your friendly automated EMPD-admin bot!
Thank you very much for your data submission! I will now run some tests on your data.
In the meantime: please review your test data on the EMPD viewer using
this link: https://EMPD2.github.io/?repo=EMPD2/EMPD-data&branch=worker_phones&meta=changed_phones.tsv
This bot is helping you merging your data. I am checking for common issues and I can fix your climate, country or elevation data.
Type @EMPD-admin help in a new comment in this PR for usage information.
Make sure, that all the commands for the @EMPD-admin are on one single line and nothing else. Only
@EMPD-admin help
will work, not something like
<other words> @EMPD-admin help
or
@EMPD-admin help <other words>
Note that you can also run these tests on your local machine with
pytest.

Hi! I'm your friendly automated EMPD-admin bot!
I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.
Critical tests..PASSED
Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 37 items / 34 deselected / 3 selected
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_critical.py ...
=============================== warnings summary ===============================
opt/test-env/lib/python3.7/site-packages/socks.py:58
/opt/test-env/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Callable
opt/test-env/lib/python3.7/site-packages/pyparsing.py:3077
/opt/test-env/lib/python3.7/site-packages/pyparsing.py:3077: DeprecationWarning: invalid escape sequence \w
"""
test_critical.py::test_columns
/opt/test-env/lib/python3.7/site-packages/_pytest/fixtures.py:923: DtypeWarning: Columns (26,27,28,29,30,39,47,49,50,54,56,57,60,62,63,64,65,66) have mixed types. Specify dtype option on import or set low_memory=False.
result = call_fixture_func(fixturefunc, request, kwargs)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 34 deselected, 3 warnings in 11.10 seconds =============

Formatting tests..FAILED
test_formatting.py::test_trailing_spaces..FAILED

error
E   AssertionError: Found 12 cells with trailing spaces
    assert not 12
     +  where 12 = len(             Worker1_Phone1\nSampleName                 \nFeurdean_a3<PHONE_NUMBER>564\nTantau_a1<PHONE_NUMBER>564\nTantau...6452564\nTantau_a6<PHONE_NUMBER>564\nTantau_a7<PHONE_NUMBER>564\nTantau_a8<PHONE_NUMBER>564\nTantau_a9<PHONE_NUMBER>564)

12 failed samples

Worker1_Phone1

Feurdean_a3
'<PHONE_NUMBER>564'

Tantau_a1
'<PHONE_NUMBER>564'

Tantau_a10
'<PHONE_NUMBER>564'

Tantau_a11
'<PHONE_NUMBER>564'

Tantau_a2
'<PHONE_NUMBER>564'

Tantau_a3
'<PHONE_NUMBER>564'

Tantau_a4
'<PHONE_NUMBER>564'

Tantau_a5
'<PHONE_NUMBER>564'

Tantau_a6
'<PHONE_NUMBER>564'

Tantau_a7
'<PHONE_NUMBER>564'

Tantau_a8
'<PHONE_NUMBER>564'

Tantau_a9
'<PHONE_NUMBER>564'

Displaying 12 of 12 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 7 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py F..ssss
=================================== FAILURES ===================================
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py:15: AssertionError: Found 12 cells with trailing spaces
=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========== 1 failed, 2 passed, 4 skipped, 2 warnings in 3.19 seconds ===========

Metadata tests..PASSED
Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 20 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py ....................
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
test_meta.py::test_meta_exists
/opt/test-env/lib/python3.7/site-packages/_pytest/fixtures.py:923: DtypeWarning: Columns (26,27,28,29,30,39,47,49,50,54,56,57,60,62,63,64,65,66) have mixed types. Specify dtype option on import or set low_memory=False.
result = call_fixture_func(fixturefunc, request, kwargs)
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:45: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:153: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:192: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:222: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:250: DeprecationWarning: invalid escape sequence \
"""
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 20 passed, 8 warnings in 10.62 seconds ====================

@EMPD-admin test trailing -e
@EMPD-admin fix trailing
@EMPD-admin test

Hi! I'm your friendly automated EMPD-admin bot!
I processed your commands and hope that I can help you!

test trailing -e

FAILED
test_formatting.py::test_trailing_spaces..FAILED

error
meta =                  OriginalSampleName  ...                         Updated
SampleName                           ...     ...       Worker2_Phone1
Tinner_a9                    KKO2 4  ...                  Worker2_Phone1

[206 rows x 73 columns]
record_property = <function record_property.<locals>.append_property at 0x7fdc14361620>

    def test_trailing_spaces(meta, record_property):
        has_failed = np.zeros_like(meta, dtype=bool)
        for i, (col, s) in enumerate(meta.astype(str).fillna('').items()):
            has_failed[:, i] = s.str.strip() != s
        failed = meta.where(has_failed).dropna(how='all').dropna(axis=1, how='all')
        record_property('failed_samples',
                        failed.astype(str).fillna('').applymap(repr))

        msg = "Found %i cells with trailing spaces" % has_failed.sum()
>       assert not len(failed), msg
E       AssertionError: Found 12 cells with trailing spaces
E       assert not 12
E        +  where 12 = len(             Worker1_Phone1\nSampleName                 \nFeurdean_a3<PHONE_NUMBER>564\nTantau_a1<PHONE_NUMBER>564\nTantau...6452564\nTantau_a6<PHONE_NUMBER>564\nTantau_a7<PHONE_NUMBER>564\nTantau_a8<PHONE_NUMBER>564\nTantau_a9<PHONE_NUMBER>564)

/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py:15: AssertionError

12 failed samples

Worker1_Phone1

Feurdean_a3
'<PHONE_NUMBER>564'

Tantau_a1
'<PHONE_NUMBER>564'

Tantau_a10
'<PHONE_NUMBER>564'

Tantau_a11
'<PHONE_NUMBER>564'

Tantau_a2
'<PHONE_NUMBER>564'

Tantau_a3
'<PHONE_NUMBER>564'

Tantau_a4
'<PHONE_NUMBER>564'

Tantau_a5
'<PHONE_NUMBER>564'

Tantau_a6
'<PHONE_NUMBER>564'

Tantau_a7
'<PHONE_NUMBER>564'

Tantau_a8
'<PHONE_NUMBER>564'

Tantau_a9
'<PHONE_NUMBER>564'

Displaying 12 of 12 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 37 items / 36 deselected / 1 selected
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py F
=================================== FAILURES ===================================
_____________________________ test_trailing_spaces _____________________________
meta =                  OriginalSampleName  ...                         Updated
SampleName                           ...     ...       Worker2_Phone1
Tinner_a9                    KKO2 4  ...                  Worker2_Phone1
[206 rows x 73 columns]
record_property = <function record_property.<locals>.append_property at 0x7fdc14361620>
def test_trailing_spaces(meta, record_property):
has_failed = np.zeros_like(meta, dtype=bool)
for i, (col, s) in enumerate(meta.astype(str).fillna('').items()):
has_failed[:, i] = s.str.strip() != s
failed = meta.where(has_failed).dropna(how='all').dropna(axis=1, how='all')
record_property('failed_samples',
failed.astype(str).fillna('').applymap(repr))
msg = "Found %i cells with trailing spaces" % has_failed.sum()
>       assert not len(failed), msg
E       AssertionError: Found 12 cells with trailing spaces
E       assert not 12
E        +  where 12 = len(             Worker1_Phone1\nSampleName                 \nFeurdean_a3<PHONE_NUMBER>564\nTantau_a1<PHONE_NUMBER>564\nTantau...6452564\nTantau_a6<PHONE_NUMBER>564\nTantau_a7<PHONE_NUMBER>564\nTantau_a8<PHONE_NUMBER>564\nTantau_a9<PHONE_NUMBER>564)
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py:15: AssertionError
=============================== warnings summary ===============================
opt/test-env/lib/python3.7/site-packages/socks.py:58
/opt/test-env/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Callable
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 1 failed, 36 deselected, 1 warnings in 3.30 seconds ==============

You can look at the extracted failures in the viewer at https://EMPD2.github.io/?repo=EMPD2/EMPD-data&branch=worker_phones&meta=failures/failed.tsv

fix trailing

PASSED
Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 7 items / 6 deselected / 1 selected
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/fixes.py .
=============================== warnings summary ===============================
opt/test-env/lib/python3.7/site-packages/socks.py:58
/opt/test-env/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Callable
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 1 passed, 6 deselected, 1 warnings in 3.63 seconds ==============

test

All tests passed!

@EMPD-admin finish

Hi! I'm your friendly automated EMPD-admin bot!
I processed your command and hope that I can help you!

finish

Finished the PR and everything went fine.
Feel free to run @EMPD-admin finish --commit now to push everything to EMPD2/EMPD-data

@EMPD-admin finish --commit

Hi! I'm your friendly automated EMPD-admin bot!
I processed your command and hope that I can help you!

finish --commit

Finished the PR!
You may want to have a final look into the viewer (https://EMPD2.github.io/?repo=EMPD2/EMPD-data&branch=worker_phones) and then merge it.


Handle submitting a UserOperation to execute an L1 transaction

Either we need to submit our signed UserOperation directly to the entrypoint or submit it to a bundler service to execute the L1 transaction.

Closing as duplicate of #43


protein-protein interaction network visualizer

A program to visualize the protein-protein interaction in the form of a network graph with varying colours and sizes of nodes according to the degree and centrality of nodes.

Check spelling of pull request title... otherwise looks good

Do you want to submit both programs as one PR ?

Looks Good :+1:


Add show for Indices

Defines show for collections of Indices (the Indices Union type). Very helpful in commands such as @show inds(T) where T is an ITensor and when the indices have QNs.

Codecov Report

Merging #770 (54fb752) into main (a1b6f02) will decrease coverage by 36.34%.
The diff coverage is 0.00%.

:exclamation: Current head 54fb752 differs from pull request most recent head 944cdc9. Consider uploading reports for the commit 944cdc9 to get more accurate results

@@             Coverage Diff             @@
##             main     #770       +/-   ##
===========================================
- Coverage   67.93%   31.58%   -36.35%
===========================================
  Files          87       86        -1
  Lines       10291    10067      -224
===========================================
- Hits         6991     3180     -3811
- Misses       3300     6887     +3587

Impacted Files
Coverage Δ

src/indexset.jl
30.67% <0.00%> (-38.20%)
:arrow_down:

src/physics/site_types/boson.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/mps/observer.jl
7.14% <0.00%> (-81.23%)
:arrow_down:

src/physics/site_types/fermion.jl
0.00% <0.00%> (-80.65%)
:arrow_down:

src/mps/projmps.jl
0.00% <0.00%> (-79.07%)
:arrow_down:

src/iterativesolvers.jl
0.00% <0.00%> (-77.93%)
:arrow_down:

src/physics/site_types/qudit.jl
0.00% <0.00%> (-75.68%)
:arrow_down:

src/mps/diskprojmpo.jl
0.00% <0.00%> (-73.34%)
:arrow_down:

src/mps/mpo.jl
0.91% <0.00%> (-72.73%)
:arrow_down:

src/ITensorChainRules/ITensorChainRules.jl
0.79% <0.00%> (-70.97%)
:arrow_down:

... and 62 more

Continue to review full report at Codecov.

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

Thanks, this seems reasonable. Two comments:

Should we define a special compact printing for when the Indices are in a collection, like is being proposed for MPS printing in #772? For example these two cases could be handled differently:

julia> is = (i'', i', i)
((dim=2|id=778)'', (dim=2|id=778)', (dim=2|id=778))

julia> [is, is]
2-element Vector{Tuple{Index{Int64}, Index{Int64}, Index{Int64}}}:
 ((dim=2|id=778)'', (dim=2|id=778)', (dim=2|id=778))
 ((dim=2|id=778)'', (dim=2|id=778)', (dim=2|id=778))

Should we indicate something about the actual type of the collection, like Tuple vs. Vector?

One issue with the plan above is that the way to define the compact version of showing an object is by overloading show(::IO, args...) which is what @show uses, so @show would become less useful. There is an open issue proposing adding a new macro @display (https://github.com/JuliaLang/julia/issues/15820) which would be like @show but call the non-compact version of show. I think we should consider adding that functionality as an internal macro (maybe called @show_verbose or something like that).

Maybe the compact attribute of IO could be used for this? See:
https://discourse.julialang.org/t/show-and-showcompact-on-custom-types/8493
https://github.com/JuliaLang/julia/blob/9028130434c5fb55e00c65e73aaf13cf0afde380/base/complex.jl#L181-L196


How to generate spec runtimes?

I want to regenerate an old parallel_runtime_rspec.log, but how to do it with this gem is unclear

For me that file is empty after every run

Thanks! Can confirm it's a bug.
$ bundle exec turbo_tests  --runtime-log tmp/some_log.log ./spec/lib/
# Omitted...

$ ls tmp/some_log.log
ls: cannot access 'tmp/some_log.log': No such file or directory


return must follow with an expression

How to repeat:
Create a simple function decorated with Funix and save the code as test.py:
@funix.funix()
def test() -> int:
    return #line break
    1234

Then execute  funix test at the terminal. Then run the function in the browser.
Finally, this is the screenshot where 1234 (the expected result) is not displayed but a null.

The issue will be gone, if the last line is return 1234.

My bad. I misunderstood the syntax of the return statement.


ToolTip Icon: Tooltip in IE is separated from pointer

Detailed description

Describe in detail the issue you're having.
Looking at the tooltip in IE, the tooltip is separated from the pointer (triangle).

Is this a feature request (new component, new icon), a bug, or a general issue?
Bug. In Chrome the the tooltip is attached to the pointer.

Is this issue related to a specific component?
tooltip icon
https://angular.carbondesignsystem.com/?path=/story/tooltip-icon--basic

What did you expect to happen? What happened instead? What would you like to see changed?

What browser are you working in?
IE 11

What version of the Carbon Design System are you using?
v10.4
carbon-angular -  3.13.2

What offering/product do you work on? Any pressing ship or release dates we should be aware of?
IWR

This is a bug in the carbon-components styles ... I'd suggest opening an issue there


Wrapper to increase instruction pointer by 4

          Given that this operation keeps happening over and over again, perhaps it makes sense to create a wrapper for it.

Originally posted by @querolita in https://github.com/o1-labs/proof-systems/pull/1365#discussion_r1411959202

When all of the instructions are in, we shouldn't even need a wrapper. The end of the each function can do
env.set_instruction_pointer(next_instruction_pointer.clone());
env.set_next_instruction_pointer(next_instruction_pointer + Env::constant(4));

and then any jump instruction can just do an early return to avoid that logic.


[release-4.11] OCPBUGS-902: Bump openshift-login-plugin to 1.0.29

Signed-off-by: divyansh42<EMAIL_ADDRESS>

/retest

/label backport-risk-assessed

/label backport-risk-assessed

/assign @mbharatk
for lgtm

/assign @jitendar-singh
for cherry-pick-approved

/lgtm

/assign @jitendar-singh
for cherry-pick-approved

/jira refresh

/jira refresh

/label cherry-pick-approved

/retest

/close
openshift-login-plugin is already 1.0.29 in this branch


When we can use valuesfrom in HelmRelease

I saw the new property of CRD HelmRelease support values from external source. But I can't use this feature.
HelmOperator : 0.7.1
Flux: 1.11.0

Resolved over Slack.
HelmRelease contained
valuesFrom:
- externalSourceRef:
  url: https://bitbucket.org/xxx/flux/raw/master/xxx/values.yaml

instead of
valuesFrom:
- externalSourceRef:
    url: https://bitbucket.org/xxx/flux/raw/master/xxx/values.yaml


Copilot- Issue with configuring SSO for Web

Hi Team,
I have referred this code to configure SSO in web copilot (https://github.com/microsoft/CopilotStudioSamples/blob/master/BuildYourOwnCanvasSamples/3.single-sign-on/index.html). Could you confirm why is there a step to login with the validation code, when single sign on is enabled?
Also sharing screenshot for reference.

Hey Mariam,
I can confirm that the code sample does work as expected when configured properly. I suggest your share any client side errors you are getting, as well as the configuration for your: 1. copilot app registration and 2. canvas app registration

Thanks Mariam. Already asked for this on the Copilot Studio Community, but for the benefit of anyone reading here, can you reproduce the issue using the (unmodified) sample provided in the docs?
https://github.com/microsoft/CopilotStudioSamples/blob/master/BuildYourOwnCanvasSamples/3.single-sign-on/index.html

Hi Mariam,
Based on our conversation here I am closing this issue.
As you reported:

The canvas app registration was missing permissions for the custom scope created for the copilot app registration
The token exchange URL should have been populated in the copilot authentication settings

Hi Adilei
one question.... the correct behavior is that when I open the test html web page in a browser session already authenticated the chatbot not require the login; this is true?


feat: get images

Repository specific list of images.
Used by CVE scanning workflows and can be used to collect images URL for airgapped setup.
Summary of changes:

Added script that retrieves image managed by charm.

@i-chvets @ca-scribner @kimwnasptd
why this one was merged instead of squashing ?