update auth nextjs example to v2

What kind of change does this PR introduce?
Move examples/auth from v1 to v2.
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

@J0 I think we've deprecated getUserByCookie and setAuthCookie so we probably want to sunset this example.


Intermittent problems with cache

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
The /status page returns 500 with {"database":true,"cache":false,"session":true} every once in a while. No errors in bookstack log
Switching the cache driver value between file/redis doesn't solve the problem.  Like via quick refreshing the status endpoint in the browser, or via hitting the status endpoint via something like watch -n 0.2 curl https://instance.example.com/status?
Have you tried a more up-to-date version of BookStack?
Have you tried the database caching driver option?

Hi @ssddanbrown. Thanks for the quick reply
I am able to reproduce it with a simple bash script. I tested the database caching driver and it didn't help either
I'll try upgrading to the latest bookstack version today and will let you know if that helped

I'm still seeing the same 500 errors after the upgrade to 23.06.2

I am able to reproduce it with a simple bash script.

Are you able to share that script? Or do you mean my watch command?
Also confirm any frequency/pattern you see in the results of the script.
Just want to get in a position where I can run the same test in my environments.

 Thanks

Just had another play with this. I'm able to reproduce when running multiple watch -n 0.1 curl <url>/status instances simultaneously, instead of just one.
The cache check at this endpoint is quite simple, it puts a random string into the cache under a specific key, then pulls it back out then compares the result, failing if the new value does not match.
I think this is simply a case of multiple simultaneous requests caching that cache value within the process of another, so the result fails.
There's a couple of things we could do to adjust for this. We could use cache locks, although this does introduce some additional database requirements for us. Alternatively, we could just add a unique/random element to the cache key used to check status to likely limit the chance of conflict.
I'll mark this as something for the next feature release.
If you could add some level of random delay to your checks, or avoid whatever causes simultaneous requests, that may help work around this until cache checks are made unique.

I've now patched this in e44ef57219049bd8523b1cbee9bae0ef69fc6f59, to be part of the next feature release.
Could not reproduce via previous means with this patch.
Thanks @jradikk for reporting and providing info!


Add docstrings for all modules and the package

This pull request addresses issues #405. Hence it adds docstrings to all modules and the package.

Currently, some modules have the license note while some others do not. I recommend to make this consistent. Either by deleting them completely from the modules since the repository already has the note - which is what I prefer. However, if this is for some reason not desirable, then the licence note should be added to all of them.

@MacOS - nice work as always - thanks for picking this up!    👍


Fix Most Remaining Script Analyzer Issues Flagged During Meta Tests

Pull Request (PR) description
Fixes most of the remaining script analyzer issues that are flagged during meta tests. Fixes issues in the following files: MSFT_xPSSessionConfiguration.psm1, xGroupSet.schema.psm1, xProcessSet.schema.psm1, xServiceSet.schema.psm1, xWindowsFeatureSet.schema.psm1, xWindowsOptionalFeatureSet.schema.psm1
This Pull Request (PR) fixes the following issues

Fixes #498
Fixes #499
Fixes #500
Fixes #501
Fixes #502
Fixes #566

Task list

[x] Added an entry under the Unreleased section of the change log in
CHANGELOG.md. Entry should say what was changed, and how that affects
users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as
appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See
DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See
DSC Resource Testing Guidelines.
[x] New/changed code adheres to
DSC Resource Style Guidelines and Best Practices

This change is

Codecov Report

Merging #567 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            dev   #567   +/-   ##
===================================
  Coverage    74%    74%
===================================
  Files        27     27
  Lines      4030   4030
  Branches      4      4
===================================
  Hits       3009   3009
  Misses     1017   1017
  Partials      4      4

Needs a rebase.

Waiting for CI to finish.


add diora crowdloan rewards pallet

[x] add crowdloan pallet.
[ ] add it into runtime.

should we wait untill its in runtime or merge now friend?


Investigate GHA for build hub

This is to see if we can determine what caused the PR to merge w/ a failing required test and how best to prevent it from happening again. It may be best to figure out how to remove the dummy workflow.

Is it related to the dummy action
Is it because an admin (Jeremy) approved the PR? NO
Is it because the code was edited with the the in browser editor? NO
Is it something else we're missing

Some background
The specific workflow we are looking at is build_hub.yml/build_hub_dummy.yml

attempt to reproduce

bad merge

reasoning behind the dummy workflows and workaround

We have two GHA files -- build_hub.yml and build_hub_dummy.yml -- both of which define workflows with the same name: Build Hub. These workflows trigger upon commits to mutually exclusive set of paths; however, if a PR includes changes to both sets of path (as was the case), both workflows will trigger.
In most cases this is not an issue. However, there is an apparent bug in GitHub that triggers when:

auto merge is enabled for a PR
Build Hub Dummy runs quickly and produces a Success while the "real" Build Hub is still building.

PR gets merged automatically in this case. We have reproduced this behavior here.
The best way to address is probably to remove the dummy workflow and use conditionals within the real workflow, but this would warrant a separate ticket.


tabBar label dynamic configuration

Is there a way to set the label of a Tab dynamically, so that the label is set from the state of the component? I couldn't find any example and all my attempts didn't work.
static navigationOptions = {
    tabBar: ({ state }) => ({
      label: 'Tab Label', <---- configure this dynamically ? eg. state.params.label
      ...
    }),
  };

I can't quite figure this out either. I know you probably use state.params, but I don't know how to set state.params initially. When you're using a StackNavigator you can set params when you call navigate or use initialRouteParams, but navigate is never called for TabsNavigator and there is no initialRouteParams.

I found a solution with a pure function:
static navigationOptions = {
    title: 'Karte',
    tabBar: ({ state }) => ({
            label: setTabLabel(state),
            icon: (<Image source={require('./img/map-android.png')} />)
        }),
  };

and the function with a Config-Object, which holds different languages for the Label. Now I can change the language of the app and the label changes:
function setTabLabel(state){
  if(state.params != undefined){
    return Config[state.params.lang][state.key];
  } else {
    return Config[Config.lang][state.key];
  }
}

@vernetztekirche thanks for the answer. How are you setting the lang param initially? My TabNavigator's state has no params, even after calling setParams.

if state.params is undefined, I set it from Config.lang . The initial lang is taken from:
Android: var userlang = NativeModules.I18nManager.localeIdentifier;
iOS: var userlang = NativeModules.SettingsManager.settings.AppleLocale;
When the language is changed by a button, I call a method in the Navigator
_changeLangReload(newLang){
    ...
    const setParamsActionKarte = NavigationActions.setParams({
      params: { lang : newLang },
      key: 'titleTab1',
    })
    this.props.navigation.dispatch(setParamsActionKarte);

   ...

}

Ahh, got it. Thanks!


Add support for Zephyr HCI VSC set TX power command

Add HCI Zephyr vendor commands to read and write TX power
Create platforms/zephyr/hci.py with definitions of vendor HCI commands
to read and write TX power.
Add documentation for how to prepare an nRF52840 dongle with a Zephyr
HCI USB firmware application that includes dynamic TX power support and
how to send a write TX power vendor HCI command from Bumble

Hi @barbibulle thanks for the comments. The vendor HCI command for TX power is here: https://github.com/zephyrproject-rtos/zephyr/blob/a15e7d2326d9e8896401be479fae56f30dde71bb/include/zephyr/bluetooth/hci_vs.h#L163
However, I'm going to close this PR because I don't think it makes sense to have vendor commands for specific hardware that require custom built firmware as part of Bumble. I will add the definition for these commands at the application level for our Python project. I just wanted to use this PR to demonstrate the feasibility of setting TX power.

Actually, I think it would be great to make these HCI commands and tool extension part of the main project. I’m sure others will find it useful, even if Nordic/Zephyr specific.

It might be good to put the vendor HCI packet definitions in their own file. Maybe hci_vendor.py. I’d leave it as low level commands for now. For normal HCI commands, there’s a way to query the controller if the command is supported, but I don’t know of a way to do that for vendor commands (the answer comes in the form of a long bit mask, so not extensible to custom extensions). It’s probably safe to let users decide if they want/need to send those commands, and let them catch errors if they send the command to a controller without knowing if their controller supports it. Since the high level APIs would not send those commands directly, we wouldn’t need a config entry to enable/disable them.

It might be good to put the vendor HCI packet definitions in their own file. Maybe hci_vendor.py or hci_vsc.py.

I will push a PR for review with a structure and supporting functions for separating vendor HCI commands in discrete modules.

Great thanks!!

It might be good to put the vendor HCI packet definitions in their own file. Maybe hci_vendor.py or hci_vsc.py. I’d leave it as low level commands for now. For normal HCI commands, there’s a way to query the controller if the command is supported, but I don’t know of a way to do that for vendor commands (the answer comes in the form of a long bit mask, so not extensible to custom extensions). It’s probably safe to let users decide if they want/need to send those commands, and let them catch errors if they send the command to a controller without knowing if their controller supports it. Since the high level APIs would not send those commands directly, we wouldn’t need a config entry to enable/disable them.

I suggest to put them in their own files like in bumble/vendor/{zephyr,rtk}.py and for ex. with realtek use the commands in bumble/drivers/rtk.py

It might be good to put the vendor HCI packet definitions in their own file. Maybe hci_vendor.py or hci_vsc.py. I’d leave it as low level commands for now. For normal HCI commands, there’s a way to query the controller if the command is supported, but I don’t know of a way to do that for vendor commands (the answer comes in the form of a long bit mask, so not extensible to custom extensions). It’s probably safe to let users decide if they want/need to send those commands, and let them catch errors if they send the command to a controller without knowing if their controller supports it. Since the high level APIs would not send those commands directly, we wouldn’t need a config entry to enable/disable them.

I suggest to put them in their own files like in bumble/vendor/{zephyr,rtk}.py and for ex. with realtek use the commands in bumble/drivers/rtk.py

PR up for review: #269

@barbibulle @uael This PR is now ready to be reviewed and can be merged.
I was searching for a good way to host the prebuilt hci_usb.zip file as part of the online docs. I ended up creating a discussion thread here and uploading the file. It appears that there is a static Github URL that can be include in the mkdocs.

