YT [Errno 101] Network is unreachable

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.01.16
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

~$ youtube-dl -v https://www.youtube.com/watch?v=jakfkE6OH9Q
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=jakfkE6OH9Q']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.01.16
[debug] Python version 3.8.5 (CPython) - Linux-5.4.0-62-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[youtube] jakfkE6OH9Q: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://r2---sn-cxab5jvh-cg0ez.googlevideo.com/videoplayback?expire=1610832594&ei=cgYDYK6dBsWbgQfQjr64DA&ip=<IP_ADDRESS>&id=o-AOH3RkKktD_gNzrAv8Gd5eT7W9Q5b_okcE5ndVCEHupo&itag=136&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278&source=youtube&requiressl=yes&mh=qR&mm=31%2C29&mn=sn-cxab5jvh-cg0ez%2Csn-25ge7nsk&ms=au%2Crdu&mv=m&mvi=2&pcm2cms=yes&pl=16&initcwndbps=1206250&vprv=1&mime=video%2Fmp4&ns=s9Bc5ZwcwlaeHv3LqTsgbGIF&gir=yes&clen=82570546&dur=684.766&lmt=1610728200936921&mt=1610810676&fvip=2&keepalive=yes&c=WEB&txp=6432432&n=0nOH5NqO_1YEJa&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgHSmPI_X6hzoz_zC_uOTFrziTVAmBSnkNLJ1AeTUlCnoCIHxhuFPCecKyzUirn0hxTLUaXW5wPUvcd3rUF7lpoVs8&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgGdk53eJNUkkZrRKoWcBYJFWKKNv7X7xB-Fjz3RnVAKgCIEoo3mz_WRuJRE8PPDVEvlhGQZFXcmutEvNabM0_qLJN&ratebypass=yes'
[download] Destination: Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.f136.mp4
[download]  12.3% of 78.75MiB at 10.06MiB/s ETA 00:06ERROR: unable to download video data: <urlopen error [Errno 101] Network is unreachable>
Traceback (most recent call last):
  File "/usr/lib/python3.8/urllib/request.py", line 1350, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.8/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3.8/http/client.py", line 1417, in connect
    super().connect()
  File "/usr/lib/python3.8/http/client.py", line 921, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.8/socket.py", line 808, in create_connection
    raise err
  File "/usr/lib/python3.8/socket.py", line 796, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 1956, in process_info
    partial_success = dl(fname, new_info)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 1901, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/http.py", line 351, in real_download
    establish_connection()
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/http.py", line 116, in establish_connection
    raise err
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/http.py", line 110, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 2274, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/utils.py", line 2734, in https_open
    return self.do_open(functools.partial(
  File "/usr/lib/python3.8/urllib/request.py", line 1353, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 101] Network is unreachable>

Some videos but not all, the above sample is one, may be downloaded with help of wget
Here is the success log

~$ youtube-dl -v --external-downloader='wget' https://www.youtube.com/watch?v=jakfkE6OH9Q
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--external-downloader=wget', 'https://www.youtube.com/watch?v=jakfkE6OH9Q']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.01.16
[debug] Python version 3.8.5 (CPython) - Linux-5.4.0-62-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[youtube] jakfkE6OH9Q: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://r2---sn-cxab5jvh-cg0ez.googlevideo.com/videoplayback?expire=1610833271&ei=FgkDYPaSO4ScgAeF4LyQDA&ip=<IP_ADDRESS>&id=o-APHI_XHpTHBqLC1HbjvRK7wFhLwMnJA5yxF7NKYG8aF1&itag=136&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278&source=youtube&requiressl=yes&mh=qR&mm=31%2C29&mn=sn-cxab5jvh-cg0ez%2Csn-25ge7nsk&ms=au%2Crdu&mv=m&mvi=2&pcm2cms=yes&pl=16&initcwndbps=1216250&vprv=1&mime=video%2Fmp4&ns=qU-4TSgmFdarq8giT8TPi9wF&gir=yes&clen=82570546&dur=684.766&lmt=1610728200936921&mt=1610811160&fvip=2&keepalive=yes&c=WEB&txp=6432432&n=lNPtOAz8wRobtJ&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAOO_zYXCenDXRMOq92hkpJSJ55WcvEDqCPgFTJuA0LXVAiEAiymCWb4oMXV8eyKxv42fOE5HznE4dzFkX2ulVydZOaQ%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAOT5up8FeRiCteb21tyFVImJ5C0nWFZOVCSsEIyPNOKuAiEA3LGpWnA6zrkvnEr9oI1piWGBRLZNluXBo9lwDT0ySiw%3D&ratebypass=yes'
[download] Destination: Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.f136.mp4
[debug] wget command line: wget -O 'Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.f136.mp4.part' -nv --no-cookies --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.60 Safari/537.36' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate' --header 'Accept-Language: en-us,en;q=0.5' --tries 10 -- 'https://r2---sn-cxab5jvh-cg0ez.googlevideo.com/videoplayback?expire=1610833271&ei=FgkDYPaSO4ScgAeF4LyQDA&ip=<IP_ADDRESS>&id=o-APHI_XHpTHBqLC1HbjvRK7wFhLwMnJA5yxF7NKYG8aF1&itag=136&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278&source=youtube&requiressl=yes&mh=qR&mm=31%2C29&mn=sn-cxab5jvh-cg0ez%2Csn-25ge7nsk&ms=au%2Crdu&mv=m&mvi=2&pcm2cms=yes&pl=16&initcwndbps=1216250&vprv=1&mime=video%2Fmp4&ns=qU-4TSgmFdarq8giT8TPi9wF&gir=yes&clen=82570546&dur=684.766&lmt=1610728200936921&mt=1610811160&fvip=2&keepalive=yes&c=WEB&txp=6432432&n=lNPtOAz8wRobtJ&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAOO_zYXCenDXRMOq92hkpJSJ55WcvEDqCPgFTJuA0LXVAiEAiymCWb4oMXV8eyKxv42fOE5HznE4dzFkX2ulVydZOaQ%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAOT5up8FeRiCteb21tyFVImJ5C0nWFZOVCSsEIyPNOKuAiEA3LGpWnA6zrkvnEr9oI1piWGBRLZNluXBo9lwDT0ySiw%3D&ratebypass=yes'
[wget] Downloaded 82570546 bytes
[download] 100% of 78.75MiB in 05:27
[debug] Invoking downloader on 'https://r2---sn-cxab5jvh-cg0ez.googlevideo.com/videoplayback?expire=1610833271&ei=FgkDYPaSO4ScgAeF4LyQDA&ip=<IP_ADDRESS>&id=o-APHI_XHpTHBqLC1HbjvRK7wFhLwMnJA5yxF7NKYG8aF1&itag=140&source=youtube&requiressl=yes&mh=qR&mm=31%2C29&mn=sn-cxab5jvh-cg0ez%2Csn-25ge7nsk&ms=au%2Crdu&mv=m&mvi=2&pcm2cms=yes&pl=16&initcwndbps=1216250&vprv=1&mime=audio%2Fmp4&ns=qU-4TSgmFdarq8giT8TPi9wF&gir=yes&clen=11083857&dur=684.826&lmt=1610728086116144&mt=1610811160&fvip=2&keepalive=yes&c=WEB&txp=6431432&n=lNPtOAz8wRobtJ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgYZDysE9-vET_LdiQ-MhSiIfrXF3tZJTmv3ztEy2DbYwCIE0Y6iceoBtAqnARN3DCaEBx391997Gwv2vISDB-bFB8&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAOT5up8FeRiCteb21tyFVImJ5C0nWFZOVCSsEIyPNOKuAiEA3LGpWnA6zrkvnEr9oI1piWGBRLZNluXBo9lwDT0ySiw%3D&ratebypass=yes'
[download] Destination: Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.f140.m4a
[debug] wget command line: wget -O 'Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.f140.m4a.part' -nv --no-cookies --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.60 Safari/537.36' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate' --header 'Accept-Language: en-us,en;q=0.5' --tries 10 -- 'https://r2---sn-cxab5jvh-cg0ez.googlevideo.com/videoplayback?expire=1610833271&ei=FgkDYPaSO4ScgAeF4LyQDA&ip=<IP_ADDRESS>&id=o-APHI_XHpTHBqLC1HbjvRK7wFhLwMnJA5yxF7NKYG8aF1&itag=140&source=youtube&requiressl=yes&mh=qR&mm=31%2C29&mn=sn-cxab5jvh-cg0ez%2Csn-25ge7nsk&ms=au%2Crdu&mv=m&mvi=2&pcm2cms=yes&pl=16&initcwndbps=1216250&vprv=1&mime=audio%2Fmp4&ns=qU-4TSgmFdarq8giT8TPi9wF&gir=yes&clen=11083857&dur=684.826&lmt=1610728086116144&mt=1610811160&fvip=2&keepalive=yes&c=WEB&txp=6431432&n=lNPtOAz8wRobtJ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgYZDysE9-vET_LdiQ-MhSiIfrXF3tZJTmv3ztEy2DbYwCIE0Y6iceoBtAqnARN3DCaEBx391997Gwv2vISDB-bFB8&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAOT5up8FeRiCteb21tyFVImJ5C0nWFZOVCSsEIyPNOKuAiEA3LGpWnA6zrkvnEr9oI1piWGBRLZNluXBo9lwDT0ySiw%3D&ratebypass=yes'
[wget] Downloaded 11083857 bytes
[download] 100% of 10.57MiB in 00:49
[ffmpeg] Merging formats into "Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.f136.mp4' -i 'file:Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.temp.mp4'
Deleting original file Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.f136.mp4 (pass -k to keep)
Deleting original file Pleine Lune du Jeudi 28 Janvier 2021-jakfkE6OH9Q.f140.m4a (pass -k to keep)

Description

Most of the YT videos are no more downloading since one day
They begin downloading or not, and after some time raise an ERROR: unable to download video data:
<urlopen error [Errno 101] Network is unreachable>
Of course I can watch them with my browser (Firefox)
There are some similar issues, old, closed, and without real solution (from recent to old):

ERROR: unable to download video data: <urlopen error [Errno -2] Name or service not known> on Centos  https://github.com/ytdl-org/youtube-dl/issues/23188
<urlopen error [Errno 101] Network is unreachable> (Access Denied from link from extractor) https://github.com/ytdl-org/youtube-dl/issues/23213
All YouTube DLs start, then get [Errno 101] Network is unreachable https://github.com/ytdl-org/youtube-dl/issues/23188 Here there is the beginning of a solution by crystaler4
[Youtube] urlopen error [Errno 101] Network is unreachable https://github.com/ytdl-org/youtube-dl/issues/22812
ERROR: unable to download video data: <urlopen error [Errno 101] Network is unreachable> https://github.com/ytdl-org/youtube-dl/issues/13264 Yup, that seems to work. I am not sure what is the problem, but looks like hiding my location / region seems to work.
[MAJOR] Cannot download ANY YouTube DASH video format : ERROR: unable to download video data: <urlopen error [Errno 101] Network is unreachable> https://github.com/ytdl-org/youtube-dl/issues/12667
Cannot download YouTube DASH audio format 140 : ERROR: unable to download video data: <urlopen error [Errno 101] Network is unreachable> https://github.com/ytdl-org/youtube-dl/issues/12666
<urlopen error [Errno 101] Network is unreachable> (Access Denied from link from extractor) https://github.com/ytdl-org/youtube-dl/issues/3205

One video have once raised another error but maybe related:
Error: <urlopen error [Errno -2] Name or service not known>

~$ youtube-dl -v https://www.youtube.com/watch?v=abU3rxecuBY
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=abU3rxecuBY']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.01.16
[debug] Python version 3.8.5 (CPython) - Linux-5.4.0-62-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[youtube] abU3rxecuBY: Downloading webpage
[youtube] abU3rxecuBY: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://manifest.googlevideo.com/api/manifest/dash/expire/1610836205/ei/jRQDYNerCbqmx_APsviD-A8/ip/<IP_ADDRESS>/id/69b537af179cb816/source/youtube/requiressl/yes/playback_host/r1---sn-cxab5jvh-cg0ez.googlevideo.com/mh/ff/mm/31%2C29/mn/sn-cxab5jvh-cg0ez%2Csn-25ge7nsl/ms/au%2Crdu/mv/m/mvi/1/pcm2cms/yes/pl/16/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/1262500/vprv/1/mt/1610814041/fvip/1/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRQIgcJADfWKZlfDL54ed9KPyttRCQ4t7cFYtgOjtYX2yLbsCIQDXJkU0C9_xenvoX89h4WPgEyQ8Q7vxmSccesyFODMGSQ%3D%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRQIgVnL9_C5WF7Y-klN1XGDtEZ4OUrmVk-GS4Ml31nxzMSQCIQCTP36tEuraivNA6CkV0qD-Rjp7rcSCGwYusJCxDENI-w%3D%3D'
[dashsegments] Total fragments: 3
[download] Destination: 16 janvier 2021-abU3rxecuBY.f243.webm
ERROR: unable to download video data: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last):
  File "/usr/lib/python3.8/urllib/request.py", line 1350, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.8/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3.8/http/client.py", line 1417, in connect
    super().connect()
  File "/usr/lib/python3.8/http/client.py", line 921, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.8/socket.py", line 787, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 1956, in process_info
    partial_success = dl(fname, new_info)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 1901, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/dash.py", line 48, in real_download
    success, frag_content = self._download_fragment(ctx, fragment_url, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/fragment.py", line 104, in _download_fragment
    success = ctx['dl'].download(fragment_filename, fragment_info_dict)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/http.py", line 351, in real_download
    establish_connection()
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/http.py", line 116, in establish_connection
    raise err
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/downloader/http.py", line 110, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 2274, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/utils.py", line 2734, in https_open
    return self.do_open(functools.partial(
  File "/usr/lib/python3.8/urllib/request.py", line 1353, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>

Here is a table with 20 videos.
Some random videos from a list returned by:
https://www.youtube.com/results?search_query=janvier&sp=EgIIAQ%253D%253D
As I have had success with wget, I have tested all failed with this downloader.
Result seems better with wget, but when I got the file without it, I have not tested
video_id    size    direct_download     wget_download
jakfkE6OH9Q 11:25   12.3%   Errno 101   ok
a_qJhGDjLaU 10:03   ok                  ok
le6rDfT6M-I 7:35    14.0%   Errno 101   3.5%    Errno 101
4M4_jJYn6Eo 0:25    0       Errno 101   ok
cq1UCiAcPt4 0:12    66.7%   Errno 101   ok
6mxLyEJrWmI 0:13    ok
UHGQ3dGFhQk 0:20    ok
zf2XPhdhn7A 0:30    ok
NcUoJW7uHHw 0:42    33.3%               ok
abU3rxecuBY 0:09    0       Errno -2    0       Errno -2
5e3qX8gg-Oc 0:31    ok
C7ZhfdBX7mM 0:03    0       Errno 101   ok
BoBaQ53AZuo 3:57    ok
PqBxb594imc 0:51    9.1%    Errno 101   18.2%   Errno 101
_jSKrcG0Nmw 7:07    0       Errno 101   ok
Lr1V-JjTJSg 0:07    ok
id_js3WUrwE 2:00    12.0%   Errno 101   0       Errno 101
T_-Zb4Mr2Lk 1:46    ok
cP6G95FoH7w 1:40:24 0.2%    Errno 101   100% of 1.44GiB in 04:43 but audio never came 0.2% Errno 101
03e99dno2oc 16:46   ok

Only one Errno -2 then retesting now
video_id    size    direct_download     wget_download
abU3rxecuBY 0:09    33.3%   Errno 101   33.3%   Errno 101

I have not retested all this video, but some, because the delay to raise error is long
Those I have retested have given similar responce.
With the beginning of a solution posted by crystaler4, I think that I can investigate to know why my browser can play a video that is unreachable to ytdl.
More in a few day...

Network issues on your side.

Network issues on your side.

SOLVED
You are right this issues was in my side.
I found that my ISP have problem with IPv6. (same error 101 with apt upgrade)
This is why only some and always the same videos had problems and never with browser.

SOLVED
You are right this issues was in my side.
I found that my ISP have problem with IPv6. (same error 101 with apt upgrade)
This is why only some and always the same videos had problems and never with browser.


Prevent tapping on swipe

I'm using hammer.js with swiper and i have links inside slides that are triggered with the hammer tap event. On desktop when swiping, the links work as expected-- they dont get clicked when you swipe. But on ios the links are getting clicked when swiping the slide. Is there a way to stop that from happening? I only really need it to work for IOS. Thanks!

By default they are also not triggered on mobile device when you swipe. So the issue with Hammer.js.

Closing as not further response & discussion


Skip destroy if state is empty

How to categorize this PR?

/area dev-productivity
/area usability
/kind enhancement
/priority normal
What this PR does / why we need it:
If Terraform never ran successfully because of a broken configuration, it'll also fail during the destroy step as described in the linked issue. We can skip further execution in such cases if the state is empty and just remove the finalizer from the state ConfigMap.
Which issue(s) this PR fixes:
Fixes #78
Special notes for your reviewer:
There are other cases in which the state is empty in terms of the Terraform object structure can be found in the state ConfigMap but resources are empty:
  terraform.tfstate: |
    {
      "version": 4,
      "terraform_version": "0.12.29",
      "serial": 62,
      "lineage": "",
      "outputs": {},
      "resources": []
    }

I decided not take a shortcut here because we'd need to explicitly parse the structure and thus introduce a version dependency to Terraform. Still, Terraform will handle such cases gracefully i.e., the only overhead is that we might run Terraform destroy even though it's not necessary (/cc @timebertt).
Along the way I updated:

Go dependencies
Go version to 1.16

Release note:

The Terraformer now instantly removes its finalizer from the state `ConfigMap` if the state is empty and `destroy` is called. A separate Terraform `destroy` is not executed.

/test

I decided not take a shortcut here because we'd need to explicitly parse the structure and thus introduce a version dependency to Terraform. Still, Terraform will handle such cases gracefully i.e., the only overhead is that we might run Terraform destroy even though it's not necessary (/cc @timebertt).

Sounds reasonable. Great!

/test

/test

FYI: the test can only run successfully after the PR build has finished, as it uses the image built by the PR job.

/test

@vpnachev, @timebertt thanks for your reviews. Another commit was necessary for a successful verify execution. PTAL.


Add SEL Clear Support

What does this PR implement/change/remove?
Adds the ability to clear the SEL on the target BMC via IPMI and Redfish.
Checklist

[X] Tests added
[X] Similar commits squashed

The HW vendor this change applies to (if applicable)
N/A
The HW model number, product name this change applies to (if applicable)
N/A
The BMC firmware and/or BIOS versions that this change applies to (if applicable)
N/A
What version of tooling - vendor specific or opensource does this change depend on (if applicable)
N/A
Description for changelog/release notes
Added ability to clear the SEL via either IPMI or Redfish.

@joelrebel Looks like I don't have permissions to add labels to this PR but I did update to main.


Initial time expression bug

Related to: https://issues.jboss.org/browse/MODE-2603

looks good, thanks for the fix.
Can you pls squash the commits and force update this PR

Updated

Looks good.


Support random color scheme, pseudocode [ scheme = rand(settings.schemes) ]

Description of the new feature/enhancement

There is a site https://windowsterminalthemes.dev/, it shares many awesome color themes. I choose some of them, pasted in settings.schemes, then I may change the colorScheme daily depends on my feeling.
The Oh-My-Zsh has a similar feature, the random theme, a theme will be chosen randomly every time a new shell is opened.
Wish Windows Terminal could have something like that.
Proposed technical implementation details (optional)

Introduce a keyword like random, if the colorScheme field is set to random, then every time a new tag or window is opened, randomly choose a color schema from settings.schemes .

Hello! This seems kind of fun. Could I give it a try?

Go for it!
For this one, I'd add a special string like _random_. If a profile's color scheme is set to that string, then when we apply the color scheme:
https://github.com/microsoft/terminal/blob/cdf2630204fdafc24237e5ebaf069c0b12a26aab/src/cascadia/TerminalSettingsModel/TerminalSettings.cpp#L199-L205
Don't look up the scheme by name, but instead use a random one.
I'd also watch out - there's another part of the setting load code that verifies that every profile's colorScheme does in fact exsist. We'd have to adapt that code to not check if _random_ exists.

(Not sure whether should I open a new issue or post on this one)
Description of the new feature/enhancement
I love having a nice wallpaper as your terminal background, there are many bgs I like but I must choose one, right?
What if we choose a random image every time you open a new terminal? That would be great!
a setting like this: "backgroundRandom": True
or a list of paths to images as @zadjii-msft suggested

Oooooh or even, if you set scheme: ["foo", "bar", "baz"], we pick one at random from that list? That's a neat idea too.

Hi, this looks cool, can I try?

Go for it! We had someone try once before in https://github.com/microsoft/terminal/pull/9845. I believe that was pretty close to right. IIRC they just got caught up on making sure to not raise a warning when the scheme is set to _random_

This is cool !! Can i try this....I believe this is still an open issue


Not compatible with unplugin-markdown-it

node_modules/markdown-it-collapsible/dist/index.js:1
import Token from "markdown-it/lib/token";
^^^^^^
SyntaxError: Cannot use import statement outside a module

I just released version 2.0.1, which should fix the import problem. Please check if that works for you.

In 2.0.0, I was having same error although it was unrelated to the title. Plugin works fine for me in the latest version.


Feature/gh 5367

Proposal for non-cms driven ASM
closes #5367

As discussed, the import for the AsmModule should now happen elsewhere than in CmsLibModule

E2E tests "storefront should have ASM feature enabled" needs to be updated.  Probably only needs to change the name of the tag it should expect.

We'll most likely close this PR in favour of #5391

In the end, GH-5367 is resolved by PR #5391


the integration cant browse to albums

What version of Music Assistant has the issue?
2023.12
The problem
browsing albums in the INTEGRATION (not the addon) does not work.
How to reproduce
in your LOVELACE open a mass music player and browse to to albums.
Relevant log output
`homeassistant.log
``; rv:109.0) Gecko/20100101 Firefox/115.0)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/media_player/init.py", line 1310, in websocket_browse_media
payload = await player.async_browse_media(media_content_type, media_content_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mass/media_player.py", line 494, in async_browse_media
return await async_browse_media(self.hass, self.mass, media_content_id, media_content_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mass/media_browser.py", line 103, in async_browse_media
return await build_album_items_listing(mass, media_content_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mass/media_browser.py", line 254, in build_album_items_listing
tracks = await mass.music.get_album_tracks(album.item_id, album.provider)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/client/music.py", line 155, in get_album_tracks
for item in await self.client.send_command(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/client/client.py", line 168, in send_command
return await future
^^^^^^^^^^^^
music_assistant.common.models.errors.InvalidCommand: Invalid command: music/album/album_tracks
2024-01-19 21:35:2

### Additional information

_No response_

### What version of Home Assistant Core are your running

2024.1.3

### What type of installation are you running?

Home Assistant OS

### On what type of hardware are you running?

Generic x86-64 (e.g. Intel NUC)

Also please update to the latest version of MA and the latest version of the integration

e error?

@marcelveldt asked me to create this issue.
Daft_dutch
 —
19-01-2024 16:32
found a bug. on Both my systems. Cant browse to a album. Unknown error
that is also a normal OS with mass addon.
marcelveldt
 —
19-01-2024 16:59
browsing albums in the MA interface works fine on my end.
or do you mean the HA interface ? If so, do you see an error in the log ?
if you report bugs, please be as descriptive as possible. We are still in beta stage and working out the issues so we need complete issue reports and reproduce scenarios.
Daft_dutch
 —
19-01-2024 17:02
Yeah. I try to be as clear as possible. @marcelveldt but if i mention lovelace that means its the main ha gui and not browsing trough the addon.
marcelveldt
 —
19-01-2024 17:06
so the internal HA media browser. then ?
Daft_dutch
 —
19-01-2024 17:06
Yes.
marcelveldt
 —
19-01-2024 17:07
Yes, I see the same. Can you create an issue report as a reminder for me please ?
Afbeelding
Daft_dutch
 —
19-01-2024 17:07
Sure thing.
marcelveldt
 —
19-01-2024 17:07
thanks

This should be fixed in beta 92 please advise if not

Looks like it was not fixed. Browsing albums in Home Assistant shows Unknown error.
music-assistant-server  | 2024-02-14 21:16:49.209 INFO (MainThread) [music_assistant] Starting Music Assistant Server (13f166577f3c4c68895f77b0dfb88baf) version 2.0.0b94 - uvloop: False
music-assistant-server  | 2024-02-14 21:16:49.212 INFO (MainThread) [music_assistant.cache] Initializing cache controller...
music-assistant-server  | 2024-02-14 21:16:49.222 INFO (MainThread) [music_assistant.webserver] Starting server on  <IP_ADDRESS>:8095 - base url: http://<IP_ADDRESS>:8095
music-assistant-server  | 2024-02-14 21:16:49.259 INFO (MainThread) [music_assistant.music] Using a sync interval of 180 minutes.
music-assistant-server  | 2024-02-14 21:16:49.380 INFO (MainThread) [music_assistant.streams] Detected ffmpeg version 5.1.4 with libsoxr support
music-assistant-server  | 2024-02-14 21:16:49.380 INFO (MainThread) [music_assistant.streams] Starting server on  <IP_ADDRESS>:8096 - base url: http://<IP_ADDRESS>:8096
music-assistant-server  | 2024-02-14 21:16:56.578 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz Metadata provider
music-assistant-server  | 2024-02-14 21:16:56.578 INFO (MainThread) [music_assistant] Loaded music provider URL
music-assistant-server  | 2024-02-14 21:16:56.579 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv Metadata provider
music-assistant-server  | 2024-02-14 21:16:56.579 INFO (MainThread) [music_assistant] Loaded metadata provider TheAudioDB Metadata provider
music-assistant-server  | 2024-02-14 21:16:56.580 INFO (MainThread) [music_assistant] Loaded player provider UPnP wexServer
music-assistant-server  | 2024-02-14 21:16:56.580 INFO (MainThread) [music_assistant.music] Sync task for URL completed
music-assistant-server  | 2024-02-14 21:16:56.581 INFO (MainThread) [music_assistant] Loaded player provider Universal Group Player
music-assistant-server  | 2024-02-14 21:16:56.629 INFO (MainThread) [music_assistant.providers.slimproto] Started SLIMProto server on port 3483
music-assistant-server  | 2024-02-14 21:16:56.629 INFO (MainThread) [music_assistant.providers.slimproto.cli] Registering jsonrpc endpoints on the webserver
music-assistant-server  | 2024-02-14 21:16:56.631 INFO (MainThread) [music_assistant.providers.slimproto.cli] Starting (telnet) CLI on port 9090
music-assistant-server  | 2024-02-14 21:16:56.632 INFO (MainThread) [music_assistant.players] Player registered: 496f58a9-f171-4411-92cc-9e9154e64a64/Chromium-Snapcast
music-assistant-server  | 2024-02-14 21:16:56.632 INFO (MainThread) [music_assistant.players] Player registered: 30:9c:23:43:8f:40/wexServer AUDIO
music-assistant-server  | 2024-02-14 21:16:56.633 INFO (MainThread) [music_assistant.providers.snapcast] Started Snapserver connection on:wexServer:1705
music-assistant-server  | 2024-02-14 21:16:56.633 INFO (MainThread) [music_assistant] Loaded player provider Snapcast
music-assistant-server  | 2024-02-14 21:16:56.635 INFO (MainThread) [music_assistant] Loaded player provider Slimproto
music-assistant-server  | 2024-02-14 21:16:57.450 INFO (MainThread) [music_assistant] Loaded music provider YouTube Music
music-assistant-server  | 2024-02-14 21:16:58.309 INFO (MainThread) [music_assistant.music] Sync task for YouTube Music completed
music-assistant-server  | 2024-02-14 21:17:00.117 INFO (MainThread) [music_assistant.players] Player registered: 22:63:83:01:09:66/squeezeplay: 22:63:83:01:09:66
music-assistant-server  | 2024-02-14 21:17:26.600 WARNING (MainThread) [music_assistant.webserver] [140495415931152] Invalid command: music/album/album_tracks


Monitor calls to redis

Hi,
We wanted to monitor the calls made by our service to redis. For this, we were currently checking the calls made to RedissonCache get/put/putIfAbsent functions.
Could you please let us know if this is the best approach or we should be monitoring some base method that is ultimately used by all wrappers to execute redis operations.
Thanks

👍  We are also monitoring this using new relic where we are using custom instrumentation of new relic https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/custom-instrumentation-editor-instrument-ui#manual-instrumentation.
Please let us know which functions needs to be monitored so that we can track all the commands issued by redisson client to redis servers.

Do you mean monitor commands and lua scripts it self? If you want to get statistics you could use Dropwizard Metrics available for different Redisson objects - https://github.com/redisson/redisson/wiki/14.-Integration-with-frameworks/#147-dropwizard-metrics

Actually we are already using new relic for our application monitoring. We wanted all the monitoring to be at single place. Thats why, we want the redisson command metrics like

No of commands executed with each type of command
time taken in executing the command.

in the new relic.
We have also raised a feature request with new relic for redisson.
https://discuss.newrelic.com/t/feature-idea-instrumentation-support-for-redisson-client-in-java-agent/51690
See if you can expedite it.


Fix "memory access out of bounds" error

After this discussion and some trial and error I ended with this, which seems to fix the issue.
The check for server / client is not nice however. Maybe we should use a useRef flag instead, like here https://stackoverflow.com/a/72843344/930450
Fixes https://github.com/satelllte/nextjs-wasm/issues/76

Ok I replaced the module initialization with the custom hook, which is more idiomatic. If you agree with this solution, it makes sense to squash the commits.


Error de inicialización de CLR: 800736b1.

please help...

Please retest again with platformio-atom-ide-terminal 2.9.0.
These type issues all so far seem fixed with this release due to using node-pty-prebuilt instead unmaintained and outdated pty.js


Generate signature for ufunc documentation

Closes part of #357.
Depends on ~#6126~.

https://cupy--6137.org.readthedocs.build/en/6137/reference/generated/cupy.add.html#cupy-add

Closed & reopened to rekick GitHub Actions 😄

@asi1024 The last commit fixes the Sphinx warning. The problem was that sin(x, /, out=None, *, casting='same_kind', dtype=None) being an invalid reST. NumPy seems to handle this problem with numpydoc but since we don't have a similar layer I just fixed docstring generator to escape.
If it's ok for you please proceed to merge after test pass.
/test

/test mini


decentralized fixes

Hi all this is a set of fixes for the decentralized task.
I'll be OOO next week so I won't have time to follow up on this before May 3rd, but wanted to put it out there so you know it's coming.
I've tried to do only as few changes as possible, but yet we end up with a big PR.
This workarounds a number of issue I had while migrating Flores task to the decentralized setup:

dynabench.org website is sending build/eval messages to SQS queue on the same region it currently is, so all tasks need to create a queue in us-west-1.
I've also added a "sagemaker_region" config, because we want to control in which region the Sagemaker job are run. Regions impact hardware available as well as pricing. Previously the task.aws_region was used but in decentralized we don't have access to it. So I change the behavior if and only if the "sagemaker_region" key is present in config.
model_task_bucket: we need to know where to upload the model send by the users from the build server this is a new config field that wasn't documented
send_takedown_model_request need to send extra model info in the decentralized setting. Also it was called with the wrong config, which was forcing decentralized user to edit common.config for only one key. I now pass eval_config instead.
we now need to use https for unauthenticated git clone
torchserve now requires “nvgpu” to access GPU info. But doesn’t install it automatically:  https://github.com/pytorch/serve/issues/1516
show how to not use  aws_access_key_id and aws_secret_access_key keys those can be set to None to default to the account/role of the EC2 instance running the server
hid a few "transformers" imports to not force it on servers that don't need it since it's a big and slow module to install.
hid a  imports of DatasetModel and TaskModel  since importing will try to connect to the DB

Thanks so much for doing this! There were a few bugs I probably missed because I did not test out setting up the Flores task, so this will be very helpful to new people setting up decentralized tasks. No worries about too many changes — looking through I did not find much deviation from original decentralized logic i.e. the changes seem to be small at least logically, so I imagine it will not bring down decentralized or anything like that. Also Dynabench is meant to be a community effort in any case, so big changes from anyone are welcome!
I just had a few comments / questions (and I think there are some linter errors), but apart from that looks good!


Comment Section using NodeJS, PHP and MySQL.

This basically helps to display one's knowledge of using various technologies to create something as basic as a comment section.

It is showing that the repo not participating in my profile.
On Sat, 8 Oct 2022 at 19:56, morencloud @.***> wrote:

Merged #1 https://github.com/jmdinela/Hacktoberfest2022-WebDev/pull/1
into main.
—
Reply to this email directly, view it on GitHub
https://github.com/jmdinela/Hacktoberfest2022-WebDev/pull/1#event-7548077079,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANGVZGKLUFKCJJV5U5N73JLWCGACJANCNFSM6AAAAAARAIH6HU
.
You are receiving this because you authored the thread.Message ID:
@.***
com>


Update cri-tools and build critest into release tarball again.

Build critest into release tarball again, because we've got rid of the dependency on the source code. https://github.com/kubernetes-incubator/cri-tools/pull/261
Now critest binary is usable itself.
Signed-off-by: Lantao Liu<EMAIL_ADDRESS>

The test failure is caused by https://github.com/kubernetes/kubernetes/pull/61443.
I'll retrigger the test.
/test pull-cri-containerd-node-e2e

Filed https://github.com/kubernetes/test-infra/pull/7354 to skip summary api test and unblock the presubmit test for now.

/test pull-cri-containerd-node-e2e


tests(travis): add php 7.4

Maintaining backward compatibility with multiple major versions of PHPUnit begins to be complicated.
Find a way to silence PHP deprecation notice or consider dropping obsolete PHP versions on a new MR.


Whether to support monaco-editor using jupyterlab-lsp to implement multiple cells

Description

I am using jupyterlab-lsp as the language server, but the two monaco-editor instances do not share the context object.
Does jupyterlab-lsp have this feature, or are there any plans to support it?

Reproduce

Go to '...'
Click on '...'
Scroll down to '...'
See error '...'

Expected behavior

Context

Operating System and version:
Browser and version:
JupyterLab version:
jupyter-lsp version:
jupyterlab-lsp version:
Language Server:
Language Server version:
Language Server installed with:
Language Server Spec

# jupyter_server_config.json
{
  "LanguageServerManager": {
    "language_servers": {
      "my-language-server": {
        "languages": ["my-language"],
        "argv": ["echo"]
      }
    }
  }
}

Troubleshoot Output

Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.

Command Line Output

Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.

Browser Output

Paste the output from your browser Javascript console here.

By default JupyterLab uses CodeMirror, not Monaco. Surely there would be a way to connect Monaco but this extension does not implement it.

By default JupyterLab uses CodeMirror, not Monaco. Surely there would be a way to connect Monaco but this extension does not implement it.

thanks


artyom.newDictation

Is there a way to check the incoming sound levels while using
  var UserDictation = artyom.newDictation({
      continuous:true, // Enable continuous if HTTPS connection
      onResult:function(text){

The goal being that it listens continously for a sentence, once it has received a bunch of inputs, pauses and can execute some functions when there is no input and then restarts the listening after a short interval.

in artyom.js, the continuous mode is hardcoded to true, hence my confusion. fixing that resolves the issue.


Drop support for py36

Additionally:

use dataclasses for simple containers
cleanup tox.ini and readme

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          218       215    -3
  Branches        15        19    +4
=========================================
- Hits           218       215    -3

Impacted Files
Coverage Δ

src/ezaero/vlm/steady.py
100.00% <100.00%> (ø)

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 17ebf63...c07aeee. Read the comment docs.


Issue 345 still reproducing: Scroll down don't scroll large list items

From<EMAIL_ADDRESS>on January 06, 2013 23:03:17
What steps will reproduce the problem? 1. Create list item that will be bigger than a screen size
2. Try to scroll it down
What is the expected output?
Screen will be scrolled down to next item.
What do you see instead?
Screen stays at the same place. ScrollDown will return true forever. What version of the product are you using? On what operating system? 3.6 on Windows7 x64
Original issue: http://code.google.com/p/robotium/issues/detail?id=374

From<EMAIL_ADDRESS>on January 06, 2013 23:43:16
Unfortunately there is no way to scroll screen by screen and even if there was a way it is not possible to know if one has come to the end of the list (not possible to ask the list before api level 14). So Im not sure how to solve this. It is possible to scroll by using scrollTo(int x, int y) but the problem is again that it is not possible to know when one has reached the end of the list (and can not scroll anymore). So unfortunately this will be set to wont fix until someone can come up with a good way to solve this issue.
Status: WontFix
Owner<EMAIL_ADDRESS>

From<EMAIL_ADDRESS>on January 07, 2013 00:34:10
Renas,
I am not asking here for scroll screen by screen, but I think you have some sort of bug in scroll down calculations. In case I have some "bigger than screen" list element it will never be scrolled down. From the other hand scroll up is working good in same circumstances.

From<EMAIL_ADDRESS>on January 07, 2013 00:43:49
The only way I have found that a scroll down calculation can be done is by counting lines. This solution however does not work if there is only one line. I have not come up with a better way of calculating this.


Fix issues

Fix issues when the directories unsplash_images and unsplash-responses don'r exist.
Fix error in line print(f"failure --> {image.id}"), the image hasn't id attribute.
Fix minor issue in file requirements.txt

Thank you for fixing these mistakes. I really tried not to miss anything. But these were some points of code that I never reached. Feel free to contribute anytime.


CI:fix action no space err

Codecov Report

Merging #1911 (63d5e54) into main (2d7df98) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1911      +/-   ##
==========================================
- Coverage   61.62%   61.57%   -0.06%
==========================================
  Files         135      135
  Lines       23433    23433
==========================================
- Hits        14441    14429      -12
- Misses       7321     7331      +10
- Partials     1671     1673       +2

Impacted Files
Coverage Δ

pkg/vfs/reader.go
80.29% <0.00%> (-2.56%)
:arrow_down:

pkg/meta/sql.go
64.53% <0.00%> (-0.30%)
:arrow_down:

pkg/chunk/disk_cache.go
80.33% <0.00%> (+0.48%)
:arrow_up:

pkg/chunk/cached_store.go
76.23% <0.00%> (+0.54%)
:arrow_up:

pkg/vfs/writer.go
79.66% <0.00%> (+1.01%)
:arrow_up:

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 2d7df98...63d5e54. Read the comment docs.


fix: yjs collaboration plugin in react strict mode

Description

The collaboration plugin doesn't work well in nextjs 14.2 with strict mode enabled. See videos below to see how it breaks. I fixed the issues by relying on a useEffect instead of a useMemo to initialize yjs binding and provider.
Relevant thread
https://discord.com/channels/953974421008293909/1233102329931366531/1233102329931366531
Test plan

Clone test repo
cd into the cloned test repo
Sign up for liveblocks and add LIVEBLOCKS_SECRET_KEY to the root .env.local file. Alternatively, I can send you a secret key as well.
Run npm run dev and test the editor on multiple tabs/windows/browsers.
To fix the issue, copy the updated LexicalCollaborationPlugin file into node_modules

cp LexicalCollaborationPlugin.dev.mjs<EMAIL_ADDRESS>

Stop the previous development server and start it again. Keep in mind that you have to remove the .next folder because nextjs caches built modules.

rm -r .next && npm run dev

Before
https://www.loom.com/share/460727ea35b04e26a311d55d5283be3
After
https://www.loom.com/share/d3a2701d4ef6456a9bd7c9a202d38ebe
Note
~I tried to run npm run build-release, but it didn't work due to https://github.com/facebook/lexical/issues/5420 so I had to compile "manually".~ Never mind, it was just an error with my changes.

Could you use git mv for renaming to retain file history

@fantactuka I believe I did that already

The blame info hasn't changed as you can see in https://github.com/facebook/lexical/blame/e6982e727b59eddaf69b25ba8fd32a9e837d969b/packages/lexical-react/src/LexicalCollaborationPlugin.tsx

@meronogbai Hi! Took another look at this.. So we still call providerFactory here twice, although we now do proper destruction handling, which is great! However I would say we still may do 1 step forward and make this code actually call providerFactory only once.
Why? From my experience y-webrtc would throw on you even if you call provider.disconnect().
Here is simple test that you can add to this PR and make it pass it:
/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */

import { CollaborationPlugin } from '@lexical/react/LexicalCollaborationPlugin';
import { LexicalComposer } from '@lexical/react/LexicalComposer';
import { ContentEditable } from '@lexical/react/LexicalContentEditable';
import {LexicalErrorBoundary} from '@lexical/react/LexicalErrorBoundary';
import { RichTextPlugin } from '@lexical/react/LexicalRichTextPlugin';
import * as React from 'react';
import {createRoot, Root} from 'react-dom/client';
import * as ReactTestUtils from 'shared/react-test-utils';
import * as Y from 'yjs';

describe(`LexicalCollaborationPlugin`, () => {
  let container: HTMLDivElement;
  let reactRoot: Root;

  const editorConfig = Object.freeze({
    // NOTE: This is critical for collaboration plugin to set editor state to null. It
    // would indicate that the editor should not try to set any default state
    // (not even empty one), and let collaboration plugin do it instead
    editorState: null,
    namespace: 'Test editor',
    nodes: [],
    // Handling of errors during update
    onError(error: Error) {
      throw error;
    },
  });

  beforeEach(() => {
    container = document.createElement('div');
    reactRoot = createRoot(container);
    document.body.appendChild(container);
  });

  test(`providerFactory called only once`, () => {
    const providerFactory = jest
      .fn((id: string, yjsDocMap: Map<string, Y.Doc>) => {
        const doc = new Y.Doc();
        yjsDocMap.set(id, doc);

        return {
          awareness: {
            getLocalState: () => null,
            getStates: () => new Map(),
            off: () => {},
            on: () => {},
            setLocalState: () => {},
          },
          connect: () => {},
          disconnect: () => {},
          off: () => {},
          on: () => {},
        }
      });
    function MemoComponent() {
      return (<LexicalComposer initialConfig={editorConfig}>
        {/* With CollaborationPlugin - we MUST NOT use @lexical/react/LexicalHistoryPlugin */}
        <CollaborationPlugin
          id="lexical/react-rich-collab"
          providerFactory={providerFactory}
          // Unless you have a way to avoid race condition between 2+ users trying to do bootstrap simultaneously
          // you should never try to bootstrap on client. It's better to perform bootstrap within Yjs server.
          shouldBootstrap={false}
        />
        <RichTextPlugin
          contentEditable={<ContentEditable className="editor-input" />}
          placeholder={
Enter some rich text...
}
          ErrorBoundary={LexicalErrorBoundary}
        />
      </LexicalComposer>);
    }
    ReactTestUtils.act(() => {
      reactRoot.render(
        <React.StrictMode>
          <MemoComponent />
        </React.StrictMode>,
      );
    });

    expect(providerFactory).toHaveBeenCalledTimes(1);
  });
});

How to make code pass this test? Use "dirty" hack from here https://taig.medium.com/prevent-react-from-triggering-useeffect-twice-307a475714d7

Thank you so much @StyleT! I pushed a commit with your suggested changes 🫡

I'm good to merge this, seems like test failures are unrelated


Uncaught ReferenceError: grapesjs is not defined

get this error when I use it with webpack
`
import GrapesJS from 'grapesjs';
import pluginBootstrap4 from 'grapesjs-blocks-bootstrap4
GrapesJS.init({
...
plugins: [ pluginBootstrap4],
...
})
`
and got below error when run it
grapesjs-blocks-bootstrap4.min.js:11 Uncaught ReferenceError: grapesjs is not defined

Hi!
I have a similar issue. In this case I'm working with a major grapesjs project, so I really dont want to take this plugin as a standalone  but import this plugin into the main project.
So, I have cloned the original GrapesJS repo, then did  npm i  grapesjs-blocks-bootstrap4 and tried to do import pluginBootstrap4 from 'grapesjs-blocks-bootstrap4'  but it says that cannot find grapesjs.
I uncommented the import grapesjs line,  and also re-installed the grapesjs via npm i grapesjs --no-save (which doesnt have too much sense for me as I'm already working inside grapejs) ...
Please, I'm really lost

Ok, I see what you mean @jcsofts @sircoko , I've updated the plugin to 0.2.3, can you see if this fixes the issue.

Ok I'll check

@sircoko please check this link out for a simple implementation: https://codesandbox.io/s/sad-villani-w2w8l?file=/src/index.js

@kaoz70 thanks, the bug fixed

Great! Then I'm closing this issue.


Captcha Proxy Support

More than a bug or actually issue, it's more some sort of suggestion...
Is there any chance, that you could add support for proxies when requesting the captcha? It seems like CF requires the captcha to be solved on the same IP as it gets submitted...
Expected Result
Example: 2captcha
Passing the used proxy in the POST data should basically solve the issue
data = {
            'key': self.api_key,
            'pageurl': url,
            'json': 1,
            'soft_id': 5507698,
            'proxy':myProxy, //either as ip:port or user:pass@ip:port
            'proxytype':myProxyType //http, https, socks4, socks5
        }

I don't know if it's in your interest of integrating support for this feature, but it would be pretty fine...

ALSO... FWIW it appears the regex on the Captcha detection is broken, data-key has been removed from the forum so ill address that as well.. ill make this ticket as bug

For those wondering about this...

Anyone got a v1 page with hCaptcha as an example test?

Hi sir, how about add https proxy server to your repo? And send it as proxy!

I have started to implement this into the dev branch, 2captcha has been completed

Introduced into 1.2.44 for anti-captcha and 2captcha.


Unify encomsp request control code

@garbb please confirm windows client still works the way you intended

Yes it works as expected. Thanks.
Another thing I noticed if /auto-request-control parameter is used: The server has a button to disable control and when that is pressed control will be disabled but the client will call client_encomsp_participant_created() again and immediately request control again and popup prompt on server again. This is probably not intended and a bit annoying.
https://user-images.githubusercontent.com/4453789/189717483-c3b89db9-8bb9-4d6b-ab37-08d98a5594db.mp4
I would suggest to only run this code once upon first call to client_encomsp_participant_created(). Maybe this could be achieved by changing setting of FreeRDP_RemoteAssistanceRequestControl to FALSE after first call? Or maybe just set flag within client_encomsp_participant_created() to only request control on first call?
I tried to suggest code edit directly in this pull request but I couldn't figure out how.

@garbb better make a new pr for that, I´ll merge this meanwhile.


Layout problem with Admin LTE 3

Hi all,
I'm having trouble using the package (v9 with Laravel 6.0.4) with Admin LTE 3 (Bootstrap 4 version).
This is the output generated

The table is filled by an ajax call.
The problem is caused by the styles added to the components (table, search box, paging).
Can anybody help me to solve this problem?
Thanks!
Alessandro

Problem solved.
The problem is on another package that by default uses javascript and css based on datatables. It was enough to change the references of the included libraries to solve.
Sorry and thank you anyway.
Alessandro


Fixed kfp walkthrough lab dockerfile

Fixed the dockerfile difference between lab and solution version of KFP Walkthrough notebooks.

Thanks @sanjanalreddy


request: explain the issues labelling / review / merge process in CONTRIBUTING.md

Hey, I feel like there's a small issue with communication again. Could you perhaps please update contributing with a rough outline of how the review - merge process works?
Some of the questions I imagine could be addressed there:

Do you have a certain day in week you review all PRs at once, so it doesn't distract you from your own work? Is this happening once a week? Once a month?
How do you decide the priority - what to review first? Features, bugs? Internal, external contributors?
Is there any system of primary / fallback people for different parts/comps of m2, similar to how it works in angular/angular? Could this list be made public, so people can cc relevant people and get their issues / PRs labelled, reviewed?
Do you have any issue "caretakers" similar to how it works in angular/angular (ie. person that is on issue labelling / triaging duty)?
Are there any external factors causing PRs labelled merge ready to not to be merged immediately? Ie. you need a green light from all internal google apps using m2?

Since there is no public insight into these processes, it might seem to someone like me that there are some minor project management inefficiencies, which in turn make it a little difficult to guess when some bug fixes / features will be merged, or if it's worth trying to contribute.
Some examples:

out of 437 open issues, there are 150 unlabelled ones, which is 35%, in angular/angular it is about 10%
I imagine that quite a few of those open issues are outdated, support requests, without reproduction or do not follow the issue template so they could be closed
for example, this https://github.com/angular/material2/pull/2944 is a pretty small bug fixing PR that was labelled as merge-ready week ago
there's 37 open PRs from a single team member, some date back to months ago without any visible activity (I imagine you might have had internal discussions over some of them and simply didn't / forgot to write some sort of conclusion to the PR itself though)
out of currently 65 open PRs and assigned PRs, 32 are assigned to @jelbourn 14 to @kara, isn't this too much for a person to handle (that's why I was asking if there is any primary / fallback system)
there are some relatively small (in code / changes) feature PRs from the team members that's been sitting there unreviewed for months (https://github.com/angular/material2/pull/3211)
milestones are outdated https://github.com/angular/material2/milestones
projects seems to be used only by some of the team members and are outdated as well https://github.com/angular/material2/projects

Wouldn't it be worth to defer work on all new features / bug fixes for say a week and get on top of issues and existing PRs? I honestly care about this project, it's essential for my own work, so I'm not writing this to complain, but rather to be able to understand what's going on and how I could possibly help.
@jelbourn @kara @crisbeto @DevVersion and others

Out merge process is the same as angular/angular:

Every change that affects the source code (but not tooling / tests) needs to succeed on a presubmit run for all Google apps using the library (which is quite a few projects). This, unsurprisingly, takes a long time and is somewhat flaky. Often there are screenshot test failures or issues in downstream tests that need to be fixed.
There is a weekly rotation ("caretaker") who is responsible for running this presubmit / merge process and tracking down failures.  This person is also responsible for the same process on AngularJS Material and flex-layout. It pretty much eats that person's entire week.
*Google presubmit runs tend to finish in batches, which is why you typically see several PRs merged at once.
Some PRs end up causing failures inside Google and get put on the backburner in favor of other priorities.

Other stuff:

We plan on adding the same pull-approve system to the material2 in Q2.
Lately PR review / merging has been lagging because of the pending ng-conf and work related to Angular 4 coming out.
Issue triage happens twice a week w/ the current caretaker, though this occasionally gets skipped when there are other pressing concerns.
Our Q2 is going to be largely focused on getting the bug count down and improving test tooling without a ton of new big developments (except for data-table).

Ultimately, we want to get PRs merged/issues resolved more than anyone, but sometimes competing priorities will mean that some end up sitting for a while.


SIMSBIOHUB-572 Service/Controller/Repository Refactor - Telemetry

Created a new animal in SIMS.
Attached a random device ID (30467)
Chose deployment dates in the past, so they wouldn't collide.
Saved. No issues so far.
Tried to delete the deployment.
Error, in SIMS api logs:
{
  timestamp: '2024-05-03 09:29:24',
  level: 'debug',
  logger: 'app',
  message: 'DELETE /api/project/1/survey/1/critters/NaN/deployments/0c66052e-85ad-446a-8d5b-62d18fa3baf5'
}
{
  timestamp: '2024-05-03 09:29:24',
  level: 'error',
  logger: 'app',
  label: 'errorTransformer',
  message: 'ajvError',
  ajvError: {
    instancePath: '/critterId',
    schemaPath: '#/properties/critterId/type',
    keyword: 'type',
    params: { type: 'number' },
    message: 'must be number',
    location: 'path'
  }
}

UI nit:
2 of the controls are missing the param that fills in the border (when the field name hasn't moved to the top). Device Manufacturer and Units in this case.

When I click the Add Record button to add manual telemetry, I get a console error:
Warning: `value` prop on `input` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.
input
./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js/withEmotionCache/<@http://localhost:7107/static/js/bundle.js:78710:66
div
./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js/withEmotionCache/<@http://localhost:7107/static/js/bundle.js:78710:66
InputBase@http://localhost:7107/static/js/bundle.js:112366:83
OutlinedInput@http://localhost:7107/static/js/bundle.js:117626:83
div
./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js/withEmotionCache/<@http://localhost:7107/static/js/bundle.js:78710:66
FormControl@http://localhost:7107/static/js/bundle.js:109016:82
./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js/withEmotionCache/<@http://localhost:7107/static/js/bundle.js:78710:66
TextField@http://localhost:7107/static/js/bundle.js:124010:83
TextFieldDataGrid@http://localhost:7107/static/js/bundle.js:3367:27
div
./node_modules/@mui/x-data-grid/components/cell/GridCell.js/GridCellV7<@http://localhost:7107/static/js/bundle.js:139785:9
div
GridRow@http://localhost:7107/static/js/bundle.js:138103:9
div

Tried adding a manual telemetry.
Clicked save.
The spinner starts, and some of the buttons grey out.
But no console logs or network requests are kicked off. It just hangs.


Update 3rd party libraries

update Spring boot to 2.6.4 from 2.6.3
Update Oshi library
update dropwizard metrics

retested, done
works


Use of MATCH

I have tried to execute an query with the MATCH option, but I had no success.

It works now.
I was not using db.all.


Mapped field name

there is an option to use mapped field name into the database?

Do you mean @map(...)?
model User {
  id        Int      @id @default(autoincrement())
  createdAt DateTime @default(now()) @db.DateTime(0)
  updatedAt DateTime @updatedAt @map("updated_at") 👈
  email     String   @unique
  name      String?  @db.VarChar(255)
}

Last time I checked https://github.com/notiz-dev/prisma-dbml-generator/issues/18#issuecomment-1072154314 only @@map(...) was included in the DMMF schema from prisma.

yes sir, can you add @map(...) in DMFF schema from prisma ?
thank you

@erlanggadewa if you want @map(...) to be included in the DMMF you need to open an issue in the prisma repo. I will closes this as it is the same as #18.


Add package-lock.json to repo.

As I understand it, package-lock.json (which is created by npm install) should be in the repo.

I'm assuming this is the correct thing to do, @hemanth.  Shout if not.


stop other videos

Only one video at a time is allowed to play, other videos will be paused.
Works with video and YouTube.
YouTube Iframe API is used for playback events.

Sorry, didn't get the chance to review this (yet). Will do this week.

One thing I'm thinking of is reverting the videos to "lightweight embed" form instead of stopping (for the videos that have this available, e.g. all youtube videos and some mp4) to save the RAM.

One thing I'm thinking of is reverting the videos to "lightweight embed" form instead of stopping (for the videos that have this available, e.g. all youtube videos and some mp4) to save the RAM.

Actually, videos are paused but not stopped, and you can resume playback from the last position, I think its the most expected behavior.


Add 4:3 Aspect Ratio Option

Add 4:3 option for those who want the setting, and modify camera panning.

Too out of scope for now


Facing Issue while integrating with Slack

Hi ,
I am new to the Dialogflow. I am facing the below issue while integrating it with slack .Do we need to enable Webhook before integrating with slack or inline editor(google's cloud function) will work.
As of now I haven't enabled the Webhook and I am trying to integrate it with slack then in the event subscription section I am not getting the response as "Verified". Below is the error for the same.
"Your request URL gave us a 500 error. Update your URL to receive a new request and challenge value."
Please help for the same and thanks in advance.

@pratyushmayank Have you been following the Slack Integration docs?

@sarahdwyer Yes ,I followed exactly the same steps as mentioned in the slack documentation.

@pratyuskmayank Can you please tel how did you solve the issue as I am also facing the same issue?


Please include an error case in super.js when called from strict mode (missing caller)

If code calling this.super() is in strict mode, the following code from super.js fails:
function $super(arrayOfArgs) {
  var caller = $super.caller; // caller is null

This is fairly annoying to track down to the fact that my parent file is in strict mode.  Can you add a descriptive error message here for the case when caller === null?

+1. There is no excuse to be using .caller. That Polymer does rely on its use means that there is a flaw in your library that makes using it a necessity. It is ridiculous today to believe that
(function(){
    "use strict"; //<<==
    Polymer('extended-element', {
        ready: function() {
            this.super();  //<<==
        }
    }
}());

breaks your code base.
This just smells really, really bad. Polymer must break with the past and fully embrace modern JavaScript which means  there has to be 0 tolerance for these kinds of issues. If that means breaking changes to .super then so be it.

+1 on this. I just ran into it as well. Would something like what closure does work here:
https://github.com/google/closure-library/blob/master/closure/goog/base.js#L2196
This is a blocker for my team using Polymer to write custom elements.

@jklein24 this shouldn't be blocking development. It just makes it a pita wherever you need to call this.super(). Here's how to get around it:
(function() {
    Polymer("demo-redirect", {
        //NOTE: You cannot use strict mode if calling this.super
        domReady: function() {
            this.super();
            this.infoEl = document.getElementById("demo-redirect-info");
        },
        get: function(){
            "use strict";
            this.infoEl.textContent =  "demo-redirect \"get\" handler was called " +
                "and is redirecting to demo-redirecttarget";
            console.log("demo-redirect \"get\" called");
            this.rtrHistoryEl.navigate({
                path: "/rtr/components/rtr/demo-redirecttarget",
                trigger: true
            });
        }
    });
}());

As per the above, just don't use a module global form of "use strict". Instead include "use strict" in every function except for those that need to call this.super(). PITA and the Polymer team should definitely address this because it just smells really really really bad. It certainly isn't what to expect in a product that is paving the way to component based client-side development.

Thanks, Jeff. Unfortunately it's not quite that simple for us since we are compiling our code using the closure compiler and would like to be able to continue to have it inject global "use strict" into our compiled code. Because all of our code is concatenated in to one "compiled" bundle, using this workaround would be much too large a burden.

@jklein24 that's unfortunate. i've never used the closure compiler. too bad javascript doesn't support  a "!strict mode" option - that would certainly come in handy in your case :)

Glad I found this ticket. That was a pain to track down. I wonder if this is one of the reasons that 0.8 will not support inheritance of anything other than built-in HTMLElements. I'm guessing that the "p1" label means this won't be fixed until 1.0 - a while from now.

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


Logging

for print out to discord for extra displays

Luacheck has been updated on dev, please merge changes to fix ci checks.


added logic to check for rhel platform_version greater than or equal …

…to 7.5 and modify auditd restart command accordingly
Description
This fixes the behavior outlined in this issue: https://github.com/chef-cookbooks/auditd/issues/55,
it checks to make sure of the platform_version and assigns the correct restart/reload command based on that check per this RHEL bug id: https://bugzilla.redhat.com/show_bug.cgi?id=1647521
Issues Resolved
https://github.com/chef-cookbooks/auditd/issues/55
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

@tas50 let me know if there's anything else I need to do with this PR, I have a couple of customers using it already. Best!


New version: GodotEngine.GodotEngine.Mono version 4.2.1

Description

This pull request is created using Komac
Resolve #135404

Checks

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

This PR has an error in the logs:

GuardianErrorExitCodeException: antimalware completed with an Error exit code: 2. Malware is found and not remediated or additional user action is required to complete remediation or there is error in scanning.

Malware detected in the final release binaries? It's wierd ...

[!NOTE]
This is a https://github.com/microsoft/winget-pkgs/labels/Blocking-Issue and is stale for over 2 weeks. Maybe it's time to close this pull request without merged, as this issue could not be solved by us. 😞


Python v2.5 wheel does not appear to actually be v2.5 of tflite

If I install tflite via pip3 install --index-url https://google-coral.github.io/py-repo/ tflite_runtime it installs v2.5 of tflite_runtime.  However, it apparently lacks the method Interpreter.get_signature_runner() which I'm pretty sure should be available in 2.5.

Hi, please let us know

python version
operating system

please try to install tflite_runtime from these wheels: https://github.com/google-coral/pycoral/releases

I'm using Python 3.8 on Ubuntu 18.04.  I've already tried manually downloading tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl  and it has the same issue.

We'd released slightly earlier than the TF 2.5 was finalized, there is some discrepancy here. We are on the way of releasing updated wheels (current TF 2.5.0 tag) which should contain Interpreter.get_signature_runner().

Thank you.

@ gkoundry the issue has been fixed with new tflite releases. Please install from these wheels: https://github.com/google-coral/pycoral/releases
Thanks


Unable to overwrite key bindings

I am trying to use another key binding (ctrl-alt-left), which is not used by linux mint or atom right now. But it seems like the plugin is still  listening to alt-- for some strange reason. May it be hardcoded somewhere so it ignores if it gets overwritten?

Did you try that: https://atom.io/docs/v1.0.19/behind-atom-keymaps-in-depth#removing-bindings ?

Setting the keybinding (and unsetting) works just fine, at least with the latest Atom. For example, if you want to mimic IDEA's keybinding you'd add this to your keymap.cson:
'atom-workspace':
  'cmd-[': 'last-cursor-position:previous'
  'cmd-]': 'last-cursor-position:next'
  'alt--': 'unset!'
  'alt-_': 'unset!'

'atom-workspace atom-text-editor:not([mini])':
  'cmd-[': 'unset!'
  'cmd-]': 'unset!'

I suspect this issue can be safely closed.


Adding the flavor for Marvel

Adding the new flavor with applicationId: com.jmanday.projects.marvel

it's already not needed


[SmartMedia] Is there a public summary for download/clone yet?

Hi, I wonder if adoptium are publishing the download and clone statics now, and whether the download from api is included?

Try dash.Adoptium.net
On Sat, 7 May 2022 at 08:02, joeyleeeeeee97 @.***>
wrote:

Hi, I wonder if adoptium are publishing the download and clone statics
now, and whether the download from api
https://github.com/adoptium/api.adoptium.net is included?
—
Reply to this email directly, view it on GitHub
https://github.com/adoptium/aqa-test-tools/issues/656, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABME2CLOHDNRDSVF5QMBA3VIYIPTANCNFSM5VJ7Y2OQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Cheers, Martijn (Sent from Gmail Mobile)

@karianna  Thanks.


Can not find sender for push type android/ios

This is my Server configuration:
var api = new ParseServer({
  serverURL: process.env.PARSE_SERVER_URL || 'http://localhost:1337/parse', // $
  databaseURI: process.env.PARSE_SERVER_DATABASE_URL || 'mongodb://localhost:27017/dev',
  cloud: process.env.PARSE_SERVER_CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
  appId: process.env.PARSE_SERVER_APPLICATION_ID || 'myAppId',
  masterKey: process.env.PARSE_SERVER_MASTER_KEY || '' //Add your master key here. Keep it secret!
  javascriptKey: process.env.PARSE_SERVER_JAVASCRIPT_KEY,
  restAPIKey: process.env.PARSE_SERVER_REST_API_KEY,
  dotNetKey: process.env.PARSE_SERVER_DOTNET_KEY,
  clientKey: process.env.PARSE_SERVER_CLIENT_KEY,

  push: {
    android: {
        senderId: process.env.PARSE_ANDROID_SENDERID,
        apiKey: process.env.PARSE_ANDROID_APIKEY
      },

    ios: [
      {
        pfx: process.env.PARSE_IOS_DEV_CERT,
        bundleId: process.env.PARSE_IOS_BUNDLEID,
        production:false // Dev
      },
      {
        pfx: process.env.PARSE_IOS_PROD_CERT,
        bundleId: process.env.PARSE_IOS_BUNDLEID,
        production:true // Prod
      }
    ]
  }

});

Everything works fine in parse-server-example (which is not already updated to the last version of parse-server), but not with parse-server
The problem seems related to push Adapter and not with certificates or other push parameters.
I know that the push Adapter has been removed from one of the latest versions of parse-server and it's now a separate package.
This is the log:
verbose: sending push to 6 installations
verb parse-server-push-adapter Can not find sender for push type ios, [object Object]
verb parse-server-push-adapter Can not find sender for push type android, [object Object]
verbose: sent push! 0 success, 0 failures

Did you tried to open port 2195 ? Because i had the same issue and this was the solution.

Problem solved.
I've configured Parse Server with environment variables (named as suggested in the Wiki page) and started the server through parse-server command (in this case the index.js is not used) and not with npm run start (as the parse-server-example)


Hard to track down errors in doc blocks

Firstly: Thanks so much for the great tool.
I'm trying to retrofit nucleus to an existing SCSS project with lots of code comments already in place none of which conform to nucleus markup.
Nucleus is throwing errors (as it should with my terrible code) but it's very hard to work out what's causing the errors or where the code is.
It would be good if Nucleus could list each file it's parsing when it starts that way, if there's an error and it fails, you can at least see which file was causing the error.
This is the output from nucleus
$ nucleus

 Found 252 files.
C:\Users\evan\AppData\Roaming\npm\node_modules\nucleus-styleguide\src\entities\Mixin.js:70
    var paramCode = paramString[1].match(paramCodeRE)[0];
                                                     ^

TypeError: Cannot read property '0' of null
    at Mixin.getParameters (C:\Users\evan\AppData\Roaming\npm\node_modules\nucleus-styleguide\src\entities\Mixin.js:70:54)
    at new Mixin (C:\Users\evan\AppData\Roaming\npm\node_modules\nucleus-styleguide\src\entities\Mixin.js:36:22)
    at Object.Transform.createEntity (C:\Users\evan\AppData\Roaming\npm\node_modules\nucleus-styleguide\src\Transform.js:124:14)
    at Object.Transform.forView (C:\Users\evan\AppData\Roaming\npm\node_modules\nucleus-styleguide\src\Transform.js:43:23)
    at Object.<anonymous> (C:\Users\evan\AppData\Roaming\npm\node_modules\nucleus-styleguide\index.js:74:29)
    at Module._compile (module.js:624:30)
    at Object.Module._extensions..js (module.js:635:10)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)

Node: 8.7.0
NPM: 5.4.2
Nucleus: 1.1.1
Windows 10

Had the same issue (with the same source code) on Windows 7 and on Ubuntu 17.04


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: darwin
Arch: x64
GPMDP Version: 3.3.0
Time: Fri Jul 29 2016 19:34:56 GMT-0500 (CDT)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: mouseButtonNavigation.js:9:1294.
    at BrowserWindow.callIntoRenderer (/Users/dromero/Downloads/Google Play Music Desktop Player.app/Contents/Resources/electron.asar/browser/rpc-server.js:186:19)
    at emitOne (events.js:101:20)
    at BrowserWindow.emit (events.js:188:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #1283


Do not ask for password if it is not set

If remote server doesn't have trust_password set, fail immediately.

Not a big deal, really. Need to find old password anyway.

There is no way for the client to check whether trust_password is set or not, all the client can do is attempt to talk to the server, if it's denied with a 401, then request a password and try again.


App suddenly no running

I was using the converter when suddenly it stopped running and since then it keeps telling me that the version cannot work on my PC (happened today). What could be the reason? It asks me to find a version suitable for my PC, although it did run merely minutes before.

Hi @Ayshan4444  Can you provide the exact error message that you received, with a picture of the error if possible please?

Hi @Ayshan4444  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


No files matching the pattern were found

After setting up the environment by following the tutorial, I ran gradio_demo.py and encountered the following error:
> python .\gradio_demo.py

[2024-11-05 18:06:25,042] [ WARNING] easyocr.py:80 - Neither CUDA nor MPS are available - defaulting to CPU. Note: This module is much faster with a GPU.
Florence2LanguageForConditionalGeneration has generative capabilities, as `prepare_inputs_for_generation` is explicitly overwritten. However, it doesn't directly inherit from `GenerationMixin`. From 👉v4.50👈 onwards, `PreTrainedModel` will NOT inherit from `GenerationMixin`, and this model will lose the ability to call `generate` and other related functions.
  - If you're using `trust_remote_code=True`, you can get rid of this warning by loading the model with an auto class. See https://huggingface.co/docs/transformers/en/model_doc/auto#auto-classes
  - If you are the owner of the model architecture code, please modify your model class such that it inherits from `GenerationMixin` (after `PreTrainedModel`, otherwise you'll get an exception).
  - If you are not the owner of the model architecture class, please contact the model code owner to update it.
No files matching the pattern were found
* Running on local URL:  http://<IP_ADDRESS>:7861
2024/11/05 18:06:46 [W] [service.go:132] login to server failed: dial tcp <IP>:7000: i/o timeout

Could not create share link. Please check your internet connection or our status page: https://status.gradio.app.

I believe I encountered a similar issue and it had something to do with the name of the files inside my weights folder, could you share a screenshot of your weights folder and the content inside its subfolders (icon_caption_blip2, icon_caption_florence,icon_detect)

Hi @AkimT13, are you running on cpu or gpu machine?

I switched everything to run on mps so it should be using my gpu. However in order to get it to run I had to change filename: pytorch_model-00001-of-00002.bin to be pytorch_model.bin inside the weights/icon_caption_blip2 folder. Theres still a file called pytorch_model-00002-of-00002.bin that is probably not getting used but it still runs fine anyway. Although it says this: "Some weights of Blip2ForConditionalGeneration were not initialized from the model checkpoint at weights/icon_caption_blip2 and are newly initialized because the shapes did not match: " and then a long list of torch's being initialized. Do you have any idea's on how to fix this?
-Thanks, Akim

Same problem. I couldn't fix it even if I redeployed.


Did you reproduced the results in paper?

Hi @chamorajg, thank's for your pytorch version of original ones, may i ask that did you can reproduce the results in KITTI or waymo dataset?

I am currently working on training on the KITTI dataset. Once completed, I shall also upload the pretrained models on KITTI dataset. Mostly by the end of the month, I shall try to upload the model.


failure detection/recovery

Hello,
cau you help me,
I can not understand why orchestrator is showing me this message:
auditType:review-unseen-instances instance::0 cluster: message:Operations: 0
2018-09-18 11:50:28 INFO auditType:resolve-unknown-masters instance::0 cluster: message:Num resolved hostnames: 0

and when I type the command : ./orchestrator -c topology, here's the message he's showing me
DEBUG Connected to orchestrator backend: orch:?@tcp(<IP_ADDRESS>:3306)/orchestrator?timeout=1s
2018-09-18 11:52:47 DEBUG Orchestrator pool SetMaxOpenConns: 128
2018-09-18 11:52:47 DEBUG Initializing orchestrator
2018-09-18 11:52:47 INFO Connecting to backend <IP_ADDRESS>:3306: maxConnections: 128, maxIdleConns: 32
2018-09-18 11:52:47 DEBUG instanceKey: poc-mariadb-01:3306
2018-09-18 11:52:47 DEBUG instanceKey: poc-mariadb-02:3306
2018-09-18 11:52:47 DEBUG instanceKey: poc-mariadb-03:3306
2018-09-18 11:52:47 DEBUG instanceKey: poc-mariadb-04:3306
poc-mariadb-01:3306   [0s,ok,10.2.15-MariaDB-log,rw,ROW,>>]
+ poc-mariadb-02:3306 [0s,ok,10.2.15-MariaDB-log,ro,ROW,>>,GTID]
+ poc-mariadb-03:3306 [0s,ok,10.2.15-MariaDB-log,rw,ROW,>>,GTID]
+ poc-mariadb-04:3306 [0s,ok,10.2.16-MariaDB-log,ro,ROW,>>,GTID]

here is the contents of my configuration file
{   "Debug": false,   "EnableSyslog": false,   "ListenAddress": ":3000",   "MySQLTopologyUser": "orch_top",   "MySQLTopologyPassword": "my_password",   "MySQLTopologyCredentialsConfigFile": "",   "MySQLTopologySSLPrivateKeyFile": "",   "MySQLTopologySSLCertFile": "",   "MySQLTopologySSLCAFile": "",   "MySQLTopologySSLSkipVerify": true,   "MySQLTopologyUseMutualTLS": false,   "MySQLOrchestratorHost": "<IP_ADDRESS>",   "MySQLOrchestratorPort": 3306,   "MySQLOrchestratorDatabase": "orchestrator",   "MySQLOrchestratorCredentialsConfigFile": "/usr/local/orchestrator/orchestrator-backend.cnf",   "MySQLOrchestratorSSLPrivateKeyFile": "",   "MySQLOrchestratorSSLCertFile": "",   "MySQLOrchestratorSSLCAFile": "",   "MySQLOrchestratorSSLSkipVerify": true,   "MySQLOrchestratorUseMutualTLS": false,   "MySQLConnectTimeoutSeconds": 1,   "DefaultInstancePort": 3306,   "DiscoverByShowSlaveHosts": false,   "InstancePollSeconds": 3,   "UnseenInstanceForgetHours": 240,   "SnapshotTopologiesIntervalHours": 0,   "InstanceBulkOperationsWaitTimeoutSeconds": 10,   "HostnameResolveMethod": "default",   "MySQLHostnameResolveMethod": "@@hostname",   "SkipBinlogServerUnresolveCheck": true,   "ExpiryHostnameResolvesMinutes": 60,   "RejectHostnameResolvePattern": "",   "ReasonableReplicationLagSeconds": 10,   "ProblemIgnoreHostnameFilters": [],   "VerifyReplicationFilters": false,   "ReasonableMaintenanceReplicationLagSeconds": 20,   "CandidateInstanceExpireMinutes": 60,   "AuditLogFile": "",   "AuditToSyslog": false,   "RemoveTextFromHostnameDisplay": "poc-mariadb*:3306",   "ReadOnly": false,   "AuthenticationMethod": "",   "HTTPAuthUser": "",   "HTTPAuthPassword": "",   "AuthUserHeader": "",   "PowerAuthUsers": [     "*"   ],   "ClusterNameToAlias": {     "<IP_ADDRESS>": "test suite"   },   "SlaveLagQuery": "",   "DetectClusterAliasQuery": "select ifnull(max(cluster_name), '') as cluster_alias from meta.cluster where anchor=1",   "DetectClusterDomainQuery": "select ifnull(max(cluster_domain), '') as cluster_domain from meta.cluster where anchor=1",   "DetectInstanceAliasQuery": "",   "DetectPromotionRuleQuery": "",   "DataCenterPattern": "",   "UseSuperReadOnly " : false ,   "PhysicalEnvironmentPattern": "",   "PromotionIgnoreHostnameFilters": [],   "DetectSemiSyncEnforcedQuery": "",   "ServeAgentsHttp": false,   "AgentsServerPort": ":3001",   "AgentsUseSSL": false,   "AgentsUseMutualTLS": false,   "AgentSSLSkipVerify": false,   "AgentSSLPrivateKeyFile": "",   "AgentSSLCertFile": "",   "AgentSSLCAFile": "",   "AgentSSLValidOUs": [],   "UseSSL": false,   "UseMutualTLS": false,   "SSLSkipVerify": false,   "SSLPrivateKeyFile": "",   "SSLCertFile": "",   "SSLCAFile": "",   "SSLValidOUs": [],   "URLPrefix": "",   "StatusEndpoint": "/api/status",   "StatusSimpleHealth": true,   "StatusOUVerify": false,   "AgentPollMinutes": 60,   "UnseenAgentForgetHours": 6,   "StaleSeedFailMinutes": 60,   "SeedAcceptableBytesDiff": 8192,   "PseudoGTIDPattern": "",   "PseudoGTIDPatternIsFixedSubstring": false,   "PseudoGTIDMonotonicHint": "asc:",   "DetectPseudoGTIDQuery": "",   "BinlogEventsChunkSize": 10000,   "SkipBinlogEventsContaining": [],   "ReduceReplicationAnalysisCount": true,   "FailureDetectionPeriodBlockMinutes": 60,   "RecoveryPeriodBlockSeconds": 3600,   "RecoveryIgnoreHostnameFilters": [],   "RecoverMasterClusterFilters": [     "_master_pattern_"   ],   "RecoverIntermediateMasterClusterFilters": [     "_intermediate_master_pattern_"   ],   "OnFailureDetectionProcesses": [     "echo 'Detected {failureType} on {failureCluster}. Affected replicas: {countSlaves}' >> /tmp/recovery.log"   ],   "PreGracefulTakeoverProcesses": [     "echo 'Planned takeover about to take place on {failureCluster}. Master will switch to read_only' >> /tmp/recovery.log"   ],   "PreFailoverProcesses": [     "echo 'Will recover from {failureType} on {failureCluster}' >> /tmp/recovery.log"   ],   "PostFailoverProcesses": [     "echo '(for all types) Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Successor: {successorHost}:{successorPort}' >> /tmp/recovery.log"   ],   "PostUnsuccessfulFailoverProcesses": [],   "PostMasterFailoverProcesses": [     "echo 'Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Promoted: {successorHost}:{successorPort}' >> /tmp/recovery.log"   ],   "PostIntermediateMasterFailoverProcesses": [     "echo 'Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Successor: {successorHost}:{successorPort}' >> /tmp/recovery.log"   ],   "PostGracefulTakeoverProcesses": [     "echo 'Planned takeover complete' >> /tmp/recovery.log"   ],   "CoMasterRecoveryMustPromoteOtherCoMaster": true,   "DetachLostSlavesAfterMasterFailover": true,   "ApplyMySQLPromotionAfterMasterFailover": true,   "MasterFailoverDetachSlaveMasterHost": false,   "MasterFailoverLostInstancesDowntimeMinutes": 0,   "PostponeSlaveRecoveryOnLagMinutes": 0,   "OSCIgnoreHostnameFilters": [],   "GraphiteAddr": "",   "GraphitePath": "",   "GraphiteConvertHostnameDotsToUnderscores": true,   "ConsulAddress": "",   "ConsulAclToken": "" }
thank you.

Hello,
What is your question please? I see you've edited your comment. Right now I don't see a question.

Hello,
thanks for reacting, I wrote my question.
Tk.y

I can not understand why orchestrator is showing me this message:

When does it show you that message?

and when I type the command : ./orchestrator -c topology, here's the message he's showing me

Everything seems to be OK, except you don't want to see the INFO and DEBUG messages, right?
First, FYI, these are printed to standard error.
Now, I see you have "Debug": false in your config. Is there possibly another config where you have "Debug": true?
To clarify, you're not running with --debug, correct?
It seems to me like there's another orchestrator config file where Debug is turned on.
If not, what happens when you run ./orchestrator -quiet -c topology ...?

When does it show you that message?
when i lunch ./orchestrator --debug http (I'm running with debug)

here is the result of  ./orchestrator -quiet -c topology ...?
poc-mariadb-01:3306   [0s,ok,10.2.15-MariaDB-log,rw,ROW,>>]

poc-mariadb-02:3306 [0s,ok,10.2.15-MariaDB-log,ro,ROW,>>,GTID]
poc-mariadb-03:3306 [0s,ok,10.2.15-MariaDB-log,rw,ROW,>>,GTID]
poc-mariadb-04:3306 [0s,ok,10.2.16-MariaDB-log,ro,ROW,>>,GTID]

when i launch http://<IP_ADDRESS>:3000 i don't see my topology.

when i launch ./orchestrator --debug http (I'm running with debug)

You're running with debug and so that is why you are getting debug messages.
Everything seems to be in order.

Is your http://<IP_ADDRESS>:3000 running with the same configuration and backend servers as does the orchestrator binary that you have used in the examples above?
From the screenshot I see you're using an outdated version, by the way. I recommend grabbing the latest release.

closing for no response


Should CircuitSimulator be a base class? UltraCircuitSimulator?

If there are any cases where the output of a stdlib function depends on the builder type (e.g., this would be the case with Pedersen), then I think eventually we want the circuit simulator should get the value of the Ultra thing. Should that be reflected in the naming?  Will there be a need for other circuit simulators? This is related to #665

Simulator is deprioritized.


Add ChatGPT-Discord-Bot

By submitting this pull request, I promise I have read the contribution guidelines twice and made sure my submission follows it.
⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

The suggestion should be in English.


Better bot detection

So the idea here is checking if it has crawler of fetcher words on the user agent?


CoinDesk exchange price is BTC, not BCH

Reported by reddit user Tyler Rusk via email.
Will look into it.
Same bug exists on Electron Cash master.

Turns out it's just crufty code in Electron Cash.  Will remove and fix tonight and push changes back to Electron Cash

Latest commit addesses this. Closing.


Change the way to verify business_day in time_slots

Hi team,
In this PR we proposed the another way to control the business days for generating the time slots, from View to the Concerns of TimeSlot Model.
This change has mainly objective to avoid appears the UBS button in the time_slot index page if don't have any available time slot in business days.

PR desatualizada e já implementada na branch master-covid


command wp acorn db:seed not working as expected

Hello,
I noticed when using the command "wp acorn db:seed" the following error occurs:
INFO  Seeding database.

In Container.php line 891:

  Target class [DatabaseSeeder] does not exist.

In Container.php line 889:

  Class "DatabaseSeeder" does not exist

This command is executed from WSL2 on Windows, other commands such as "wp acorn make:migration" works.
How could this be resolved?

I have a workaround as a solution but would be nice to have a proper solution:
In the PluginModelFactory file a namespace is changed to "Database\Factories" and also in the DatabaseSeeder file a namespace is changed to "Database\Seeder".
I expected that in the composer.json file in the section "autoload", "psr-4" the line s would solve this issue.:
  "WordpressPluginTemplate\\Database\\Factories\\": "src/database/factories/",
  "WordpressPluginTemplate\\Database\\Seeders\\": "src/database/seeders/",

Now running the command: wp acorn db:seed works as expected.

I have updated the documentation on how to perform the seeding. Because the namespaces difference from default Laravel convention, you have to pass in the seeder class so it knows what to use. I have pushed an update as the factories were not resolving as well. See #4


Add chinese docs

closes: #ISSUE_Number

Change logs

Describe your change clearly, including what problem is being solved or what document is being added or updated.

Contributor's checklist
Here are some reminders before you submit your pull request:

Make sure that your Pull Request has a clear title and commit message. You can take the Git commit template as a reference.
Sign the Contributor License Agreement as prompted for your first-time contribution (One-time setup).
Learn the code contribution and doc contribution guides for better collaboration.
Make sure that your changes deployment preview is successful.
List your communications in the GitHub Issues or Discussions (if has or needed).
Feel free to ask for the @cloudberrydb/doc team or other people to help review and approve.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: IdaLee666:x: lijiajialijiajia seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Discover Bags service cannot handle TAR archives from certain sources

Is your feature request related to a problem? Please describe.
TAR archives from DART Runner behave differently when extracted than the previous TAR archives that Zorya has handled. This has caused weird behavior in the Discover Bags service that causes the service to fail.
Currently, it is expected that the first value of TarFile.getnames() is the bag directory name. However, for TAR archives from DART Runner, TarFile.getnames() only produced the files within the directory (and not the directory itself).
>>> bag_path
'/Users/bonniegordon/Downloads/23ab79f9c9514b52b619dfa319816488.tar'
>>> tf.getnames()[0]
'23ab79f9c9514b52b619dfa319816488/data/01.tif'
>>> bag_path = "/Users/bonniegordon/.dart/bags/37bd98bbafe54b77aff5850b80e7299f.tar"
>>> tf = tarfile.open(bag_path, 'r')
>>> tf.getnames()[0]
'37bd98bbafe54b77aff5850b80e7299f'

Describe the solution you'd like
Check that tf.getnames()[0] does not end in a file extension, and if it does, parse it for the bag name.

I think that we can probably just do tf.getnames()[0].split('/')[0] since that will (I think) result in the desired output in either case.


[feat] Add tracking on new TrainLoop

What does this PR do?

Fixes #<issue_number>
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Hello @tchaton! Thanks for opening this PR.

In the file pytorch_lightning/loops/training_batch_loop.py:

Line 296:18: W503 line break before binary operator
Line 569:13: W503 line break before binary operator

In the file pytorch_lightning/loops/training_epoch_loop.py:

Line 303:17: W503 line break before binary operator

Do see the Hitchhiker's guide to code style


⚠ Bofrost.be has degraded performance

In bcc12fd, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1746 ms

Resolved: Bofrost.be performance has improved in ffae295 after 11 minutes.