brew cask and install repeats the same error message about running cask; kdiff3

General troubleshooting steps

[ ] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[ ] None of the templates was appropriate for my issue, or I’m not sure.

[x] I ran brew update-reset && brew update and retried my command.
[x] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
The issue is this infinite loop of messages:
> brew tap caskroom/cask
> brew install kdiff3
Error: No available formula with the name "kdiff3"
It was migrated from homebrew/core to caskroom/cask.
You can access it again by running:
  brew tap caskroom/cask
> brew tap caskroom/cask
> brew install kdiff3
Error: No available formula with the name "kdiff3"
It was migrated from homebrew/core to caskroom/cask.
You can access it again by running:
  brew tap caskroom/cask

Output of your command with --verbose --debug
> brew tap caskroom/cask --verbose --debug
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
No changes to formulae.

> brew install kdiff3 --verbose --debug
Error: No available formula with the name "kdiff3"
It was migrated from homebrew/core to caskroom/cask.
You can access it again by running:
  brew tap caskroom/cask

Output of brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.3.4-86-g10491e1
caskroom/homebrew-cask (git revision e27b2; last commit 2017-10-06)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom (error: path does not exist)
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3760 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0/universal-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/universal-darwin9.0
==> Environment Variables
LANG="en_US.UTF-8"
PATH="/usr/local/bin:~/Development/erl_libs/rebar3:~/Library/Python/2.7/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/usr/local/bin/fish"

I made the directory that the doctor staging location complains about but it did not fix the issue.

You need to brew cask install kdiff3. Note the cask part.

@vitorgalvao  that worked thanks


[Worrying] metadata.json contains nothing.

Hi, just noticed that bigdl search stopped working, seems the issue is that this commit "https://github.com/Azathothas/Toolpacks/commit/9435050a617172201ee572539bcddb88e7b48707" overwrote the metadata.json with an empty file...

It seems the metadata.json in Metis' repo is also periodically overwritten with an empty file.

As stated in https://github.com/Azathothas/Toolpacks/issues/7 , Hysp Metadata is a secondary source, and will be deprecated in the future.
As for the main, https://bin.ajam.dev/METADATA.json , the reason you are seeing periodic unexpected changes is due to Cloudflare's Caching
wget has a flag for this : wget --no-cache
curl : https://www.baeldung.com/linux/curl-without-cache
And whatever lib/module you are using, there will likely be similar options to configure it. Or you could use a ?$RANDOM when you construct the url, which will ensure you aren't fetching stale/cached content

I meant, not that one, the one with descriptions, it is actively refreshed however, it is periodically overwritten with garbage

I have modified the affected parts of my code, but this doesn't help, it only adds 24 lines of code that could be avoided if the metadata.json file wasn't periodically overwritten with garbage.
Doesn't seem like a problem of caching, since the file in your repo is also overwritten with an empty file sometimes, so, no matter what I do, can't get around it by myself

it seems this is fixed? I don't know what fixed it. Closing for now.


Support asdf plugins through a proto WASM plugin

There has been multiple requests now to support (piggy-back) off of asdf, since it has a ton of plugins and support for many tools. Unfortunately, building this into proto core simply isn't feasible without rewriting it from scratch, and at that point, it's really not worth it. The other issue is that asdf is Unix only, so that means no Windows support.
However! I had a thought the other day, why not support every asdf plugin through a single proto WASM plugin, similar to how our TOML plugins work (they are WASM under the hood). For example, say you wanted to use the scala asdf plugin, it may look something like the following in proto:
# .prototools
scala = "latest"

[plugins]
scala = "https://path/to/asdf/plugin.wasm"

Easy right? But what if the proto identifier doesn't match up with the asdf plugin name? Well, just override it with configuration. For example, using the nodejs asdf plugin.
# .prototools
node = "latest"

[plugins]
node = "https://path/to/asdf/plugin.wasm"

[tools.node]
asdf-plugin = "nodejs"

We can also take this further by supporting the git repository directly.
# .prototools
[tools.node]
asdf-repository = "https://github.com/asdf-vm/asdf-nodejs.git"

Caveats
With all this being said, I have no idea if this will actually work, or if the asdf plugin APIs will match up to the proto plugin APIs. It's definitely something that needs to be prototyped to ensure it's feasible.
Requirements

Plugin should be written in Rust and use our APIs/PDKs:

https://moonrepo.dev/docs/guides/wasm-plugins
https://moonrepo.dev/docs/proto/wasm-plugin=

Does not need to support Windows
Must work without asdf existing in the environment
Should ideally support all asdf plugins
Should detect versions from .tool-versions - https://asdf-vm.com/manage/configuration.html#tool-versions
Should support ASDF_* env vars - https://asdf-vm.com/plugins/create.html#environment-variables-overview

Implementation
How this is implemented may require a lot of discussion, which can be had on Discord.
With that said, we can outline a few things:

How we download/install asdf plugins should probably mirror what asdf itself does.

Stored at ~/.asdf - https://asdf-vm.com/manage/configuration.html#asdf-data-dir

API reference - https://asdf-vm.com/plugins/create.html#required-scripts

/bounty $500

@milesj Instead you have transferred the issue. Wit that . Almost done except installation changes. I am presuming my work of last done. With that
/attempt #9


Big Idea 1 Sprint 4 Reflection, Team Grading, and Individual Grading

Team GRADING:
Team Grade out of 1: 0.85
Individual Grades
Keerthan K
Self-Grading Issue
Total: 1.66/2
Ian
Self Grading Issue
Total: 1.7/2
Daksha
Self Grading Issue
Total: 1.7/2
Zach
Self-Grading Issue
Total: 1.72/2
The video's pacing was pretty good and kept things interesting, but we used too many filler words, which made it feel messy. We also didn’t explain the technical parts, like the code and APIs, clearly enough. On top of that, we didn’t do a great job fully explaining how our website works, which made it harder to understand. If we had been more straightforward and focused on giving better details, the video would have been a lot more helpful and still fun to watch.
Team Improvements

Delve more into the technical side of the website
Polish the Editing
Simplify Explanations
Get Feedback Early
Smooth transitions

I think filler words want me to take deeper dive.  Missing Technical parts is a big miss.  My big concern is I don't really have a feel for how scribble community features work.   You should try to use a real workflow in demo, too much scribble.   1.65


Project initialization fails on first attempt, succeeds on second

Potentially fixed, there was a syntax error.  We can verify after we get another clusternator server up.


Choking on "+ ?Sized"

Hi!
I'm not sure that I have the latest rustfmt, since I'm unsure where it's coming from ;), but it says '0.6.2 ()' and my toolchain is nightly using rustup. I cannot format a source file contining a template param with a + ?Sized constraint. Here is a minimal example: https://play.rust-lang.org/?gist=e9f52efb1d20c0d51713651f00008e8c&version=stable&backtrace=0
As you can see you can run "fmt" on playground, but when i run rustfmt on that code locally I get:
$ cat src/test.rs
pub fn test<T>(_: &T) where T: ?Sized {}
fn main() {}
$ rustc src/test.rs
$ rustfmt src/test.rs
error: unexpected `?`
 --> src/test.rs:1:32
  |
1 | pub fn test<T>(_: &T) where T: ?Sized {}
  |                                ^

Is this a bug?

Nm, managed to upgrade rustfmt to 0.8.0 by running rustup run stable cargo install rustfmt, and now it's working.


Failing to install pygnmi on CentOS with 'ascii' codec can't decode error

Hi,
As stated in subject, failing to install pygnmi on Centos with Python 3.6.8 with this error:
[root@host /]# python3 -m pip install pygnmi --upgrade
Requirement already satisfied: pygnmi in /usr/local/lib/python3.6/site-packages (0.5.3)
Collecting pygnmi
  Using cached pygnmi-0.6.7.tar.gz (29 kB)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vttklldz/pygnmi_6a28cc3abbfb4c57a7bb4ef96aa200a1/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vttklldz/pygnmi_6a28cc3abbfb4c57a7bb4ef96aa200a1/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-s5mrssho
       cwd: /tmp/pip-install-vttklldz/pygnmi_6a28cc3abbfb4c57a7bb4ef96aa200a1/
  Complete output (7 lines):
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-vttklldz/pygnmi_6a28cc3abbfb4c57a7bb4ef96aa200a1/setup.py", line 4, in <module>
      long_description = fh.read()
    File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
      return codecs.ascii_decode(input, self.errors)[0]
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1864: ordinal not in range(128)
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/7e/51/0985a330bd13318518f391edbf8797b7dbbf2003e3ff78161a197a02a295/pygnmi-0.6.7.tar.gz#sha256=b346c43ef1780badf420cb7f06827a6ce6b555fa3af0f21d286be551badb2868 (from https://pypi.org/simple/pygnmi/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Was able to fix the issue by specifying the encoding to use for opening readme file in setup.py:
[root@host pygnmi]# cat setup.py
from distutils.core import setup