@barbibulle Changed the Zephyr firmware link to point to downloads/zephyr/hci_usb.zip from PR #276.


Bug fix

Hi,
I have fixed the following issue.

Fixed issue #55
Fixed search and replace bug.
Fixed translation panel highlight issue.

Please have a look into this.

I think apart from my reviews, you should make the changes given in https://github.com/friendsofagape/autographa-lite/issues/44

Let's also delete the unwanted files in the app. I see a 'hello_world' folder and controllers/index.js is also unused. Could you go through the files and delete any unused files?

My book-chapter selector looks like this:

We need to resize this.

Tests seem to pass. LGTM 👍


Chest Peek Spell

It'd be cool if the Inventory action could target a chest block and show the inventory.
This would be nice for admins to be able to snoop in players' locked chests without picking the lock.

Added "Snoop" spell that does this.


support for non divergent and divergent free velocity fields

can you add a description of what is needed here?

We wanted to use TurboGenPy to generate data for a machine learning model ( divergence-free and the corresponding non-divergent velocity field ) for pressure Poisson solver. Now no need to add this capability since we figured out another way for generating these data.


KeyError: "Recognizer3D: 'SwinTransformer3D is not in the models registry'"

Describe the bug
While running the training script "tools/train.py" this error occurs.
Reproduction
Run the command:
python Video-Swin-Transformer/tools/train.py _Video-Swin-Transformer/configs/recognition/swin/swin_base_patch244_window877_kinetics600_22k.py

Did you make any modifications on the code or config? - No. Did you understand what you have modified? - No
What dataset did you use? - Kinetics600

Environment

Please run PYTHONPATH=${PWD}:$PYTHONPATH python mmaction/utils/collect_env.py to collect necessary environment information and paste it here.

Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
sys.platform: linux
Python: 3.7.10 | packaged by conda-forge | (default, Feb 19 2021, 16:07:37) [GCC 9.3.0]
CUDA available: True
GPU 0: Tesla P100-PCIE-16GB
CUDA_HOME: /usr/local/cuda
NVCC: Build cuda_11.0_bu.TC445_37.28845127_0
GCC: gcc (Debian 8.3.0-6) 8.3.0
PyTorch: 1.7.0
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v1.6.0 (Git Hash 5ef631a030a6f73131c77892041042805a06064f)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 10.2
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75
  - CuDNN 7.6.5
  - Magma 2.5.2
  - Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.10.0+cu102
OpenCV: 4.5.3
MMCV: 1.3.12
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.2
MMAction2: 0.17.0+

You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source] -- using pip
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.) - None

Error traceback
{'type': 'Recognizer3D', 'backbone': {'type': 'SwinTransformer3D', 'patch_size': (2, 4, 4), 'embed_dim': 128, 'depths': [2, 2, 18, 2], 'num_heads': [4, 8, 16, 32], 'window_size': (8, 7, 7), 'mlp_ratio': 4.0, 'qkv_bias': True, 'qk_scale': None, 'drop_rate': 0.0, 'attn_drop_rate': 0.0, 'drop_path_rate': 0.2, 'patch_norm': True}, 'cls_head': {'type': 'I3DHead', 'in_channels': 1024, 'num_classes': 600, 'spatial_type': 'avg', 'dropout_ratio': 0.5}, 'test_cfg': {'average_clips': 'prob', 'max_testing_views': 2}}
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 52, in build_from_cfg
    return obj_cls(**args)
  File "/opt/conda/lib/python3.7/site-packages/mmaction/models/recognizers/base.py", line 75, in __init__
    self.backbone = builder.build_backbone(backbone)
  File "/opt/conda/lib/python3.7/site-packages/mmaction/models/builder.py", line 29, in build_backbone
    return BACKBONES.build(cfg)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 212, in build
    return self.build_func(*args, **kwargs, registry=self)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg
    return build_from_cfg(cfg, registry, default_args)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 45, in build_from_cfg
    f'{obj_type} is not in the {registry.name} registry')
KeyError: 'SwinTransformer3D is not in the models registry'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "Video-Swin-Transformer/tools/train.py", line 196, in <module>
    main()
  File "Video-Swin-Transformer/tools/train.py", line 154, in main
    model = build_model(cfg.model,train_cfg=cfg.get('train_cfg'),test_cfg=cfg.get('test_cfg'))
  File "/opt/conda/lib/python3.7/site-packages/mmaction/models/builder.py", line 70, in build_model
    return build_localizer(cfg)
  File "/opt/conda/lib/python3.7/site-packages/mmaction/models/builder.py", line 62, in build_localizer
    return LOCALIZERS.build(cfg)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 212, in build
    return self.build_func(*args, **kwargs, registry=self)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg
    return build_from_cfg(cfg, registry, default_args)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 55, in build_from_cfg
    raise type(e)(f'{obj_cls.__name__}: {e}')
KeyError: "Recognizer3D: 'SwinTransformer3D is not in the models registry'"

Other packages versions
mmcv-full == 1.3.12
pytorch==1.7.0
mmaction2==0.18.0
mmdet == 2.16.0
scipy==1.6.3
numpy==1.19.5

Hi, please uninstall mmaction2, and run pip install -v -e . --user

Hi @hust-nj thanks for the help. I tried what you suggested and the error was gone.
But another error has occurred when running the training command.
Prediction is not allowed in AAC-LC.
decode_pce: Input buffer exhausted before END element found
decode_pce: Input buffer exhausted before END element found
Number of bands (17) exceeds limit (16).
Reserved bit set.
Number of bands (31) exceeds limit (1).
Traceback (most recent call last):
  File "tools/train.py", line 196, in <module>
    main()
  File "tools/train.py", line 192, in main
    meta=meta)
  File "/home/jupyter/Video-Swin-Transformer/mmaction/apis/train.py", line 195, in train_model
    runner.run(data_loaders, cfg.workflow, cfg.total_epochs, **runner_kwargs)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 127, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 47, in train
    for i, data_batch in enumerate(self.data_loader):
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 435, in __next__
    data = self._next_data()
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1085, in _next_data
    return self._process_data(data)
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1111, in _process_data
    data.reraise()
  File "/opt/conda/lib/python3.7/site-packages/torch/_utils.py", line 428, in reraise
    raise self.exc_type(msg)
decord._ffi.base.DECORDError: Caught DECORDError in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 198, in _worker_loop
    data = fetcher.fetch(index)
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home/jupyter/Video-Swin-Transformer/mmaction/datasets/base.py", line 287, in __getitem__
    return self.prepare_train_frames(idx)
  File "/home/jupyter/Video-Swin-Transformer/mmaction/datasets/base.py", line 261, in prepare_train_frames
    return self.pipeline(results)
  File "/home/jupyter/Video-Swin-Transformer/mmaction/datasets/pipelines/compose.py", line 41, in __call__
    data = t(data)
  File "/home/jupyter/Video-Swin-Transformer/mmaction/datasets/pipelines/loading.py", line 965, in __call__
    container = decord.VideoReader(file_obj, num_threads=self.num_threads)
  File "/opt/conda/lib/python3.7/site-packages/decord/video_reader.py", line 52, in __init__
    ba, ctx.device_type, ctx.device_id, width, height, num_threads, 2, fault_tol)
  File "/opt/conda/lib/python3.7/site-packages/decord/_ffi/_ctypes/function.py", line 175, in __call__
    ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
  File "/opt/conda/lib/python3.7/site-packages/decord/_ffi/base.py", line 78, in check_call
    raise DECORDError(err_str)
decord._ffi.base.DECORDError: [05:20:10] /github/workspace/src/video/video_reader.cc:151: Check failed: st_nb >= 0 (-1381258232 vs. 0) ERROR cannot find video stream with wanted index: -1

Can you please guide me how to solve this one?

@wangxiao5791509 @hust-nj
I also met the error, and I have downloaded the https://github.com/open-mmlab/mmaction2.git, && pip install -v -e . --user.
But it didn't work.

I met the same problem: "KeyError: "Recognizer3D: 'SwinTransformer3D is not in the models registry'"", when i try tools/test.py.

maybe you can try
pip uninstall mmaction2
cd Video-Swin-Transformer
python setup.py develop

works for me while building a docker image


Only log pathRewriteExcludePredicate in debug env

Readd !noDebug to jss-proxy console logging to allow disabling of logging.
Description
Readd !noDebug to jss-proxy console logging to allow disabling of logging.
Motivation
Since the last upgrade we have debug logging on production. This merge request solves it.
How Has This Been Tested?
Tested this by reproducing it and adding this line to our local npm package.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read the Contributing guide.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.

Thanks for the contribution!


Build failure: qutebrowser

Steps To Reproduce
Steps to reproduce the behavior:

build qutebrowser

Build log
writing byte-compilation script '/build/tmp_j8r15cb.py'
/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/bin/python3.12 /build/tmp_j8r15cb.py
Traceback (most recent call last):
  File "/build/tmp_j8r15cb.py", line 1, in <module>
    from distutils.util import byte_compile
ModuleNotFoundError: No module named 'distutils'
error: command '/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/bin/python3.12' failed with exit code 1
make: *** [misc/Makefile:21: install] Error 1

Additional context
Distutils since python 3.10 has been deprecated, possibly the issue here?
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.35, NixOS, 24.11 (Vicuna), 24.11.20240624.2893f56`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.3`
 - nixpkgs: `/nix/store/bi5zxc0v5g6ylygdwyqzh280sccg3ykb-source`

Add a :+1: reaction to issues you find important.

https://github.com/NixOS/nixpkgs/pull/325909 has a similar enough problem
The solution there was to add setuptools

There is a https://github.com/NixOS/nixpkgs/pull/325773 PR fixing it by pinning to Python 3.11, the latest version with distutils which were removed in 3.12.
distutils documentations suggests moving to setuptools.
Archlinux package does exactly that.

