text:
bug: java.util.concurrent.ExecutionException: java.lang.Exception: Failed to start Cody agent

Plugin version: 5.3.27
IDE version: RM-233.13135.91
Stacktrace:
java.util.concurrent.ExecutionException: java.lang.Exception: Failed to start Cody agent
	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
	at com.sourcegraph.cody.agent.CodyAgentService$Companion.withAgent$lambda$0(CodyAgentService.kt:122)
	at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:249)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:32)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.Exception: Failed to start Cody agent
	at com.sourcegraph.cody.agent.CodyAgentService.startAgent$lambda$3(CodyAgentService.kt:82)
	... 12 more
Caused by: java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")

Error: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
    at f (C:\snapshot\dist\agent.js)
    at e3.t3 (C:\snapshot\dist\agent.js)
    at new e3 (C:\snapshot\dist\agent.js)
    at Function.parse (C:\snapshot\dist\agent.js)
    at _Uri.parse (C:\snapshot\dist\agent.js)
    at C:\snapshot\dist\agent.js
    at MessageDecoder.callback (C:\snapshot\dist\agent.js)
    at MessageDecoder._write (C:\snapshot\dist\agent.js)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at Socket.ondata (node:internal/streams/readable:766:22)
    at Socket.emit (node:events:537:28)
    at Socket.emit (node:domain:482:12)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
	at com.sourcegraph.cody.agent.CodyAgentService.startAgent$lambda$3(CodyAgentService.kt:69)
	... 12 more
Caused by: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")

Error: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
    at f (C:\snapshot\dist\agent.js)
    at e3.t3 (C:\snapshot\dist\agent.js)
    at new e3 (C:\snapshot\dist\agent.js)
    at Function.parse (C:\snapshot\dist\agent.js)
    at _Uri.parse (C:\snapshot\dist\agent.js)
    at C:\snapshot\dist\agent.js
    at MessageDecoder.callback (C:\snapshot\dist\agent.js)
    at MessageDecoder._write (C:\snapshot\dist\agent.js)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at Socket.ondata (node:internal/streams/readable:766:22)
    at Socket.emit (node:events:537:28)
    at Socket.emit (node:domain:482:12)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:209)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
	at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	... 1 more

closing in favour of https://github.com/sourcegraph/jetbrains/issues/723


text:
Automated PR: Standardising Files

This PR will standardise the files we have with out agreed spec in sous-chefs/repo-management.
This repo has been identified by topic(s) of chef-cookbook

Released as: 11.1.6

source: gharchive/pull-request

repo: sous-chefs/git

license_type: permissive

license_source: github-api


text:
Automated PR: Standardising Files

This PR will standardise the files we have with out agreed spec in sous-chefs/repo-management.
This repo has been identified by topic(s) of chef-cookbook

Released as: 8.0.1

repo: sous-chefs/perl


text:
To the immoral bastard.

I forgot to mention something important yesterday, and I don't feel like rejoining your QQ group either. I want to ask, did you use any free open-source software for this project? Did you pay for it? I see you have set up a donation option. Did you donate to the creators of the libraries you used?

你有本事不要用我这个项目，还在这用英文在这阴阳，别在这找安全感

你还特地开了个github账号，真是难为你了
真是没见过你这种厚颜无耻的家伙，就你这种人作为程序眼真是一种侮辱

就会躲在网络背后在那唧唧歪歪，有本事现实碰一碰，你这种人胆敢实名，你看会不会被喷死

哈哈哈，维护开源社区是这样的，经常被白嫖，有一些特殊需求或者个性化需求还直接把你当牛马使唤

脖子上面顶的肿瘤吧，赶紧精神病院看看。算了你还是别去了，浪费社会资源，自己挖个土坑躺进去吧，记得找个阴凉处，别他喵晒死了，SB

I forgot to mention something important yesterday, and I don't feel like rejoining your QQ group either. I want to ask, did you use any free open-source software for this project? Did you pay for it? I see you have set up a donation option. Did you donate to the creators of the libraries you used?

by的 你也是闲的蛋疼 粑粑吃少了

这种人就是给他惯的， 在这找存在感，显得自己能耐。

喜欢用英文是吧？送你一句
sb

作者没有任何义务为你进行服务，你没有任何的权力对作者提出要求，从聊天记录来看，你无礼，从issue来看，你缺德。ID我记下了，我的开源项目完全禁止此人使用。

逆天的敏感哥，他站在道德的制高点，我看不清他的脸

他说的真好,  看在我夸你的份上能v我50吗 @wtyuii5

傻逼,敏感哥,爱jb用不用,求着你了?找嘛存在感呢你

这是来自QQ邮箱的假期自动回复邮件。你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。

不是所有身份证的人都有身份，装大尾巴狼，还拽上英文了

典型的拿来主义，端起碗喊饿，放下筷子骂娘，嫌弃这不好那不好，怎么不见你开源做贡献呢

Did your mother drink sheep urine before she gave birth to you?

1、开源软件是志愿者基于兴趣和热情开发的，它们的目的是为了共享知识和技术。要求这些志愿者提供24/7的免费支持是不现实的。
2、开源社区鼓励用户自己动手解决问题，并在遇到困难时相互帮助。依赖社区的力量，而不是单方面索取支持，才是开源精神的体现。
3、开发者投入了大量时间和精力来开发这些免费资源，我们在使用这些资源时应当心存感激，而不是一味索求。
4、许多开源项目提供付费支持服务或接受捐赠，如果你需要更多的帮助，不妨考虑这些选项，这不仅能解决你的问题，也能支持项目的持续发展。

你有本事不要用我这个项目，还在这用英文在这阴阳，别在这找存在感

The response is really quick. Answer the question directly. Have you paid for the free library you used?

你有本事不要用我这个项目，还在这用英文在这阴阳，别在这找存在感

The response is really quick. Answer the question directly. Have you paid for the free library you used?

内心这么强大的吗，还是说你选择蒙住自己的眼睛在这说一些废话

不愧是程序员界的版本T0

你本事不要用我这个项目，还在这用英语在这阴阳，别在这找存在感

回复很快，直接回答问题，你用过的免费图书馆有付费吗？

抱歉，我们中国人是一家人，家长同意我进去免费看书了，我为什么要掏钱。别顶着你那硕大的后期脑溜瞎逛了，趁还有时间多看看自己家人，哦不对 你戾气这么重应该没有家人吧，当初she你出来的人怎么想的，没有把你包起来丢了？ 看看能看懂不，看不懂可以让你鹰酱大爹给你多研究一下单词 ☺

你有本事不要用我这个项目，还在这用英文在这阴阳，别在这找存在感

The response is really quick. Answer the question directly. Have you paid for the free library you used?

我可去你妈逼的吧，是中国人就用你那逼嘴说中文，少在一边白嫖开源项目，一边骂娘了，嘴里是舔了你妈那月经不调的逼吗，突然间给自己舌头感染麻了说不了中文了是吧？！

你有本事不要用我这个项目，还在这用英文在这阴阳，别在这找存在感

The response is really quick. Answer the question directly. Have you paid for the free library you used?

傻B

I forgot to mention something important yesterday, and I don't feel like rejoining your QQ group either. I want to ask, did you use any free open-source software for this project? Did you pay for it? I see you have set up a donation option. Did you donate to the creators of the libraries you used?

宝贝 好像你上班写的代码都是用的开源库欸 怎么好意思问老板要工资的呀

#454

#454

高低立见，你可以拉更多人来围观

#454

高低立见，你可以拉更多人来围观

如你所愿

#454

高低立见，你可以拉更多人来围观

呦 还会成语呢 不说你的母语了？

大号亮出来了
image
https://github.com/Wrong2014
用错号了吧，别激动，就这点本事还说别人破防呢，发现自己用错了好秒删了，可惜还是被我抓到了，好蠢。

心不虚，就用自己大号上啊，用啥小号

大号亮出来了
https://github.com/Wrong2014
942131590@qq.com
用错号了吧，别激动，就这点本事还说别人破防呢，发现自己用错了好秒删了，可惜还是被我抓到了，好蠢。

没脑子就是没脑子，号嘛，我还可以注册很多，建议真牛逼查清楚再发，免得误伤 哈哈  [942131590@qq.com] 可怜这位哥们 替我挡刀了，

哈哈哈哈哈哈哈

我是来围观的，但是我想骂一句，死niang的东西

谁跟你说软件开源之后，随着发展进入成熟阶段，就不能新建出付费版分支，公司给不起？ 还是你自己给不起？
再说，你一进群就问有没有人能给你做xxx， 程序员多一个你真的是多了一坨屎

感觉很幼稚，自己有能力自己写啊，又嫌弃别人的，你写得很好，也完全可以开源赚钱啊

围观，真的好搞笑，我估计是自己思想有问题吧。
开源项目就是用来白嫖的啊。但是你如果想要别人按照自己的需求来白嫖，那真的无敌了。
换位思考，你老板让你按照他的需求来做，但是老板不给你工资，老板白嫖你，你可愿意？

智障行为，你特么爱用就用，什么叫有心服务于人，你什么牛马服务你，傻逼东西

九年义务教育教不会你做人，你应该不是中国人吧，可能是个杂种

作者没有任何义务为你进行服务，你没有任何的权力对作者提出要求，从聊天记录来看，你无礼，从issue来看，你缺德。ID我记下了，我的开源项目完全禁止此人使用。

禁止某个具体用户使用，这种用啥方法可以实现？

sb

我勒个去，这种人配当人？！

笑死 开源变成有心服务别人，逆天

#454

高低立见，你可以拉更多人来围观

