HBASE-26251 StochasticLoadBalancer metrics should update even if bala…

…ncer doesn't run (#3678)

checkstyle! Let me fix it. Thanks for reviewing

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  5s
Docker mode activated.

-0 :warning:
yetus
0m  5s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m  0s
branch-2 passed

+1 :green_heart:
compile
1m 25s
branch-2 passed

+1 :green_heart:
shadedjars
7m  5s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 58s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 47s
the patch passed

+1 :green_heart:
compile
1m 23s
the patch passed

+1 :green_heart:
javac
1m 23s
the patch passed

+1 :green_heart:
shadedjars
7m  5s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 58s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
215m 45s
hbase-server in the patch passed.

+1 :green_heart:
unit
5m  1s
hbase-rsgroup in the patch passed.

251m 12s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3706

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 303ff9eda519 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / d4d22f8da4

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/1/testReport/

Max. process+thread count
2780 (vs. ulimit of 12500)

modules
C: hbase-server hbase-rsgroup U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
6m 30s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 22s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
10m 17s
branch-2 passed

+1 :green_heart:
compile
2m  1s
branch-2 passed

+1 :green_heart:
shadedjars
8m 43s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 16s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 21s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m  6s
the patch passed

+1 :green_heart:
compile
1m 58s
the patch passed

+1 :green_heart:
javac
1m 58s
the patch passed

+1 :green_heart:
shadedjars
8m 35s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 14s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
228m 18s
hbase-server in the patch passed.

+1 :green_heart:
unit
4m 57s
hbase-rsgroup in the patch passed.

281m 45s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3706

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux ddfad3715c1b 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / d4d22f8da4

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/1/testReport/

Max. process+thread count
2700 (vs. ulimit of 12500)

modules
C: hbase-server hbase-rsgroup U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 20s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 28s
branch-2 passed

+1 :green_heart:
compile
4m 22s
branch-2 passed

+1 :green_heart:
checkstyle
1m 29s
branch-2 passed

+1 :green_heart:
spotbugs
2m 43s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 29s
the patch passed

+1 :green_heart:
compile
4m 20s
the patch passed

+1 :green_heart:
javac
4m 20s
the patch passed

+1 :green_heart:
checkstyle
1m 26s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
11m 59s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
3m 17s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 25s
The patch does not generate ASF License warnings.

46m 51s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3706

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux f05dc941f48e 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / d4d22f8da4

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
96 (vs. ulimit of 12500)

modules
C: hbase-server hbase-rsgroup U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/2/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  9s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 12s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 41s
branch-2 passed

+1 :green_heart:
compile
1m 23s
branch-2 passed

+1 :green_heart:
shadedjars
7m  6s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 57s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 49s
the patch passed

+1 :green_heart:
compile
1m 23s
the patch passed

+1 :green_heart:
javac
1m 23s
the patch passed

+1 :green_heart:
shadedjars
7m  8s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 58s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
229m 50s
hbase-server in the patch passed.

+1 :green_heart:
unit
5m  7s
hbase-rsgroup in the patch passed.

264m 51s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/2/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3706

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 0db68dbc4541 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / d4d22f8da4

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/2/testReport/

Max. process+thread count
2868 (vs. ulimit of 12500)

modules
C: hbase-server hbase-rsgroup U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/2/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 14s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m  5s
branch-2 passed

+1 :green_heart:
compile
1m 58s
branch-2 passed

+1 :green_heart:
shadedjars
8m 46s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 16s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m  2s
the patch passed

+1 :green_heart:
compile
2m  0s
the patch passed

+1 :green_heart:
javac
2m  0s
the patch passed

+1 :green_heart:
shadedjars
8m 41s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 14s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
226m 35s
hbase-server in the patch passed.

+1 :green_heart:
unit
4m 54s
hbase-rsgroup in the patch passed.

269m 21s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3706

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 70b7a182062f 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / d4d22f8da4

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/2/testReport/

Max. process+thread count
2623 (vs. ulimit of 12500)

modules
C: hbase-server hbase-rsgroup U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3706/2/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Does TaxBrain need the Earned Income Credit age floor/ceiling?

This commit:
https://github.com/open-source-economics/Tax-Calculator/commit/e817d3048fd02d907a092f118073450700b11ef6#diff-496bf0f0853ae02da9e238398f213913
added EITC_flr and EITC_cel to Tax-Calculator. Should they be included on the input page for TaxBain? cc @MattHJensen

oops. I was looking through commit history and saw these parameters. They were renamed and included in TaxBrain. Closing.


chore(main): release 1.8.0

:robot: I have created a release beep boop
1.8.0 (2023-05-21)
Features

