Open Weather 401 Unauthorized

After configuring 'wto' (setting service and API key) I'm do request to get data. But I get only 401 code, while my API key is valid(https://api.openweathermap.org/data/2.5/weather?q=peshawar&appid=<API_KEY>).

Running into the same issue.

The problem is that the new api they use is 3.0 and it seems the project is using /data/2.5/onecall instead of data/3.0/xyz I don't think there's a way to get the a key to the old 2.5 API

@obatola unfortunately, that’s not the issue, as I show in #16. Here’s an example of calling the 2.5 endpoint, just like the workflow does:
♠ https "api.openweathermap.org/data/2.5/onecall?lat=42.394722&lon=-71.109103&appid=$API_KEY"
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 20137
Content-Type: application/json; charset=utf-8
Date: Mon, 03 Oct 2022 12:43:28 GMT
Server: openresty
X-Cache-Key: /data/2.5/onecall?lat=42.39&lon=-71.11

{
    "current": {
        "clouds": 75,
        "dew_point": 277.35,
        "dt":<PHONE_NUMBER>,
        "feels_like": 278.17,
        "humidity": 72,
        "pressure": 1024,
        "sunrise":<PHONE_NUMBER>,
        "sunset":<PHONE_NUMBER>,
        "temp": 282.12,
        "uvi": 0.88,
        "visibility": 10000,
        "weather": [
            {
                "description": "broken clouds",
                "icon": "04d",
                "id": 803,
                "main": "Clouds"
            }
        ],
        "wind_deg": 60,
        "wind_gust": 12.86,
        "wind_speed": 9.26
    },
# snip

Having the same issue here . 401 Unauthorized. Is there any work around at this stage? It looks like a great workflow...

@obatola, @stallowin, I’m not sure what to tell y’all; I can use the workflow, with OpenWeather, with a freshly generated API key, without any issues.
You can see my example request via the CLI, using the same endpoint as the workflow, in my previous comment as well, demonstrating it works.
On top of that, an HTTP 401 Unauthorized means that you’re successfully reaching OpenWeather, but your credentials aren’t valid. This isn’t an issue with the workflow (if we were sending a malformed request, we’d see an HTTP 500 error).
I recommend trying out your API key directly via the command line or a browser, and seeing how that works.

@jeffbyrnes perhaps your older account is grandfathered into access to the 2.5 onecall endpoint but newer accounts are not?
I can confirm that the url shown in the debug log:
https://api.openweathermap.org/data/2.5/onecall?appid=APIKEY&lat=30.485796&lon=-87.196137&units=metric
returns a 401 in the browser.
https://api.openweathermap.org/data/3.0/onecall?appid=APIKEY&lat=30.485796&lon=-87.196137&units=metric
also returns a 401, but with the message "Please note that using One Call 3.0 requires a separate subscription to the One Call by Call plan. Learn more here https://openweathermap.org/price. If you have a valid subscription to the One Call by Call plan, but still receive this error, then please see https://openweathermap.org/faq#error401 for more info."
but the standard (not "onecall") API endpoint returns a weather object, but based on my testing this response does not match the format the workflow expects.
https://api.openweathermap.org/data/2.5/weather?appid=APIKEY&lat=30.485796&lon=-87.196137&units=metric

I was getting the same issue with a recent account/token. 30min after I received the email "OpenWeatherMap One Call 3.0 account activation", the workflow started working. So I guess we just need to wait?

@rougeth well now, that is very interesting. Seems like maybe there is an extra step to enable the /onecall endpoint? Or they manually enable something?

@rougeth about how long did it take for you to receive that email?  I've only be active for about 3 days so I wonder if there is some engagement or timeline?

@jeffbyrnes seems weird, right?
@zalary to be precise, a minute after receiving the e-mail "OpenWeatherMap Account created", no delay there.

@rougeth did you subscribe to the one-call API and input your credit card?

Running into the same issue here :)
I will check again tomorrow in case time is a factor, although my key has been generated more than 1h ago, and calling the endpoint I received from their email shows the api is already active

Having the same issue, any outcome ??

I'm having the same issue, even though calling the API through web browser works well for me:
https://api.openweathermap.org/data/3.0/onecall?appid=APIKEY&lat=30.485796&lon=-87.196137&units=metric

@thomasXwang I tried what you did but yet no luck on mysids ... still showing same issue even I tried to generate and input new API.

..same for me..

I did the following.

Created a new account
Added a new credit card and subscribed. Got an email confirming my subscription.
Created a new API key
Used the new API key in the Alfred workflow

And found that I got 401 Unauthorized when both manually calling the endpoint and in the workflow.
After about 20-30 minutes, I tried again and it worked. Seems they are just not activating that endpoint at first

Well, looks like this is all irrelevant, since the OpenWeather 3.0 API is becoming the only option very soon.
I don’t think I’ll have any time to refactor any of this, so I welcome any of you to take a crack at it.

This is fixed in 1.7.0. Note that you have to subscribe to the OneCall v3 API with OpenWeather, and you may need to generate a new key (or not; their key activation process is very slow, and I was impatient 🙂).


"token" parameter not in video info for unknown reason;

"token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
this is the error I get and I don't know why I already updated youtube-dl and checked for any updates but I still get this error
running on Ubuntu 16 server

Same bug, This is the output of the verbose for my System.
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=5yofqV1_SSA']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.07
[debug] Python version 3.7.3 (CPython) - Linux-5.0.9-arch1-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3
[debug] Proxy map: {}
[youtube] 5yofqV1_SSA: Downloading webpage
[youtube] 5yofqV1_SSA: Downloading video info webpage
ERROR: 5yofqV1_SSA: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
    video_id=video_id)
youtube_dl.utils.ExtractorError: 5yofqV1_SSA: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Same problem on Windows, with the most recent version (2019.04.17).

Also on mac. version 2019.04.17
debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=DSkaNFQ0OXU']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.10 (CPython) - Darwin-18.5.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] DSkaNFQ0OXU: Downloading webpage
[youtube] DSkaNFQ0OXU: Downloading video info webpage
ERROR: DSkaNFQ0OXU: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
video_id=video_id)
ExtractorError: DSkaNFQ0OXU: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Same problem.
[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=S1OmgqIMnJE', '--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2019.04.17 [debug] Python version 3.7.0 (CPython) - Linux-4.9.0-8-amd64-x86_64-with-debian-9.5 [debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2 [debug] Proxy map: {} [youtube] S1OmgqIMnJE: Downloading webpage [youtube] S1OmgqIMnJE: Downloading video info webpage ERROR: S1OmgqIMnJE: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last):   File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info     ie_result = ie.extract(url)   File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 529, in extract     ie_result = self._real_extract(url)   File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1693, in _real_extract     video_id=video_id) youtube_dl.utils.ExtractorError: S1OmgqIMnJE: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

same.
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=dQw4w9WgXcQ', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-47-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] dQw4w9WgXcQ: Downloading webpage
[youtube] dQw4w9WgXcQ: Downloading video info webpage
ERROR: dQw4w9WgXcQ: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
video_id=video_id)
ExtractorError: dQw4w9WgXcQ: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

seems like they might have renamed the token to account_playback_token
tried putting in this in extractor/youtube.py, and it seems to work:
1674         if 'token' not in video_info and 'account_playback_token' in video_info:
1675             video_info['token'] = video_info['account_playback_token']

same
Linux ub6 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
youtube-dl "http://www.youtube.com/watch?v=fESq5xcEzqU" -f 133+249 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'http://www.youtube.com/watch?v=fESq5xcEzqU', u'-f', u'133+249', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.16 (CPython) - Linux-5.0.0-13-generic-x86_64-with-Ubuntu-19.04-disco
[debug] exe versions: ffmpeg N-93328-gf6803cfbd2, ffprobe N-93328-gf6803cfbd2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] fESq5xcEzqU: Downloading webpage
[youtube] fESq5xcEzqU: Downloading video info webpage
ERROR: fESq5xcEzqU: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
video_id=video_id)
ExtractorError: fESq5xcEzqU: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

More of the same:
~> youtube-dl --verbose 9TYbw6FWMPs
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '9TYbw6FWMPs']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 3.6.8 (CPython) - Darwin-18.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 9TYbw6FWMPs: Downloading webpage
[youtube] 9TYbw6FWMPs: Downloading video info webpage
ERROR: 9TYbw6FWMPs: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
    video_id=video_id)
youtube_dl.utils.ExtractorError: 9TYbw6FWMPs: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Ditto. I'm glad I'm not alone. Here's mine from two different Linux boxes:
$ youtube-dl -v https://www.youtube.com/watch?v=Zpk4Ls_i2-U
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=Zpk4Ls_i2-U']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 3.4.2 (CPython) - Linux-3.16.0-8-amd64-x86_64-with-debian-8.11
[debug] exe versions: ffmpeg 3.2.10-1, ffprobe 3.2.10-1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Zpk4Ls_i2-U: Downloading webpage
[youtube] Zpk4Ls_i2-U: Downloading video info webpage
ERROR: Zpk4Ls_i2-U: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/ant/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
video_id=video_id)
youtube_dl.utils.ExtractorError: Zpk4Ls_i2-U: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
$ youtube-dl -v https://www.youtube.com/watch?v=Zpk4Ls_i2-U
[debug] System config: [u'--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=Zpk4Ls_i2-U']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.15 (CPython) - Linux-4.20.8-200.fc29.x86_64-x86_64-with-fedora-29-Twenty_Nine
[debug] exe versions: ffmpeg 4.0.3, ffprobe 4.0.3, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Zpk4Ls_i2-U: Downloading webpage
[youtube] Zpk4Ls_i2-U: Downloading video info webpage
ERROR: Zpk4Ls_i2-U: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/ant/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/home/ant/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
video_id=video_id)
ExtractorError: Zpk4Ls_i2-U: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
I find it amusing that cclive still works. :P