来围观了,骂你一句SB

白嫖开源好久了

source: gharchive/issue

repo: soybeanjs/soybean-admin

license: MIT


text:
OSM object overwritten with old version

Hi, I'm not sure whether this is the right place to report this...
Please have a look at this changeset on OSM which says "Modified via wheelmap.org". Here, a user changed some tags on an object (a chapel, link on Wheelmap). If you look at the object's history, you'll see that the change replaced some tags (e.g. denomination, building) with the values they had when the same user last edited the object two years ago, and it also removed several addr:* tags that weren't there at that time. Curiously, some other tags that were added later have not been touched.
Do you have an explanation for this? Note that I didn't contact the user yet because I didn't want to bother him with this problem, as I suspect it's a bug in Wheelmap. Or is this an already fixed bug, and he's simply using an old version of the app? Then I'll send him a message and ask him to update.

Thanks for this detailed report and your offer to help, much appreciated! 🙂
This changeset must have been generated by a very old version of a Wheelmap app. As there is no means to deactivate this app remotely, it would be helpful if you write the message as you proposed. Thanks again!
Feel free to reopen if there is more to add here.

authors: opyh schuetzm

repo: sozialhelden/wheelmap-frontend


text:
Wheelmap corrupts OSM tagging if a tag contains &

If a tag contains & and you edit this POI via Wheelmap web interface, Wheelmap replaces & by & afterwards. At the second time you edit this object via Wheelmap, Wheelmap replaces & by &#38; at OSM data. In other words, every time a Wheelmap user modifies an object which has a tag which contains &, this & is changed to &. This changes OSM data (or, in other words, corrupts them).
Example: If I go to Sachsenheim station, click on "Edit" and afterwards on "Save" (without editing anything) operator=DB Station&Service AG is replaced by operator=DB Station&Service AG.
It seems that every OSM tag can be corrupted this way. I have fixed this type of data corruption today in whole Germany (search data via Overpass API and fix it object by object).
The bug only occurs if the data is edited by logged-in users. Edits done anonymously do not cause these data corruptions. It seems that only the web interface and neither the Android nor the iOS app is affected.

Hi @Nakaner,
thx for the report. We had this issue a few years back and fixed it. But yeah, encoding problem occur randomly.
As we are using rosemary as OSM API client, the bug is likely to happen in there.
https://github.com/sozialhelden/rosemary
Cheers Christoph

@christoph-buente
shall I report it there?
I have used Firefox 36.0 at Arch Linux. I don't know what browser other users used when the bug occured.

I think it is not browser dependent. The data is supposed to be utf-8 encoded, but as & is an html_entity it might be some funny use case. So yes, i think it is a good idea to report it at rosemary issues.

authors: Nakaner christoph-buente

repo: sozialhelden/wheelmap-open-source

license: mit

license_source: bigquery


text:
Error with running the bot

I got this error when trying to run the bot using node index.js TypeError: Cannot read property 'sendEmbed' of undefined
Any idea about this? Thank you for your help!

I recently just finished rewriting the bot and the sendEmbed code is no longer being used. Open another issue if this still is a problem.

repo: spAnser/discord-coc-war-announcer


text:
Lobby songs shouldn't loop

Description
None of them were designed to loop, so they usually get annoying very quickly after looping. This is also how it worked in SS13.

One of the problems are that server is sending info on what to play for clients, and lobby is avaialble for late joiners always, meaning that there always should be soundtrack name served. So options as they seem now

server should always send off next song for the whole round
client should pick some random song by itself! (will it affect admin music? dunno)
server should send off
server should track how long is soundtrack and send changes on its expected completion (very bad idea, as people will join in different times and will hear only part of track). I'd say that sending to late-joiners current time of track is questionable, as it's going to create extra complexity
client should receive song, play once, then just stop.
Latter seems like combination of most reasonable and easiest to implement!

Fixed by #25530

authors: Fildrance Flareguy


text:
New mind role heisentest

Description
See stack trace https://github.com/space-wizards/space-station-14/actions/runs/11279674612/job/31370933705?pr=32737
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
  Failed DeleteAllThenGhost [335 ms]
  Error Message:
   Multiple failures or warnings in test:
  1) SERVER: 0.307s [ERRO] entity: Caught exception while raising event EntityTerminatingEvent on entity Carry Boyer (111683/n111683, MobHuman)