The issue isn't as simple as adding setup tools. Actually the build itself is working fine with newer versions of python. The issue was coming from the installPhase which uses the upstream Makefile to install, primarily to preserve the logic of install all the extra scripts, man page and additional info.
I worked out a fix to simply patch the makefile to call pip install instead of setup.py and it works. I'll open a PR shortly, just wanna do some additional cleanup while I'm at it.


calculated signals

Hi,
I have on a Pi 3b with Debian openWB (with mosquitto), evcc (for charging), solarview running.
the following hardware is connected : Shelly 3em as energy meter for grid energy incoming; SMA inverters .
I have two analogue Ferraris energy meters : one for grid energy in , one for solar energy out
unfutunately iI cactch an errormessage when I try to start mqtt-transformer as docker-compose:
sudo docker-compose up
Recreating mqtt-transformer_mqtt-transformer_1 ... done
Attaching to mqtt-transformer_mqtt-transformer_1
mqtt-transformer_1 | exec /usr/local/bin/docker-entrypoint.sh: exec format error

python3.7 / docker  are on the latest update.
docker-compose.yaml is
version:  '3.3'
services:
  mqtt-transformer:
    image: ghcr.io/tg44/mqtt-transformer:latest
    restart: unless-stopped
    volumes:
      - /otp/mqtt-transformer/:/home/node/app/conf
    environment:
      - MQTT_URL=mqtt://<IP_ADDRESS>:1883

Here I need some help, please. - do I have to create an entrypoint file? If yes, what content is needed?
When mqtt-transformer runs, I want to create two calculated signals:#

energy sum:
[shellies/shellyem3/emeter/0/total + shellies/shellyem3/emeter/1/total + shellies/shellyem3/emeter/2/total] *<correction factor>+ <[analogue Ferraris energy meter start value]>
Gain here is to have the signal containig identical value like on the analogue emeter

Power sum:
shellies/shellyem3/emeter/0/power+shellies/shellyem3/emeter/1/power+shellies/shellyem3/emeter/2/power - solarview/WR0/PAC
here I want to have a signal that gives the effective power the hous produces (grid - solar)

Are those signals possible to create?
Thanks a lot and bye Christian

The config.json I have is in subfolder /conf is the following
{
"transforms": [
{
"fromTopic": "solarview/WR0/PAC",
"toTopic":   "openWB/set/pv/1/W",
"emitType":  "map",
"wrapper":   "pv_power",
"template":  {"$eval": "pv_power"}
},
{
"fromTopic": "solarview/WR0/KT0",
"toTopic":   "openWB/set/pv/1/WhCounter",
"emitType":  "map",
"wrapper":   "pv_energy",
"template":  {"$eval": "pv_energy*1000"}
},
]
}
and I still get:

doesn't run

That file is not a valid json. This is really annoying I know... After the last element in the transforms array there should be no colons.

Seems to be a platform problem:
when I try docker...

for compose now I have tried:
version:  '3.1'
services:
  mqtt-transformer:
    image: ghcr.io/tg44/mqtt-transformer:latest
    restart: unless-stopped
    volumes:
      - /otp/mqtt-transformer/:/home/node/app/conf
    environment:
      - MQTT_URL=mqtt://localhost:1883
      - IS_VERBOSE=true

config.json is now:
{
  "transforms":[

{ "fromTopics": ["shellies/shellyem3/emeter/0/total", "shellies/shellyem3/emeter/1/total", "shellies/shellyem3/emeter/2/total", "solarview/WR0/PAC"],
 "toTopic": "calc/out/power/sum",
 "emitType": "zipLast",
 "template": {
        "$eval": "messages[0]+messages[1]+messages[2]-messages[3]"
    },
{ "fromTopics": ["shellies/shellyem3/emeter/0/total", "shellies/shellyem3/emeter/1/total", "shellies/shellyem3/emeter/2/total"],
 "toTopic": "calc/out/energy/sum",
 "emitType": "zipLast",
 "template": {
        "$eval": "(messages[0]+messages[1]+messages[2])*1.099+96266650"
    }
 ]
}

with the result:

I also tried just to remove the obsolete comma in the former .json with the same result.

Looks like the image ghcr.io/tg44/mqtt-transformer is built for platform amd64 and you're running on platform armhf which is incompatible.
Maybe tg44 can provide an image for armhf platform (multiarch).
Alternatively you could try to use qemu to emulate the amd64 platform on your pi. If I remember correctly, qemu can be installed and enabled by running:
sudo apt-get install qemu-user-static
sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

After that, you should be able to run amd64 images on your pi. I'm not really sure though because it's been a long time since I configured a Pi that way.

Thats a nice catch, I will try to do multiarch builds tomorrow for the project.

@SMCinc Can you try to run docker pull ghcr.io/tg44/mqtt-transformer and get up your container with docker-compose up again? I added ARMv7 and ARMv8, I think this should be ok for rpis but if not I will try and add more platforms :D

To both of you: thanks a lot for very fast response.
@git-developer unfortunately qemu returns also amd64 is needed.
pi@raspberrypi:/otp/mqtt-transformer $ sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
exec /register: exec format error

@tg44 unfortunately the update did not work. - this is the response:
hcr.io/tg44/mqtt-transformer

#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0x7ed87684

I can confirm that the arm/v7 image works on a Raspberry Pi 3+ without qemu:
$ docker pull ghcr.io/tg44/mqtt-transformer
Using default tag: latest
latest: Pulling from tg44/mqtt-transformer
c6556b3b6858: Already exists
e399ca187b89: Pull complete
26c4c24c6f36: Pull complete
330de45e45aa: Pull complete
f89d11729e77: Pull complete
4f4fb700ef54: Pull complete
1c4bd91f43e5: Pull complete
0697a8dd7da2: Pull complete
9c7cdece78f1: Pull complete
Digest: sha256:e963f6d0230c8e9d2d81c37610bb8c2988b3c72b077ae3bbaaf8dcdbb7070816
Status: Downloaded newer image for ghcr.io/tg44/mqtt-transformer:latest
ghcr.io/tg44/mqtt-transformer:latest
$ docker run --rm -ti ghcr.io/tg44/mqtt-transformer:latest uname -a
Linux 2376c8fa13a7 5.10.78-7-osmc #1 SMP PREEMPT Fri Sep 2 02:43:52 UTC 2022 armv7l Linux

This is better than the qemu approach, so we should focus on that.
The image works with the following configuration.
docker-compose.yml
---
services:
  mqtt-transformer:
    image: tg44/mqtt-transformer
    init: true
    restart: unless-stopped
    volumes:
      - ./data:/home/node/app/conf
    environment:
      - "MQTT_URL=mqtt://broker:1883"

data/conf.json
{
  "transforms": [
    {
      "fromTopic": "services/solarview/D0/DPAC",
      "toTopic":   "openWB/set/evu/W",
      "emitType":  "map",
      "wrapper":   "power",
      "template":  {"$eval": "-power"}
    }
  ]
}

Service
$ docker-compose up
[+] Running 1/1
 ⠿ mqtt-transformer Pulled                                                                                1.7s
[+] Running 2/2
 ⠿ Network mqtt-transformer_default                    Created                                                                                0.7s
 ⠿ Container mqtt-transformer-mqtt-transformer-1  Created                                                                                0.6s
Attaching to mqtt-transformer-mqtt-transformer-1
mqtt-transformer-mqtt-transformer-1  | App started
mqtt-transformer-mqtt-transformer-1  | MQTT connected to mqtt://broker:1883
mqtt-transformer-mqtt-transformer-1  | Subscribed to services/solarview/D0/DPAC

Result
$ mosquitto_sub -v -h broker -t openWB/#
openWB/set/evu/W 173
openWB/set/evu/W 170

@SMCinc please compare this configuration with your environment.

@git-developer
I did
 $ sudo docker pull ghcr.io/tg44/mqtt-transformer
Using default tag: latest
latest: Pulling from tg44/mqtt-transformer
Digest: sha256:e963f6d0230c8e9d2d81c37610bb8c2988b3c72b077ae3bbaaf8dcdbb7070816
Status: Image is up to date for ghcr.io/tg44/mqtt-transformer:latest
ghcr.io/tg44/mqtt-transformer:latest

with your configuration 'version' was missing ; I used '3.3'
then 'init' is not supported and '---' had to be removed
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services.mqtt-transformer: 'init'

with version '2.2' init: true leads not to an error
Mosquitto is running at localhost on my Pi 3B+:
 $ mosquitto_sub -v -h localhost -t solarview/WR0/PAC
solarview/WR0/PAC 1682
solarview/WR0/PAC 1682

so I came to docker-compose.yml
version:  '2.2'
services:
  mqtt-transformer:
    image: tg44/mqtt-transformer
    init: true
    restart: unless-stopped
    volumes:
      - ./data:/home/node/app/conf
    environment:
      - "MQTT_URL=mqtt://localhost:1883"

Your config adatped to my environment in ./data/config.json is
{
  "transforms": [
   {
     "fromTopic": "solarview/WR0/PAC",
      "toTopic": "openWB/set/evu/W",
      "emitType": "map", "wrapper":
      "power", "template": {"$eval": "-power"}
    }
  ]
}

The result is:
 $ docker-compose up                                                                          mqtt-transformer_mqtt-transformer_1 is up-to-date
Attaching to mqtt-transformer_mqtt-transformer_1
mqtt-transformer_1  |
mqtt-transformer_1  |
mqtt-transformer_1  | #
mqtt-transformer_1  | # Fatal error in , line 0
mqtt-transformer_1  | # unreachable code
mqtt-transformer_1  | #
mqtt-transformer_1  | #
mqtt-transformer_1  | #
mqtt-transformer_1  | #FailureMessage Object: 0x7ef6e684
mqtt-transformer_mqtt-transformer_1 exited with code 0
mqtt-transformer_1  |
mqtt-transformer_1  |
mqtt-transformer_1  | #
mqtt-transformer_1  | # Fatal error in , line 0
mqtt-transformer_1  | # unreachable code
mqtt-transformer_1  | #
mqtt-transformer_1  | #
mqtt-transformer_1  | #
mqtt-transformer_1  | #FailureMessage Object: 0x7e9cd684
mqtt-transformer_mqtt-transformer_1 exited with code 133

A web search for the terms Fatal error and unreachable code leads to sonos2mqtt #152 and zigbee2mqtt #7662.
When your pi OS based on Buster (Debian 10), the Alpine base image version must not exceed 3.12. My OS is based on Bullseye (Debian 11):
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
...

Please check if you're running Buster. If so, I see 3 options:
1.) Upgrade to Bullseye
2.) tg44 changes the base image to Alpine 3.12
3.) We have to find some other workaround