Yep, same bug.  Under Linux:
First:
$$$> youtube-dl --version
2019.04.17
Example:
$$$> youtube-dl --verbose "https://www.youtube.com/watch?v=aMOFvshdKaw"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=aMOFvshdKaw']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-47-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4, ffprobe 3.4.4
[debug] Proxy map: {}
[youtube] aMOFvshdKaw: Downloading webpage
[youtube] aMOFvshdKaw: Downloading video info webpage
ERROR: aMOFvshdKaw: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
video_id=video_id)
ExtractorError: aMOFvshdKaw: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Aren't you super impressed I read the FAQ before reporting a new bug?

Thanx to sandsmark. Just replaced 'token' to 'account_playback_token' in line 1674 of extractor/youtube.py

https://gist.github.com/MostAwesomeDude/d4421132ade2ce5de798f36e9427507b works for me on NixOS with nixpkgs. Well done with the speedy reverse-engineering.

Nice. I will be waiting for the updated binary with "youtube-dl -U". :)

seems like they might have renamed the token to account_playback_token
tried putting in this in extractor/youtube.py, and it seems to work:
1674         if 'token' not in video_info and 'account_playback_token' in video_info:
1675             video_info['token'] = video_info['account_playback_token']

Dope... Good to know this is an easy fix. Still gonna wait for the binary

I tried it with the website known as dirpy and it didn't work

seems like they might have renamed the token to account_playback_token
tried putting in this in extractor/youtube.py, and it seems to work:
1674         if 'token' not in video_info and 'account_playback_token' in video_info:
1675             video_info['token'] = video_info['account_playback_token']

can you tell me where is the extractor folder is? i cant find it :(

same story on the Xubuntu 18.04 Linux distribution, waiting for -U to come good (is currently 2019.04.17).
$ youtube-dl -F https://www.youtube.com/watch?v=NtztEzZ1qMQ
[youtube] NtztEzZ1qMQ: Downloading webpage
[youtube] NtztEzZ1qMQ: Downloading video info webpage
ERROR: NtztEzZ1qMQ: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
user@OptiPlex980:~/dwhelper$ youtube-dl --verbose -F https://www.youtube.com/watch?v=NtztEzZ1qMQ
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-F', u'https://www.youtube.com/watch?v=NtztEzZ1qMQ']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-48-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4, ffprobe 3.4.4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] NtztEzZ1qMQ: Downloading webpage
[youtube] NtztEzZ1qMQ: Downloading video info webpage
ERROR: NtztEzZ1qMQ: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
video_id=video_id)
ExtractorError: NtztEzZ1qMQ: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I am waiting for the update, my system is centos.. :)

seems like they might have renamed the token to account_playback_token
tried putting in this in extractor/youtube.py, and it seems to work:
1674         if 'token' not in video_info and 'account_playback_token' in video_info:
1675             video_info['token'] = video_info['account_playback_token']

This solution does not work for me.

Same:
$ youtube-dl --verbose -F https://www.youtube.com/watch?v=B8uoyPZhuUw
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-F', u'https://www.youtube.com/watch?v=B8uoyPZhuUw']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.11 (CPython) - Linux-4.9.167-std-def-alt0.M80P.1-x86_64-with-ALT-8.3-altlinux
[debug] exe versions: avconv 11.6-alt1, avprobe 11.6-alt1
[debug] Proxy map: {}
[youtube] B8uoyPZhuUw: Downloading webpage
[youtube] B8uoyPZhuUw: Downloading video info webpage
ERROR: B8uoyPZhuUw: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/kiav/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/home/kiav/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/home/kiav/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
video_id=video_id)
ExtractorError: B8uoyPZhuUw: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Thanks Brakhma (and sandsmark), for me in Debian Stretch backports (youtube-dl 2019.01.17-1~bpo9+1), I needed to replace 'token' to 'account_playback_token' in line 1670 of /usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py

Thanks Brakhma (and sandsmark), for me in Debian Stretch backports (youtube-dl 2019.01.17-1~bpo9+1), I needed to replace 'token' to 'account_playback_token' in line 1670 of /usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py

I don't see 'token' in line 1670 :(

Thanks Brakhma (and sandsmark), for me in Debian Stretch backports (youtube-dl 2019.01.17-1~bpo9+1), I needed to replace 'token' to 'account_playback_token' in line 1670 of /usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py

I don't see 'token' in line 1670 :(

On the most recent version to date it is line 1674.

I think some of us might be a little out of sync on that python library.  Line 1674 on mine shows video description details, and the line involving 'token' is vastly different. Might having installed youtube-dl manually through these instructions: https://ytdl-org.github.io/youtube-dl/download.html then subsequently updating through "youtube-dl -U" have an impact on the location and/or relevance of this code?

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=Q2DsOapYIn0', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.04.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Q2DsOapYIn0: Downloading webpage
[youtube] Q2DsOapYIn0: Downloading video info webpage
ERROR: Q2DsOapYIn0: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1tqz5pcu\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1tqz5pcu\build\youtube_dl\extractor\common.py", line 529, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1tqz5pcu\build\youtube_dl\extractor\youtube.py", line 1693, in _real_extract
youtube_dl.utils.ExtractorError: Q2DsOapYIn0: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Please check this : https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/youtube.py
Not 'token' in 1670 and 1674.
It's in 1655, 1665, and 1681 (https://i.imgur.com/gJVO2Ho.png)

seems like they might have renamed the token to account_playback_token
tried putting in this in extractor/youtube.py, and it seems to work:
1674         if 'token' not in video_info and 'account_playback_token' in video_info:
1675             video_info['token'] = video_info['account_playback_token']

Stupid question, but do I copy those lines of code into the youtube.py in place of what's currently there or do I move what is currently written in lines 1674 and 1675 down to 1675 and 1676 and replace them with your lines of code.

you do it in the space before if not video_info:.  Just add it there, nothing to replace or remove.