with open('README.rst', encoding="utf-8") as fh:
    long_description = fh.read()

after adding encoding="utf-8" can install with no issues:
[root@host pygnmi]# python3 -m pip install .
Processing /root/pygnmi
  Preparing metadata (setup.py) ... done
Requirement already satisfied: grpcio in /usr/local/lib64/python3.6/site-packages (from pygnmi==0.6.7) (1.43.0)
Requirement already satisfied: grpcio-tools in /usr/local/lib64/python3.6/site-packages (from pygnmi==0.6.7) (1.43.0)
Requirement already satisfied: kthread in /usr/local/lib/python3.6/site-packages (from pygnmi==0.6.7) (0.2.2)
Requirement already satisfied: cryptography in /usr/local/lib64/python3.6/site-packages (from pygnmi==0.6.7) (36.0.1)
Collecting dictdiffer
  Downloading dictdiffer-0.9.0-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib64/python3.6/site-packages (from cryptography->pygnmi==0.6.7) (1.15.0)
Requirement already satisfied: six>=1.5.2 in /usr/local/lib/python3.6/site-packages (from grpcio->pygnmi==0.6.7) (1.16.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from grpcio-tools->pygnmi==0.6.7) (59.6.0)
Requirement already satisfied: protobuf<4.0dev,>=3.5.0.post1 in /usr/local/lib64/python3.6/site-packages (from grpcio-tools->pygnmi==0.6.7) (3.19.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.6/site-packages (from cffi>=1.12->cryptography->pygnmi==0.6.7) (2.21)
Building wheels for collected packages: pygnmi
  Building wheel for pygnmi (setup.py) ... done
  Created wheel for pygnmi: filename=pygnmi-0.6.7-py3-none-any.whl size=32631 sha256=faa39de9c4938710810842707e4ca93d897f980fa8e6e99b85ce00ec76f2126b
  Stored in directory: /tmp/pip-ephem-wheel-cache-ixnhdp84/wheels/bc/83/38/7f21b3a28050665ce96fec2ff33c00c61381e6e1f71ce7df3b
Successfully built pygnmi
Installing collected packages: dictdiffer, pygnmi
  Attempting uninstall: pygnmi
    Found existing installation: pygnmi 0.5.3
    Uninstalling pygnmi-0.5.3:
      Successfully uninstalled pygnmi-0.5.3
Successfully installed dictdiffer-0.9.0 pygnmi-0.6.7
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[root@host pygnmi]#

Not sure if there is a better way to fix this issue, might be OS related, i've tried standard things like upgrading pip and setuptools, but problem still stays, OS also seems to have latest packages installed as did yum install update

Hey @dmulyalin ,
It took a bit, but now the issue shall be fixed in the latest release. Could you please check.
Best,
Anton

Yes, looks good, can install it on CentOS now:
[root@192-168-064-133 /]# python3 -m pip install pygnmi
Collecting pygnmi
  Downloading pygnmi-0.6.8.tar.gz (29 kB)
  Preparing metadata (setup.py) ... done
Collecting grpcio
  Downloading grpcio-1.43.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB)
     |████████████████████████████████| 4.1 MB 4.0 MB/s
Collecting grpcio-tools
  Downloading grpcio_tools-1.43.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB)
     |████████████████████████████████| 2.4 MB 2.7 MB/s
Collecting kthread
  Downloading kthread-0.2.2.tar.gz (3.0 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: cryptography in /usr/local/lib64/python3.6/site-packages (from pygnmi) (36.0.1)
Collecting dictdiffer
  Downloading dictdiffer-0.9.0-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib64/python3.6/site-packages (from cryptography->pygnmi) (1.14.5)
Requirement already satisfied: six>=1.5.2 in /usr/local/lib/python3.6/site-packages (from grpcio->pygnmi) (1.15.0)
Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (from grpcio-tools->pygnmi) (39.2.0)
Collecting protobuf<4.0dev,>=3.5.0.post1
  Downloading protobuf-3.19.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
     |████████████████████████████████| 1.1 MB 5.8 MB/s
Requirement already satisfied: pycparser in /usr/local/lib/python3.6/site-packages (from cffi>=1.12->cryptography->pygnmi) (2.20)
Using legacy 'setup.py install' for pygnmi, since package 'wheel' is not installed.
Using legacy 'setup.py install' for kthread, since package 'wheel' is not installed.
Installing collected packages: protobuf, grpcio, kthread, grpcio-tools, dictdiffer, pygnmi
    Running setup.py install for kthread ... done
    Running setup.py install for pygnmi ... done
Successfully installed dictdiffer-0.9.0 grpcio-1.43.0 grpcio-tools-1.43.0 kthread-0.2.2 protobuf-3.19.4 pygnmi-0.6.8
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[root@192-168-064-133 /]# hostnamectl
   Static hostname: localhost.localdomain
Transient hostname: 192-168-064-133.tpgi.com.au
         Icon name: computer-vm
           Chassis: vm
    Virtualization: vmware
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-1160.21.1.el7.x86_64
      Architecture: x86-64
[root@192-168-064-133 /]#

thank you for fixing it.


Have synchronous use a probe to display output

Since people are going to be using synchronous example to crib from, it may be useful to use a probe to save output to a CSV file.

Finished and merged into develop.


Cannot use on Heroku anymore.

As of the latest version of hubot-scripts, I can no longer deploy hubot to heroku. Since hubot-scripts now has a dependency on wolfram 0.1.0, which requires Node.js 0.4.11. Heroku is running 0.4.7. Updating to wolfram 0.1.1 may fix this, as it only requires Node 0.4.7, but I have not tested it.

Same issue here.

New release coming with fixes.


Jupyter Book version v0.5

We've got a milestone now for the next version of Jupyter Book! There are several bugs and minor-ish feature requests that we should try and get in for the next version.
Here's a link to the milestone issues:
https://github.com/jupyter/jupyter-book/milestone/1
If anybody has a moment to take a stab at some of these, it would be much appreciated!

ok, we fixed a buncha these and also added some more. since it's been a while since we've last made a release, and since the documentation is now a bit confusing since it's running "master" while the pip version installs a 3-month-old version, I've moved the remaining issues to a v0.5.1 milestone and we'll cut a new release!


[Rector] Apply Rector: UnusedForeachValueToArrayKeysRector

Change foreach with unused $value but only $key, to array_keys() with UnusedForeachValueToArrayKeysRector rule.
Checklist:

[x] Securely signed commits

I may be wrong, but it seems to me that the array_keys function contains a loop inside.
https://github.com/php/php-src/blob/fe3dbe52944af66a61281987147c2c1d2ca59afe/ext/standard/array.c#L3823
[php]
// I mean
foreach(array_keys($array) as $value) {
//some work
}
// It looks like:
$arrayKeys = [];
foreach ($array as $key => $value) {
$arrayKeys[] = $key;
}
foreach ($arrayKeys as $value) {
//some work
}
[/php]

All green 🎉


suggestion: if possible enable the app to indicate voices with numbers etc.

this could be a toggle when transcribing. The app could on a separate line  indicate a voice change and all the voice's output in a paragraph. I just had to edit a transcript with two voices and that became a bit tedious. I have no clue if this would be possible in the AI models, however this would be helpful. Thanks.

For interviewing or multiple voices this would be invaluable.

Wow, I didn’t think of interviews, voice 1 and voice 2 is even fine with me. I can always relabel. So long as the voice parts so tgo speak are in separate paragraphs or they stgart on a new line.

This has also been requested in https://github.com/chidiwilliams/buzz/issues/492
Will close this issue, possible implementation of this feature and ideas for it can be discussed in the other issue


Possible to disable MCAS Role Override

Is it possible so that Azure AD takes presidency despite assigning MCAS role

Thanks for contacting Microsoft about your issue. As we understand it, you're describing a problem with the product itself and not with the product documentation.
To get assistance or support for your product issue, please open a support ticket.


Add LICENSE file

This repository seems to be missing a LICENSE file.
I have attributed it to @anthony-c-martin since he seems to be the first named person to have touched this repository and has added the following line in commit 8d30b553c71a61686913719344a711783459326a.
In this commit the following line was added:
  license "MIT"

Which conforms to the licensing guidelines of Homebrew:

We only accept formulae that use a Debian Free Software Guidelines license or are released into the public domain following DFSG Guidelines on Public Domain software into homebrew/core.
Source: https://docs.brew.sh/License-Guidelines

@microsoft-github-policy-service agree

@bartvdbraak thanks for contributing! Here's the license we'd want to use, would you mind updating this PR?
https://github.com/Azure/bicep/blob/main/LICENSE

Hi @anthony-c-martin,
My pleasure to be contributing.
I had erroneously used a BSD 3-Clause license instead of MIT.
With my latest commit I have corrected this. Thanks for pointing that out.


Change Magazine to Editorial in Nav

We have finally come to a consensus to depreciate the term 'Magazine' and fully switch over to 'Editorial'

🙌 🙌 🙌 🙌 🙌  Would it make sense to do this when we launch homepage?

@kanaabe let's discuss the timing in person. Not sure what is best. I think we will also want to update urls to /editorial and /editorial/{article-title}
I was just excited about it and wanted to get the issue in :)


