SSL Error on windows during download [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1748)

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.09.02. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.09.02

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

C:\...>youtube-dl -i -v -f best --no-check-certificate --write-thumbnail --write-description --write-info-json --download-archive "C:/.../cats/archive.txt" -o "C:/.../cats/%(title)s.%(ext)s" "https://www.youtube.com/watch?v=mdqBbvYX3MU"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-i', '-v', '-f', 'best', '--no-check-certificate', '--write-thumbnail', '--write-description', '--write-info-json', '--download-archive', 'C:/.../cats/archive.txt', '-o', 'C:/.../cats/%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=mdqBbvYX3MU']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2017.09.02
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg 3.3.3, ffprobe 3.3.3
[debug] Proxy map: {}
[youtube] mdqBbvYX3MU: Downloading webpage
[youtube] mdqBbvYX3MU: Downloading video info webpage
[youtube] mdqBbvYX3MU: Extracting video information
[youtube] mdqBbvYX3MU: Downloading MPD manifest
[info] Writing video description to: C:\...\cats\How do Cats Use Their Whiskers Slow-Motion - Cats Uncovered - BBC.description
[info] Writing video description metadata as JSON to: C:\...\cats\How do Cats Use Their Whiskers Slow-Motion - Cats Uncovered - BBC.info.json
[youtube] mdqBbvYX3MU: Downloading thumbnail ...
[youtube] mdqBbvYX3MU: Writing thumbnail to: C:\...\cats\How do Cats Use Their Whiskers Slow-Motion - Cats Uncovered - BBC.jpg
[debug] Invoking downloader on 'https://r1---sn-qpbpu8-c0ql.googlevideo.com/videoplayback?lmt=1493417719755362&ei=aPOvWYbPO4-8Vv7cgbAM&ms=au&source=youtube&dur=258.345&mv=m&pl=20&ip=<IP_ADDRESS>&requiressl=yes&id=o-AKl7qASm8K0eo_64wWkJMA2reMTE-pWc5MPCRl22oYHU&key=yt6&signature=50EA5A7E2D92F704831176C3873AE8662EC538A7.9414C395E429ECE531C92B02C00F4428924DFA7A&mm=31&mn=sn-qpbpu8-c0ql&mt=1504703234&itag=22&mime=video%2Fmp4&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&expire=1504724937&initcwndbps=2967500&ratebypass=yes&ipbits=0'
[download] Destination: C:\...\cats\How do Cats Use Their Whiskers Slow-Motion - Cats Uncovered - BBC.mp4
[download]   0.1% of 51.31MiB at  4.12MiB/s ETA 00:12         ERROR: unable to download video data: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1748)
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptra0egnk\build\youtube_dl\YoutubeDL.py", line 1865, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptra0egnk\build\youtube_dl\YoutubeDL.py", line 1807, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptra0egnk\build\youtube_dl\downloader\common.py", line 361, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptra0egnk\build\youtube_dl\downloader\http.py", line 287, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmptra0egnk\build\youtube_dl\downloader\http.py", line 180, in download
  File "C:\Python\Python34\lib\http\client.py", line 537, in read
  File "C:\Python\Python34\lib\http\client.py", line 576, in readinto
  File "C:\Python\Python34\lib\socket.py", line 378, in readinto
  File "C:\Python\Python34\lib\ssl.py", line 748, in recv_into
  File "C:\Python\Python34\lib\ssl.py", line 620, in read
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1748)

Description of your issue, suggested solution and other information
I have been having this issue in the last couple of months. Download starts, then it stops with this error with a farily high likelyhood. One can force himself to download videos even with this bumping up over and over since it can pick up at the last byte it has been left at. Sometimes it is much more frequent than other times. Recently I managed to download a 25GB playlist in 3 tries. However now a 23GB playlist needed 21 tries to complete... Worst is when it doesn't even get to 1% of the data before it crashes.
I have seen other issues here in the past with similar error message, hence the --no-check-certificate option; I've also tried clearing expired certificates. I've seen this post linked to somewhere here, it may explain the cause of the problem if it is indeed with youtube-dl and not on my part: https://stackoverflow.com/questions/3724900/python-ssl-problem-with-multiprocessing/3724938#3724938. Any suggestions?

So might it not be a multiprocessing error as the SO answer suggests? The random nature of the issue indicates something of this sort. At least I'm not alone: https://github.com/rg3/youtube-dl/issues/14047.

Issue still persists with version 09.15. "cant reproduce" - Funny because I can but reproduce it every time now ;). Impossible for me to use this software anymore. Doesn't matter if my anti-virus is on or off. I don't understand how there are no more users having similar problems to this, I have a super-mainstream Win 10 config... I need some suggestions else I'm gonna have to live the rest of my life in bitter sorrow.

does this issue date back to 2015 ?
https://github.com/rg3/youtube-dl/issues/7235

I have the same issue in 2<IP_ADDRESS>. Should I open a new ticket or what?

I had a similar issue but i'm on windows ubuntu
This fixed it:
sudo mkdir /usr/local/share/ca-certificates/cacert.org
sudo wget -P /usr/local/share/ca-certificates/cacert.org http://www.cacert.org/certs/root.crt http://www.cacert.org/certs/class3.crt
sudo update-ca-certificates
Hope this helps 1st_place_medal

Using ArchLinux, here is what fixed it:
$ sudo update-ca-trust
Nothing else to do.

I'm on a summer 2020 release and am also getting this issue.
my 'fix'
youtube-dl -f best -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list=PL8XX06eOucSzP4iZ3ONvAnG5gt8qLSI5S;
youtube-dl -f best -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list=PL8XX06eOucSzP4iZ3ONvAnG5gt8qLSI5S;
youtube-dl -f best -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list=PL8XX06eOucSzP4iZ3ONvAnG5gt8qLSI5S;
# .... and so on
# note the ; at the end

'if it works, it's not stupid', this worked for me

I am also having the same issue now. On mobile (using Termux) it is fine but on Windows it likes breaking. I used
youtube-dl.exe https://youtu.be/1pNFoZeFhTE -f bestvideo+bestaudio[ext=m4a] --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://youtu.be/1pNFoZeFhTE', '-f', 'bestvideo+bestaudio[ext=m4a]', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.03.14
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.3.2-2021-02-27-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] 1pNFoZeFhTE: Downloading webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r2---sn-h0jeln7e.googlevideo.com/videoplayback?expire=1616186629&ei=pbhUYNiSA4GigAeL1K34Aw&ip=<IP_ADDRESS>&id=o-AG_uK0NArmu4rmpKc-7piiyougbQaQqTbqXT_cr7n0x8&itag=308&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303%2C308&source=youtube&requiressl=yes&mh=cs&mm=31%2C26&mn=sn-h0jeln7e%2Csn-4g5e6nes&ms=au%2Conr&mv=m&mvi=2&pl=26&initcwndbps=1453750&vprv=1&mime=video%2Fwebm&ns=Sw8exPqHjOVqf-OU0p_JuooF&gir=yes&clen=69783554&dur=212.016&lmt=1616155831601702&mt=1616164865&fvip=2&keepalive=yes&fexp=24001374%2C24007246&c=WEB&txp=6316222&n=GbROfJByeTzJ_wqpDk&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgVgZcJf6tPmIDWsE1tVwDaJOVWRmixiF6nysUMifHGJYCIDPoVtdMeVORFnqGb07z6DIAz9q8SugWULsaaOxJ_JWj&sig=AOq0QJ8wRQIhAIfj_MF2fn4J7NCu7KnKvZ-w6MYky_pQP_vuTDSS9ZtYAiAWu1rq-0TVfMsZzQ8BD2H2c0Ed8jk44L2-UysrULZ0iQ=='
[download] Destination: Unlike Pluto - Interstellar Weather-1pNFoZeFhTE.f308.webm
[download]  46.4% of 66.55MiB at  6.53MiB/s ETA 00:05 ERROR: unable to download video data: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1748)
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\YoutubeDL.py", line 1961, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\YoutubeDL.py", line 1906, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\downloader\common.py", line 366, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\downloader\http.py", line 352, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\downloader\http.py", line 238, in download
  File "C:\Python\Python34\lib\http\client.py", line 537, in read
  File "C:\Python\Python34\lib\http\client.py", line 576, in readinto
  File "C:\Python\Python34\lib\socket.py", line 378, in readinto
  File "C:\Python\Python34\lib\ssl.py", line 748, in recv_into
  File "C:\Python\Python34\lib\ssl.py", line 620, in read
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1748)

Idk if i am being stupid and if i overseeing something obvious, but if someone has an idea i'll be happy to hear back from someone :)

AnyOne Know how to fix it yet? i keep getting the same issue
2021-03-28 20:46:46.000 20572-20572/com.example.youtubedownloader E/YouTube DL: Failed To Download
com.yausername.youtubedl_android.YoutubeDLException: ERROR: unable to download video data: [SSL:
DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2560)
               at com.yausername.youtubedl_android.YoutubeDL.execute(YoutubeDL.java:201)
               at com.example.youtubedownloader.MainActivity.lambda$null$1$MainActivity(MainActivity.java:181)
               at com.example.youtubedownloader.-$$Lambda$MainActivity$dOoUrSOY9156A_2ewgxnMJ6G4xw.call(Unknown
               Source:4)
               at
               io.reactivex.internal.operators.observable.ObservableFromCallable.subscribeActual(ObservableFromCallable.java:42)
               at io.reactivex.Observable.subscribe(Observable.java:12030)
               at
               io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
               at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:579)
               at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
               at java.util.concurrent.FutureTask.run(FutureTask.java:266)
               at
               java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
               at java.lang.Thread.run(Thread.java:923)

