Wasmer is not available on this system

I am unable to run rift init on both macOS (latest with Python 3.10.6) and Windows (Python 3.10+).
I am getting:
ImportError: Wasmer is not available on this system

After doing some research, it seems like the Wasmer package is not compatible with Python 3.10+ nor Windows (source).

Me too!

Thanks for reporting the bug! Could you kindly let us know if your macOS is an Apple M1 or M2? It would be great if you could also provide the specific architecture of your CPU and the version of your operating system so that we can try to reproduce the issue. I'll look into the possibility of adding a pure Python WASM interpreter as a fallback option as part of my investigation.

@merc1er Let's get back to this issue. Can you share specific details about CPU architecture of your macOS and Windows device? The issue about wasmer you mentioned is resolved and they're supporting windows completely. I think you're using an ARM device, Am I right?

@merc1er Let's get back to this issue. Can you share specific details about CPU architecture of your macOS and Windows device? The issue about wasmer you mentioned is resolved and they're supporting windows completely. I think you're using an ARM device, Am I right?

Sorry I missed the previous comment.
Yes I am using an M1 chip. Latest macOS version. I am not using windows.


Error on fresh install - when 'Run Spec' on example

Fresh Project:
Mac - JS template - VSCode
Installed via brew
NPM version 13.13.0
Run Run Spec in VSCode on the example.spec
output:
/Users/XXX/.gauge/plugins/js/2.3.10/src/file-util.js:42
function getFileName(dir, counter = 0) {
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:414:25)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/Users/XXX/.gauge/plugins/js/2.3.10/src/step-registry.js:1:78)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)

Also getting an error in VSCode:
Current gauge language runner is not compatible with gauge LSP. Some of the editing feature will not work as expected

This works on
ProductName:    Mac OS X
ProductVersion: 10.15.4
BuildVersion:   19E287
node -v
v13.13.0

Gauge version: 1.0.8

Plugins
-------
js (2.3.10)

VS Code Version: 1.43.2
VS Code Gauge plugin 0.0.13

Please fill up all the sections mentioned in the issue template for any further help.
Closing this now as we are not able to replicate the issue with the specified information. Will re-open it once all the information is available.


PT INFO: Create controller test for cases#edit and cases#update

Create controller tests for the edit and update routes, using @ajohnson052 's Calls controller tests as a guide.

@colinxfleming I'll do this


How to build 2-level clusterization, based on attributes

How can we archive a functionality like so:

on the lower level of zoom (like zoom 12 or closer) we have no clusterization at all
on the middle zoom (probably like 8 to 12) we have a clusterization by a single attribute (let say "region" clusterization)
on the higher zoom (less then 8) we have a clusterization by another parent attribute (like "country")
No level of clusterization depends on distance between the markers and they are switched by zoom changing