JS Doc parameter comment description drops leading star

From https://github.com/microsoft/vscode/issues/80082

TypeScript Version:  3.7.0-dev.20190911

Search Terms:

jsdoc
documentation
quickinfo \ hover

Code
For the following code
/** yadayada
 * @param {number} var    **This highliting doesn't work**
 * @param {string} var2   But**This works!**
*/
const documented_function = () => {}

documented_function();

Hover over documented_function

Expected behavior:
The documentation for var is returned as **This highliting doesn't work**
Actual behavior:
The leading star of the description is dropped so the documentation ends up being: *This highliting doesn't work**
[Trace  - 8:33:46 PM] <semantic> Response received: quickinfo (31). Request took 2 ms. Success: true
Result: {
    "kind": "const",
    "kindModifiers": "",
    "start": {
        "line": 5,
        "offset": 7
    },
    "end": {
        "line": 5,
        "offset": 26
    },
    "displayString": "const documented_function: () => void",
    "documentation": "yadayada",
    "tags": [
        {
            "name": "param",
            "text": "var *This highliting doesn't work**"
        },
        {
            "name": "param",
            "text": "var2 But**This works!**"
        }
    ]
}

The issue disappears if the hyphen-syntax is used to separate description
/** yadayada
 * @param {number} var **Should be bold**
 * @param {string} var2 - **It's bold!**
*/
const documented_function = () => {}

documented_function();


Python 3 support

We are not using Python 3 but it might be useful for others!

I would love to see this done, for cocrawler. Save me from using regex to parse html because I need speed!


Realm data is not shown when using react-native-threads

Describe the bug
I have a project which uses react-native-threads. This package creates another JS process. I need to work with database in this new process. Everything is working fine regarding this library.
Flipper connects to this newly created process successfully and default plugins are working fine. But there is an issue for Database plugin. It correctly shows the database, tables and schemas, but no data is shown. When I hit the refresh button, a new warning is shown in the console. This is the warning:

I suspect there is a problem with react-native-threads and this plugin.
Thanks in advance.

To Reproduce

Create a new React Native project
Add react-native-threads to the project and create a thread
Use Realm in newly created thread
Try to use Database plugin in Flipper for this project

Expected behavior
I Expect to see the content of tables.

Screenshots

Smartphone

Device: Samsung Galaxy A10s
OS: Android 11
Version 2.2.1

Additional context

Hi @SMhdAsadi ,
Thanks for your feedback.
I tried replicating your issue inside the WatermelonDB example app contained in this repository but I'm having issues as soon as I integrate react-native-threads and I suppose this is because of incompatibility with the latest RN versions.
Can you please share a testable example of your issue?
Also a quick question about your implementation, are you accessing the RealmDB instance only from the worker thread or also from your main thread? Because in the latter case you should attach the react-native-flipper-database driver only to the instance open on the main thread and should be able to access the saved data.

Thanks for your response.
Yes I'm accessing RealmDB instance only from the worker thread.
Surprisingly the issue is fixed. I didn't change anything in my code, just did a restart on my machine and it works.

I am not able to use realm db inside the newly created process. How did you managed to do that?


LTN doesn't find all shortcuts (v0.3.43 windows)

While using the tool I noticed that some shortcuts in my neighborhood are not detected.
Editing OSM data on the road (adding explicitly "oneway=no") seems to fix the issue. (https://www.openstreetmap.org/way/239371917)
Does it mean that for every road without the "oneway" tag it will be interpreted as a blocked road for motor trafic ? And won't detect the shortcut ? I think I remember the tool interpreting the absence of "oneway" tag as a "no" value (but it was some time ago, so I can't be so sure)
Also, I'm using 0.3.43 because 0.3.44 doesn't launch when I try it.

Thanks for reporting this bug!
Explicitly adding oneway=no has no effect here. It's redundant on highway=residential and most other roads. If you want an easier way to check how A/B Street will interpret OSM tags, you can use https://a-b-street.github.io/osm2streets/lane_editor.html#16.34/48.569161/7.771363. If I remove oneway=no there and regenerate, there's no change. (If you notice something odd here, by the way, it might mean the logic for understanding tags is wrong, so I wouldn't necessarily edit OSM as the fix!)
I'm importing the area to check now, but could you please post a screenshot or similar and show what shortcut you'd expect to see, but don't?

Also, I'm using 0.3.43 because 0.3.44 doesn't launch when I try it.

What's 0.3.44 do when you try to launch? If you have an output.txt file, what's it say?

Also if you haven't found the Shortcuts tool (F4), it's useful for understanding what shortcuts the tool thinks is currently possible. All it's doing is calculating the shortest path between every entrance and exit for the area you've selected.
https://github.com/a-b-street/abstreet/assets/1664407/5f400dbf-19dd-448e-9393-04111c956b87

What's 0.3.44 do when you try to launch? If you have an output.txt file, what's it say?

I get an output file with the following text:
'.' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
Which stand for:
'.' is not recognized as an internal or external command
or external command, an executable program or a command file.
This issue seems to occur with all ABstreet versions > 0.3.43 (I reproduced with 0.3.46 and 0.3.47 today)
Is there anything more that I can do to help diagnose the problem ?

Hi ! I confirm successful launch of v0.3.48 on Windows :)
Thanks for fixing the issue.
Also, I can't reproduce my initial issue with "undetected shortcuts".
I believe this is a win !


C API for HostSession

What
Following on from #417, add the C API wrapper around HostSession class.

A minimal wrapper has been added in #450, superseded by #449.


core: fix ostream flush() usage

After calling the DynamicBuffer commit function the buffer received via
prepare() can be invalidated but the ostream kept using it.
Fixes #1853.

Nice, thank you.

I took a quick look at the AppVeyor output but couldn't see the error.
Is this a problem or an "ignore it, AppVeyor has been failing for ages" situation?

Build execution time has reached the maximum allowed time for your plan (60 minutes).

Probably a question for @vinniefalco

We could remove a matrix item from Appveyor and make sure it is covered on Azure?


[Relay] Reference

See #2483

I only have some minor comments about the PR.
But I do have one concern about adding AST nodes/types because it would affect most relay passes. I see that some passes are modified correspondingly, but how about others such as memory planning and forward rewriting, etc?

@zhiics how do you do memory planning on control flow? i imagine planning for reference will be similar.
irregardless, i dont think it is much of a big deal - it is only used for higher order ad, and will be removed by a pass that try to fuse reference. if it cannot be fused it is pytorch style nlp model, and since tvm does not support them by now any improvement is good.


Return the clientWidth or clientHeight if getComputedStyle() returns null