You might want to check if it's not a problem with Windows 10 itself. I updated from 1909 to 2004 in Spring last year and I've been having similar issues globally, not just in youtube-dl where downloads using the https protocol would frequently stop and you either have to keep retrying or resuming the download manually until completion. This has been going on since version 2004 and it hasn;t been fixed yet.

I know this sounds stupid but might that also be related to another issue i had where downloads with chrome would randomly stop and i had to click continue again. If yes then welp...
Thanks for bringing this to my attention. I'll look a bit further into this if it has something to do with windows
Am 7. Apr. 2021, 22:48 +0200 schrieb BritishDudeJon @.***>:

You might want to check if it's not a problem with Windows 10 itself. I updated from 1909 to 2004 in Spring last year and I've been having similar issues globally, not just in youtube-dl where downloads using the https protocol would frequently stop and you either have to keep retrying or resuming the download manually until completion. This has been going on since version 2004 and it hasn;t been fixed yet.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

I know this sounds stupid but might that also be related to another issue i had where downloads with chrome would randomly stop and i had to click continue again. If yes then welp... Thanks for bringing this to my attention. I'll look a bit further into this if it has something to do with windows
…
You might want to check if it's not a problem with Windows 10 itself. I updated from 1909 to 2004 in Spring last year and I've been having similar issues globally, not just in youtube-dl where downloads using the https protocol would frequently stop and you either have to keep retrying or resuming the download manually until completion. This has been going on since version 2004 and it hasn;t been fixed yet. —You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

Is this just a Chrome issue or does it affect other applications? But yes, this sounds identical to the problem I've been facing for nearly a year now. I just hope we can both find some answers.
I failed to not previously that this has happened to two PCs I've owned in the past year. Just to make sure that it's not a problem with my connection, I ran the lates version of Windows 10 In a virtual machine and never had any issues despite running it on the problematic host. So it seems to only affect machines that have updated from 1903/1909 to 2004/20H2.

I know this sounds stupid but might that also be related to another issue i had where downloads with chrome would randomly stop and i had to click continue again. If yes then welp... Thanks for bringing this to my attention. I'll look a bit further into this if it has something to do with windows
…
You might want to check if it's not a problem with Windows 10 itself. I updated from 1909 to 2004 in Spring last year and I've been having similar issues globally, not just in youtube-dl where downloads using the https protocol would frequently stop and you either have to keep retrying or resuming the download manually until completion. This has been going on since version 2004 and it hasn;t been fixed yet. —You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

Is this just a Chrome issue or does it affect other applications? But yes, this sounds identical to the problem I've been facing for nearly a year now. I just hope we can both find some answers.
I failed to note previously that this has happened to two PCs I've owned in the past year. Just to make sure that it's not a problem with my connection, I ran the lates version of Windows 10 In a virtual machine and never had any issues despite running it on the problematic host. So it seems to only affect machines that have updated from 1903/1909 to 2004/20H2.

I tried several things already such as turning off my anti virus, resetting chrome, using a different browser and other stuff. I also tested it on save mode with network drivers enabled and thats where both (chrome an youtube-dl) worked without any issues.
So yea a windows issue could be the reason. I'll search a bit around today and see if i can find more info about this

@BritishDudeJon I found the issue. I am still looking how to fix it.

It has nothing to do with youtube-dl
I am using a "FRITZ!WLAN USB Stick AC 860" and by using USB-Tethering and sharing the internet on my phone this issue was resolved.

2. USB-Tethering

Nice. I'm connected directly the router via a USB wifi adaptor. I did check the event viewer to see if it was logging thses errors in some way and I did find that it was logging an excessive amount of TLS errors reading "A fatal error occurred while creating a TLS client credential. The internal error state is 10013." which from what I've read might be related to the problem. I also noticed that I am least likely to get connection drops when I my PC has only recently been rebooted. about 15-30 minutes after is when the problems start happening. Let me know if you're getting these errors too.

If you're having the same issue I was having, I think I've managed to resolve it using this tweak tool:
https://www.speedguide.net/downloads.php


chore(deps): update common-dev-assets digest to af13a9f

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
d6d1d00 -> af13a9f

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 5.0.1 :tada:
The release is available on:

GitHub release
v5.0.1

Your semantic-release bot :package::rocket:


Memory Leakage with USP and Transformer Blocks

Hi,
First of all, great work on the project! However, I’ve encountered an issue with memory release when using USP. Specifically, I’m using USP for end-to-end sequence parallelism outside the multi-layer Transformer blocks. After processing all Transformer blocks, the final output is gathered via all_gather. Here is a simplified version of the code:
def forward(self, hidden_states: torch.Tensor, grid_thw: torch.Tensor) -> torch.Tensor:
    rank = dist.get_rank()
    world_size = dist.get_world_size()

    local_hidden_states = hidden_states.chunk(world_size, dim=0)[rank].detach().clone()
    local_hidden_states = self.patch_embed(local_hidden_states)
    rotary_pos_emb = self.rot_pos_emb(grid_thw)
    local_rotary_pos_emb = rotary_pos_emb.chunk(world_size, dim=0)[rank].detach().clone()

    for blk in self.blocks:
        local_hidden_states = blk(local_hidden_states, rotary_pos_emb=local_rotary_pos_emb)

    S, D = local_hidden_states.shape[:]
    hidden_states_gather = torch.zeros(world_size * S, D, dtype=local_hidden_states.dtype, device=local_hidden_states.device)
    dist.all_gather_into_tensor(hidden_states_gather, local_hidden_states)

    return hidden_states_gather