Is this possible? I tried manually create a region markers partition by "region" markerClusterGroup()-s and then copy their's generated clusters to "country" MarkerClusterGroup into it's __gridClusters[zoom from 8 to 12], but seems not go, no luck (
I'm asking for help.. please

Duplicate of #1010, #476. Filter your data and create a MarkerClusterGroup instance per category. Leverage maxZoom/minZoom.

No! You don't read my message carefully! I know how to group them by category on the first level! I can't re-group them (make a union of union) on the higher level! That's the difference. So I need first level clusterization based on a pair of attributes (region + country) and 2nd level clusterization (on a higher zoom) based on a single attribute value (country only)

Duplicate of #1010, #476. Filter your data and create a MarkerClusterGroup instance per category. Leverage maxZoom/minZoom.

No! You don't read my message carefully! I know how to group them by category on the first level! I can't re-group them (make a union of union) on the higher level! That's the difference. So I need first level clusterization based on a pair of attributes (region + country) and 2nd level clusterization (on a higher zoom) based on a single attribute value (country only)
Please reopen the issue, it's not a duplicate

I can't re-group them on the higher level!

Yes you can group them on a higher level.

Nop, there is no way to do that.
Here is what I done:
const markers1 = [marker([55.179, 61.373]), marker([55.173, 61.371]), marker([55.172, 61.379]), marker([55.178, 61.372]), marker([55.171, 61.372]), marker([55.182, 61.373]), marker([55.171, 61.376])];     const markers2 = [marker([55.181, 61.371]), marker([55.183, 61.375]), marker([55.182, 61.377]), marker([55.181, 61.371]), marker([55.174, 61.376]), marker([55.179, 61.378]), marker([55.175, 61.378])];     const group1 = markerClusterGroup();     const group2 = markerClusterGroup();     group1.addLayers(markers1);     group2.addLayers(markers2);     group1.addTo(this.map);     group2.addTo(this.map);
and what I see is:
close view: https://prnt.sc/vf7jq7 yes they are grouped as we want to, by groups
far view: https://prnt.sc/vf7kd2 far away they will not be grouped on any zoom-out level
another one test, same markers, but:
const group1 = markerClusterGroup();     const group2 = markerClusterGroup();     group1.addLayers(markers1);     group2.addLayers(markers2);     const group3 = markerClusterGroup();     group3.addLayers([group1, group2]);     group3.addTo(this.map);
This time we have a correct joining on zoom-out https://prnt.sc/vf7lod
But we lose groups on close view https://prnt.sc/vf7ma6
We can't combine both approaches together at the same time. Either we have a partition, or we have a normal clusterization
The only solution I actually found is to override _generateInitialClusters function of MarkerClusterGroup to fill _gridClusters and _gridUnclustered with my custom (also overriden) DistanceGrid-s that can pay respect not only to distances between the points, but also to my attributes on particular zoom level. This works, but this is not a good-looking solution

We can't combine both approaches together at the same time. Either we have partitionA, or we have partitionB, we can't switch them somewhere in the middle of scaling

Yes you can. map.on('zoomend', function(){ if (map.getZoom() > 10) { group3.remove(); group1.addTo(map); group2.addTo(map) }  else { group3.addTo(map); group1.remove(); group2.remove() } });

We can't combine both approaches together at the same time. Either we have partitionA, or we have partitionB, we can't switch them somewhere in the middle of scaling

Yes you can. map.on('zoomend', function(){ if (map.getZoom() > 10) { group3.remove(); group1.addTo(map); group2.addTo(map) } else { group3.addTo(map); group1.remove(); group2.remove() } });

Yes, this is possible sollution (this was a first solution I tried), but it has one disadvantage: as far as I understand it breaks the smooth animation on zoom from level 10 and back. That is because of layers have completely different child-parent dependents and animation tree, so we have smooth transition on any scale except 10.
It probably may be fixed with a very small, but appreciated feature, a kind of filtering function, passed to the MarkerClusterGroup among the options, which fitlers considered markers depending on zoom level (it can be used in _generateInitialClusters to skip the points we would like not to participate in clustering). I think that is a small, but very desirable feature sometimes.


CSP files as html

I found only one reason to use CSP, and it is #($GET(^Settings("WF", "WebAppName")))# in index.csp.
I think it is better to change this behaviour to something else, e.g. config.json and some default value.
And then it will be possible to change CSP files to plain HTML

Please introduce a PR?


Test Python=3.13rc2 support on CI

Reference Issues or PRs

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

Documentation

Access-centered content checklist
Text styling

[ ] The content is written with plain language (where relevant).
[ ] If there are headers, they use the proper header tags (with only one level-one header: H1 or # in markdown).
[ ] All links describe where they link to (for example, check the Nebari website).
[ ] This content adheres to the Nebari style guides.

Non-text content

[ ] All content is represented as text (for example, images need alt text, and videos need captions or descriptive transcripts).
[ ] If there are emojis, there are not more than three in a row.
[ ] Don't use flashing GIFs or videos.
[ ] If the content were to be read as plain text, it still makes sense, and no information is missing.

Any other comments?

Blocked by conda-project's lack of python 3.13 support: https://github.com/conda-incubator/conda-project/issues/177


updated traction tenant instructions

updated deprecated code
added link to traction local installation docs

@gurjmatharu changes look good, but you need to please fix the DCO as it is required for changes to the repo.


Popups in HTML for footnotes and references

The Feynman lectures have a cool feature: When one hovers over a footnote or a reference to an equation or image a popup is shown with the footnote or the equation, see e.g. http://www.feynmanlectures.caltech.edu/III_21.html.
Is there any chance we could see this feature in the HTML output of softcover, too?

I just checked into doing it with title text, but that doesn't work with any footnotes containing HTML structure (such as emphasis, links, etc.). The Feynman Lectures must be doing it with JavaScript, which is considerably more complicated, and thus not a top priority. Of course, Softcover is open-source, so you are welcome to add such a feature yourself. We would have to add some JavaScript to Softcover.io, which we'd be happy to do if it worked.

I just found that the Feynman lectures seem to use javascript popups based on the code published at http://ignorethecode.net/blog/2010/04/20/footnotes/ .

Thanks for the note. If we look into implementing this feature, that reference is likely to be very helpful.


Retry Latest block if we couldn't retrieve it via cache

Describe the feature
in rpc we use a caching layer when fetching blocks, if a block is requested by a tag (Latest) then this can end up returning an error if there's a reorg in process:
because the cache operates on block hashes, we encounter a reorg after we looked up the latest hash and before we try to find the block:
https://github.com/paradigmxyz/reth/blob/52848a352a241cb1d16ef5040ef2c4b16b0cac15/crates/rpc/rpc-eth-api/src/helpers/block.rs#L236-L247
this isn't easily solvable, we can do two things, either do the id -> hash conversion during the cache lookup. or simply retry once if we encounter a block not found error and the blockid is latest.
imo simply retrying once is the best solution here and should guard against most reorg related issues.
TODO

retry Latest -> hash -> block if the blockId is the latest tag.
add useful docs, why we're doing this

Additional context
No response

Can i get assigned to this ?

doing some search - sounds what being  described in this thread could be the cause for https://github.com/paradigmxyz/reth/issues/11234

I’d like to resolve this.
My Developer Background:
I am a developer with experience in blockchain technologies and RPC implementations. I have worked on various projects that require efficient data retrieval and error handling. My focus is on building robust systems that can gracefully handle edge cases like reorgs to ensure a seamless user experience.
My Proposed Solution To Tackle The Issue:

Retry Mechanism: Implement a retry mechanism that triggers a lookup for the Latest block if the initial retrieval results in a "block not found" error.

Error Handling: Ensure that the retry only occurs when the block ID is tagged as Latest.

Documentation: Update the documentation to include information about this change, detailing why we are implementing this retry strategy and how it addresses reorg-related issues.

@mattsse Can i take up this issue
I'd like to resolve this

Can I jump on this task?

closing this because this workaround doesn't really work


Support for 0.92.1

The Plugin API change for Nu 0.92.1 is not well anticipated (thus pretty rough). Now, a record look like this.
{
    "CallResponse": [
        0,
        {
            "PipelineData": {
                "Value": {
                    "Record": {
                        "val": {
                            "inner": [
                                [ "LESSHISTFILE", {
                                    "String": {
                                        "val": "/home/user/.local/share/less/lesshst",
                                        "span": {
                                            "start": 0,
                                            "end": 0
                                        }
                                    }
                                } ]
                            ]
                        },
                        "span": {
                            "start": 0,
                            "end": 0
                        }
                    }
                }
            }
        }
    ]
}

In the future, Record will have nice de-serialization structure like JSON object, but in this release it needs to be refactored.
I have read some of @tesujimath discussion on the Nushell, and wondering do you have in progress PR for 0.92 support? If not, I might be able to help.
Or do you plan to wait until next version?

Oh, it broke again! 😭
I can fix this, was quite recently that I looked into it all for 0.92.0, shouldn't take long.  I'll sort it out as soon as a get a chance.
Thanks for reporting!

Actually, I have a version of this plugin that accommodate the change.
Thank you!

Please make a PR then if you like 😊

@Abdillah In my testing with plugin version 0.7.1 against both nushell 0.92.1 and 0.92.2 it works fine.
Closing this as no problem that I can see.

Ah okay, thanks.


fix[SSRF]: Arbitrary File Read Vulnerability

Check if the URL has a valid HTTP or HTTPS protocol

Vulnerability:huntr
Found By: evrenyal
Vulnerability Details
Description
Langchain “PlaywrightWebBaseLoader” allows reading arbitrary files from the server.
Proof Of Concept
import { PlaywrightWebBaseLoader } from "langchain/document_loaders/web/playwright";

/**
 * Loader uses `page.content()`
 * as default evaluate function
 **/
const loader = new PlaywrightWebBaseLoader("file://");

const docs = await loader.load();
console.log(docs);

Response :
[
  Document {
    pageContent: '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '\n' +
      '',
    metadata: { source: 'file://' }
  }
]

Impact
An attacker can use the “file://” url scheme and retrieve the content of arbitrary files on the system, that leads to sensitive information exposure.

I responded on the original bug - feels like a feature of the URI spec? Shouldn't we open a bug/issue on Playwright?

I responded on the original bug - this is a thin proxy over Playwright, and this issue feels like a feature of the URI spec?
What if someone is using this feature?
Wouldn't it be more suitable to open a PR on Playwright?

We offer Playwright as a document loader in Langchain.
PlaywrightWebBaseLoader is our class. And our class can forward sensitive files on the server to users. So it's right to open PR here.
I think we should take security measures for the codes we write, at least as much as we can.

Seems like a bug on Playwright to me. Want to check if there's a setting on their end?

SSRF is mentioned in the Python library. Instead of a url controller like in the commit, it would be useful to provide information like in the link.

Yeah I'm fine with adding a docstring, slightly more wary about making a code change (again, this is a proxy/translation layer on top of Playwright).

Great, I'm going to delete the code in the commit and add docstring.

Suggestion:
Url can be used with “preventssrf=true”.
If true,

Only use http(s).
Limit access to internal network resources.

This is on by default. If someone wants to use it, they can mark it as “false”.


Reproducibility of the codes

Hello~I'm interested in your work. However, your codes cannot reproduce the results of Tab.I in your paper, which is the mIoU results with the FPN on Cityscapes val set, even though we tune the hyperparameters the same as your paper describes. The best we achieve is 77.07%, far from your 78.02%.
Could you offer more details to reproduce the corresponding results, especially maybe the arguments in eval.py and config.yaml?

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>\

你好~我对你的作品很感兴趣。但是，您的代码无法重现您论文中****Tab.I的结果，即使用 FPN 在 Cityscapes 验证集上的 mIoU 结果，即使我们按照您的论文描述的方式调整超参数。我们达到的最好成绩是77.07%，与您的 78.02% 相去甚远。
您能否提供更多详细信息以重现相应的结果，尤其是_eval.py_和_config.yaml_中的参数？

<EMAIL_ADDRESS>

Hello~I'm interested in your work. However, your codes cannot reproduce the results of Tab.I in your paper, which is the mIoU results with the FPN on Cityscapes val set, even though we tune the hyperparameters the same as your paper describes. The best we achieve is 77.07%, far from your 78.02%.
Could you offer more details to reproduce the corresponding results, especially maybe the arguments in eval.py and config.yaml?

Hi, I'm also curious about some details. Which parameters did you adapt to reach 77.07% mIoU?
The config.yaml looks like a baseline to me. Especially since it uses ultra_pe and not learn_pe. If you didn't change this parameter, then 77.07% looks more in line with the results of Table 4.
However, the parameters local and unfold remain a mystery to me.


Support #+INCLUDE:

I think It would be very useful to have this supported.

It would be much appreciated, if more org-mode syntax are going to be supported.

#+HTML_HEAD:
#+HTML_HEAD: <link href="css/style.css" rel="stylesheet" type="text/css" />
{{{ macro(args) }}}

I had a branch I was getting ready to PR into Hugo this week that fixed this, but it looks like @niklasfasching PR'ed a new org parser, so I'm closing all the issues here, deprecating and archiving goorgeous.


cannot create a page in CMS

ENV: violet.restarone.solutions
version: Branch master (at cbf3ed2a6228ef6706a5b45796e501b56211b523) deployed as release<PHONE_NUMBER>3741 by runner

I, [2022-03-31T20:14:01.915940 #587264]  INFO -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885] Started POST "/admin/sites/1/pages" for <IP_ADDRESS> at 2022-03-31 20:14:01 +0000
D, [2022-03-31T20:14:01.918509 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   Subdomain Load (1.0ms)  SELECT "public"."subdomains".* FROM "public"."subdomains"
I, [2022-03-31T20:14:01.921714 #587264]  INFO -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885] Processing by Comfy::Admin::Cms::PagesController#create as HTML
I, [2022-03-31T20:14:01.921832 #587264]  INFO -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   Parameters: {"authenticity_token"=>"[FILTERED]", "page"=>{"label"=>"rrr", "slug"=>"rrr", "parent_id"=>"1", "layout_id"=>"1", "is_restricted"=>"0", "preview_content"=>"", "fragments_attributes"=>{"0"=>{"identifier"=>"content", "tag"=>"wysiwyg", "content"=>""}}, "target_page_id"=>"", "is_published"=>"1"}, "commit"=>"Create Page", "site_id"=>"1"}
D, [2022-03-31T20:14:01.924118 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   User Load (0.9ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
D, [2022-03-31T20:14:01.926287 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   User Load (0.9ms)  SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
D, [2022-03-31T20:14:01.931917 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   Comfy::Cms::Site Load (0.9ms)  SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
D, [2022-03-31T20:14:01.933967 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   Comfy::Cms::Page Load (1.0ms)  SELECT "comfy_cms_pages".* FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
D, [2022-03-31T20:14:01.937823 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   Comfy::Cms::Layout Load (2.0ms)  SELECT "comfy_cms_layouts".* FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
D, [2022-03-31T20:14:01.942846 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   TRANSACTION (0.8ms)  BEGIN
D, [2022-03-31T20:14:01.944232 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   Comfy::Cms::Page Load (1.1ms)  SELECT "comfy_cms_pages".* FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = $1 AND (parent_id IS NULL) ORDER BY position LIMIT $2  [["site_id", 1], ["LIMIT", 1]]
D, [2022-03-31T20:14:01.946024 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]    (0.8ms)  SELECT COUNT(*) FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = $1  [["site_id", 1]]
D, [2022-03-31T20:14:01.947982 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   Comfy::Cms::Fragment Exists? (0.8ms)  SELECT 1 AS one FROM "comfy_cms_fragments" WHERE "comfy_cms_fragments"."identifier" = $1 AND "comfy_cms_fragments"."record_type" = $2 AND "comfy_cms_fragments"."record_id" IS NULL LIMIT $3  [["identifier", "content"], ["record_type", "Comfy::Cms::Page"], ["LIMIT", 1]]
D, [2022-03-31T20:14:01.948947 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   CACHE  (0.0ms)  SELECT COUNT(*) FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = $1  [["site_id", 1]]
D, [2022-03-31T20:14:01.950047 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   CACHE Comfy::Cms::Page Load (0.0ms)  SELECT "comfy_cms_pages".* FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = $1 AND (parent_id IS NULL) ORDER BY position LIMIT $2  [["site_id", 1], ["LIMIT", 1]]
D, [2022-03-31T20:14:01.951627 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   CACHE  (0.0ms)  SELECT COUNT(*) FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = $1  [["site_id", 1]]
D, [2022-03-31T20:14:01.956241 #587264] DEBUG -- : [d6d3b566-e0f7-4e05-a1a0-61ae6c004885]   CACHE Comfy::Cms::Page Load (0.0ms)  SELECT "comfy_cms_pages".*


UTF emojis break lines wrapping

Consider a UTF file with an emoji in a string, for example:
😃1234567890<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER>

If the string is too long for one line vim will wrap it up to the next line.
However if there is an emoji anywhere in this string, vim will duplicate a symbol at the wrapping point:
😃1234567890<PHONE_NUMBER><PHONE_NUMBER> 12345677
890

What environment are you using? I'm unable to duplicate this issue with version 8.0.1522 on Ubuntu in a tmux-ed terminal.

This looks like a usual problem with either foreign glyphs rendering or difference in opinion about glyph width between Vim and terminal emulator. In your case tmux adds another layer of possible problems, though rather limited in scope: try doing vertical split in tmux, use xclip -o -sel clip in left pane with this text in clipboard and watch the pane separator. You may need to trigger some specific lines redrawing: I see separator disappear on the previous line, but only after I enter copy mode, refresh-client command also works.
Note: by foreign glyphs rendering I mean rendering of glyphs taken from font other then currently used one. Happens when current font has no needed glyph. Known to be a rather big problem in konsole (at least in my setup, though I heard that not only mine).
So to reproduce the issue for sure you need to know not just Vim version and terminal, but

Vim version.
Terminal emulator and its version.
Versions of whatever software is between Vim and terminal, if any (I mean tmux).
Font library with version.
Font with version.
Versions of whatever libraries terminal emulator and intermediate software are using to determine glyph width. There are lost of candidates here: not sure, but glibc (but AFAIR not just any libc); icu (rarely used based on what I know); or one of the softwares from the above list: at least Vim has its own functions that deal with unicode, Python also goes this route (though it would not normally appear in the stack of applications that have effect on this issue).

Except for konsole where this issue may appear just because glyph is taken not from the current font I think you will see the issue if your Vim version thinks that glyph representing codepoint is two screen cells wide, while terminal thinks that glyph is one screen cell wide.
Though in any case I agree that @nicolas-ivanov has not provided any useful information, just point that providing just Vim version and the fact that you are using tmux would be just as useless if you were issue reporter.
I would also suggest to check :echo strdisplaywidth("\U1F603") and check where terminal will wrap if printing character and lengthy string: e.g. with
perl -e "use utf8; use Encode; print(Encode::encode_utf8(chr(0x1F608))); print('0123456789' x ($COLUMNS/10 + 1)); print(chr(0x0A) . $COLUMNS . chr(0x0A))"

@johndorn  @ZyX-I

Vim version: 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48)
Terminal: GNOME Terminal 3.18.3, using VTE version 0.42.5 +GNUTLS
No tmux involved
No idea where to find the font library and font name. I'm using the default terminal shipped in Ubuntu 16.04
The bug is reproduced both in bash and zsh
less viewer doesn't have the aforementioned issue

I cannot reproduce this issue. Also note that Vim 7.4 is also quite old.

Ok, then let's close the issues for now. Thanks for looking into it!

I have similar issues where lines with emoji symbols would mistakenly duplicate symbols in the editing position.


Is youtube-transcript-api blocked from working on AWS EC2 servers?

I've tried to run this script from 2 different accounts, with multiple instances in dif. zones, but I'm not having any luck. Is this something that other folks are experiencing?

Hi @iblind, unfortunately I don't have any hands on experience with this. But there's two things that come to my mind, however both are just speculations:

Multiple users have reported running into rate limits (see #60). I could imagine that requests coming from different EC2 instances are treated as coming from the same client by YouTube and therefore they share the same rate limit. So you might be running into a rate limit without ever having a sent a request yourself.
Do you know if the requests executed by your EC2 instance default to IPv6? In #74 someone observed that they run into errors whenever the machine uses IPv6. I could not replicate this so I asked for their help to debug this. However, they unfortunately stopped replying. So maybe you could just pick up where the conversation stopped in #74 and try out the stuff I described over there.

Thanks @jdepoix!  The EC2 rate-limitting seems like such a heavy-handed policy, but I guess it makes sense — I'm sure youtube doesn't really care about the fact that those are all potentially distinct users coming from the same origin.

I'll take a look at #74 and see if I can dig anything up; I'll keep this thread posted re: updates!

Hi @jdepoix,
sorry for the lateness, I hadn't received the notification (only noticed it in the new github ui)! Any GCP- or EC2-based requests I've made ended up being blanket-rejected, so unfortunately all the work I did had to be performed locally. I didn't have any luck on #74, with no differences between IPv4 and IPv6 in terms of allowed requests.

Thanks for the response @iblind.
That seems really odd, so any curl to YouTube will be blocked? What status code/response do you get? And can you ping YouTube from the GCP/EC2 instance?

Thanks for the response @iblind.
That seems really odd, so any curl to YouTube will be blocked? What status code/response do you get? And can you ping YouTube from the GCP/EC2 instance?

any news on this @iblind?

any news on this @iblind?

@iblind in v0.4.0 the Exception TooManyRequests has been introduced which is raised when running into rate limits. This could be used to figure out if you are just running into rate limits or if there is another problem at hand. Would be great if you could try this out and provide some feedback! 😊

I will close this now due to the lack of responses. If anyone has any news on this just post it here and I might open the ticket again if it seems relevant.

I'm also

getting the same error on ec2 . works on my pc


Fix doc build

:tada: This PR is included in version 8.0.0-rc.5 :tada:
The release is available on:

v8.0.0-rc.5
GitHub release

Your semantic-release bot :package::rocket:


KeyError: 'cam_intrinsic'

Thanks for your great work.
I'm a newbie and I want to run through this test code on my single GPU2080Ti for learning. But when I was running, I found this error and couldn't proceed, hoping to get your help. Thanks in advance.
The following is my environment, error message and nuscenes data directory.
I used this nuscenes directory when I was learning BEVFusion, and it can run test successfully. (https://github.com/mit-han-lab/bevfusion)
I set all samples_per_gpu=1, workers_per_gpu=1,
When I run the following 2 commands, KeyError appears.
 tools/dist_train.sh projects/configs/nuscenes/Fusion_0075_refactor.py 1

 tools/dist_test.sh projects/configs/nuscenes/Fusion_0075_refactor.py ./pretrained/Fusion_0075_refactor_.pth 1 --eval=bbox

My environment in docker:
TorchVision: 0.10.1+cu111
OpenCV: 4.6.0
MMCV: 1.3.18
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.1
MMDetection: 2.14.0
MMSegmentation: 0.14.1
MMDetection3D: 0.17.1+3b3147b

my error message:
2022-12-21 02:56:19,919 - mmdet - INFO - workflow: [('train', 1)], max: 6 epochs
2022-12-21 02:56:19,919 - mmdet - INFO - Checkpoints will be saved to /home/fanxl/arepo/DeepInteraction/work_dirs/Fusion_0075_refactor by HardDiskBackend.
2022-12-21 02:56:21.563015: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.7/site-packages/cv2/../../lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
2022-12-21 02:56:21.563107: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /opt/conda/lib/python3.7/site-packages/cv2/../../lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
2022-12-21 02:56:21.563119: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Traceback (most recent call last):
  File "tools/train.py", line 248, in <module>
    main()
  File "tools/train.py", line 244, in main
    meta=meta)
  File "/home/fanxl/arepo/DeepInteraction/mmdetection3d/mmdet3d/apis/train.py", line 35, in train_model
    meta=meta)
  File "/opt/conda/lib/python3.7/site-packages/mmdet/apis/train.py", line 170, in train_detector
    runner.run(data_loaders, cfg.workflow)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 127, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 47, in train
    for i, data_batch in enumerate(self.data_loader):
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 521, in __next__
    data = self._next_data()
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data
    return self._process_data(data)
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data
    data.reraise()
  File "/opt/conda/lib/python3.7/site-packages/torch/_utils.py", line 425, in reraise
    raise self.exc_type(msg)
KeyError: Caught KeyError in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
    data = fetcher.fetch(index)
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home/fanxl/arepo/DeepInteraction/mmdetection3d/mmdet3d/datasets/dataset_wrappers.py", line 68, in __getitem__
    return self.dataset[ori_idx]
  File "/home/fanxl/arepo/DeepInteraction/mmdetection3d/mmdet3d/datasets/custom_3d.py", line 357, in __getitem__
    data = self.prepare_train_data(idx)
  File "/home/fanxl/arepo/DeepInteraction/mmdetection3d/mmdet3d/datasets/custom_3d.py", line 150, in prepare_train_data
    input_dict = self.get_data_info(index)
  File "/home/fanxl/arepo/DeepInteraction/mmdetection3d/mmdet3d/datasets/nuscenes_dataset.py", line 232, in get_data_info
    intrinsic = cam_info['cam_intrinsic']
KeyError: 'cam_intrinsic'

ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 1355) of binary: /opt/conda/bin/python
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/conda/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/conda/lib/python3.7/site-packages/torch/distributed/launch.py", line 193, in <module>
    main()
  File "/opt/conda/lib/python3.7/site-packages/torch/distributed/launch.py", line 189, in main
    launch(args)
  File "/opt/conda/lib/python3.7/site-packages/torch/distributed/launch.py", line 174, in launch
    run(args)
  File "/opt/conda/lib/python3.7/site-packages/torch/distributed/run.py", line 692, in run
    )(*cmd_args)
  File "/opt/conda/lib/python3.7/site-packages/torch/distributed/launcher/api.py", line 116, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/opt/conda/lib/python3.7/site-packages/torch/distributed/launcher/api.py", line 246, in launch_agent
    failures=result.failures,
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
***************************************
         tools/train.py FAILED
=======================================
Root Cause:
[0]:
  time: 2022-12-21_02:56:29
  rank: 0 (local_rank: 0)
  exitcode: 1 (pid: 1355)
  error_file: <N/A>
  msg: "Process failed with exitcode 1"
=======================================
Other Failures:
  <NO_OTHER_FAILURES>
***************************************

This is the data directory of nuscenes:
`-- data
    `-- nuScenes
        |-- maps
        |-- nuScenes_bak -> /dataset/nuScenes_bak/
        |-- nuScenes_test -> /dataset/nuScenes_test
        |-- nuscenes_database -> nuscenes_gt_database
        |-- nuscenes_dbinfos_train.pkl
        |-- nuscenes_gt_database
        |-- nuscenes_infos_test.pkl
        |-- nuscenes_infos_train.pkl
        |-- nuscenes_infos_val.pkl
        |-- samples
        |-- sweeps
        |-- v1.0-test
        `-- v1.0-trainval

In the official mmdetection3d, the intrinsic parameters for each camera is recorded as a key cam_intrinsic when generating info files.
But in bevfusion, this item is renamed to camera_intrinsics.
You can fix it by runing the data preparation again following the official mmdetection3d.

thank you very much for your help.
I managed to run the test on my poor 2080TI.
Thanks again.
···
[                                                  ] 8/6019, 0.5 task/s, elapsed: 18s, ETA: 13341s
···


nuxt generate with dynamic import uses incorrect file

I am using webpack's import() to import local files based on a route parameter. When running the app with either npm run dev or npm run build; npm start, the correct file is loaded both server and client side.
However, when using npm run generate to generate static html for each possible version of the route, the same data is imported into each file.
nuxt.config.js:
const blogRoutes = require('./static/blog/posts.json').map(slug => `/blog/posts/${slug}`);

module.exports = {
  generate: {
    routes: blogRoutes
  }
}

Page:
export default {
  async asyncData({ params: { slug }) {
    const data = await import(`~static/blog/posts/${slug}.md`);
    return {
       post: parse(data)
    }
  }
}

Expected result: each route receives the contents of its respective markdown file.
Actual result: each route receives the contents of the same file.
I have tried logging the contents of data in asyncData when running generate, and the correct file contents are logged. However, the final HTML that is written to the dist folder is the same for each version of the route, i.e. for all slugs, the same output appears in the HTML.
It seems to use the contents of the file for the last route - if there are two routes passed to generate in nuxt.config.js, /blog/posts/1 and /blog/posts/2, both rendered HTML files for the associated route will use the data from ~static/blog/posts/2.md.
window.__NUXT__.data contains the correct data, but the rendered HTML does not use that data.
Using require instead of import() results in the same issue.

For now, setting interval to 1000 in the generate options in nuxt.config.js solves the issue. It seems that forcing it to render a single file at a time this way causes it to render with the correct data - without setting interval, it renders all urls, then generates all output files, using the data from the last rendered url.

Fixed in the next release


New types for simulation data

Currently the main structure of CriticalTransitions.jl is the StochSystem, and the typical syntax for methods is function(sys::StochSystem, args; kwargs...).
A typical workflow for numerically studying critical transitions could look like this:

Investigate system properties (fixed points, stability, basins of attraction, flow field, quasipotential, instanton, ...)
Generate sample trajectories (direct simulation, rare event/importance sampling, pathspace Langevin MCMC sampling, ...)
Analyze the statistical properties of samples (mean transition path, residence time distribution/scaling, invariant measure, ...)
Relate these sample properties to the dynamical system properties (boundary crossing point, transition indicators, quasipotential height differences, ...)
(what else would be of interest?)

The StochSystem structure is convenient for points 1 and 2 of this workflow. To deal with sampling data in a unified and practical way, it could be useful to define new structures:

Trajectory and TrajectoryEnsemble
Transition and TransitionEnsemble (subtypes of Trajectory and TrajectoryEnsemble, respectively)

These structures could be abstract types with fields. For example, Transition.path could output the path as a matrix of size (D x N), where D is the system dimension and N the number of path points.
Functions for analyzing transition samples could then follow the general syntax function(tr::TransitionEnsemble, args; kwargs...) or function(sys::StochSystem, tr::TransitionEnsemble, args; kwargs...).
Would this be a good way to structure the functionality?

I really like this idea. We now have TransitionEnsemble. What are the common statistical analyses one would want to extract from the transitions?

transition_time (the time a transition takes once it has started)
residence_time (the mean waiting time until a transition occurs)
success_rate (for rejection sampling: how many simulations transition in the given time frame?)

I suggest to add the above as fields of the struct. Additionally, one could have these functions:

mean_transition_path(TransitionEnsemble)
rareness(TransitionEnsemble), which is just residence_time/transition_time

I would like to avoid having a lot of field in TransitionEnsemble.  Maybe, we could make cleaner if we have a type TransitionsStatistics and put all the information in there.
TransitionsStatistics is then a field in TransitionEnsemble and every statistic has then it's own function + field in TransitionsStatistics
EnsembleSolution from sciml has something similar


Don't let classes be both EventSink and StreamConsumer

The Sink ,EventSink, StreamConsumer, StreamSink proliferation of interfaces might be overkill. It's a complexity and implementation cost everywhere something is both an EventSink and StreamConsumer because it has to handle the interaction between addStream and add.
I'd prefer to never be both. Make things EventSinks, and make StreamSink be an EventSink with an StreamConsumer asStreamConsumer() method. Then it's clear that you can do add on the EventSink while doing addStream on the StreamConsumer, and it's the user's job to not interleave incorrectly.

Would this be a new analyzer hint? How would we prevent this from the core library?

No plans to change the current API.


Very high ram usage

i don't ever remember that edge went over 1.2 gb ram usage
but my final betterfox uses 1.6 to 1.9
i saw alot of people complain in the past where other users told them that it will free up when needed
but all of them said that windows gives up bc it doesn't work
and I'm wondering what am i supposed to to with the information that "GPU" uses one gig of ram like???
https://imgur.com/a/sx0kizh

This is not Betterfox-specific. In general, Firefox uses more RAM than Chromium browsers mostly in part due to Fission (sandboxing). But I agree, Mozilla needs to find a way to manage RAM usage better.
You can lower RAM usage by "undoing" Fission (see Option 3 here), but at the cost of security. Don't take that as my endorsement or recommendation. (It's not.)


Remove chaining between ::pin and ::repo resources

This fixes #773
When pinning the package, the resource chaining between the Class['elasticsearch::package::pin']  and Class['elasticsearch::repo'] causes the following dependency cycle:
(File_line[versionlock.list-0:elasticsearch-2.4.2-1.noarch] => Yum::Versionlock[0:elasticsearch-2.4.2-1.noarch] => Class[Elasticsearch::Package::Pin] => Class[Elasticsearch::Repo] => Yumrepo[elasticsearch] => Package[yum-plugin-versionlock] => Yum::Plugin[versionlock] => Class[Yum::Plugin::Versionlock] => Yum::Versionlock[0:elasticsearch-2.4.2-1.noarch] => File_line[versionlock.list-0:elasticsearch-2.4.2-1.noarch])

This has only been tested on CentOS7 - I wasn't able to get the acceptance testing running locally
Pull request acceptance prerequisites:

[x] Signed the CLA (if not already signed)
[x] Rebased/up-to-date with base branch
[x] Tests pass
[ ] Updated CHANGELOG.md with patch notes (if necessary)
[ ] Updated CONTRIBUTORS (if attribution is requested)

Interesting, I haven't observed this behavior in testing and pinning is explicitly tested on CentOS 7. However, the tests are pretty thorough and if they still pass fine with your changes, I'm fine adding this. Thanks for reporting and also fixing it!

Thanks ☺ yes, this tripped us up when we've pinned to specific versions,
and only removing the chaining fixed it. Much appreciated 😊
On 26 Jan 2017 6:15 pm, "Tyler Langlois"<EMAIL_ADDRESS>wrote:

Interesting, I haven't observed this behavior in testing and pinning is
explicitly tested on CentOS 7. However, the tests are pretty thorough and
if they still pass fine with your changes, I'm fine adding this. Thanks for
reporting and also fixing it!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/elastic/puppet-elasticsearch/pull/774#issuecomment-275431392,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQp3UFe8ka_viQIvx6GLJD98KsIrgobks5rWMa3gaJpZM4LuXIy
.


Adding this library suggestion to the README.MD

Hey,
I know create-react-app doesn't natively support libraries, but I like sticking as close to a single environment as I can. This link was great for me in setting up a create-react-app project as a library. Maybe it could save other people some time to add it to the README. I'm using this method now for a local npm module and it's working well
https://stackoverflow.com/questions/39684689/using-create-react-app-to-create-a-library
Just a thought, close this if you're not interested!

Thanks for your suggestion, but we don't want to add unsupported workarounds to our documentation.
Cheers!


Music broken. Most commands wont work.

Should update everything

Completed with https://github.com/hirusha-adi/Near/pull/19/


Add github action to auto build and release

windows builds don't work, but otherwise just create a tag and it will run a github action to compile both mac targets and linux and create a release and upload them all to that release automatically

Forgot about the pre-compile stuff in make css and make protobuf initially. This should actually be good now. I have only done minimal linux testing and no mac testing

Send it


[Rules] Add global context in rule context

Useful for clients to plumb additional context during rule construction.

what's the use case? rule implementation is something that we'll hardly be able to control once we add these APIs, so I'd like to provide specialized use cases as much as possible, since it'll be very easy to do the wrong things with super flexible APIs...

See https://github.com/apple/swiftpm-on-llbuild2/commit/de42dc764a5afa6f79cf2072eaebbf5fe1ba709a

I agree with the goal of keeping the rule API minimal but I think the global context is fine to expose. The other option is that the clients pass the context manually when creating the Rule object but I think it's better to just expose the global context from RuleContext since we already have it.


ci: add update-flake-lock cron jobs for example-{simple, share-services} and test

resolves #167

Ideally it would be preferable to have all these flakes follow the same input, like in haskell-flake, but that will break a couple of just commands that depends on test flake.

I tried out hci-effects: https://github.com/shivaraj-bh/services-flake/pull/4. It works great, supports multi-flake lock update and also auto-merges the PR.
And I can configure it in the dev flake: https://github.com/shivaraj-bh/services-flake/commit/a9a76bae7c9622ff99e5f1f5b1c52ce50a2a79d1

I tried out hci-effects: shivaraj-bh#4. It works great, supports multi-flake lock update and also auto-merges the PR.
And I can configure it in the dev flake: shivaraj-bh@a9a76ba

Would be nice if we can decouple that from HCI, so as to be able to reuse it in Github Actions. I haven't looked at it in detail though.
But to use HCI (vs self-hosted Github runners) for juspay projects is something that takes a larger consideration (if you remember, we did discuss it internally last year a bit).


Delete command for event

Currently legacy find command from AB3 only works on vendor, would be nice to extend to cover events
along with implementing the new command format #77

Non issue delete already implemented for both event and vendor


OCaml part: build static binaries and JS for distribution without opam or dune + package as Cargo crate

[x] binary releases for ocaml
Though those binaries are not static. Though for distribution, we also release JS.
~build ocaml from cargo~ we actually don't want to do this any longer

That was done in #41


Rejoin segments

Currently the output is individual segments. We should rejoin adjacent segments on the output to make it smaller.

Done in https://github.com/mapbox/linematch/commit/f2c074c442e89dc5a9535fc190ee3ea9910d1c15


Is it possible to get ECMAScript module (ESM) bundle in NPM?

Angular 10+ throws:
CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

I'm planning to include a separate ES module in the v1 release.


Provide Browserified & Minified Code In Releases

I recently wrote a Closure Extern File and made a cljsjs package for BitAuth:
https://github.com/cljsjs/packages/pull/223
@crisptrutski suggested that I request upstream if you could put a copy of the browserified and minified code in your releases.
Thanks!

@xcthulhu wouldn't be surprised if there's hesitance to accept this change - versioning /dist creates lots of noise and also inconvenience (eg. cannot checkout another branch if they're dirty)
Alternates:

Create tagged release commits (usually not on master itself), with artifacts versioned here only
Add the build artifacts manually to the Github release (see bottom of this announcement)
Ensure there are some dependable, versioned CDN links to the artifacts

(3) is obviously the winner if it already exists (save schlepping)

Yep, this has been discussed before. And including the browserified version in the master branch isn't desired, for the reasons mentioned by @crisptrutski
The current strategy is to tag release commits that include the browserified bundle and push to the git repository primarily for bower, since it's git based. That is at least how it's currently handled for all of the bitcore releases, as well as uploading compiled binaries to a CDN for bitcore-node, however we haven't updated the release process for bitauth yet. We've previously released builds via github releases: https://github.com/bitpay/bitauth/releases/tag/v0.1.2 however it looks like the latest two were not, unfortunately. I think option 1, in this case would be most applicable, as to work with bower.

Cool, I'll go with whatever you guys decide to run with.
I just want to use this thing because the recent Ashley Madison stuff has reminded me that BitAuth is a great idea :D


Is it possible to disable the rainbow colors?

I really like the animated output, and was wondering if i could disable the rainbow effect and use the -a flag and other ones

I would also like this feature. I want to use lolcat's animations with toiilets filters.


unmanaged_ee flow fails because update_dependencies doesn't support purge_on_delete option

The InstallPackage and UninstallPackage tasks support the purge_on_delete option and the unmanaged_ee passes purge_on_delete = False as an option to the update_dependencies task but that task doesn't respect that argument.  As a result, any attempt to change dependencies causes errors on the deployment.
Example output:
2017-03-15 08:35:50: [Failed]: sf:INVALID_OPERATION: INVALID_OPERATION: purgeOnDelete option can only be used on a non-active org
2017-03-15 08:35:50: Task failed: update_dependencies
2017-03-15 08:35:50: Failing flow due to exception in task
2017-03-15 08:35:50: sf:INVALID_OPERATION: INVALID_OPERATION: purgeOnDelete option can only be used on a non-active org

https://mrbelvedereci.herokuapp.com/builds/1412


create vuejs skeleton code for expense entry grid

All drop downs are searchable
Category drop down fetches from the end point the list fo categories
fetch the available entities into entity drop down from entity end point
grid should be divided into horizontal sections of categories
comment and amount are input fields
there should be a dropdown for apyment mode selection, which is only visisible to admin and should be added to the data in each entry

Data:
{"ADVANCE":["HRIDAY","SANDEEP","ANITHA"],"EXEMPTED_BILLS":["KRISHNA","SHIVA"],"LOCAL_PURCHASE":["MILK","EGG","SODA","OIL ","PANNER","BUTTER","KITKAT","OREO","CHAT MASALA","SUGAR SHACHETS","COFFEE BEANS","ICE CREAM","RED CAPSICUM"]}


capacity controller: ensure Operational condition is always set

In a few cases, capacity controller wouldn't set the Operational
condition in CapacityTargets, even though it could operate on them
successfully, and even report non-Ready states!

Further changes to this were needed and will be applied in #242 instead, so I'm closing this one.


Unable to convert \n\n\n\n\n\n\n\n\n\n{} to Object.

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
7.6.2
What operating system are you using?
mac
Amplify Categories
auth, storage, function, api
Amplify Commands
Not applicable
Describe the bug
I made 2 changes to the schema after it was published:

removed @hasone relationship from 2 fields
changed the default owner field to some other username

amplify push works fine, but looks like graphQL api is broken because any query or mutation returns the following error:
{
  "data": {
    "listInvestmentTransactions": null
  },
  "errors": [
    {
      "path": [
        "listInvestmentTransactions"
      ],
      "data": null,
      "errorType": "MappingTemplate",
      "errorInfo": null,
      "locations": [
        {
          "line": 2,
          "column": 3,
          "sourceName": null
        }
      ],
      "message": "Unable to convert \n\n\n\n\n\n\\n\n\n\n{} to Object."
    }
  ]
}

I
Expected behavior
graphQL api working properly.
Reproduction steps
So far the only way to fix this is to de-deploy the app using amplify console (I did setup the CI/CD in a branch before that critical change).
I can then amplify pull to get the previously working state, make some changes outside of the schema, push back and and everything works fine. But once I touch the schema i.e. by adding some dummy field like:
type Observed @model @auth(rules: [
  { allow: owner },
  { allow: private, provider: iam }
]) {
  ...
  aaa: String
}

the graphQL api breaks again...
GraphQL schema(s)

# Put schemas below this line
type Investment @model @auth(rules: [
  { allow: groups, groups: ["Admin"] },
  { allow: groups, groups: ["investor"], operations: [read] },
  { allow: private, provider: iam }
]) {
  id: ID!
  status: String! @index(name: "investmentsByStatus", queryField: "investmentsByStatus")
  name: String
  price: Int!
  fundraisingStartDate: AWSDateTime!
  fundraisingEndDate: AWSDateTime!
  projectEndDate: AWSDateTime!
  description: String
  generalInfo: String
  additionalInfo: String
  businessPlan: AWSJSON!
  portfolio: Boolean
}

type InvestmentTransactions @model @auth(rules: [
  { allow: owner, ownerField: "username", operations: [read, update] },
  { allow: groups, groups: ["investorPlus"], operations: [create, read] },
  { allow: groups, groups: ["Admin"] },
  { allow: private, provider: iam }
]) {
  id: ID! @auth(rules: [
  { allow: owner, ownerField: "username", operations: [read, update] },
  { allow: groups, groups: ["investorPlus"], operations: [create, read] },
  { allow: groups, groups: ["Admin"] },
  { allow: private, provider: iam }
])
  amount: Float! @auth(rules: [
  { allow: owner, ownerField: "username", operations: [read, update] },
  { allow: groups, groups: ["investorPlus"], operations: [create, read] },
  { allow: groups, groups: ["Admin"] },
  { allow: private, provider: iam }
])
  investmentID: ID! @index(name: "transactionsByInvestment", queryField: "transactionsByInvestment") @auth(rules: [
  { allow: owner, ownerField: "username", operations: [read, update] },
  { allow: groups, groups: ["investorPlus"], operations: [create, read] },
  { allow: groups, groups: ["Admin"] },
  { allow: private, provider: iam }
])
  investorID: ID! @index(name: "transactionsByInvestor", queryField: "transactionsByInvestor") @auth(rules: [
  { allow: owner, ownerField: "username", operations: [read, update] },
  { allow: groups, groups: ["investorPlus"], operations: [create, read] },
  { allow: groups, groups: ["Admin"] },
  { allow: private, provider: iam }
])
  transactionDate: AWSDateTime! @index(name: "transactionByTransactionDate", queryField: "transactionByTransactionDate") @auth(rules: [
  { allow: owner, ownerField: "username", operations: [read, update] },
  { allow: groups, groups: ["investorPlus"], operations: [create, read] },
  { allow: groups, groups: ["Admin"] },
  { allow: private, provider: iam }
])
  ***Name: String
  ***Name: String
  ***Name: String
  ***Name: String
  ***OK: Boolean @auth(rules: [
    { allow: groups, groups: ["Admin"] },
    { allow: groups, groups: ["investorPlus"], operations: [read] },
    { allow: private, provider: iam }
  ])
  ***OK: Boolean @auth(rules: [
    { allow: groups, groups: ["Admin"] },
    { allow: groups, groups: ["investorPlus"], operations: [read] },
    { allow: private, provider: iam }
  ])
  ***OK: Boolean @auth(rules: [
    { allow: groups, groups: ["Admin"] },
    { allow: groups, groups: ["investorPlus"], operations: [read] },
    { allow: private, provider: iam }
  ])
  ***OK: Boolean @auth(rules: [
    { allow: groups, groups: ["Admin"] },
    { allow: groups, groups: ["investorPlus"], operations: [read] },
    { allow: private, provider: iam }
  ])
  cancelled: Boolean
  portfolio: Boolean @auth(rules: [{ allow: groups, groups: ["Admin"] }])
  investment: Investment @hasOne(fields: ["investmentID"]) // < ---------------------- removed this relationship
  investor: Investor @hasOne(fields: ["investorID"]) // < ---------------------------- removed this relationship
}

type Investor @model @auth(rules: [
  { allow: owner, ownerField: "username", operations: [create, read, update] },
  { allow: private, provider: iam },
  { allow: groups, groups: ["Admin"] }
]) {
  id: ID!
  firstName: String
  lastName: String
  address: String
  investorID: String! @index(name: "investorByInvestorID", queryField: "getInvestorByInvestorID")
  identityID: String!
  deviceTokens: [String]
  deactivated: Boolean
}

type Observed @model @auth(rules: [
  { allow: owner }, // < ------------------------------ changed default ownder field to ownerField: "username"
  { allow: private, provider: iam }
]) {
  id: ID!
  investorID: ID! @index(name: "observedByInvestor", queryField: "observedByInvestor")
  investmentID: ID! @index(name: "byInvestment", queryField: "observedByInvestment")
  investment: Investment @hasOne(fields: ["investmentID"])
  investor: Investor @hasOne(fields: ["investorID"])
  aaa: String
}

Log output

# Put your logs below this line
https://d.pr/f/2lHvRz/FWIjOTqZr7

Additional information
No response

@jk171505 would you be willing to share your project with us via email<EMAIL_ADDRESS>

@cjihrig do you need access to aws? what's the best/easiest way to share it?

Can you email your project to<EMAIL_ADDRESS>We don't need to access your AWS account.

@cjihrig shared.

@jk171505 after you make any schema changes and push the API you mentioned that you're running into problems. I noticed that your app was migrated from v1 to v2.
One difference between v1 and v2 is that pluralization is handled differently. You should have received a message about this during migration. I searched your project for "listInvestmentTransactions" and found a number of matches for "listInvestmentTransactionss" (notice the extra "s" on the end). Can you try updating those occurrences to see if it makes a difference.

everything worked properly till the moment I removed @hasone relationships from InvestmentTransactions model.

Just to confirm, after you ran the v1 to v2 migration (before you removed any relationships), you pushed the v2 project and it worked? If so, if you temporarily add the @hasOne relationships back and push again, does it work again?
You could also try testing the API directly in the AppSync console, but you may run into some issues trying to do that with all of the auth in place in the schema.

How can I fix it now?

Can you try adding the following feature flag to your project's cli.json file. It should be added in the graphqltransformer section of that file. Once you do that, try generating the client code again.
"improvepluralization": true

All of the pluralization issues are either in api/build or src/graphql dir

I see another in amplify/backend/function/...DDBTransactionTrigger/

everything worked properly till the moment I removed @hasone relationships from InvestmentTransactions model.

Just to confirm, after you ran the v1 to v2 migration (before you removed any relationships), you pushed the v2 project and it worked? If so, if you temporarily add the @hasOne relationships back and push again, does it work again?
I tried this - it doesn't work. But if I re-deploy the app in Amplify console it works.

You could also try testing the API directly in the AppSync console, but you may run into some issues trying to do that with all of the auth in place in the schema.
I did exactly this.
Logged in as an authenticated cognito user that belongs to the user group. It works if I re-deploy the app from Amplify console - in the web app as well as in the AppSync console.
At that point I pull (amplify), make any change in schema.graphql locally, then push - no errors in terminal, looks like push worked. So I try to test if it really works - at this point the bug shows up again - either in the app (web app uses DataStore) or in AppSync console/ The same bug: "Unable to convert \n\n\n\n..."

How can I fix it now?

Can you try adding the following feature flag to your project's cli.json file. It should be added in the graphqltransformer section of that file. Once you do that, try generating the client code again.
"improvepluralization": true

All of the pluralization issues are either in api/build or src/graphql dir

I see another in amplify/backend/function/...DDBTransactionTrigger/
I set the flag and compiled the code and generated using codegen, but listInvestmentTransactionss is still generated in schema.json (inside backend dir) and  in cloudformation-template.json inside of awscloudformation/build directory.

how to fix it?

@cjihrig I created a fresh env today, migrated to v2 and pushed. Then created CI/CD in amplify app and deployed for the first time. Everything worked fine - in AppSync console as well as in the webapp.
The following changes did break the app (the same error):

Update of the auth rule in one of the models:

type InvestmentTransactions @model @auth(rules: [
  { allow: owner, ownerField: "username", operations: [update] }
  ...
]) {

to
type InvestmentTransactions @model @auth(rules: [
  { allow: owner, ownerField: "username", operations: [create, read, update] }
  ...
]) {

compile: amplify api gql-compile
amplify push

I shared the project with created in env via email.

Thank you. I'm looking into your most recent project.

@jk171505 I'm trying to reduce this down a bit since this schema has a lot going on. It seems like it could be an issue with @auth, but I'm not sure yet. If you remove all of the models except InvestmentTransactions (you'd have to remove the @hasOne relationships as well), does that reproduce the issue? If that still reproduces the issue, can you try removing the @index directives. If that still reproduces the issue, try removing the field auth, etc.

@cjihrig where you able to run this project/ reproduce this bug?
I tried to play with this a bit and removed all field level auth rules from this model but kept model level ones.
Unfortunately during the push I got error saying "Cannot perform more than one GSI creation or deletion in a single update; ConnectionStack failed to update". I tried to revert it, but then started to see this bug:
https://github.com/aws-amplify/amplify-cli/issues/9248
I'm blocked at the moment because of this...

@cjihrig I tried what you suggested, but the problem remains.

If you remove all of the models except InvestmentTransactions (you'd have to remove the @hasOne relationships as well), does that reproduce the issue?

yes

If that still reproduces the issue, can you try removing the @index directives.

the same error

If that still reproduces the issue, try removing the field auth, etc.
removed all field level auth rules, on the model level left public access

the same error
After removal last auth rule (model level) I get the warning:
⚠  WARNING: Some types do not have authorization rules configured. That means all create, read, update, and delete operations are denied on these types

Hi, is there an ETA on this bug?

Hi @jk171505, I've picked this up and I'm looking at it now and will get back to you later today

Was unable to reproduce this today, tomorrow I'm going to try some new strategies to see what I can find.
Do you have your original V1 schema that was migrated? I'm wondering if reproducing this error would be easier if I come from that direction

Yes. Shared via email (amplify-cli@amazon.com).

Ok, this is strange. Any change in schema pushed via amplify push, despite it is successful, breaks the app (error mentioned at the beginning). A commit of these changes in this branch (which will trigger automatic deployment) and push via git fixes the problem.
The code that I shared recently via email was pushed to aws, then amplify app was set up with CI/CD which triggered initial deployment. So far so good, everything works.
Then local migration to v2, modified auth rules on the model level and added some field level then pushed via amplify, which causes mentioned error.
A commit and push of these changes (via git) —> automatic deployment —> problem disappears.
Repeated the steps above:
ANY change in schema pushed via amplify breaks the app. A commit and push of these changes via git which triggers automatic deploy solves the problem…

Any updates on this?

Any updates on this?

Sorry about the delay, I believe something is wrong with one or multiple of your resolvers, not necessarily wrong with the state of amplify. I'm going to look at it some more today but I'll be looking at it from a different angle

I used the resolvers you sent in to try and reproduce the issue but still was not able to recreate this error, at this point we haven't been able to reproduce it so we will close this issue if there's no additional information we can use

@marcvberg I have this problem in new project.

Hey!
I also have this issue running GraphQL requests on a generated API. Every request is returning the same:
{
  "data": {
    "listThings": null
  },
  "errors": [
    {
      "message": "Unable to convert \n\n\n\n\n\n\\n\n\n\n{} to class com.amazonaws.deepdish.transform.model.lambda.LambdaVersionedConfig.",
      "errorType": "MappingTemplate",
      "data": null,
      "errorInfo": null,
      "path": [
        "listThings"
      ],
      "locations": [
        {
          "line": 2,
          "column": 3,
          "sourceName": "GraphQL request"
        }
      ]
    }
  ]
}

I have tried:

Use only one Graphql Type with @model (just an ID field on it)
Removing all @auth rules from the type
Edited every .req and .res template to just be $util.toJson({})

The only thing that fixes it for me is deploying the app via Github to Amplify. The production endpoint and queries all work perfectly. So strange!
Anything else I can try to help you debug @marcvberg ?
Currently running Amplify v7.6.19.

Got it! There's an unnecessary \n here that's causing the template render to fail.
Submitting a PR now.


can you please make a forge port?

i would really like to use this with my other forge mods, if you cant make a port i understand, just asking

Gilded Games is working on The Aether for forge 1.16+: https://github.com/Gilded-Games/The-Aether

Read the faq in our discord for some more information if you'd like

thanks! i tested it out with immersive portals and it mostly works!


Error while deploy a stack if assets are located in different folder than portainer binary

Bug description:
If the assets are located in the same directory than the portainer binary, the stack deployment works and the stack is marked with control "Total".
If the --assets option is used and the assets are located for example in /usr/share/portainer, then the error message "Deployment error Unable to deploy stack" is shown. The stack will be created but the stack control is marked as "Limited".

Portainer version: 2.0.0

Other issue


Add troubleshoot help to install NuGet packages

Why:
Closes #19541
The documentation on how to install NuGet packages from GitHub packages is missing an important point. If installing a NuGet package from a different repository, authentication using a GITHUB_TOKEN in the GitHub action will fail. A personal access token (PAT) needs to be used instead. Closes issue #19541 .
What's being changed (if available, include any code snippets, screenshots, or gifs):
Added an additional bulletpoint in the "Troubleshooting" section. It explains how to authenticate within a GitHub action when installing a NuGet package from a different repository.
Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@rafaelschlatter Thanks for opening an issue and a PR! ✨ I edited your post slightly just so it connects to your issue.
I'll get this triaged for review! ⚡

Thanks for this contribution @rafaelschlatter! ⚡  Earlier in the same article, in the "Authenticating to GitHub Packages" section, we already mention the limitation of using the GITHUB_TOKEN, however I agree it may assist other users to also mention this in the "Troubleshooting" section towards the end of the article.
As such I'm going to make a few changes to your proposed language, and then I'll merge this.


Add R000600 S001198 P000612 E000295 R000605 (via #25)

Check links for government-made, copyright-free statements.

R000600 - Amata Coleman Radewagen - see #26
S001198 - Daniel Sullivan - see #30
P000612 - David Perdue - see #27
E000295 - Joni Ernst - see #28
R000605 - Mike Rounds - see #29

Thanks @nickom!

Coverage remained the same at 43.89% when pulling 9dc36c363484b793eb68c73ded558e8a65e02dc9 on hugovk:gh-pages into 96a91ddcf012e7167886f6e78a0ab35696c03b23 on unitedstates:gh-pages.

Sure thing, thanks for merging so quickly! (More coming soon!)


API endpoints for SubmodelElements inside of Entity SubmodelElements

What is missing?
Currently, SubmodelElements inside of Entities don't have their own endpoints. Therefore, the only option to fetch a Property inside an Entity is to fetch the entire Entity. This is not optimal, especially when the Entity consists of a nested structure with SubmodelElementCollections.
How should it be fixed?
The API of the Submodel Repository should handle Entities like SubmodelElementCollections. SubmodelElements inside of an Entity should also be dot-separated in the URL/address. This is an example URL how it could look like:
http(s)://{submodel-repo-url}/submodels/{submodelIdentifier}/submodel-elements/exampleentity.exampleproperty

[x] I have signed the required Developer Certificate of Origin (DCO) already.

I see this was already considered here

in this video:
https://youtu.be/Szccn-EaH0Q?t=888
Therefore I will close this Issue.


[WIP] Add a build script to add contributors to the README

So I quickly put this together (hence the WIP in the title), because I want feedback before I make any drastic additions. Currently, it just adds a raw output (formatted to Markdown) at the end of the README, which works fine if it's the first time. But the next time it's run, it just appends the result to the end of the file, which isn't what we're looking for.
So my question is this: since @jakedex wants to add the contributors to the end of the README for now (as discussed in #92, should we just manually add them from time to time? When time comes, we can use something like all-contributors-cli to generate a CONTRIBUTORS.md for us and it will (hopefully) handle the issues I've pointed out here.
... or should I add some logic to the current script to check for existing users, and only add those that weren't previously in the list?
Thoughts?

Thanks for getting the ball rolling on this. It looks like all-contributors-cli will handle injecting updates to the README.md, let's just add a .all-contributorsrc, a npm script for contrib:add, and contrib:build to precommit?

Whoopsie, should have read their README a bit more closely. 🙊 if that's the case, I'll look into it right away!

Hey @jakedex 👋
I just wanna make sure we're on the same page: you want a contrib:add that basically calls all-contributors add, which would mean a contributor is added using the CLI? How would that work?
... and I'm guessing contrib:build was to be followed by the previous command that ran all-contributors generate?
In any case, look at the changes I've introduced. It works just fine, except that there's no way to add emoji keys to the contributors as I'm just pulling in the contributors, not the type of contribution (which I don't think is possible)

@yeskunall thanks for this! Now that we are going with all-contributors, you can just use all-contributors add and all-contributors generate.  See these lines for reference.
And actually, the emojis are generated from the key words in the contributions array. You can see an example here: https://github.com/kentcdodds/all-contributors/blob/master/.all-contributorsrc#L15-L19

Apologies for the vague response, @yeskunall. I was trying to say that we should just do this all manually with the npm scripts and scrap contributors.js for the time being. Again, sorry for the confusion!

All right, understood. I'll scrap the script and manually add the contributors, update the README. Gotta leave for work, but this should be merged by today evening.
❤

All right, so the npm scripts are done and good to go. Final question: @mfix22, who's going to add the emojis keys to the contributors' block? 😛
I'm willing to do it, but the CLI asks questions of the likes:

... and I'm not sure if I should be the one deciding that. 🚶
(Once I get a response, I'll also fix the npm precommit script. Noticed it after I pushed 🙈

I can handle that @yeskunall (: mind if i run the CLI and push to your branch?

Be my guest! ❤

--

Kunall Banerjee

Thanks @yeskunall for all your work and comments!


Error at unmounting since upgrading to React 18

Current Behavior
Whenever I navigate from a page that renders ReactPlayer the application crashes.
I get the following error:
 Uncaught TypeError: Cannot read properties of null (reading 'removeAttribute')
    at FilePlayer.stop (FilePlayer.js:422:1)
    at Player.componentWillUnmount (Player.js:250:1)
    at callComponentWillUnmountWithTimer (react-dom.development.js:22683:1)
    at safelyCallComponentWillUnmount (react-dom.development.js:22705:1)
    at commitUnmount (react-dom.development.js:23556:1)
    at commitNestedUnmounts (react-dom.development.js:23603:1)
    at unmountHostComponents (react-dom.development.js:23926:1)
    at commitDeletion (react-dom.development.js:23991:1)
    at commitMutationEffects_begin (react-dom.development.js:24203:1)
    at commitMutationEffects (react-dom.development.js:24187:1)
    at commitRootImpl (react-dom.development.js:26638:1)
    at commitRoot (react-dom.development.js:26517:1)
    at finishConcurrentRender (react-dom.development.js:25820:1)
    at performConcurrentWorkOnRoot (react-dom.development.js:25648:1)
    at workLoop (scheduler.development.js:266:1)
    at flushWork (scheduler.development.js:239:1)
    at performWorkUntilDeadline (scheduler.development.js:533:1)
    at run (setImmediate.js:40:1)
    at runIfPresent (setImmediate.js:69:1)
    at onGlobalMessage (setImmediate.js:109:1)

    index.js:1 The above error occurred in the <FilePlayer> component:
    at FilePlayer (http://localhost:3000/static/js/2.chunk.js:21867:5)
    at Player (http://localhost:3000/static/js/2.chunk.js:19222:5)
    at Suspense
    at div
    at ReactPlayer (http://localhost:3000/static/js/2.chunk.js:20311:7)

Expected Behavior
I would expect not to crash, just as before upgrading to React 18.
Steps to Reproduce

Go to a page that renders ReactPlayer
Navigate away from the page

Environment

Browser: Chrome 99 and Firefox 98
Operating system: MacOS 11.4

See: https://github.com/cookpete/react-player/issues/1428

FWIW, even on version 18, the old render method still appears to work. Just createRoot doesn't.

See: #1428

Even if that quick fix would work the problem is still there. Also, I'm not using server side rendering.

FWIW, even on version 18, the old render method still appears to work. Just createRoot doesn't.

Good point, forgot to mention that.

I believe this issue is from react 18 side and it is being caused by componentWillUnmount being called twice. It is mentioned in an issue here https://github.com/facebook/react/issues/24280.
There's a merged commit fixing this issue but not yet published. See: https://github.com/facebook/react/pull/24308. Hopeful the fix works when published.

18.1.0 is out so give it a try.

I can't speak for @Cristi6 but I'm still seeing crashes with createRoot. This is with both react 18.1.0 and react-player 2.10.0.  But it seems to happen less often, and not every time. Does that make sense? I'm having a hard time getting exact steps to reproduce in my app, aside from going to a page with a video, then navigating away. Sometimes it crashes every time, sometimes it takes 4 or 5 tries to get it to crash.

Upgrading to react 18.1.0 seems to be working for me without an issue. I have a similar use case as @darinrogers whereby it goes to a page with a video and then navigates away and uses createRoot.

Note you need to update react-dom too when upgrading React.

18.1.0 seems to have fixed this so I’ll close this for now. Thanks @gaearon for the heads up.
If anyone can reproduce it with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>then feel free to reopen the issue with details.


ERROR: no suitable InfoExtractor for URL with newest version

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

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

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

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.01.02
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
I successfully downloaded an audiobook episode from BBC by using:
youtube-dl https://www.bbc.co.uk/sounds/play/m0001t93
However, I found I had done that using the 2018-11-23 version.
So I updated youtube-dl to the newest version with:
youtube-dl --update
and now trying to download the same thing again I get:
youtube-dl https://www.bbc.co.uk/sounds/play/m0001t93
[bbc] m0001t93: Downloading webpage
ERROR: no suitable InfoExtractor for URL https://www.bbc.co.uk/programmes/None

I can't seem to find any documentation on InfoExtractor or other users who have had this error.

I get what seems to be the same issue on this link: https://www.bbc.com/weather/features/49780950
[jonas@Laptop Desktop]$ youtube-dl --verbose https://www.bbc.com/weather/features/49780950
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.bbc.com/weather/features/49780950']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.22
[debug] Python version 3.7.4 (CPython) - Linux-4.9.196-1-MANJARO-x86_64-with-arch-Manjaro-Linux
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[bbc] 49780950: Downloading webpage
ERROR: no suitable InfoExtractor for URL https://www.bbc.co.uk/programmes/None
  File "/usr/bin/youtube-dl", line 11, in <module>
    load_entry_point('youtube-dl==2019.10.22', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python3.7/site-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/usr/lib/python3.7/site-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2018, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 869, in process_ie_result
    extra_info=extra_info)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 830, in extract_info
    self.report_error('no suitable InfoExtractor for URL %s' % url)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 624, in report_error
    self.trouble(error_message, tb)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 586, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Getting this for safari also... I checked for another issue and reported it was closed. But with latest update getting this issue.

I have a workaround for BBC urls containing /sounds/play/
Replacing /sounds/play/ with /programmes/ seems to work
e.g.
https://www.bbc.co.uk/sounds/play/m0011l16  - FAILS with the InfoExtractor error
https://www.bbc.co.uk/programmes/m0011l16  - SUCCEEDS.
This doesn't work for other urls like @JonasCz 's report : e.g. https://www.bbc.com/weather/features/49780950
I think the BBC InfoExtractor needs work to find the correct URL.

@bhrgunatha claimed:

https://www.bbc.co.uk/sounds/play/m0011l16 - FAILS with the InfoExtractor error

Not true; latest official release 2021.06.06 WORKS AS EXPECTED with Sounds URIs:
youtube-dl -F "https://www.bbc.co.uk/sounds/play/m0011l16" -v  =>
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://www.bbc.co.uk/sounds/play/m0011l16','-v']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: none
[debug] Proxy map: {}
[bbc.co.uk] m0011l16: Downloading video page
[bbc.co.uk] m0011l16: Downloading playlist JSON
[bbc.co.uk] m0011l15: Downloading media selection JSON
[bbc.co.uk] m0011l15: Downloading MPD manifest
[bbc.co.uk] m0011l15: Downloading m3u8 information
[bbc.co.uk] m0011l15: Downloading MPD manifest
[bbc.co.uk] m0011l15: Downloading m3u8 information
[info] Available formats for m0011l15:
format code                                   extension  resolution note
af_akamai_nonuk_dash-audio_eng_1=48000        m4a        audio only [en] DASH audio   48k , m4a_dash container, mp4a.40.5 (48000Hz)
af_akamai_nonuk_dash_https-audio_eng_1=48000  m4a        audio only [en] DASH audio   48k , m4a_dash container, mp4a.40.5 (48000Hz)
af_akamai_nonuk_hls-51                        mp4        audio only   51k , mp4a.40.5@ 48k
af_akamai_nonuk_hls_https-51                  mp4        audio only   51k , mp4a.40.5@ 48k
af_akamai_nonuk_dash-audio_eng_1=96000        m4a        audio only [en] DASH audio   96k , m4a_dash container, mp4a.40.5 (48000Hz)
af_akamai_nonuk_dash_https-audio_eng_1=96000  m4a        audio only [en] DASH audio   96k , m4a_dash container, mp4a.40.5 (48000Hz) (best)

NB: The above is from an overseas IP, UK IPs are offered additional higher qualities (128k+320k).

https://github.com/ytdl-org/youtube-dl/issues/22825


Add /clearchat command

Add a command to clear all of the chat locally. Useful for the unicode spammer.
 I decided to write my own implementation.
Commit is here: #31


No module named 'pytest'

Hi, I followed the readme until I get this error:
C:\Users\me\Downloads\blender-fake-addon-master>py scripts/run_blender.py 2.80-windows64
C:\Users\me\Downloads\blender-2.80-windows64\blender -b --python "scripts/load_pytest.py"
Read prefs: C:\Users\me\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: C:\Users\me\Downloads\blender-2.80-windows64\2.80\python
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\me\Downloads\blender-fake-addon-master\scripts/load_pytest.py", line 2, in <module>
    import pytest
ModuleNotFoundError: No module named 'pytest'
Saved session recovery to 'C:\Users\me\AppData\Local\Temp\quit.blend'

Blender quit

But if I go into the same Blender, and type in the console: import pytest it works and I have no error.
pytest is also installed in my python.

It was looking to the wrong Blender file. The script looks by default into the parent directory of the repository.

sorry i missed this issue, I was on vacation and off the internet.  I am happy to see you resolved your issue and you are also making use of the plugin.


Pagination Error When Using Search Function in Community Members Tab

Package version (if known):
Describe the bug
A clear and concise description of what the bug is.
Steps to Reproduce

Go to the 'Members' tab in a community.
Click on the search button.
Observe the pagination at the bottom of the page.

Expected behavior
The pagination should correctly display the available page numbers without any erratic behavior.
Screenshots (if applicable)
Additional context

Screencast from 2024-05-28 16:07:46.webm

From a quick read, this might be related: https://github.com/inveniosoftware/invenio-communities/pull/954


fix visual density prefer_const_constructors lint

Description
Engine roll with fixed lint did not run against this before submission. TBR @gspencergoog

Landing on red to fix build

The version of the linter in the tree had a bug. This PR was analyzed against the version of the linter with the bug, when it was branched. The engine roll that contained the fix ran tests against the framework without your change in. Both pass on presubmit and immediately fail

Was discussing with @Hixie yesterday. Improvements/fixes to linters are a constant source of legitimate roll pain. Our solution there was that we built tooling that allowed us to whitelist files for a given lint in the roll then shard the fixes out over as many commits as needed to fix (one for the framework, however many for the customer-submitted tests) and whittle down the whitelist to nothing again.
That avoids blocking the roll for what isn't a regression, and also doesn't unfairly put the burden of fixing everyone else's code on the roller. I'll file a bug for this.

Filed https://github.com/flutter/flutter/issues/54482.


Filenames must be unique test is not case sensitive

In https://github.com/ODIQueensland/data-curator/commit/9ab265c6e9b688cbb0750dc4557510cd71a52b54 there is now a check for unique filenames in the data package. This test is not case-sensitive.

Expected Behaviour (for problems)
Uniqueness check is case-sensitive
Steps to Reproduce

Open Data Curator using the icon
add data in tab and save as file1.csv
add data in a new tab and save as FILE1.csv
not prevented from saving file

Your Environment

Data Curator version 0.3.0 + above commit  - local build
Operating System  macOS Sierra 10.12.2

Works in Windows 7, Data Curator 0.3.5

Consider forcing filenames to be lowercase given the specification

Filenames different to table name (in spec) - leaving as case sensitive. Fixed code bug.


Change prob and routing for aya and caregiver after submit survey

Liying to confirm:
AYA probability:

Nothing with probability: 0.33
Meme with probability: 0.33
Altruistic messages: 0.33

Care-giver probability:

Directly take to the aquarium

In the meeting, I was told to do below, want to change
again?
AYA probability:

Nothing with probability: 0.4
Meme with probability: 0.3
Altruistic messages: 0.3

Care-giver probability:

Directly take to the aquarium

Liying

This one works as well. Just make sure we are storing the prob in the "Nothing with probability" on the survey page.

Did you change this Liying?

Not sure what you mean, if you mean if I did the following:
AYA probability:

Nothing with probability: 0.4
Meme with probability: 0.3
Altruistic messages: 0.3

Care-giver probability:

Directly take to the aquarium

My answer is Yes.
Liying

From: Mashfiqui<EMAIL_ADDRESS>Sent: Sunday, March 15, 2020 2:53 AM
To: StatisticalReinforcementLearningLab/SARAv2<EMAIL_ADDRESS>Cc: Huang, Liying<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [StatisticalReinforcementLearningLab/SARAv2] Change prob and routing for aya and caregiver after submit survey (#40)
Did you change this Liying?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FStatisticalReinforcementLearningLab%2FSARAv2%2Fissues%2F40%23issuecomment-599175132&data=02|01|lxh37%40psu.edu|93f3e864728b43bc3bcc08d7c8ad995d|7cf48d453ddb4389a9c1c115526eb52e|0|0|637198520237310086&sdata=Zw3koo4iXAolQwf%2FVSoOfFHnlR0drm%2FA%2FEgKKdzCbvs%3D&reserved=0, or unsubscribehttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADXW5ZMVFAHURTTRGMJNYL3RHR3PNANCNFSM4K4KY3OQ&data=02|01|lxh37%40psu.edu|93f3e864728b43bc3bcc08d7c8ad995d|7cf48d453ddb4389a9c1c115526eb52e|0|0|637198520237310086&sdata=K0TferrCCYJvgbz8sklLlV9jPgO4nMVf%2FconpZZqTLU%3D&reserved=0.

Awesome. I am closing this issue then :-)


About the model release

I notice that the "model_name_or_path" is "wzhouad/prix-lm", can you please provide the model?

The model is released at the HuggingFace Hub https://huggingface.co/wzhouad/prix-lm

The model is released at the HuggingFace Hub https://huggingface.co/wzhouad/prix-lm

Thanks for your reply.


Deleting Scheduled Job

If you delete a scheduled job it would be really awesome if it would also clear the sidetiq:[worker]:next key so that the job will run again properly.  I found that this makes it a bit tricky to change the schedule of a job e.g. from daily to hourly.
If I delete the previously scheduled daily job from the sidekiq web interface it then looks like the job should run at the next hour but it does not because the sidetiq:[worker]:next key still has the previously set daily runtime in it.
The only way to get the schedule to update is to manually DEL the sidetiq:[worker]:next key when you change the schedule.
Alternatively maybe sidetiq could auto-clear out the scheduled "next" run when it starts?

+1


Add research notice to dev docs

This replaced #568 - apologies for making a messy driveby commit. The date reflects the month the notice made it into the docs, not the date the study started, so the date should be correct. Thanks for your patience and help :)
@skitt is aware of this study :) Please let me know if there's a better place to put this notice, I thought the dev docs might be the easiest place for people to spot it.
Signed-off-by: Yo Yehudi<EMAIL_ADDRESS>

Hopefully this should be fixed now - just waiting for the CI to do its stuff.