support Github Enterprise (#40) (3eb6682)

Bug Fixes

poetry: update poetry to 1.5.0 (#39) (6726037)

Documentation

add jrbe228 as a contributor for bug, and ideas (#31) (b0ab4ef)
automated doc update (6cc82f9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/andrewthetechie/gha-clone-releases/releases/tag/v1.8.0 :sunflower:


Feed HAProxy logs to GoAccess using remote Rsyslog

Just wanted to share how to show realtime stats from remote HAProxy servers with GoAccess.
HAProxy server settings (rsyslog v5):
# cat /etc/haproxy/haproxy.cfg
global
    log <IP_ADDRESS>:514 local0
...
# cat /etc/rsyslog.d/haproxy.conf
$ModLoad imudp
$UDPServerRun 514
$MaxMessageSize 64k
$template Haproxy,"%timegenerated%%msg%\n"
local0.=info @mygoaccesshost
local0.=info -/var/log/haproxy/haproxy.log;Haproxy
local0.notice -/var/log/haproxy/haproxy-status.log;Haproxy
local0.* ~

GoAccess server (rsyslog v8):
# cat /etc/rsyslog.d/haproxy.conf
$ModLoad imudp
$UDPServerRun 514
$MaxMessageSize 64k
$ModLoad omuxsock
$OMUxSockSocket /tmp/haproxy.sock
$template Haproxy,"%timegenerated%%msg%\n"
$OMUxSockDefaultTemplate Haproxy
local0.info :omuxsock:
local0.* stop

# crontab -l
@reboot /usr/bin/goaccess - --port=7890 -o /var/www/html/report.html --keep-db-files --load-from-disk --db-path=/var/lib/goaccess/ --compression bz2 --real-time-html --daemonize < <(/usr/bin/socat -u UNIX-RECV:/tmp/haproxy.sock -)

For some reason socat does not live long, so I had to add this line to the crontab:
0 0 * * * killall goaccess; killall socat; /usr/bin/goaccess - --port=7890 -o /var/www/html/report.html --keep-db-files --load-from-disk --db-path=/var/lib/goaccess/ --compression bz2 --real-time-html --daemonize < <(/usr/bin/socat -u UNIX-RECV:/tmp/haproxy.sock -)

Awesome, thanks for sharing this. I'll keep it open for sometime so it serves as a reference!

Thank you man for the awesome tool!

Are you using option httplog clf in haproxy.conf?
I'm trying to just read an haproxy.log file using cli goaccess haproxy.log and using option httplog clf and I get invalid token terrors. I also tried just $template Haproxy,"%msg%\n"

@atomi Sounds like a log-format issue. Can you please describe the fields from your sample log above?

It's default CLF. My intent is to not use custom log formats.
http://cbonte.github.io/haproxy-dconv/1.6/configuration.html#4-option httplog

clf       if the "clf" argument is added, then the output format will be
the CLF format instead of HAProxy's default HTTP format. You can
use this when you need to feed HAProxy's logs through a specific
log analyser which only support the CLF format and which is not
extensible.

@atomi this should do it (assuming clf and ignoring the rest of the fields):
goaccess haproxy.log --log-format='%h %^[%d:%t %^] "%r" %s %b %^' --date-format=%d/%b/%Y --time-format=%T

There's no default haproxy log-format so far. Do you know how the default log-format looks like? I can probably add it to the predefined list.

There's no default haproxy log-format so far. Do you know how the default log-format looks like? I can probably add it to the predefined list.

Shouldn't the haproxy clf format work with the existing predefined clf parser in goaccess?

The default clf in goaccess looks for \0 or a LF (Line feed, '\n'), however, the haproxy log has some additional fields after the number of bytes read.


Enable yamllint for Helm Chart and GitHub Actions

Proposed changes
Problem: We're not linting YAML files in the Helm Chart and GitHub Actions directories
Solution: Enable yamllint for these directories and fix the problems.
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING doc
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that all unit tests pass after adding my changes
[ ] I have updated necessary documentation
[x] I have rebased my branch onto main
[x] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

NONE

Does helm lint do anything different from yamllint? Do we want to add that as well? (maybe separate PR)

Does helm lint do anything different from yamllint? Do we want to add that as well? (maybe separate PR)

We already have helm lint in the lint workflow, but it doesn't lint the values.yaml.  I'm working on adding some things to that workflow soon, that's how I stumbled into this 🙂


Compare content-length to the length of the request body

Content-Length should be compared to the length of the request body otherwise bufferLength() includes the length of the headers and body

I've tested this locally and, although I can't replicate the issue as I my requests are never never chunked, it does seem to resolve the issue if/when that does occur.
In short, our current check to determine whether the request size matches the expected content-length includes all headers rather than just the body.


RuntimeError: Error(s) in loading state_dict for Linear:         size mismatch for weight: copying a param with shape torch.Size([1024, 26400]) from checkpoint, the shape in current model is torch.Size([1024, 12800]).

Traceback (most recent call last):
File "scripts/train_collective_stage2_dynamic.py", line 58, in
train_net(cfg)
File "./train_net_dynamic.py", line 83, in train_net
model.loadmodel(cfg.stage1_model_path)
File "./infer_model.py", line 1222, in loadmodel
self.fc_emb_1.load_state_dict(state['fc_emb_state_dict'])
File "/home/hi/.conda/envs/lj0.1/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1045, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for Linear:
size mismatch for weight: copying a param with shape torch.Size([1024, 26400]) from checkpoint, the shape in current model is torch.Size([1024, 12800]).

How to solve this problem?

I am facing the same issue. Were you able to resolve it ??

yes,  you can contact me via WeChat<PHONE_NUMBER>2

I am facing the same issue. Were you able to resolve it ??

yes, you can contact me via WeChat<PHONE_NUMBER>2

WeChat isn't available in my region, is there some other way I can contact you??
Or can you explain the solution here itself??

Hello，it's backbone in infer_model.py, you can step debugging in your code.
if cfg.backbone == 'inv3':
    self.backbone = MyInception_v3(transform_input=False, pretrained=True)
elif cfg.backbone == 'vgg16':
    self.backbone = MyVGG16(pretrained=True)
elif cfg.backbone == 'vgg19':
    self.backbone = MyVGG19(pretrained=True)
elif cfg.backbone == 'res18':
    self.backbone = MyRes18(pretrained=True)
elif cfg.backbone == 'alex':
    self.backbone = MyAlex(pretrained=True)
elif cfg.backbone == 'mobilenet':
    self.backbone = MyMobileNet(pretrained=True)
else:
    assert False

# START: Original code by Zijian and Xinran
if cfg.backbone == 'inv3':
    self.fc_emb_1 = nn.Linear(K * K * D, NFB)
elif cfg.backbone == 'res18':
    self.fc_emb_1 = nn.Linear(12800, NFB)
elif cfg.backbone == 'vgg16':
    self.fc_emb_1 = nn.Linear(12800, NFB)
elif cfg.backbone == 'vgg19':
    self.fc_emb_1 = nn.Linear(12800, NFB)
elif cfg.backbone == 'alex':
    self.fc_emb_1 = nn.Linear(6400, NFB)
elif cfg.backbone == 'mobilenet':
    self.fc_emb_1 = nn.Linear(32000, NFB)
# END: Original code by Zijian and Xinran

self.nl_emb_1 = nn.LayerNorm([NFB])

------------------ 原始邮件 ------------------
发件人:                                                                                "JacobYuan7/DIN-Group-Activity-Recognition-Benchmark"                                                                                @.>;
发送时间: 2022年3月16日(星期三) 下午4:40
@.>;
<EMAIL_ADDRESS>主题: Re: [JacobYuan7/DIN-Group-Activity-Recognition-Benchmark] RuntimeError: Error(s) in loading state_dict for Linear:         size mismatch for weight: copying a param with shape torch.Size([1024, 26400]) from checkpoint, the shape in current model is torch.Size([1024, 12800]). (Issue #11)
WeChat isn't available in my region, is there some other way I can contact you??
Or can you explain the solution here itself??
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>
从QQ邮箱发来的超大附件
Snipaste_2022-03-17_15-58-20.png (10.3K, 无限期)进入下载页面：http://mail.qq.com/cgi-bin/ftnExs_download?k=6663323290efcc9a3a0df36e1539014a56050707565b51001e5550010a14075756051f50035b51480b0153045158065450540402331933365d0a4253404d563a015300001e09004802546d030614065d1e51021c435754650e&t=exs_ftn_download&code=3c22393e
Snipaste_2022-03-17_15-59-29.png (9.8K, 无限期)进入下载页面：http://mail.qq.com/cgi-bin/ftnExs_download?k=6d656463abbbcf9e310ba53f1063024e0a01565a0105045215045d53014e04510a5449020154044c0e545705005300035955055b36433032560c14024517553e0a5556511b53034c09523b52034e055815575d4d460d576105&t=exs_ftn_download&code=8edc6c0a


Don't select color input on click

From: https://github.com/excalidraw/excalidraw/pull/694#issuecomment-582028913 by @sompylasar

My preference is against such behavior in any text field, it's so frustrating, I know how to select text (double click or shift home) if I need to delete it, but in excalidraw, if I instead of selecting a swatch decided to use the text field, I usually want to tweak the color, for example add the opacity byte, not always fully replace it (and even if I did fully replace, I have alternatives). This change fixes one aspect of my workflow and breaks/slows down the other, both were mentioned on the bug report.

I actually changed my mind since the PR on this, and agree we probably shouldn't do this.

@sompylasar Thank you for your feedback! It was just a personal preference. That's why I wasn't sure and asked for feedback. Changing it soon.

@sompylasar no problem :). I wasn't sure myself but didn't see it as an issue until someone elucidated a use case.


[PE-D][Tester A] Tag format not explained clearly

It is not stated clearly that tag keywords must be a single string not separated by space. Especially since other fields like Major would take in the entire string following the prefix, including the space, this behaviour is neither expected nor documented. Do update the UG and error message to inform users of this.

Labels: severity.Medium type.DocumentationBug
original: LWS49/ped#24

Duplicate of #169


[T4A5][W11-B3] Fan Weiguang

Ready for review

Some comments added. Please close the PR after reading comments. According to the diagram you should have initiated the Tagging object in the AddressBook class, see #1198 .

Comments reviewed and I have already modified the code.


instead of > for input

I don't know if it's possible to change > to >> for the input method? IMO >> is less used, especially in numerical / science-related code. I looked around the source code but didn't find where to make the change (I don't see __gt__ method in Pipe class).
Thank you.

Unfortunately that's not possible because of operator precedence. >> binds stronger than |, so input >> func1 | func2 would be evaluated as (input >> func1) | func2, so you'd have to always put parentheses around the piping composition - and face possibly confusing errors when you forget.
If using > for input is making your code confusing, I recommend naming your composed functions and then just calling them the usual way:
my_func = dothis | dothat | etc
my_func(input)


Process more of the JSON information and include in EXIF

Add more of the information from memories.json and posts.json to converted JPEGs' EXIFs:

[ ] caption
[ ] moment timestamp
[ ] late time
[ ] retake counter

This information is included in my own data export so I only need to find time to expand the script to cover these tags.

Location looks like this:
{
"primary": {
"bucket": "storage.bere.al",
"height": 2000,
"path": "/XXX.webp",
"width": 1500
},
"secondary": {
"bucket": "storage.bere.al",
"height": 2000,
"path": "/XXX.webp",
"width": 1500
},
"retakeCounter": XXX
"caption": "XXX",
"location": {
"latitude": XX.XX,
"longitude": XX.XX
},
"visibility": [
"friends"
],
"takenAt": "XXX"
},

Thanks for posting the extended structure, @U14-dev! To be sure I can properly convert/transfer the coordinates, could you check which coordinate system and format they follow? Easiest would be to compare the structure in your file to the coordinate systems and structures on a site like coordinates-converter.com. I only need the name of the coordinate system, not the actual coordinates, then I can use my own coordinates for testing purposes.

They are using decimal degree, you could use http://maps.google.com/maps?z=12&t=m&q=loc:var_LAT+var_LONG to check on google maps

Added the BeReal-caption as caption/abstract, still not sure where to put the other information.


[web]: Failed to load resource: the server responded with a status of 500 ()

When I host the build, getting this error in console,
Uncaught Unable to load asset: AssetManifest.json
AssetManifest.json file is missing in assets folder
How could I sort this out?

@kavin014 did you solve it? Did you have assets without the AssetManifest.json? Please check the example https://github.com/flutter/flutter/issues/33402#issuecomment-515495930.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


[CdapIO] Add sparkreceiver:2 module.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@mosche @chamikaramj @aromanenko-dev
We've published PR that includes changes regarding the comment in the [CdapIO] Integration CdapIO with SparkReceiverIO PR.
Moved the code that works with Spark v.2 to a separate package
Thanks


add telemetry, minor fixes to GUI

PR Summary

PR Checklist

[ ] PR has a meaningful title
[ ] Summarized changes
[ ] This PR is ready to merge and is not Work in Progress
[ ] Link to a filed issue
[ ] Screenshot of UI changes (if PR includes UI changes)

Which code prettifier did you use on main.bicep? @mosabami


Add PR template for Continuous Deployment

https://trello.com/c/ILpSOFhq/201-enable-cd-for-quick-win-and-possible-quick-win-apps
This is part of enabling CD for the app 1.
:warning: This application is Continuously Deployed: :warning:

Merged changes are automatically deployed to staging and production.

Make sure you follow the guidance for deployments before you merge.

Check your branch is being deployed in the Release app, after merging.

@kevindew we are for the time being, as specified here. However, I fully expect for us to remove it at some point e.g. when it's annoying people enough that they want to remove it! For now, I agree we should make it shorter. How about:
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

@benthorner that looks great 👍


What is AsyncGettingStarted ?

I saw this in react-google-maps/lib/async/ScriptjsLoader examples.
I found this https://github.com/tomchentw/react-google-maps/blob/5e672b92f3e47861126349a5691c33b9b1d1eb88/examples/gh-pages/src/pages/AsyncGettingStarted.js#L16 but this sound unreal.
Why ScriptjsLoader does not provide default values for hostname, pathname etc?

Good question! Yeah! ScriptjsLoader should provide some default values for hostname/pathname since they're rarely changed.
For the random version in example, it's used in development of ScriptjsLoader but I should remove it.

We're also looking for maintainers. Involve in #266 to help strengthen our community!


Add getIceServers to support easy server parsing

Tiny PR that only adds one function that is used in later PRs for ease of ice server parsing.
Relates to #83

Pull Request Test Coverage Report for Build 778

10 of 10 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.09%) to 42.781%

Files with Coverage Reduction
New Missed Lines
%

internal/dtls/dtls.go
1
18.25%

Totals

Change from base Build 774:
0.09%

Covered Lines:
2584

Relevant Lines:
6040

💛  - Coveralls


CLI: requestAirdrop method in cli serve for local sandbox

Add a requestAirdrop method to cli serve (and cli command?), which will trigger a friendbot-equivalent funding to the specified new account. This is for the local sandbox development

cli serve is gone


Moved web.d.ts in /src folder to fix import in Index.d.ts

Hey @Aekk0 👋
Thanks for submitting a pull request 🙌
Could you please fill the description with:

a bit of context
what is the output of the PR

Cheers ^^

Hey @tony-go

The export in index.d.ts is wrong since web.d.ts isn't in the src folder but at the root of the project. Instead of changing this line of export, It came to me that it was more logical to move the web.d.ts file into the src folder as others types are exported in it.
Fixing the error from @nodesecure/scanner related to the export of types definitions as shown below.

Hey @Aekk0 👋
Thanks for providing these details.
I experienced the same yesterday: https://github.com/NodeSecure/preview/pull/28/files
I had a chat with @fraxken, and it seems that it's volunteered to make the lib compatible with nodejs and browsers.
So I think that import { FlagObject } from "@nodesecure/flags/web" will be the new way to go.

@tony-go I don't think it was the same problem.
I discussed the subject this morning with @Rossb0b on discord. The web.d.ts was at the root because of an issue with TypeScript being not able to read the exports field in the package.json (So it was not providing intellisense in VSCode).
For context I had a discussion in french in the community:

https://github.com/microsoft/TypeScript/issues/33079
Maybe this has been resolved in recent version of TS (this need to be tested).

Thanks for your answer @fraxken 👍
Could you test with a different version of ts and tell us if it fixes the bug? @Aekk0?

Closing for inactivity


Apikey

discord link is invalid

@mrfzvx12 You can use this link to join our Discord server: https://discord.gg/turing-ai-899761438996963349


Add JSON files for fractalrocks collection

Hey fam, i add a new data to a new collection, thanks in advance
Regards

can't open the twitter link. Please update it. @elxsw

can't open the twitter link. Please update it. @elxsw

Done sr

can't open the twitter link. Please update it. @elxsw

Hey sr, pls can you check our request?, regards

there's something wrong with your json file.

there's something wrong with your json file

there's something wrong with your json file

hey thank you, i change the name of the folder, pls check, regards


Upgrade react-scripts for TypeScript

@phryneas This should fix CI, the Babel config was too old for TypeScript support

Since I had to upgrade the lockfile anyway do you want me to just switch to yarn?


Weaponsmaster Module Fix

Correctly reduced the module cost for the Weapons master class.
Creation of the modules page has now been moved to the render

The rules on certain parts of the module reduction I'm not 100% clear on - for example:
Psychic Projection Module (100) -> Psychic Projection Module (50)
Magic Projection as an Attack (75) -> Magic Projection as an Attack (40)
Magic Projection as a Defense (75) -> Magic Projection as a Defense (40)
This is what I have interpreted it as. If you feel this is incorrect, then a change to the WDP in the modules.js can be applied.
Let me know if you want this changing or updating.

Found a bug involving it repeated adding the modules - closing for now until I find a fix


SWS-261 Refactor metrics backend to provide range metrics

ServiceMetrics handler: add duration and step query params
Prometheus client: refactor channels usage, refactor model, provide Health with a dedicated model, fetch ranges
Tests: share prometheus API mock. Use it in prom's client_test, graph_test, services_test
Tests: update client tests for ranges, test empty metrics, test ServiceMetrics handler

Related UI PR: https://github.com/swift-sunshine/swsui/pull/96
All input welcome :)
@jshaughn I did some little changes in graph_test to externalize prometheus mock.
This PR doesn't change anything yet on visible features but prefigures future changes to display charts.

@jotak LGTM, no problem with extracting that mock boilerplate stuff.


pythonPackages.uranium name squatted by Ultimakers Uranium package

Describe the bug
The python package name uranium has been squatted by the package of the same name from Ultimaker.
IMO the ultimaker package should be renamed to ultimaker-uranium, since the pypi name should take precedence.
Expected behavior
Pypi should be the authoritative place for package names
Notify maintainers

@abbradar @gebner
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: pythonPackages.uranium
# a list of nixos modules affected by the problem
module:

Pypi should be the authoritative place for package names.

I don't particularly care about the package names.  Though it is of course disruptive when they change.
However, the python package names in nixpkgs already do not correspond to the pypi package names.

Sometimes the capitalization differs, PyYAML vs. python3Packages.pyyaml
Sometimes dashes are used instead of underscores, aiohttp-socks vs. python3Packages.aiohttp_socks
Sometimes parts of the name are dropped, python-dateutil vs. python3Packages.dateutil

We also have other packages that are not on pypi, such as python3Packages.pythonocc-core.  How should these be named if there is no pypi name?
I think it would be nice to change the nixpkgs package names so that they match the pypi package names where possible (i.e. PyYAML, etc.).  But I don't think we should rename existing packages just because they haven't been published on pypi.


Issue/4274 auto full export

Description
Adds an auto_full_compile setting to the environment. The setting accepts a cron schedule on which to run a full compile.
Questions
Did I pick an appropriate cron library? If anyone prefers another one for some reason it should be relatively simple at this point to swap it. The ones I considered are the following:

crontab: 286 stars, simple interface to get the number of seconds till next time point (exactly what we need), well documented which subset is supported, latest commit 1+ year old but the repo has only 1 open issue so I'm guessing it's just that it's stabilized.
croniter: 83 stars, objects are generators (a bit more advanced than what we use it for), documentation OK, actively maintained (latest release last month), seems to use SemVer. It does turn out to have an unconventional approach for the seconds field, placing it at the end rather than the front, but I don't think seconds are part of standard cron in the first place and I don't think they're relevant for our users so I think that should be fine.
python-crontab: 73 stars, cool icon, doesn't seem to support parsing just the time-part of a cron expression

I went for crontab because it seems stable enough, even though it might not be maintained anymore, and it sticks to the conventions.
closes #4274
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

The PR is not linked to the ticket but to itself in the description :p

Oops, thanks, fixed.

I think I addressed all review comments.

Processing this pull request

Failed to merge changes into iso5 due to merge conflict.Please open a pull request for these branches separately.

Merged into branches master in 50e86c85cc01d1d3961815e46a81a85bb937e126

Not closing this pull request due to previously commented issues for some of the destination branches. Please open a separate pull request for those branches. You can safely close this pull request and delete the source branch.


Need of checkpoints : BT and VicReg

Hi all,
Is there any link where I can access to the checkpoint of model trained using Barlowtwins and VicREG ?
I would like to evaluate this approach using different models and need the trained last checkpoint of these models.
Thanks.

Hey. I'm a bit busy this week, but I'll try to share the checkpoints as soon as possible.

Hi, can you please share the configuration used to obtain results in assets\results file ?
I have tried to change some confs without getting it. Updating learning rate as mentioned in the paper.
Are you using online evaluation when training ? At the end of CSSL, what percentage of data are you using to train your linear model when trained on CIFAR-100 ?

Hi, you can find the script in bash_files/continual/{dataset}/{method}.sh. They should contain the correct arguments.
On CIFAR100 we report the online linear eval accuracy since offline eval does not improve. Except for table 9 (semi-supervised), we use 100% of the data to train the linear classifier.

Thank you for your feedback.
II apologize for the omission in the information provided. I think that this argument could be added in the files on CIFAR-100.


Support cancel pending tasks which have not yet run

This PR changes the behavior of the WorkerPool.runTasks method so instead of returning a promise, it returns an object containing the original promise along with an id that can be used to cancel pending tasks before they have been executed by a worker (cancelation is achieved via a new cancel(runId) method added to the WorkerPool api).

@thewtex So this seems to be working really well for my application now.  I know we discussed not nullifying the slots in runInfo, but I'm guarding access to those elements everywhere now (I think), and I'm not getting those hard-to-diagnose errors anymore.  Also, the memory footprint is no longer monotonically increasing after starting lots of task lists and canceling many of them.
Anyway, in theory at least, nullifying the slots in runInfo seems like the right thing to do to free up as much memory as possible when a  task ends for whatever reason.  As an aside, it also seemed to help with memory consumption to nullify all the heavy fields in each runInfo element before nullifying the slot itself.
Let me know what you think.

@scottwittenburg awesome!!! :rocket:
Could you please collect the updates in the PR?

Could you please collect the updates in the PR?

Sorry, what do you mean here?  I'm sure I should know, but for some reason I'm drawing a blank.

Thanks @thewtex!  🎉 🎊 🚀


Fix onboarding dialog when onBackPressed()

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4606  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nalcalag and the rest of your teammates on  Graphite


fix(versions): update Activiti/activiti-cloud-full-chart-security versions

UpdateBot pushed helm dependency: activiti-cloud-full-example to: 7.1.234

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-full-example 7.1.234


[FAB-18490] Link fixes detailed in FAB-18490

Signed-off-by: Nikhil Gupta<EMAIL_ADDRESS>Type of change

Bug fix
Documentation update

Description
Fix links found in the broken link report. Will backport this PR back to 2.3, though will probably need a new PR for 2.2. Note that the broken link in the ordererplan doc was fixed in another PR.

Thanks for your continued help @nikhil550 !

Thanks Nik, I was doing a doc build locally to review and Gari merged it.
lol
On Fri, Jun 11, 2021 at 11:24 AM denyeart @.***> wrote:

Thanks for your continued help @nikhil550 https://github.com/nikhil550 !
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger/fabric/pull/2667#issuecomment-859697532,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH5FSLUFAQT5PSD2JLUC5MDTSI2D3ANCNFSM46Q6F5FA
.

--
Chris Gabriel, Founder
Hyperchain Labs
@.***
918-397-4078
hyperchainlabs.com
Twitter @HyperchainLabs

@mergifyio backport release-2.3


[FEATURE] Ability to disable DevTools in RC.Electron app

Description
Please add system administrator ability to manage (enable\disable) DevTools in Rocket.Chat.Electron application with config files like asked in #1491
Current Behavior
DevTools is enabled for every RC.Electron user
Expected Behavior
DevTools is managed by Administrator. Prefer configuration is DevTools disabled for all regular users and enabled for some developers.

Hey @ankar84 ! How's it going?
Why do you think this should be a feature? Some tools like VSCode leave it available fot the end user. I personally think this would restrain users from seeing error logs.
Can you talk a little bit more about your case? Thanks!

It's not me actually, but our security department. And security officers are considering DevTools like pentest instrument, that regular user do not need and can do some bad things with it.
We have Group Policy to disable Google Chrome DevTools for that reason, but in RC.Electron we can't control that function.

@gabriellsh it would be perfect to manage that setting with config file or somehow else.

@ankar84 Managing it from the config file sounds like a great idea.
I am working on this issue.

Hey @rodrigok, I have attempted to implement this feature. After moving here and there and trying out various ways to smoothen the UX I found that there's more work needed than just operating a switch in the config.json. That's because the config file is open for everyone to write into.
I tried to adding an UAC layer on top of the config modification process from settings but found it to be pointless as the config can be changed directly from the file system and dev tools can be re-enabled pretty easily without any authentication.
According to me there's a better way to achieve the results but I am lagging at somthing that's important. I need your sheer guidance in the implementation of this feature.
Thanks for your time and consideration.
Prisha Gupta

@jeanfbrito, what are your views on this?


Why is Reg(init=,next=) throwing deprecation warnings?

Type of issue: question

Development Phase: request
What is the current behavior?
Chisel3 throws a deprecation warning for the following code:
val slot_p1 = Reg(init = false.B, next = next_p1)

The message:
[deprecated] issue_slot.scala:71 (12 calls): apply is deprecated: "Use Reg(t), RegNext(next, [init]) or RegInit([t], init) instead"

What is the use case for changing the behavior?
What is the rational behind making this deprecated? I find it far clearer than RegNext(next_p1, false.B).

Richard can probably comment more, but IIRC the main reason was type safety/usability/avoid depending on null. The following slide is probably relevant:

The attached slide is more about why we have the hardware types vs. chisel data types separation.
The Reg deprecation I think is because:

Scala macros are a mess and can't support keyword arguments, so you wouldn't get source locators
The default null would require you to do some funny typecasting when calling Reg inside a type-parameterized function, so in some cases your Reg calls need to be Reg(t = null.asInstanceOf[T], init=false.B, next=...). And the error message the Scala compiler gave was not at all intuitive.

Basically, Scala limitations mean we can't have the syntax we'd like to have.

Thanks for explaining the justification.


compile with 0.56.0

/Users/akira/share/etiles/node_modules/react-native-admob/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/Users/akira/share/etiles/node_modules/react-native-admob/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

/Users/akira/share/etiles/node_modules/react-native-admob/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15:21-54: AAPT: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.

/Users/akira/share/etiles/node_modules/react-native-admob/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/Users/akira/share/etiles/node_modules/react-native-admob/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

/Users/akira/share/etiles/node_modules/react-native-admob/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.

:react-native-admob:processReleaseResources FAILED

Same issue.
react: 16.4.1
react-native: 0.56.0
react-native-admob: 2.0.0-beta.5

i am success with rn v 0.56

@UADACID are you successful trying to build for release or only while trying to run it on the device?
I have the exact same problem with React Native 0.56 and 0.57. This is serious - it only happens with ./gradlew assembleRelease

@csotiriou you can build release apk with android studio.
this is my example apk with react-native version 0.56

@UADACID no I can’t. Same with others.
Can you share your configuration and method? Just sharing an apk doesn’t help much.

It is working fine. Just change SDK version
android {
compileSdkVersion 26
buildToolsVersion '26.0.3'

It is working fine. Just change SDK version
android {
compileSdkVersion 26
buildToolsVersion '26.0.3'

not working for me using
"react": "16.4.1",
"react-native": "0.56.0",
"react-native-admob": "^2.0.0-beta.5",

any solution? same error....

compileSdkVersion 26 buildToolsVersion '26.0.3'
Working for me.
If it still cannot be fixed, check the Logcat in your Android Studio (select Error option), you'll find where the error come from.
For me I have to modify all my dependencies' build.gradle to the same buildToolsVersion.

@csotiriou
I'm still having this problem...I have changed PROJECT_NAME/android/build.gradle with
ext {
    buildToolsVersion = "27.0.3"
    minSdkVersion = 21
    compileSdkVersion = 26
    targetSdkVersion = 26
    supportLibVersion = "26.1.0"
}

subprojects { subproject ->
    afterEvaluate{
        if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
            android {
                compileSdkVersion rootProject.ext.compileSdkVersion
                buildToolsVersion rootProject.ext.buildToolsVersion
            }
        }
    }
}

But still it's throwing errors.


[skip ci] Fix CC-1354: go toolchain issue

[skip ci] Fix CC-1354: go toolchain issue

Will reopen without [skip-ci]


Fatal error: Class 'WordPress_Sniff' not found

I'm getting:

Which version of PHPCS are you using ?

@jrfnl I use PHP_CodeSniffer version 3.0.0RC4

@sandrodz WPCS does not yet support PHPCS 3. There is an issue open to add support for it. https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/718

@grappler I see, I use phpcs 3 branch because of --basepath=, going to close this.


Fix number of active cases for 22/08/2021

Number of Active Cases has been double-checked and in order


Service Bus deadlocks in Azure function

Package Name: azure-servicebus
Package Version: 7.1.0
Operating System: macOS 11.2.3
Python Version: 3.8.7

Describe the bug
When posting to a service bus queue running in an Azure function, a deadlock frequently occurs, particularly when using the debugger.
 However, it seems that they should be separate objects with separate locks, so it's not entirely clear what is happening here. The debugger is dead at this point, so I can't get any more info about which objects are which.
To Reproduce
Steps to reproduce the behavior:

Run code like the following:

    messages = [some long list of messages] #
    servicebus_client = ServiceBusClient.from_connection_string(
        conn_str="[Insert connection string]", logging_enable=False
    )

    with servicebus_client:
        sender = servicebus_client.get_queue_sender(queue_name="[queue name]")

        with sender:

            current_batch = ServiceBusMessageBatch(262144)
            for index, message in enumerate(messages):
                try:
                    current_batch.add_message(message)
                except MessageSizeExceededError:
                    sender.send_messages(current_batch)
                    current_batch = ServiceBusMessageBatch(262144)
                    current_batch.add_message(message)

            sender.send_messages(current_batch)

This will be enough to fail on it's own usually. But inserting breakpoints and then continuing when they've been hit seems to reduce the time it takes to hit it.
Expected behavior
The program will continue iterating until all messages are exhausted.
Additional context
I'm a Microsoft employee. I can provide the repo if you email me internally. My alias is dalemy.

@dalemyers thanks for your feedback, we'll investigate asap.

hey @dalemyers , ServiceBusSender is not thread-safe, are you using the same ServiceBusSender object across multiple threads?

No, it's all on the same thread. Code is literally identical to that I've shown above.

hey @dalemyers , I'm wondering would you mind giving the major repo steps here -- other users might also run into the same issue so our discussion could give them some value. (I'm also completely fine if you want me to start an email thread with you😉)
for confirmation, the issue only occurrs when the program ran in the azure function, right? -- would it happen when you ran the your program not inside an azure function?

The repro steps are fairly simple. Basically set up an Azure function (I think this is running on Python 3.9), and have a trigger (I've reproduced this with both a HTTP trigger and a service bus trigger (different queue and even different resource group)) that calls this code.
Running it outside of an Azure function appears to work just fine. I see two threads. One created by the library, and the main thread.

thanks for the instructions -- pretty straightforward! we'll try setting up the envs first and see if we could repro.

Hey, any update here? Is there any more info I can provide?

hey @dalemyers , thanks for checking.
I've tried the following simple azure function with http trigger on Windows but could not reproduce the issue (I also tried to add breakpoint when sending) -- I would find a mac to further test the issue.
I'm wondering:

Could you set the logging_enable=True when creating the service bus client and share the terminal output with me so that we know where the program hangs at.
Could you test my code which generates the messages locally and send to see if it would hang on your side -- I'm curious about how you get your list of messages.
Could you try using the aio (async) module?

------ my azure function and output on windows ------
import logging

import azure.functions as func
import os
from azure.servicebus import ServiceBusClient, ServiceBusMessage, ServiceBusMessageBatch
from azure.servicebus.exceptions import MessageSizeExceededError

CONNECTION_STR = os.environ['SERVICE_BUS_CONNECTION_STR']
QUEUE_NAME = os.environ["SERVICE_BUS_QUEUE_NAME"]

def main(req: func.HttpRequest) -> func.HttpResponse:
    logging.info('Python HTTP trigger function processed a request.')

    name = req.params.get('name')
    if not name:
        try:
            req_body = req.get_json()
        except ValueError:
            pass
        else:
            name = req_body.get('name')

    # service bus part
    servicebus_client = ServiceBusClient.from_connection_string(conn_str=CONNECTION_STR, logging_enable=True)
    with servicebus_client:
        sender = servicebus_client.get_queue_sender(queue_name=QUEUE_NAME)

        with sender:
            messages = []
            for i in range(10000):
                messages.append(ServiceBusMessage("test"))
            current_batch = ServiceBusMessageBatch(262144)
            for index, message in enumerate(messages):
                try:
                    current_batch.add_message(message)
                except MessageSizeExceededError:
                    sender.send_messages(current_batch)
                    logging.info('send batch {} messages succeed'.format(len(current_batch)))
                    current_batch = ServiceBusMessageBatch(262144)
                    current_batch.add_message(message)

            sender.send_messages(current_batch)
            logging.info('send last batch {} messages succeed'.format(len(current_batch)))

    if name:
        return func.HttpResponse(f"Hello, {name}. This HTTP triggered function executed successfully.")
    else:
        return func.HttpResponse(
             "This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response.",
             status_code=200
        )

and my output from the terminal is like this:
Functions:

        HttpTrigger1: [GET,POST] http://localhost:7071/api/HttpTrigger1

For detailed output, run func with --verbose flag.
[2021-04-15T15:15:26.394Z] Worker process started and initialized.
[2021-04-15T15:15:30.204Z] Host lock lease acquired by instance ID '000000000000000000000000300AB179'.
[2021-04-15T15:16:27.054Z] Executing 'Functions.HttpTrigger1' (Reason='This function was programmatically called via the host APIs.', Id=3192b59f-6b79-499a-8992-15b847ab56ec)
[2021-04-15T15:16:27.086Z] Python HTTP trigger function processed a request.
[2021-04-15T15:16:27.450Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.START: 0> to <ConnectionState.START: 0>
[2021-04-15T15:16:27.454Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.START: 0> to <ConnectionState.START: 0>
[2021-04-15T15:16:28.545Z] b'-> Header (AMQP <IP_ADDRESS>)'
[2021-04-15T15:16:28.548Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.START: 0> to <ConnectionState.HDR_SENT: 2>
[2021-04-15T15:16:28.797Z] b'<- Header (AMQP <IP_ADDRESS>)'
[2021-04-15T15:16:28.799Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.HDR_SENT: 2> to <ConnectionState.HDR_EXCH: 3>
[2021-04-15T15:16:28.802Z] b'-> [OPEN]* {SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0,t1sbtest.servicebus.windows.net,65536,65535,NULL,NULL,NULL,NULL,NULL,{[product:azsdk-python-servicebus],[version:7.1.1],[framework:Python/3.7.9],[platform:Windows-10-10.0.19041-SP0],[user-agent:azsdk-python-servicebus/7.1.1 Python/3.7.9 (Windows-10-10.0.19041-SP0)]}}'
[2021-04-15T15:16:28.803Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.HDR_EXCH: 3> to <ConnectionState.OPEN_SENT: 7>
[2021-04-15T15:16:29.052Z] b'<- [OPEN]* {dc2d6586c4654e6582c6299157c9a3e1_G0,NULL,65536,4999,240000,NULL,NULL,NULL,NULL,NULL}'
[2021-04-15T15:16:29.056Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.OPEN_SENT: 7> to <ConnectionState.OPENED: 9>
[2021-04-15T15:16:29.058Z] b'-> [BEGIN]* {NULL,0,65536,65536,4294967295}'
[2021-04-15T15:16:29.308Z] b'<- [BEGIN]* {0,1,5000,65536,255,NULL,NULL,NULL}'
[2021-04-15T15:16:29.313Z] b'-> [ATTACH]* {$cbs-sender,0,false,0,0,* {$cbs},* {$cbs},NULL,NULL,0,0}'
[2021-04-15T15:16:29.314Z] b'-> [ATTACH]* {$cbs-receiver,1,true,0,0,* {$cbs},* {$cbs},NULL,NULL,NULL,0}'
[2021-04-15T15:16:29.563Z] b'<- [ATTACH]* {$cbs-sender,0,true,0,0,* {$cbs,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},* {$cbs,NULL,NULL,NULL,NULL,NULL,NULL},NULL,NULL,NULL,18446744073709551615,NULL,NULL,NULL}'
[2021-04-15T15:16:29.567Z] b'<- [FLOW]* {0,5000,1,65536,0,0,100,0,NULL,false,NULL}'
[2021-04-15T15:16:29.569Z] b'Properties:* {0}Application properties:* {[name:sb://t1sbtest.servicebus.windows.net/testqueue],[operation:put-token],[type:servicebus.windows.net:sastoken]}Body - amqp value:* SharedAccessSignature sr=sb%3A%2F%2Ft1sbtest.servicebus.windows.net%2Ftestqueue&sig=H5USotk0TxnjZjWTYit6%2bsPyqpJsKZv8knkCOoW0M38%3d&se=1618503387&skn=RootManageSharedAccessKey-> [TRANSFER]* {0,0,<01 00 00 00>,0,false,false}'
[2021-04-15T15:16:29.815Z] b'<- [ATTACH]* {$cbs-receiver,1,false,0,0,* {$cbs,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},* {$cbs,NULL,NULL,NULL,NULL,NULL,NULL},NULL,NULL,0,18446744073709551615,NULL,NULL,NULL}'
[2021-04-15T15:16:29.820Z] b'-> [FLOW]* {1,65536,1,65535,1,0,10000}'
[2021-04-15T15:16:29.822Z] CBS for connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' completed opening with status: 1
[2021-04-15T15:16:30.006Z] b'<- [DISPOSITION]* {true,0,NULL,true,* {},NULL}'
[2021-04-15T15:16:30.257Z] b'<- [TRANSFER]* {1,0,<01 00 00 00>,0,NULL,false,NULL,NULL,NULL,NULL,false}'
[2021-04-15T15:16:30.262Z] Token put complete with result: 1, status: 202, description: b'Accepted', connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'
[2021-04-15T15:16:30.266Z] b'-> [DISPOSITION]* {true,0,0,true,* {}}'
[2021-04-15T15:16:30.320Z] Message sender b'sender-link-07ab67ff-7f93-42e7-88ad-b60a7ac6225f' state changed from <MessageSenderState.Idle: 1> to <MessageSenderState.Opening: 2> on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'
[2021-04-15T15:16:30.324Z] b'-> [ATTACH]* {sender-link-07ab67ff-7f93-42e7-88ad-b60a7ac6225f,2,false,0,1,* {SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0},* {amqps://t1sbtest.servicebus.windows.net/testqueue},NULL,NULL,0,1048576}'
[2021-04-15T15:16:30.829Z] b'<- [ATTACH]* {sender-link-07ab67ff-7f93-42e7-88ad-b60a7ac6225f,2,true,0,0,* {SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},* {amqps://t1sbtest.servicebus.windows.net/testqueue,NULL,NULL,NULL,NULL,NULL,NULL},NULL,NULL,NULL,262144,NULL,NULL,NULL}'
[2021-04-15T15:16:30.833Z] Message sender b'sender-link-07ab67ff-7f93-42e7-88ad-b60a7ac6225f' state changed from <MessageSenderState.Opening: 2> to <MessageSenderState.Open: 3> on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'
[2021-04-15T15:16:30.836Z] b'<- [FLOW]* {1,5000,2,65535,2,0,1000,0,NULL,false,NULL}'
[2021-04-15T15:16:34.521Z] b'-> [TRANSFER]* {2,1,<01 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:34.599Z] b'-> [TRANSFER]* {2,1,<01 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:34.647Z] b'-> [TRANSFER]* {2,1,<01 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:34.742Z] b'-> [TRANSFER]* {2,1,<01 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:34.821Z] b'-> [TRANSFER]* {2,1,<01 00 00 00>,2147563264,false,false}'
[2021-04-15T15:16:35.974Z] b'<- [DISPOSITION]* {true,1,NULL,true,* {},NULL}'
[2021-04-15T15:16:36.036Z] send batch 3799 messages succeed
[2021-04-15T15:16:37.158Z] b'-> [TRANSFER]* {2,2,<02 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:37.204Z] b'-> [TRANSFER]* {2,2,<02 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:37.207Z] b'-> [TRANSFER]* {2,2,<02 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:37.281Z] b'-> [TRANSFER]* {2,2,<02 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:37.301Z] b'-> [TRANSFER]* {2,2,<02 00 00 00>,2147563264,false,false}'
[2021-04-15T15:16:37.935Z] b'<- [DISPOSITION]* {true,2,NULL,true,* {},NULL}'
[2021-04-15T15:16:38.015Z] send batch 3799 messages succeed
[2021-04-15T15:16:38.303Z] b'-> [TRANSFER]* {2,3,<03 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:38.351Z] b'-> [TRANSFER]* {2,3,<03 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:38.399Z] b'-> [TRANSFER]* {2,3,<03 00 00 00>,2147563264,false,false}'
[2021-04-15T15:16:38.789Z] b'<- [DISPOSITION]* {true,3,NULL,true,* {},NULL}'
[2021-04-15T15:16:38.792Z] send last batch 2402 messages succeed
[2021-04-15T15:16:38.793Z] Message sender b'sender-link-07ab67ff-7f93-42e7-88ad-b60a7ac6225f' state changed from <MessageSenderState.Open: 3> to <MessageSenderState.Closing: 4> on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'
[2021-04-15T15:16:38.794Z] b'-> [DETACH]* {2,true}'
[2021-04-15T15:16:39.668Z] Shutting down connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'.
[2021-04-15T15:16:39.670Z] Shutting down CBS session on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'.
[2021-04-15T15:16:39.672Z] b'-> [DETACH]* {0,true}'
[2021-04-15T15:16:39.673Z] b'-> [DETACH]* {1,true}'
[2021-04-15T15:16:39.674Z] Auth closed, destroying session on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'.
[2021-04-15T15:16:39.675Z] b'-> [END]* {}'
[2021-04-15T15:16:39.676Z] Finished shutting down CBS session on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'.
[2021-04-15T15:16:39.676Z] b'-> [CLOSE]* {}'
[2021-04-15T15:16:39.677Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.OPENED:
9> to <ConnectionState.END: 13>
[2021-04-15T15:16:39.679Z] Connection shutdown complete b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'.
[2021-04-15T15:16:39.725Z] Executed 'Functions.HttpTrigger1' (Succeeded, Id=3192b59f-6b79-499a-8992-15b847ab56ec, Duration=12681ms)

hey @dalemyers , thanks for checking.
I've tried the following simple azure function with http trigger on Windows but could not reproduce the issue (I also tried to add breakpoint when sending) -- I would find a mac to further test the issue.
I'm wondering:

Could you set the logging_enable=True when creating the service bus client and share the terminal output with me so that we know where the program hangs at.
Could you test my code which generates the messages locally and send to see if it would hang on your side -- I'm curious about how you get your list of messages.
Could you try using the aio (async) module?

------ my azure function and output on windows ------
import logging

import azure.functions as func
import os
from azure.servicebus import ServiceBusClient, ServiceBusMessage, ServiceBusMessageBatch
from azure.servicebus.exceptions import MessageSizeExceededError

CONNECTION_STR = os.environ['SERVICE_BUS_CONNECTION_STR']
QUEUE_NAME = os.environ["SERVICE_BUS_QUEUE_NAME"]

def main(req: func.HttpRequest) -> func.HttpResponse:
    logging.info('Python HTTP trigger function processed a request.')

    name = req.params.get('name')
    if not name:
        try:
            req_body = req.get_json()
        except ValueError:
            pass
        else:
            name = req_body.get('name')

    # service bus part
    servicebus_client = ServiceBusClient.from_connection_string(conn_str=CONNECTION_STR, logging_enable=True)
    with servicebus_client:
        sender = servicebus_client.get_queue_sender(queue_name=QUEUE_NAME)

        with sender:
            messages = []
            for i in range(10000):
                messages.append(ServiceBusMessage("test"))
            current_batch = ServiceBusMessageBatch(262144)
            for index, message in enumerate(messages):
                try:
                    current_batch.add_message(message)
                except MessageSizeExceededError:
                    sender.send_messages(current_batch)
                    logging.info('send batch {} messages succeed'.format(len(current_batch)))
                    current_batch = ServiceBusMessageBatch(262144)
                    current_batch.add_message(message)

            sender.send_messages(current_batch)
            logging.info('send last batch {} messages succeed'.format(len(current_batch)))

    if name:
        return func.HttpResponse(f"Hello, {name}. This HTTP triggered function executed successfully.")
    else:
        return func.HttpResponse(
             "This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response.",
             status_code=200
        )

and my output from the terminal is like this:
Functions:

        HttpTrigger1: [GET,POST] http://localhost:7071/api/HttpTrigger1

For detailed output, run func with --verbose flag.
[2021-04-15T15:15:26.394Z] Worker process started and initialized.
[2021-04-15T15:15:30.204Z] Host lock lease acquired by instance ID '000000000000000000000000300AB179'.
[2021-04-15T15:16:27.054Z] Executing 'Functions.HttpTrigger1' (Reason='This function was programmatically called via the host APIs.', Id=3192b59f-6b79-499a-8992-15b847ab56ec)
[2021-04-15T15:16:27.086Z] Python HTTP trigger function processed a request.
[2021-04-15T15:16:27.450Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.START: 0> to <ConnectionState.START: 0>
[2021-04-15T15:16:27.454Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.START: 0> to <ConnectionState.START: 0>
[2021-04-15T15:16:28.545Z] b'-> Header (AMQP <IP_ADDRESS>)'
[2021-04-15T15:16:28.548Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.START: 0> to <ConnectionState.HDR_SENT: 2>
[2021-04-15T15:16:28.797Z] b'<- Header (AMQP <IP_ADDRESS>)'
[2021-04-15T15:16:28.799Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.HDR_SENT: 2> to <ConnectionState.HDR_EXCH: 3>
[2021-04-15T15:16:28.802Z] b'-> [OPEN]* {SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0,<sb>.servicebus.windows.net,65536,65535,NULL,NULL,NULL,NULL,NULL,{[product:azsdk-python-servicebus],[version:7.1.1],[framework:Python/3.7.9],[platform:Windows-10-10.0.19041-SP0],[user-agent:azsdk-python-servicebus/7.1.1 Python/3.7.9 (Windows-10-10.0.19041-SP0)]}}'
[2021-04-15T15:16:28.803Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.HDR_EXCH: 3> to <ConnectionState.OPEN_SENT: 7>
[2021-04-15T15:16:29.052Z] b'<- [OPEN]* {dc2d6586c4654e6582c6299157c9a3e1_G0,NULL,65536,4999,240000,NULL,NULL,NULL,NULL,NULL}'
[2021-04-15T15:16:29.056Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.OPEN_SENT: 7> to <ConnectionState.OPENED: 9>
[2021-04-15T15:16:29.058Z] b'-> [BEGIN]* {NULL,0,65536,65536,4294967295}'
[2021-04-15T15:16:29.308Z] b'<- [BEGIN]* {0,1,5000,65536,255,NULL,NULL,NULL}'
[2021-04-15T15:16:29.313Z] b'-> [ATTACH]* {$cbs-sender,0,false,0,0,* {$cbs},* {$cbs},NULL,NULL,0,0}'
[2021-04-15T15:16:29.314Z] b'-> [ATTACH]* {$cbs-receiver,1,true,0,0,* {$cbs},* {$cbs},NULL,NULL,NULL,0}'
[2021-04-15T15:16:29.563Z] b'<- [ATTACH]* {$cbs-sender,0,true,0,0,* {$cbs,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},* {$cbs,NULL,NULL,NULL,NULL,NULL,NULL},NULL,NULL,NULL,18446744073709551615,NULL,NULL,NULL}'
[2021-04-15T15:16:29.567Z] b'<- [FLOW]* {0,5000,1,65536,0,0,100,0,NULL,false,NULL}'
[2021-04-15T15:16:29.569Z] b'Properties:* {0}Application properties:* {[name:sb://<sb>.servicebus.windows.net/<queue>],[operation:put-token],[type:servicebus.windows.net:sastoken]}Body - amqp value:* <token>-> [TRANSFER]* {0,0,<01 00 00 00>,0,false,false}'
[2021-04-15T15:16:29.815Z] b'<- [ATTACH]* {$cbs-receiver,1,false,0,0,* {$cbs,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},* {$cbs,NULL,NULL,NULL,NULL,NULL,NULL},NULL,NULL,0,18446744073709551615,NULL,NULL,NULL}'
[2021-04-15T15:16:29.820Z] b'-> [FLOW]* {1,65536,1,65535,1,0,10000}'
[2021-04-15T15:16:29.822Z] CBS for connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' completed opening with status: 1
[2021-04-15T15:16:30.006Z] b'<- [DISPOSITION]* {true,0,NULL,true,* {},NULL}'
[2021-04-15T15:16:30.257Z] b'<- [TRANSFER]* {1,0,<01 00 00 00>,0,NULL,false,NULL,NULL,NULL,NULL,false}'
[2021-04-15T15:16:30.262Z] Token put complete with result: 1, status: 202, description: b'Accepted', connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'
[2021-04-15T15:16:30.266Z] b'-> [DISPOSITION]* {true,0,0,true,* {}}'
[2021-04-15T15:16:30.320Z] Message sender b'sender-link-07ab67ff-7f93-42e7-88ad-b60a7ac6225f' state changed from <MessageSenderState.Idle: 1> to <MessageSenderState.Opening: 2> on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'
[2021-04-15T15:16:30.324Z] b'-> [ATTACH]* {sender-link-07ab67ff-7f93-42e7-88ad-b60a7ac6225f,2,false,0,1,* {SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0},* {amqps://<sb>.servicebus.windows.net/<queue>},NULL,NULL,0,1048576}'
[2021-04-15T15:16:30.829Z] b'<- [ATTACH]* {sender-link-07ab67ff-7f93-42e7-88ad-b60a7ac6225f,2,true,0,0,* {SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL},* {amqps://<token>.servicebus.windows.net/<queue>,NULL,NULL,NULL,NULL,NULL,NULL},NULL,NULL,NULL,262144,NULL,NULL,NULL}'
[2021-04-15T15:16:30.833Z] Message sender b'sender-link-07ab67ff-7f93-42e7-88ad-b60a7ac6225f' state changed from <MessageSenderState.Opening: 2> to <MessageSenderState.Open: 3> on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'
[2021-04-15T15:16:30.836Z] b'<- [FLOW]* {1,5000,2,65535,2,0,1000,0,NULL,false,NULL}'
[2021-04-15T15:16:34.521Z] b'-> [TRANSFER]* {2,1,<01 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:34.599Z] b'-> [TRANSFER]* {2,1,<01 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:34.647Z] b'-> [TRANSFER]* {2,1,<01 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:34.742Z] b'-> [TRANSFER]* {2,1,<01 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:34.821Z] b'-> [TRANSFER]* {2,1,<01 00 00 00>,2147563264,false,false}'
[2021-04-15T15:16:35.974Z] b'<- [DISPOSITION]* {true,1,NULL,true,* {},NULL}'
[2021-04-15T15:16:36.036Z] send batch 3799 messages succeed
[2021-04-15T15:16:37.158Z] b'-> [TRANSFER]* {2,2,<02 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:37.204Z] b'-> [TRANSFER]* {2,2,<02 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:37.207Z] b'-> [TRANSFER]* {2,2,<02 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:37.281Z] b'-> [TRANSFER]* {2,2,<02 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:37.301Z] b'-> [TRANSFER]* {2,2,<02 00 00 00>,2147563264,false,false}'
[2021-04-15T15:16:37.935Z] b'<- [DISPOSITION]* {true,2,NULL,true,* {},NULL}'
[2021-04-15T15:16:38.015Z] send batch 3799 messages succeed
[2021-04-15T15:16:38.303Z] b'-> [TRANSFER]* {2,3,<03 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:38.351Z] b'-> [TRANSFER]* {2,3,<03 00 00 00>,2147563264,false,true}'
[2021-04-15T15:16:38.399Z] b'-> [TRANSFER]* {2,3,<03 00 00 00>,2147563264,false,false}'
[2021-04-15T15:16:38.789Z] b'<- [DISPOSITION]* {true,3,NULL,true,* {},NULL}'
[2021-04-15T15:16:38.792Z] send last batch 2402 messages succeed
[2021-04-15T15:16:38.793Z] Message sender b'sender-link-07ab67ff-7f93-42e7-88ad-b60a7ac6225f' state changed from <MessageSenderState.Open: 3> to <MessageSenderState.Closing: 4> on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'
[2021-04-15T15:16:38.794Z] b'-> [DETACH]* {2,true}'
[2021-04-15T15:16:39.668Z] Shutting down connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'.
[2021-04-15T15:16:39.670Z] Shutting down CBS session on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'.
[2021-04-15T15:16:39.672Z] b'-> [DETACH]* {0,true}'
[2021-04-15T15:16:39.673Z] b'-> [DETACH]* {1,true}'
[2021-04-15T15:16:39.674Z] Auth closed, destroying session on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'.
[2021-04-15T15:16:39.675Z] b'-> [END]* {}'
[2021-04-15T15:16:39.676Z] Finished shutting down CBS session on connection: b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'.
[2021-04-15T15:16:39.676Z] b'-> [CLOSE]* {}'
[2021-04-15T15:16:39.677Z] Connection b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0' state changed from <ConnectionState.OPENED:
9> to <ConnectionState.END: 13>
[2021-04-15T15:16:39.679Z] Connection shutdown complete b'SBSender-f37c8f8b-7351-4f8e-a0b5-29f272eb45a0'.
[2021-04-15T15:16:39.725Z] Executed 'Functions.HttpTrigger1' (Succeeded, Id=3192b59f-6b79-499a-8992-15b847ab56ec, Duration=12681ms)

You may need significantly more events. I don't usually see it until at least half way through. I have up to 30,000 messages, each one is at least a few hundred bytes, going up to ~100KB.

thanks for the extra info on outgoing message, I'll also try it out.

I haven't managed to make it repro this morning, but I have made a discovery. I thought we were seeing messages in the 100-200KB range. I was wrong. Some of them are 100-200MB! Well above the size limit for service bus. I'll need to look into handling these differently. I'll let you know if it still repros after I fix that issue.

@dalemyers how's your investigation going? also I'm wondering if the size of the message is 100-200MB, then the SDK would throwMessageSizeExceededError.

I’ve been testing for the last few days and have yet to see this issue. I
think we can say that it is resolved.
I did not however see that particular exception at any point.
On Tue, 20 Apr 2021 at 19:02, Adam Ling (MSFT) @.***>
wrote:

@dalemyers https://github.com/dalemyers how's your investigation going?
also I'm wondering if the size of the message is 100-200MB, then the SDK
would throwMessageSizeExceededError.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-sdk-for-python/issues/17827#issuecomment-823487589,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKMZCXE6GNVWJH3LBWOOSTTJW6TDANCNFSM42PBHJHA
.

one thing worth to note is that if you're sending a message of 100-200MB, then in the except handling part, current_batch might just be an empty batch (assuming it's the first message being added into the batch), and we will be sending empty batch out which is a no-op by design.
cool, since you have found the fix, I'm closing the issue now. feel free to reopen or reach out to me if you have any other questions.

We check for that too, but it hasn't come up.


Fix/notebooks

Fixing example notebooks

Merged into https://github.com/scverse/spatialdata-notebooks/pull/79, let's continue working there.


Add caching to custom_func javascript to boost perf (see benchmark results)

@liangxibing @wangjia007bond any more comments? I did a split on javascript into javascript and javascript_with_context after PR approval. The rationale is: given javascript perf is good (with caching) so we can now deprecate eval; for vast majority use scenarios of eval and javascript, the node JSON serialization isn't needed thus why not save some time/resources and only do _node context when schema author chooses javascript_with_context. I also thought about doing some string/AST parsing to determine if the script contains reference to _node or not and auto choose node JSON serialization. But then I decided it's a bit too much over-engineering, just let schema author to choose.


minor language error in Chapter 2, Tokenizers, sub-heading Character-based

The comment
"This approach isn’t perfect either. Since the representation is now based on characters rather than words, one could argue that, intuitively, it’s less meaningful: each character doesn’t mean a lot on its own, whereas that is the case with words. "
should likely read
"This approach isn’t perfect either. Since the representation is now based on characters rather than words, one could argue that, intuitively, it’s less meaningful: each character doesn’t mean a lot on its own, whereas that is not the case with words. "
I am assuming the implication when saying " whereas that is the case with words." is that each word means a lot on it's own. However, when put in the context of the prior (negative) assertion "each character doesn’t mean a lot on its own", it seems the appropriate follow up ought to be that it is not the case with words (that "each character doesn’t mean a lot on its own")

Having reread the para in questions, and paying more attention to the : after meaningful, the two parts
each character doesn’t mean a lot on its own,
and,
whereas that is the case with words.
make sense as intended.


da qualche parte il cleanup dei file_sources sminchia tutto

investigare perche la pulizia dei file_sources ogni tanto spascia tutto a caso

@andrew-ld Top quality issue

@andrew-ld Top quality issue

The bug seems to be related to issue 1362 in the official repository

The bug seems to be related to issue 1362 in the official repository

fixed in https://github.com/tdlight-team/tdlight/commit/e0bcdab68ffb20eb43e628a29502558db47a6c97

fixed in https://github.com/tdlight-team/tdlight/commit/e0bcdab68ffb20eb43e628a29502558db47a6c97


Error edditing games

it says this for every game I try and load: Error Failed to start SAM.Game.exe. so I have no idea what is wrong or if I just didn't do it right or what someone help

You may need to right-click SAM.Game.exe in Explorer and open Properties, then Unblock it from there. If that doesn't help, your anti-virus may be stopping it from running.
If you try to run SAM.Game.exe directly, what happens?

I can open the program itself but when I pick a game it says it cant open the game (I made a video of it but I don't know how to get it on here)

I'm trying to reset my achievements on human fall flat so I can record a how to get this achievement sort of thing for my yt

There are two executables. Please don't try to run it from the ZIP. Extract it to a folder somewhere first.

moved to its own folder I think its my antivirus if you don't mind me asking why does all of my antivirus say that this is a bad file? will try to look into stoping the antivirus

just opened the file where I moved it to and for once antivirus did not try to stop me I now have four parts in their own file: git-log.txt, LICENSE.txt, SAM.API.dll, and SAM.Picker.exe    when I run the last one it opens without antivirus stopping it but it still has the error from the beginning

Please do as I suggested before:
You may need to right-click SAM.Game.exe in Explorer and open Properties, then Unblock it from there. If that doesn't help, your anti-virus may be stopping it from running.

I just had this same issue. I was able to fix it by changing the install location of SAM to be on my C: drive (which is the drive my OS is on, and the drive Steam is installed on). When I was getting the error, SAM was running from a secondary drive.


Update the installation instructions

[x] Update the installation instructions

This is in preparation of #50, where everything has to be compatible with conda-forge, otherwise bad things are happening.

@stefdoerr @PhilippThoelke could you check?

Does installing pytorch just from the environment yaml file work? The official installation instructions are more complex than that: https://pytorch.org/get-started/locally/
Before we referenced this in the readme.

Does installing pytorch just from the environment yaml file work?

Yes, I use the same environment file for the CI.

The official installation instructions are more complex than that: https://pytorch.org/get-started/locally/

The official packages are not compatible with conda-forge.


Accept special character in yaml key

Accepts special characters in YAML key names.
Remark:
In the current state, a key like agents[0] will always be considered as a position in the array 'agents' instead of a key named 'agents[0]'.
Signed-off-by: Olivier Vernin<EMAIL_ADDRESS>

Ha I was just about to create an issue 😅
This case is not working for me:
source:
  kind: githubRelease
  spec:
    owner: "argoproj"
    repository: "argo-cd"
    token: "{{ requiredEnv .github.token }}"
    username: "{{ .github.username }}"
    version: "latest"
targets:
  argocd:
    name: argo-cd
    kind: yaml
    prefix: 'https://github.com/argoproj/argo-cd/manifests/cluster-install?ref='
    spec:
      prefix: 'https://github.com/argoproj/argo-cd/manifests/cluster-install?ref='
      file: "apps/argocd/kustomization.yaml"
      key: "bases[0]"
    scm:
      github:
        user: "{{ .github.user }}"
        email: "{{ .github.email }}"
        owner: "{{ .github.owner }}"
        repository: "{{ .github.repository }}"
        token: "{{ requiredEnv .github.token }}"
        username: "{{ .github.username }}"
        branch: "{{ .github.branch }}"

Ha I was just about to create an issue sweat_smile
This case is not working for me:
source:
  kind: githubRelease
  spec:
    owner: "argoproj"
    repository: "argo-cd"
    token: "{{ requiredEnv .github.token }}"
    username: "{{ .github.username }}"
    version: "latest"
targets:
  argocd:
    name: argo-cd
    kind: yaml
    prefix: 'https://github.com/argoproj/argo-cd/manifests/cluster-install?ref='
    spec:
      prefix: 'https://github.com/argoproj/argo-cd/manifests/cluster-install?ref='
      file: "apps/argocd/kustomization.yaml"
      key: "bases[0]"
    scm:
      github:
        user: "{{ .github.user }}"
        email: "{{ .github.email }}"
        owner: "{{ .github.owner }}"
        repository: "{{ .github.repository }}"
        token: "{{ requiredEnv .github.token }}"
        username: "{{ .github.username }}"
        branch: "{{ .github.branch }}"

Your case is definitely a bug as it should already be working. At least I am using similar configuration.
The current PR is to automate key value that looks like this ''


Common design patterns

I think it would be nice to have a section about common design patterns in the documentation. A few patterns that have come to my mind and which I'd like to discuss/verify in the process are:

Testable design of models, especially for models that require access to other parts of the tree using findParent etc.
References across arbitrary tree branches using a "registry" (similar to MST's IdentifierCache) at the root of the tree
Backreferences that give a referenced object access to its referencers/consumers
Polymorphic collections and abstract base classes/models (e.g. adding a symbol to the base class when instanceof is not possible because the base class is created in a factory)
...

@xaviergonz What do you think?

Sounds great :D Is there any you'd like to discuss first in particular?

I actually have all these issues at the moment. :-D I'll just pick one to start with if that's okay for you.
Should we discuss each design pattern in its own issue to keep the different discussions separate?

Yeah, better keep them separated

Closing since separate issues have been created


etcd snapshots backup to S3 storage

Hi, this is an initial implementation to support snapshots to S3 storage.
Done by passing simply the needed args to config.yaml.
What do you think?

The only missing bit would be the docs about the process to restore the cluster.

@otavio @ifeulner We can just link to https://docs.k3s.io/backup-restore.

@ifeulner FYI I added the above link in kube.tf.example.


Request to update kernel config to enable Kubernetes support

Hello!
I've installed the relevant packages to test the ROCK64 as master for a new cluster and found that the kernel config would require some flags to allow proper init of the master node.
By using:
curl -L https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh | CONFIG=/path/to/.config /bin/bash
I could see what is missing:
CONFIG_POSIX_MQUEUE: missing
CONFIG_MEMCG_SWAP_ENABLED: missing
CONFIG_BLK_DEV_THROTTLING: missing
CONFIG_CFQ_GROUP_IOSCHED: missing
CONFIG_CGROUP_HUGETLB: missing
CONFIG_NET_CLS_CGROUP: missing
CONFIG_CGROUP_NET_PRIO: missing
CONFIG_RT_GROUP_SCHED: missing
CONFIG_IP_VS_NFCT: missing
CONFIG_IP_VS_RR: missing
CONFIG_AUFS_FS: missing
/dev/zfs: missing
CONFIG_POSIX_MQUEUE is the only that is really needed/necessary - the others are optional (depending on what you will use later).
Would it be possible to add them to the standard config?

Yes. Please prepare a kernel config change.
On Sun, Sep 3, 2017 at 9:28 PM, tslpre<EMAIL_ADDRESS>wrote:

Hello!
I've installed the relevant packages to test the ROCK64 as master for a
new cluster and found that the kernel config would require some flags to
allow proper init of the master node.
By using:
curl -L https://raw.githubusercontent.com/docker/docker/master/
contrib/check-config.sh | CONFIG=/path/to/.config /bin/bash
I could see what is missing:
CONFIG_POSIX_MQUEUE: missing
CONFIG_MEMCG_SWAP_ENABLED: missing
CONFIG_BLK_DEV_THROTTLING: missing
CONFIG_CFQ_GROUP_IOSCHED: missing
CONFIG_CGROUP_HUGETLB: missing
CONFIG_NET_CLS_CGROUP: missing
CONFIG_CGROUP_NET_PRIO: missing
CONFIG_RT_GROUP_SCHED: missing
CONFIG_IP_VS_NFCT: missing
CONFIG_IP_VS_RR: missing
CONFIG_AUFS_FS: missing
/dev/zfs: missing
CONFIG_POSIX_MQUEUE is the only that is really needed/necessary - the
others are optional (depending on what you will use later).
Would it be possible to add them to the standard config?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ayufan-rock64/linux-build/issues/32, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACTpQd9ed3L_C-2sm9CqMgKsTvXbxxBbks5sev3ogaJpZM4PLR1V
.

Excellent - I've updated ../arch/arm64/configs/rockchip_linux_defconfig on my machine and will test it soon before sharing.
Just to confirm, Is that the right defconfig to target or I should prefer another one?

Yes
On Fri, 8 Sep 2017 at 09:12, tslpre<EMAIL_ADDRESS>wrote:

Excellent - I've updated ../arch/arm64/configs/rockchip_linux_defconfig on
my machine and will test it soon before sharing.
Just to confirm, Is that the right defconfig to target or I should prefer
another one?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ayufan-rock64/linux-build/issues/32#issuecomment-328020051,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACTpQUaXyPBnjiu2mMLvNs0GjmXXDWo2ks5sgOjIgaJpZM4PLR1V
.

Tested succesfully on my ROCK64 - Kubernetes now works fine.
Made a PR in ayufan-rock64/linux-kernel:
(https://github.com/ayufan-rock64/linux-kernel/pull/14)

This is done.


Fixes #3209 - fixes misplacement of dot in validation messages.

Fixes an issue of point misplacement as described in #3209

Thanks!
Small improvement suggestions - otherwise fine.

@aquamatthias your suggestions made it into a new commit. Tests are good, looking forward to merging.

Thanks! :+1:


Naming addresses - file storage

All files should allow themselves to be named and the command lines should allow for named addresses instead of just public keys. Also--the configuration files, .bin files, and abis should be consolidated so they are easy to find. Right now each item is in its own separate folder.

Moved to https://github.com/Great-Hill-Corporation/quickBlocks/issues/84


Error: undefined method get_page_objects

Hi, I get such error whenever I try the next instruction in Linux:

$ asciidoctor-pdf -n -a pdf-stylesdir=resources/themes some_doc.adoc -osome_output.pdf

I've been using this program for years with the same kind of documents and this is the first time I get it. The Debian maintaner also gets it: https://github.com/prawnpdf/pdf-core/issues/46
If I remove the "-a pdf-stylesdir=resources/themes" option it works, but that's is something I need.
If I use the "--trace" option I get this:

Traceback (most recent call last):
12: from /usr/bin/asciidoctor-pdf:31:in <main>' 	11: from /usr/lib/ruby/vendor_ruby/asciidoctor/cli/invoker.rb:111:in invoke!'
10: from /usr/lib/ruby/vendor_ruby/asciidoctor/cli/invoker.rb:111:in each' 	 9: from /usr/lib/ruby/vendor_ruby/asciidoctor/cli/invoker.rb:128:in block in invoke!'
8: from /usr/lib/ruby/vendor_ruby/asciidoctor/convert.rb:183:in convert_file' 	 7: from /usr/lib/ruby/vendor_ruby/asciidoctor/convert.rb:183:in open'
6: from /usr/lib/ruby/vendor_ruby/asciidoctor/convert.rb:183:in block in convert_file' 	 5: from /usr/lib/ruby/vendor_ruby/asciidoctor/convert.rb:118:in convert'
4: from /usr/lib/ruby/vendor_ruby/asciidoctor/document.rb:951:in convert' 	 3: from /usr/lib/ruby/vendor_ruby/asciidoctor-pdf/converter.rb:118:in convert'
2: from /usr/lib/ruby/vendor_ruby/asciidoctor-pdf/converter.rb:211:in convert_document' 	 1: from /usr/lib/ruby/vendor_ruby/asciidoctor-pdf/prawn_ext/extensions.rb:682:in delete_page'
/usr/lib/ruby/vendor_ruby/pdf/core/object_store.rb:96:in object_id_for_page': undefined method get_page_objects' for #PDF::Core::ObjectStore:0x00005649034e1b08 (NoMethodError)

This is the version I'm using under Linux Mint Cinnamon 20:

Asciidoctor PDF 1.5.0.alpha.17.dev using Asciidoctor 2.0.10 [https://asciidoctor.org]
Runtime Environment (ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

Greetings!

Asciidoctor PDF 1.5.0.alpha.17.dev

This is an unsupported version of Asciidoctor PDF. (It was released 2019). Please use one of the stable releases, ideally 1.6.0.
It's likely that a function that the alpha used is no longer available in the version of prawn/pdf-core that gets installed. But given this happens in an alpha release, and an outdated one at that, it will not be addressed.

I have a simple test case which produces this error.
make a file test.adoc with these contents:

=== TEST
<<<

Then use asciidoctor-pdf:
asciidoctor-pdf test.adoc
Produces the error:
undefined method `get_page_objects' for #PDF::Core::ObjectStore:0x000055a7e93da068

Can you please test using the main branch? See https://github.com/asciidoctor/asciidoctor-pdf/blob/main/CONTRIBUTING-CODE.adoc#development

I tried the test case and I cannot reproduce it. I still need more information.

I can confirm that it works with the main branch. Thanks =)

Thanks for verifying!

This error reappeared in the current Debian version of asciidoctor-pdf.
Asciidoctor 2.0.12 [https://asciidoctor.org]
Runtime Environment (ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux-gnu]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

The test file mentioned above leads to the error.

If you look above, you'll see that the fix is only in the main branch. So the error is not reappearing, the fix has not yet been available in a release. If someone wants to backport the fix to 1.6.x, then I will accept it and make a new version of 1.6 available.

The method get_page_objects is only provided by prawn-templates, even though it is called by pdf-core. It appears that either Debian is not packaging prawn-templates as a dependency of asciidoctor-pdf, or the version that is packaged does not provide this method. asciidoctor-pdf depends on prawn-templates ~> 0.1.0, so that must be available to use asciidoctor-pdf. Our test suite verifies this.

This circular dependency entanglement was reported through the following issue in pdf-core: https://github.com/prawnpdf/pdf-core/issues/46

I can confirm from this page that the asciidoctor-pdf deb is missing the prawn-templates dependency.
https://packages.debian.org/bookworm/ruby-asciidoctor-pdf
That also means that it is not possible to import PDF pages using the block image macro. This problem is outside the scope of this project.

After manually installing the prawn-templates
$ sudo gem install prawn-templates
Fetching prawn-templates-0.1.2.gem
Fetching ttfunk-1.7.0.gem
Successfully installed ttfunk-1.7.0
Successfully installed prawn-templates-0.1.2
Parsing documentation for ttfunk-1.7.0
Installing ri documentation for ttfunk-1.7.0
Parsing documentation for prawn-templates-0.1.2
Installing ri documentation for prawn-templates-0.1.2
Done installing documentation for ttfunk, prawn-templates after 0 seconds
2 gems installed

trying to convert the test file still exits with the error
$ asciidoctor-pdf ~/tmp/test.adoc
undefined method `get_page_objects' for #<PDF::Core::ObjectStore:0x0000556ec02fc9a0>
  Use --trace for backtrace

Since I have no clue how to work with Ruby: Do I have to provide additional actions to fix this error?

I don't recommend using sudo to install gems. That never ends well. If you can't use the Debian package, then the best approach is to install Asciidoctor PDF in user space following to advice on https://docs.asciidoctor.org/asciidoctor/latest/install/ruby-packaging/.
There's nothing I can do about the Debian package. But it would appear that the patch in the linked issue is no longer being applied. If you want to try to fix the Debian package, I would start by looking there.
Please direct follow-up questions to the project chat at https://chat.asciidoctor.org where you will be able to get support from fellow community members.

For anyone coming across this, I think this is fixed in upstream prawn pdfcore by implementing a fallback for this method when prawn-templates is not installed: https://github.com/prawnpdf/pdf-core/issues/46
That was merged last February, but it seems it is not included in the current release (ruby-pdf-core 0.9.0 from 2020) yet.

You're correct. prawn-templates is a required dependency of asciidoctor-pdf, in part because it provides this method. (It also allows PDF pages to be imported using the block image macro). If the dependency is missing, then the method needs to be provided by pdf-core. The method used to be provided by pdf-core, then it was removed, then it was restored. However, as you pointed out, pdf-core hasn't been released since it was added back in.
For distributions packaging Asciidoctor PDF, they will need to apply this patch until pdf-core is released or package prawn-templates as a dependency of Asciidoctor PDF.
If there's any change you still require in Asciidoctor PDF after that, please open a new issue and we'll address it. Thanks!

It still seems broken -- prawn-templates replaces a file from prawn (prawn/document/internals.rb). That doesn't seem right to me.

It is right. prawn-templates extends Prawn, adding additional functionality in whatever way is has to. Many prawn extensions override internals. That's just how this ecosystem is structured. These are not strict boundaries. And without prawn-templates, users will get an error when trying to convert a document that uses a PDF as the target of a block image. So prawn-templates is a hard dependency of Asciidoctor PDF as it currently stands.

I'd expect this overriding to be supported by some language mechanism that didn't require you to replace files delivered by one package with files delivered by another -- to make this work in Debian, I'd need to do significant work on the prawn package so that this file could be overridden -- I must support being able to install and then de-install prawn-templates without affecting any other packages.

Monkeypatching (which is what it's called) is used all over Ruby. This is well within the normal mechanism of packages. We even do it in Asciidoctor PDF, a lot. It's not replacing the file itself, just the definition of the class. I don't see why any rework would be necessary...unless you're changing the package rules for hundreds of other gems.
If you want to discuss this further, please raise a question in the #asciidoctor-pdf stream of the project chat at https://chat.asciidoctor.org.

Thanks, I've moved the discussion over there. Would love help getting this sorted out.

1.5 years after this discussion, I'm hitting the same problem. 🤷♂
What is the current solution, please?
This is what I'm using:
Ubuntu 22.04 LTS
Asciidoctor PDF 1.6.2 using Asciidoctor 2.0.16
Runtime Environment (ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu])

I install the tools like this:
sudo apt-get update
sudo apt-get install -y imagemagick graphicsmagick asciidoctor ruby pandoc ruby-rouge ruby-asciidoctor-pdf

Should I install the tools differently?
This is happening in a Github action so I can potentially change the OS image if that helps...

You'll get help quicker asking on the community Chat.
Similarly, see this thread.

1.5 years after this discussion

And 1.5 years since the problem was solved. The problem is that you're using an outdated packaged version of Asciidoctor PDF that's no longer compatible with other installed gems on the version of Ubuntu you're using.
The recommended way to install Asciidoctor PDF is to get it from rubygems.org directly. That means either using gem install or bundle with a Gemfile.
Here are the workflow steps you can use in GitHub Actions to install it using gem install:
    - name: Install Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: '3.2'
        bundler-cache: false
    - name: Install Gems
      run: gem install asciidoctor-pdf
    - name: Run Application
      run: asciidoctor-pdf -v

To use Bundler instead, first create and commit a Gemfile:
source 'https://rubygems.org'

gem 'asciidoctor-pdf'

Then you can use these workflow steps:
    - name: Install Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: '3.2'
        bundler-cache: true # setup-ruby will install the gems listed in Gemfile
    - name: Run Application
      run: bundle exec asciidoctor-pdf -v

Notice when using Bundler, you usually have to prefix the command with bundle exec.
As wmat mentioned, please direct questions to the chat in the future. Since this is solved and there is no reason to keep discussing it here, I'm locking this issue to remind people.


Impossible to resize elements in Editor - console reports Edit CanvasItem

I have difficulties to reproduce, but when working with GraphNodes, at a certain moment it is impossible to edit any element of the scene.
A left mouse click anywhere (even in the void) in the 2D editor has no effect on selection/deselection. Output shows only "Edit CanvasItem" when clicking anywhere.
However, moving the last selected element is possible.
Handles at every corner and side of the element are not shown.
Modifying properties of elements work if they are selected from the Scene Tree.

I guess you pressed 'w' key at some point.
You can only move last selected element on the scene with Move mode.
You can change to Selection mode with 'q' key.
Watch carefully toolbar when this happen.

Archiving as per the above comment that seems to point out it would be a pebkac ;) Feel free to reopen though if the "inadvertent Move mode selection" is not the correct explanation.