However, I’ve noticed that the GPU memory usage keeps accumulating over time and isn’t properly released. I can provide a pickle file with memory statistics, which can be viewed on [PyTorch Memory Visualization](https://pytorch.ac.cn/memory_viz). The pickle file is
gpu_mem.zip
Upon analysis, I observed that memory created by torch.empty on line 94 in ring/utils.py cannot be released properly. Additionally, several operations like tensor.to(dtype), all_to_all, and others also seem to have issues with memory not being freed. I suspect that this may be related to the use of USP, rather than being a problem with any single operation.
If you have any insights or suggestions that could help resolve this issue, I would greatly appreciate it!
Thanks!

Thank you for your insightful analysis. Indeed, we have previously encountered similar memory leak issues, and this time I will attempt to improve functions like torch.empty.
As a temporary workaround, setting use_sync=True can eliminate the memory leak.
https://github.com/feifeibear/long-context-attention/blob/main/yunchang/hybrid/attn_layer.py#L22

Thank you for your thoughtful response. Setting use_sync=True does indeed temporarily address the memory leak issue; however, it introduces additional latency due to increased synchronization overhead. We hope to explore more efficient solutions to tackle the memory issue effectively. Once again, thank you for your attention and valuable feedback.

Thank you for your thoughtful response. Setting use_sync=True does indeed temporarily address the memory leak issue; however, it introduces additional latency due to increased synchronization overhead. We hope to explore more efficient solutions to tackle the memory issue effectively. Once again, thank you for your attention and valuable feedback.

I will spend some time on the memory issue. If you have any progress, feel free to continue the discussion in this issue, and you're also welcome to submit a PR.

@baifanxxx You applied USP in training or inference only?

Only in inference.

Could please try this solution? I hardly build a test script to reproduce the memory leak issue. Maybe it existing when applied with other communications. For example allgather in your code?
TORCH_NCCL_AVOID_RECORD_STREAMS=1


Automatic modules are not detected when MANIFEST.MF is not the 1st or 2nd entry

Current Behavior
If a jar doesn't have its MANIFEST.MF as the 1st or 2nd entry, then JavaModuleDetector will not detect its Automatic-Module-Name which in turn will make Gradle believe it is a non-modular jar.
The consequence of this is that you can't use the jar in a modular context.
Expected Behavior
Gradle should detect the Automatic-Module-Name even if the MANIFEST.MF is not the 1st or the 2nd entry.
I believe if the containsAutomaticModuleName(jarStream) would be after the loop, then it would solve this issue (though I haven't tested it).
Context (optional)
No response
Self-contained Reproducer Project
See https://github.com/kelemen/gradle-automatic-module-bug
And run ./gradlew compileJava
Which will fail with "error: module not found: org.jdbi.v3.core" even though the manifest entry is there in the jar.
Gradle version
8.10.1
Build scan URL (optional)
No response
Your Environment (optional)
No response

Hi Attila,
Thank you for the report. Unfortunately, the JDK's own implementation assumes that manifest entry is first or second even though the JAR specification doesn't say anything about the manifest entry position. A quick search around the interwebs shows that lots of tools fail in the same way. We have no intention to change that behavior. You should look into getting these JARs fixed.

@eskatos To be honest most things work with whatever manifest entry position. And this looks like a trivial fix to me in Gradle. You just have to put the check after the loop in JavaModuleDetector.

In fact, if that code was changed to use JarFile instead of JarInputStream it would likely be even more efficient (not that it matters that much).

Actually, I misread the code of JarInputStream, it indeed is limited. However, JarFile is not, so the technically the JDK doesn't have this limitation, and I believe that even with JarFile this is not a big thing to fix. I won't have time for anything for a few weeks at lease, but after that I can volunteer to fix this issue.


Fix PermissionError when reconnecting MTDEV input device

Seems like this will create a busy loop for a corner case, to avoid an error in the log, is there a reason to try again when there was a permission error? is there a relevant chance that next try will work?

Definitely fixes the issue, but I did notice the potential infinite loop
there - I think there should be an easy fix, either by attempting a fixed
amount of times ("attempts = 0" above the "try:" block, and "attempts += 1;
if attempts >= max_attempts: raise" in the "except:" block).
If you want to reproduce, it should be as easy as disconnecting and
reconnecting the USB cable of a MTDEV device - udev will make the input
device ("/dev/input/event*") owned by "root:root" for a brief instant
(before it changes its group to "input"), causing the "PermissionError" -
this also explains why retrying fixes the issue in my case.
For what it's worth, it looks to me like MTDEV is supposed to be able to
manage disconnects/reconnects already, and the only obstacle is this
"PermissionError" - I get "device disconnected" and "device reconnected" in
the Kivy logs after fixing the "PermissionError".
Thanks for your attention :-)
Le dim. 2 juin 2019 à 17:22, Gabriel Pettier<EMAIL_ADDRESS>a
écrit :

Seems like this will create a busy loop for a corner case, to avoid an
error in the log, is there a reason to try again when there was a
permission error? is there a relevant chance that next try will work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/pull/6339?email_source=notifications&email_token=AAANLNUFBVDFRRO6GKOWYA3PYPQRVA5CNFSM4HQLPLO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWXX4RI#issuecomment-498040389,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAANLNSCGFIJCM3774QLKTDPYPQRVANCNFSM4HQLPLOQ
.

closed in #7587


chore: release 1.2.72

:robot: I have created a release *beep* *boop*
1.2.72 (2022-02-25)
Bug Fixes

buildah: support Dockerfile builder target param to build specific stage (44bc718)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.72 :sunflower:


Non-Standard Markdown Rendering

Describe the bug
Text in Blockquotes should not be italicized by default
Non-standard rendering is causing Bold Text in an Unordered List inside a Blockquote to be displayed enclosed in quotation marks.
Reproduction
https://stackblitz.com/edit/histoire-vue3-starter-ehnvp9?file=src/BaseButton.story.vue
System Info
System:
    OS: Linux 5.15 Manjaro Linux
    CPU: (16) x64 AMD Ryzen 7 1700 Eight-Core Processor
    Memory: 512.55 MB / 15.56 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.18 - ~/.yarn/bin/yarn
    npm: 8.4.1 - ~/.nvm/versions/node/v16.13.0/bin/npm
  npmPackages:
    @histoire/plugin-vue: ^0.15.8 => 0.15.8
    @vitejs/plugin-vue: ^4.0.0 => 4.0.0
    histoire: ^0.15.8 => 0.15.8
    vite: ^4.1.3 => 4.1.3

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

Both the italics and quotes seem to be default Tailwind styling for blockquotes, and being applied by the htw-prose class
.htw-prose :where(blockquote):not(:where([class~="htw-not-prose"] *)) {
    font-style: italic;
}

.htw-prose :where(blockquote p:first-of-type):not(:where([class~="htw-not-prose"] *))::before {
    content: open-quote;
}

.htw-prose :where(blockquote p:last-of-type):not(:where([class~="htw-not-prose"] *))::after {
    content: close-quote;
}

It seems like .htw-not-prose is intended to be applied, as it is included in the div that's being passed to the syntax highlighting setup in the createMarkdownRenderer function. But I'm not seeing those divs or their classes appearing in the final rendered doc tab, instead the markdown is rendered directly inside this div, so htw-not-prose is never applied to the rendered markdown.
<div class="htw-prose dark:htw-prose-invert htw-p-4 htw-max-w-none" data-test-id="story-docs">


Create Ebiten playground

Inspired by @j7b

https://ebiten-playground.github.io/

The plan is to create a custom element to compile/execute Go script.

Already they have links.


Release of the pretrained weights for Under the Radar and Hero

Hello, I wonder if it's possible to release your pretrained weights for under the radar and hero for quick evaluation?

 I've just noticed a script for downloading model weights.

No problem, let me know if you have any other questions.


Fixed window_can_draw of DisplayServerWindows

This fixes a small typo in DisplayServerWindows, which is essential for PR #48622.

Thanks!


there should be a space between update quantities in mobile view in admin panel

Bagisto Version

[ ] master branch

Steps To Reproduce

try to refund any product

Actual Result

@prateek-webkul
Now, this issue is fixed. so I am closing this issue.
And i have attached a screenshot for future reference Here


Reel downloading: is it possible?

Hello. Long time happy user.
I've read the documentation various times to fix my queries but still I don't get how to get reels or if it's even meant to be possible. Can you please help me or clarify that it's not possible at the moment?
I use the command line but if that's necessary I can switch to Python.
Thanks for the feedback.

No, not possible for reels which are only listed on the reels tab. Sometimes reels are also listed in normal posts - then they are downloadable just like normal posts.
For more information see @YisusChrist' comment in #2076

I closed the question... But actually I'm kind of curious: what prevents adding reels as well to what can be DL? There are multiple websites offering that for single reels by URL so scraping them doesn't seem technically "hard".

Yes, I also need to be able to download reels. I would even pay for it :)

@.***
Get ready tool from me
On Sun, Mar 10, 2024 at 5:40 PM Abdullah Sagir @.***>
wrote:

Yes, I also need to be able to download reels. I would even pay for it :)
—
Reply to this email directly, view it on GitHub
https://github.com/instaloader/instaloader/issues/2207#issuecomment-1987214671,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPI5XIMUC3F5Y6OYTVPBHTYXRIC7AVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIYTINRXGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@.*** Get ready tool from me
…
On Sun, Mar 10, 2024 at 5:40 PM Abdullah Sagir @.> wrote: Yes, I also need to be able to download reels. I would even pay for it :) — Reply to this email directly, view it on GitHub <#2207 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPI5XIMUC3F5Y6OYTVPBHTYXRIC7AVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIYTINRXGE . You are receiving this because you are subscribed to this thread.Message ID: @.>

Which one ?

Download Reels etc everything
On Sun, Mar 10, 2024 at 11:26 PM Abdullah Sagir @.***>
wrote:

@.*** Get ready tool from me
… <#m_-1972555129426242514_>
On Sun, Mar 10, 2024 at 5:40 PM Abdullah Sagir @.> wrote: Yes, I also
need to be able to download reels. I would even pay for it :) — Reply to
this email directly, view it on GitHub <#2207 (comment)
https://github.com/instaloader/instaloader/issues/2207#issuecomment-1987214671>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPI5XIMUC3F5Y6OYTVPBHTYXRIC7AVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIYTINRXGE
https://github.com/notifications/unsubscribe-auth/ABPI5XIMUC3F5Y6OYTVPBHTYXRIC7AVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIYTINRXGE
. You are receiving this because you are subscribed to this thread.Message
ID: @.>
Which one ?
—
Reply to this email directly, view it on GitHub
https://github.com/instaloader/instaloader/issues/2207#issuecomment-1987317841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPI5XIMEU2GA7GRF2KCR4DYXSQUJAVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGMYTOOBUGE
.
You are receiving this because you commented.Message ID:
@.***>

Contact me on email
On Sun, Mar 10, 2024 at 11:30 PM Abdullah Sagir @.***>
wrote:

Download Reels etc everything On Sun, Mar 10, 2024 at 11:26 PM Abdullah
Sagir @.
> wrote: … <#m_-4518078498548406772_> @. Get ready tool from me …
<#m_-1972555129426242514_> On Sun, Mar 10, 2024 at 5:40 PM Abdullah Sagir
@.> wrote: Yes, I also need to be able to download reels. I would even
pay for it :) — Reply to this email directly, view it on GitHub <#2207
https://github.com/instaloader/instaloader/issues/2207 (comment) <#2207
(comment)
https://github.com/instaloader/instaloader/issues/2207#issuecomment-1987214671>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPI5XIMUC3F5Y6OYTVPBHTYXRIC7AVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIYTINRXGE
https://github.com/notifications/unsubscribe-auth/ABPI5XIMUC3F5Y6OYTVPBHTYXRIC7AVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIYTINRXGE
https://github.com/notifications/unsubscribe-auth/ABPI5XIMUC3F5Y6OYTVPBHTYXRIC7AVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIYTINRXGE
https://github.com/notifications/unsubscribe-auth/ABPI5XIMUC3F5Y6OYTVPBHTYXRIC7AVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGIYTINRXGE
. You are receiving this because you are subscribed to this thread.Message
ID: @.> Which one ? — Reply to this email directly, view it on GitHub <#2207
(comment)
https://github.com/instaloader/instaloader/issues/2207#issuecomment-1987317841>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPI5XIMEU2GA7GRF2KCR4DYXSQUJAVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGMYTOOBUGE
. You are receiving this because you commented.Message ID: @.***>
Can you send me anylink? How can I get if I don't see ?
—
Reply to this email directly, view it on GitHub
https://github.com/instaloader/instaloader/issues/2207#issuecomment-1987318720,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPI5XKV2EF5TCLLICNZS3TYXSRDFAVCNFSM6AAAAABEKVGZR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGMYTQNZSGA
.
You are receiving this because you commented.Message ID:
@.***>


Fixed #69, updated tests, updated documentation.

Support for invocation index order for method call added, updated tests, updated documentation.

Ping! Is there any progress about this?

Done. I didn't squashed commits, I can do that too if you want me to do.

Thanks :) Release v2.1.0 for this.

It was my pleasure.


Updated documentation + license

Description
Updated documentation + license
Type of change

Documentation update

Testing steps
N/A

Codecov Report

Merging #103 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #103   +/-   ##
=======================================
  Coverage   33.92%   33.92%
=======================================
  Files           7        7
  Lines         168      168
=======================================
  Hits           57       57
  Misses        110      110
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e09376e...cb5a5f8. Read the comment docs.


Unable to start additional session when Debug Tool Bar Location docked

Issue Type: Bug
After the update (May 2020) I am unable to start additional sessions when the debug tool bar is docked.
After changing settings (debug.toolBarLocation) from dock to floating, I am able to start additional sessions.
VS Code version: Code 1.46.0 (a5d1cc28bb5da32ec67e86cc50f84c67cc690321, 2020-06-10T08:59:06.977Z)
OS version: Darwin x64 19.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
3, 2, 2

Memory (System)
16.00GB (0.02GB free)

Process Argv
-psn_0_1487211

Screen Reader
no

VM
0%