Same in Ubuntu 16.04
☁  ~  youtube-dl --version
2019.04.17
☁  ~  youtube-dl -F "https://youtu.be/LVsjX97mCLg"
[youtube] LVsjX97mCLg: Downloading webpage
[youtube] LVsjX97mCLg: Downloading video info webpage
ERROR: LVsjX97mCLg: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Should it look like this?
`                    if view_count is None:
view_count = extract_view_count(get_video_info)
if 'token' not in video_info and 'account_playback_token' in video_info:
video_info['token'] = video_info['account_playback_token']
if not video_info:
video_info = get_video_info
if 'token' in get_video_info:

Does this seem to be the same error?  If so is there going to be a new compiled exe I could test.
C:\IUWORK\MPV>youtube-dl.exe -v https://www.youtube.com/watch?v=YpqaWQiyQRA
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=YpqaWQiyQRA']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.04.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] YpqaWQiyQRA: Downloading webpage
[youtube] YpqaWQiyQRA: Downloading video info webpage
ERROR: YpqaWQiyQRA: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1tqz5pcu\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1tqz5pcu\build\youtube_dl\extractor\common.py", line 529, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1tqz5pcu\build\youtube_dl\extractor\youtube.py", line 1693, in _real_extract
youtube_dl.utils.ExtractorError: YpqaWQiyQRA: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

$ youtube-dl -F https://www.youtube.com/watch?v=6sfnIAgxBU4 -v
[debug] Command-line args: [u'-F', u'https://www.youtube.com/watch?v=6sfnIAgxBU4', u'-v']
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.12 (CPython) - Linux-4.15.0-47-generic-x86_64
[debug] exe versions: ffmpeg 2.8.15, ffprobe 2.8.15, rtmpdump 2.4
ERROR: 6sfnIAgxBU4: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
video_id=video_id)
ExtractorError: 6sfnIAgxBU4: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

PS D:\Youtube> youtube-dl --proxy socks5://<IP_ADDRESS>:6666/ --write-auto-sub --skip-download "https://youtu.be/fCxzA9_kg6s?list=PLA567CE235D39FA84" -o '%(playlis
t)s/%(playlist_index)s - %(title)s.%(ext)s'
[youtube:playlist] Downloading playlist PLA567CE235D39FA84 - add --no-playlist to just download video fCxzA9_kg6s
[youtube:playlist] PLA567CE235D39FA84: Downloading webpage
[download] Downloading playlist: Tutorial Series for Arduino
[youtube:playlist] playlist Tutorial Series for Arduino: Downloading 15 videos
[download] Downloading video 1 of 15
[youtube] fCxzA9_kg6s: Downloading webpage
[youtube] fCxzA9_kg6s: Downloading video info webpage
ERROR: fCxzA9_kg6s: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

If you save the codeblock below as youtube.patch you can fix your extractor/youtube.py file using:
$ cd /usr/lib/python3.7/site-packages/youtube_dl/extractor
$ patch youtube.py < youtube.patch
# youtube.patch
# This patch should fix the token errors with youtube-dl working on YouTube.
--- youtube.py	2019-04-23 22:01:13.234136696 -0400
+++ youtube-patched.py	2019-04-23 22:01:48.730947818 -0400
@@ -1671,14 +1671,8 @@
                 r'(?s)<h1[^>]+id="unavailable-message"[^>]*>(.+?)</h1>',
                 video_webpage, 'unavailable message', default=None)

-        if not video_info:
-            unavailable_message = extract_unavailable_message()
-            if not unavailable_message:
-                unavailable_message = 'Unable to extract video data'
-            raise ExtractorError(
-                'YouTube said: %s' % unavailable_message, expected=True, video_id=video_id)
-
-        if 'token' not in video_info:
+        if 'token' not in video_info and 'account_playback_token' not in video_info:
+            video_info['token'] = video_info['account_playback_token']
             if 'reason' in video_info:
                 if 'The uploader has not made this video available in your country.' in video_info['reason']:
                     regions_allowed = self._html_search_meta(

This fixed the issue for me.  Hope it helps others as well.

@huoble yes

@huoble yes

It didn't work when I tried it, came up with a bunch of python errors.

Do we blame this on Article 13

If your code at line 1674 don't look like @sandsmark's patch above, you're running an older version of youtube-dl and need to update anyhow.
If you aren't sure where your extractor/youtube.py file is, run youtube-dl with --verbose and you'll see it listed.
If you can't figure out how to patch it or it causes errors, wait 'til the next release.
Finally, here's a one-line monkeypatch, goes on line 1674, moving the conditional down a line. You don't need both my and sandsmark's patch. This is just easier to copy/paste :)
        video_info['token'] = video_info.get('token') or video_info.get('account_playback_token')

I guess the fix wont work if youtube-dl was installed with the following instructions?
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl

sudo chmod a+rx /usr/local/bin/youtube-dl

If you save the codeblock below as youtube.patch you can fix your extractor/youtube.py file using:
$ cd /usr/lib/python3.7/site-packages/youtube_dl/extractor
$ patch youtube.py < youtube.patch
# youtube.patch
# This patch should fix the token errors with youtube-dl working on YouTube.
--- youtube.py	2019-04-23 22:01:13.234136696 -0400
+++ youtube-patched.py	2019-04-23 22:01:48.730947818 -0400
@@ -1671,14 +1671,8 @@
                 r'(?s)<h1[^>]+id="unavailable-message"[^>]*>(.+?)</h1>',
                 video_webpage, 'unavailable message', default=None)

-        if not video_info:
-            unavailable_message = extract_unavailable_message()
-            if not unavailable_message:
-                unavailable_message = 'Unable to extract video data'
-            raise ExtractorError(
-                'YouTube said: %s' % unavailable_message, expected=True, video_id=video_id)
-
-        if 'token' not in video_info:
+        if 'token' not in video_info and 'account_playback_token' not in video_info:
+            video_info['token'] = video_info['account_playback_token']
             if 'reason' in video_info:
                 if 'The uploader has not made this video available in your country.' in video_info['reason']:
                     regions_allowed = self._html_search_meta(

This fixed the issue for me. Hope it helps others as well.

Still doesn't work, It loop forever
[root@ns565140 youtube-dl-master]# python -m youtube_dl -J 'https://www.youtube.com/watch?v=pwCaaico9M8&list=RDpwCaaico9M8&start_radio=1' -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-J', u'https://www.youtube.com/watch?v=pwCaaico9M8&list=RDpwCaaico9M8&start_radio=1', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.5 (CPython) - Linux-4.9.167-xxxx-std-ipv6-64-x86_64-with-centos-7.6.1810-Core
[debug] exe versions: ffmpeg N-93528-gee16d14, ffprobe N-93528-gee16d14
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Default format spec: bestvideo+bestaudio/best
....

If you save the codeblock below as youtube.patch you can fix your extractor/youtube.py file using:
$ cd /usr/lib/python3.7/site-packages/youtube_dl/extractor
$ patch youtube.py < youtube.patch
# youtube.patch
# This patch should fix the token errors with youtube-dl working on YouTube.
--- youtube.py	2019-04-23 22:01:13.234136696 -0400
+++ youtube-patched.py	2019-04-23 22:01:48.730947818 -0400
@@ -1671,14 +1671,8 @@
                 r'(?s)<h1[^>]+id="unavailable-message"[^>]*>(.+?)</h1>',
                 video_webpage, 'unavailable message', default=None)

-        if not video_info:
-            unavailable_message = extract_unavailable_message()
-            if not unavailable_message:
-                unavailable_message = 'Unable to extract video data'
-            raise ExtractorError(
-                'YouTube said: %s' % unavailable_message, expected=True, video_id=video_id)
-
-        if 'token' not in video_info:
+        if 'token' not in video_info and 'account_playback_token' not in video_info:
+            video_info['token'] = video_info['account_playback_token']
             if 'reason' in video_info:
                 if 'The uploader has not made this video available in your country.' in video_info['reason']:
                     regions_allowed = self._html_search_meta(

This fixed the issue for me. Hope it helps others as well.

Bug in the patch?  Did you mean to have "if 'token' not in video_info and 'account_playback_token' in video_info:" rather than the second one being a "not" too?

Oh, the unreleased version (master) has it on line 1681. I'm submitting a PR now.

Yep, that patch is invalid.

It's still not working, I think I'll just wait for it to be fixed. Thanks though tedder.

If your code at line 1674 don't look like @sandsmark's patch above, you're running an older version of youtube-dl and need to update anyhow.
If you aren't sure where your extractor/youtube.py file is, run youtube-dl with --verbose and you'll see it listed.
If you can't figure out how to patch it or it causes errors, wait 'til the next release.
Finally, here's a one-line monkeypatch, goes on line 1674, moving the conditional down a line. You don't need both my and sandsmark's patch. This is just easier to copy/paste :)
        video_info['token'] = video_info.get('token') or video_info.get('account_playback_token')

Both are a slightly problematic fix, hopefully whoever actually fixes it will do a better job. Instead of "if not x in y", this is a little safer, as it handles an empty value but an existing key.
        if not video_info.get('token'):

Running youtube-dl --version 2019.04.17
Fedora 29

Before:
1674         if 'token' not in video_info:

After replacing this line, it became:
1674         video_info['token'] = video_info.get('token') or video_info.get('account_playback_token')

Thank you @tedder!


Option to disable mouse pointer movement when mouse button is down

First of all thanks for this nice software.
I just purchases a Tobii 5, to see if it can reduce the RSI I got after programming for over 40 years now.
So I'm using this software in combination with a mouse, to reduce the amount of motion I have to do with it.
One thing I noticed that when I'm dragging a slider (so I have the mouse button pressed), to pointer is still following my eyes.
However, most of the time this doesn't seem what you want: when dragging a slider, you typically look elsewhere on the screen.
Do you think it would be an option to disable pointer movement whenever a mouse button is pressed?

Wow I must say, this software really works well :)
I actually noticed that my suggested option should not just be for when the mouse button is down, but when the user is doing any mouse movement. User mouse movement should always override the tracking IMHO.
So for example, when I'm painting a large circle with paint with my mouse, the cursor should not jump to my eye position like it does now, because that makes it impossible to draw a circle 😉 Same when selecting text, etc...
But this software has so much potential IMO! Nice work.

@Ziriax thanks for trying it out! I had a similar issue of RSI.

when dragging a slider, you typically look elsewhere on the screen.

In this case, why do you want to look somewhere else on the screen? Don't you need to look at the position of the slider in order to aim it and release at the right location?  A specific example might help me understand.

Do you think it would be an option to disable pointer movement whenever a mouse button is pressed?

How would you drag the mouse if pointer movement was disabled?

User mouse movement should always override the tracking IMHO.

It already does. When I move my mouse with my hand, it follows where my hand goes. It only goes back to eye tracking when I stop moving my mouse with my hand.

when I'm painting a large circle with paint with my mouse, the cursor should not jump to my eye position like it does now, because that makes it impossible to draw a circle

Not sure I understand your example.  If you are using precision gaze mouse the cursor should move with your eye gaze so you can fill in the circle. If its a small circle you can use the precision pointer control within an adjustable radius. For large circles, you'll want to warp the cursor beyond the range of the precision pointer.

Closing due to no response. Please reopen if you'd like to continue discussing it.

Sorry, I forgot to reply. I'm using my own software now, based on the C# example from Tobii.  Since I don't have a license to use calibrated input (or for some reason I get imprecise data from the Tobii stream engine), I used ML.NET to train the mapping from gaze points to mouse points. Improves a lot. But gaze control still isn't pixel perfect, but close to 10 pixels, depending the area on the screen. Thanks for your software, it really inspired me.

@Ziriax Thanks for letting me know! I get imprecise data from Tobii too, and its only accurate to about 10 pixels as you mentioned. I combined it with head tracking to get down to 1 pixel accuracy, hence the name "precision gaze mouse".


HTTP client hangs while trying again after a connection error

After attempting to contact a port that nothing is listening to, trying again with the same pool hangs even if a server is listening.
Steps to reproduce in REPL with Aleph 0.4.0:

(require '[aleph.http :as http])

@(http/get "http://localhost:2287/")
ConnectTimeoutException connection timed out: localhost/<IP_ADDRESS>:2287  io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe$1.run (AbstractEpollStreamChannel.java:458)

@(http/get "http://localhost:2287/")
(hangs)

I'm not able to reproduce this.  Can you provide some more details as to your environment, and the output of lein deps :tree?

Here are "lein deps"; a short program that encounters the
issue if I build it into an uberjar and run the jar without lein; the exception it catches (in the first iteration); and a description of computers I have tried.
$ lein deps :tree
 [aleph "0.4.0"]
   [byte-streams "0.2.0"]
     [clj-tuple "0.2.1"]
     [primitive-math "0.1.4"]
   [io.aleph/dirigiste "0.1.0"]
   [io.netty/netty-all "4.1.0.Beta4"]
   [manifold "0.1.0"]
     [riddley "0.1.9"]
   [org.clojure/tools.logging "0.3.1"]
   [potemkin "0.3.13"]
 [ch.qos.logback/logback-classic "1.1.3"]
   [ch.qos.logback/logback-core "1.1.3"]
   [org.slf4j/slf4j-api "1.7.7"]
 [cider/cider-nrepl "0.8.2"]
   [cljs-tooling "0.1.3" :exclusions [[org.clojure/clojure]]]
   [compliment "0.2.0" :exclusions [[org.clojure/clojure]]]
   [org.clojure/java.classpath "0.2.0" :exclusions [[org.clojure/clojure]]]
   [org.clojure/tools.namespace "0.2.5" :exclusions [[org.clojure/clojure]]]
   [org.clojure/tools.trace "0.7.8" :exclusions [[org.clojure/clojure]]]
   [org.tcrawley/dynapath "0.2.3" :exclusions [[org.clojure/clojure]]]
 [clojure-complete "0.2.3" :scope "test" :exclusions [[org.clojure/clojure]]]
 [org.clojure/clojure "1.7.0-RC2"]
 [org.clojure/tools.nrepl "0.2.6" :scope "test" :exclusions [[org.clojure/clojure]]]

Here is a short program that encounters the issue if I build it into an
uberjar and run the jar without lein:
(ns prb.pool
  (:gen-class)
  (:import (java.util Date))
  (:require [aleph.http :as http]))

(defn -main [url]
  ""
  (dotimes [n 10]
    (try
      (println (Date.) "GET" n)
      (let [df (http/get url)
            rv @df]
        (println  (Date.) "Done:" rv))
      (catch Exception e
        (println  (Date.) "Caught" e)))
    (Thread/sleep 5000)))

The exception it catches (in the first iteration) looks like this:
 #error {
 :cause connection timed out: localhost/<IP_ADDRESS>:2287
 :via
 [{:type io.netty.channel.ConnectTimeoutException
   :message connection timed out: localhost/<IP_ADDRESS>:2287
   :at [io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe$1 run AbstractEpollStreamChannel.java 458]}]
 :trace
 [[io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe$1 run AbstractEpollStreamChannel.java 458]
  [io.netty.util.concurrent.PromiseTask$RunnableAdapter call PromiseTask.java 38]
  [io.netty.util.concurrent.ScheduledFutureTask run ScheduledFutureTask.java 120]
  [io.netty.util.concurrent.SingleThreadEventExecutor runAllTasks SingleThreadEventExecutor.java 322]
  [io.netty.channel.epoll.EpollEventLoop run EpollEventLoop.java 254]
  [io.netty.util.concurrent.SingleThreadEventExecutor$4 run SingleThreadEventExecutor.java 703]
  [io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator run DefaultThreadFactory.java 137]
  [java.lang.Thread run Thread.java 745]]}

I have tried this on Ubuntu 15.04 (8 "processors" in /proc/cpuinfo)
and Fedora 22 (4 "processors").

I suspect the difference in behavior is due to the use of the epoll client, but I don't have the time to test it today, and will be on an international flight tomorrow.  Can you try adding this to the top of your test, and tell me if the behavior changes?
(alter-var-root #'aleph.netty/epoll? (fn [_] (constantly false)))

That's it!  Turning off epoll takes some doing, because it's used in a def a little farther down in netty.clj.  By the time my program altered the root binding, it was too late.  Copying aleph into my project and changing netty.clj's definition of "epoll?" made it work well:  It reported java.net.ConnectException "Connection refused" right away instead of waiting to time out, and it successfully connected in a subsequent loop iteration after I started a process listening to the port.

Hmm, I've used an alter-var-root like that to successfully disable epoll
before, but obviously it should be explicitly configurable, and maybe off
by default. I'll update the issue once that's the case.
On Mon, Jun 22, 2015, 5:12 PM pbwolf<EMAIL_ADDRESS>wrote:

That's it! Turning off epoll takes some doing, because it's used in a def
a little farther down in netty.clj. By the time my program altered the root
binding, it was too late. Copying aleph into my project and changing
netty.clj's definition of "epoll?" made it work well: It reported
java.net.ConnectException "Connection refused" right away instead of
waiting to time out, and it successfully connected in a subsequent loop
iteration after I started a process listening to the port.
—
Reply to this email directly or view it on GitHub
https://github.com/ztellman/aleph/issues/168#issuecomment-114309844.

:epoll? is now an explicit parameter, and false by default.  Thanks for the report.


Update README.md

Export port 8080 to expose Resource Manager UI.

I'm not sure whether it makes sense to add this to the doc, because then ppl will come with NN ports and so on. Users should start with --net=host and then they don't need to specify any ports at all or use the IP address of the container directly to reach the desired UIs.


ci: fix testing jobs

Description
Separate the unit tests from the cucumber tests and publish results for both.
Fixes the path of the cucumber junit result file
Motivation and Context
The cucumber result file had moved in a previous PR where the integration tests were moved from the validator_node crate to their own crate. This move also makes it easier to call cargo nextest which provides us with unit test results in a junit format.
How Has This Been Tested?
Ran the commands for nextest and cucumber manually, but will have to see how it runs on CI to see if the GHA files are correct.
What process can a PR reviewer use to test or verify this change?
N/A
Breaking Changes

[x] None
[ ] Requires data directory to be deleted
[ ] Other - Please specify

This test multi_validator_propose_blocks_with_new_transactions_until_all_committed is flaky, I did pick that up and it should be fixed in https://github.com/tari-project/tari-dan/pull/577. Restarted the test.


sqld

Checklist

[X] I have read and accepted the contributing guidelines.

How did you create the site?
Generated from chirpy-starter
Describe the bug

Steps To Reproduce
..
Expected Behavior
.
Environment

Ruby:
Jekyll:
Chirpy:
.

Anything else?
No response


[nrf fromlist][nrfconnect] Refactor of the factory data support

Refactored Factory Data Support:

Added some useful tips to the Factory Data Guide.
The SPAKE2+ verifier is now generated by default with each build.
The Test Certification Declaration can now be generated separately and no longer requires the generation of the DAC and PAI certificates.
The Rotating Device ID Unique ID can be used and generated only if the CONFIG_CHIP_ROTATING_DEVICE_ID is set to 'y'.

DNM until the Chip plans do not pass: https://github.com/nrfconnect/sdk-nrf/pull/14128


feature: select with autocomplete

Feature Request
A material based select element with an autocomplete functionality
What is the motivation / use case for changing the behavior?
There are cases in which the number of elements in a select could be large or be lazily loaded depending on the user input. For cases like this, an autocomplete function to manipulate the displayed options would be nice.
Other information
Similar elements out there in the wild:
https://github.com/ng2-ui/auto-complete
https://valor-software.com/ng2-select/

What features beyond <mat-autocomplete> are you looking for?

I think material hasnt done this yet cause they were worried about a11y.. since the idea they had was to add a mat-select-header component that would put an input on top of the mat-option list..
Having said that ive been doing some tinkering around this to make an input/autocomplete work like a select.. i just need to abstract it a bit to turn it into a component and test it out

Here is a detailed description of the same feature that I created earlier. Linking for reference. https://github.com/Teradata/covalent/issues/140
It was closed in the hope that mat-autocomplete would address it.


[Feature Request] Ability to hide / remove companion from menu bar

This is old but that bug is fixed now !


raidboss: add trigger for P6S transmission

Your other p6s patch conflicts with this one.  Would you mind fixing the conflicts, and then I'll land this?

Your other p6s patch conflicts with this one. Would you mind fixing the conflicts, and then I'll land this?

Done!


Tidy up Readme's

At the moment there are 2 Readme's:

/README.md
/app/templates/README.md

All of the application relevant stuff should be moved to /app/templates/README.md. The global README should only contain generator stuff.

I suggest using /app/templates/README.md for the main description of the project ( maybe like the example on github: https://github.com/namics/frontend-defaults/blob/master/doc/README.md )

and to move the application usage README to /app/templates/project/docs/NITRO_README.md

/README.md (Generator README)
/app/templates/README.md (Main README for the project)
/app/templates/project/docs/NITRO_README.md (Nitro README)

I've split the information according to @ernscht's comment:

/README.md: Generator information, see here
/app/templates/README.md: adapted README template (translated from frontend-defaults), see here
/app/templates/USAGE.md: Information on how to use yo generators, gulp tasks and on how to customize a Nitro app, see here

Thoughts?


Support proxy

Add proxy support for banned countries. Thanks

I have added proxy support in v1.6: https://github.com/sin2000/zdownloader/releases/tag/1.6


[CS2103T-F11-3] FinBook

FinBook makes client data privacy more accessible to private financial advisors. Financial advisors can assure their clients that their private information is being stored securely.

Codecov Report

Merging #8 (30ffec6) into master (77a32bf) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #8   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


feat(visit): should parseVisit() exists?

Techinically, it is possible to have a wrapping interface to parse itself, such as
parseVisit<T = Record<string, any>>(source: string, parseOptions: {}, visitor?: Visitor): Promise<T>

When you have an input as source code string and do not need separate steps to parse in JS first. Unclear if it's needed though.

or in other way, should parseVisit only exists and current visit won't be needed.


Deep link scheduling dialog don't support special char on Subject

I am trying to integrate deep link schedule meeting dialog functionality (https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links#generating-a-deep-link-to-the-scheduling-dialog)  and observed below issues-

Deep link Subject don't support special char like &, # etc. we need to do encodeURIComponent for each query string parameter. Complete url encode don't works.
Deep link body don't allow formatting text as bold etc. or allow to create href links

Please review and fix this issues or let me know If I am missing any thing.
sample example for issue:
https://teams.microsoft.com/l/meeting/new?subject=Test Subject & Remaining Text&attendees=a<EMAIL_ADDRESS>body

@rjsh1910 , We have filed a Bug for this, We will let you know once it is resolved

we do support special characters like & in the subject. the url has to be url encoded, Please check the below example for the reference. This is by design
ex; https://teams.microsoft.com/l/meeting/new?subject=my%26subject works.

ok and what about second point -
Deep link body don't allow formatting text as bold etc. or allow to create href links

@rjsh1910  I am also interested in it. Created the ticket: https://github.com/MicrosoftDocs/msteams-docs/issues/2335

@rjsh1910 we only support plain text for meeting content. This is by design.

In body text content can we provide line break? If yes then how?

In body text content can we provide line break? If yes then how?

@rjsh1910 - Could you please confirm if your issue has resolved or still looking for any help?


Flux Normalization

I would like to ask exactly how the input spectrum should be normalized. In the code it says:
file: an ASCII spectrum of a quasar. It should be normalized       to avoid bad pixels. It should be in the observed frame.       (it will be deredshifted in-program)       the first three columns must be:             #wavelength flux flux_err
To avoid bad pixels, should they just be masked out? Should the continuum be subtracted?
Thank you!

Dear Nicolás, please confirm if you receive this email.  I'm replying on
behalf of myself and Jesse since I happen to have a free moment.
On Mon, 10 Jun 2024 at 08:27, Nicolás Guerra-Varas @.***>
wrote:

I would like to ask exactly how the input spectrum should be normalized.
In the code it says:
file: an ASCII spectrum of a quasar. It should be normalized to avoid bad
pixels. It should be in the observed frame. (it will be deredshifted
in-program) the first three columns must be: #wavelength flux flux_err
To avoid bad pixels, should they just be masked out? Should the continuum
be subtracted?

The continuum should not be subtracted.
Bad pixels should ideally be interpolated over (replace them with the
average value of pixels on either side of the masked region, for example).
They can be removed entirely, but that makes the wavelength steps
non-uniform, which is not ideal for future analyses.
Patrick Hall

Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/jesserogerson/BALparams/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCDFAN5KXX3XQEDVPV7HWDZGWLRVAVCNFSM6AAAAABJCGOFECVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DGNZYGMZTSMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Dear Patrick,
Thank you very much for your response. Then, the spectra should simply be normalized?
I have a second question too. It seems that the code does not save the norm_.param file needed for plotting and calculating the equivalent width. What information should this file contain? Should it be provided by the user?
Thank you very much,
Nicolás

On 10-06-2024, at 15:06, yorkphall @.***> wrote:
Dear Nicolás, please confirm if you receive this email. I'm replying on
behalf of myself and Jesse since I happen to have a free moment.
On Mon, 10 Jun 2024 at 08:27, Nicolás Guerra-Varas @.***>
wrote:

I would like to ask exactly how the input spectrum should be normalized.
In the code it says:
file: an ASCII spectrum of a quasar. It should be normalized to avoid bad
pixels. It should be in the observed frame. (it will be deredshifted
in-program) the first three columns must be: #wavelength flux flux_err
To avoid bad pixels, should they just be masked out? Should the continuum
be subtracted?

The continuum should not be subtracted.
Bad pixels should ideally be interpolated over (replace them with the
average value of pixels on either side of the masked region, for example).
They can be removed entirely, but that makes the wavelength steps
non-uniform, which is not ideal for future analyses.
Patrick Hall

Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/jesserogerson/BALparams/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCDFAN5KXX3XQEDVPV7HWDZGWLRVAVCNFSM6AAAAABJCGOFECVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DGNZYGMZTSMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub https://github.com/jesserogerson/BALparams/issues/1#issuecomment-2158300941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ3AP5RSOR4VQJQPGUL5BMTZGWQD3AVCNFSM6AAAAABJCGOFECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYGMYDAOJUGE.
You are receiving this because you authored the thread.


Is it able to encapsulate 'isExistsAsync' and 'fastPutAsync' into one Batch

Hi mate,
I am not sure if we could encapsulate 'isExistsAsync' and 'fastPutAsync' into one Batch. Say I need to put some key-value only if some key or hash exists, how could I do so by use of Batch ?
Thanks.

there is no such method in API. But I think it could be added. Like "putIfExists"

Thanks mate 💯

Done

Done


Modify layouts to support right-to-left mode

I have edited all the app layouts (including java code) to support right-to-left mode. RTL is currently disabled in the manifest, as we don't currently support any RTL language, but it can be enabled for testing purposes.
Implementation details:

All left/right attributes now have a matching start/end attribute with the same value, unless there are both right and left attributes of the same kind with the same value, in which case this is not needed.
I have added tools:targetApi="17" in each view or tag where I added the RTL attributes to suppress the warnings that it is not supported in the lower APIs. This was not necessary in the code changes, since I only used the gravity constants, which should probably be safe from the warning.
I didn't change anything in the included third-party libraries, such as ExoPlayerLib, etc.

JIRA Issue: https://openedx.atlassian.net/browse/MA-721

please ask Mirza for testing before merge the code
we need to test

for the normal LTR layout,  normal language setting,  app's UI does not change
for right to left language,  app's UI meet the basic requirement.

so we need to provide Mirza two builds, one with RTL enabled, one with RTL disabled. thanks


⚠ ClamAV has degraded performance

In 38a7d44, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 139 ms

Resolved: ClamAV performance has improved in 58c2fa5.


Selenium fix

@spackle0 TIL that >= means "at least" hence this tool actually breaks when installing it which I did today for codeimag.es, ending up with Selenium 4 (instead of 3) which caused this issue: https://stackoverflow.com/a/72773269
This PR is to fix this. Thanks.

Merging this in now as I need it for my work on codeimag.es


Can't get @types type definitions to work correctly

Hi 👋
I'm trying to get typescript definitions working for external libraries, together with peek definition and what not.
So I was playing around with it in the monaco playground, but can't get it to work correctly.
So I pulled down query-string-params from unpkg and try to load them in into Monaco. First of all, when I press the 💡 or Cmd+., it shows the following import path.

Off course I want it to just be query-string-params and that it automatically picks up the typescript definitions in @types/query-string-params. But I can't get it to work. If I manually import from 'query-string-params, it does not complain, but it can't find the typescript definitions either. Do I have to manually add @types/query-string-params/index.d.tsasquery-string-params/index.d.ts` instead?
Also, do note the %40 in the path. That is because monaco.Uri.toString() encodes that. If I replace the import to use @, it does not work either.