Yes, my OS is Debian 10:
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster

@git-developer thx for the support!
About the 2nd point; we can use this alpine3.12 base image, if you think this will work.

I think this should help.

@SMCinc

with your configuration 'version' was missing

This was done intentionally. Beginning with Compose 1.27.0+, the version element is deprecated.

Unsupported config option for services.mqtt-transformer: 'init'

init is not supported on Compose 3.x, so your change to 2.x is correct. You may either use the latest 2.x (which should currently be 2.4) or remove the version tag and update your docker-compose to a recent version.

I think this should help.

Im not near my computer today, but if you create a pr I let it through.

@SMCinc The image has been updated, I keep my fingers crossed for your next try!

 $ docker compose version
Docker Compose version v2.12.2

$ docker pull ghcr.io/tg44/mqtt-transformer
Using default tag: latest
latest: Pulling from tg44/mqtt-transformer
Digest: sha256:c327339274c43608be0ae0f6f475ff2c57c6a1bec62fe0fe086b683bd0c0d191
Status: Image is up to date for ghcr.io/tg44/mqtt-transformer:latest
ghcr.io/tg44/mqtt-transformer:latest

$ /otp/mqtt-transformer $ docker-compose up                        Creating network "mqtt-transformer_default" with the default driver
Creating mqtt-transformer_mqtt-transformer_1 ... done
Attaching to mqtt-transformer_mqtt-transformer_1
mqtt-transformer_1  |
mqtt-transformer_1  |
mqtt-transformer_1  | #
mqtt-transformer_1  | # Fatal error in , line 0
mqtt-transformer_1  | # unreachable code
mqtt-transformer_1  | #
mqtt-transformer_1  | #
mqtt-transformer_1  | #
mqtt-transformer_1  | #FailureMessage Object: 0x7ed68684
mqtt-transformer_mqtt-transformer_1 exited with code 133

unfortunatly it does not work
also with docker:
 $ docker run -e MQTT_URL="mqtt://localhost:1883" -v ${PWD}/conf:/home/node/app/conf ghcr.io/tg44/mqtt-transformer
App started

looks different but does not work.
neither userr 'node' nor dir 'home/node' where created

zigbee2mqtt #12459 contains some discussions that may help.

Which version does libseccomp2 have on your system? (Run dpkg -l libseccomp2 to check)
Do you have buster-backports enabled? (see backports for details)

Please verify that the image used in your docker-compose configuration (and docker command line run) file is ghcr.io/tg44/mqtt-transformer and not tg44/mqtt-transformer.

The direction is the right one....
@.***:/otp/mqtt-transformer $ docker-compose up
Creating network "mqtt-transformer_default" with the default driver
Creating mqtt-transformer_mqtt-transformer_1 ... done
Attaching to mqtt-transformer_mqtt-transformer_1
mqtt-transformer_1  | App started
but something seems to be mising:
I have corrected the path in docker-composer.yml
and I have added
debhttp://deb.debian.org/debian  bullseye-backports main to raspi.list and did get-apt update

Is here something els to do? What packeges shall be istalled?

||/ Name              Version      Architektur  Beschreibung
+++-=================-============-============-============================================
ii  libseccomp2:armhf 2.3.3-4      armhf        high level interface to Linux seccomp filter
Am 13.11.2022 um 07:18 schrieb Christian:

Please verify that the image used in your docker-compose configuration
(and docker command line run) file is |ghcr.io/tg44/mqtt-transformer|
and not |tg44/mqtt-transformer|.
—
Reply to this email directly, view it on GitHub
https://github.com/tg44/mqtt-transformer/issues/15#issuecomment-1312649142,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANGIJL4VK345ROAAXFF3N73WICB33ANCNFSM6AAAAAAR2YIYCE.
You are receiving this because you were mentioned.Message ID:
@.***>

Is here something els to do?

If the error message ("unreachable code") is gone after switching to ghcr.io/tg44/mqtt-transformer, you don't need to update libseccomp2. Otherwise:

raspi.list should contain buster-backports, not bullseye-backports:deb http://ftp.debian.org/debian buster-backports main

Update libseccomp2 to 2.5.1 by runningapt-get update && apt-get install --only-upgrade libseccomp2

Please keep us updated about success or further errors.

some progress ...
 $ docker-compose up
Creating network "mqtt-transformer_default" with the default driver
Creating mqtt-transformer_mqtt-transformer_1 ... done
Attaching to mqtt-transformer_mqtt-transformer_1
mqtt-transformer_1  | App started

but something seems to be mising:
I have corrected the path in docker-composer.yml

version: '2.4'
services:
  mqtt-transformer:
    image: ghcr.io/tg44/mqtt-transformer
    init: true
    restart: unless-stopped
    volumes:
      - ./data:/home/node/app/conf
    environment:
      - "MQTT_URL=mqtt://localhost:1883"

and I have added deb http://deb.debian.org/debian bullseye-backports main to raspi.list and did get-apt update

Is here anything else to do? What packeges shall be istalled?

||/ Name              Version      Architektur  Beschreibung
+++-=================-============-============-============================================
ii  libseccomp2:armhf 2.3.3-4      armhf        high level interface to Linux seccomp filter

Is here anything else to do?

If the error message ("unreachable code") is gone after switching to ghcr.io/tg44/mqtt-transformer, you don't need to update libseccomp2. Otherwise:

raspi.list should contain buster-backports, not bullseye-backports:deb http://ftp.debian.org/debian buster-backports main

Update libseccomp2 to 2.5.1 by runningapt-get update && apt-get install --only-upgrade libseccomp2

Please keep us updated about success or further errors.

The error message unreachable code  has disappeared with image: ghcr.io/tg44/mqtt-transformer.
libseccomp2:armhf 2.3.3-4 seems to be the latest version I can get
I have added deb http://ftp.debian.org/debian buster-backports main to raspi.list
When doing apt-get update an errormessage occurs:
W: GPG-Fehler: http://ftp.debian.org/debian buster-backports InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
E: Das Depot »http://ftp.debian.org/debian buster-backports InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.

public key is missing - update is deactivated

OK. Since the error message is gone, you don't need the backports repo. If you're nevertheless interested in adding it: you have to trust the keys, e.g. by running
$ sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
$ sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138