Happening for me on Windows 10 too. Thanks for the workaround @dfdumaresq.
The docked toolbar has been buggy for me for quite a few versions now, but it's definitely extra broken now. The changes that were made to #70772 were good enough to allow me to get work done, but the updating of the "disconnect"/"stop" button has never been quite right, at least on Windows.

Sorry for this! I just pushed a fix.
You can use VS Code insiders from tomorrow which will contain the fix.
As for the docked toolbar being buggy for quite some versions - please let us know and file issue so we can improve this. Thanks

@isidorn , I let it slide for a while because of the amount of work it took to get it to at least a working state, but I'll revisit it once I get a hold of the next patch version.

@isidorn,
The bug reported here is definitely fixed for me on latest Windows 10, latest VSCode (non-insiders).
The one problem I'm still seeing, though, is that the icon shown for disconnect/stop is inconsistent. My (perhaps incorrect) understanding is that the "disconnect" icon should show for Chrome/browser debug sessions, while the "stop" icon should show for Node debug sessions.
I happen to have a project with one of each, and when I switch between the two using the docked toolbar menu, the icon doesn't always update to reflect the type or debug session. It's possible the problem only manifests if you start both debug sessions (Chrome and Node) then stop and start the Node session, but I haven't quite isolated the problem to that extent.
Note: this does not seem to occur when the toolbar menu is undocked.
Please let me know if you can repro this and think it's worth the effort to fix (I acknowledge it's a pretty minor bug). If you like, I can put this in a new issue.

@devuxer please file a new issue for this, thanks


[Resources] Update .NET SDK based on swagger update of Validate API

Looking at the test failures.

Hi @filizt , we need all SDKs to be generated basing on rest api spec on master branch, so please regenerate after the spec PR is merged.
Besides, please also write tests to cover new operations; update versions and reslease notes.
Thanks

Hi @filizt , we need all SDKs to be generated basing on rest api spec on master branch, so please regenerate after the spec PR is merged.
Besides, please also write tests to cover new operations; update versions and reslease notes.
Thanks

Swagger PR is merged and I regenerated the SDK. Versions and release notes are updated.  We need this PR to be merged asap since we have a customer affecting bug in a previously released SDK. This PR is fixing that issue.


Zitadel not connecting to the Postgres DB.

Hi Team, cc: @mheers , @fforootd, @ansarhun @mffap
I'm self-hosting Zitadel on K8s cluster using yamls like deployment, pv, pvc, service, ingress etc but its giving error when I'm connecting it to the self-hosted postgres DB in same cluster.
Error: cannot start client for projection: ID=DATAB-0pIWD Message=Errors.Database.Connection.Failed Parent=(failed to connect to host=localhost user=zitadel database=zitadel: dial error (dial tcp [::1]:26257: connect: connection refused))
It seems due to some issue in connecting it with postgres, it's trying to connect to the default CockroachDB which I don't want.
Please help to give the resolution asap.
So far I've tried below options:

Using configmap and referring it to the deployment.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: zitadel-config
namespace: default
data:
ZITADEL_DB_TYPE: "postgresql"
ZITADEL_DB_HOST: "lkjfkjsfkljskldfjs"
ZITADEL_DB_PORT: "9897"
ZITADEL_DB_NAME: "ffwefewfwef"
ZITADEL_DB_USERNAME: "dsfdsf"
ZITADEL_DB_PASSWORD: "r32re3"
ZITADEL_DB_SSL_MODE: "disable"

using the env variable in deployment.yaml
env:
- name: ZITADEL_DB_CONNECTION_URI
value: postgresql://:@hostname:/

Also, another thing:
I've used args like below in deployment.yaml, so anything else required to make the Zitadel instance up and running:
args:
- start
- "--masterkey"
- "custommasterkey"

Please help to give the resolution asap.

Someone will get to it as soon as possible. I recommend also asking in our discord chat where many self-hosters help each other. If you need timely response we also offer a support program for self-hosting, for a quote please get in touch with us.
Since you tagged me personally, I don't know how to help you with the issue since this is not my domain. Apologies.

You can see the supported configuration options in the defaults.yaml:  https://github.com/zitadel/zitadel/blob/main/cmd/defaults.yaml#L82-L106
So the environment variable ZITADEL_DB_CONNECTION_URI does not have an effect.
According to https://zitadel.com/docs/self-hosting/manage/configure#environment-variables, you should rather configure ZITADEL_DATABASE_POSTGRES_HOST, ZITADEL_DATABASE_POSTGRES_PORT etc.
Please reopen the issue if that doesn't work for you.

Hi,
now following error comes, what other configs are required?
Error: cannot start client for projection: ID=DATAB-0pIWD Message=Errors.Database.Connection.Failed Parent=(cannot parse host=xxxxxx.xxxxxx.svc.cluster.local port=5432 user= application_name=zitadel sslmode= dbname= sslrootcert=: failed to configure TLS (sslmode is invalid))


add: spec

Aliases
Async
Custom
DBApi
Errors
Querying
Session

Specs has been added on https://github.com/lanjoni/scylladb-crystal-driver/commit/4e98e204b7b6be60fa3fb9f6d95e95a6b7963e1e


Atomic writes and lockfiles

Added a lockfile wrapper to each prototype function of json-file and made the writes atomic.
Also added a couple of "integration" tests.
Right now there are still some race conditions if you have 2000 continuous updates to the same file.

Right now just waiting on a version release.

Sure but can you fix the tests first? https://circleci.com/gh/expo/json-file/29

@ide Seemed like it was an eslint error, not a test error. Fixed and should be good to go.

Published to npm as v6.0.0 under the next dist-tag.


record_type not working for associations

Hi,
I am currently facing an issue when trying to include a certain nested record in one of my serialization. I have two serializers: a ContractSerializer and a LegalEntitySerialiser. Each of my legal entities can either be a owner or a tenant. On my Contract model, I have a has_many :tenants relationship. My ContractSerializer is defined as follows:
class ContractSerializer
  include FastJsonapi::ObjectSerializer

  has_many :tenants, serializer: ::LegalEntitySerializer, record_type: 'tenant'

  attribute :uuid
  attribute :start_date
  attribute :payment_day
  attribute :rent
end

As shown in the Serializer definition, I would like to set the record_type for tenants to 'tenant' and not 'legal_entity'. However, when trying to run ContractSerializer.new(Contract.limit(1), {include: ['tenants']}).serializable_hash i get the following results:

As you can see, the record_type: 'tenant' works on 'relationships' array but not on the 'included' array. I am wondering if this is a normal behaviour of the gem?
Thanks in advance for your help!

From looking at your code, the record_type should be legal_entity. If your tenants are legal_entity types, then the record_type should be that, not tenant.

@aphilippartd if you want to change the type in the included record as well, then go ahead and use set_type in the LegalEntitySerializer definition.
https://github.com/Netflix/fast_jsonapi#serializer-definition

I think this might be related to what I encountered on #271 where inherited serializers do not have a set record_type by default.
This is the commit with test case: https://github.com/Netflix/fast_jsonapi/pull/271/commits/e7dc8b4b31857c39295bdd5310e00d6a490ba6ce

Thanks for your replies! @Erol , you're right, that's most likely the issue thanks!


HRTIM

NOTE: This is targeted at the staged-pac branch which depends on the newer staged pac

This is by no means complete. There are a lot of missing things like listening on events from neighbor timers, burst mode, chopper etc. However I still believe it does cover quite a lot of use cases. Some of which are showed in the examples.
I am no type system ninja so there are probably a lot of things that can(and should?) be improved upon :)

Closing this in favor of usbalbin/stm32-hrtim#1


Create conda recipe for cclib

This is just a reminder for us to build a conda recipe for cclib.

Note that it's available in pip:
https://pypi.python.org/pypi/cclib

Closing this.
Addressed in PR https://github.com/omnia-md/conda-recipes/pull/742


glooctl: 1.12.33 -> 1.12.37

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/solo-io/gloo/releases.
meta.description for glooctl is: "glooctl is the unified CLI for Gloo"
meta.homepage for glooctl is: "https://docs.solo.io/gloo-edge/latest/reference/cli/glooctl/"
meta.changelog for glooctl is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.12.35 with grep in /nix/store/h4nkd6nzqj79xm4xgmc0n7sdl27kn3lh-glooctl-1.12.35
found 1.12.35 in filename of file in /nix/store/h4nkd6nzqj79xm4xgmc0n7sdl27kn3lh-glooctl-1.12.35

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
glooctl

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

glooctl

Maintainer pings
cc @NelsonJeppesen for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/solo-io/gloo/releases.
meta.description for glooctl is: "glooctl is the unified CLI for Gloo"
meta.homepage for glooctl is: "https://docs.solo.io/gloo-edge/latest/reference/cli/glooctl/"
meta.changelog for glooctl is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.12.36 with grep in /nix/store/m4ynw33721x4lk57m9adlvlwf5zb56hv-glooctl-1.12.36
found 1.12.36 in filename of file in /nix/store/m4ynw33721x4lk57m9adlvlwf5zb56hv-glooctl-1.12.36

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
glooctl

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

glooctl

Maintainer pings
cc @NelsonJeppesen for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/solo-io/gloo/releases.
meta.description for glooctl is: "glooctl is the unified CLI for Gloo"
meta.homepage for glooctl is: "https://docs.solo.io/gloo-edge/latest/reference/cli/glooctl/"
meta.changelog for glooctl is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.12.37 with grep in /nix/store/bnf2zcdqm4y4a4cc5w64rq7pm7zhj4zn-glooctl-1.12.37
found 1.12.37 in filename of file in /nix/store/bnf2zcdqm4y4a4cc5w64rq7pm7zhj4zn-glooctl-1.12.37

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
glooctl

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

glooctl

Maintainer pings
cc @NelsonJeppesen for testing.


Fix typo on the using_the_web_api.md page