So there are a couple of problems I'm experiencing in this demo

Path in node_modules is relative
@ is being replaced with %40, although, it shouldn't import from that location in the first place
Importing the actual library does not work

Thanks in advance 🙏 !
monaco-editor version: 0.25.2
Browser: Chrome
OS: macOS
Playground code that reproduces the issue:
monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
    moduleResolution: monaco.languages.typescript.ModuleResolutionKind.NodeJs,
    module: monaco.languages.typescript.ModuleKind.CommonJS
});

Promise.all([
    fetch('https://unpkg.com/query-string-params@1.7.6/package.json').then((res) => res.text()),
    fetch('https://unpkg.com/query-string-params@1.7.6/dist/index.js').then((res) => res.text()),
    fetch('https://unpkg.com/@types/query-string-params@1.7.0/package.json').then((res) => res.text()),
    fetch('https://unpkg.com/@types/query-string-params@1.7.0/index.d.ts').then((res) => res.text()),
]).then(([pkgJson, source, pkgJsonTypings, typings]) => {
    monaco.languages.typescript.typescriptDefaults.addExtraLib(pkgJson, 'ts:/node_modules/query-string-params/package.json');
    monaco.languages.typescript.typescriptDefaults.addExtraLib(source, 'ts:/node_modules/query-string-params/dist/index.js');
    monaco.languages.typescript.typescriptDefaults.addExtraLib(pkgJsonTypings, 'ts:/node_modules/@types/query-string-params/package.json');

    monaco.editor.createModel(typings, 'typescript', monaco.Uri.parse('ts:/node_modules/@types/query-string-params/index.d.ts'));
});