System.Collections.Generic.KeyNotFoundException: Entity 111682 does not have a component of type Content.Shared.Roles.MindRoleComponent
   at Content.Shared.Roles.SharedRoleSystem.CheckAntagonistStatus(EntityUid mindId) in /home/runner/work/space-station-14/space-station-14/Content.Shared/Roles/SharedRoleSystem.cs:line 481
   at Content.Shared.Roles.SharedRoleSystem.MindIsAntagonist(Nullable`1 mindId) in /home/runner/work/space-station-14/space-station-14/Content.Shared/Roles/SharedRoleSystem.cs:line 444
   at Content.Server.Administration.Systems.AdminSystem.GetPlayerInfo(SessionData data, ICommonSession session) in /home/runner/work/space-station-14/space-station-14/Content.Server/Administration/Systems/AdminSystem.cs:line 245
   at Content.Server.Administration.Systems.AdminSystem.UpdatePlayerList(ICommonSession player) in /home/runner/work/space-station-14/space-station-14/Content.Server/Administration/Systems/AdminSystem.cs:line 135
   at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEvent[TEvent](EntityUid uid, TEvent args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 200
   at Robust.Shared.Player.SharedPlayerManager.Detach(ICommonSession session) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Player/SharedPlayerManager.Sessions.cs:line 188
   at Robust.Shared.Player.SharedPlayerManager.SetAttachedEntity(ICommonSession session, Nullable`1 uid, ICommonSession& kicked, Boolean force) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Player/SharedPlayerManager.Sessions.cs:line 170
   at Content.Server.Mind.MindSystem.TransferTo(EntityUid mindId, Nullable`1 entity, Boolean ghostCheckOverride, Boolean createGhost, MindComponent mind) in /home/runner/work/space-station-14/space-station-14/Content.Server/Mind/MindSystem.cs:line 259
   at Content.Server.Mind.MindSystem.OnMindContainerTerminating(EntityUid uid, MindContainerComponent component, EntityTerminatingEvent& args) in /home/runner/work/space-station-14/space-station-14/Content.Server/Mind/MindSystem.cs:line 69
   at Robust.Shared.GameObjects.EntityEventBus.EntDispatch(EntityUid euid, Type eventType, Unit& args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 633
   at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEvent[TEvent](EntityUid uid, TEvent& args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 218
   at Robust.Shared.GameObjects.EntityManager.RecursiveFlagEntityTermination(EntityUid uid, MetaDataComponent metadata, TransformComponent xform) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityManager.cs:line 568 Exception:
  2) Console command encountered an error: Failed to execute toolshed command
  3) SERVER: 0.313s [ERRO] con: [HOST]: ExecuteError - entities delete:
NUnit.Framework.AssertionException: Multiple failures or warnings in test:
  1) SERVER: 0.307s [ERRO] entity: Caught exception while raising event EntityTerminatingEvent on entity Carry Boyer (111683/n111683, MobHuman)
System.Collections.Generic.KeyNotFoundException: Entity 111682 does not have a component of type Content.Shared.Roles.MindRoleComponent
   at Content.Shared.Roles.SharedRoleSystem.CheckAntagonistStatus(EntityUid mindId) in /home/runner/work/space-station-14/space-station-14/Content.Shared/Roles/SharedRoleSystem.cs:line 481
   at Content.Shared.Roles.SharedRoleSystem.MindIsAntagonist(Nullable`1 mindId) in /home/runner/work/space-station-14/space-station-14/Content.Shared/Roles/SharedRoleSystem.cs:line 444
   at Content.Server.Administration.Systems.AdminSystem.GetPlayerInfo(SessionData data, ICommonSession session) in /home/runner/work/space-station-14/space-station-14/Content.Server/Administration/Systems/AdminSystem.cs:line 245
   at Content.Server.Administration.Systems.AdminSystem.UpdatePlayerList(ICommonSession player) in /home/runner/work/space-station-14/space-station-14/Content.Server/Administration/Systems/AdminSystem.cs:line 135
   at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEvent[TEvent](EntityUid uid, TEvent args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 200
   at Robust.Shared.Player.SharedPlayerManager.Detach(ICommonSession session) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Player/SharedPlayerManager.Sessions.cs:line 188
   at Robust.Shared.Player.SharedPlayerManager.SetAttachedEntity(ICommonSession session, Nullable`1 uid, ICommonSession& kicked, Boolean force) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Player/SharedPlayerManager.Sessions.cs:line 170
   at Content.Server.Mind.MindSystem.TransferTo(EntityUid mindId, Nullable`1 entity, Boolean ghostCheckOverride, Boolean createGhost, MindComponent mind) in /home/runner/work/space-station-14/space-station-14/Content.Server/Mind/MindSystem.cs:line 259
   at Content.Server.Mind.MindSystem.OnMindContainerTerminating(EntityUid uid, MindContainerComponent component, EntityTerminatingEvent& args) in /home/runner/work/space-station-14/space-station-14/Content.Server/Mind/MindSystem.cs:line 69
   at Robust.Shared.GameObjects.EntityEventBus.EntDispatch(EntityUid euid, Type eventType, Unit& args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 633
   at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEvent[TEvent](EntityUid uid, TEvent& args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 218
   at Robust.Shared.GameObjects.EntityManager.RecursiveFlagEntityTermination(EntityUid uid, MetaDataComponent metadata, TransformComponent xform) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityManager.cs:line 568 Exception:
  2) Console command encountered an error: Failed to execute toolshed command

   at NUnit.Framework.Assert.ReportFailure(String message)
   at NUnit.Framework.Assert.Fail(String message)
   at Robust.UnitTesting.TestingServerConsoleHost.WriteError(ICommonSession session, String text) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/TestingConsoleHost.cs:line 13
   at Robust.Shared.Console.ConsoleShell.WriteError(String text) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Console/ConsoleShell.cs:line 60
   at Robust.Server.Console.ServerConsoleHost.ExecuteInShell(IConsoleShell shell, String command) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/Console/ServerConsoleHost.cs:line 142 Exception:

  Stack Trace:
     at Content.IntegrationTests.PoolTestLogHandler.Log(String sawmillName, LogEvent message) in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/PoolTestLogHandler.cs:line 66
   at Robust.Shared.Log.LogManager.Sawmill.LogInternal(String sourceSawmill, LogEvent message) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Log/LogManager.Sawmill.cs:line 106
   at Robust.Shared.Log.LogManager.Sawmill.LogInternal(String sourceSawmill, LogEvent message) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Log/LogManager.Sawmill.cs:line 125
   at Robust.Shared.Log.LogManager.Sawmill.Log(LogLevel level, String message, Object[] args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Log/LogManager.Sawmill.cs:line 96
   at Robust.Shared.Log.LogManager.Sawmill.Error(String message) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Log/LogManager.Sawmill.cs:line 174
   at Robust.Server.Console.ServerConsoleHost.ExecuteInShell(IConsoleShell shell, String command) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/Console/ServerConsoleHost.cs:line 150
   at Robust.Server.Console.ServerConsoleHost.ExecuteCommand(ICommonSession session, String command) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/Console/ServerConsoleHost.cs:line 36
   at Robust.Shared.Console.ConsoleHost.ExecuteCommand(String command) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Console/ConsoleHost.cs:line 239
   at Content.IntegrationTests.Tests.Minds.MindTests.<>c__DisplayClass0_0.<DeleteAllThenGhost>b__0() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Tests/Minds/MindTest.DeleteAllThenGhost.cs:line 27
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationGameLoop.SingleThreadRunUntilEmpty() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 1098
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationGameLoop.Run() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 1085
   at Robust.UnitTesting.RobustIntegrationTest.ServerIntegrationInstance._serverMain() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 656
--- End of stack trace from previous location ---
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationInstance.WaitIdleImplAsync(Boolean throwOnUnhandled, CancellationToken cancellationToken) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 450
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationInstance.WaitPost(Action post) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 573
   at Content.IntegrationTests.Tests.Minds.MindTests.DeleteAllThenGhost() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Tests/Minds/MindTest.DeleteAllThenGhost.cs:line 27
   at Content.IntegrationTests.Tests.Minds.MindTests.DeleteAllThenGhost() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Tests/Minds/MindTest.DeleteAllThenGhost.cs:line 59
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

1)    at Content.IntegrationTests.Pair.TestPair.OnDirtyDispose() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Pair/TestPair.Recycle.cs:line 34
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Content.IntegrationTests.Pair.TestPair.OnDirtyDispose()
   at Content.IntegrationTests.Pair.TestPair.DisposeAsync() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Pair/TestPair.Recycle.cs:line 121
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Content.IntegrationTests.Pair.TestPair.DisposeAsync()
   at Content.IntegrationTests.Tests.Minds.MindTests.DeleteAllThenGhost() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Tests/Minds/MindTest.DeleteAllThenGhost.cs:line 59
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s)

Reproduction
Run integration tests
Hope that it fails
Additional context
Likely introduced in #31318

I have not been able to trigger the test locally on the latest master after an hour of running the test.
In any case, I'm not really sure it's because of mind roles anymore, because I checked and Mind Roles was merged 10 hours before the first occurence, and it has been happening way more frequently than that.

The only merge inbetween is #32700, which itself did have a test fail, which was discarded as a heisenfail. It was not exactly this test that failed, though the scope of that test seems similar
https://github.com/space-wizards/space-station-14/actions/runs/11276037983/job/31358877581#step:10:313
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
  Failed SpawnAndDeleteAllEntitiesInTheSameSpot [2 m 52 s]
  Error Message:
   System.InvalidOperationException : Nullable object must have a value.

  1) Test was dirty-disposed.

  Stack Trace:
     at System.Nullable`1.get_Value()
   at Content.Shared.Projectiles.SharedProjectileSystem.OnEmbedProjectileHit(EntityUid uid, EmbeddableProjectileComponent component, ProjectileHitEvent& args) in /home/runner/work/space-station-14/space-station-14/Content.Shared/Projectiles/SharedProjectileSystem.cs:line 107
   at Robust.Shared.GameObjects.EntityEventBus.<>c__DisplayClass56_0`2.<SubscribeLocalEvent>g__EventHandler|0(EntityUid uid, IComponent comp, TEvent& args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 305
   at Robust.Shared.GameObjects.EntityEventBus.<>c__DisplayClass67_0`1.<EntSubscribe>b__0(EntityUid uid, IComponent comp, Unit& ev) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 460
   at Robust.Shared.GameObjects.EntityEventBus.EntDispatch(EntityUid euid, Type eventType, Unit& args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 633
   at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEventCore(EntityUid uid, Unit& unitRef, Type type, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 240
   at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEvent[TEvent](EntityUid uid, TEvent& args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 218
   at Robust.Shared.GameObjects.EntitySystem.RaiseLocalEvent[TEvent](EntityUid uid, TEvent& args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntitySystem.cs:line 170
   at Content.Server.Projectiles.ProjectileSystem.OnStartCollide(EntityUid uid, ProjectileComponent component, StartCollideEvent& args) in /home/runner/work/space-station-14/space-station-14/Content.Server/Projectiles/ProjectileSystem.cs:line 45
   at Robust.Shared.GameObjects.EntityEventBus.EntDispatch(EntityUid euid, Type eventType, Unit& args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 633
   at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEvent[TEvent](EntityUid uid, TEvent& args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 218
   at Robust.Shared.Physics.Systems.SharedPhysicsSystem.CollideContacts() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Contacts.cs:line 563
   at Robust.Shared.Physics.Systems.SharedPhysicsSystem.SimulateWorld(Single deltaTime, Boolean prediction) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.cs:line 301
   at Robust.Shared.GameObjects.EntityManager.TickUpdate(Single frameTime, Boolean noPredictions, Histogram histogram) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityManager.cs:line 273
   at Robust.Server.GameObjects.ServerEntityManager.TickUpdate(Single frameTime, Boolean noPredictions, Histogram histogram) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/GameObjects/ServerEntityManager.cs:line 196
   at Robust.Server.BaseServer.Update(FrameEventArgs frameEventArgs) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/BaseServer.cs:line 704
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationGameLoop.SingleThreadRunUntilEmpty() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 1098
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationGameLoop.Run() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 1085
   at Robust.UnitTesting.RobustIntegrationTest.ServerIntegrationInstance._serverMain() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 656
--- End of stack trace from previous location ---
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationInstance.WaitIdleImplAsync(Boolean throwOnUnhandled, CancellationToken cancellationToken) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 450
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationInstance.WaitRunTicks(Int32 ticks) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 542
   at Content.IntegrationTests.Tests.EntityTest.SpawnAndDeleteAllEntitiesInTheSameSpot() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Tests/EntityTest.cs:line 110
   at Content.IntegrationTests.Tests.EntityTest.SpawnAndDeleteAllEntitiesInTheSameSpot() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Tests/EntityTest.cs:line 133
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass3_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at NUnit.Framework.Internal.ContextUtils.DoIsolated(ContextCallback callback, Object state)
   at NUnit.Framework.Internal.ContextUtils.DoIsolated[T](Func`1 func)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.PerformWork()
1)    at Content.IntegrationTests.Pair.TestPair.OnDirtyDispose() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Pair/TestPair.Recycle.cs:line 34
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Content.IntegrationTests.Pair.TestPair.OnDirtyDispose()
   at Content.IntegrationTests.Pair.TestPair.DisposeAsync() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Pair/TestPair.Recycle.cs:line 121
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Content.IntegrationTests.Pair.TestPair.DisposeAsync()
   at Content.IntegrationTests.Tests.EntityTest.SpawnAndDeleteAllEntitiesInTheSameSpot() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Tests/EntityTest.cs:line 133
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s)