Description of the change: Added a space after a comma that was missing one.
Reason for the change: Correct typo.
Link to original source: https://sendgrid.com/docs/API_Reference/Web_API/using_the_web_api.html#-The-Data

Closes #
@ksigler7

 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.

Hello @kellim,Thanks again for the PR! We want to show our appreciation by sending                                              you some swag. Could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


Withdrawal denomination

Is your feature request related to a problem? Please describe.
My server uses one primary currency (value: 1), and then a separate denomination (value: 16) when trading in values over a stack. When executing /money withdraw 64 the smaller denomination would be preferred.
Describe the solution you'd like
I would like to be able to set a withdrawal denomination. All withdraw actions can return one denomination, whereas deposit actions can accept all. This also means /balance values are accurate.
Describe alternatives you've considered
Other use cases may prefer to choose the denomination of each action. An additional argument /money withdraw <value> [type] would be appropriate. A default type could then be configured, with auto retaining the current behaviour.
If denomination types are being exchanged, then it would make sense to consolidate currency when inventories are running out of space.
Additional context
This is relevant when trading with Shopkeepers. Users may prefer to operate with a single denomination, to avoid unnecessarily using both trading slots.

I have currently paused all the new features/enhancement development as I'm focusing on improving performance issues. :)


update yii forum & chat link

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Tests pass?
❌

Fixed issues
https://github.com/yiisoft/yii2/issues/18745

👍🏻


AvroRecord.read