var code = [
	'propertyToUrl()',
].join('\n');

monaco.editor.create(document.getElementById('container'), {
	model: monaco.editor.createModel(code, 'typescript', monaco.Uri.parse('ts:/foo.ts'))
});

I think some parts are related to #2295.

Still alive?


Follow up #7254 (Switch to Go 1.19)

pkg/cri/streaming: increase ReadHeaderTimeout

It is follow-up of https://github.com/containerd/containerd/pull/7254. This commit will increase ReadHeaderTimeout
from 3s to 30m, which prevent from unexpected timeout when the node is
running with high-load. 30 Minutes is longer enough to get close to
before what https://github.com/containerd/containerd/pull/7254 changes.
And ideally, we should allow user to configure the streaming server if
the users want this feature.

contrib/fuzz/daemon.go: reformat the fileheader

Align with https://github.com/containerd/project/blob/main/script/validate/template/go.txt.
cc @mxpv and @mikebrow

Was hoping it wasn't something in my change, but looks like gopkg is out to lunch indeed
go<EMAIL_ADDRESS>unrecognized import path "gopkg.in/yaml.v2": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Was hoping it wasn't something in my change, but looks like gopkg is out to lunch indeed
go<EMAIL_ADDRESS>unrecognized import path "gopkg.in/yaml.v2": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