From using this library, we've hit a fairly edge case in Firefox where attempting to call window.getComputedStyle() inside of an iframe which is currently hidden consistently returns null.
You can see the issue logged with Mozilla here: https://bugzilla.mozilla.org/show_bug.cgi?id=548397
Returning the clientHeight or clientWidth fixes my use case in Firefox without adversely affecting any other browser that I've tested in (IE11+, latest Safari, Chrome).

Thank you!


⚠ Guya.moe Proxied has degraded performance

In 0d48bf0, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 13124 ms

Resolved: Guya.moe Proxied performance has improved in 2f28169 after 1 hour, 2 minutes.


properties.director.db.listen_address is invalid

https://github.com/cloudfoundry/bosh-deployment/blob/a00286ed3d095944b34c56f76b70c6be4e89e97e/bosh.yml#L74
director.db.listen_address is not defined in the job spec, going all the way back to 2016.
it is a valid property for the embedded postgres job, but not applicable to the director.

@dennisjbell would you be so kind and create a PR to address this?

Here the required PR: https://github.com/cloudfoundry/bosh-deployment/pull/442


real time speech to speech translator

Describe the project you want to add with tech stack
i want to create translator which translate speech to text or speech in real time using html css js bootstrap nodejs expressjs and google translator api.
Expected behavior
this will translate speech from one to many language.
Screenshots (optional)

Additional context (optional )

i want to do this project under GGSOC


numberstation: gobject-introspection is needed at runtime by pygobject3

Description of changes
It fails to start with:
ValueError: Namespace Gtk not available

apparently due to missing gobject-introspection runtime deps.
It's the same fix as for  #186056 so maybe there is a common cause which could be fixed instead.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Package maintainers: @dotlambda @tomfitzhenry

Builds & runs for me, macos 10.15.


feat(design): update list component styles

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
The styles for the variations of lists are incomplete. link is a variation that should be deprecated.
Fixes: #806
What is the new behavior?
Updated and completed styles for the variations of lists. Added deprecation notice for link.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information
We discussed adding divided as a boolean that can be applied to all lists, but I'm thinking we can update the section-divider mixin to a component so that it can be used with any component. This also means components that may have the divided feature don't need that extra input.
We also discussed updating navigation and multi-line to booleans, depending on what the style update is. This needs to be discussed.
I left out the compact design because that depends on that DaffCompactable interface (WIP).

@damienwebdev There are some things that still need to be discussed/addressed. I wrote them out in the Other Information section, and there is a thread in Twist to discuss.

@damienwebdev PR has been split.


feat: Enable Mermaid diagrams from TechDocs

@bendiknesbo we need to figure out why tests are breaking, seems to be a issues with the Python Docker client.


Update grid.html

Wrap .show-grid with .bs-docs-grid

That class isn't required. I've removed it from the docs in 63f5da62bf312af41ce8cbeb7af2e135f81e57d5.


Migrate Plex from docker server to this cluster

Details
Need to migrate Plex cluster and supporting media apps from it's existing home on my docker server to this cluster.

[x] Deploy Plex
[x] Attach media via NFS
[x] restore config + db via rook-ceph-block
[x] test full cluster restore
[x] Migrate production Plex container into cluster
[x] Migrate VPN setup for Transmission, Medusa (and maybe Deluge)
[x] Map out volumes needed for Transmission and Medusa
[x] Final migration of data and dns

#331 Migration Completed. Not moving deluge for now.


Error installing on Raspberry Pi4

The pip installation seems to be calling an install for the json libraries that are built in to Python3, and it is throwing this error on install:
pi@raspberrypi:~/py532lib $ pip3 install pyTigerGraph
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyTigerGraph
Downloading https://www.piwheels.org/simple/pytigergraph/pyTigerGraph-0.1-py3-none-any.whl
Collecting json (from pyTigerGraph)
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/json/

@fjblau strange... that wheel is not up to the current version. We are at v<IP_ADDRESS>.2. Also, we have moved all further development to https://github.com/pyTigerGraph/pyTigerGraph (other people will see this issue if you open there).


EB CLI Doesn't Preserve Executable File Permissions While Zipping Application Source Bundle on Windows

Description
When running eb create or eb deploy commands on WINDOWS 10, files with executable permissions (ex: chmod +x build.sh) are not zipped correctly when creating the application version archive that gets uploaded.
Steps to reproduce

Create IAM user named eb-full (IAM > Add user > check programmatic access > Attach "AdministratorAccess-AWSElasticBeanstalk")
Add "eb-full" user to /.aws credentials and config files.

# C:\Users\<myuser>\.aws\credentials
[eb-cli]
aws_access_key_id = AK...X3
aws_secret_access_key = wt...4Hi

# C:\Users\<myuser>\.aws\config
[profile eb-cli]
region=us-west-2
output=json

cd to .ssh folder and generate keys with no passphrase:

ssh-keygen -t rsa -b 4096 -f eb-user -C "eb@inspiron"

Go to EC2 > Network & Security > Key Pairs > Actions > Import key pair > import eb-user.pub. Give it name eb-user.
On Windows machine, make project root folder named awsebcli-deploy-bug. Ex: C:\Users\<myuser>\Downloads\awsebcli-deploy-bug for this example.
From terminal, initialize Elastic Beanstalk: eb init --profile eb-cli

C:\Users\Jarad\Downloads\awsebcli-deploy-bug>eb init --profile eb-cli

Select a default region
1) us-east-1 : US East (N. Virginia)
2) us-west-1 : US West (N. California)
3) us-west-2 : US West (Oregon)
4) eu-west-1 : EU (Ireland)
5) eu-central-1 : EU (Frankfurt)
6) ap-south-1 : Asia Pacific (Mumbai)
7) ap-southeast-1 : Asia Pacific (Singapore)
8) ap-southeast-2 : Asia Pacific (Sydney)
9) ap-northeast-1 : Asia Pacific (Tokyo)
10) ap-northeast-2 : Asia Pacific (Seoul)
11) sa-east-1 : South America (Sao Paulo)
12) cn-north-1 : China (Beijing)
13) cn-northwest-1 : China (Ningxia)
14) us-east-2 : US East (Ohio)
15) ca-central-1 : Canada (Central)
16) eu-west-2 : EU (London)
17) eu-west-3 : EU (Paris)
18) eu-north-1 : EU (Stockholm)
19) eu-south-1 : EU (Milano)
20) ap-east-1 : Asia Pacific (Hong Kong)
21) me-south-1 : Middle East (Bahrain)
22) af-south-1 : Africa (Cape Town)
(default is 3):

Enter Application Name
(default is "awsebcli-deploy-bug"):
Application awsebcli-deploy-bug has been created.
Select a platform.

1) Docker running on 64bit Amazon Linux 2
2) Multi-container Docker running on 64bit Amazon Linux
3) Docker running on 64bit Amazon Linux
(default is 1): 1

Cannot setup CodeCommit because there is no Source Control setup, continuing with initialization
Do you want to set up SSH for your instances?
(Y/n): y

Select a keypair.
1) eb-user
2) xxxxxxxxx
3) [ Create new KeyPair ]
(default is 2): 1

Add these two files to our project:

###.platform/hooks/prebuild/build.sh

#!/bin/bash

mv docker-compose.prod.yml docker-compose.yml

###docker-compose.prod.yml

version: "3"

services:
    client:
        image: nginx
        ports:
            - 80:80

From terminal, run eb create production
It fails. Check eb-engine.log. It shows:

2021/06/24 05:12:15.881815 [INFO] app source bundle is zip file ...
2021/06/24 05:12:15.881820 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/
2021/06/24 05:12:15.881830 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/
2021/06/24 05:12:15.885707 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully
2021/06/24 05:12:15.885720 [INFO] Executing instruction: RunAppDeployPreBuildHooks
2021/06/24 05:12:15.885762 [INFO] Executing platform hooks in .platform/hooks/prebuild/
2021/06/24 05:12:15.885801 [INFO] Following platform hooks will be executed in order: [build.sh]
2021/06/24 05:12:15.885806 [INFO] Running platform hook: .platform/hooks/prebuild/build.sh
2021/06/24 05:12:15.885993 [ERROR] An error occurred during execution of command [app-deploy] - [RunAppDeployPreBuildHooks]. Stop running the command. Error: Command .platform/hooks/prebuild/build.sh failed with error fork/exec .platform/hooks/prebuild/build.sh: permission denied