2)    at System.Nullable`1.get_Value()
   at Content.Shared.Projectiles.SharedProjectileSystem.OnEmbedProjectileHit(EntityUid uid, EmbeddableProjectileComponent component, ProjectileHitEvent& args) in /home/runner/work/space-station-14/space-station-14/Content.Shared/Projectiles/SharedProjectileSystem.cs:line 107
   at Robust.Shared.GameObjects.EntityEventBus.<>c__DisplayClass56_0`2.<SubscribeLocalEvent>g__EventHandler|0(EntityUid uid, IComponent comp, TEvent& args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 305
   at Robust.Shared.GameObjects.EntityEventBus.<>c__DisplayClass67_0`1.<EntSubscribe>b__0(EntityUid uid, IComponent comp, Unit& ev) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 460
   at Robust.Shared.GameObjects.EntityEventBus.EntDispatch(EntityUid euid, Type eventType, Unit& args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 633
   at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEventCore(EntityUid uid, Unit& unitRef, Type type, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 240
   at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEvent[TEvent](EntityUid uid, TEvent& args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 218
   at Robust.Shared.GameObjects.EntitySystem.RaiseLocalEvent[TEvent](EntityUid uid, TEvent& args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntitySystem.cs:line 170
   at Content.Server.Projectiles.ProjectileSystem.OnStartCollide(EntityUid uid, ProjectileComponent component, StartCollideEvent& args) in /home/runner/work/space-station-14/space-station-14/Content.Server/Projectiles/ProjectileSystem.cs:line 45
   at Robust.Shared.GameObjects.EntityEventBus.EntDispatch(EntityUid euid, Type eventType, Unit& args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 633
   at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEvent[TEvent](EntityUid uid, TEvent& args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 218
   at Robust.Shared.Physics.Systems.SharedPhysicsSystem.CollideContacts() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Contacts.cs:line 563
   at Robust.Shared.Physics.Systems.SharedPhysicsSystem.SimulateWorld(Single deltaTime, Boolean prediction) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.cs:line 301
   at Robust.Shared.GameObjects.EntityManager.TickUpdate(Single frameTime, Boolean noPredictions, Histogram histogram) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityManager.cs:line 273
   at Robust.Server.GameObjects.ServerEntityManager.TickUpdate(Single frameTime, Boolean noPredictions, Histogram histogram) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/GameObjects/ServerEntityManager.cs:line 196
   at Robust.Server.BaseServer.Update(FrameEventArgs frameEventArgs) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Server/BaseServer.cs:line 704
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationGameLoop.SingleThreadRunUntilEmpty() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 1098
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationGameLoop.Run() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 1085
   at Robust.UnitTesting.RobustIntegrationTest.ServerIntegrationInstance._serverMain() in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 656
--- End of stack trace from previous location ---
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationInstance.WaitIdleImplAsync(Boolean throwOnUnhandled, CancellationToken cancellationToken) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 450
   at Robust.UnitTesting.RobustIntegrationTest.IntegrationInstance.WaitRunTicks(Int32 ticks) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.UnitTesting/RobustIntegrationTest.cs:line 542
   at Content.IntegrationTests.Tests.EntityTest.SpawnAndDeleteAllEntitiesInTheSameSpot() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Tests/EntityTest.cs:line 110
   at Content.IntegrationTests.Tests.EntityTest.SpawnAndDeleteAllEntitiesInTheSameSpot() in /home/runner/work/space-station-14/space-station-14/Content.IntegrationTests/Tests/EntityTest.cs:line 133
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass3_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at NUnit.Framework.Internal.ContextUtils.DoIsolated(ContextCallback callback, Object state)
   at NUnit.Framework.Internal.ContextUtils.DoIsolated[T](Func`1 func)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.PerformWork()

(apparently my mistake was running the failing test by itself)

Another case of the mindrole heisentest:
https://github.com/space-wizards/space-station-14/actions/runs/11288519971/job/31396451606?pr=32710

The only merge inbetween is https://github.com/space-wizards/space-station-14/pull/32700, which itself did have a test fail, which was discarded as a heisenfail. It was not exactly this test that failed, though the scope of that test seems similar

That one is old, it's something with embeddable projectiles where the weapon entity does not exist.

Ok I think I see where the problem is, but for some reason it only happens when I run ALL the tests, it never happens when I only run the 24 Mind tests. And I can't run Debug on ALL tests. So I can't catch this running. But I mostly see how I could resolve the anomalous condition, I just don't see how it can possibly occur


text:
There is no todo list

If you guys don't have a todo list, how are people interested in contributing to this wonderful project going to know what to work on?

inb4 theentiregame

I'd mentioned this in #22 and some other repo was mentioned, but it looks like that's dead now.

This exists: http://www.spacestation14.com/wiki/Roadmap
but this isn't a todo list :(

its dead

lol

Really should just make a Trello or something.

@wakeuphate My issues are gone :O  guess its time to make new ones

#65 please feel free to discuss on there if other things are missing, this list is off the top of my head and ill be adding stuff to it


text:
Fix lemon's juice

About the PR
Screenshots

Changelog

:cl:

fix: Lemons now have lemon juice instead of lime juice.

but but but
how will i make lime cakes now?

but but but how will i make lime cakes now?

probably get some limes.

we dont ... have any ... limes?

on a less shitpost-y note, isn't lime juice available in one of the bar drink dispensers? i believe it's in the soda machine.

on a less shitpost-y note, isn't lime juice available in one of the bar drink dispensers? i believe it's in the soda machine.

It is infact available there.

Looks like it's in both of them

when is someone gonna do a bartending 1984 and force bartenders to source organic juice from botany /s

Thanks, was actually talking to someone about this in discord about half an hour before you added this.

Thanks, was actually talking to someone about this in discord about half an hour before you added this.

I see all

when is someone gonna do a bartending 1984 and force bartenders to source organic juice from botany /s

wyci? :D
also a lot of the juices cant even be planted right now....
but this is also one of those things then, why plant sugar cane when you can just get infinite sugar from chemist or bartender

authors: CormosLemming EmoGarbage404 Kromabae Mervill asperger-sind


text:
Fix names not being propagated by PeopleNowPresentSensorTemplate