https://github.com/containerd/containerd/pull/7287#issuecomment-1214288476

@fuweid Can rebase now that the CI should be back in order

@fuweid Can rebase now that the CI should be back in order

For sure. Updated

=== Failed
    default: === FAIL: . TestShimOOMScore (0.07s)
    default:     container_linux_test.go:1441: failed to start shim: start failed: io.containerd.runc.v2: failed to join cgroup /containerd/oomshim: write /sys/fs/cgroup/cpu/containerd/oomshim/cgroup.procs: invalid argument: exit status 1: unknown

Hmm.


Validation rule for Vue2-editor 🔍

I am trying to implement a validation rule but it is being ignored

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.


fix: should end http2stream

Codecov Report

Merging #12 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   98.36%   98.41%   +0.05%
==========================================
  Files          38       38
  Lines        1769     1771       +2
==========================================
+ Hits         1740     1743       +3
+ Misses         29       28       -1

Impacted Files
Coverage Δ

lib/server/grpc/server.js
96.87% <100%> (+1.63%)
:arrow_up:

lib/client/connection/grpc/call_stream.js
92.68% <100%> (+0.04%)
: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 4d5d76a...755704c. Read the comment docs.

1.2.1


Noisy density bitfield d-nerf

Thanks for this great repo.
I have noticed that in some animations we can see noise as "cubes",  when changing the time variable. I have narrowed it down to the selection of the entry in the density bitfield array that corresponds to the current time, which then renders a slightly different (but not view consistent) density grid causing some slight change in the rendering. My first question is why not make the density grid dependent on time (as an input) so that it evolves more smoothly through time? And if I have missed something, what could I do to get less (density grid) noise when changing the time variable?
Precision: The noise I see is often on edges or complex appearances and produces a blocky appearance, like if the density grid at a specific location was lower, changing the time, I see these "blocks" appear randomly around  (in a subtle  but noticeable fashion).

@nerfology Hi, the current density grid for d-nerf is simply a [T, H^3] boolean array, dividing the time into T intervals. For any time t, we choose the grid [H^3] in the corresponding time interval, so some noises may be observed if the time crosses two intervals.
Increasing T will possibly make the transition more smooth, but it also takes more storage, and maybe slower convergence.
Do you have any idea on how to condition the time in a more smooth way?

you can find the T here:
https://github.com/ashawkey/torch-ngp/blob/6d5016f34ca9465180dcde68368a62c3294c065f/dnerf/renderer.py#L74

Thanks for the explanation. Indeed, increasing T takes more storage and I run out of memory.

Do you have any idea on how to condition the time in a more smooth way?
Currently, I don't really have an idea. I have thought of averaging the grids across T to "smooth out" the animation but I still have to figure out how the density grid is updated.

Thanks for the explanation. Indeed, increasing T takes more storage and I run out of memory.

Do you have any idea on how to condition the time in a more smooth way?

Currently, I don't really have an idea. I have thought of averaging the grids across T to "smooth out" the animation but I still have to figure out how the density grid is updated.


Reduce duplicate status ingestions.

In the status-builder, ignore qualifiers, impl PartialEq where necessary. In the vuln fetching, add a distinct.

@jcrossley3 can I get a re-re when you have a moment, please?


Internationalisation Enhancement(some possible language translation expansions)

When I went through libraries and helper functions,  I found some show_error() messages are not translated yet. I am trying to make a list of possible enhancements here, so that developers can pull requests once it is confirmed that they need to support the language feature.

path_helper.php

line 66: show_error('The path you submitted must be a local server path, not a URL');
line 76: show_error('Not a valid path: '.$path);

Encrypt.php

line 127: show_error('In order to use the encryption class requires that you set an encryption key in your config file.');

Pagination.php

line 422: show_error('Your number of links must be a non-negative number.');

Xmlrpc.php

line 42: show_error('Your PHP installation does not support XML');

Xmlrpc.php

line 42: show_error('Your PHP installation does not support XML');
line 47: show_error('You must load the Xmlrpc class before loading the Xmlrpcs class in order to create a server.');

This list might be incomplete and some of them may not need to be translated, or all of them...Your comments are really appreciated.

Not only did I give you an answer to this already, 4 days ago, but it's also the second time I reject an idea of yours and you follow that up with a second issue opened.
If you're trying to annoy me, you're doing a fine job.

Same as: https://github.com/bcit-ci/CodeIgniter/pull/4124

Sorry @narfbg, I did not mean to annoy you. I did not get that all show_error() messages are fatal and should not be translated at the first time. Because I do see some show_error() messages being translated, I misunderstood your reply that because they are in the construction function thus fatal, they should not be translated.
Sorry for the troubles that I am making. Please forgive my ignorance...


Clarify diagram reference

What does this PR do?
(Please set a descriptive PR title. Use this space for additional explanations.)
Towards https://github.com/giantswarm/docs/issues/1981
What does it look like?
(If this is more than a textual change, a screenshot can help in some cases to speed up the review process.)
Any background context you can provide?
(Please link public issues or summarize if not public.)
What is needed from the reviewers?
Have you maintained the front matter?
(Please bump the last_review_date in case this qualifies as a review for an entire page. Provide user_questions which should be answered in the page. Provide a meaningful description.)

With this PR I'd say we stop any effort on Azure Vintage since that's finally gone 😄


Force update seeds by toggles

Related to #602. Allowed to force update seeds on every deployment by providing additional toggles
KONGA_SEED_USER_DATA_FORCE_UPDATE
KONGA_SEED_KONG_NODE_FORCE_UPDATE

Seed changes will be merged with current settings

Looking forward for this!


Downgrade python-future required version to 0.15

It works fine and this way python-future from Ubuntu Bionic can be used.

Hi @rojer. Thanks for the PR. I was thinking about the downgrade but in my opinion it is not a good way to go. Probably we don't need to have anything special from 0.16 but it is hard to tell that whether "it would work fine" or not because there are Python scripts inside ESP-IDF which are not run by users/developers directly. 0.15 is three years old and 0.16 is two. I assume that the opposite (upgrade) will be necessary in the near future because of new versions of Python (3.7, 3.8) and deprecated older versions, like 2.6 (just see the recent changelog of the python-future repository). I emphasize that this is my own personal opinion.
If package provided by your OS is not sufficient then you still can do pip install --user -r $IDF_PATH/requirements.txt. You can even setup a virtual python environment and use that with ESP-IDF.

i know about PIP but it's always preferable to use distro's package manager if possible.
all other dependencies can be satisfied with package from the main repository, and this seemed like a small enough change, so i made it and seems to work ok in my day to day use.
i don't claim it to be comprehensive testing though. a point can also be made that 0.15.2 is good enough for such pyhton-heavy distro like ubuntu (they use python a lot for their stuff), so it should be ok.
do you have specific requirements that 0.16 satisfies and 0.15 does not?

Allright @rojer. After taking another look at the changelog and diff I agree with the downgrade. But please make it >=0.15.2. That version will be satisfied even by the Ubuntu 16.04 LTS package. Thanks!


There is probably an error in your mask definition or in the code.

