text:
大师兄，离屏渲染视频，如果视频15秒，就得渲染15s怎么样才能不依赖时间

大师兄，离屏渲染视频，如果视频15秒，就得渲染15s怎么样才能不依赖时间

本来就没有依赖时间啊， 渲染得久只是因为这一块代码很粗糙， 运行很慢~ 你需要自己优化一下

原来哈，大师兄有稍微提下优化思路吗，还有 视频画面区域裁剪

cgeVideoUtils.cpp 那个文件上面有个开启 GPU加速的宏， 写成1能加快一些
但是分辨率需要是8的整数倍， 否则可能出现一些绿边问题， 其他issue里面出现过， 所以默认把这个功能关了的， 如果你觉得你的视频分辨率是满足8的倍数的， 就可以直接开启。

明白，大师兄画面裁剪区域呢

自己设一下fbo大小和viewport就搞定的， 自己加一下吧

ok 这个 能搞定， 媒体输出的是不是要需要设置下分辨率， 大师兄 谢谢哈，一会捐献红包

我看你 好像处理了，如果不是8的倍数，分辨率输出就设置8的倍数
//The video height must be mutiple of 8 when using the gpu encoding.
if(videoHeight % 8 != 0)
{
videoHeight = (videoHeight & ~0x7u) + 8;
}

嗯， 你先试试吧

好

repo: wysaid/android-gpuimage-plus


text:
Could you provide the visualization code of the affinity map in Fig. 4?

Hi! Thanks for your great work!
Could you provide the visualization code of the affinity map in Fig. 4?
Thanks again.

Hi! Thanks for your interest! You can use the code below to get the affinity map from Fig. 4:
On the loaded model, you can run (you can find how to load the model in demo.ipynb):
`
img = Image.open(file_path).convert('RGB')
img_tens = T.PILToTensor()(img).unsqueeze(0).to(device) / 255.
with torch.no_grad():
_, corrs_out, clip_proj_feats = model.forward_pass(img_tens)
fig, ax = plt.subplots(1, 3)
seed_id = 50 # you can change the feature seed here
corrs_vis = corrs_out.clone()
col = ax[0].imshow(corrs_vis[0][seed_id].cpu())
ax[0].set_title('CLIP-DINOiser predicted corrs')
fig.colorbar(col)
dino_corrs = model.get_dino_corrs(img_tens)
col1 = ax[1].imshow(dino_corrs[0][seed_id].cpu())
ax[1].set_title('DINO corrs')
fig.colorbar(col1)
clip_proj_feats_norm = clip_proj_feats/clip_proj_feats.norm(dim=1)
clip_proj_feats_norm = clip_proj_feats_norm.flatten(-2, -1)
clip_corrs = torch.matmul(clip_proj_feats_norm.permute(0, 2, 1), clip_proj_feats_norm[0]).reshape(1, -1, 28, 28)
col2 = ax[2].imshow(clip_corrs[0][seed_id].cpu())
ax[2].set_title('MaskCLIP corrs')
fig.colorbar(col2)
`
Let me know if it works for you!

Thanks a lot! Besides, may I ask how do you plot the actual seed(the red point in Fig. 4) on the affinity_map?
Thanks again.