schemaRegistry.getCurrentSchema(writerSchema.getFullName) match {
case None =>
Currently the code above, returns a GenericRecord, but this is not correct behaviour. In this situation, first cache should be resynced with remote registry and if after that the schema doesn't exist  throw illegal stage exception

There seems to be some kind of out-of-sync behaviour where the class loader doesn't recognize the fully qualified name on startup, but later on it does. This still needs investigating..

e.g.
{Code}
Unsupported Avro Case Class type com..CredentialIndex
at io.amient.affinity.avro.AvroRecord$.inferSchema(AvroRecord.scala:338)
at io.amient.affinity.avro.AvroRecord.(AvroRecord.scala:349)
at com..CredentialIndex.(***.scala:20)
{Code}


CLAS diff in  due to sorting

in the following code, "ORDER BY PRIMARY KEY" should be added,
  METHOD lif_object_oriented_object_fnc~read_descriptions.
    SELECT * FROM seocompotx INTO TABLE rt_descriptions
      WHERE clsname = iv_obejct_name.                     "#EC CI_SUBRC
    DELETE rt_descriptions WHERE descript IS INITIAL.
  ENDMETHOD.

merged, closing


[BUG] - Argo scheduled jobs fail with 403 permission error

Describe the bug

 Server returned status code 403 with message: `workflows.argoproj.io is forbidden: User "system:serviceaccount:dev:argo-viewer" cannot create resource "workflows" in API group "argoproj.io" in the namespace "dev"`

Expected behavior
Runs smoothly
OS and architecture in which you are running Nebari
v2024.3.3
How to Reproduce the problem?
Run a notebook via scheduler
Command output
No response
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
No response

Hi @krassowski is this happening to all your scheduled jobs?

Our team is running into the same error as well (Nebari v2024.5.1).

It looks like users with analyst group only have the viewer privileges for workflows:
https://github.com/nebari-dev/nebari/blob/e997de84735b9b6eff8ea7323e979a76c6e56527/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/argo-workflows/main.tf#L89-L93
Indeed on the deployment on which everything works I was testing using an admin account, on deployment where it did not I had only a user account.

Summarising some offline discussions because I am not sure if everyone is aware of the multiple threads this was discussed in:

@viniciusdc mentioned that this is the expected behaviour (that analysts cannot schedule notebooks)
we agreed that in that case we need to improve the error message in argo_jupyter_scheduler
separately @dharhas suggested to open an issue to think through a better permission role

The idea of the analyst and developer roles and what they each have access to is from an early user of qhub and isn't very good in practice.
This is what I meant by we need to think through the permissions.


New papers

Hello maintainers:
Thank you for maintaining this wonderful repo! I wonder if it would be possible to add two new papers of mine:

Dataset Distillation via the Wasserstein Metric This paper employs the Wasserstein metric for distribution matching
Towards Adversarially Robust Dataset Distillation by Curvature Regularization This paper incorparates adversarial robustness into the distilled data by curvature regularization, which may fit into the "trustworthy" section.

Best,
Haoyang

Thank you for your contribution, I will add them to the repo and hope you can add the corresponding open-source code.

Thank you! Sure, I will do this.


UnsafeRow must support Decimal types

Description
UnsafeRow which holds the contents of a row in a serialized form in-memory must support serialization of LONG_DECIMAL and SHORT_DECIMAL.
Since fuzzer has support for decimals, the test TYPED_TEST(UnsafeRowComplexDeserializerTests, Fuzzer) tries to SerDe the LONG_DECIMAL type and fails. The computing of offset to serialization location expects either the UnsafeRow fields to be of 8-bytes FixedWidth or of variable length. SHORT_DECIMAL serialization is simpler as it matches the kFixedWidth of 8 bytes.
/**

@param pos
@param isFixedWidth
@return the location of the fixed size data if isFixedWidth is true,
return the first unwritten word for variable length data otherwise.
/
char getSerializationLocation(size_t pos, bool isFixedWidth) {
setVariableLengthOffset(alignToFieldWidth(variableLengthOffset_));
return isFixedWidth ? reinterpret_cast<char*>(&reinterpret_cast<uint64_t*>(
fixedLengthData_)[pos])
: buffer_ + variableLengthOffset_;
}

cc: @majetideepak @mbasmanova @pedroerp

CC: @tanjialiang @xiaoxmeng


More complex border designs

I'm trying to start a project which requires a tiling display of multiple windows. The project's goal is to create something like DexUI but usable for everyday use. I'd want a tiling WM that allows for dynamic graphical window borders. DexUI relies on a background image for the fancy window borders but for my project I'd need them to change based off the state of the active workspace (window titles/layout/etc).
From what I know, in X this requires compositing unless window borders are a solid line, but I am unfamiliar with the way wayland compositors do this. How are window borders usually implemented in wayland compositors (if there even is a usual in anything wayland at this point)? Considering Sway is a tiling window manager in wayland I was curious if anyone here would know how to implement a sort of theming engine on top of sway. I'd take it upon myself to write it if feasible. Basically all I'm thinking is raster or vector based window borders and maybe a little logic to decide where to draw certain things (if a window is too far north, draw the title on the bottom type stuff).
If this is possible, I'd develop a patch but leave it up to you guys as to whether it'd be useful to merge. As it seems now, most of the Sway community runs a fairly lightweight, minimal setup so fancy graphics might be unwanted. I'm just asking about the feasibility and perhaps a few pointers so I don't write yet another window manager to achieve this.
I've also never seen a "fancy" tiling window manager and think Sway would be a good starting point. As of now, there are only tiling plugins for other desktop environments (which don't work too well in my experience). I think Sway is awesome and I'd love to create something new out of it.
Thanks for your help!

Check out the window-borders branch.

Thanks. I didn't realize normal borders weren't implemented yet. I'll take
a look at this.
On Sat, Mar 5, 2016 at 10:15 PM Drew DeVault<EMAIL_ADDRESS>wrote:

Check out the window-borders branch.
—
Reply to this email directly or view it on GitHub
https://github.com/SirCmpwn/sway/issues/506#issuecomment-192788693.


Can't choose the right number of plots

Hi
I wanted to put "Filhy Accusasions" for 2 times in my deck, but i only can choose 1. And at many other plots there's the same thing

Hi. Set the correct number of Core Set at your disposal in the deck builder Options.
Envoyé de mon iPhone

Le 18 avr. 2016 à 10:37, Necrogoat<EMAIL_ADDRESS>a écrit :
Hi
I wanted to put "Filhy Accusasions" for 2 times in my deck, but i only can choose 1. And at many other plots there's the same thing
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub


Feature Request: part replacement

It might be really nice to be able to swap parts out on the Smithing Table, or some dedicated block, such that we can improve our tools and keep their modifiers, enchantments, and levelling process.

Done 👍 (Assembly table does that now)

Done 👍 (Assembly table does that now)


Crash when 'name' is not a hashable type.

When a rules's name is not a hashable type (e.g. a list), like in this rule:
Root:
	name+=ID[','] ;

process_node crashes ungracefully:
  File "/usr/bin/textx", line 11, in <module>
    sys.exit(textx())
  File "/usr/lib/python3.6/site-packages/textx/commands/console.py", line 51, in textx
    model = metamodel.model_from_file(args.model, debug=args.d)
  File "/usr/lib/python3.6/site-packages/textx/metamodel.py", line 465, in model_from_file
    encoding, debug=debug)
  File "/usr/lib/python3.6/site-packages/textx/model.py", line 168, in get_model_from_file
    debug=debug)
  File "/usr/lib/python3.6/site-packages/textx/model.py", line 194, in get_model_from_str
    model = parse_tree_to_objgraph(self, self.parse_tree[0])
  File "/usr/lib/python3.6/site-packages/textx/model.py", line 520, in parse_tree_to_objgraph
    model = process_node(parse_tree)
  File "/usr/lib/python3.6/site-packages/textx/model.py", line 333, in process_node
    parser._instances[id(inst.__class__)][inst.name] = inst
TypeError: unhashable type: 'list'

Attributes called name are treated in a special way. They are used for reference auto-resolving feature. So, yes, name must be of a hashable type. I'll add a note in the docs.

As a side note, if you don't have a strict requirement for name to be a list, the idiomatic way to use this kind of identifier would be to create your match rule for a list of IDs and use that instead.
Root: name=MyID;
MyID: ID+[','];

Match rules by default return matched string (if you do not use match filters) so no problem with name lookups.

Oh no, I was just surprised that it crashed instead of reporting that the metamodel was not OK.
I still think it would be better to check for stuff like this while parsing the metamodel, but I understand if that is too complex with the current setup. Haven't bothered to look into the code yet.

Yes. I agree. Better error reporting would be nice. I'll look into it when find some time.


Getting the current Grafana user

I am getting the current username like this:
ctrl.$scope.$$childTail.$root.$$childTail.$$prevSibling.$$prevSibling.$$prevSibling.ctrl.searchSrv.backendSrv.contextSrv.user.login
This would return admin since I'm logged in as admin.
Is there any simpler way?

I would really like to know how to do this as well.

@mhollins I ended up writing my own plugin for it. https://github.com/MacroPower/macropower-analytics-panel Might help depending on your use case.


Document simulating a multi-region cluster locally

Fixes #10007.
Summary of changes:

Add a new page 'Simulate a multi-region cluster on localhost', with
instructions for using cockroach demo --global ... This will be part
of the infrastructure for creating/updating multi-region demos in our
docs that highlight the new features coming for v21.1.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/dcb31dc1347492f2a8da4d4d7ce33bd761ab061f/
Edited pages:

v21.1/cockroach-demo.md
v21.1/frequently-asked-questions.md
v21.1/simulate-a-multi-region-cluster-on-localhost.md


 I changed it use the same maximum + sum as before, and scaled the velocities by the model dt to give positions I added to the critics data (that would generally be useful for some critics to know). This allows this critic to maintain the same order of magnitude from before, representing reversing distance, so we don't need to tune this critic again (or as much).

We can merge


feat: gcp sql database support

Last issue is making sure services are created after the cloud build run ends.

Fixes for existing issues implemented up/down is smooth now. Should be good to release.


The big component refactor

Lots of changes here but all I've really done is made everything a component and broke up some of the monolithic views into smaller components.
I tried my best to not break anything and I don't think I did but I didn't want to merge this in until someone else could sanity check me.

good work!


fix (backing image): fix wait backing image state function won't wait issue

Ref: longhorn/longhorn 5626

cc @longhorn/qa @weizhe0422

@Mergifyio backport v1.4.x v1.3.x

@ChanYiLin Please refer this PR to the corresponding issue.


Invalis items and block types

I am using the latest dev build 4.11.2 DEV and minecraft/spigot 1.13.2 and I get the following error:
24.05 19:38:51 [Server] INFO Enabling Jobs v4.11.2
24.05 19:38:59 [Server] INFO PlaceholderAPI hooked.
24.05 19:38:59 [Server] INFO PlaceholderAPI was found - Enabling capabilities.
24.05 19:39:00 [Server] INFO Loaded 8 titles!
24.05 19:39:00 [Server] INFO Loaded 75 protected blocks timers!
24.05 19:39:00 [Server] INFO Loaded 890 custom item names!
24.05 19:39:00 [Server] INFO Loaded 59 custom entity names!
24.05 19:39:00 [Server] INFO Loaded 34 custom enchant names!
24.05 19:39:00 [Server] INFO Loaded 16 custom color names!
24.05 19:39:00 [Server] INFO Loaded 35 custom potion names!
24.05 19:39:00 [Server] ERROR Shop item SuperPickAxe has an invalid Icon name property. Skipping!
24.05 19:39:00 [Server] ERROR Shop item WoodenShovel has an invalid Icon name property. Skipping!
24.05 19:39:00 [Server] ERROR Shop item LureEnchantBook has an invalid Icon name property. Skipping!
24.05 19:39:00 [Server] ERROR Shop item Elytra has an invalid Icon name property. Skipping!
24.05 19:39:01 [Server] WARN Job Miner has an invalid Break type property: NETHER_BRICK (nether_brick)! Material must be a block!
24.05 19:39:01 [Server] WARN Job Builder has an invalid Place type property: NETHER_BRICK (nether_brick)! Material must be a block!
24.05 19:39:01 [Server] INFO Loaded 12 jobs!

See the latest changes. This is not a plugin code error.


fix: AVAssetWriter status is 1 crash

What
markAsFinished has to be called within the finishWritingWithCompletionHandler.
Moving that 2 lines allowed me to spam start / stop for hundreds of time without a single crash.
Since I am not a native developer, I can only assume that what I've done is correct. I had no regressions and the issue, which was 100% reproducible every single time on older devices due to performance I guess, has not happened again after applying this little change.

Changes
Moved markedAsFinished into finishWriting.
This article was helpful to track the issue:
https://code-examples.net/en/q/e14f33

Tested on

iPhone 7, iOS 12.1
iPhone 12 Pro Max, 15.4.1
iPhone 13 Pro Max, 15.4.1

Related issues
Fixes #930

Does it still stop the video at the correct point?

Cool, I think this is a good change. Thanks @hirbod 🖤, LGTM

@mrousavy I was so happy... but unfortunately the crash happened again with this fix. Looks like less frequent, but still possible.

So some informations I could find:
Enums:
AVAssetWriterStatusUnknown = 0,
AVAssetWriterStatusWriting = 1,
AVAssetWriterStatusCompleted = 2,
AVAssetWriterStatusFailed = 3,
AVAssetWriterStatusCancelled = 4
So if I understand that correctly, status 1 means that we still trying to write something while status is 1?
This explains why this only happens when I spam start/stop

@mrousavy I think I could isolate the issue a bit more:
2022-04-15 12:13:02.933455+0200 voozme[840:267779] [native] VisionCamera.finish(): Finishing Recording with AssetWriter status "writing"...
2022-04-15 12:13:02.940310+0200 voozme[840:267779] [native] VisionCamera.finish(): Finishing Recording with AssetWriter status "writing"...
2022-04-15 12:13:02.942954+0200 voozme[840:267779] DevLauncher tries to handle uncaught exception: *** -[AVAssetWriter finishWritingWithCompletionHandler:] Cannot call method when status is 1

The crash only happens, when finish get called twice (which shouldn't but somehow can happen).
So spamming fast enough can get you into this situation.


Improving error handling and failure to start handling as well as pre-Chromium Edge

Fixes #189
Fixes #63

Also fixing a small loading bar bug


Create some API Docs

Is there any api docs for ktor? Something analogous to this:
https://tomcat.apache.org/tomcat-5.5-doc/servletapi/
For example, in the servlet api i can do this on an http post:
val x:String = request.getParameter("x")
It took me an hour to find something similar in ktor:
val map = call.request.receive()
val token = map["token"]

+1

In the meantime I have added these documentation pages that include most of the public request/reponse API:

http://ktor.io/servers/requests.html
http://ktor.io/servers/responses.html

And for routing this was already there:

http://ktor.io/features/routing.html

API documentation is live: https://api.ktor.io/0.9.4/


PSR-728 Name of bonds

I wouldn't change it now, but going forward for I'd suggest @B-Savage to put there a commit message relevant to the ticket. E.g. "Name of bonds" instead of "Controller, page, content". This is to help us in case we need to browse git history in the future.

Closed as https://github.com/hmrc/pension-scheme-return-frontend/pull/548 was merged


Minimal OKD release

image pyramids from Image Service (container ID is required, and CORS has to be enabled)
JSON from arbitrary location (CORS may be needed)
icons are not expected to exist (newest version does not even try loading them)
filmstrip shows overlay only
image data shows filename from descriptor

http://localizoom-localizoom.apps-dev.hbp.eu/, contains demo links too.


Order.create uses an invalid URL

When I try running shippo.Order.create(...), I get the following error:
shippo.error.APIConnectionError: Unexpected error communicating with Shippo. It looks like there's
probably a configuration issue locally.  If this problem persists, let
us know at<EMAIL_ADDRESS>
(Network error: A CannotOverwriteExistingCassetteException was raised with error message Can't overwrite existing cassette ('tests/fixtures/cassettes/tests/rest/admin/test_regenerate_label/TestRegenerateLabel/test_label_regeneration.yaml') in your current record mode (<RecordMode.ONCE: 'once'>).
No match for the request (<Request (POST) https://api.goshippo.com/orders/>) was found.
Found 7 similar requests with 1 different matcher(s) :

1 - (<Request (POST) https://api.goshippo.com/v1/shipments/>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/orders/ != /v1/shipments/

2 - (<Request (POST) https://api.goshippo.com/v1/shipments/>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/orders/ != /v1/shipments/

3 - (<Request (POST) https://api.goshippo.com/v1/shipments/>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/orders/ != /v1/shipments/

4 - (<Request (POST) https://api.goshippo.com/v1/transactions/>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/orders/ != /v1/transactions/

5 - (<Request (POST) https://api.goshippo.com/v1/orders/>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/orders/ != /v1/orders/

6 - (<Request (POST) https://api.goshippo.com/v1/shipments/>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/orders/ != /v1/shipments/

7 - (<Request (POST) https://api.goshippo.com/v1/transactions/>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/orders/ != /v1/transactions/
)
> /Users/tlaredo/src/whatnot_backend/.venv/lib/python3.9/site-packages/shippo/resource.py(188)create()
-> response, api_key = requestor.request('post', url, params)

This is because the cls_url method on the Order object doesn't have the v1 prefix:
@classmethod
    def class_url(cls):
        cls_name = cls.class_name()
        return "%ss/" % (cls_name,)

Instead, it should be this:
@classmethod
    def class_url(cls):
        cls_name = cls.class_name()
        return "v1/%ss/" % (cls_name,)

@tlaredo Can you please try to run this demo and let me know if you can still reproduce this issue? I tried to reproduce this issue but couldn't .
Please replace <API-KEY> with your test token
import shippo
import json
shippo.config.api_key = "<API-KEY>"
from datetime import datetime

address_from = {
    "name": "Shippo Team",
    "street1": "965 Mission St",
    "street2": "Unit 480",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94103",
    "country": "US",
    "phone": "+1<PHONE_NUMBER>",
}

address_to = {
    "name": "Shippo Friend",
    "street1": "1092 Indian Summer Ct",
    "city": "San Jose",
    "state": "CA",
    "zip": "95122",
    "country": "US",
    "phone": "+1<PHONE_NUMBER>",
}

unit_price = 2.34
unit_weight = 25.45
unit_quantity = 2
line_item1 = {
    "title": "Demo Line Item Object",
    "sku": "demo_1234",
    "quantity": unit_quantity,
    "total_price": f"{unit_price:.2f}",
    "currency": "USD",
    "weight": f"{unit_weight:.2f}",
    "weight_unit": "lb",
    "manufacture_country": "US"
}
line_items = [line_item1]

shipping_cost = 1.23
subtotal_cost = unit_price
tax_cost = 1.065*subtotal_cost
total_cost = shipping_cost + subtotal_cost + tax_cost
my_order = {
    "order_number": f"#{datetime.now().date()}",
    "order_status": "PAID",
    "to_address": address_to,
    "from_address": address_from,
    "line_items": line_items,
    "placed_at": datetime.now().isoformat(),
    "weight": f"{10.0:.2f}",
    "weight_unit": "lb",
    "shipping_method": "ground",
    "shipping_cost": f"{shipping_cost:.2f}",
    "shipping_cost_currency": "USD",
    "subtotal_price": f"{subtotal_cost:.2f}",
    "total_price": f"{total_cost:.2f}",
    "total_tax": f"{tax_cost:.2f}",
    "currency": "USD"
}

order = shippo.Order.create(order_number=123,
                            order_status="PAID",
                            to_address=address_to,
                            from_address=address_from,
                            line_items=[line_item1],
                            placed_at=datetime.now().isoformat(),
                            weight=unit_weight*unit_quantity,
                            weight_unit="lb")
print(order)

Also, please provide me with the steps to reproduce if possible.


FLINK-35596: Make Description and DescriptionElement serializable

What is the purpose of the change
This change makes DescriptionElement serializable so that AvroEncoding that is set in AvroRowDataSerializationSchema and AvroRowDataDeSerializationSchema can be serializable. As part of https://github.com/apache/flink/pull/23395, AvroEncoding was introduced which uses the DescriptionElement which is not Serializable. Due to which this fails when AvroRowDataSerializationSchema and AvroRowDataDeSerializationSchema gets serialized.
Note: Also marked Description interface Serializable given Description uses DescriptionElements as well.
Verifying this change

Added unit test to test for the serialization and deserialization of Description and DescriptionElement.
Also it is already covered by existing tests, such as KafkaTableITCase in flink-kafka-connector.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc @becketqin

CI report:

8c396c5 Azure: FAILURE

Bot commands

This test passes locally though 🤔 Let me try triggering it again if it is a transient issue.

@flinkbot run azure

CI report:

8c396c5 Azure: FAILURE

Bot commands

This test passes locally though 🤔 Let me try triggering it again if it is a transient issue.

Looks like the issue is fixed as part of https://github.com/apache/flink/pull/24936. Rebased with master and this should resolve the flaky test issues. Gentle ping @becketqin @dawidwys

Also ping @dawidwys in case you see any issues in making the Description serializable.

@flinkbot run azure

Also ping @dawidwys in case you see any issues in making the Description serializable.

I pinged already above. @dawidwys do you see any issues with marking Description as well Serializable. Although we don't see any instances of Description that are required to be Serializable unlike the DescriptionElement. Thoughts?

Another question is: should we implement Serializable only for TextElement and not extending DescriptionElement with Serializable as it will affect the implemented classes as well. This doesn't look to be a good practice but I see similar patterns in Flink though.

I think it is not the best idea to make description java serializable. It doesn't feel right to me to make serializable something that never meant to be serializable. The only purpose of the Description is to generate documentation. Why don't you fix the serialization issue in place, in AvroRowDataDeSerializationSchema rather than opening up potentially many more problem? Can't you adjust the serialization of AvroRowDataDeSerializationSchema?

@dawidwys The AvroRowDataSerializationSchema has always been serializable, until it got a field of AvroEncoding type which is a DescribedEnum.

I think it is not the best idea to make description java serializable. It doesn't feel right to me to make serializable something that never meant to be serializable.

That was my first impression, too. But if you look at the specific case of DescribedEnum, this is not a description, but an option value. So it seems expected to be put into a Configuration or set as a field in a class that might be serializable. Therefore, intuitively this class should just be serializable like Java enums. Then making descriptions  serializable becomes reasonable.

Why don't you fix the serialization issue in place, in AvroRowDataDeSerializationSchema rather than opening up potentially many more problems?

Can you elaborate on what might be potential problems of making descriptions serializable?
Arguably, one can always say, use a String instead of DescribedEnum if the class needs to be serializable. However, this is just non-intuitive and people can easily make mistakes and we will see such backwards incompatible change now and then.

I'd argue java serialsiation keeps no compatibility by itself. If you want to maintain compatibility you need versioning scheme for the serialised data.

The point is not about the compatibility between two Serializable versions. The case we are talking about is that people may add fields of DescribedEnum type into their serializable class without being aware that it is not serializable. Just like what we see here.

That's a different story. You don't want to have Description serialisable, but you rather want DescribedEnum serialisable. That's a goal I think is reasonable. I guess you could e.g. serialize just the ordinal in DescribedEnum.

Do you mean serialize manually? Yes, there are different ways to fix this particular bug. Like I mentioned, one can use a String instead of DescribedEnum in their Serializable classes. But my main concern is about intuitiveness and future proof.
Just like this bug, by intuition, people will have the InlineElement field in their DescribedEnum classes. And people will just assume DescribedEnum is serializable and put it in their class without a second thought. Yes, we can always put notes to tell users to use String instead. But this is some additional overhead of understanding for the API and people may miss it.
So the question is not only about how do we fix this particular bug, but also how can we help users to avoid such bugs in the future.
That said, I do agree that intuitively descriptions need not be serializable, just like enums should be serializable. However, when the DescribedEnum is introduced, we kind of introduced this paradox. So it is more of a trade-off to me. And personally I don't see much material downside of making the description serializable. But I can be convinced if there are actually negative impacts by doing so.

Nevertheless, just to throw out the most obvious reason that comes to my mind is why wasting space for useless data during runtime? (the description) Or another... you mentioned compatibility... what if we want to fix a typo in an enum description? Why do I need to consider serialisation compatibility in that case?

Making the description serializable does not automatically make them appear in all the serializable runtime classes, right? They will only be there if explicitly included, probably for a good reason.
Also, with the explicit SerializationVersionUID, the backwards compatibility should not be an issue.

Do as you please. You asked about my opinion and my opinion is that it is not a good idea.

Looks like both @dawidwys and @becketqin agree that DescribedEnum (to not just solve for this case but also enable other users in the future to use DescribedEnum as a Serializable) should be Serializable but not Description itself. This makes sense to me as well. But then given DescribedEnum is an interface and the description (InlineElement) is not Serializable and therefore either InlineElement needs to be Serializable.
Few options that I could think of are:

Mark InlineElement alone Serializable instead of DescriptionElement given DescribedEnum only uses that for now. In the future if DescribedEnum is extended to DescriptionElement then it needs to be serializable as well.

Make description transient in AvroEncoding - this will solve the current issue, but then in the future some one else can step on that landmine when they implement DescribedEnum.

Another way is apply SerializationProxy pattern. The idea is as follows:

Introduce SerializableDescribedEnum that implements both DescribedEnum and Serializable.
Implement writeObject and readResolve to serialize/deserialize the InlineElement and internally handle the serialization and deserialization of InlineElement.
Also add to documentation in DescribedEnum to use SerializableDescribedEnum if a serializable version of DescribedEnum is required.

or the current solution itself.

Initially, I was also hesitant to mark both Description and DescriptionElement Serializable and it didn't feel right to me given it is done at the interface and not at the class either which gets leaked in to all the extending classes. Currently, that is fine but future evolution becomes difficult.
After going through all the above options, I feel the current solution is not that bad given the above options. If others have any other better suggestion, will definitely consider before merging this one.
Thanks for all the great discussions above!

One more thing to add, with all of the above options, we don't really need to make Description Serializable yet.

@dawidwys Thanks for the comments. I respect your opinion, although personally I still think making description serializable is not a bad idea as it seems.
And thanks @venkata91 for the summary. Given that we do not have a consensus on the fix, my suggestion is following:

Just fix this particular case in this patch, using option 2. This way at least we don't introduce tech debt.
If we identify another issue caused by the same root cause here, i.e. mistreating the DescribedEnum as a serializable, we apply the generic fix by making Description serializable.

Thanks.

@flinkbot run azure

enums are by default Serializable and the serialization and deserialization mechanism for enum is different (see stackoverflow article and official Java documentation for more details) from classes that are marked as Serializable.
For Flink versions < 1.18, the ClosureCleaner tries to serialize every nested field and also tries to serialize the description field which is not serializable. This causes the NotSerializableException mentioned in https://issues.apache.org/jira/browse/FLINK-35596. As part of Java 17 support, this is further fixed in https://issues.apache.org/jira/browse/FLINK-31919 and got released Flink-1.18
While https://issues.apache.org/jira/browse/FLINK-33058 got released only in Flink-1.19. Therefore, the AvroEncoding introduced won't cause any backwards incompatible issues with previous released versions.
Closing this PR as nothing to do here.


Is it possible to redirect a dart stream into a C FILE pointer?

I am trying to connect ncurses to a socket connection, and would need to be able to provide a different file pointer to the newterm constructor. Is this possible?
https://github.com/abitofevrything/dart_ncurses/blob/fd52d73e2a75ccc45956b99365d66ea66c72ee9d/lib/src/wrapper.dart#L799

Hi,
I am currently unaware of a way to convert a high-level Dart object (probably an IoSink) into a C FILE pointer, so this would not be possible from pure Dart.
However, if you can get hold of a FILE pointer through FFI, you can call defaultLibrary.newterm and pass the resulting pointer to NativeScreen.fromPointer to get a screen with a custom stdin/stdout.
Import the package:ncurses/bindings.dart package to get access to the NativeScreen extension.


Vm and sql backup policies for smss dogs

Onboards vm and sql workload of smss Chronicle Dog Application into backup.

Spoke: smss-dogs-backup, Environment: prod and Pipeline Stage: Prod
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # azurerm_backup_policy_vm.policy["daily-backup-policy-1"] will be created
  + resource "azurerm_backup_policy_vm" "policy" {
      + id                             = (known after apply)
      + instant_restore_retention_days = (known after apply)
      + name                           = "daily-backup-policy-1"
      + policy_type                    = "V2"
      + recovery_vault_name            = "rsv-smss-core-001"
      + resource_group_name            = "rg-smss-core-001"
      + timezone                       = "UTC"

      + backup {
          + frequency = "Daily"
          + time      = "20:00"
        }

      + retention_daily {
          + count = 14
        }
    }

  # azurerm_backup_policy_vm_workload.backup_workload_policies["dogssqlbackup01"] will be created
  + resource "azurerm_backup_policy_vm_workload" "backup_workload_policies" {
      + id                  = (known after apply)
      + name                = "dogssqlbackup01"
      + recovery_vault_name = "rsv-smss-core-001"
      + resource_group_name = "rg-smss-core-001"
      + workload_type       = "SQLDataBase"

      + protection_policy {
          + policy_type = "Log"

          + backup {
              + frequency_in_minutes = 15
              + weekdays             = []
            }

          + simple_retention {
              + count = 8
            }
        }
      + protection_policy {
          + policy_type = "Full"

          + backup {
              + frequency = "Daily"
              + time      = "22:00"
              + weekdays  = []
            }

          + retention_daily {
              + count = 8
            }
        }

      + settings {
          + compression_enabled = false
          + time_zone           = "UTC"
        }
    }

  # azurerm_backup_protected_vm.vm["vm-dogs-app01"] will be created
  + resource "azurerm_backup_protected_vm" "vm" {
      + backup_policy_id    = (known after apply)
      + id                  = (known after apply)
      + protection_state    = (known after apply)
      + recovery_vault_name = "rsv-smss-core-001"
      + resource_group_name = "rg-smss-core-001"
      + source_vm_id        = "/subscriptions/becc4bf3-5028-43e4-8008-06e9362d6b86/resourceGroups/rg-smss-dogs-001/providers/Microsoft.Compute/virtualMachines/vm-dogs-app01"
    }

  # azurerm_backup_protected_vm.vm["vm-dogs-sql01"] will be created
  + resource "azurerm_backup_protected_vm" "vm" {
      + backup_policy_id    = (known after apply)
      + id                  = (known after apply)
      + protection_state    = (known after apply)
      + recovery_vault_name = "rsv-smss-core-001"
      + resource_group_name = "rg-smss-core-001"
      + source_vm_id        = "/subscriptions/becc4bf3-5028-43e4-8008-06e9362d6b86/resourceGroups/rg-smss-dogs-001/providers/Microsoft.Compute/virtualMachines/vm-dogs-sql01"
    }

Plan: 4 to add, 0 to change, 0 to destroy.


importing environment variables does not work with turborepo

Describe the bug
I am importing environment variables with $env/static/public for a supabase client and in development (when loading variables from a .env file) it works perfectly but in production it fails, it actually fails the build
Reproduction
create turborepo project from the sveltekit starter
add a .env file and import the variables to use in a ts file
build the project without a .env file with injecting environment variables, i am using vercel and injecting the variables through the dashboard
Logs
No response
System Info
deploying on vercel

Severity
serious, but I can work around it
Additional Information
No response

Can you elaborate on what this means exactly?

create turborepo project from the sveltekit starter

If you have a repro you can share (a repo, not a description) it would help greatly.

@Rich-Harris it works now and I don't know why or why it didn't work until now, I went through multiple iterations and at one point the issue wad I was importing a variable in a utility package that didn't have the variables but on some iterations that was definitely not the issue, I am having a different issue now so I can't check if it works in that app but it works in another app at the moment, I will close this issue now and add a comment if I run into it again in the future


Update spartacus-installation to angular 9

Update spartacus-installation to use angular 9.
Make sure it works on the server.

For server deployment:
spartacus-installation hasn't been updated to use angular 9.
So I manually updated the package.json to use angular 9.
So now it deploys without errors, but I still get these warnings, and the storefront does not load. I can't remove those files, because at least environment.prod.ts is needed.
Anyone has any idea???
WARNING in /data/hybris/spartacus-installation/app/spartacus/src/app/app-routing.module.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.
WARNING in /data/hybris/spartacus-installation/app/spartacus/src/environments/environment.prod.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Hey, I prapared some fixes on branch 2.0 in spartacus-installation. You could change branch for the script on server and then test develop deployment.
Warning: it is only prepared for static deployment (no ssr)

it works! No more warnings.


Provide context Object in extendRoutes

What problem does this feature solve?
The context Object provides many helping methods like: params, pathMatch, query. Allowing for more flexibility when redirecting.
What does the proposed changes look like?
Simple language rerouting.

This feature request is available on Nuxt community (#c10129)

Hi @sugoidesune
Sadly this is not possible since extendRoutes is called on nuxt runtime and not during the vue execution.

I understand, could there be any other way to access routing properties like pathMatch?


Fix #27

https://github.com/nim-lang/fusion/issues/27#issuecomment-744067501

styleCheck literally found errors on the code, dont you want a more correct code... :disappointed:

styleCheck literally found errors on the code, dont you want a more correct code... :disappointed:

I don't mind it, but it has no relevance to the objective of this PR, and can be done without the nim action change, so please split it into an another PR.

/cc @jiro4989 please advise regarding correct usage of jiro4989/setup-nim-action regarding caching!
My understanding is:

we need also the snippet mentioned in https://github.com/jiro4989/setup-nim-action#devel---latest-usage
we can disregard this note:

Please should not use Cache nimble on windows-latest. setup-nim-action may Failing to install on windows-latest.

since we're using builder: windows-2019, not windows-latest

@timotheecour

My understanding is:
we need also the snippet mentioned in https://github.com/jiro4989/setup-nim-action#devel---latest-usage
we can disregard this note:

Yes.
And setup-nim-action can use Cache nimble on windows-latest and windows-2019 now.
I tried those.

1 (non cached yet) https://github.com/jiro4989/setup-nim-action/actions/runs/431744661
2 (cached) https://github.com/jiro4989/setup-nim-action/actions/runs/431783555

test_devel_latest jobs  were succeeded.

choosenim had returned error when nimble had been cached on windows virtual machine. (setup-nim-action is simple wrapper GitHub Actions of choosenim. )
But current choosenim has not this issues.
I will fix this note.

Please should not use Cache nimble on windows-latest. setup-nim-action may Failing to install on windows-latest.

@alaviss merge?, close?.

@alaviss merge?, close?.

@xflywind should we merge this ? worst case, we can always revert

@xflywind should we merge this ? worst case, we can always revert


Add more structure to the source of ORT issues

For some use cases it is necessary to match specific issues reported during an ORT execution. For instance, with resolutions some issues should be waived, or the new notifier module should send specific notifications when certain issues are found.
Such matching is currently difficult, however, because the OrtIssue class has not sufficient information to uniquely filter out specific issues. There is a single string property for the source of the issue, which - by convention - is set to the component (like analyzer, advisor, ...) that created the issue. Other than that, one typically has to match with regular expressions against the issue's message, which is fragile when there is a change in wording. Often, the message contains the coordinates of a package the issue is about.
To simplify identifying specific issues, some additional (optional) properties could be added to OrtIssue. The exact amount of properties is up to discussion; I would consider the following properties helpful:

An optional Identifier (or a string with package coordinates), which is set if the issue is related to a specific package.
An ORT-specific error code: This is not trivial, since it requires some sort of terminology of possible ORT errors, and means would be needed to manage this terminology and keep it consistent; but it would be very useful to make issues machine-readable and to understand what exactly went wrong.

An optional Identifier (or a string with package coordinates), which is set if the issue is related to a specific package.

This could be done similar to 521640b4f55edfbfb357f65a12db480eb9521474.


Game badly lagging in almost all recepies while using CraftSim

Good Day, Sir!
Firstly, I'm a BIG fan of the CraftSim addon. Without a doubt, this is the most useful addon for goldmaking in TWW.
Sadly I have to disable it in case of 80% of the time I crafting, because it is lagging the crafting window and game client almost every time. It is happening while clicking on recepies, changing material quality inside recepie before crafting, patron orders selecting, clicking on "Forge", "Craft", "Enchant", Concentration, any button. All of the cases it is lagging the game client for 4~15 seconds randomly in all proffession, all recepie case.
I'm very confused, because I'm watching many streamers using the addon and nobody has this issue, except me it seems like.
Do You have any advice, idea, why it can happen what could be specific to me?
Maybe you have some private issue solving method (email, discord, etc) where I can send a video about it?
I tried:

disable all other addon, just running CraftSim and the lagg happening (without any addon the base game not lagging at all)
change price sources (auctionator, TSM) -- not solve the lagg
use just override prices - not solve the lagg
empty bags, just keep the materials for 1 exact craft - not solve the lagg

Thank You if You take time to care about my issue!

that sounds a lot like the performance problems that 'sub recipe optimization' struggles with currently
you can turn it off in the cost optimization module


after npm build locale file es.js getting replaced with initial code

I have put some translations on en.js whenever I build with npm build the contents in en.js is replaced with default contents .

It was my mistake I was changing the file in wrong directory