(9{0, 10})|(9{0,10},9{0,2})
Uncaught TypeError: Cannot read property 'nodeName' of null
at Inputmask.mask (inputmask.js:198)
at Object.initialize (global.setup.js:21)
at global.setup.js:28
at global.setup.js:29

Uncaught Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. (9{0, 10})|(9{0,10},9{0,2})

Uncaught Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. 9{0, 10}

@Maslovsky-Alexey ,
Can you remove the space 9{0, 10} => 9{0,10}

@RobinHerbots
Thank you!


incovenient function type in hashmap_set_key_alloc_funcs

Because of the type of the free function this takes the most common use case of just passing 'free' produces a warning
Incompatible function pointer types initializing 'typeof (((&skined_anim_mngr.map))->map_types->t_key_free_func)' (aka 'void (*)(char *)') with an expression of type 'void (void *)'

Therefore wouldn't it make sense to change the type to void free(char *) ?

Hi @pseregiet we could certainly accomplish what you are asking, but it would be at the cost of type safety. All the macros in hashmap.h perform a cast or assignment in order to allow the compiler to type check. While it is likely that free() will be used, we cannot presume that it will always be used. Thus, we have the choice of forcing the key free function to be void (*)(void *) (potentially breaking code that uses void (*)(key_type *), or we accept any function pointer and cast it, which may cause crashes if an incompatible pointer is passed in. Neither sound particularly appealing.
My recommendation, would be to define a trivial function to wrap free() for your key type. E.g.
void free_key(char *key)
{
    free(key);
}


MockWebServer exception with android studio 4.2: java.lang.NoSuchFieldError: okHttpName

Running a unit test with MockWebServer on Android Studio 4.2 will throw an exception:
java.lang.NoSuchFieldError: okHttpName

	at okhttp3.internal.concurrent.TaskRunner.<clinit>(TaskRunner.kt:309)
	at okhttp3.mockwebserver.MockWebServer.<init>(MockWebServer.kt:103)

Example:
class MockTest {
    private val server = MockWebServer()

    @Test
    fun `not important`() {
    }
}

android.testOptions {
        animationsDisabled = true

        unitTests {
            all {
                // Skip bytecode verification when running tests.
                // This line is added because the addition of the foursquare's Pilgrim SDK
                // was breaking unit tests (java.lang.VerifyError) -
                // possibly because that dependency was compiled with a different version of Java.
                jvmArgs '-ea', '-noverify'
                jacoco {
                    includeNoLocationClasses = true
                }
            }
            includeAndroidResources true
            returnDefaultValues = true
        }
        execution 'ANDROIDX_TEST_ORCHESTRATOR'
    }

Using AGP 4.0.0
The same tests run ok using Gradle CLI

Configure the same version of OkHttp and MockWebServer. This error happens if the versions are inconsistent.

@swankjesse like I said, the same tests run ok with the Gradle CLI. And yes, they are the same version.

You may need to configure Android Studio to use the same versions of OkHttp and MockWebServer. If it's using different versions, you'll see that in the command line that is logged when it runs your tests.
You might work around by using Gradle for both compilation and test execution; this is an option in the IntelliJ settings and is likely in Android Studio also.
No action for us to take here. If you want to report a bug, you should report it to JetBrains or Android Studio.

@swankjesse do you know what is the exact name of the option in IntelliJ Idea? I can't find it in Android Studio


There I get:
xfreerdp /u:mytestuser /f +clipboard  /v:<IP_ADDRESS>
[21:06:59:859] [20081:20082] [INFO][com.freerdp.client.common.cmdline] - loading channel cliprdr
Password:
Segmentation fault
The same version works on a 64-bit system.
In the build log of the 32-bit system I find some warnings about incompatible pointer types; like :
Scanning dependencies of target cliprdr-server
[ 86%] Building C object channels/cliprdr/server/CMakeFiles/cliprdr-server.dir/cliprdr_main.c.o
/home/hendrik/Downloads/FreeRDP/channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_packet_send’:
/home/hendrik/Downloads/FreeRDP/channels/cliprdr/server/cliprdr_main.c:109:102: warning: passing argument 4 of ‘WTSVirtualChannelWrite’ from incompatible pointer type [-Wincompatible-pointer-types]
status = WTSVirtualChannelWrite(cliprdr->ChannelHandle, (PCHAR) Stream_Buffer(s), Stream_Length(s), &written);
^
In file included from /home/hendrik/Downloads/FreeRDP/include/freerdp/types.h:25:0,
from /home/hendrik/Downloads/FreeRDP/include/freerdp/server/cliprdr.h:26,
from /home/hendrik/Downloads/FreeRDP/channels/cliprdr/server/cliprdr_main.h:28,
from /home/hendrik/Downloads/FreeRDP/channels/cliprdr/server/cliprdr_main.c:31:
/home/hendrik/Downloads/FreeRDP/winpr/include/winpr/wtsapi.h:1027:23: note: expected ‘PULONG {aka long unsigned int *}’ but argument is of type ‘UINT32 * {aka unsigned int *}’
WINPR_API BOOL WINAPI WTSVirtualChannelWrite(HANDLE hChannelHandle, PCHAR Buffer, ULONG Length, PULONG pBytesWritten);
^
It seems like a platform-dependend data type definition:
(wtypes.h)
typedef unsigned long DWORD;
...
typedef unsigned int UINT32;

some more information:
I am building on Linux (openSUSE Tumbleweed 32 bit) with obs (Open Build Service).

Sorry for the noise. I managed to mix different library versions.
Fixed by a clean reinstallation.


Handle 2.2.0 deprecations/disableds

Make all odeprecated from 2.1.0 odisabled instead
Remove dead code that won't be run now
Remove (unused) or_later handling for bottles

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Do not merge until next release will definitely be 2.2.0.


[Test] Create, Modify Messages

First beta is released. https://repo1.maven.org/maven2/com/azure/azure-ai-openai-assistants/


hwdata: 0.309 -> 0.310

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 0.310 with grep in /nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310
found 0.310 in filename of file in /nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310

Success on aarch64-linux (full log)
Attempted: hwdata
Partial log (click to expand)
done
mkdir -p -m 755 /nix/store/1a6lg43mx8xl4sljbnrxlm0l920g62kr-hwdata-0.310/lib/modprobe.d
install -m 644 -T blacklist.conf /nix/store/1a6lg43mx8xl4sljbnrxlm0l920g62kr-hwdata-0.310/lib/modprobe.d/dist-blacklist.conf
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1a6lg43mx8xl4sljbnrxlm0l920g62kr-hwdata-0.310
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/1a6lg43mx8xl4sljbnrxlm0l920g62kr-hwdata-0.310/lib
patching script interpreter paths in /nix/store/1a6lg43mx8xl4sljbnrxlm0l920g62kr-hwdata-0.310
checking for references to /build in /nix/store/1a6lg43mx8xl4sljbnrxlm0l920g62kr-hwdata-0.310...
/nix/store/1a6lg43mx8xl4sljbnrxlm0l920g62kr-hwdata-0.310

Success on x86_64-linux (full log)
Attempted: hwdata
Partial log (click to expand)
done
mkdir -p -m 755 /nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310/lib/modprobe.d
install -m 644 -T blacklist.conf /nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310/lib/modprobe.d/dist-blacklist.conf
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310/lib
patching script interpreter paths in /nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310
checking for references to /build in /nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310...
/nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: hwdata
No log is available.


No such file or directory: 'ML-iFSOD-main/src/lib/../../data/coco/one_shot_samples.json'

Fine Tuning Stage
No such file or directory: 'ML-iFSOD-main/src/lib/../../data/coco/one_shot_samples.json'

Hello, may I ask if the author's code can be run on 10G video memory card?
Thank you very much for your reply！


Make ViewPager background transparent to allow custom background colo…

…r in implementation. Will have no effect on implementations wherein the views fill the parent width, as in the samples.

Hello


Trivial: Replace tabs with spaces.

Reviewers:
@HowardHinnant

I keep forgetting that we have two code roots that we need to maintain.
Done.  Here's the code:  https://github.com/rec/cprep

:+1:


spring.application.name passed via bootstrap is not used while registering services in zookeeper

Caused by: https://github.com/spring-cloud/spring-cloud-commons/issues/441 . Closing.


Better versioning

moves versioning to its own script and file
see scripts/generateVersion.sh and src/version.h.in
@fufexan for nix/meson
Makes the version propagate to the headers installed with pluginenv

looks good

Looks good as long as GIT_COMMIT_HASH is also stored in a constant so it can be compared. I haven't checked recently but I think this was the case.

Looks good as long as GIT_COMMIT_HASH is also stored in a constant so it can be compared. I haven't checked recently but I think this was the case.

it isn't, we'll have to add that to the API.


Add initial teams tab

For now, just have "create team" and "join team" buttons (that do nothing),
the blurb on the bottom, and a "Read the doc" link.

r? @keybase/react-hackers

:no_entry: Error rendering the commits 65acdd0dbdd8...22531bb5d467 on linux. :mag_right: 4 errored

Error in 65acdd0dbdd8: Chat_Info_Panel-Normal-ERROR

Error in 22531bb5d467: Chat_Info_Panel-Normal-ERROR

Error in 65acdd0dbdd8: Chat_Info_Panel-Muted-ERROR

Error in 22531bb5d467: Chat_Info_Panel-Muted-ERROR

:no_entry: Error rendering the commits 5cab7e43c582...d2dc6a135bcf on linux. :mag_right: 4 errored, 2 changed

Error in 5cab7e43c582: Chat_Info_Panel-Normal-ERROR

Error in d2dc6a135bcf: Chat_Info_Panel-Normal-ERROR

Error in 5cab7e43c582: Chat_Info_Panel-Muted-ERROR

Error in d2dc6a135bcf: Chat_Info_Panel-Muted-ERROR

Changed: Chat_Inbox-You_Rekey (before) (after)

Changed: Chat_Inbox-Part_Rekey_Selected (before) (after)

All comments addressed, PTAL.

All comments addressed, PTAL!

Merging after CI.

👍


Issue with findEntitiesByProperty with exact match

I am having an issue retrieving an existing entity using exactMatchPattern. I have an Endpoint entity with network address similar to "xyz.OMTD.COM". I am trying to retrieve it using findEntitiesByProperties with matchProperties containing getExactMatch("xyz.OMTD.COM"). No entity is returned with this call.

Hi,
@grahamwallis @cmgrote I am not sure who to assign this to.

Which repository are you using?

OK - that's going to be one for Chris to look at but I am happy to help if needed

The entity I am looking is in atlas. I am still using the old atlas code  with latest egera code(not the latest connector), is this causing the issue?

I am still using the old atlas code with latest egera code(not the latest connector), is this causing the issue?

Most likely that's the problem, as the connector itself needed to be updated to use the new helper methods internally (since Atlas doesn't understand Java regular expressions)...  How old are we talking?