Fixes an oversight in #99 where the names given to a PeopleNowPresentSensorTemplate were never applied to the PeopleNowPresentSensor it created.
(As a side note I am not too sure what the benefit of having this field in the template is, as it effectively becomes static data. But this was the behavior pre-#99.)
I have not added this to the changelog since the changes in #99 are yet to be released.
Checklist

[x] Tests added if applicable
[ ] README updated if applicable
[ ] CHANGELOG updated if applicable
[ ] If a commit includes a breaking change, include the string [breaking-change] somewhere in the commit message

(As a side note I am not too sure what the benefit of having this field in the template is, as it effectively becomes static data. But this was the behavior pre-https://github.com/spaceapi-community/spaceapi-rs/pull/99.)

I was also wondering about that. I guess there is no point in having this statically available. We can also just remove it from the template IMO. @dbrgn opinion?

I agree, it doesn't make sense to put this into the template. I guess for now I'd simply remove it from the template, and default to None.

authors: DanNixon dbrgn rnestler

repo: spaceapi-community/spaceapi-rs


text:
homepage main logo

simplify the main logo on the home page so it is a fixed size. It's a good size when it first appears, but then shifts to something else when the screen gets a little wider.

Done

authors: crawlem richoster

repo: spacebetweentherapy/website


text:
Update package.json and readme.md to release 1.0.2

package.json version is currently 1.0.0 this updates both package.json and readme.md to 1.0.2.

Hey, sorry to leave this hanging. There's an imminent release of mithril with types included, at which point I was going to merge the 'class-fact' branch into master with an updated package version which should be in sync with mithril.js 1.0.2 going forward.

The latest has updated the version numbers.

authors: spacejack winksaville


text:
tortoise: add test case for out of order layer

Motivation
Tortoise can't handle an out-of-order layer without reloading votes from all layer past out-of-order layer.
If we want to support such use case we need to re-process blocks from all layers after the one that is out of order.
Closes #

Changes

Test Plan

TODO

[ ] Explain motivation or link existing issue(s)
[ ] Test changes and document test plan
[ ] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors merge

bors merge

repo: spacemeshos/go-spacemesh


text:
Fix config file path

Since 92373df310b838b12b10a00be7a6b38be3e17ee2 it wasn't possible to specify a config file outside of the current directory.

Coverage decreased (-0.01%) to 70.435% when pulling 2983a11f374a7bd9ee0a679f192522a2fdbaa10c on mdboom:fix-config-file-path into 88dee44d3c731243d9af4b16ebd5301bb65ca458 on spacetelescope:master.

LGTM

authors: coveralls mdboom pv

repo: spacetelescope/asv


text:
Setup clean up

This PR changes the setup configuration to:

auto-use astropy-helpers, so that ah_bootstrap will download astropy_helpers if needed.
removes astropy-helpers as a dependency (since the bootstrap process will download it if needed)
adds matplotlib and ipython as dependencies, since both are required for importing imexam to succeed.

All of the proposed changes are to make it easier to autobuild conda packages for  astropy affiliated packages.

Excellent, thanks Matt!

authors: mwcraig sosey

repo: spacetelescope/imexam


text:
convert method fails for HST apertures

I was trying to convert coordinates for the HST apertures, and pysiaf fails.  This is what I did:
import pysiaf
hst=pysiaf.Siaf('HST')
uvis1=hst['IUVIS1']
uvis1.convert(1,1,'sci','det')

The traceback is very long, but the last stanza gives:
~/miniconda3/envs/astroconda37/lib/python3.7/site-packages/pysiaf/aperture.py in linear_transform_model(from_system, to_system, parity, angle_deg)
   2017     if type(angle_deg) not in [int, float, np.float64, np.int64]:
   2018         raise TypeError('Angle has to be a float. It is of type {} and has the value {}'.format(
-> 2019             type(angle_deg), angle_deg))
   2020
   2021     # check for allowed system pairs

TypeError: Angle has to be a float. It is of type <class 'NoneType'> and has the value None

This is running:
pysiaf.version
'0.7.1'
I did this with the JWST apertures, and things seemed to work.  Any advice here?  Is this a issue with the HST reference files?

This is a missing functionality. In all my HST use cases so far I worked with Science pixels and did not convert to Detector pixels.
One would have to find out what the HST equivalent of DetSciAngle is and add it to _hst_to_jwst_keys in aperture.py. (This is also what the error refers to.)

That might exist.  What is the DetSciAngle physically?
R
On Apr 15, 2020, at 2:38 PM, Johannes Sahlmann <notifications@github.commailto:notifications@github.com> wrote:
This is a missing functionality. In all my HST use cases so far I worked with Science pixels and did not convert to Detector pixels.
One would have to find out what the HST equivalent of DetSciAngle is and add it to _hst_to_jwst_keys in aperture.py. (This is also what the error refers to.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/spacetelescope/pysiaf/issues/145#issuecomment-614209291, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACGLBMCXLQJHLVC4JLOPXIDRMX5J7ANCNFSM4MIZPR7Q.

This is the data they have:
http://www.stsci.edu/hst/instrumentation/focus-and-pointing/fov-geometry
unfortunately, you have to actually scroll down and click on “WFC3”, and the last two columns are angles of the V3 axis.  Is that the DetSciAngle?
R
On Apr 15, 2020, at 2:45 PM, Russell Ryan <rryan@stsci.edumailto:rryan@stsci.edu> wrote:
That might exist.  What is the DetSciAngle physically?
R
On Apr 15, 2020, at 2:38 PM, Johannes Sahlmann <notifications@github.commailto:notifications@github.com> wrote:
This is a missing functionality. In all my HST use cases so far I worked with Science pixels and did not convert to Detector pixels.
One would have to find out what the HST equivalent of DetSciAngle is and add it to _hst_to_jwst_keys in aperture.py. (This is also what the error refers to.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/spacetelescope/pysiaf/issues/145#issuecomment-614209291, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACGLBMCXLQJHLVC4JLOPXIDRMX5J7ANCNFSM4MIZPR7Q.

I suggest to consult with @ColinRCox

In the HST SIAF we did not really have any connection with the detector layout. We always worked with a set of image pixels which correspond to the displayed images. Unless anything else is known I would assume these frames are aligned with the detector. The DetSciAngle is the angle between the detector Y axis and the Science (or for HST the iraf) frame Y axis. For JWST this is almost always zero. We have a couple of cases where it is 180 degrees. I would assume for HST you can always assume zero.

Hi Colin  & Johannes,
That’s very informative, thank you.
I looked at the code a bit, but I’m not sure how to assume zero for HST.  I guess I can hack the code to be if NoneType is encountered, use 0 instead.  Is that what you had in mind , or was there an runtime option?
Thanks again,
Russell
Sent from my iPhone
On Apr 16, 2020, at 4:55 PM, Colin Cox notifications@github.com wrote:

In the HST SIAF we did not really have any connection with the detector layout. We always worked with a set of image pixels which correspond to the displayed images. Unless anything else is known I would assume these frames are aligned with the detector. The DetSciAngle is the angle between the detector Y axis and the Science (or for HST the iraf) frame Y axis. For JWST this is almost always zero. We have a couple of cases where it is 180 degrees. I would assume for HST you can always assume zero.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/spacetelescope/pysiaf/issues/145#issuecomment-614890587, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACGLBMA2PRTLW7MD5IFPE2LRM5WFVANCNFSM4MIZPR7Q.

You could try to insert
uvis1.DetSciParity = 1
uvis1.DetSciYAngle = 0.

before the call to .convert

Perfect!  I’ll give it a go.  If it works, then I’ll fiddle with the numbers such that I reproduce a know image.  I’ll report back.
Thanks!!
R
Sent from my iPhone
On Apr 18, 2020, at 11:59 AM, Johannes Sahlmann notifications@github.com wrote:

You could try to insert
uvis1.DetSciParity = 1
uvis1.DetSciYAngle = 0.
before the call to .convert
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/spacetelescope/pysiaf/issues/145#issuecomment-615894429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACGLBMA5BRIFMLGU5NYF7VDRNHE4NANCNFSM4MIZPR7Q.

I ran into this same issue.
I had to do the following to get det_to_tel to work:
uvis1.DetSciParity = 1
uvis1.DetSciYAngle = 0.
uvis1.XDetRef = uvis1.XSciRef
uvis1.YDetRef = uvis1.YSciRef

authors: ColinRCox Johannes-Sahlmann Russell-Ryan jdavies-st

repo: spacetelescope/pysiaf


text:
Sidenav of mission control in mobile view

sidenav closes when clicked on dropdown
check if its a dropdown then do not close sidenav else close on page link

Done. coming in v0.16.0.

repo: spaceuptech/space-cloud


text:
webhook: added delete all command

allows mass deletion of all webhook
logic might need to be improved. current might not be async?
test to be implemented for completeness
docs PR will be required as well

Signed-off-by: Kenneth Lim kennethlimcp@gmail.com

What information about the webhook will be useful during listing?

@kennethlimcp  - would you mind adding (and linking here) a PR to the docs repo for this? Thanks!

Will work on the docs and get back to this ;)

authors: kennethlimcp m-mcgowan

repo: spark/particle-cli


text:
nokogiri install failing

It seems like somehow I don't have the right libraries. Here's the error messages. In previous threads, some people have said that running xcode-select --install works for them; however, when I run that command, I get: xcode-select: error: command line tools are already installed, use "Software Update" to install updates And I think I have the most updated version of x-code (Version 8.0). Any help with this?
`xmlIO.c:1450:52: error: use of undeclared identifier 'LZMA_OK'
ret =  (__libxml2_xzclose((xzFile) context) == LZMA_OK ) ? 0 : -1;
^
1 error generated.
make[2]: *** [xmlIO.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
`

Have you followed the instructions in the installation tutorial?
On Sep 17, 2016 6:48 PM, "Will Victor" notifications@github.com wrote:

It seems like somehow I don't have the right libraries. Here's the error
messages. In previous threads, some people have said that running xcode-select
--install works for them; however, when I run that command, I get: xcode-select:
error: command line tools are already installed, use "Software Update" to
install updates And I think I have the most updated version of x-code
(Version 8.0). Any help with this?
`xmlIO.c:1450:52: error: use of undeclared identifier 'LZMA_OK'
ret = (__libxml2_xzclose((xzFile) context) == LZMA_OK ) ? 0 : -1;
^
1 error generated.
make[2]: *** [xmlIO.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sparklemotion/nokogiri/issues/1532, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAAgD_AHB5_xmplmIA351iJGJsbIDSwmks5qrCfZgaJpZM4J_qPT
.

Closing.

authors: flavorjones willvictor

repo: sparklemotion/nokogiri


text:
Memory access violation / Crash during GC

Was tasked with fixing crash in one production application that was pointing to Nokogiri.
Two day's worth of debugging resulted in following.
My understanding of the issue
Check relevant # --N-- markers in dehydrated reproduction code.
--1--
XML schema document is parsed and by Nokogiri as Libxml2's xmlDoc.
--2--
xsd_doc.first_element_child.children.to_a generates a xmlNodeSet with bunch of xmlNode's, including one with node->type == XML_TEXT_NODE and node->content == '\n'.
--3--
Schema::from_document executes xmlSchemaParse in Libxml2 xmlschemas.c which
calls
	/*
	* Locate and add the schema document.
	*/
	res = xmlSchemaAddSchemaDoc(ctxt, XML_SCHEMA_SCHEMA_MAIN,
	ctxt->URL, ctxt->doc, ctxt->buffer, ctxt->size, NULL,
	NULL, NULL, &bucket);

and later
	/*
	* Remove all the blank text nodes.
	*/
	xmlSchemaCleanupDoc(pctxt, docElem);

The xmlNode representing '\n' is flushed away using xmlFree (ruby_xfree).
--4--
A GC pressure is built up by doing some random array generation. One of RData VALUEs will almost certainly hit place occupied by pruned xmlNode.
During on of array capacity increases, a GC is auto-started which executes push_mark_stack in gc.c with one of data being a RData pointing to xmlNode

This is direct cause of crash.
While GC runs mark & sweep routines, during one of iterations of which, the gc_mark_stacked_objects to pop_mark_stack call  is done which returns RData which has been pushed on mark stack. It is detected as T_DATA with custom dmark (mark in Nokogiri's xml_node.c).
As node was free'd and its memory was reused by others objects, xmlDocPtr doc = node->doc; returns inaccessible memory location. Any attempt to use it down the run yields segfault.
To Reproduce
#! /usr/bin/env ruby

require 'nokogiri'

no_crash_doc = <<~doc
<?xml version="1.0" encoding="UTF-8" ?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:element name="foo" type="xs:string"/></xs:schema>
doc

crash_doc = <<~doc
<?xml version="1.0" encoding="UTF-8" ?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="foo" type="xs:string"/></xs:schema>
doc

body = lambda do |doc|
  # --1--
  xsd_doc = Nokogiri::XML(doc)

  # --2--
  # #to_a is crash culprit
  # Commenting this line/removing array conversion will make crash go away
  xsd_doc.first_element_child.children.to_a

  # --3--
  Nokogiri::XML::Schema.from_document(xsd_doc)

  # --4--
  # This forces population of heap with junky stuff, some of which will
  # leak into place that held freed empty-string xmlNode
  [1,2,3,4,5].repeated_permutation(8).to_a
end

# Testing 'no crash' scenario is not required for crash to occur
# It just shows that single \n variation causes the memory access violation
puts "Testing schema without newline XML_TEXT_NODE / Press any key"
STDIN.gets

body.call(no_crash_doc)

GC.start # Semi clean slate

puts "Testing schema with newline XML_TEXT_NODE / Press any key"
puts "Time is ripe to attach debugger to PID: #{Process.pid}"
STDIN.gets

body.call(crash_doc)

Environment
master nokogiri and bundled libxml2/libxslt, compiled with -O0 (it was a royal pain to get working)
Full C level backtrace
-- C level backtrace information -------------------------------------------
0   ruby                                0x000000010e5b3969 rb_print_backtrace + 25
1   ruby                                0x000000010e5b3a78 rb_vm_bugreport + 136
2   ruby                                0x000000010e3a1872 rb_bug_context + 450
3   ruby                                0x000000010e4f5f68 sigsegv + 88
4   libsystem_platform.dylib            0x00007fff75bf4f5a _sigtramp + 26
5   nokogiri.bundle                     0x000000010e95204c mark + 28
6   ruby                                0x000000010e3c81e4 gc_mark_children + 1092
7   ruby                                0x000000010e3d022c gc_mark_stacked_objects + 108
8   ruby                                0x000000010e3d093b gc_mark_stacked_objects_all + 27
9   ruby                                0x000000010e3cfb91 gc_marks_rest + 129
10  ruby                                0x000000010e3d1667 gc_marks + 103
11  ruby                                0x000000010e3ce1c2 gc_start + 802
12  ruby                                0x000000010e3c5718 garbage_collect + 56
13  ruby                                0x000000010e3d4ec5 garbage_collect_with_gvl + 101
14  ruby                                0x000000010e3c9360 objspace_malloc_increase + 320
15  ruby                                0x000000010e3d5012 objspace_malloc_fixup + 66
16  ruby                                0x000000010e3c8ba6 objspace_xmalloc0 + 150
17  ruby                                0x000000010e3c8afc ruby_xmalloc2 + 60
18  ruby                                0x000000010e30ba94 ary_new + 260
19  ruby                                0x000000010e30b97f rb_ary_new_capa + 31
20  ruby                                0x000000010e32047d yield_indexed_values + 29
21  ruby                                0x000000010e3209a9 rpermute0 + 169
22  ruby                                0x000000010e31b630 rb_ary_repeated_permutation + 512
23  ruby                                0x000000010e5a83ca call_cfunc_1 + 42
24  ruby                                0x000000010e5aa1d8 vm_call0_cfunc_with_frame + 568
25  ruby                                0x000000010e5a9f95 vm_call0_cfunc + 53
26  ruby                                0x000000010e5a9c11 vm_call0_body + 401
27  ruby                                0x000000010e58d279 vm_call0 + 121
28  ruby                                0x000000010e5aaaaf rb_call0 + 159
29  ruby                                0x000000010e58e150 rb_call + 80
30  ruby                                0x000000010e58f18d iterate_method + 61
31  ruby                                0x000000010e58efc0 rb_iterate0 + 288
32  ruby                                0x000000010e58ee97 rb_iterate + 119
33  ruby                                0x000000010e58f13b rb_block_call + 91
34  ruby                                0x000000010e39d0a6 enumerator_block_call + 150
35  ruby                                0x000000010e39b6b8 enumerator_each + 216
36  ruby                                0x000000010e5a836a call_cfunc_m1 + 42
37  ruby                                0x000000010e5aa1d8 vm_call0_cfunc_with_frame + 568
38  ruby                                0x000000010e5a9f95 vm_call0_cfunc + 53
39  ruby                                0x000000010e5a9c11 vm_call0_body + 401
40  ruby                                0x000000010e58d279 vm_call0 + 121
41  ruby                                0x000000010e5aaaaf rb_call0 + 159
42  ruby                                0x000000010e58e150 rb_call + 80
43  ruby                                0x000000010e58f18d iterate_method + 61
44  ruby                                0x000000010e58efc0 rb_iterate0 + 288
45  ruby                                0x000000010e58ee97 rb_iterate + 119
46  ruby                                0x000000010e58f13b rb_block_call + 91
47  ruby                                0x000000010e38a6cb enum_to_a + 75
48  ruby                                0x000000010e5a836a call_cfunc_m1 + 42
49  ruby                                0x000000010e59dc5d vm_call_cfunc_with_frame + 605
50  ruby                                0x000000010e59936d vm_call_cfunc + 173
51  ruby                                0x000000010e58416e vm_exec_core + 8974
52  ruby                                0x000000010e593ed6 vm_exec + 182
53  ruby                                0x000000010e5ab0ef invoke_block + 223
54  ruby                                0x000000010e5aaf5f invoke_iseq_block_from_c + 431
55  ruby                                0x000000010e5ac7a3 invoke_block_from_c_proc + 163
56  ruby                                0x000000010e592f7b vm_invoke_proc + 235
57  ruby                                0x000000010e592d80 rb_vm_invoke_proc + 128
58  ruby                                0x000000010e59a25c vm_call_opt_call + 348
59  ruby                                0x000000010e598b7d vm_call_method_each_type + 1069
60  ruby                                0x000000010e5985a4 vm_call_method + 148
61  ruby                                0x000000010e598505 vm_call_general + 53
62  ruby                                0x000000010e58416e vm_exec_core + 8974
63  ruby                                0x000000010e593ed6 vm_exec + 182
64  ruby                                0x000000010e594c5b rb_iseq_eval_main + 43
65  ruby                                0x000000010e3acb78 ruby_exec_internal + 232
66  ruby                                0x000000010e3aca81 ruby_exec_node + 33
67  ruby                                0x000000010e3aca40 ruby_run_node + 64
68  ruby                                0x000000010e30ac61 main + 113

@aleksandrs-ledovskis Thanks for opening this issue, and sorry you're experiencing this problem.
I'll take a deeper look at this over the next few days.

I couldn't reproduce with Ruby, but the explanation makes sense.  I think the XSLT parser shouldn't touch memory that it didn't allocate.  Anyway, I was able to write a C program that uses libxml2 to demonstrate the problem:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include <libxml/parser.h>
#include <libxml/xmlschemas.h>

static xmlNode *
find_text_node(xmlNode * a_node)
{
  xmlNode *cur_node = NULL;

  for (cur_node = a_node; cur_node; cur_node = cur_node->next) {
    if (cur_node->type == XML_TEXT_NODE) {
      return cur_node;
    } else {
      xmlNode *found = find_text_node(cur_node->children);

      if (found) {
        return found;
      }
    }
  }

  return NULL;
}

int main(int argc, char *argv[]) {
  char * source = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n<xs:element name=\"foo\" type=\"xs:string\"/></xs:schema>";

  xmlDocPtr doc = xmlReadMemory(source, strlen(source), NULL, NULL, 0);
  xmlNodePtr root = xmlDocGetRootElement(doc);
  xmlSchemaParserCtxtPtr ctx;
  xmlSchemaPtr schema;

  xmlNode * text = find_text_node(root);
  printf("node type: Element, name: %s %d\n", text->name, xmlIsBlankNode(text));

  ctx = xmlSchemaNewDocParserCtxt(doc);
  schema = xmlSchemaParse(ctx);

  printf("node type: Element, name: %s %d\n", text->name, xmlIsBlankNode(text));

  exit(0);
}

If I enable malloc scribbling on MacOS, it will segv:
$ env MallocScribble=1 ./a.out
a.out(78495,0x102687dc0) malloc: enabling scribbling to detect mods to free blocks
node type: Element, name: text 1
fish: 'env MallocScribble=1 ./a.out' terminated by signal SIGSEGV (Address boundary error)

I think upstream should probably not call that free function when a schema is created from a document.

@tenderlove Thanks for taking a time to investigate and building a C repro program.
It is somewhat strange that you couldn't repeat the crash. While I was testing initially with CRuby 2.5.7 (to match with PROD version), I have just retested with master.
ruby 2.8.0dev (2020-02-04T05:41:52Z master 9cdc964d07) [x86_64-darwin17]
Env and build chain (if that matters):
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
17.7.0 Darwin Kernel Version 17.7.0: Thu Jan 23 07:05:23 PST 2020; root:xnu-4570.71.69~1/RELEASE_X86_64 x86_64
PhysMem: 16G used (2902M wired), 148M unused

Interestingly enough, 2.8.0 crashed less (3 out of 5 runs). But the traces still pointed out to same
source (mark in xmlnode.c). Bumping a number of array permutations ([1,2,3,4,5].repeated_permutation(9).to_a) yielded a positive increase in crash-iness (10/10).

Regarding your note that this looks like a problem in upstream/Libxml2, their "official guideline" is quite involved (and seems outdated), so I would like to ask @nwellnhof to confirm if mailing list is still the way to go or reporting on GitLab instance (https://gitlab.gnome.org/GNOME/libxml2/issues) is sufficient?

You can report bugs either on the libxml2 GitLab instance or the mailing list.
Regarding this issue, xmlSchemaParse removes blank text nodes from the input document via xmlSchemaCleanupDoc by design. Unfortunately, it seems hard to work around or fix this mistake.

If per Nick's comment it's unfeasible to change the way how Libxml2 operates, maybe at least Nokogiri could detect (and raise hell) in situations when document containing blank text objects is passed on to Schema::from_document?

It is somewhat strange that you couldn't repeat the crash. While I was testing initially with CRuby 2.5.7 (to match with PROD version), I have just retested with master.

tbf, I only ran the Ruby program twice.  Your description was clear enough and reading the code made it obvious there's a bug.  I figured we'd need a pure C test case anyway if we plan to fix upstream.
I will try to think of a fix for libxml2, but even if I can't I'll still file a ticket upstream.

If per Nick's comment it's unfeasible to change the way how Libxml2 operates, maybe at least Nokogiri could detect (and raise hell) in situations when document containing blank text objects is passed on to Schema::from_document?

I think this is a possible alternative.  The document should know what nodes have been exposed to Ruby, and if any of them are "blank", we can raise an exception.  It'll make constructing the schema a little more expensive, but I agree it's better to get an exception than find a segv later.

Probably needs a better exception, but this would prevent the segvs:
diff --git a/ext/nokogiri/xml_schema.c b/ext/nokogiri/xml_schema.c
index da2774ba..42bbeb8d 100644
--- a/ext/nokogiri/xml_schema.c
+++ b/ext/nokogiri/xml_schema.c
@@ -133,6 +133,31 @@ static VALUE read_memory(VALUE klass, VALUE content)
   return rb_schema;
 }

+/* Schema creation will remove and deallocate "blank" nodes.
+ * If those blank nodes have been exposed to Ruby, they could get freed
+ * out from under the VALUE pointer.  This function checks to see if any of
+ * those nodes have been exposed to Ruby, and if so we should raise an exception.
+ */
+static int has_blank_nodes_p(VALUE cache)
+{
+    long i;
+
+    if (NIL_P(cache)) {
+        return 0;
+    }
+
+    for (i = 0; i < RARRAY_LEN(cache); i++) {
+        xmlNodePtr node;
+        VALUE element = rb_ary_entry(cache, i);
+        Data_Get_Struct(element, xmlNode, node);
+        if (xmlIsBlankNode(node)) {
+            return 1;
+        }
+    }
+
+    return 0;
+}
+
 /*
  * call-seq:
  *  from_document(doc)
@@ -152,6 +177,10 @@ static VALUE from_document(VALUE klass, VALUE document)
   /* In case someone passes us a node. ugh. */
   doc = doc->doc;

+  if (has_blank_nodes_p(DOC_NODE_CACHE(doc))) {
+    rb_raise(rb_eRuntimeError, "Creating a schema from a document that has blank nodes exposed to Ruby is dangerous");
+  }
+
   ctx = xmlSchemaNewDocParserCtxt(doc);

   errors = rb_ary_new();

Something I think is interesting is that you can pretty easily demonstrate that turning a document in to a schema removes the node:
require 'nokogiri'

doc = <<~doc
<?xml version="1.0" encoding="UTF-8" ?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="foo" type="xs:string"/></xs:schema>
doc

xsd_doc = Nokogiri::XML(doc)
p xsd_doc.root.children.find(&:blank?) # Finds a node

xsd_doc = Nokogiri::XML(doc)
Nokogiri::XML::Schema.from_document(xsd_doc)
p xsd_doc.root.children.find(&:blank?) # nil

Sorry for the wait.  I submitted an issue upstream because I couldn't figure out a good way to fix this:
https://gitlab.gnome.org/GNOME/libxml2/issues/148
I'll submit a PR that has my workaround patch.

@aleksandrs-ledovskis I'm curious if the PR @tenderlove wrote will help your case; it raises an exception if any blank nodes have been wrapped by a Ruby object. Your original description indicated this was a production problem for you, from which I infer you're creating Ruby objects for the DOM in your schema. Before I merge it, just wanted to gut-check whether it's helpful or not.

@flavorjones probably getting an exception is better than a segv for a case we know we can't handle. 😬

@tenderlove Thanks for the patch and upstream report! 🍪
I can confirm that locally built 74abb4f2e73bb61b17d9f1a0ad717c881943b877 is correctly failing with *** ArgumentError Exception: Creating a schema from a document that has blank nodes exposed to Ruby is dangerous when run in both aforementioned test situations and in Ruby application.

@flavorjones

I infer you're creating Ruby objects for the DOM in your schema

In fact not. The failing app in question deals with incoming SOAP requests and validates them against defined XML schema (read from file). A quirk in current app's implementation is that Nokogiri::XML document is not passed carbon-copied to Nokogiri::XML::Schema.from_document, but is conditionally preprocessed in a way that exposes blank Libxml2 text nodes to Ruby VM.
Approximately like this:
xsd_doc = File.open(path_to_xsd_file) { |file| Nokogiri::XML(file) }

if xsd_doc.xpath("//xs:import[@namespace='http://schemas.xmlsoap.org/soap/envelope/']").empty?
  xsd_doc.xpath("//xs:schema")[0].children.first.add_previous_sibling("import tag with envelope schemaLocation")
end

xsd_schema = Nokogiri::XML::Schema.from_document(xsd_doc)

Obviously, the offending call sequence is xpath("//xs:schema")[0].children.first, which can be alternatively (safely) represented by at_xpath("//xs:schema/*").
The latter variant is safe/doesn't cause an exception with 74abb4f2e73bb61b17d9f1a0ad717c881943b877 patch - while Nokogiri::XML::Node#children returns all nodes including blanks, the Nokogiri::XML::Searchable#xpath uses Libxml2 implementation of XPath lookup which ignores all blanks.

Before I merge it, just wanted to gut-check whether it's helpful or not.

Yes, the @tenderlove's patch is helpful. If in some other code path/project the children.first approach will be used unbeknownst of Libxml2 pitfalls concerning schema preparation, at least the "fail early" exception should promptly notify about the sneaky failure mode.

@aleksandrs-ledovskis Great, thanks for the explanation - I didn't want to merge this if you didn't have a path forward to do what you need to do.

I've merged the PR. I'll be cutting a bugfix release today - likely v1.10.9 - with this fix.

v1.10.9 was released yesterday

authors: aleksandrs-ledovskis flavorjones nwellnhof tenderlove


text:
ci: add xmlsec to the downstream tests

What problem is this PR intended to solve?
#2594 points out downstream breakage in the nokogiri-xmlsec-instructure gem.
Let's add it to the CI suite to prevent regression.

Blocking merger on https://github.com/instructure/nokogiri-xmlsec-instructure/pull/14

Now that downstream has patched, I've rebased to double-check that this is green now.

Downstream integration test is green: https://github.com/sparklemotion/nokogiri/actions/runs/3769661974/jobs/6409012842


text:
Trezor One- Connection Issue

I'm testing Trezor-One on windows,

Connection seemed to be unstable. It takes a while to even show up. If this is just an implementation issue then may be we can have a UI/UX changes to keep user's engaging otherwise it looks like nothing is happening.
Pin entry is also unstable, Pin grid on hardware wallet disappears withing few seconds( Even before completing grid on the PC). I had to try multiple times to get it working.

In general response time is very slow Tested Only On Windows 10

That's odd - Trezor One is one of the most heavily tested HWWs, and I can't reproduce this on Windows 10. Response times are reasonably fast - around 1 to 2s.
Regarding the pin entry issue, it's possible this is caused by the background scanning for new HWWs which Sparrow performs to keep the current set of connected HWWs up to date. Unfortunately, if there is a pin entry screen on the Trezor when this is done, it disappears. Sparrow checks and avoids background scanning in this case, but it may have happened anyway. Any chance there was another instance of Sparrow running at the time (or possibly other wallet software)?
To check response time, if possible download HWI and try to see if the response times are poor running hwi.exe enumerate. They should be reasonably quick (1 - 2s).

I have tried your recommendations and also remove trezor bridge just to make sure there is no conflict, but still same issue. Its taking 10 - 30 seconds in some cases. Trezor works fine in the browser though. That means it is unrelated to this project, So I'm going to close issue here.

repo: sparrowwallet/sparrow


text:
Sounddevice + big dict + OOP = Segfault / Bus Error

I'm having a very strange problem, which I managed to reduce as much as possible like this:
import sounddevice
import time

class SamplerBox:
    def __init__(self):
        self.samples = {}

    def audio_callback(self, outdata, frame_count, time_info, status):
        print('ac')

    def init(self):
        self.connect_audio_output()
        self.load_samples()
        time.sleep(20)

    def connect_audio_output(self):
        try:
            sd = sounddevice.OutputStream(callback=self.audio_callback)
            sd.start()
            print('Opened audio device')
        except:
            print('Invalid audio device')
            exit(1)

    def load_samples(self):
        for midinote in range(128):
            for velocity in range(128):
                self.samples[midinote, velocity] = Sound()

class Sound:
    def __init__(self):
        pass

sb = SamplerBox()
sb.init()

As soon as I create that big self.samples dict, and only create a new audio stream with an empty callback, I get "Bus Error 10" with Python 3.11.
With Python 3.9 I get "Illegal instruction 4"
In my original script (reduced here) I got "Segmentation Fault 11"
I'm running Homebrew Python 3.11 on MacOS 10.15.7.
Worst than that, written in a procedural way, it runs perfectly :
import sounddevice
import time

samples = {}

class Sound:
    def __init__(self):
        pass

def audio_callback(self, outdata, frame_count, time_info, status):
    print('ac')

try:
    sd = sounddevice.OutputStream(callback=audio_callback)
    sd.start()
    print('Opened audio device')
except:
    print('Invalid audio device')
    exit(1)

for midinote in range(128):
    for velocity in range(128):
        samples[midinote, velocity] = Sound()

time.sleep(20)

Any idea?

This indeed looks quite curious, and I can reproduce it on Linux, however only if I increase the range of the for loops (I got a segmentation fault with 1280, but maybe it also crashes with lower values).
I don't really know what's happening and I think it shouldn't happen ... but I think I know how to avoid the problem:
In your first example, sd is a local variable that goes out of scope at the end of connect_audio_output(), and I guess at some point the Python interpreter destroys the stream object while the callback is still running or something.
You should assign the stream object as an instance variable of the SamplerBox object, something like this:
self.sd = sounddevice.OutputStream(...)

There probably is still something to fix but THANK YOU THIS WORKS!

I would consider it a user error if you let an active stream go out of scope, so I don't think I want to "fix" the problem in the sounddevice module.
But this might be helpful to make the error easier to find: #514.
Can you please try if that would give you more information in your case?

I would consider it a user error if you let an active stream go out of scope, so I don't think I want to "fix" the problem in the sounddevice module.

But a Segfault means something has not been properly destroyed, isn't it?

A segfault can mean many things, but in this case I guess it means that something has been destroyed (the stream object), but something else (the audio thread) is still trying to access it.
Ideally, a segfault should never happen in pure Python code, even with completely wrong usage of an API, but I think in this case an exception is merited.
As with all resources in Python, you should ideally manage them with a context manager, and if that's not possible, you should make sure to explicitly close the stream object before letting it go out of scope.
Anything else is grossly negligent, and we cannot reasonably avert a segfault, but at least #514 tries to make it easier to diagnose the problem.

I mean that in pure Python (let's say), if you reference an object A in another object B and then destroy the object, reference in B will be automatically set to None. Or if you reference A.method in B, A will not be garbage-collected.
But I get that it's probably more low-level than that, thus hard and/or unwanted to be changed. Not an expert so I trust you.
Thanks for #514, not sure how to test it so I'll let others do that!

Thanks for #514, not sure how to test it

You should create a development installation (https://python-sounddevice.readthedocs.io/en/0.4.6/CONTRIBUTING.html#development-installation), check out the branch from #514, and then try the original situation where you encountered the problem.

so I'll let others do that!

I made #514 as a direct response to your problem, so you are uniquely suited to check if it would help in your situation or not.
I nobody is confirming that #514 would help significantly, I will not merge it.

@theredled Can you please confirm if #514 improves the situation for you?

I'm sorry I can't test, for some reason I'm not even obtaining the original errors I was getting.

I'm sorry I can't test, for some reason I'm not even obtaining the original errors I was getting.

Did you try increasing the range in the for-loops as I mentioned above?

I'm closing this due to lack of response.
If there is any new information, please let me know.

authors: mgeier theredled

repo: spatialaudio/python-sounddevice


text:
Ajax error modal failing to load correctly

Hello, I'm experiencing a rather odd issue when an Ajax call triggers an exception and the stackrace is presented in the modal.
Versions
Laravel version 9.0.2
PHP version 8.0.11
spatie/laravel-ignition 1.0.4
Description
The stacktrace UI is briefly displayed and then a script tries to call replaceState which then triggers a DOMException and the iframe dies and goes blank.
https://user-images.githubusercontent.com/654839/153507601-febd28e1-d373-400a-b54e-851287ee324f.mp4

Recreating over in https://github.com/spatie/ignition

repo: spatie/laravel-ignition


text:
Fix function style

Sorry, I forgot to modify this function

@sebastiandedeyne

Thanks!

authors: fouteox sebastiandedeyne

repo: spatie/laravel-login-link


text:
Изменена видимость метода replaceNode()

Метод private replaceDeletedNode() заменен на protected replaceNode(), так как его функциональность позволяет заменять любую (не только удаленную) ноду. И так как функциональность метода оказалась шире, он может быть полезен для наследников этого класса.

Замечание:
Возможно стоит переписать метод insertNode() с использованием replaceNode()

А чем insertNode() c replaceNode() станет лучше?

А чем insertNode() c replaceNode() станет лучше? Неочевидно. По-моему, и так хорошо. *Анекдот о сыне и Солнце

Скажем так, мы в insertNode() заменяем вершинки, и если мы будем использовать replaceNode() это будет "унификация" кода. И предположительно, за счет этого insertNode() станет более красивым и коротким.


text:
Update URL of ECL License?

Currently the ECL license in this repository (https://github.com/spdx/license-list/blob/master/ECL-2.0.txt) has a URL (http://osedu.org/licenses/) in it that doesn't take you to a copy of the license.
Is this something that:

Matters?
Can be fixed?
Should be fixed?

I think the domain osedu.org didn't get re-registered and someone else has control of it now who doesn't have the license page up.

It's noted in the spreadsheet:

The url included in the boilerplate notice does not work. (15/10/10)

Seems to me it matters as both URLs (other being the OSI one) can be found in the wild, OSI one becoming more common as people replace so URL works, and it'd be nice if these were used in matching.
I see SPDX markup allows for replaceable and omittable text, but not lists of acceptable values. I guess making the URL replaceable would be a decent workaround.

I'm wrong, it seems lists of acceptable values can be achieved with the match directive, there's one license that uses it, RSA-MD.txt:
<<var;name=algorithm;original=MD5;match=(MD5|MD4)>>

In this case, the url is in the license text, but in a section that is already marked as optional, so I don't think it effectively matters. Given it is part of the "original text" of the license (and doesn't impact matching), I'm inclined to leave it be.

authors: buckett jlovejoy mlinksva

repo: spdx/license-list

license: unlicense


text:
Spdx 3 operations profile proposal

Pull request for discussing the SPDX Operations profile proposal. See issue https://github.com/spdx/spdx-3-model/issues/785
Original location was https://github.com/umm0/business_profile

The data will not be merged into the repo like this but rather remodeled into classes first.


text:
Revit Connector does not include phase demolished parameter

The revit connector is missing the phase demolished parameter. There was a similar issue in #1390 for the phase created parameter.

Thanks Dries, are you planning to submit a PR for this?

Yes, since it is an identical parameter to the previous problem I was planning the implement it the exact same way

repo: specklesystems/speckle-sharp


text:
.bundle format for Revit addin

Hello Specklers,
we use in our company the .bundle approach to publish  addins to the users machine. This makes the deployment much easier, because all is packaged in one folder. So, installation is more or less a copy only.
For development it is nice, too, because you don't have to find old files in addin folders across all Revit versions, it is one location only ;-)
We can implement this, if you like and send a pull request. What do you think?

Hey Tim, thanks for the nice offer, but we currnetly still prefer deployment via Manager.
There'are a few reasons why:

we can make sure users have created an account /  logged in before they actually use the connector
all the connectors (almost) are installed in the same way
users can receive notifications when new updates are released
we have more freedom to set custom installation paths etc which is not possible using the store bundles

Hope it makes sense!

Hi Matteo,
my intention is not to change your installer process and switch to the matket place from adesk.
Only the format would be changed, that is pushed to the clients machine. Currently you have to deploy the addin to different folders in Addin/20xx. This would be one root and then separation inside for all supported releases. Here's a sample from one of our tools:

So, I don't want to change your app to user strategy, because this is perfect as it is ;-)

Gotcha! This makes sense indeed, and would simplify some of our installer code as well :)
My only concern would be potential conflicts with the current strategy: if we do not correctly remove previously installed versions correctly and introduce this logic, people could end up with duplicates...
If you'd like, feel free to make a PR, but I'm afraid we'd only be able to update or CI/CD and carry out proper testing only in the new year.

Closing this as it's stagnant, happy to re-open if it becomes relevant again!

authors: teocomi thoffeller


text:
Cnx 9502 agis object tracking change detection

Currently the change detection only works for the change of the map elements, their properties and names, but NOT the change in the data source (actual features /data rows in the table). This requires dynamic subscription to every new layer on the map, and it is tricky to extract the layer id from the feature-changed event.

extra step added on RunExpirationCheck to update ModelCard ids, otherwise it could have tried to send non-existing layers and pass silently through no-layers-to-send check.


text:
Add feature "subtract fee from amount" when completing a transactions

We need to add a useful feature of "subtract fee from amount" when completing a transaction.

 Add feature "subtract fee from amount" when completing a transactions

repo: spectrecoin/spectre


text:
Cleanup AnsiSequences.cs

Update CSI constant to include the [ character.
See ECMA-48 Section 8.3.16
https://www.ecma-international.org/wp-content/uploads/ECMA-48_5th_edition_june_1991.pdf

Use string interpolation, because it's easier to read
(and internally uses a StringBuilder)

Add ESC constant, because the AnsiBuilder needs it to create links.

Remove unused SGR overload.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Merged! Thank you for your contribution. Much appreciated! 👍

authors: CLAassistant patriksvensson wischi-chr


text:
Able to specify jshint function

I want to use this jsxhint plugin, in combination with this gulp-jshint task. An option to provide/overrule the linter would be awesome.
.pipe(jshint({ jshint: require('jshint-jsx').JSXHINT }))

@jtangelder I like this as it also supports using gulp-jshint with a different version of jshint than what is bundled. Can you try out the PR to see if it works for you?
With recent versions of npm you can install it by running  this in your project:
npm install spenceralger/gulp-jshint#overrideJshint

Using this, I end up getting "C:\Users\Mike\Documents\Git projects\collaborations\mofo-example-app\react code\editor-app.jsx: line 0, col 0, Bad option: 'jshint'." errors for my .jsx files. Seems like the linter override option is being passed on to jshint/whatever linter was bound?

authors: Pomax jtangelder spenceralger

repo: spenceralger/gulp-jshint


text:
First changes to allow dual stack and Round Robin discovery

Instead of using gethostbyname which is IPv4 specific, use getaddrinfo which will return all all IPs the host resolves to. This allows both IPv6 reporting as well as letting operators use one IRC worker to represent a load-balanced or Round Robin setup of hosts.
As such, if a host resolves to more than one IP address, suffix the host with _1, _2, _3 and so forth.

Would partially address issue #91

According to chat with author on #electrum it has been tested on a live server, also one which does not have IPv6 support and is running fine. I'd recommend to merge it.

It's running on the wiresharks.infoha.us machine.

authors: EagleTM OverlordQ

repo: spesmilo/electrum-server


text:
Fix broken headings in Markdown files

GitHub changed the way Markdown headings are parsed, so this change fixes it.
See bryant1410/readmesfix for more information.
Tackles bryant1410/readmesfix#1

Thanks

repo: spetacular/bannedwords