But let's focus on your initial problem. Is everything OK now? Is mqtt-transformer working
(verify with e.g. mosquitto_sub -v -h localhost -t openWB/#)?
When the broker is running in a different container on the same machine as mqtt-transformer, you cannot use localhost as hostname because localhost means inside the mqtt-transformer container. Use an extra_hosts entry with host-gateway in that case, e.g.
version: '2.4'
services:
  mqtt-transformer:
    image: ghcr.io/tg44/mqtt-transformer
    container_name: mqtt-transformer
    init: true
    restart: unless-stopped
    volumes:
      - ./data:/home/node/app/conf
    environment:
      - "MQTT_URL=mqtt://broker:1883"
    extra_hosts:
      - "broker:host-gateway"

OK- das updated to  libseccomp2:armhf 2.5.1-1~bpo10+1
And : IT WORKS - thanks a lot with your .yml :
:/otp/mqtt-transformer $ docker-compose up
Recreating mqtt-transformer_mqtt-transformer_1 ... done
Attaching to mqtt-transformer_mqtt-transformer_1
mqtt-transformer_1  | App started
mqtt-transformer_1  | MQTT connected to mqtt://broker:1883
mqtt-transformer_1  | Subscribed to solarview/WR0/PAC
^CGracefully stopping... (press Ctrl+C again to force)
Stopping mqtt-transformer_mqtt-transformer_1   ... done
pi@raspberrypi:/otp/mqtt-transformer $ docker-compose up -d
Starting mqtt-transformer_mqtt-transformer_1 ...
Starting mqtt-transformer_mqtt-transformer_1 ... done
 $ mosquitto_sub -v -h localhost -t openWB/set/evu/W
openWB/set/evu/W -4509
openWB/set/evu/W (null)
openWB/set/evu/W -4516
openWB/set/evu/W (null)

Now I can do some reseachrch to my initial initial problem: calculated signal
I guess I will have additional questions and repot my results
For now thanks a lo for the great support.

Great, the calculation works fine.
sorry for bothering again: How can the result forced to integer:
/set/evu/W -2900.3747792754766

/set/evu/W -2900.3747792754766 -> /set/evu/W -2900
At the moment I have:
   {
 "fromTopics": ["shellies/shellyem3/emeter/0/power","shellies/shellyem3/emeter/1/power","shellies/shellyem3/emeter/2/power","solarview/WR0/PAC"],
 "toTopic": "openWB/set/evu/W",
 "emitType": "zipLast",
 "template": {"$eval": "(messages[0]+messages[1]+messages[2])*1.02103678113188-messages[3]*0.98995174"}
   },
   {

I think Ill close this. Thanks for the debugging help @git-developer !


The WMI service or the WMI provider returned an unknown error: HRESULT 0x80041033

Community Note

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

Module Version

4.0.2

Affected Resource(s)

ArcGISWebAdaptor

Configuration Files

{
    "AllNodes": [
        {
            "NodeName": "ToP-ArcGIS-T03",
            "DataStoreTypes": [
                "Relational",
                "SpatioTemporal"
            ],
            "Role": [
                "DataStore"
            ]
        },
        {
            "NodeName": "ToP-ArcGIS-T02",
            "Role": [
                "Portal",
                "PortalWebAdaptor"
            ]
        },
        {
            "NodeName": "ToP-ArcGIS-T01",
            "Role": [
                "Server",
                "ServerWebAdaptor"
            ]
        }
    ],
    "ConfigData": {
        "Version": "10.8.1",
        "ServerContext": "server",
        "PortalContext": "portal",
        "ServerRole": "GeneralPurposeServer",
        "Credentials": {
            "ServiceAccount": {
                "Password": "-----",
                "UserName": "-----",
                "IsDomainAccount": false,
                "IsMSAAccount": false
            }
        },
        "Server": {
            "LicenseFilePath": "C:\\arcgis_software\\ArcGIS_Server\\ArcGISGISServerAdvanced_ArcGISServer_1286679.prvc",
            "Installer": {
                "Path": "C:\\arcgis_software\\ArcGIS_Server\\ArcGIS_Server_Windows_1081_175203.exe",
                "InstallDir": "C:\\ArcGIS\\Server",
                "InstallDirPython": "C:\\Python27",
                "EnableArcMapRuntime": "False",
                "EnableDotnetSupport": "True"
            },
            "ServerDirectoriesRootLocation": "C:\\arcgisserver\\directories",
            "ConfigStoreLocation": "C:\\arcgisserver\\config-store",
            "PrimarySiteAdmin": {
                "UserName": "-----",
                "Password": "-----"
            }
        },
        "Portal": {
            "LicenseFilePath": "C:\\arcgis_software\\ArcGIS_Portal\\ArcGIS_Enterprise_Portal_1081_409372_20230218.json",
            "PortalLicenseUserTypeId": "creatorUT",
            "Installer": {
                "Path": "C:\\arcgis_software\\ArcGIS_Portal\\Portal_for_ArcGIS_Windows_1081_175214.exe",
                "WebStylesPath": "C:\\arcgis_software\\ArcGIS_Portal\\Portal_for_ArcGIS_Web_Styles_Windows_1081_175215.exe",
                "InstallDir": "C:\\ArcGIS\\Portal",
                "ContentDir": "C:\\arcgisportal"
            },
            "ContentDirectoryLocation":"C:\\arcgisportal\\content",
            "PortalAdministrator": {
                "UserName": "-----",
                "Email": "-----",
                "Password": "-----",
                "SecurityQuestionIndex": 10,
                "SecurityAnswer": "-----"
            }
        },
        "DataStore": {
            "ContentDirectoryLocation": "C:\\arcgisdatastore",
            "EnableFailoverOnPrimaryStop": false,
            "Installer": {
                "Path": "C:\\arcgis_software\\ArcGIS_DataStore\\ArcGIS_DataStore_Windows_1081_175216.exe",
                "InstallDir": "C:\\ArcGIS\\DataStore"
            }
        },
        "WebAdaptor": {
            "AdminAccessEnabled": true,
            "Installer": {
                "Path": "C:\\arcgis_software\\ArcGIS_WebAdaptor\\ArcGIS_Web_Adaptor_for_Microsoft_IIS_1081_175217.exe"
            }
        }
    }
}

Expected Behavior
Self-signed certificate is correctly assigned
Actual Behavior
2/18/2023 10:13:13 PM: [TOP-ARCGIS-T01]:                            [[ArcGIS_IIS_TLS]WebAdaptorCertificateInstallToP-ArcGIS-T01] Creating using New-SelfSignedCertificate
2/18/2023 10:13:18 PM: Operation 'Invoke CimMethod' complete.
Trace-DSCJob : 2/18/2023 10:13:18 PM: The WS-Management service cannot process the request. The WMI service or the WMI
provider returned an unknown error: HRESULT 0x80041033
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\4.0.2\ArcGIS.psm1:261 char:5
+     Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob

2/18/2023 10:13:38 PM: Operation 'Invoke CimMethod' complete.
Trace-DSCJob : 2/18/2023 10:13:38 PM: The WS-Management service cannot process the request. The WMI service or the WMI
provider returned an unknown error: HRESULT 0x80041033
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\4.0.2\ArcGIS.psm1:261 char:5
+     Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob

Steps to Reproduce

Important Factoids

On-premise VM in a nutanix cluster
This is an unadulterated copy of the BaseDeployment-ThreeMachine.json configuration file; utilizing this to spin up a non-SSL DEV site to test the DSC process before implementing on Production with per-machine SSL
I ran the DSC with DebugSwitch and EnableMSILogging parameters and can provide the logs upon request

References
This is the only search result that I could find that referenced that error; this is my first time using a DSC so I am unsure how helpful this might be:
https://github.com/dsccommunity/ComputerManagementDsc/issues/353

Hi @FeralCatColonist,
I have seen this once before, and was able to resolve it by updating .Net Framework to 4.8 or later.

Workaround 1: Update .Net Framework to 4.8 or later on the target node.
Workaround 2: Use a Domain or Certificate Authority signed SSL certificate: Add SSLCertificates attribute block in your configuration json file and set the SslCertificates.Target to "WebAdaptor".

Thanks,
Cameron K.

Oh man! That was the ticket! Thank you so much for pointing that out. We just got a wildcard SSL so I'll be walking through that workflow next.

Hi @FeralCatColonist,
Glad to hear upgrading .Net Framework resolved the issue.
Thanks,
Cameron K.


Feature/allow load options

Fixes #34

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Thank you for this!
@landrito WDYT?

As a side not I was tempted in fixing this unit test . There is no reason for the done callback as mocha supports promises. Therefore the code is redundant.

@landrito this is getting a little moldy :) Can we merge it?

Ah sorry for the delay! Approved!


Remove workaround

CAKE fixed the issue.
This reverts commit 1534acb27deaf93c8557d5d2e850fe55eed4b962.

 [BUG] mass adjustment tool > adding conversions > failed request


"-tokens" compiler option results in segmentation fault

I'm playing around a little bit with HolyC and your compiler, just to get used to it. I wanted to dump the token list and have a look into it. To do so, I copied the example from your README and tried to compile it using the following command hcc -tokens example.HC. This results in a segmentation fault error.

Closed by pull request: #44


ctrl+F5 refresh the page,session invalidation

environment:
jdk8,tomcat7,memcached-session-manager-2.1.1,memcached-session-manager-tc7-2.1.1,msm-kryo-serializer-2.1.1
tomcat context.xml is：
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"                          memcachedNodes="n1:<IP_ADDRESS>:11211,n2:<IP_ADDRESS>:11211"                          sticky="false"                          sessionBackupTimeout="100"                          sessionBackupAsync="false"                          lockingMode="auto"                          requestUriIgnorePattern=".*\.(ico|png|gif|jpg|jpeg|bmp|css|js|html|htm)$"         transcoderFactoryClass="de.javakaffee.web.msm.serializer.kryo.KryoTranscoderFactory" />
Question discrible:
when I start my web application and login from login page,the session is

searched n1 memcached with E3E056B459B22FB18270BCC2E029F950-n1,the result is:

searched n2 memcached with E3E056B459B22FB18270BCC2E029F950-n1,the result is:

when I used F5 to refresh the page,session was ok,but when I used Ctrl+F5 to refresh the page twice,the session was became invalid,and the page redirected the login page

but the session was still in n1 memcached and n2 memcached

Sorry for the late response.
One question is how/when/why the session was stored in n2. For this a fresh conversation would have to be tested while analyzing logs to see when this happens.


Header size

The header is big, Can I hide it or minimize it?

Hey, what's up, do you put on the router the property headerShow false? And also can you show me how do you render the picker ?

Just it,

Hmm

Do you checked this? also can i see the entire render and styles?

I saw this issue too, I overrode the DefaultHeader (using the theme: header props) and changed the height property of defaultHeaderContainer. You can copy the DefaultHeader function and styles from the component source code.
Thank you for the great component @mdjfs!

have your question been answered @MalikAlkhateeb so it can be closed


Girder worker

Use girder_worker instead of Romanesco.
This is currently dependent on the python tests branch; it could be separated, but since that branch is ready to go, I'd rather see that branch merged and this one's history cleaned up.

LGTM. I see no reason to rebase this, the history should end up fine.

Nevermind, it is failing to merge. I'll rebase now.

I just merged it after your comment -- I think I just beat you to it, that is all.

Yup, all set here.


Reverse IMU I2C address from supplement to full

Reverses IMU address change in defines.h introduced in #322.
The change is reversed for compatibility with web flasher, as well as for future expandability with use cases with more than 2 IMUs. Directly inputing the addresses give flexibility in case any address shifters are involved, or IMUs are wired in different configurations.

@l0ud please review too, ty

Does this currently build without the address variable in the bno driver?
Also, codeowners seems to have an error?

Does this currently build without the address variable in the bno driver?

The address is there.

Also, codeowners seems to have an error?

Because @l0ud isn't in the org :nya_a: I'll add later...

lgtm


Upgrade the Airbrake Gem

We're using version 3.1.7 of the Airbrake Gem. This version doesn't report on ActionController::BadRequest exceptions correctly. They're reported in Errbit as Notifications, which isn't very helpful.
Pull request 271 in the Airbrake project appears to have fixed this problem.
The pull request was updated on Aug 26 2014 with a comment saying that the fix would be released the following week. Airbrake version 4.1.0 was released on Sep 4 2014 so I suspect we'll want at least this version.

I've moved this to Trello in an attempt to end up with a single place containing Smart Answers stories/tasks/bugs.
See the Trello card (not public).
Closing this issue.


Use supports_compute() in compute example.

Not sure if this is important, but supports_compute() seems more appropriate for this example?

Right, thanks!


Temp irobot humble

Temp branch for humble fixes

The commit 40fc80e8c9c6971f1e6a4e8690ce0dd641acbd7f should be reverted.
The implementation is not correct and it's very bug-prone.
Some examples:

call wait-for-service with timeout 1 second: the client may wait up to double that amount of time (1 second for ipc and 1 second for non-ipc)
call wait-for-service with infinite timeout: the client will block forever if the server is not using ipc (it will remain forever in the ipc check without ever checking non-ipc services).

This feature is needed only for the stub-dds, so we can remove it now.
We will need to find a better way to implement it.

The commit https://github.com/irobot-ros/rclcpp/commit/40fc80e8c9c6971f1e6a4e8690ce0dd641acbd7f should be reverted.

It's reverted in https://github.com/irobot-ros/rclcpp/pull/97/commits/1c46ae59f93e0d1b592b68bca83d57139463a462 already.


Open Source : 6.34 Explain everything related to The Go Programming Language

Description
Description 📜
Open Source: 6.34 Explain everything related to The Go Programming Language
NOTE 👇
Please put your doc 6.Popular_Projects with the name 6.34_Go_Programming_Lanuage.md
Domain
Open Source
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


return "pick up where you left off" feature back to search

It's been a few months since I used Twarc and upon returning to it, I see that the feature of "picking up where you left off" has been moved to archive.py.  If I'm understanding the reasoning behind this, it's that moving it elsewhere leaves room for people to send their data where they want to.
That makes sense, but I cannot think of an instance in which I would not want this feature.  If the program shuts down for any reason, you will need this feature.  Why would I use the --search option given that all the features of search are contained in archive.py with the added benefit of being able to start where I left off should the program fail for some reason.  It should be noted, I do not think of all things, so reasons may exist.
My limited experience aside, the only other places I think one would want to write data is to either a database or a program that does something with the data first and then passes it on.  While doing so might be preferred to a single json file, what I love about twarc is it's simplicity.  It writes to a json file, and you can manage the json file afterwards.  Using twarc in any other capacity would take enough re-writing on the part of the user to make it work that it's not worth losing this as a default feature.  I think it would be preferable to have a flag that sets the output to a different location than it would be to assume that you want it to go to a different location by default.

The problem is the "pick up" feature didn't really didn't work well once the --stream option was added. The code also got a bit complicated and tangled, and I needed to simplify it. I am sorry if this doesn't fit your use case. Please give the archive utility a try.

Ah I see.  I didn't realize it was an architectural issue that was final.  The archive.py file indicates otherwise.
"This functionality was initially part of twarc.py itself (not in a utility).  If it proves useful perhaps it can go back in. But for now twarc.py writes to stdout to let you manage your data the way you want to."
I am happily using the archive.py function.  That fits my use case perfectly, but my larger point was that I can't think of a use case where I would use --search given that archive.py is search plus.  Again, I do not think of all things so my assertion is suspect.
Thanks, Ed!

Related to this issue, not to return past features, I would suggest to add a tricky feature. Probably useful for both --search --stream and archive.py: exit the process when twarc output "no new tweets…", catch python errors and do de same I found cases that it doesn't exit to the shell.
This way supervisor (or other linux system tools to running daemons) could be used. Still some trouble to catch error coming by twitter, you know.

I believe this problem of not exiting was fixed already. Update to the latest version, and please file a bug report if you notice a specific problem.


Create cairo differential fuzzer

Differential fuzzer for cairo-rs and cairo in python.
Initial corpus input is given with json compiled cairo programs

Are the compiled programs necessary in the repo (i.e., are they modified or something)? Otherwise, please add them to .gitignore and don't commit them.
The .json programs are a part of the corpus. I've found they help kickstart the coverage of the fuzzer. I can try deleting a few so that the corpus isn't so bloated or making a makefile to compile the .cairo programs.

I'm not sure I see any fuzzing going on.
It's a differential fuzzer for the the cairo vm. It checks that the python and rust implementations give the same results.

match (execute_program(&rs_trace_name, &data), cairo_python(&program_name, &py_trace_name, &data)) {
    (Ok(_), Ok(_)) => {
        match (read(&py_trace_name), read(&rs_trace_name)) {
            (Ok(py_trace), Ok(rs_trace)) => assert_eq!(py_trace, rs_trace),
            _ => {}
        }
    }
    (Err(e), Ok(_)) if !e.to_string().contains("Unknown Hint")  => panic!("Err in cairo-rs"),
    _ => {}
}

This is where the comparison takes place. Each implementation tries to run a program and generate a trace, then the trace is compared. The only error I'm tolerating is when the rust implementation is given an unknown hint.

This commit: https://github.com/lambdaclass/fuzzing_examples/pull/20/commits/87ac5416da8f5a2256108e49845abc96f6c70e58
Crates a Makefile to compile the cairo programs and create an initial corpus

The .json programs are a part of the corpus. I've found they help kickstart the coverage of the fuzzer. I can try deleting a few so that the corpus isn't so bloated or making a makefile to compile the .cairo programs.

Maybe they can be stored separately as an artifact. You would then keep a link and a checksum in the repo to fetch and validate the contents.


Regex Filter

Pretty straightforward addition. A filter that uses regex::bytes::Regex to filter or capture bytes.
Config Options

regex: The actual regular expression.
capture_key: The key to store any capture groups that matched to in metadata.
on_success: What happens when the regular expression succeeds. My current thinking is this would accept pass and capture, pass where the filter continues on, and capture where it additionally places any capture groups in capture_key.
on_error: Right now I think this would have a single value drop where the packet is dropped, but in the future this could have values like ban or event when we have #63.

Closing as complete.


chore(dev): Add generate-library command in dev/google-cloud

Add generate-library command to fully generate a library with just user confirmations.

Added them as options, Please let me know how it looks now.

I'm not sure what I did wrong, but when I ran this for the shopping css library, I received this error:
PHP Warning:  chdir(): No such file or directory (errno 2) in google-cloud-php/dev/src/Command/AddComponentCommand.php on line 253
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file).
ERROR: The 'query' command is only supported from within a workspace (below a directory having a WORKSPACE file).
See documentation at https://docs.bazel.build/versions/main/build-ref.html#workspace
Something went wrong at bazelBuildLibrary, Please use the add-component command instead.