Sure! I usually use the following:
plt.scatter(x=seed_id % wf, y=seed_id // wf  , c='red',marker='s', s=120)
In the above code snippet, it should work as:
ax[0].scatter(x=seed_id % wf, y=seed_id // wf  , c='red',marker='s', s=120)

Thanks! Appreciate to your work!

source: gharchive/issue

authors: SuleBai wysoczanska

license_type: permissive

license_source: github-api


text:
[BUG]v2board+v2bx修改版，连上节点打不开网页

🙇♂🙇♂🙇♂注意：XrayR等非V2Board问题请前往项目方提问
🙇♂🙇♂🙇♂Note: XrayR and other non-V2Board issues please go to the project side to ask questions
The V2Board version number you are using
当前使用的V2Board版本号
最新 新部署的
Briefly describe the problem you are experiencing
简单描述你遇到的问题
连接上节点打不开网页，浏览器提示ERR_CONNECTION_CLOSED
用的是Vless协议，节点用v2bx和xrayr都测试了，都不能打开网站，节点上日志也没有报错

Screenshot of the reported error(Please do desensitization)
报告错误的截图（请做脱敏处理）
v2rayn客户端
2024/11/01 15:34:48 [Warning] [637400002] proxy/http: failed to read response from www.xxxxx.com > io: read/write on closed pipe
2024/11/01 15:34:48 [Warning] [524977109] proxy/http: failed to read response from www.xxxxx.com > io: read/write on closed pipe
2024/11/01 15:34:49 [Warning] [1343193091] proxy/http: failed to read response from www.xxxxx.com > io: read/write on closed pipe
2024/11/01 15:34:49 [Warning] [2520737316] proxy/http: failed to read response from www.xxxxx.com > io: read/write on closed pipe
Screenshot of the reported error(Please do desensitization)
报告错误的截图（请做脱敏处理）
其他网址报错

谷歌报错503

The latest log files in the storage/logs directory report from #1 (Please do desensitization)
storage/logs 目录下最新的日志文件从 #1 开始报告（请做脱敏处理）
节点日志

面板日志

大无语，相同的网络环境，导到手机的v2rayng就可以，电脑就死活不行。我还有一台装的x-ui，这个手机电脑都可以，用的vless+tls+ws

换个目标网址试试

@lph66152137 这种好像是自己问题吧

换个目标网址试试

刚试了，换了还是不行。。。大佬能帮看看么，电脑连上，v2board的节点管理里的节点人数不会变，手机连上就有人数显示了。不知道是哪里的问题。

@lph66152137 找点日志看看呗

还有个问题 ，测试epay已完成支付，订单状态仍然显示待支付，点击结账跳转到epay提示已支付。

@lph66152137 支付问题不负责解答

@lph66152137 支付问题不负责解答

好吧。。上面那个电脑端连接是哪里的问题呢

v2rayN的版本可能太旧了

v2rayN的版本可能太旧了

果然是客户端问题。。。谢谢大佬

license: MIT


text:
[BUG]关于webman的配置

🙇♂🙇♂🙇♂注意：XrayR等非V2Board问题请前往项目方提问
🙇♂🙇♂🙇♂Note: XrayR and other non-V2Board issues please go to the project side to ask questions
The V2Board version number you are using
当前使用的V2Board版本号
1.7.4
Briefly describe the problem you are experiencing
简单描述你遇到的问题
升级至最新版本(webman)之后，admin后台报错，显示请求失败
初步推测是缺失某些文件以及某些权限异常，无法判定admin是否登录
我的升级步骤是
卸载原有的php插件 卸载php 安装8.1 安装插件 网站内选择切换至8.1
修改伪静态， 升级面板
用户端无报错 开启webman无报错
伪静态规则
location /downloads {
}
location / {
# try_files $uri $uri/ /index.php$is_args$query_string;
proxy_pass http://127.0.0.1:6600;
}
location ~ .*.(js|css)?$
{
expires      1h;
error_log off;
access_log /dev/null;
}
Screenshot of the reported error(Please do desensitization)
报告错误的截图（请做脱敏处理）

Screenshot of the reported error(Please do desensitization)
报告错误的截图（请做脱敏处理）

The latest log files in the storage/logs directory report from #1 (Please do desensitization)
storage/logs 目录下最新的日志文件从 #1 开始报告（请做脱敏处理）

宝塔使用时php没有正确加载redis扩展，通用的解决方法在研究。可以自己在cli-php.ini加入以下
extension=/php模块目录/redis.so
另外你的nginx反代也要改改，不然静态资源用不了

location /downloads {
}
location / {
try_files $uri $uri/ @backend
}
location @backend {
proxy_pass http://127.0.0.1:6600;
}
location ~ .*.(js|css)?$
{
expires 1h;
error_log off;
access_log /dev/null;
}

;

@Sugerland kk

我直接照抄了
location /downloads {
}
location / {
try_files $uri $uri/ @backend;
}
location @backend {
proxy_pass http://127.0.0.1:6600;
}
location ~ .*.(js|css)?$
{
expires 1h;
error_log off;
access_log /dev/null;
}
也检查了一下
extension=/php模块目录/redis.so

依然出现报错
而且发现另外一个bug
用户导入订阅时的地址变成了
http://127.0.0.1:6000/xxxx

@Sugerland 不是检查了一下，是要写进cli-php.ini

我发现有两个cli-php.ini文件
一个在网站目录 一个在comporse目录
我都添加了redis.so
后台不访问不报错，但是无法正常保存设置
一保存就显示请求失败

GET https://xxx/assets/admin/custom.css?v=1.7.5.2685 net::ERR_ABORTED 404 (Not Found)
真的有这个custom.css?v=1.7.5.2685 文件吗

@Sugerland 你说的话看不懂...

@backend; 这个是什么 有点没理解 写一模一样的》？

GET https://xxx/assets/admin/custom.css?v=1.7.5.2685 net::ERR_ABORTED 404 (Not Found)
真的有这个custom.css?v=1.7.5.2685 文件吗

这个是给你自定义css用的
没有也不影响

@backend; 这个是什么 有点没理解 写一模一样的》？

这个你看不懂就照着写

改完了 也重启了webman  前端卡登录 后端404  这个太难整了 5555

我后面换个宝塔环境再出配套说明吧
现在这样太费劲了

谢谢  期待教程 webman 以前没接触过 搞了我两天了 我还是没弄好

https://github.com/vlesstop/xiaoV2b/blob/main/README.md

authors: Sugerland ZHQSM wyx2685


text:
how to deploy the model in the close-loop sim environment?

Hi, May I ask how to deploy the model in the close-loop sim environment?  Especially how to input target points into the model to guide the ego car? Looking forwards for ur reply!

Hi, May I ask how to deploy the model in the close-loop sim environment? Especially how to input target points into the model to guide the ego car? Looking forwards for ur reply!

The version for closed-loop will be available in our future work. Thank you for your patience.

Detailed reference as https://github.com/XiandaGuo/GenADv2

authors: HaoyuanXu songruiqi

repo: wzzheng/GenAD


text:
Missing support for const annotation

JSON Schema that OpenAPI is based on, supports a special const keyword to denote values that is similar to minimum or maximum but denotes that a type can hold only one value. https://json-schema.org/understanding-json-schema/reference/const
Right now those keywords seem to be silently ignored (which seems like a separate problem - shouldn't it report some error or diagnostics about unsupported keywords?).

made the code change but i'm apprehensive to make a breaking release with just this change in it, would you be okay just using enum: [value] for now ?

Hm I could, yeah, but why would this be a breaking release? It seems strictly append-only?

Adding pub fields to pub structs is breaking, since manual constructions won't have these fields.

Ugh that's true. Maybe for the future worth adding a private _prevent_construction: (), field to prevent manual construction, so that you could make further additions without having to worry about breaking releases?
That way users will still have direct access to all the fields, but will have to go via Schema::default() + manual field initializers for construction.

The canonical way to do so is the #[non_exhaustive] attibute.
I've avoided it just because these structures should be complete and relateively stable. Tell you what I'll have a scan through the JSON Schema Validation spec and see if there's anything else missing, then cut a release.

The canonical way to do so is the #[non_exhaustive] attibute.

That one only covers pattern matching, but doesn't protect from construction.

Tell you what I'll have a scan through the JSON Schema Validation spec and see if there's anything else missing, then cut a release.

SGTM. As I said above, I think it might be useful to return an error on any unexpected fields except vendor extensions (which all must be under x- prefix anyway). That would help catch new unsupported features quicker than silently skipping over them.

It does protect from construction. See the reference.

return an error on any unexpected fields

This isn't something I want to do with the structures in this crate.

It does protect from construction. See the reference.

Ah I guess I always tried it only within the same crate. Fair enough.

This isn't something I want to do with the structures in this crate; it turns the dial too far in the other direction for my taste.

Hm but if the entire JSON Schema should be already implemented, then it shouldn't cause issues, right?
Alternatively, if you're strictly opposed to making it an error, how about collecting any unknown fields into a BTreeMap<String, serde_yaml::Value>? That would also allow consumers to at least catch any unexpected data instead of it being skipped over.

released in v0.11

authors: RReverser robjtede


text:
Ensure files opened in the GUI don't get an extra newline, and allow saving any file type

Before, files that didn't have the .txt extension had it automatically
appended. With this commit, the .txt extension will only be added to files that don't have a file extension.

Just finished checking out everything and I must say, impressive work! Do you want to code a brand new project together or generally keep in touch? You can write to me on Discord at xDavide9#1490

Thank you - I don't have a lot of experience with larger projects, so I
learned a lot from studying your repository.  I'm down to keep in touch, I
added you on Discord - my handle is Maczi.
On Sat, Jun 25, 2022 at 6:15 PM Dav @.***> wrote:

Just finished checking out everything and I must say, impressive work! Do
you want to code a brand new project together or generally keep in touch?
You can write to me on Discord at xDavide9#1490
—
Reply to this email directly, view it on GitHub
https://github.com/xDavide9/JNotepad/pull/1#issuecomment-1166370320, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNCKGUBS5N4QUYANOXNI3TVQ6AI3ANCNFSM5YRMP3RQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

source: gharchive/pull-request


text:
Удалить из регулярных выражений 1C(SDBL) "\s+"  в ключевых полях состоящих из нескольких слов

Например в выражении В\s+ИЕРАРХИИ надо заменить на В\sИЕРАРХИИ и так же в остальных лексемах.

Почему? Разве там не может быть несколько пробелов или даже перевод строки?

Действительно редактор запроса в конфигураторе позволяет внести несколько пробелов.
Выглядит странно, но да ладно.

license: mit

license_source: bigquery


text:
Allow providing values and resources in the same input environment object

More context: https://github.com/xFAANG/askql/blob/v1.1.0/src/askvm/lib/run.ts#L29

@mhagmajer , could you explain what this ticket is about?

repo: xFAANG/askql


text:
Parsing JSON files...Killed

Helllo there,
Gettings weird issue with the script, when parsing JSON everything stop :
python3 ~/palworld-host-save-fix/fix-host-save.py ~/.cargo/bin/uesave ~/backup/SaveGames/76561198076018633/69603AA5483208C13BF332A6F3BC56A9/ EFB2AB95000000000000000000000000 00000000000000000000000000000001 false
WARNING: Running this script WILL change your save files and could potentially corrupt your data. It is HIGHLY recommended that you make a backup of your save folder before continuing. Press enter if you would like to continue.
>
Converting save files to JSON...
File /home/steam/backup/SaveGames/76561198076018633/69603AA5483208C13BF332A6F3BC56A9//Level.sav uncompressed successfully
File /home/steam/backup/SaveGames/76561198076018633/69603AA5483208C13BF332A6F3BC56A9//Level.sav (type: 50) converted to JSON successfully
File /home/steam/backup/SaveGames/76561198076018633/69603AA5483208C13BF332A6F3BC56A9//Players/00000000000000000000000000000001.sav uncompressed successfully
File /home/steam/backup/SaveGames/76561198076018633/69603AA5483208C13BF332A6F3BC56A9//Players/00000000000000000000000000000001.sav (type: 49) converted to JSON successfully
Done!
Parsing JSON files...Killed

( trying using the script directly on my Linux VM who host the dedicated Palworld Server.
Thanks for your help

Nevermind, finally gettings worked with Python on Windows.
But now, on the linux dedicated server, the server crash every 10min with the save, not with a fresh start. So we gived up on this for now ...

Try removing that trailing forward slash from your save's path. It's resulting in double forward slashes. Also, I don't think there's anything in the script which would cause the server to crash. Out of the dozens of reports I've gotten, I haven't had anyone say it causes their server to crash before.

authors: NoksC xNul

repo: xNul/palworld-host-save-fix


text:
Works with Modules Intellisense

Hi! In order to use a Module Intellisense feature, the module name variable has to be deleted and also the quotes around it, then open single quotes again.

Extensions with Intellisense for Modules: leizongmin.node-module-intellisense, christian-kohler.npm-intellisense
A possible solution could be a user option for this extension that allows you to include the single quotes as part of the snippet variable.

Probably not the answer you're looking for, but one can always trigger IntelliSense like so ⌃Space.

Perhaps have a way to:
imp+moduleName to default to => `import 'moduleName' from 'moduleName';
?

I assume that this is addressed by the answer so I will close it. Feel free to open it again if there is any new info.

authors: felicio giocodes tlkiong xabikos

repo: xabikos/vscode-javascript


text:
UI is not coming after login page

Hi
able to run KafkaCenter service and able to login also.  but after login UI is not coming UP.

@sunilkrdeep We need more informations。

@sunilkrdeep We need more informations。

@TrumanDu Please  find attached  UI screen shot and error logs.
KafkaCenter-Error.docx
info.2021-03-02.log

please provide brower console error log.

please provide brower console error log.

@TrumanDu
error.2021-03-02.log
Please find error log

please provide brower console error log.

@TrumanDu
error.2021-03-02.log
Please find error log

@sunilkrdeep brower console error log

Error: Invalid Date in fecha.format
format http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
e http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
e http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
Tl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ys http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ms http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
pa http://xxx.xxx.xx.xxx:8084/js/index.js:65
ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
enqueueSetState http://xxx.xxx.xx.xxx:8084/js/index.js:65
setState http://xxx.xxx.xx.xxx:8084/js/index.js:49
unlisten http://xxx.xxx.xx.xxx:8084/js/index.js:49
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
O http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
_ http://xxx.xxx.xx.xxx:8084/js/index.js:6
index.js:65:83076
Error: Invalid Date in fecha.format
format http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
e http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
e http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
Tl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ys http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ms http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
pa http://xxx.xxx.xx.xxx:8084/js/index.js:65
ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
enqueueSetState http://xxx.xxx.xx.xxx:8084/js/index.js:65
setState http://xxx.xxx.xx.xxx:8084/js/index.js:49
unlisten http://xxx.xxx.xx.xxx:8084/js/index.js:49
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
O http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
_ http://xxx.xxx.xx.xxx:8084/js/index.js:6
index.js:65:83076
TypeError: this.chart is undefined
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
El http://xxx.xxx.xx.xxx:8084/js/index.js:65
Nl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Dl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ys http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ms http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
pa http://xxx.xxx.xx.xxx:8084/js/index.js:65
ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
enqueueSetState http://xxx.xxx.xx.xxx:8084/js/index.js:65
setState http://xxx.xxx.xx.xxx:8084/js/index.js:49
unlisten http://xxx.xxx.xx.xxx:8084/js/index.js:49
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
O http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
_ http://xxx.xxx.xx.xxx:8084/js/index.js:6
index.js:65:83076
TypeError: this.chart is undefined
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
El http://xxx.xxx.xx.xxx:8084/js/index.js:65
Nl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Dl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ys http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ms http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
pa http://xxx.xxx.xx.xxx:8084/js/index.js:65
ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
enqueueSetState http://xxx.xxx.xx.xxx:8084/js/index.js:65
setState http://xxx.xxx.xx.xxx:8084/js/index.js:49
unlisten http://xxx.xxx.xx.xxx:8084/js/index.js:49
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
O http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
_ http://xxx.xxx.xx.xxx:8084/js/index.js:6
index.js:65:83076
Error: Invalid Date in fecha.format
format http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
e http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
e http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
Tl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ys http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ms http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
pa http://xxx.xxx.xx.xxx:8084/js/index.js:65
ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
enqueueSetState http://xxx.xxx.xx.xxx:8084/js/index.js:65
setState http://xxx.xxx.xx.xxx:8084/js/index.js:49
unlisten http://xxx.xxx.xx.xxx:8084/js/index.js:49
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
O http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
_ http://xxx.xxx.xx.xxx:8084/js/index.js:6
index.js:65:83076
Error: Invalid Date in fecha.format
format http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
e http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
e http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
Tl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ys http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ms http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
pa http://xxx.xxx.xx.xxx:8084/js/index.js:65
ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
enqueueSetState http://xxx.xxx.xx.xxx:8084/js/index.js:65
setState http://xxx.xxx.xx.xxx:8084/js/index.js:49
unlisten http://xxx.xxx.xx.xxx:8084/js/index.js:49
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
O http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
_ http://xxx.xxx.xx.xxx:8084/js/index.js:6
index.js:65:83076
Uncaught Error: Invalid Date in fecha.format
format http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
e http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
e http://xxx.xxx.xx.xxx:8084/js/1.js:1
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
Tl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ys http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ms http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
pa http://xxx.xxx.xx.xxx:8084/js/index.js:65
ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
enqueueSetState http://xxx.xxx.xx.xxx:8084/js/index.js:65
setState http://xxx.xxx.xx.xxx:8084/js/index.js:49
unlisten http://xxx.xxx.xx.xxx:8084/js/index.js:49
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
O http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
_ http://xxx.xxx.xx.xxx:8084/js/index.js:6
1.js:7:128574
TypeError: this.chart is undefined
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
El http://xxx.xxx.xx.xxx:8084/js/index.js:65
Nl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Dl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ys http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ms http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
pa http://xxx.xxx.xx.xxx:8084/js/index.js:65
ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
enqueueSetState http://xxx.xxx.xx.xxx:8084/js/index.js:65
setState http://xxx.xxx.xx.xxx:8084/js/index.js:49
unlisten http://xxx.xxx.xx.xxx:8084/js/index.js:49
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
O http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
_ http://xxx.xxx.xx.xxx:8084/js/index.js:6
index.js:65:83076
TypeError: this.chart is undefined
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
El http://xxx.xxx.xx.xxx:8084/js/index.js:65
Nl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Dl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ys http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ms http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
pa http://xxx.xxx.xx.xxx:8084/js/index.js:65
ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
enqueueSetState http://xxx.xxx.xx.xxx:8084/js/index.js:65
setState http://xxx.xxx.xx.xxx:8084/js/index.js:49
unlisten http://xxx.xxx.xx.xxx:8084/js/index.js:49
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
O http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
_ http://xxx.xxx.xx.xxx:8084/js/index.js:6
index.js:65:83076
Uncaught TypeError: this.chart is undefined
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
t http://xxx.xxx.xx.xxx:8084/js/1.js:7
El http://xxx.xxx.xx.xxx:8084/js/index.js:65
Nl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Dl http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ys http://xxx.xxx.xx.xxx:8084/js/index.js:65
Ms http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
unstable_runWithPriority http://xxx.xxx.xx.xxx:8084/js/index.js:73
ua http://xxx.xxx.xx.xxx:8084/js/index.js:65
da http://xxx.xxx.xx.xxx:8084/js/index.js:65
pa http://xxx.xxx.xx.xxx:8084/js/index.js:65
ks http://xxx.xxx.xx.xxx:8084/js/index.js:65
enqueueSetState http://xxx.xxx.xx.xxx:8084/js/index.js:65
setState http://xxx.xxx.xx.xxx:8084/js/index.js:49
unlisten http://xxx.xxx.xx.xxx:8084/js/index.js:49
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
a http://xxx.xxx.xx.xxx:8084/js/index.js:6
O http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
n http://xxx.xxx.xx.xxx:8084/js/index.js:6
P http://xxx.xxx.xx.xxx:8084/js/index.js:6
_ http://xxx.xxx.xx.xxx:8084/js/index.js:6
1.js:7:469830

Based on the current information, it is impossible to judge your problem. How did you deploy it?

**Hi @TrumanDu
I've set this property for elastic**
monitor.enable=false
monitor.collect.period.minutes=5
monitor.elasticsearch.hosts=localhost:9200
monitor.elasticsearch.index=kafka_center_monitor
#monitor.elasticsearch.auth.user=
#monitor.elasticsearch.auth.password=

this is the service log we're facing on landing on home page
2021-04-27 10:37:25,309 ERROR [http-nio-8080-exec-1] ElasticsearchService: search top 10 topic Log Size Rang 7 Days has Error
java.net.ConnectException: Connection refused
        at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:788)
        at org.elasticsearch.client.RestClient.performRequest(RestClient.java:218)
        at org.elasticsearch.client.RestClient.performRequest(RestClient.java:205)
        at org.nesc.ec.bigdata.common.util.ElasticsearchUtil.searchES(ElasticsearchUtil.java:93)
        at org.nesc.ec.bigdata.service.ElasticsearchService.top10TopicLogSizeRang7Days(ElasticsearchService.java:474)
        at org.nesc.ec.bigdata.service.HomeService.top10TopicLogSizeRang7Days(HomeService.java:219)
        at org.nesc.ec.bigdata.controller.HomeController.top10TopicLogSize(HomeController.java:154)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
        at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)
        at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:109)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:747)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:714)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351)
        at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
        ... 1 common frames omitted

@g4ur4vs This is a problem and we will fix it as soon as possible

already fix it.

authors: TrumanDu g4ur4vs sunilkrdeep

repo: xaecbd/KafkaCenter


text:
[Bug] StateView System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

Description
Im getting this Crash when using StateLayout like this
<Grid toolkit:StateLayout.CurrentState="{Binding CurrentState}"
	  toolkit:StateLayout.AnimateStateChanges="True"
	  toolkit:StateLayout.CurrentCustomStateKey="{Binding CustomStateKey}">
	 <toolkit:StateLayout.StateViews>
		<toolkit:StateView StateKey="Loading">
			<states:LoadingStateView/>
		</toolkit:StateView>
		<toolkit:StateView StateKey="Custom" CustomStateKey="{x:Static helpers:StateKeys.NotAuthenticated}">
			<states:NotAuthenticatedStateView />
		</toolkit:StateView>
		<toolkit:StateView StateKey="Success">
			<ContentView Content="{StaticResource SuccessView}"/>
		</toolkit:StateView>
		<toolkit:StateView StateKey="Empty">
			<states:EmptyView  />
		</toolkit:StateView>
	</toolkit:StateLayout.StateViews>
</Grid>

internal async void OnRefreshAsync()
{
	if (!IsAuthenticated)
	{
		return;
	}

	CurrentState = LayoutState.Loading;
	try
	{
		await LoadItems();
	}
	finally
	}
		CurrentState = LayoutState.Success;
	}
}

android.runtime.JavaProxyThrowable: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <9e65554b56364c219ee375864f4fd8c4>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <9e65554b56364c219ee375864f4fd8c4>:0
at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x0004e] in <b943f5a0a8474cebaa297e667e2095bb>:0
at System.Linq.Enumerable+<OfTypeIterator>d__32`1[TResult].MoveNext () [0x00067] in <b943f5a0a8474cebaa297e667e2095bb>:0
at System.Linq.Enumerable+SelectIListIterator`2[TSource,TResult].MoveNext () [0x00029] in <b943f5a0a8474cebaa297e667e2095bb>:0
 at System.Threading.Tasks.Task.WhenAll[TResult] (System.Collections.Generic.IEnumerable`1[T] tasks) [0x000ba] in <9e65554b56364c219ee375864f4fd8c4>:0
 at Xamarin.CommunityToolkit.UI.Views.StateLayoutController.ChildrenFadeTo (Xamarin.Forms.Layout`1[T] layout, System.Boolean animate, System.Boolean isHide) [0x000ae] in <d695d744715f441683440b16d4c7616b>:0
 at Xamarin.CommunityToolkit.UI.Views.StateLayoutController.SwitchToTemplate (Xamarin.CommunityToolkit.UI.Views.LayoutState state, System.String customState, System.Boolean animate) [0x003b8] in <d695d744715f441683440b16d4c7616b>:0
 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in <9e65554b56364c219ee375864f4fd8c4>:0
  at Android.App.SyncContext+<>c__DisplayClass2_0.<Post>b__0 () [0x00000] in <ab7a92db3c6e45c6ae5846565187cb8b>:0
at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <ab7a92db3c6e45c6ae5846565187cb8b>:0
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in <ab7a92db3c6e45c6ae5846565187cb8b>:0
 at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.27(intptr,intptr)

Version with issue:
Last known good version:
IDE:
Platform Target Frameworks: 11
iOS:  12
Android: 11

@ValonK https://github.com/xamarin/XamarinCommunityToolkit/issues/784

So, this is not a bug? Or what is going on with this one?

@ValonK can you reproduce this issue on the latest nuget version?
If yes, then please attach a sample project. Thanks!

authors: AndreiMisiukevich ValonK jfversluis

repo: xamarin/XamarinCommunityToolkit


text:
Delete WeekSubscribe method

Description of Change
As discussed in #1001, deleted WeekSubscribe since it's most likely will be misused.
It's not released yet, so this is not a breaking change.
This method is now released in 1.1.0. Maybe it's deletion should be reevaluated.
Bugs Fixed

Fixes #1001

API Changes
Removed:

void WeakSubscribe<T>(this INotifyPropertyChanged target, T subscriber, Action<T, object?, PropertyChangedEventArgs> action)

Behavioral Changes
None
PR Checklist

[ ] Has tests (if omitted, state reason in description)
[ ] Has samples (if omitted, state reason in description)
[x] Rebased on top of main at time of PR
[x] Changes adhere to coding standard

[ ] Updated documentation

We would need to first mark it as [Obsolete] in the next release.
Then we could remove it in the next major release.

@brminnick oh yeah, We already released the 1.1 in a stable channel! I forgot it. @maxkoshevoi please restore that file and add the Obsolete attribute as suggested by @brminnick, thanks.

@pictos Done

Thanks, @maxkoshevoi, now we just need to fix the CI to merge this puppy (:

@pictos This is not related to localization. WeekSubscribe to subscribe to any property change event.

@pictos This is not related to localization. WeekSubscribe to subscribe to any property change event.

but this isn't created because of LocalizedString feature? I didn't found any better label for that

but this isn't created because of LocalizedString feature? I didn't find any better label for that

Yes, but it's still a general purpose method.
Yeah, there isn't really a label for it 😄 What about Breaking change? Most users have Treat warnings as errors set, so this will be a breaking change for them.

authors: brminnick maxkoshevoi pictos


text:
I have a issue with the ingame music option

For example i select certain songs to play at the menu and the other during races, but doesn't work very well. Sometimes it will play the menu song during races and the race song will play in the menu. Did i missed something in the config or is it a bug?

How many songs do you have in your playlist ? This might be related to #5

i have like 30 songs

Repeat of https://github.com/xan1242/XNFSMusicPlayer/issues/5

authors: alexpado boristhething xan1242


text:
Adding support for the full protected_branches API.

API details can be found at:
Parameters
https://docs.gitlab.com/ce/api/protected_branches.html#protect-repository-branches
Response
https://docs.gitlab.com/ce/api/protected_branches.html#example-with-user--group-level-access-starter

Thanks for the feedback @svanharmelen! I've made the changes as suggested.  Let me know if it looks alright now.

repo: xanzy/go-gitlab


text:
Fix computation

This fixes the build problem for the computation notebook.

This is a fix for this:

repo: xarray-contrib/xarray-tutorial


text:
Abstract class property and ExtendedModel in CRA app causes error: "Error: data changes must be performed inside model actions"

I'm afraid #17 didn't solve everything.
abstract class A extends Model({}) {
  // Comment out the line below and it works fine!
  public abstract value: number;
}

@model("B")
class B extends ExtendedModel(A, { value: prop<number>() }) {}

// Error: data changes must be performed inside model actions
new B({ value: 1 }); // Instantiating the class inside `runUnprotected` works.

Running the above snippet inside a CRA app results in the following error:

Error: data changes must be performed inside model actions

When running the snippet with ts-node directly, there is no problem.

And this might be a related issue:
abstract class A extends Model({}) {
  // Comment out the line below and it works fine!
  public abstract value: number;
}

@model("B")
class B extends ExtendedModel(A, { value: prop<number>() }) {}

// `runUnprotected` is currently needed here as described above.
const b = runUnprotected(() => new B({ value: 1 }));
console.log(b.value); // is `undefined` in a CRA app, but `1` when run with `ts-node`

The issue seems to be that the abstract property seems to be actually setting value to undefined after it has been initialized to 1 by the base constructor...

But why is it only happening in a CRA app (Babel + Typescript) and not with ts-node?

Most probably typescript is doing the right thing (not initializing it at all) but babel is instead setting it to undefined on its constructor (wild guess without checking the generated js code)

This is the code generated with CRA:
class A extends Object(mobx_keystone__WEBPACK_IMPORTED_MODULE_0__["Model"])({}) {
  constructor(...args) {
    super(...args);
    this.value = void 0;
  }

}

let B = (_dec = Object(mobx_keystone__WEBPACK_IMPORTED_MODULE_0__["model"])("B"), _dec(_class = class B extends Object(mobx_keystone__WEBPACK_IMPORTED_MODULE_0__["ExtendedModel"])(A, {
  value: Object(mobx_keystone__WEBPACK_IMPORTED_MODULE_0__["prop"])()
}) {}) || _class); // `runUnprotected` is currently needed here as described above.

const b = Object(mobx_keystone__WEBPACK_IMPORTED_MODULE_0__["runUnprotected"])(() => new B({
  value: 1
}));
console.log(b.value); // is `undefined` in a CRA app, but `1` when run with `ts-node`

Care to test that branch to see if it fixes it?
basically it will ignore any property changes made on constructors and enable changes to be made once all constructors have been run

Works for the example above. :+1:

That being said I think it should be reported to the babel guys, I don't think they are supposed to generate any setting code for abstract props

authors: sisp xaviergonz

repo: xaviergonz/mobx-keystone


text:
Define an abstract model prop

I have an abstract base class that defines common props/methods and want to define an abstract prop that needs to be defined on all extended models:
export abstract class MyModelBase extends Model({
  commonProp: prop<string>().withSetter(),
}) {
  abstract get abstractCommonProp(): string;
  abstract set abstractCommonProp(val: string);
}

@model("MyModel")
export class MyModel extends ExtendedModel(MyModelBase, {
  customProp: prop<string>().withSetter(),
  abstractCommonProp: prop<"abc" | "cba">().withSetter(),
}) {}

the above code works fine in regard to types, but throws when creating an instance of MyModel:
TypeError: Cannot set property valuePlain of [object Object] which has only a getter

Seems like this could be solved with generics, but that makes the code quite a bit more complicated.
Could we make this work on runtime and allow such usage?
Thanks!

That code you pasted works for me using tsc, babel and swc (since the abstract get/set compiles in runtime to nothing at all)

I don't really know what I was doing. It indeed works. 🤦
Sorry for wasting your time.

authors: dodas xaviergonz


text:
unit test IDE execution improvements

I was having trouble with running the unit tests locally. With this solution the unit tests can be run one by one from the IDE on the already checked in test json files.
What I did is: load the test data json files from the file system with standard java instead of through android context in order to allow more convenient execution of unit tests.
I've only tested this on Windows.

Ohh well, looks like the CI does not like it yet. I'll check out what's going wrong on Linux.

I don't understand what the problem is you are trying to solve. I admit the current setup has only been tested on Linux and MacOS. But I believe that even on Windows the android gradle plugin should handle the assets inclusion.
https://github.com/xbmc/Kore/blob/master/app/build.gradle#L42
Did you run the testFullDebugUnitTest or testInstrumentationTestDebugUnitTest? As described in https://github.com/xbmc/Kore/blob/master/app/src/test/README.md

Hi @poisdeux
Yes while gradlew.bat testFullDebugUnitTest works.

Select build variant "instrumentationTestDebug"
Set the (Project view)[https://developer.android.com/studio/projects/index.html] to Android
Right-click on the directory "test" and select "Run tests"

This does not work for me. What I get is:
java.io.FileNotFoundException: build\intermediates\bundles\instrumentationTest\debug\assets\Video.Details.Movie.json (The system cannot find the path specified)

	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at org.robolectric.res.FileFsFile.getInputStream(FileFsFile.java:78)
	at org.robolectric.shadows.ShadowAssetManager.open(ShadowAssetManager.java:179)
	at android.content.res.AssetManager.open(AssetManager.java)
	at org.xbmc.kore.testutils.FileUtils.readFile(FileUtils.java:26)
	at org.xbmc.kore.testutils.Database.insertMovies(Database.java:87)
	at org.xbmc.kore.testutils.Database.fill(Database.java:48)
	at org.xbmc.kore.provider.mediaprovider.AbstractTestClass.setUp(AbstractTestClass.java:53)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:248)
	at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:174)
	at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:63)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:140)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:262)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:84)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

Which is not that surprising considering in the IDE's gradle console this is what I see:
Executing tasks: [:app:generateInstrumentationTestDebugSources, :app:prepareInstrumentationTestDebugUnitTestDependencies, :app:mockableAndroidJar, :app:compileInstrumentationTestDebugUnitTestSources]

Configuration on demand is an incubating feature.
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to D:\android-sdks\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preInstrumentationTestDebugBuild UP-TO-DATE
:app:checkInstrumentationTestDebugManifest
:app:preFullDebugBuild UP-TO-DATE
:app:extractProguardFiles
:app:preFullReleaseBuild
:app:preInstrumentationTestReleaseBuild
:app:prepareAtBlogcExpandabletextview103Library
:app:prepareComAndroidSupportAnimatedVectorDrawable2501Library
:app:prepareComAndroidSupportAppcompatV72501Library
:app:prepareComAndroidSupportCardviewV72501Library
:app:prepareComAndroidSupportPreferenceV142501Library
:app:prepareComAndroidSupportPreferenceV72501Library
:app:prepareComAndroidSupportRecyclerviewV72501Library
:app:preFullDebugAndroidTestBuild UP-TO-DATE
:app:preInstrumentationTestDebugAndroidTestBuild UP-TO-DATE
:app:prepareComAndroidSupportSupportCompat2501Library
:app:prepareComAndroidSupportSupportCoreUi2501Library
:app:prepareComAndroidSupportSupportCoreUtils2501Library
:app:prepareComAndroidSupportSupportFragment2501Library
:app:prepareComAndroidSupportSupportMediaCompat2501Library
:app:prepareComAndroidSupportSupportV132501Library
:app:prepareComAndroidSupportSupportV42501Library
:app:prepareComAndroidSupportSupportVectorDrawable2501Library
:app:prepareComAstuetzPagerslidingtabstrip101Library
:app:prepareComMelnykovFloatingactionbutton130Library
:app:prepareComSothreeSlidinguppanelLibrary331Library
:app:prepareInstrumentationTestDebugDependencies
:app:compileInstrumentationTestDebugAidl UP-TO-DATE
:app:compileInstrumentationTestDebugRenderscript UP-TO-DATE
:app:generateInstrumentationTestDebugBuildConfig UP-TO-DATE
:app:generateInstrumentationTestDebugResValues UP-TO-DATE
:app:generateInstrumentationTestDebugResources UP-TO-DATE
:app:mergeInstrumentationTestDebugResources UP-TO-DATE
:app:processInstrumentationTestDebugManifest UP-TO-DATE
:app:processInstrumentationTestDebugResources UP-TO-DATE
:app:generateInstrumentationTestDebugSources UP-TO-DATE
:app:preInstrumentationTestDebugUnitTestBuild UP-TO-DATE
:app:prepareInstrumentationTestDebugUnitTestDependencies
:app:mockableAndroidJar UP-TO-DATE
:app:incrementalInstrumentationTestDebugJavaCompilationSafeguard UP-TO-DATE
:app:javaPreCompileInstrumentationTestDebug
:app:compileInstrumentationTestDebugJavaWithJavac UP-TO-DATE
:app:incrementalInstrumentationTestDebugUnitTestJavaCompilationSafeguard UP-TO-DATE
:app:javaPreCompileInstrumentationTestDebugUnitTest
:app:compileInstrumentationTestDebugUnitTestJavaWithJavac UP-TO-DATE
:app:processInstrumentationTestDebugJavaRes UP-TO-DATE
:app:processInstrumentationTestDebugUnitTestJavaRes UP-TO-DATE
:app:compileInstrumentationTestDebugUnitTestSources UP-TO-DATE

BUILD SUCCESSFUL

Total time: 1.099 secs

No mention of testFullDebugUnitTest.
This is also the type of exception I get when I try to run a single test class from the IDE say GenresTest.
My goal here in this PR is to allow running any unit tests on it's own from within the IDE.
My concern is that the whole test suit only consists of 33 test (1 ignored) yet it takes about 54.528 secs to run testFullDebugUnitTest. In my opinion this is too long for so few tests. So to help with running new (hopefully faster) unit tests, developers should be able to run their own tests (or a subset of tests) from the IDE without them failing because of asset setup is not working for such a scenario.

Oops, sorry about that. I've updated the docs in PR #460.
Actually the testInstrumentationTestDebugUnitTest should still work AFAICT from the gradle file. However, we use fullDebugUnitTest on travis-ci, so it never occurred to me that the instrumentationTest flavour is broken for local tests.
But your solution is not the right way to fix this. It should be handled by the android gradle plugin.
However, I wouldn't bother fixing this for instrumentationTest. It is included only to be able to disable animations. But that can now be disabled using the android gradle plugin ( \o/ )
testOptions {
        animationsDisabled true
    }

So the instrumentationTest flavour will probably be removed and you should use the fullDebug flavour for local tests. This should also allow you to select individual tests.
Regarding your remark about performance, I wouldn't bother optimising just yet. 58 secs is fine and I wouldn't expect anyone to run these tests on each build. If you do want to do this, I suggest you implement running the local tests in the background so the build finishes quickly while the tests continue to run in the background and provide feedback a few seconds later...
Final remark, if you do want to optimise, have a look at the setUp method. I believe none of the tests actually changes the database so we only have to set it up once. But, well, you know what they say about premature optimisation...

Hi @poisdeux
Just to try and make my point a bit more clear: I'm not having issues with running tests from command line.
Without these changes I can not run some tests individually (the ones that rely on DB setup from the .json asset files), because to me it looks like nothing makes them available where they are expected to be:
java.io.FileNotFoundException: build\intermediates\bundles\full\debug\assets\Video.Details.Movie.json (The system cannot find the path specified)
This is the main issue I was trying to address with this PR.
Having a global setup for UNIT tests is a big no-no for me. In my opinion UNIT tests need to set up and tear down everything for every test run.
To be fair tests touching DB are not really unit tests in my opinion to begin with, so in that regard I see your point, but then for me the solution would be is to move tests that interact with a DB out (so they are not run along with "real" unit tests). Would you consider such an approach acceptable?

Could you test if the fullDebug flavour allows you to run individual tests? If so, this PR can be closed.
I agree that tests using a database aren't generally considered unit tests. That's why the tests under test are usually referred to as local tests. Meaning they do not require an Android device. We could add an extra layer below test to separate the fast from the slow tests or better yet use annotations. But what should be the criteria? 1 second, 2 seconds, 10 seconds, 1 minute? And what do we use as a reference build machine? An octacore with 128 GB RAM?

Without the code from the PR: From within the IDE I can NOT run individual tests with ANY flavor, including fullDebug.
With the code from the PR:  I CAN run individual tests with ANY flavor, including fullDebug
I feel you are being a bit sarcastic there. :D
You'd generally use the most common developer machine for unit test speed measurement.  I'd say maximum 2 mins for 1000 unit tests, that's <=0.12s per test in average.

I am only able to reproduce your issue when using the instrumentationTest flavour.
I think this is more an issue with your Android Studio setup. However, I don't own a windows machine on which I can try to reproduce this. So, I think we should go with your fix.
@SyncedSynapse do you by any chance have a Windows machine at your disposal and able to reproduce this issue?
Can you please refactor this PR to only include only the asset fix and create a separate PR for the performance issue? Than we can merge this and discuss the performance improvements further using the other PR.

The PR is only about asset inclusion already.
The kind of performance improvement I was talking about is perhaps just a perceived one. With this I can run just a single or a selected few tests, which is inherently faster than running all the unit tests.

I thought you added readFile for performance reasons and the actual fix for the assets is in the gradle.build file. https://github.com/xbmc/Kore/pull/459/files#diff-39e7d8c00954e920b98e7636f0ac30b2R176

copyUnitTestResources is a new task that copies the json assets to a build flavor independent location. The other changes are there to load them from this location, instead of using the android context which then would use build flavor dependent path because of context.getAssets().

Ah I see, thx for explaining. Good news, I was able to reproduce the issue on my build environment as well. (./gradlew clean did the trick...)
This problem seems similar to something I encountered when upgrading to android gradle plugin 2.3.3 in PR #431. To fix that, I made sure the assembleFullDebug was called to copy the assets.
If we change testFullDebugUnitTest to compileFullDebugUnitTestSources in app/build.gradle on line 172, it should work for running individual local tests as well.
Can you confirm?

Nope, sorry. Still getting the same error even if I make the change you are proposing.

Can you post the Gradle Console output from Android Studio while running an individual test using the fullDebug flavour?

Executing tasks: [:app:generateFullDebugSources, :app:prepareFullDebugUnitTestDependencies, :app:mockableAndroidJar, :app:compileFullDebugUnitTestSources]

Configuration on demand is an incubating feature.
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to C:\Users\vatam\AppData\Local\Android\sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preFullDebugBuild UP-TO-DATE
:app:checkFullDebugManifest
:app:extractProguardFiles
:app:preFullReleaseBuild
:app:preInstrumentationTestDebugBuild UP-TO-DATE
:app:preInstrumentationTestReleaseBuild
:app:prepareAtBlogcExpandabletextview103Library
:app:prepareComAndroidSupportAnimatedVectorDrawable2501Library
:app:prepareComAndroidSupportAppcompatV72501Library
:app:prepareComAndroidSupportCardviewV72501Library
:app:prepareComAndroidSupportPreferenceV142501Library
:app:prepareComAndroidSupportPreferenceV72501Library
:app:prepareComAndroidSupportRecyclerviewV72501Library
:app:preFullDebugAndroidTestBuild UP-TO-DATE
:app:preInstrumentationTestDebugAndroidTestBuild UP-TO-DATE
:app:prepareComAndroidSupportSupportCompat2501Library
:app:prepareComAndroidSupportSupportCoreUi2501Library
:app:prepareComAndroidSupportSupportCoreUtils2501Library
:app:prepareComAndroidSupportSupportFragment2501Library
:app:prepareComAndroidSupportSupportMediaCompat2501Library
:app:prepareComAndroidSupportSupportV132501Library
:app:prepareComAndroidSupportSupportV42501Library
:app:prepareComAndroidSupportSupportVectorDrawable2501Library
:app:prepareComAstuetzPagerslidingtabstrip101Library
:app:prepareComMelnykovFloatingactionbutton130Library
:app:prepareComSothreeSlidinguppanelLibrary331Library
:app:prepareFullDebugDependencies
:app:compileFullDebugAidl UP-TO-DATE
:app:compileFullDebugRenderscript UP-TO-DATE
:app:generateFullDebugBuildConfig UP-TO-DATE
:app:generateFullDebugResValues UP-TO-DATE
:app:generateFullDebugResources UP-TO-DATE
:app:mergeFullDebugResources UP-TO-DATE
:app:processFullDebugManifest UP-TO-DATE
:app:processFullDebugResources UP-TO-DATE
:app:generateFullDebugSources UP-TO-DATE
:app:preFullDebugUnitTestBuild UP-TO-DATE
:app:prepareFullDebugUnitTestDependencies
:app:mockableAndroidJar UP-TO-DATE
:app:incrementalFullDebugJavaCompilationSafeguard UP-TO-DATE
:app:javaPreCompileFullDebug
:app:compileFullDebugJavaWithJavac UP-TO-DATE
:app:compileFullDebugNdk UP-TO-DATE
:app:compileFullDebugSources UP-TO-DATE
:app:mergeFullDebugShaders UP-TO-DATE
:app:compileFullDebugShaders UP-TO-DATE
:app:generateFullDebugAssets UP-TO-DATE
:app:mergeFullDebugAssets UP-TO-DATE
:app:transformClassesWithDexForFullDebug UP-TO-DATE
:app:mergeFullDebugJniLibFolders UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForFullDebug UP-TO-DATE
:app:processFullDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForFullDebug UP-TO-DATE
:app:validateSigningFullDebug
:app:packageFullDebug UP-TO-DATE
:app:assembleFullDebug UP-TO-DATE
:app:incrementalFullDebugUnitTestJavaCompilationSafeguard UP-TO-DATE
:app:javaPreCompileFullDebugUnitTest
:app:compileFullDebugUnitTestJavaWithJavac UP-TO-DATE
:app:processFullDebugUnitTestJavaRes UP-TO-DATE
:app:compileFullDebugUnitTestSources UP-TO-DATE

BUILD SUCCESSFUL

Total time: 1.158 secs

OK, I've found what was the problem. For the run configuration in the IDE the Working Directory was not set, once I've set it to MODULE_DIR I could run single tests with only the compileFullDebugUnitTestSources change.
Maybe could add this tid-bit to the README.md

I'll close this and opened #463 instead.

authors: Calebzor poisdeux

repo: xbmc/Kore


text:
[REQ] Automated download for individual episodes or complete seasons

Would you be willing to add a download prompt allowing a user to download an episode or complete season instead of manually visiting each stream link?
For example:

Enter URL or query
Select the  item you want
Chose the service
Chose the episode or for a full season you could type "all'
Download prompt "Would you like to download these Episode(s) y | n"

Downloader is out of scope of this project since it's just a stream url grabber. Maybe in future will add a module but not anytime soon.

@xcscxr how would you integrate a downloader in this project? Would you use ffmpeg, ytdl or something else?

@xcscxr how would you integrate a downloader in this project? Would you use ffmpeg, ytdl or something else?

use pysmart-dl or just use requests with tqdm(for progress bar) on the direct download link you get from the script

authors: Spectroxx scrazzz w0lfrm xcscxr

repo: xcscxr/nineanime-grabber


text:
Upgrade to the yocto scarthgap

Update LAYERSERIES_COMPAT
Update branches for sources in .yaml files
Change the name of the .ext4 image files
Update the list of packages created by the snort
Add usrmerge to DISTRO_FEATURES, as required by the systemd
Disable CMA in the dom0, to increase available RAM for the increased initramfs
Temporary disable package libmount-mountfd-support for the util-linux, until linux is upgraded by the vendor

Tested on Spider 1.2 with Dom0+DomD+DomU.
Works as expected.
On hold till merged related PRs for xt-common and xt-rcar.

I am not sure that all the changes should be in the same patch. For example, how CMA is realated to snort packages?

Reviewed-by: Grygorii Strashko <grygorii_strashko@epam.com>

I am not sure that all the changes should be in the same patch. For example, how CMA is realated to snort packages?

The original patch is splitted, and explanations are provided.

Rb is added.
Tested.
@lorc ready to be merged.

authors: GrygiriiS lorc rshym


text:
rpi5.yaml: Change layers versions

Change layers versions

Not clear from the commit description why this was done. Also please sync with Ruslan - he got some scarthgap related things merged to meta-xt-common

We based on scarthgap yocto version. Those meta layers didn't have scarthgap branch when we begin this project. Master branch on meta-raspberrypi breaks u-boot build.

LGTM
Acked-by: Oleksii Moisieiev <oleksii_moisieiev@epam.com>

Acked-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>

authors: dsemenets lorc oleksiimoisieiev


text:
Fixing ripe_create() on issue #1

Fixing ripe_create() function mentioned on issue #1 .
Also modified eval_write_answer() for providing more hints when dryrun fails

Thanks for your contribution !

authors: tvasilopo xens

repo: xens/ripeinator


text:
xet cp is recursive by default

I ran it on the top level directory, hoping that since I didn’t have -r that it would not recurse. however it seems to be copying everything
also is it uninterruptable? I tried to control-C and it only aborted the active copy.

Link to Slack thread https://xethub.slack.com/archives/C053SE02XQV/p1691705077351989

Dupe of things in #46

repo: xetdata/pyxet


text:
getJob() is throwing an exception if no Job is in the queue

If no job is in the queue getJob() throws an Exception. Is this the desired/expected behavior? I would rather have expected that an empty List<Job> is returned
redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out
	at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:201)
	at redis.clients.util.RedisInputStream.readByte(RedisInputStream.java:40)
	at redis.clients.jedis.Protocol.process(Protocol.java:132)
	at redis.clients.jedis.Protocol.read(Protocol.java:196)
	at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:288)
	at redis.clients.jedis.Connection.getRawObjectMultiBulkReply(Connection.java:233)
	at redis.clients.jedis.Connection.getObjectMultiBulkReply(Connection.java:239)
	at com.github.xetorthio.jedisque.Jedisque.getJob(Jedisque.java:38)
	at com.github.xetorthio.jedisque.JedisqueTest.showExceptionsOnGet(JedisqueTest.java:190)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)
	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:202)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:65)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:152)
	at java.net.SocketInputStream.read(SocketInputStream.java:122)
	at java.net.SocketInputStream.read(SocketInputStream.java:108)
	at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:195)
	... 36 more

This seems to be a bug.  The desired behavior is an empty List
On 04:39, Wed, Jun 3, 2015 Marco Zapletal notifications@github.com wrote:

If no job is in the queue getJob() throws an Exception. Is this the
desired/expected behavior? I would rather have expected that an empty
List is returned
redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out
at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:201)
at redis.clients.util.RedisInputStream.readByte(RedisInputStream.java:40)
at redis.clients.jedis.Protocol.process(Protocol.java:132)
at redis.clients.jedis.Protocol.read(Protocol.java:196)
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:288)
at redis.clients.jedis.Connection.getRawObjectMultiBulkReply(Connection.java:233)
at redis.clients.jedis.Connection.getObjectMultiBulkReply(Connection.java:239)
at com.github.xetorthio.jedisque.Jedisque.getJob(Jedisque.java:38)
at com.github.xetorthio.jedisque.JedisqueTest.showExceptionsOnGet(JedisqueTest.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:202)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at java.net.SocketInputStream.read(SocketInputStream.java:108)
at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:195)
... 36 more
—
Reply to this email directly or view it on GitHub
https://github.com/xetorthio/jedisque/issues/6.

I believe this is not a bug, the default implementation if disque is to block the connection when doing a getjob if no timeout is specified.  The reason why you're getting an exception is because Jedisque has a 2000ms default socket read timeout (which cannot be changed at this moment).
If you don't want to your client to block for a job then you need to use the getJob command and specify a timeout lower than 2000 and you'll get a null response if no jobs are in the que. (disque returns null when there are no jobs in the que)

Regarding the default 2000ms timeout, I'll open a new issue so we can make that configurable.

I think it is a bug though.
Disque documentation states that a GETJOB timeout is optional. And if no timeout is specified then default is wait forever, which is something that we are not doing.
So what I am saying is that when GETJOB is called, if no timeout is specified, we need to set it internally to infinite.

authors: marcosnils mzapletal xetorthio

repo: xetorthio/jedisque


text:
update to keycloak 24

Changes to DatastoreProvider base class

fixed in #8

repo: xgp/keycloak-jpa-cache


text:
[1.2.0]新版本liteloader有bug

错误信息:
Require stack:
- D:\LiteloaderQQNT\plugins\background_plugin\main.js
- D:\LiteloaderQQNT\src\loader_core\main.js
- D:\LiteloaderQQNT\src\main.js
- D:\LiteloaderQQNT\src\init.js
- D:\Program Files\Tencent\QQNT\resources\app\app_launcher\index.js
-
Error: Cannot find module 'object-path'
Require stack:
- D:\LiteloaderQQNT\plugins\background_plugin\main.js
- D:\LiteloaderQQNT\src\loader_core\main.js
- D:\LiteloaderQQNT\src\main.js
- D:\LiteloaderQQNT\src\init.js
- D:\Program Files\Tencent\QQNT\resources\app\app_launcher\index.js
-
    at Module._resolveFilename (node:internal/modules/cjs/loader:1152:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:120699)
    at Module._load (node:internal/modules/cjs/loader:993:27)
    at f._load (node:electron/js2c/node_init:2:18640)
    at Module.require (node:internal/modules/cjs/loader:1240:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (D:\LiteloaderQQNT\plugins\background_plugin\main.js:5:18)
    at Module._compile (node:internal/modules/cjs/loader:1373:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
    at Module.load (node:internal/modules/cjs/loader:1215:32)

插件信息:
{"manifest":{"manifest_version":4,"type":"extension","name":"背景插件","slug":"background_plugin","description":"在QQNT聊天界面轮播展示背景图，同时让QQNT界面透明化以便更好地展示背景图。","version":"0.2.21","icon":"./icon.png","authors":[{"name":"XiaoHe321","link":"https://github.com/xh321"}],"repository":{"repo":"xh321/LiteLoaderQQNT-Background-Plugin","branch":"master","release":{"tag":"0.2.21","file":"Background.zip"}},"platform":["win32","darwin","linux"],"injects":{"renderer":"./renderer.js","main":"./main.js","preload":"./preload.js"}},"incompatible":false,"disabled":false,"path":{"plugin":"D:\\LiteloaderQQNT\\plugins\\background_plugin","data":"D:\\LiteloaderQQNT\\data\\background_plugin","injects":{"main":"D:\\LiteloaderQQNT\\plugins\\background_plugin\\main.js","preload":"D:\\LiteloaderQQNT\\plugins\\background_plugin\\preload.js","renderer":"D:\\LiteloaderQQNT\\plugins\\background_plugin\\renderer.js"}},"error":{"message":"[Main] Cannot find module 'object-path'\nRequire stack:\n- D:\\LiteloaderQQNT\\plugins\\background_plugin\\main.js\n- D:\\LiteloaderQQNT\\src\\loader_core\\main.js\n- D:\\LiteloaderQQNT\\src\\main.js\n- D:\\LiteloaderQQNT\\src\\init.js\n- D:\\Program Files\\Tencent\\QQNT\\resources\\app\\app_launcher\\index.js\n- ","stack":"Error: Cannot find module 'object-path'\nRequire stack:\n- D:\\LiteloaderQQNT\\plugins\\background_plugin\\main.js\n- D:\\LiteloaderQQNT\\src\\loader_core\\main.js\n- D:\\LiteloaderQQNT\\src\\main.js\n- D:\\LiteloaderQQNT\\src\\init.js\n- D:\\Program Files\\Tencent\\QQNT\\resources\\app\\app_launcher\\index.js\n- \n    at Module._resolveFilename (node:internal/modules/cjs/loader:1152:15)\n    at s._resolveFilename (node:electron/js2c/browser_init:2:120699)\n    at Module._load (node:internal/modules/cjs/loader:993:27)\n    at f._load (node:electron/js2c/node_init:2:18640)\n    at Module.require (node:internal/modules/cjs/loader:1240:19)\n    at require (node:internal/modules/helpers:179:18)\n    at Object.<anonymous> (D:\\LiteloaderQQNT\\plugins\\background_plugin\\main.js:5:18)\n    at Module._compile (node:internal/modules/cjs/loader:1373:14)\n    at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)\n    at Module.load (node:internal/modules/cjs/loader:1215:32)"}}

["background_plugin","brevity-btn","chii_devtools","deepl_plugin","DemoMode","directly_jump","kill-update","list-viewer","lite_tools","mspring_theme","qr_code","scriptio","text_to_speech","transitio","window_on_top"]

环境信息:
{"qqnt":"9.9.12-26466","liteloader":"1.2.0","node":"20.14.0","chrome":"126.0.6478.36","electron":"31.0.1","platform":"win32"}

请仔细阅读readme，你这是缺npm包，要么从release下载完整zip解压，要么手动npm i安装依赖


text:
vue3.0中使用似乎会报错，Recorder is not defined

import Recorder from 'recorder-core'
import 'recorder-core/src/engine/wav'
![sl](https://user-images.githubusercontent.com/39856276/119113378-a1898f00-ba57-11eb-8dc7-554ca4571004.png)

当我引入Recorder时，在引入其他Recorder 相关的js，会报错Recorder is not defined

怎么解决的哦？

repo: xiangyuecn/Recorder


text:
发现一个时序问题

mp3_complete执行的时候会给worker发送消息，在worker的回调里去触发stop的callback，然后执行mp3_stop，但是在我的应用里，worker的回调触发的比较慢，导致mp3_stop里面把ctx delete掉了，回调没法执行了．．

不知道是不是和我的应用里自己也使用了多个worker有关系．．

delete ctx是不是应该放到complete的onmessage的里面？

看了几遍都没能理解你的问题，这个ctx是什么？是mp3_start返回的startCtx吗

看了几遍都没能理解你的问题，这个ctx是什么？是mp3_start返回的startCtx吗
像这种看起来比较复杂的问题，最好能贴点代码什么的，或者截图，就会比较好理解些

worker.onmessage=function(e){
				var ctx=openList[e.data.id];
				if(ctx){
					ctx.call&&ctx.call(e.data);
					ctx.call=null;
				};
			};

我看代码stop的True是这里被调用的，但是我们的情况是这个ctx不存在了，所以没有调到stop的True里面，我看了一下不存在的原因
Recorder.prototype.mp3_stop=function(startCtx){
	if(startCtx&&startCtx.worker){
		startCtx.worker.postMessage({
			action:"stop"
			,id:startCtx.id
		});
		startCtx.worker=null;
		delete openList[startCtx.id];

		//疑似泄露检测 排除id
		var opens=-1;
		for(var k in openList){
			opens++;
		};
		if(opens){
			console.warn("mp3 worker剩"+opens+"个在串行等待");
		};
	};
};

是这个mp3_stop的时候delete掉了。感觉设计的时候是想先调用onmessage再执行mp3_stop？在我这边的情况是先调用delete openList[startCtx.id]后调用var ctx=openList[e.data.id];了...

上面这些代码的调用顺序基本上是这样的：
-> rec.stop()							#wait success callback
	-> rec.engineCtx.mp3_complete()				#wait mp3_complete callback
			-> worker.complete command execute	#wait worker onmessage

			#worker onmessage()
			#mp3_complete callback()

			#success callback() --最终结果回调
			-> rec._stop() --清理资源
			-> rec.engineCtx.mp3_stop()
			-> worker.stop command execute
			-> delete worker ctx

-> 其他同步执行的代码

Recorder里面调用stop方法后，rec.engineCtx.mp3_stop肯定是在worker onmessage回调后再执行的，如果没有onmessage回调是不可能执行到rec.engineCtx.mp3_stop方法（也就是Recorder内部的rec._stop方法），除非rec.stop没有完成就调用了rec.close清理了所有资源。

内部方法rec._stop存在两种情况被调用，一种是rec.stop完成录音、另一种是rec.close终止录音。你这个engineCtx.mp3_stop被提前调用，可能是你写的代码有问题，比如这种代码：
/********有问题的代码***************/
var rec=Recorder();rec.open(function(){rec.start();setTimeout(function(){
//--------------------------------

var worker=rec.engineCtx.worker;
worker.onmessageBak=worker.onmessageBak||worker.onmessage;
worker.onmessage=function(e){
	console.log("worker callback",e);
	worker.onmessageBak(e);
	console.log("已彻底结束");
};

rec.stop(function(){
	console.error("永远不会被调用 success，注释掉close就会显示")
},function(){
	console.error("永远不会被调用 fail，注释掉close就会显示")
});
console.log("等待stop结果")

rec.close();//这个调用和rec.stop同步执行，这种写法是错误的，应该把close放到stop回调里面

//---------------------------------
},1000);});

这个例子里面注释掉rec.close这行就正常了。

上面这些代码的调用顺序基本上是这样的：
-> rec.stop()							#wait success callback
	-> rec.engineCtx.mp3_complete()				#wait mp3_complete callback
			-> worker.complete command execute	#wait worker onmessage

			#worker onmessage()
			#mp3_complete callback()

			#success callback() --最终结果回调
			-> rec._stop() --清理资源
			-> rec.engineCtx.mp3_stop()
			-> worker.stop command execute
			-> delete worker ctx

-> 其他同步执行的代码

Recorder里面调用stop方法后，rec.engineCtx.mp3_stop肯定是在worker onmessage回调后再执行的，如果没有onmessage回调是不可能执行到rec.engineCtx.mp3_stop方法（也就是Recorder内部的rec._stop方法），除非rec.stop没有完成就调用了rec.close清理了所有资源。

为啥我是先掉了mp3_stop再掉的onmessage，然后回调执行不了

内部方法rec._stop存在两种情况被调用，一种是rec.stop完成录音、另一种是rec.close终止录音。你这个engineCtx.mp3_stop被提前调用，可能是你写的代码有问题，比如这种代码：
/********有问题的代码***************/
var rec=Recorder();rec.open(function(){rec.start();setTimeout(function(){
//--------------------------------

var worker=rec.engineCtx.worker;
worker.onmessageBak=worker.onmessageBak||worker.onmessage;
worker.onmessage=function(e){
	console.log("worker callback",e.data);
	worker.onmessageBak(e);
	console.log("已彻底结束");
};

rec.stop(function(){
	console.error("永远不会被调用 success，注释掉close就会显示")
},function(){
	console.error("永远不会被调用 fail，注释掉close就会显示")
});
console.log("等待stop结果")

rec.close();//这个调用和rec.stop同步执行，这种写法是错误的，应该把close放到stop回调里面

//---------------------------------
},1000);});

这个例子里面注释掉rec.close这行就正常了。

仔细看了一下，是我的写法错了


text:
api-server 运行错误该如何解决呢

ORM]2024/02/06 13:12:00 register db Ping default, Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
2024/02/06 13:12:00.901 [E] [mysql.go:49]  sqlite3 数据库注册失败 register db Ping default, Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub

自己编译了，没设cgo_enable=0
ubuntu 20 go1.18
rustdesk-api-server1.zip
可以在我的centos6下运行了 感谢作者

可以请教编译的方法和过程么

authors: MrChenhtlss pope-L


text:
python3 branch / truthfinder broken

[?] TruthFinder
  [!] Please enter a city,state,or zip - ex: (AL=Alabama|CO=Colorado) NC
  [!] Please enter the persons biological sex - ex: (M|F) M
  [!] Is the person older than 30? - ex: (Y|n) Y
  [+] Name:
  [+] AKA: Unknown
  [+] Age: 48
  [+] Location(s):
    [=] City:State:
Locations Include:

hi
is this a "wont fix" or is it "fixed" . wondering what the reason for closing the issue is
thank you

repo: xillwillx/skiptracer


text:
后期有对讲功能的计划吗

可以用http实现吗

不会，建议你了解下RTC和直播的区别。
你可以了解下webrtc。

还有一个问题想咨询您，推tcp/rtp/ps流到mediaserver，vlc拉rtmp，开始延时是五六秒的样子，第二条早上延时到了十一二秒，我拜读了一下您的代码，里面用了缓冲，是缓冲导致的吗？ 谢谢

缓冲只是GOP缓存，目的是为了秒开画面，在播放器打开视频后会一股脑丢给播放器。
所以这个缓存不会导致延时累积。
延时累积是由于播放器网络抖动导致的，或者干脆摄像头的时间戳有问题。

你可以看看wiki关于延时的文章

好的 谢谢您的解答

authors: dengchaowen-cx xiongziliang

repo: xiongziliang/ZLMediaKit


text:
Implement Enhanced Gibbet and Gallows proc tracking

Completes Task "Enhanced vs Unenhanced Gibbet" in #1372
Included functionality:
Tracks dropped Enhanced Gibbet and Enhanced Gallows procs
Tracks overwritten Enhanced Gibbet and Enhanced Gallows procs
Edit alongside 2b93f73: fixed incorrect task reference

RE: Commit 050ffac: I spoke with Agile, Toast, and Kelos in discord about an issue with CoreProc, and after significant discussion, the consensus we came to was that Void/Cross reaping tracking should be spun out and included with the Enshroud tracker, since those actions will be tracked as part of identifying a "standard" enshroud window

@ayyaruq if you could go in and make sure that your code passes lint, I'd appreciate it. I'm not on my usual development computer, so it'll be very difficult for me to fix it myself. lint error above is what I couldn't fix myself.

Thanks so much.
Also, I apologise for my time earlier, i didn't notice that it was unprofessional until after you had already posted a couple commits.

repo: xivanalysis/xivanalysis


text:
PDF and Docs file support

Allow PDF and other Docx to be uploaded and used

I wonder if there is a limit on the number of times. I can use my gpt4 twice and gpt3.5 ten times, but the demo video is unlimited

does it stale PR #105 intentionally ?

authors: Timothyxxx adlai yaolicont

repo: xlang-ai/OpenAgents


text:
fix: typos in real_agents/adapters/data_model/

This pull request fixes typos in Python files under the directory real_agents/adapters/data_model/, which includes function definition helper text. I request the repository maintainers to review and merge it. Thanks! :heart:

Hi, thanks for your correction. I have checked and merged it.

authors: BlankCheng shresthasurav


text:
ImportError: cannot import name 'TemporalDeformableAttention' from 'models.ops.temporal_deform_attn'

I encountered the above error when trying to run the demo code.

Did you successfully compile the CUDA extensions? “TemporalDeformableAttention” is a CUDA extension that must be compiled first.

The problem was fixed after compiling. Thanks!


text:
git xl is not a git command

I am running win 7, downloaded the git-xl-windows-0.4.1.exe file, and installed it.
However when I try to install xl in git with
git xl install
I get the error
git: 'xl' is not a git command.
I have install xltrails without a problem.  I have recently uninstalled xltrails but that did not correct the xl install problem
suggestions?

When you go to Control Panel > Programs > Programs and Features, do you see Git XL version 0.4.1 in the list?

Yes I do
--Charlie
From: Felix Zumstein notifications@github.com
Sent: November 20, 2019 3:37 AM
To: xlwings/git-xl git-xl@noreply.github.com
Cc: Charles Hall charles@ryanexcel.com; Author author@noreply.github.com
Subject: Re: [xlwings/git-xl] git xl is not a git command (#50)
When you go to Control Panel > Programs > Programs and Features, do you see Git XL version 0.4.1 in the list?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xlwings/git-xl/issues/50?email_source=notifications&email_token=AF626REDVHQXUKOGZZBZZJTQUTZMDA5CNFSM4JPH473KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEERFOKA#issuecomment-555898664 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF626REFRDRDFL62BYRWRB3QUTZMDANCNFSM4JPH473A .

I would uninstall Git XL and then re-install from scratch, I couldn't replicate the issues here.

I also have xltrail installed – I have been using it for 8 months – the xl documentation says they can coexist but maybe they cannot?  Or maybe there is an order to the install process.  I also have sourcetree installed.  Should I uninstall everything, and then start with installing xl?
--Charlie
From: Felix Zumstein notifications@github.com
Sent: November 21, 2019 4:10 AM
To: xlwings/git-xl git-xl@noreply.github.com
Cc: Charles Hall charles@ryanexcel.com; Author author@noreply.github.com
Subject: Re: [xlwings/git-xl] git xl is not a git command (#50)
I would uninstall Git XL and then re-install from scratch, I couldn't replicate the issues here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xlwings/git-xl/issues/50?email_source=notifications&email_token=AF626RASOBWTVNFXYJZ6WOLQUZF7PA5CNFSM4JPH473KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEZPYKI#issuecomment-556989481 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF626RGHC25CETQJB7WMS73QUZF7PANCNFSM4JPH473A .

There seems to be some confusion: Git XL was formerly (before v0.4.0) called git-xltrail. You should only have either Git XL or the old git-xltrail installed, they can't co-exist.
Now, what you probably refer to is that Git XL can be used alongside with xltrail. By that we mean the web application under www.xltrail.com. Renaming this project here into Git XL was exactly for that reason, to stop the confusion between xltrail, the web tool and Git XL, the local Git extension.

Thanks – that has resolved my issues
--Charlie
From: Felix Zumstein notifications@github.com
Sent: November 21, 2019 10:06 AM
To: xlwings/git-xl git-xl@noreply.github.com
Cc: Charles Hall charles@ryanexcel.com; Author author@noreply.github.com
Subject: Re: [xlwings/git-xl] git xl is not a git command (#50)
There seems to be some confusion: Git XL was formerly (before v0.4.0) called git-xltrail. You should only have either Git XL or the old git-xltrail installed, they can't co-exist.
Now, what you probably refer to is that Git XL can be used alongside with xltrail. By that we mean the web application under www.xltrail.com http://www.xltrail.com . Renaming this project here into Git XL was exactly for that reason, to stop the confusion between xltrail, the web tool and Git XL, the local Git extension.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xlwings/git-xl/issues/50?email_source=notifications&email_token=AF626RHXXB6H5GXYI4NPZL3QU2PWBA5CNFSM4JPH473KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE2Q64A#issuecomment-557125488 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF626RDTCQTTFHL3T2N2QGDQU2PWBANCNFSM4JPH473A .

authors: CharlesRHall fzumstein

repo: xlwings/git-xl