On Windows, this is tricky?
But I'll run chmod anyways:
chmod +x .platform/hooks/prebuild/build.sh

Permissions still the same.

Run eb deploy again. Same exact error as above.
 I think this is a bug caused by EB CLI while zipping on Windows.

If I zip the same files, like so:

zip -r upload . -x ".elasticbeanstalk/*"

and upload to the "production" environment manually in the online interface... it totally works! I visit the domain and see the default nginx success page.
2021/06/24 06:14:50.628106 [INFO] app source bundle is zip file ...
2021/06/24 06:14:50.628111 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/
2021/06/24 06:14:50.628120 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/
2021/06/24 06:14:50.630505 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully
2021/06/24 06:14:50.630518 [INFO] Executing instruction: RunAppDeployPreBuildHooks
2021/06/24 06:14:50.630543 [INFO] Executing platform hooks in .platform/hooks/prebuild/
2021/06/24 06:14:50.630594 [INFO] Following platform hooks will be executed in order: [build.sh]
2021/06/24 06:14:50.630600 [INFO] Running platform hook: .platform/hooks/prebuild/build.sh
2021/06/24 06:14:50.633811 [INFO] Finished running the platform hooks in .platform/hooks/prebuild/
2021/06/24 06:14:50.633825 [INFO] Executing instruction: Generate environment file
2021/06/24 06:14:50.633898 [INFO] Executing instruction: Docker Specific Build Application
2021/06/24 06:14:50.633904 [INFO] start build docker app
2021/06/24 06:14:50.633908 [INFO] detected new app as docker compose app
2021/06/24 06:14:50.633922 [INFO] Running command /bin/sh -c docker-compose config
2021/06/24 06:14:53.754789 [INFO] Running command /bin/sh -c docker-compose config --services
2021/06/24 06:14:54.145881 [INFO] client

2021/06/24 06:14:54.146000 [INFO] Running command /bin/sh -c docker-compose pull
...

I ssh into the working running EC2 instance with eb ssh and check the permissions of build.sh. It shows executable, when I manually uploaded the package.
[ec2-user@ip-172-31-0-100 deployment]$ zipinfo -l app_source_bundle
Archive:  app_source_bundle
Zip file size: 1804 bytes, number of entries: 8
...
-rw-r--r--  3.0 unx      113 tx       63 defN 21-Jun-23 21:59 .gitignore
drwxr-xr-x  3.0 unx        0 bx        0 stor 21-Jun-23 22:13 .platform/
drwxr-xr-x  3.0 unx        0 bx        0 stor 21-Jun-23 22:13 .platform/hooks/
drwxr-xr-x  3.0 unx        0 bx        0 stor 21-Jun-24 05:54 .platform/hooks/prebuild/
-rwxr-xr-x  3.0 unx       58 tx       45 defN 21-Jun-24 05:54 .platform/hooks/prebuild/build.sh   <----- look, executable permissions when it was manually uploaded
-rw-r--r--  3.0 unx       92 tx       69 defN 21-Jun-24 05:53 docker-compose.prod.yml
8 files, 722 bytes uncompressed, 432 bytes compressed:  40.2%

Expected result
I don't want to manually zip and upload a package; I want to use EB CLI 100% of the time when deploying a change. I expect when doing eb deploy, that it zips the package and maintains the correct executable file permissions for files that need to be executable.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

OS: Windows 10 Pro version 20H2
EBCLI version: EB CLI 3.20.0 (Python 3.7.3)

Additional Context

I know line endings can cause problems (CRLF vs LF). This problem is not that. My build.sh file has line ending as LF.
I posted a StackOverflow question about this as well.
I FIRMLY want to name my production compose file docker-compose.prod.yml for workflow reasons and efficiency. That's why I have the build.sh file to begin with. Elastic Beanstalk doesn't seem to have a key that let's me define the name of the docker-compose file I want to use. If I were able to set that as a key somewhere, that would be best-case.

@jaradc Thanks for reporting this issue. We are taking a look at how EB CLI zipping up folders and are working to resolve this issue.

@jaradc Hi I can't create a file with .sh as extension in Windows and has x permission. I do create a .exe file with x permission but then deployment is fine. I also tried to create a x permission .sh file in Linux, run git updat-index --chmod="+x" to preserve x permission and then pull on Windows, but still .sh file on Windows don't have x permission. Appreciate it if you could tell me how to get a .sh file with x permission on Windows.

@Mickeypeng Please see my StackOverflow post I linked to. I mentioned "I opened up Git Bash which uses MINGW64 terminal". More details in that post. Thanks for looking into this!


Fix Use current db to identify the mtmv task and job

Proposed changes
Problem summary
Show MTMV JOB/Task will list all the job and task among different database in spite of the  current database.
Now use current db to identify the mtmv task and job. Only the user who did not use a database can list all job and tasks among differents databases.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[x] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

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...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.93 seconds
load time: 467 seconds
storage size:<PHONE_NUMBER>2 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230205063141_clickbench_pr_90519.html


Internal Error creating SSL

Checklist

Please read the setup instructions
Please read the FAQ

When  creating a proxy host, I get an internal error and ssl is not created, new to docker, learning as I go
This pic is when I try to create host proxy with ssl.............

This pic is when I try to create ssl on its own without creating a host proxy...............

Some of the text is cut out....here is full log......
Error: Command failed: /usr/bin/certbot certonly --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-12" --agree-tos --email<EMAIL_ADDRESS>--preferred-challenges "dns,http" --domains "books.beastunraid.me"
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for books.beastunraid.me
Using the webroot path /data/letsencrypt-acme-challenge for all unmatched domains.
Waiting for verification...
Challenge failed for domain books.beastunraid.me
http-01 challenge for books.beastunraid.me
Cleaning up challenges
Some challenges have failed.
at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1051:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)

anyone??

As far as I am aware you must select "Use a DNS challenge" otherwise CertBot tries to use the HTTP-01 challenge which would require NPM to have access to the webroot of the server you are trying to get a cert for and I'm willing to bet that it does not have that access.
Switch on "Use a DNS challenge" then select your DNS provider, if it is on the list, then it will probably need and API token that you will get from your DNS provider.  If your DNS provider is not on the list then you may need to switch to one that is.  Cloudflare and probably others have free accounts available.

Im with cloudflare, am I putting in my global api key? sorry noob at this stuff
or do I need to create an api token?

You will need to create an API token. Use the "edit zone DNS" template.  Make note of the created token as once you close it you will not be able to view the token again.
The global API key no longer works for this.  Funny thing is that this is why I was here and saw your post.  I was using the global key in some of mine and was getting a similar error when trying to renew. Switching to a created token resolved my issue.

Ok got my edit zone dns api token
What do I need to put in Credentials File content section, im not sure what to add or replace or change there?

I just tried to use Cloudflare DNS Challenge and it seems the Docker Image I use does not have the Cloudflare-DNS module installed, so after running pip3 install certbot-dns-cloudflare==1.8.0
matching the version from the internal error message has now lead me to this Command Failed Error with no obvious reason standing out to me.
`Error: Command failed: /usr/bin/certbot certonly --non-interactive --cert-name "npm-15" --agree-tos --email<EMAIL_ADDRESS>--domains "*.itworks.llc" --authenticator dns-cloudflare --dns-cloudflare-credentials "/etc/letsencrypt/credentials/credentials-15"
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in
load_entry_point('certbot==1.4.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3.8/site-packages/certbot/main.py", line 15, in main
return internal_main.main(cli_args)
File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 1315, in main
log.pre_arg_parse_setup()
File "/usr/lib/python3.8/site-packages/certbot/_internal/log.py", line 55, in pre_arg_parse_setup
temp_handler = TempHandler()
File "/usr/lib/python3.8/site-packages/certbot/_internal/log.py", line 243, in init
stream = util.safe_open(self.path, mode='w', chmod=0o600)
File "/usr/lib/python3.8/site-packages/certbot/util.py", line 197, in safe_open
fd = filesystem.open(path, os.O_CREAT | os.O_EXCL | os.O_RDWR, *open_args)
File "/usr/lib/python3.8/site-packages/certbot/compat/filesystem.py", line 149, in open
return os.open(file_path, flags, mode)
PermissionError: [Errno 13] Permission denied: '/tmp/tmpyp2bcu3c/log'
at ChildProcess.exithandler (child_process.js:303:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)`