I'm not sure what I did wrong, but when I ran this for the shopping css library, I received this error:
PHP Warning:  chdir(): No such file or directory (errno 2) in google-cloud-php/dev/src/Command/AddComponentCommand.php on line 253
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file).
ERROR: The 'query' command is only supported from within a workspace (below a directory having a WORKSPACE file).
See documentation at https://docs.bazel.build/versions/main/build-ref.html#workspace
Something went wrong at bazelBuildLibrary, Please use the add-component command instead.

With the latest changes, this should be working now.

@bshaffer For tests, I was thinking of moving the runCommand function to a trait named ProcessTrait, where this method can be public logically. Once the function is public, we can easily test them. I understand private method mocking is not considered as a great idea.


GitHub Access Token became invalid on scrutinizer-ci

hi,  pls check.
https://scrutinizer-ci.com/g/laravel/framework/

We don't use scrutinizer.


This seems like a perfectly valid way to deploy this seeing as it seems a bit inconsistent documentation wise

version: "3.9"
services:
  shepherd:
    image: mazzolino/shepherd
    environment:
      SLEEP_TIME: "1d"
      TZ: "US/Eastern"
      VERBOSE: 'true'
      IMAGE_AUTOCLEAN_LIMIT: "5"
      WITH_REGISTRY_AUTH: "true"
      WITH_INSECURE_REGISTRY: "true"
      WITH_NO_RESOLVE_IMAGE: "true"
      IGNORELIST_SERVICES: "label=shepherd.autodeploy=false"
      FILTER_SERVICES: "label=shepherd.autodeploy=true"
      ROLLBACK_ON_FAILURE: "true"
      UPDATE_OPTIONS: "--update-delay=30s"

    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock"
      - "/root/.docker/config.json:/root/.docker/config.json:ro"
    deploy:
      placement:
        constraints:
        - node.role == manager
      labels:
        - shepherd.enable=true
        - shepherd.autodeploy=false

In this example all you must do to any additional container services in swarm would be to add the line - shepherd.autodeploy=true" and you will have an auto updating service you can also omit anything and it will just ignore that service but if you have a tin foil hat like me and don't like broken databases you can add - shepherd.autodeploy=false"
This example also includes a 1d 1day cooldown because I don't think that I really want this thing checking for container upgrades every 5 minutes and giving me not enough time to react to bad upgrades.
I think that this is a perfectly reasonable way to deploy smaller more resilliant containers but ultimately this has major drawbacks and would likely also highly benefit from being deployed along side of a monitoring system such as Uptime-Kuma or something for the sake of being alerted more proactively when something goes wrong rather than having that one webapp that gets ignored like 99% of the time but is unknowingly killed by improper label/version pinning.

I don't quite get what you're getting at - am I understanding it right, that you propose we add the part with the labels to documentation/examples?

Eh kinda I was just mostly recording a valid way that seemed to work recently to the git issues for anyone looking to use this going forward.  If you find it useful deem it so and add it to docs, you're also encouraged to tell me to take a hike too <3 Whatever makes ya happy.


ts typings add action arguments to defaultReducer

Pull Request Test Coverage Report for Build 111

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

Totals

Change from base Build 109:
0.0%

Covered Lines:
49

Relevant Lines:
49

💛  - Coveralls

@ilyaagarkov Thank you!


TrackPopupMenu has the wrong return type in certain context

Actual behavior
CsWin32 generates the function signature for TrackPopupMenu and TrackPopupMenuEx as bool, which is correct for using no parameters. The "Return value" section however states that the return value will be an UINT_PTR (IntPtr, int?) when TPM_RETURNCMD has been passed.
Expected behavior
Our function sig that we have written is this:
[DllImport(nameof(User32))]
internal static extern int TrackPopupMenuEx(IntPtr hmenu, uint fuFlags, int x, int y, IntPtr hwnd, IntPtr lptpm);

Repro steps

NativeMethods.txt content:

TrackPopupMenu
TrackPopupMenuEx

Any of your own code that should be shared?

unsafe
{
    // this turns into a type compiler error
    int clickedItemId = PInvoke.TrackPopupMenuEx(_hMenu, (uint)TRACK_POPUP_MENU_FLAGS.TPM_RETURNCMD, x, y, hWnd);
}

Context

CsWin32 version: 0.1.506-beta
Target Framework: net5.0-windows

UINT_PTR translates to IntPtr.

(Or UIntPtr)

Fixed by #363