When you say the "old atlas code" I hope that's not the old, old native connector - that hasn't been maintained since about February. That code really should not be used.

I will close this issue, on my laptop I still have the old native code.


install latest Git on Travis-CI Linux to run all tests

With the latest Git installed (2.7 right now) the following test are executed
in addition on Linux:
test/test-credentials-no-prompt.sh (git version < 2.3.0)
test/test-prune-worktree.sh (git version < 2.5.0)
test/test-push-bad-dns.sh (git version < 2.3.0)
test/test-worktree.sh (git version < 2.5.0)

Awesome, thanks!


Signalling the last segment number in Period

Add support to the feature described in DASH IOP <IP_ADDRESS>. Signalling the last segment number in Period https://dashif.org/docs/DASH-IF-IOP-v4.3.pdf
As indicated in clause <IP_ADDRESS>, the content provider may not offer the last segment that is signaled in the MPD. If this is the case, the content provider should signal that the last segment is not the one indicated in the MPD.
At least the following three options may be considered:
 - Use the lmsg signalling as defined in clause <IP_ADDRESS>.
 - Use the Segment Timeline with @r value greater or equal to 0.
Add a Supplemental Descriptor with @schemeIdUri set to http://dashif.org/guidelines/last-segment-number with the @value set to the last segment number.

This feature request is add support to <SupplementalProperty schemeIdUri="http://dashif.org/guidelines/last-segment-number" value="368" />
Sample stream: http://dash.akamaized.net/dash264/TestCasesIOP41/LastSegmentNumber/1/manifest_last_segment_num.mpd

Sounds reasonable.  Thanks!

This intersects with my work on #1339, which changes the way we generate segment references for DASH.  It will be relatively easy to integrate after that.


feat: add to_additive linter checking whether additive decl exists

Force the user to specify whether the additive declaration already exists.
Will raise a linter error if the user specified it wrongly

[ ] depends on: #1819
[ ] depends on: #1780

This PR/issue depends on:

leanprover-community/mathlib4#1819
leanprover-community/mathlib4#1780
By Dependent Issues (🤖). Happy coding!

Ideally I would like to get a bors d+ before I fix all linter errors generated by this. That allows me to go through the library only once, instead of multiple times.

This PR/issue depends on:

leanprover-community/mathlib4#1819
leanprover-community/mathlib4#1780
By Dependent Issues (🤖). Happy coding!

Looks like a helpful feature
bors d+

bors merge


Markup: re-export libcmark_static

Unfortunately, Swift exports the library targets for LLDB.  This
requires the transitive dependencies be exported.  libcmark_swift was
not in the export set.  This breaks the unified build.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @xiaobai @JDevlieghere

@swift-ci please test Windows platform

How does this break the unified build, exactly? Are you not building lldb in that unified setup?

https://dev.azure.com/compnerd/swift-build/_build/results?buildId=23467&view=logs&j=0e514031-a9b0-5d19-4075-e5711178f10f&t=6491fbec-4801-5529-2943-0955e3c2f90f

I am building LLDB, but, thats not the issue, the issue is that swiftMarkup is being exported, but that is a static library, and that library has a dependency on libcmark_static which is not being exported.

Please test with following PRs:
apple/swift-cmark#15

Please test with following PRs:
apple/swift-cmark#15
@swift-ci please test

Please test with following PRs:
apple/swift-cmark#15
@swift-ci please test


Unknown Exception was hit, Error: Query failed to run

Describe the bug
Running this action on our workflow we get an error we can't understand.
To Reproduce
Steps to reproduce the behavior:

Add action "build-and-test.yaml" to workflow
With the following code:
"
advancesecurityComplience:
runs-on: ubuntu-latest
name: Advanced Security Complience
steps:

name: Advance Security Compliance Action
uses<EMAIL_ADDRESS>"

See error

Dependabot Results
Error: {"data": {"repository": {"vulnerabilityAlerts": null}}, "errors": [{"type": "FORBIDDEN", "path": ["repository", "vulnerabilityAlerts"], "extensions": {"saml_failure": false}, "locations": [{"line": 3, "column": 9}], "message": "Resource not accessible by integration"}]}
Error: Unknown Exception was hit, please repo this to https://github.com/GeekMasher/advanced-security-Compliance
Error: Query failed to run
Expected behavior
Dependabot to block the PR if finds a critical or high risk vulnerability.

@hmarnd It looks like the credentials being used don't have permission to access the alerts for your repository.
Try and adding the following where COMPLIANCE_SECRET is an access token that can access this resource:
# Compliance
- name: Advance Security Compliance Action
  uses<EMAIL_ADDRESS>  with:
    token: ${{ secrets.COMPLIANCE_SECRET }}

You might want to look at peter-murray/workflow-application-token-action to use a GitHub App versus using a GH PAT.

so it is also not possible to configure the appropriate elevated permissions on the default GITHUB_TOKEN?
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token

@lsmith77 You are correct, no built in Actions token gives you the permissions you will need to access the GraphQL endpoint. As stated above, I recommend using a GitHub App to do this.

@lsmith77 I am now closing this issue, if you want to continue this discussion please open a new issue in https://github.com/advanced-security/policy-as-code/issues


Feature/free functions

Closes #7

Additional testing has revealed Self to be broken. I know how to fix and will do so in few days -- I need a break.

I've fixed the Self issue for types that are only Self. IE &Self and Option<Self> don't yet work. Coming soon.

Self is working 100% now and all associated functions pass tests!


Events class should read icetray-produced HDF5 files directly

We should eliminate the need for an intermediate HDF5 format. I like the PISA HDF5 file format for its conciseness, but it requires an extra processing step and hence another script, and it'd be better for the user to be able to just convert I3 -> HDF5 in icetray and be done with file formats.

I don't think this makes any sense, we want some pre-processing/combining of icectray i3/hdf5 files before feeding them into an analysis, it is an extra step, but I don't see the point of getting rid of it, causing more problems than solving any..


Use local client browser storage instead of centrally storing the chats

This might be related to #4053 but I think the intent differs (the solution could be the same though).
Is your feature request related to a problem? Please describe.
We are hosting a shared Ollama instance and I would love to use open-webui instead of another UI we are currently using.
However I would love to not force the users to register an account upfront. If I disable the Auth feature, everyone is sharing the same user and with that share the same chat history.
Describe the solution you'd like
I would love have no chats stored centrally and instead having open-webui using the local browser storage of every client exclusively. That means that only the browser keeps the chat history and noone else has access to it. Even the same user on another machine or even on another browser on the same machine.
Chatbot-Ollama does this which makes it super easy to set up and even easier for the users to make use of it.
However, everything else about open-webui is better than Chatbot-Ollama.
One thing to note here: This might cause that there's no distinction between admins and users anymore. Personally, I would love to define every setting in a docker-compose.yml but we might need the admin area to be password protected or so for those who would prefer the admin UI.

Moved to discussions #4082


Pdf gets rendered with stripes

Link to PDF file: https://github.com/peirick/BugsInPdfJs/raw/master/BugWithStripes.pdf
Configuration:

Web browser and its version: Firefox 60.0.2
Operating system and its version: Windows 10
PDF.js version: PDF.js: 2.0.402

Steps to reproduce the problem:

Open the pdf document

What is the expected behavior? (add screenshot)
In Chrome no stripes are shown:

What went wrong? (add screenshot)
In Firefox stripes are shown:

This is a duplicate of e.g. issue #3351.