You will need to create an API token. Use the "edit zone DNS" template. Make note of the created token as once you close it you will not be able to view the token again.
The global API key no longer works for this. Funny thing is that this is why I was here and saw your post. I was using the global key in some of mine and was getting a similar error when trying to renew. Switching to a created token resolved my issue.

Did that, what next?
Ok got my edit zone dns api token
What do I need to put in Credentials File content section, im not sure what to add or replace or change there?

@rmensing

Sorry for the delay @magicman32 .
Just replace everything after the = sign with the API token.  Leave the propagation seconds box empty, the default works fine.  Click the I Agree switch and then click save.  It should pull a cert without error.  I had the NPM log open in a second window so I could watch what it was doing live.  I use Portainer which makes watching the log easier.

@chris1668
My first suggestion would be to try using the official Docker container jc21/nginx-proxy-manager because it is already setup to run certbot as well as being more current than the other.  The official container right now was updated 8 days ago and the one you are using is a month old.
I am not a dev on this, just another user like you :)  but, to me, it looks like there is a problem with permissions in the container so the app is unable to write to a file it needs.  This is why I suggest trying the official container.

Ok, so I was able to create an ssl, but when I goto host address, I get welcome to our sever, confused, not sure if I have missed something

@rmensing

Not certain but it sounds like you are ending up on the non-ssl (HTTP) page.  You should be able to tell by if it has the lock icon before the URL in the address bar.
Why it is doing this is dependent on the server you are proxying and its configuration and possibly other factors.
As a basic example:
I have servers that only server content un-secure on port 80 or some other port so I set the Forward Hostname/IP  and Forward Port to those.
I have some that only serve content on a secure port (443) already so I use that port on the Forward Port  On some of these I have had the server show the default web server welcome page on port 80 and the actual content on port 443.  This is what it seems like it could be to me.


[itk] build failure

Host Environment

OS: [Windows]
Compiler: msvc

To Reproduce
Steps to reproduce the behavior:
./vcpkg install itk
Reason
in portfile.cmake set "-DITK_USE_64BITS_IDS=ON"
x64 build ok, x86 build error

For me it built fine without that.

default is "-DITK_USE_64BITS_IDS=ON", it build ok in x64 but error in x86

good job. thank @JackBoosY

@thkvc Please update vcpkg and rebuild itk.
Thanks.


chore: removed duplication condition when parsing RDS's reserved price

This condition has already been applied to the instance at this line.

PTAL

Thank you this is a nice cleanup.

@zhouzilong2020 on second thought are you absolutely sure this is a duplicate? It appears the loops are working on different data.


Can't find "Expression_Sources"

I cloned the repository, and tried to view the playground pages, but I get the following error:
Playground execution failed:
error: /var/folders/m_/zfndwpq13zl1b9wpb2v5rlz40000gn/T/playground5-d308e6..swift:3:8: error: no such module 'Expression_Sources'
import Expression_Sources
I searched the workbench, and can't find a reference to Expression_Sources at all. I'd appreciate any assistance you might be able to provide.

See #3 -- This is a bug with Xcode Playgrounds, though I've provided a temporary workaround.


Added file type mappings to accept headers.

This PR changes (delete as applicable)

Nothing, it's a "bug" fix

Describe the changes below:
Added accept headers to xhrLoad.
Fixes #2485

Yeah ok, let's add this in. In future please adhere to the coding style set out in the rest of the library though (you'll see what I mean when I edit your code, and re-push it, in a moment)


Setup Guide for MPOS using VPS *** DASHCOIN

Hi there,
I'm looking for a guide to create my own MPOS mining pool on VPS. Can I used this guide
https://github.com/MPOS/php-mpos/wiki/Quick-Start-Guide?
If so, where can I add the step in setting up VPS for MPOS in that quick start guide?
Thanks so much guys. Any help will be appreciated. :)
Regards,
Mark

VPS or Root Server is pretty much the same thing - in the end you install MPOS the same ways. It may be a bit different for VPS but a VPS is not suitable for any larger installations due to lacking performance (especially on larger DB queries later down the road).
The Quick Start Guide should be kept as generic as possible. If you run a VPS and wish to install it, you should be capable in doing so by just using the Quick Start Guide. If a VPS is that special I'd recommend it's own article and using references to the Quick Start Guide when possible.


error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "14.x". Got "12.22.1"

Describe the bug
A clear and concise description of what the bug is.
tried to follow
https://superset.apache.org/docs/installation/building-custom-viz-plugins
To Reproduce
Steps to reproduce the behavior:

sudo yarn install

yarn install v1.22.10
[1/5] Validating package.json...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "14.x". Got "12.22.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.rsion: [e.g. v0.5.0]

Node version: node -v
npm version: npm -v

I got the same error while trying to follow the same tutorial. It got fixed by changing the default version of node installed to 14.x and restarting the terminal.
https://stackoverflow.com/questions/7718313/how-to-change-to-an-older-version-of-node-js

you can see package.json see engines field
"engines": {
    "node": "14.x",
    "npm": "^7.5.4",
    "yarn": ">=1.13.0"
  },

The codebase on this repo has been moved to the main Apache Superset repo, and consequently the repo is in the process of being archived. See the Superset Improvement Proposal for details: https://github.com/apache/superset/issues/13013 . While all currently open issues and PRs will be closed, we encourage you to reopen this issue on the main repo if it is still relevant.


change manually enhanceanylexerconfig.ini doesnt update variables colors

Hi @Ekopalypse .
First, thanks for this contribution. I recently found on the notepad++ forum about, and it works so good for more complex color configuration.
I am a CNC programmer, to far from real programing. CNC are really more basics.
With your plugging I almost finished to create my own language for CNC programs. There is only one thing I more or less finised but I don’t know why it doesn’t work as I expected.
Basically I would like to color the local variable of programs. All CNC usually need to define at the beginning of program.
I am able by regex to find the particular word I want by using for example : 0xFF7700 = (?-s)^\h*(def real) \K.*$. On program like this.
REF REAL DIAM
….
DIAM=25
Then I can highlight the definition, but it doesn’t work for the same words in the program.
So, I thought that maybe I can do something like that.
localVar: (?-s)^\h*(def real) \K.*$
0xFF7700 = localVar
But It doesn’t work.
So, I decided to create my own scrip with python and then open a file, read, get the local var, copy on a string like:
0xFF7700 = (DEF1|DEF2|DEF3|....)
This part works, and finally I open the enhanceanylexerconfig.ini and paste this new line all with the same script.
I check the file is ok, but my surprise is that finally it doesn’t work. I have to click on plugins, enhance current language, just write an space or intro, save, and then the color works. Seems that when I modified the ini file doesn’t have any effect. Only open by notepad buttons works and save works.
Is there any way to update by python scripts?
Regards¡

Hi Ekopalyse.
Wow, I didn’t know if you Will receive my question.
Thanks for the quickly reply¡
For me, If the idea about creates localvar to save and use it like in the example will be enough.
I work basically with Siemens CNC. CNC environment is too much easy in terms of programing and also programs normally are short(About 300 lines or less). One full machine backup is about (programs, global var, tables.etc) is normally about 1Mb to have an idea. So computationally resources is not a problem (I think).
Until last week I was using just User defined language, But there was some particular things that it was impossible. Like highlight words ended by “:” jump labels, etc, finally I learn about this plugin and then all is possible. So I started to think about more and more options like the local var I told you.
The idea about do something like “(?-s)^\h*(def real) \K.*$” seens to be ok, But on the definitions of local variables you ca do something like this,

DEF BOOL DEBUG=FALSE ; localvar with initialization
DEF REAL W_2=90 , W_22  ; localvar x2or more in one line
DEF REAL W_3=180
DEF REAL Setval__1[3]  , Setval__2[3]  ; array of variables
DEF REAL TcD__1[3,3] ; array of variables bidimensional
DEF REAL WzOv[3]
DEF REAL WzRv[3]