Class chrmorandi\jasper does not exist

i can not run hello word example.
Class chrmorandi\jasper does not exist
thanks.

Yeah, I am getting the same thing

Try this: 'class' => \chrmorandi\jasper\Jasper::classname().
:)

I did it but I got another error "Your report has an error and couldn't be processed! Try to output the command: /var/www/html/myreports/vendor/chrmorandi/yii2-jasper/src/Jasper/../JasperStarter/bin/jasperstarter process /var/www/html/myreports/vendor/chrmorandi/yii2-jasper/examples/hello_world.jrxml -f pdf rtf -P REPORT_LOCALE=pt_BR php_version=5.5.9-1ubuntu4.19 -t mysql -u root -p allpasswords -H myhost -n mydatabase --db-port 3306"

Try run this command in your terminal and you'll get the specific error :)
Your report is waiting the parameters that you're sending ("REPORT_LOCALE" and "php_version") ?

I tried, it compiles in a command but not in my application. It also creates pdf in a command but  not in my application. What could be wrong?


Menu dropdown does not stay tethered to menu button

I am having an issue where my menu button is in a fixed header. If the dropdown is visible and the page scrolls the dropdown scrolls with the page, it does not stay tethered to the fixed button.
Also having another issue that may be related. If the page is not scrolled to the top and the menu button in the fixed header is clicked, the dropdown displays but it also scrolls the page all the way to the top.

Hi @jlsuttles, the first issue is related to us not using Tether, for the moment, which was to attempt to fix an issue calculating the position of an element using Flex Box. I think we can safely switch back to Tether.
Your second issue is actually the browser. I'm not sure on a good workaround yet, but basically when the menu opens, we send a focus event to the first item, or first selected item, which causes the browser to scroll to that element to make it visible.


xf86-video-amdgpu: Use DRM_CAP_CURSOR_WIDTH/HEIGHT if possible

Closes #121.
This patch can be removed as soon as xf86-video-amdgpu gets a new official version.

Thanks!


feat: add ids on heading

Checklist:

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

Solve: change id when the content of the heading changes. Currently the id updates once and then no more.
Solution: probably add a custom node view and trigger a re-render with the updateAttributes function that is present on the prop object.

Ahh good to know I was not the only one who faced this issue. Yea the solution you've proposed sounds like a good idea.


[bug] No way to use Manifest asynchronously