Yesterday I create a python scrip to make a read about the file and generate the structure to copy at the end of the
Ini file. So with the Scrip I finally (thanks to google and forums) get the exact result no matter “[]”, number of var, etc.
I went deeper…lol.. I make the scrip goes into the folder of Global variables(GUDs) and scan also for that ones. The time in my computer is milliseconds. And probably my programing is totally a mess.
Finally, I create this ini file and for me is so good. The only problem until this point is that I need to click on plugins->enhanced and insert an space or something. Because even if I open with note pad, but open it from the folder /appdata/roaming… It doesn’t work. I need to open the file by notepad buttons.
So as you said, maybe has the option to include on the scrip a way to re-read by the plugin will be a good idea. But, I read about what you said NPPM_MSGTOPLUGIN, but I didn’t understand anything…
I give you an example about the final ini file I am using.
THANKS¡¡¡

[cnc_extended_v2]
; check in the respective styler xml if the following IDs are valid
excluded_styles = 1,2,3,5,6,8,9,10,11,12,13,14,15,16,20,21,22,23
; IDS quitadas, 4:Comentarios 7 numeros
;;******Palabras acabadas en ":"
0xff33ff =^((?!MSG;?).)?:
;GOTO[BFs] marca siguiente palabra
0xff33ff = (?<=GOTO[BF] )\w+
; F Comandos marcados
0xEE8F82 =F\d+.?\d+
0xEE8F82 =F=\w+
0xEE8F82 =F\d+
;Rs
#EE8F82 =R\d+
;Ms
#7fff00 =M\d+
;Nlinea
0x9b9b9b =N\d+
0xaaeeaa=(DEBUG|F_S|_TNO|_MTH|W_1|W_2|W_3|W_4|M_T|R_ADIUS|KR|SETVAL__1|TCD__1)
;update local var finished
0xffffbb=(_RENT|PACHI|RUKI|_RENT|_RENC|AXV|XFRM_IDEAL_PT) ; real one has 3000 caracters 😊
;update GUDs finished

Hi @txotelusco,
What version of enhanceanylexer are you using, saving the ini works for me as seen in the attached gif.
As for the msgtoplugin feature, it works as also seen in the gif.
I used two npp instances to show that the ini file was modified from another source. However, your python script must be called from the npp instance that hosts the actual CNC file. I will use the new version today and, if nothing unusual turns up, release a draft version tomorrow for you to test. Does what is shown make sense from your point of view?

Hi @@.>
My versión of enhanceanylexer is:
@.
Y versión of Notepad++ is:
@.***
I sent you attached the las ini file I am using (rename the file extensión aaa to ini)
Looks so Good. What I have now implemented is like this:

I have a copy of your original EnhanceAnyLexerConfig.ini file on another folder.
Then execute the Python on by a button on the Notepad (the CNC file has to be selected).
*   first remove the EnhanceAnyLexerConfig.ini file storage in appdata/plugings/…
*   Read the file (editor.forEachLine) in order to get values of local Var and create finally in another temp file all in one line something like: 0xccffcc=(KATANJA|TANKATIA|TOOL_X|TOOL_Y|TOOL_Z|SPEED|BASE_NUMBER|)
*   Then copy the EnhanceAnyLexerConfig.ini at my temp folder to plugins folder
*   Open the EnhanceAnyLexerConfig.ini file and paste the local var at the end.
At this point, for me is OK, I know that I just need to open the file by notepad and just insert something, save, and the colors are ready.
So, If I can be able to add something at the end of the scrip to execute re-read function will be perfect. (Later I would like to do it automatically whenever a CNC file is opened, but for next chapter. LOL)

I was boring, and finally yesterday I made something else. Normally backups has the same structure.

NC All backup inside this folder
*   CMA : Manufacturer programs.
*   DEF : Inside there are the Global variables.
So, I create at the end of the scrip, a new search in order to find the DEF folder open all files an create in a second tempfile the global vars. And before paste at the end.
So now I can see when I executed the scrip the Global and local var in different colors.
The second part is because all these is new, and I just wanted to learn more about python.
And Probably today, I will make the next step, search at CMA folder the “names of programs” and create new color structure with programs names... The way a CNC call subprograms is just typing the name of the file.

@.***
Enviado desde Correohttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows
De: @.>
Enviado: jueves, 5 de octubre de 2023 14:35
Para: @.>
CC: @.>; @.>
Asunto: Re: [Ekopalypse/EnhanceAnyLexer] change manually enhanceanylexerconfig.ini doesnt update variables colors (Issue #9)
Hi @txoteluscohttps://github.com/txotelusco,
What version of enhanceanylexer are you using, saving the ini works for me as seen in the attached gif.
As for the msgtoplugin feature, it works as also seen in the gif.
I used two npp instances to show that the ini file was modified from another source. However, your python script must be called from the npp instance that hosts the actual CNC file. I will use the new version today and, if nothing unusual turns up, release a draft version tomorrow for you to test. Does what is shown make sense from your point of view?
[enhance_any_lexer_msgtoplugin_demo]https://user-images.githubusercontent.com/47723516/272903370-5b28c5c3-7980-4ea5-aaa0-b282a8f327b8.gif
—
Reply to this email directly, view it on GitHubhttps://github.com/Ekopalypse/EnhanceAnyLexer/issues/9#issuecomment-1748811373, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDAMBQIOBEG6OABY24QFZP3X52SRZAVCNFSM6AAAAAA5RDTBE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYHAYTCMZXGM.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @@.***>
I attached the file, maybe the system reject attached files. I send you again.
I Add the tow Python script, one is to create ini file, and I made another one to restore original values. Remember that I am new at this kind of programs, many of the scripts are directly copy and probably could be improve a lot. Anyway, even like that it cost only less than 1sec to create the new ini, and for me is enough.
Also is attached a part of backup of a machine. Its with the one I made all test.
I am going to try now your new plugin¡¡¡
Regards¡
Enviado desde Correohttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows
De: @.>
Enviado: viernes, 6 de octubre de 2023 11:31
Para: @.>
CC: @.>; @.>
Asunto: Re: [Ekopalypse/EnhanceAnyLexer] change manually enhanceanylexerconfig.ini doesnt update variables colors (Issue #9)
@txoteluscohttps://github.com/txotelusco - I do not see any attached files.
The pre-release version along with an example of how PythonScript can force the plugin to re-read its configuration file is available herehttps://github.com/Ekopalypse/EnhanceAnyLexer/releases/tag/v.1.3.0
—
Reply to this email directly, view it on GitHubhttps://github.com/Ekopalypse/EnhanceAnyLexer/issues/9#issuecomment-1750281248, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDAMBQIT5NLYZKZW3XXRINLX57FV7AVCNFSM6AAAAAA5RDTBE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJQGI4DCMRUHA.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Ekopalypse, soory but I couldnt check the update. If I understood, I have to download de the dll and replace on the pluggins folder. but on this step my antivus block the file and I have no options to enable onthat computer.
Regards¡

Hi, When I installed the first time the anylexer was the version 1.1. When you told me to update, I checked on the Notepad that there was the 1.2 able to update. I updated without problems. But for the 1.3 I tried downloading the dll. But I can’t use this dll, antivirus block every time. And I can’t disable the antivirus.
Looks like, that from notepad updating there is not problems.
regards¡

Hi @Ekopalypse
Finally, I find the way to install the new Dll. Its perfect¡ Works so good¡¡
thanks so much for your help¡¡
I would like to ask another question that probably you will know. It is possible to run the scripts automatically whenever a file (with particular extension, like *.spf or mpf) is open with notepad++? Right now, I put a button and then run the scrip and when it finish the colors change. But it will be better if I can run the script in the background when the file is opened.
Regards¡

Thx for letting me know. The new version will be automatically available starting from the next release of Npp aka. > 8.5.8.

run the scripts automatically whenever a file
Yes, this is possible, but you have to make sure that certain settings are set.

change the startup behavior of PythonScript via Plugin->PythonScript->Configuration..., make sure Initialization is set to ATSTARTUP instead of LAZY.

create a new script and name it "startup.py".
It MUST be named startup.py. DO NOT USE the existing one.

Note, that it MUST be in User Scripts
and you should see the following in the plugin->python script->scripts menu

Copy the following code into the newly created startup.py script and save it.

from Npp import notepad, NOTIFICATION, console

console.show()

def on_file_open(args):
    print(notepad.getCurrentFilename())

notepad.callback(on_file_open, [NOTIFICATION.FILEOPENED])

Now check if it works by right-clicking the startup.py tab to open the context menu and click "Open in new instance".

A new NPP instance, with startup.py open, should open and the PythonScript console should open automatically.  Now open any file in this instance and you should automatically see the path name of this file printed in the console. If this is the case, the rest is now a question of what exactly should happen and what the actual script that should be used looks like.


The quad example panics with the OpenGL backend

Short info header:

GFX version: git
OS: Debian GNU/Linux sid
GPU: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)

The type of the backbuffer is FrameBuffer so frame_images is set to an empty Vec.
https://github.com/gfx-rs/gfx/blob/42bb2065306a6a438cb7baf1d16af9fb0949f083/examples/quad/main.rs#L422
https://github.com/gfx-rs/gfx/blob/42bb2065306a6a438cb7baf1d16af9fb0949f083/examples/quad/main.rs#L449
https://github.com/gfx-rs/gfx/blob/42bb2065306a6a438cb7baf1d16af9fb0949f083/examples/quad/main.rs#L450
Then image_acquire_semaphores is not filled with any data.
https://github.com/gfx-rs/gfx/blob/42bb2065306a6a438cb7baf1d16af9fb0949f083/examples/quad/main.rs#L456-L462
https://github.com/gfx-rs/gfx/blob/42bb2065306a6a438cb7baf1d16af9fb0949f083/examples/quad/main.rs#L490-L496
And finally the program panics on trying to index the empty image_acquire_semaphores
https://github.com/gfx-rs/gfx/blob/42bb2065306a6a438cb7baf1d16af9fb0949f083/examples/quad/main.rs#L743-L747

Thanks for tracking it down!
It would be resolved once https://github.com/gfx-rs/gfx/pull/2663 is merged, as it would remove the Backbuffer::Framebuffer variant which GL uses currently.

Entertainingly, I was just about to submit the exact same thing.  :grin: I tested that PR and the quad example works with the OpenGL backend, using Linux/X11 with a GeForce GTX 1060 and official NVidia drivers.

[Windows] panics when resizing the quad example to 0 height with GL backend

Fixed by #2663
@AregevDev please file a separate issue for this


Allow files and directories be ignored on export

If files were manually edited via an IDE or anything else that tends to leave junk files behind, provide a way for mr export to exclude various files, likely either by .gitignore or specifying what to ignore by CLI.
Yes, I manually edited the files to get around #169 as there was no better method available.

Like .packwizignore?

Yes.

Apologies. What I was trying to hint at is that this already exists, as can be seen in the example pack.

As copygirl mentioned, this already exists :)