Describe the bug
As it stands, guardrails is invoked async if a coroutine/async callable is passed to the __call__ method of the guard. Manifest uses the same object for both sync and async.
While there is plumbing for using manifest async (also tested and bugfixed in https://github.com/guardrails-ai/guardrails-internal/pull/12/commits/438d67e756f72df6b6568c55ee4830387500f3bb), there's currently no interface to access it.

@irgolic, I'm following the progress.


Replace new DefaultStreamMessage() to StreamMessage.streaming()

Related PR https://github.com/line/armeria/pull/4696, Issue https://github.com/line/armeria/issues/4253
Motivation:

   static <T> StreamMessageWriter<T> streaming() {
      return new DefaultStreamMessage<>();

So you want to deprecate this class in the follow-up PR?
I mean deprecating the whole class because it doesn't need to be exposed to public.

See https://github.com/line/armeria/pull/4696#discussion_r1115261744
We don't want to expose new DefaultStreamMessage() directly cause we have StreamMessage.streaming() instead

Modifications:

Replace new DefaultStreamMessage() to StreamMessage.streaming()

Result:

Now we can hide new DefaultStreamMessage() more and use StreamMessage.streaming() instead

https://github.com/line/armeria/blob/ff25d6f1e79c9fcfbbe632052a3102411554458f/core/src/main/java/com/linecorp/armeria/common/multipart/MultipartEncoder.java#L153-L161
FYI, I found that some classes extends or overrides DefaultStreamMessage directly.
So If we make DefaultStreamMessage package-private, we can't overrides like above on MultipartEncoder.

Also, If we add @Deprecated annotation on DefaultStreamMessage, it's looks weird on my IDE. (using DefaultStreamMessage directly looks like above, deprecated)
So I just replace new DefaultStreamMessage() to StreamMessage.streaming() as much as possible in this PR~!

How about at least adding @Deprecated to the constructor so that people use the static method instead?
/**
 * Creates a new instance.
 *
 * @deprecated Use ...
 */
@Deprecated
public DefaultStreamMessage() {...}

If we add @Deprecated annotation on DefaultStreamMessage constructor, DefaultHttpResponse, DefaultHttpRequest also looks deprecated cause they extend DefaultStreamMessage..
@minwoox , is it okay? then I'll add @Deprecated and update this PR~!

@minwoox , is it okay? then I'll add @Deprecated and update this PR~!

I think it's okay and we should so that users no more use the constructor of DefaultStreamMessage anymore. If we don't, users will still use the constructor and it will bother users when we hit 2.0 and remove the constructor.

DefaultHttpResponse, DefaultHttpRequest

I realized that we also need to deprecate those APIs. Users should use HttpResponse.streaming() and HttpRequest.streaming(headers) instead. Could you also make changes to that?

📌 I'll resolve the conflict soon~!

Thanks for cleaning up! 🚀🚀


test: improve coverage for delete operation

RemoteDhis2Exception is an interesting class

Actually it's called RemoteDhis2ClientException.


Fix broken hyperlink in the documentation

Please provide the issue you face regarding the documentation
The hyperlink in the below sentence in the Load a File section should change from
If the file type is not automatically identified (rare), you can specify them specifically, see section Specifying a Filetype or Delimiter.
to
If the file type is not automatically identified (rare), you can specify them specifically, see section Specifying a Filetype or Delimiter.
I am trying to fix the documentation as a way to create my first PR on the repo.

@rakeshgowerneni  that's a good catch! I'm curious why sphinx did not generate that properly. Thoughts on how to fix? We welcome PRs and would love to see you contribute!

When you implement the fix @rakeshgowerneni, be sure its not specifying a specific version in the hyperlink. Rather, it should be agnostic to the version and just resolve to the proper location within whatever docs are live at that time.
If the file type is not automatically identified (rare), you can specify them specifically, see section [Specifying a Filetype or Delimiter](https://capitalone.github.io/DataProfiler/docs/0.10.1/html/profiler.html?highlight=filetype#specifying-a-filetype-or-delimiter).

Hey is anyone working on this? Can I try this out?

Yes, you are more than welcome! README.md in the dev-gh-pages would be a
good place to start for building documentation. Thanks and let me know if
you have any other questions. Cheers!
On Fri, Dec 22, 2023 at 11:53 PM Mishahal Palakuniyi <
@.***> wrote:

Hey is anyone working on this? Can I try this out?
—
Reply to this email directly, view it on GitHub
https://github.com/capitalone/DataProfiler/issues/972#issuecomment-1868205997,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFKRX4N47HRZAX27T6PNYLYKZPWBAVCNFSM6AAAAAA2ZPA3G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGIYDKOJZG4
.
You are receiving this because you were assigned.Message ID:
@.***>

@thebadcoder96 let me know if you have anymore questions -- the team is back at it today. Thanks for your interest!

Thank you for the response! I will go through the readme file that you mentioned and let you know if I have any questions.

Thank you for the response! I will go through the readme file that you mentioned and let you know if I have any questions.

Thanks @thebadcoder96!

Here is how I think we can solve the issue. I do not have much idea on sphinx but I am looking into that as well.

We can run a Python script that prints out the current/live version of Data Profiler.
Trigger a custom GitHub Actions workflow when there is a push to main and use the Python script to update the readme file using the latest version. Probably use sed for updating the readme file.

Wdyt? Any other thoughts are welcome since I do not have full context on how everything works within the Data Profiler, I might be wrong as well.

I think we can actually re-use the code written out here.
That script will have the proper version tag and we can simply find the spot in the pertinent file to ensure its always referencing the most up-to-date build of the docs.

Please correct me if I am wrong, but the issue mentioned here pertains to the readme file of the Data Profiler Github. In the documentation website there is no hyperlink and the sentence is also a bit different.
From my understanding, docs/update_documentation.py updates the GitHub pages documentation, which is NOT the one we want to update right?

@thebadcoder96 yes, you are correct. I was confusing something else.
In this case I would key off of the version.py file and try to reference that in the README.md as a consistent reference point for the proper version for the hyperlink... there might be another way too to reference the index.html and tack on a #specifying-a-hyoerlink(or something like that) to the hyperlink in the README

@thebadcoder96 the URL should be
https://capitalone.github.io/DataProfiler/docs/<current_version_tag>/html/profiler.html?highlight=filetype#specifying-a-filetype-or-delimiter
We'll want the version tag to be a reference and not a manual change every time we make a new release of dataprofiler.

Since you mentioned version tag, I think we can use git describe --tags to get the current version tag and then update the readme file.
I have created a PR with the proposed changes, please review #1080


API changes to enumerate bastion hosts accessible from given virtual network

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

Can one of the admins verify this patch?

I need this reviewed to get canary testing done. Change is not to be merged for now. I didn't tag WIP because API signoff is required

/azp run automation - sdk

@msabansal, please let me know if this PR is ready to merge.


VMD over a sphere (FDEM)

Similar to #39. The notebook FDEM_vmd_sounding_over_sphere.ipynb provides a good starting point

sphere in a halfspace - with a single layer above the sphere - on the 2D cylindrical mesh
user should be able to change

depth, radius of sphere
conductivity of sphere, halfspace
height, frequency of source

for viewing: currents, electric field, magnetic field / flux

want to be able to view model as well
move freq box to bottom

closed with #50, geoscixyz/em_examples#107


Remove CHAIN_ID env var

Adjust calculation of the safeTxHash to not rely CHAIN_ID env var and rather use the config service instead

CHAIN_ID has no longer been in use since https://github.com/gnosis/safe-client-gateway/pull/435


import bug

You can import file as
import 'War.dart';
while the orginal file name is
war.dart
without any errors but some other build commands and library generate unexpected error
like this

See https://github.com/dart-lang/linter/issues/3244
Closing as this is not a Flutter-level issue.


Packagining for PyPI/pip deployment

Files necessary for packaging added (pyproject.toml, MANIFEST.in)
Some imports are now lazy imports (like matplotlib)
All demos and tests assume that loglead package is installed and that env file is used to point to data
The two demos that depend on samples data are refactored:

samples dir is moved to demos
demo scripts handle paths with os.path.join

Fixes #25
Need to test #29

I managed to run the two samples demos using this pip installation.

python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ loglead

python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ loglead[bert,test,demo]

@mmantyla @jnyyssol @yuqwang Please check the pyproject.toml file for the following metadata:

Do you want to use Helsinki emails?
Are the keywords ok?
Do you want to use the same README for the page on pypi or should we make another one?
Are the classifiers fine? The full list is here

Do you want to use Helsinki emails?

Yes, they are fine.

Are the keywords ok?

Fix typo on "anomanly detection".

Do you want to use the same README for the page on pypi or should we make another one?

The existing works, but update details (e.g. tags) and fix image (or remove).

Are the classifiers fine? The full list is here

Use "beta" instead of "production" as development status classifier

The existing works, but update details (e.g. tags) and fix image (or remove).

What do you mean by tags in the README.md?

What do you mean by tags in the README.md?

The optional dependencies that are not used anymore, but are in the readme in: https://test.pypi.org/project/LogLead/
But yeah, naturally those should be removed from both readmes.

Hello!
I implemented the changes to the metadata and merged with Mika's changes to test/demo files.
The version 0.0.9 on TestPyPI should be the 'final' one for this stage.
Please install and test one last time the test/demo files (they do not use LOGLEAD_PATH and assume loglead is installed).
python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ loglead==0.0.9```

Good news. HDFS_samples.py  TB_samples.py work OK.
However, both ano_detection.py and parsing_speed.py fail as they rely on LOGLEAD_PATH to find their config file. Config file determines what is run on these tests.
(LL_test_pip4) mmantyla@lh3-523-29052:~/Alex4_LL_pip/LogLead/demo/parser_benchmark$ python ano_detection.py /home/mmantyla/Alex4_LL_pip/LogLead/demo/parser_benchmark Traceback (most recent call last):   File "/home/mmantyla/Alex4_LL_pip/LogLead/demo/parser_benchmark/ano_detection.py", line 29, in <module>     default_config = LOGLEAD_PATH + '/demo/parser_benchmark/ano_detection_config.yml'                      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' (LL_test_pip4) mmantyla@lh3-523-29052:~/Alex4_LL_pip/LogLead/demo/parser_benchmark$ ls ano_detection.py  ano_detection_config.yml  parsing_speed.py  speed_config.yml (LL_test_pip4) mmantyla@lh3-523-29052:~/Alex4_LL_pip/LogLead/demo/parser_benchmark$ python parsing_speed.py None Traceback (most recent call last):   File "/home/mmantyla/Alex4_LL_pip/LogLead/demo/parser_benchmark/parsing_speed.py", line 25, in <module>     default_config = LOGLEAD_PATH + '/demo/parser_benchmark/speed_config.yml'                      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'


Scheduler status

Hello there. First, I'd like to thank for this package, help me a lot of.
Is there any to check the status of the schedule?
Thanks...

Thank you for kind words!
Could you please clarify what do you mean by "status"?

Hey, thank you very much for the quick response. Regarding the status issue, I need to inform the user if the schedule is running, stopped or started now.

Gotcha. Will take a look tomorrow and see if api there could be improved. Do you need to be able to retrieve this info by id?

In my case, only one schedule will run. So I guess it doesn't have to be by id.
Thank you very much for your help, I'm waiting, thanks.

Released in 1.3.0


ng g config to generate test.ts

Command
test
Description
It is possible to generate the karma.conf.js file but not to generate the test.ts file.
This file can be really useful to add things like custom matchers.
Describe the solution you'd like
Something like ng g config test that would re-add the test.ts file to the project, allowing to customize it.
I have a WIP PR to add this if the team is OK.
Describe alternatives you've considered
You can manually add the file if you know how it should look.
Or maybe we could have an extra field in the karma builder like 'setup', to just specify a file that would add the custom matchers.

Hi @cexbrayat,
What would you like to customize in the test.ts?

as I mentioned in the issue, it can be useful to add custom Jasmine matchers to all tests, for example:
beforeEach(() => {
  jasmine.addMatchers(customMatchers);
});

I'll add another use case: in the upcoming zoneless experiment, it will be handy to add provideExperimentalZonelessChangeDetection() into initTestBed. A way to add test.ts back into the project would simplify that.


Link building is inconsistent from local docker-compose to deployment

Links from (for instance, there are other examples) https://solid.github.io/Learn/writing-solid-applications to https://solid.github.io/Learn/writing-solid-applications/1-authentication# is badly generated in the deployed version, while it is correct when locally testing using docker-compose.
In the deployed version, the last part of the URI (here writing-solid-applications) is not appended when referencing to a child page, leading to the generation of a broken link https://solid.github.io/Learn/writing-solid-applications/1-authentication. What is the correct way of writing relative links ?

Yeah I ran into this too. GitHub Pages has its own routing methods it seems. There used to be a jekyll/jekyll:pages Docker image, but that doesn't seem to work anymore for me - but you might want to give that a try instead, maybe it works for you.


Generate .equals() and .hashCode() method

Closes: https://github.com/package-url/packageurl-java/issues/17

ping @stevespringett

Why was this merged in? I believe there are defects in the approach which should be validated by the addition of unit tests.

Because neither you or some one else objected by doing a review in more than 23 days, and to me the code looked fine.


(Feature Request) Enable Full Animation at Distance

RE2R and RE3R enemies has this issue, enemies runs at half framerate at distance and 1/4 of the framerate wgen they're even distant.
REFramework already has Vignette Removal, which is amazing. so it would'be awesome if it gets support for Full Animation at Distance.
btw: Somehow RE7 and RE8Village doesn't have this issue.

Pls implement it
https://residentevilmodding.boards.net/thread/16261/re2r-distance-zombies-full-framerate?page=1&scrollTo=147112

https://github.com/TheTedder/REFix/

oh thank you!!


SBShortcutMenuSimulator not working in Xcode 8 in iPhone 7

It was working fine when I was using Xcode 7 and iPhone 6S [ iOS 9.1 ]. Now I am using Xcode 8 & iPhone 7, this does not work anymore. It executes all commands properly but does not display the Quick Action Menu.
Please help.

yup. Same here.

yup. Same here.

yup. Same here.

yup. Same here.
xcode 8, sim 9.1

yup. Same here.

I have solved the whole Force Touch related problems by buying a new iPhone 6S.

yep，，I failed  again。。。

Same here.

but when I open my computer next time ,it works! I'm excited...I do not know how it can be.

I am using Xcode 8 & iPhone 7, this does not work anymore.

I am using Xcode 8 & iPhone 7, this does not work anymore.

Same here.

Same.

Same with me its not working ):

The only workaroud I've found is to install 9.1 simulator and test there.

The version from this pull request: https://github.com/DeskConnect/SBShortcutMenuSimulator/pull/18 works fine with Simulator 10.0 and Xcode 8.2.1


Remove window event listeners in MaterialLayout

These two listeners bind this in MaterialLayout to the global window. Since these listeners are never removed, we retain the layout element indefinitely. This element can be quite large, since it's often the main parent element on a page, and retaining multiples of it creates a significant memory leak.

@ribrdb We noticed this while investigating why the editor is being retained in memory after navigating back to booklist. This
isn't the only thing retaining the editor, but I think we need to deal with it first.
Removing these two listeners doesn't seem to cause any layout problems (resizing the window seems fine for example) - I'd like to remove them with window.removeEventListener, but don't see a clear place to do that, or somewhere other than init to add them.
Do you have any suggestions for a different approach here?

I think the assumption was that the layout should always stay on the page. If we're destroying/re-creating the mdl-layout that does seem problematic.
It seems like the pageshow handler is only for safari, maybe we don't care about that.
The resize handler should probably use ResizeObserver instead. But, it also says it's for tabs and we're not using mdl tabs anymore, so I guess this is probably fine.


KafkaTrigger (.NET) does not work with Avro schema that has the has an array of records

I have an Avro schema that looks like this:
{
    "type": "array",
    "items": {
        "type": "record",
        "name": "myrecord",
        "fields": [
            ...
        ]
    }
}

If I try to use the Avro schema in my KafkaTrigger using either "SchemaRegistryUrl" or "AvroSchema" properties and a "events" type as KafkaEventData<GenericRecord>[] I get the following error:
Confluent.Kafka: Local: Value deserialization error. System.Private.CoreLib: Unable to cast object of type 'System.Object[]' to type 'Avro.Generic.GenericRecord'.
Changing the events type to KafkaEventData<GenericRecord[]>[] results in the same error.
Is it not possible to deserialize the messages using Avro with an array type? I have to use SchemaRegistryUrl as the Avro schema is managed by another team (the providers) so I can't hardcode the schema as a C# class.

@michny Are you using dotnet or dotnet-isolated model for your function? Also is the behavior similar to what is described in #452?

I am using "dotnet" for the function.
As for #452 it appears different. My deserialization completely fails by throwing an exception where as the other issue seems to just gets "null" as the value of the array. They also seem different in that my avro Schema is an array of records, where as the schema mentioned in the other issue is a record with an array field.
To me it seems like the issue I am hitting is that it receives an array in the message ("Object[]") which matches the schema, but the code expects the message to be a single record when it deserializes to "GenericRecord".

I have just tried recreating the setup in a Console app using Confluent.Kafka 2.2.0, Confluent.SchemaRegistry 2.2.0 and Confluent.SchemaRegistry.Serdes.Avro and I get the exact same error so it is probably an error from the underlying libraries rather than a problem with the KafkaTrigger itself.
But I am still looking for some way around it, so I can deserialize the messages.

@michny We have library upgrade as a part of our roadmap. Since this is a major version change any breaking changes need to be taken care of before the release. We currently do not have any ETA on this.