There is absolutely no mention of this in the docs.


Error while running FloodLight in Netbeans 8.2

Hi dear,
I have tried to run FloodLight in Netbeans. There is no error while I import the FloodLight 1.2 to the Netbeans, but an error happens when I run the main program. I would like to run FloodLight in Netbeans because I want to connect my java program that runs in Netbeans to the FloodLight and configure the program via the FloodLight.
Can you please help me to take a look at the error below and suggest a solution to the issue.
I really appreciate help.
The error is:
15:56:33.049 [main] INFO  n.f.c.module.FloodlightModuleLoader - Loading modules from src\main\resources\floodlightdefault.properties
15:56:33.063 [main] DEBUG n.f.c.module.FloodlightModuleLoader - Starting module loader
15:56:33.075 [main] ERROR net.floodlightcontroller.core.Main - Exception in main
net.floodlightcontroller.core.module.FloodlightModuleException: Module net.floodlightcontroller.jython.JythonDebugInterface not found
at net.floodlightcontroller.core.module.FloodlightModuleLoader.traverseDeps(FloodlightModuleLoader.java:313) ~[classes/:na]
at net.floodlightcontroller.core.module.FloodlightModuleLoader.loadModulesFromList(FloodlightModuleLoader.java:287) ~[classes/:na]
at net.floodlightcontroller.core.module.FloodlightModuleLoader.loadModulesFromConfig(FloodlightModuleLoader.java:235) ~[classes/:na]
at net.floodlightcontroller.core.Main.main(Main.java:71) ~[classes/:na]
BUILD FAILURE
Total time: 2.338s
Finished at: Fri May 10 15:56:33 AEST 2019
Final Memory: 6M/119M
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project floodlight: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Hi! What does your run configuration in Netbeans looks like? How are you compiling Floodlight?
I would also suggest checking out the mailing list here. It's possible that someone has already run across this issue and may be able to help!

Hi geddings, many thanks for your response.
I tried to run the main program belonging to the net.floodlightcontroller.core package. Please see the picture below.

Please advice me a way to solve it. I really appreciate your help.
Chau

@kopida Hi Kopida, you shall configure Floodlight as a Maven project in Netbeans and compile it and then run it as a Maven project. Try to do that and see. You can also compile Floodlight from terminal by "mvn package", if that works then that means something misconfigured in your IDE (Netbeans).

Hi QingWang. the floodlight has been imported as a Maven project, but there is the same error. Please see the image below

Please give me a suggestion to solve it. Many thanks for your support.
Kopida

Hi QingWang, I found the issue. It is because of an added code about sending a packet out the message. I learned the code from the link below:
https://floodlight.atlassian.net/wiki/spaces/floodlightcontroller/pages/9142281/How+to+Create+a+Packet+Out+Message
The code causes the error is as follows:
OFPacketOut po = mySwitch.getOFFactory().buildPacketOut()
.setData(serializedData)
.setActions((List) Collections.singleton((OFAction)
mySwitch.getOFFactory().actions().output(OFPort.FLOOD, 0xffFFffFF)))
.setInPort(OFPort.CONTROLLER)
.build();
mySwitch.write(po);


mysql: bugfix for max connections [DOC-84]

Updated article MySQL max_connections to reflect our new way of defining the max number of connections for a service depending on a service plan/RAM
https://aiven.atlassian.net/browse/DOC-84

Let me know if I can help with the squashing/rebasing/merging on this one?


htlcswitch: make sure link is reestablished when starting

This PR replaces #7157, and attempts to fix the issue described there from a different angle. In short, when a link is started, it's not ready for usage until it has finished its re-establishment. Currently, the re-establishment happens inside the goroutine htlcManager, and since the re-establishment might take some time, other systems will fail when working with this link.
This PR fixes it by moving the reestablishment inside link.Start, thus the caller can expect a working link when the link is created and started.
The primary reason for making this PR comes from the discussion here. Essentially it makes the interface CreateAndAddLink deeper so that call sites like peer can care less about the link's implementation details.

I think we can't move loadActiveChannels after the peer starts the 5 goroutines because we might get into the following situation (I think this is right):

FetchOpenChannels is called in goroutine1. This includes a channel (called channel1) that hasn't received FundingLocked yet.
peer goroutines are started (notably readHandler and channelManager) in goroutine1
loadActiveChannels is called in goroutine1 with the argument from FetchOpenChannels.
readHandler receives FundingLocked for channel1 in goroutine2 and passes it to the funding manager via ProcessFundingMsg

handleFundingLocked runs in goroutine3 and calls AddNewChannel.

AddNewChannel passes the *OpenChannel object to the peer's channelManager goroutine4.
channelManager adds the created *LightningChannel to the activeChannels map and starts the corresponding link.
The link has a state transition here.

loadActiveChannels finally runs (kernel let it run), and will remove the existing link and replace it with a new link. However, the created *LightningChannel will be slightly outdated, similar to the duplicate link issue a while back.

FetchOpenChannels is called in goroutine1. This includes a channel (called channel1) that hasn't received FundingLocked yet.

Does this mean the channel is in a pending state and will be added to activeChannels with a nil value? Aslo it won't create the link?

FetchOpenChannels is called in goroutine1. This includes a channel (called channel1) that hasn't received FundingLocked yet.

Does this mean the channel is in a pending state and will be added to activeChannels with a nil value? Aslo it won't create the link?

The channel isn't pending (it's confirmed on-chain), it just hasn't received FundingLocked so the funding manager can still call AddNewChannel and add the link that way

Replaced by #7157