[dexter-monitor 0.9.2] Cannot run dexter-monitor

When trying to start dexter-monitor, following error occurs:
~/dexter/project/dexter-monitor$ node app.js -p=1111

    return key.startsWith('-');
               ^
TypeError: Object -p has no method 'startsWith'
    at isValidCliOption (/home/test.user/dexter/project/dexter-monitor/util/dexter-util.js:96:16)
    at /home/test.user/dexter/project/dexter-monitor/util/dexter-util.js:59:12
    at arrayEach (/home/test.user/dexter/project/dexter-monitor/node_modules/lodash/index.js:1289:13)
    at Function.<anonymous> (/home/test.user/dexter/project/dexter-monitor/node_modules/lodash/index.js:3345:13)
    at baseWrapperValue (/home/test.user/dexter/project/dexter-monitor/node_modules/lodash/index.js:2768:30)
    at LodashWrapper.wrapperValue (/home/test.user/dexter/project/dexter-monitor/node_modules/lodash/index.js:6124:14)
    at Object.exports.getCliOptions (/home/test.user/dexter/project/dexter-monitor/util/dexter-util.js:64:8)
    at loadCliOptions (/home/test.user/dexter/project/dexter-monitor/app.js:69:27)
    at initialize (/home/test.user/dexter/project/dexter-monitor/app.js:42:5)
    at Object.<anonymous> (/home/test.user/dexter/project/dexter-monitor/app.js:37:1)

I'm using Node.js v0.10.25 running on Ubuntu 14.04.
What can be wrong?

dexter-monitor was tested on v4.2.1 of nodejs.
The string.startsWith() function is specified at ES6:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith
I guess the version 0.10.25 of nodejs does not support the new string functions.
But you can try it with '-harmony' option.
Refer to the following URL: http://www.2ality.com/2013/04/nodejs-harmony.html

Also you can read this: https://nodejs.org/en/docs/es6/

Thank you, you were right. After updating node.js to 4.2.6, the problem was solved.


Searches with forward slashes returns no results

When searching GNU/Linux, or cats/dogs, or any search that contains a forward slash, it returns no results.

I'm guessing / isn't the only character that causes this issue. When working on this, it should be solved for (ideally) all possible inputs.

Still an issue. The search results return, but nothing shows in app. Maybe a bad claim?

Still an issue. The search results return, but nothing shows in app. Maybe a bad claim?


allow supabase patch updates

What kind of change does this PR introduce?
allow installing newer patch updates
What is the current behavior?
Does not allow to install newer version of supabase 2.0.4

Just did a npm update today and get warning it seems this PR would fix.

It should be enough to modify the peerDependency. I think we should prefer specific versions to build the package.

Any idea what’s causing this issue #330

The old version used two different exports. You probably have an import @supabase/auth-helpers-sveltekit/server somewhere in your code that should be updated

Pr #327 is addressing this issue.


[FIX]fix chnsenticorp dataset download link

Description
fix XNLI, LCQMC, ChnSentiCorp dataset download link
Checklist
Essentials

[X] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Job PR-873/3 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-873/3/index.html

Job PR-873/4 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-873/4/index.html

Because Baidu do not host lcqmc any more. I disabled test for lcqmc dataset.

How can people obtain LCQMC now? Should it be documented?

Baidu recommended email the author of the dataset. But the data format of the dataset people get from author may different from the one Baidu used to host. May be we should delete the code for lcqmc dataset?

According to the docstring, the dataset is licensed under a Creative Commons Attribution 4.0 International License. Thus we could redistribute it. Is this license statement correct? If so, how about we redistribute the dataset instead of deleting it?

Good idea! License information is correct. It is written in their paper:  https://www.aclweb.org/anthology/C18-1166

The license in the footer of the paper refers only to the paper itself. Looking at http://icrc.hitsz.edu.cn/LCQMC_Application_Form.pdf (linked via the website mentioned in the paper), the dataset is not published under CC. Based on the Terms and Application Form of using LCQMC we unfortunately do not have the right to redistribute it.
Could you fix the licensing information in the docstring? Something like the following would be correct: "No license granted. You can request a private license via http://icrc.hitsz.edu.cn/LCQMC_Application_Form.pdf"

It looks strange to me.
Yeah, the docstring is fixed.

Job PR-873/5 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-873/5/index.html


Document search grammar

In the web ui, for the current grammar.

See https://github.com/dandi/dandiarchive/issues/37#issuecomment-600059556 for the current grammar.
I realized that there is an error in the search code (I'm sure there is more than one!) where electrodes have a copy/paste value from units. As part of fixing this issue, please fix the error and add a test case to cover it. I'd be fine with restructuring the search tests as a part of this issue if that seems needed.
Document the search grammar in the dropdown that is displayed when no search results are returned.

Move all of the search code into search.py and move the tests into test_search.py.

closing, as we are no longer supporting this earlier version of NWB search


I want to draw many many many points , Which is better ? image or glPoint?

I want to draw many  white round points to simulate snowing.
They have different sizes and  alphas  , but same color 0xffffff.
Use the shader like this :

// Vertex shader program
var VSHADER_SOURCE = [
    'attribute vec4 aPosition;',
    'attribute float aSize;',
    'attribute float aAlpha;',
    'varying float vAlpha;',
    'void main() {',
    '  gl_Position = aPosition;',
    '  gl_PointSize = aSize;',
    // '  gl_PointSize = 20.0;',
    '  vAlpha = aAlpha;',
    '}',
].join('\n');

// Fragment shader program
var FSHADER_SOURCE = [
    'precision mediump float;',
    'varying float vAlpha;',
    'void main() {',
    '  float d = distance(gl_PointCoord, vec2(0.5, 0.5));',
    '  if(d < 0.5) {',
    '    gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0) * vAlpha;',
    '  } else {',
    '    discard;',
    '  }',
    '}',
].join('\n');

In theory ， Which one  has better performance ？
glPoint + size + alpha    or   image + PIXI.Sprite  + scale + alpha  ？
I know I should test them , but I don't know how to use glPoint in PIXI.

I would just just an image and a ParticleContainer. You can display easily 60.000 images at 60fps with the same texture this way.

@JiDW  thanks for your reply .
If on PC ,  I think both ok ,  but if  on Android device  (released in 2015 ) ... I've no idea.

I test it .
The performance is closely related to point size & point alpha.
For the case simulate snowing , point is better.

glPoint has some problems on some devices, that's why pixi-tilemap has both modes : rects and squares


Create a flat design version of the icon 🙏

I'm not very good at design, so I'm looking for someone who is good at it. Please refer to the README logo for an image.

I'm curious about what the logo is after all? Is it a shield?

it's a rusty container

?

@cr0ax Can you even design! Wonderful 😍

This is really good!! Thanks @cr0ax

@cr0ax that "eye" on the left side of the container initially made me thought this was kind of a deformed ferris...
I'd recommend making it a bit more jagged or less "eye"-like like the original pixelated logo, as that may help with mental ferris-pattern-matching :sweat_smile:

@cr0ax thanks for creating it. It think the color is good.
But seems there are too many elements in the picture, besides it's a three-dimensional container.
@utam0k , can we use a flat container? 😉

srry meant to edit this a while ago but got distracted... also hi turns out i hav a github account
attaching the original svg so others can make changes to the design if they want. personally i wanted to keep it in perspective because imo hexagon is more interesting than square for icon silhouette...

This looks fine, thanks a lot!

@scary4cat Wow! Amazing. I love this ❤  I'm curious to see your other ideas. You don't have to stick to the previous design, especially if it's a rusty container and a flat design. By the way, I don't have any sense of design at all, so I envy your ability.
If you don't have time I really like the current one too. Would you be willing to send me a PR under docs/? If this is too difficult, please go to me. I can do it myself but would like to be your contributor if possible.

Special thanks @scary4cat

Not that it contributes to any productive discussion, and no offense to anyone, but I preferred the old logo. It really stood out with the level of detail and frankly resembles a container more than the flat version. Would love to see it back.

@kotx Thanks for your advice. I didn't delete the previous log from the repo.


Bump gtfs-lib to 4.3.1

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[x] All tests and CI builds passing

Description
Contains a schedule exceptions bug fix for https://github.com/conveyal/gtfs-lib/pull/215.

Codecov Report

Merging #194 into dev will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##              dev   #194   +/-   ##
=====================================
  Coverage     6.2%   6.2%
  Complexity    115    115
=====================================
  Files         133    133
  Lines        6962   6962
  Branches      913    913
=====================================
  Hits          432    432
  Misses       6494   6494
  Partials       36     36

Continue to review full report at Codecov.

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

I'm just going to go ahead and merge this, @evansiroky. I need a build for staging and this one's pretty straightforward.

:tada: This PR is included in version 3.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Hello!I have some questions.

Thanks for you contribution！ Recently I have researched on hololens stream,and your project is similar with my idea.
The first text"localhost" is sever address？I

I used ip address unlike your method in your video.
And in hololens ,Do I only need two client (one is pc and the other is hololens?)and one cloud sever?

Does the streamClient must has Kinect?I only want to display what i see in Hololens in PC like point clouds.


xarray / vtk integration

I just had a great chat with @aashish24 and @banesullivan of Kitware about how we could improve interoperability between xarray and the VTK stack They also made me aware of pyvista, which looks very cool. As a user of both tools, I can see it would be great if I could quickly drop into VTK from xarray for advanced 3D visualization.
A low-hanging fruit would be to simply be able to round-trip data between vtk and xarray in memory, much like we do with pandas. This should be doable because vtk already has a netCDF file reader. Rather than reading the data from a file, vtk could initialize its objects from an xarray dataset which, in principle, should contain all the same data / metadata
Beyond this, there are many possibilities for deeper integration around the treatment of finite-volume cells, structured / unstructured meshes, etc. Possibly related to https://github.com/pydata/xarray/issues/4222.
I just thought I would open this issue to track the general topic of xarray / vtk integration.

I'm really excited about this effort, thanks @rabernat! One thing I'd like to do before I forget is mention a project from the Software Underground (SWUNG) to create a new subsurface package: https://github.com/softwareunderground/subsurface
Over there, we are working to create a set of low-level data structures for sharing spatial data between various subsurface modeling/analysis software (e.g. GemPy, SimPEG, PyGIMLi, Fatiando, Welly, and more) with close ties to PyVista (VTK) for 3D visualization. At present, we are using xarray as the base data container for structured data types. This morning, @rabernat gave me some great insight into how xarray can be used to contain unstructured data as well and so I will be investigating how to do that so we leverage xarray as the base data container all around in subsurface. Then with subsurface's close ties to PyVista, there comes a bridge between xarray and VTK (via PyVista).
cc @Leguark and @prisae
This would be a proof of concept for the round-trip data interoperability going between xarray and VTK leaving us with some good lessons on what the value would be of a direct interface between VTK and xarray for better handling of large data and leveraging Dask.
Either way, it'd be awesome to have the subsurface development team in the loop here as there appears to be a lot of shared goals

Thank @banesullivan to bring us to the loop. Is there some example somewhere using xarray for unstructured data or that is exactly what are you going to try next?

You can see an example of using xarray with structured curvilinear coordinates here:

http://xarray.pydata.org/en/stable/examples/multidimensional-coords.html
http://xarray.pydata.org/en/stable/examples/ROMS_ocean_model.html

And with unstructured data here:

http://gallery.pangeo.io/repos/rsignell-usgs/esip-gallery/02_National_Water_Model.html
http://gallery.pangeo.io/repos/rsignell-usgs/esip-gallery/01_hurricane_ike_water_levels.html

The key concept is that xarray supports both dimensions coordinates and non-dimension coordinates. The dimension coordinates must be 1D, but the non-dimension coordinates can have any dimensionality. For a regular lat-lon grid, a variable might have dimensions like this
temp(time, depth, lat, lon)

A structured curvilinear 2D grid might instead look like
temp(time, depth, j, i)

with additional coordinate variables
lon(j, i)
lat(j, i)

which can be used for visualization (but not, currently, for indexing)
A fully unstructured mesh in 2D would instead look like
temp(time, depth, cell_id)
lon(cell_id)
lat(cell_id)

This is exactly what netCDF does to encode these data types. Anything that can go into a netCDF file can be represented in Xarray. You just don't get the full functionality in terms of label-based selection. That will hopefully change as we implement more flexible indexing (seehttps://github.com/pydata/xarray/projects/1).
Another limitation of xarray is that it has no explicit notion of "cell bounds," other than recognizing these as coordinates (see #2844). Our xgcm package works around this limitation in some simple ways.

A key point I forgot to make...if downstream packages or accessor implementers know how to do something useful with these extra coordinates, they are free to do so! The data are there...xarray just doesn't currently make much use of them.

if downstream packages or accessor implementers know how to do something useful with these extra coordinates, they are free to do so! The data are there...xarray just doesn't currently make much use of them.

FWIW, we are working on the https://github.com/ESM-VFC/xoak package to easily index and select unstructured data in xarray datasets. This works well with multi-dimensional coordinates and xarray's advanced indexing features. Support for custom indexes and chunked (dask) coordinates is coming up too!

Just a note that the only unstructured grid (triangular mesh) example I have is:
http://gallery.pangeo.io/repos/rsignell-usgs/esip-gallery/01_hurricane_ike_water_levels.html
I figured out how to make that notebook from the info at:
https://earthsim.holoviz.org/user_guide/Visualizing_Meshes.html
The "earthsim" project was developed by the Holoviz team (@jbednar & co) funded by USACE when @dharhas was there.  Would be cool to revive this.
The Holoviz team and USACE might not have been aware of the UGRID conventions when they developed that code, so currently it's a bit awkward to go from a UGRID-compliant NetCDF dataset to visualization with Holoviz (as you can see from the above notebook).     That would be low-hanging fruit for any future effort.

The same dataset as in that Visualizing_Meshes notebook is also shown in https://examples.pyviz.org/bay_trimesh/bay_trimesh.html, which is more self-contained and may be a better starting point.
Also note that VTK and pyvista are well supported by Panel, as illustrated in various examples at https://panel.holoviz.org/gallery.  It would be great to update those examples to include xarray data sources to more fully capture the pipeline from data to display.
I'm not sure what the specific pain points are with UGRID or what specifically is being requested at https://github.com/pyviz-topics/EarthSim/issues/326, but we'd be happy to have examples either in EarthSim or at examples.pyviz.org that start with UGRID datasets and go via Xarray to either 2D or VTK-based 3D visualizations.

I just saw this very cool tweet about ipyvista / iris integration and it reminded me of this thread.
Are there any clear steps we can take to help advance the vtk / pyvista / xarray integration further?

And again mesh to data array and back, by variety?

I think a first step would be to make a data accessor between xarray and VTK/PyVista in accordance with https://xarray.pydata.org/en/stable/internals/extending-xarray.html
This keeps coming up again and again for me. @RichardScottOZ, if you're interested in kicking this off, I'd be happy to chat and help implement this and then outline some future direction for this sort of "integration"

Yes, that sounds good.  Definitely be useful to put this in some workflows.

I use this sort of thing a lot, anyway. https://banesullivan.com/pyvista/examples/raster.html#sphx-glr-pyvista-examples-raster-py

So reversing that would require storing the metadata etc. and whatever the meshgrid reversal is?

I am very interested in this sort of functionality as an xarray accessor. If I can help in any way, please let me know. Ideally this work would come in very handy to visualize Oxygen Minimum Zones  in the global ocean as isosurfaces of a 3D oxygen array.

Ok, so a discussion:-
https://github.com/pyvista/pyvista/discussions/2375

Just have to find some time to start.

Following up to mention that I've developed pyvista-xarray which provides an interface between vtkRectilinearGrids and xarrays DataArrays via PyVista: https://github.com/pyvista/pyvista-xarray
This is very much in its early stages and I’m hoping to take it quite a bit further. But first, I’d love to gather feedback and find how it works or doesn’t work for the types of data folks have.
At present, this accessor is specifically for rectilinear-style grids but if you have some other types of data, do share so that I can work towards supporting it in pyvista-xarray by opening an issue or discussion over there.
(there is limited support for vtkStructuredGrids as well)

do you want to add that to the ecosystem page in the docs?

do you want to add this to the ecosystem page in the docs?

I'd love to! Thanks for the suggestion @keewis! I'll track this in https://github.com/pyvista/pyvista-xarray/issues/21 to contribute after I make my next round of improvements to pyvista-xarray


total_loss is too high when training head

when I trained head NERF and training steps reached 250K, the total_loss is too high, nearly 580, and other loss seems normal.
partial logs are :
| Validation results@248000: {'total_loss':<PHONE_NUMBER>922, 'mse_loss': 0.0012603372, 'sr_mse_loss': 0.0013412535, 'lpips_loss': 1.0247015435, 'sr_lpips_loss': 1.1453602004, 'sr_lip_lpips_loss': 1.0416638839, 'lambda_ambient':<PHONE_NUMBER>789}
03/06 04:17:08 PM Epoch 00000@248000: saving model to checkpoints/motion2video_nerf/meimei_head/model_ckpt_steps_248000.ckpt
03/06 04:17:08 PM Delete ckpt: model_ckpt_steps_246000.ckpt

is this high loss normal? or how can I lower down the total_loss?
Thanks

and when 250K steps finished, the final total_loss is inf, lpips_loss is inf, sr_lpips_loss is also inf
| Training end..
Epoch 0 ended. Steps: 250001. {'total_loss': inf, 'mse_loss': 0.0024544131240717033, 'weights_entropy_loss': 0.050688008500976045, 'num_non_facemask': 56165.82106877656, 'ambient_loss': 2.8842663650615378e-08, 'sr_mse_loss': 0.0008115496115366654, 'lambda_ambient':<PHONE_NUMBER>26522, 'head_psnr': 27.943281164014728, 'density_grid_info_min_density': -1.0, 'density_grid_info_max_density': 364738707.3452703, 'density_grid_info_mean_density': 1790.830806371328, 'density_grid_info_occupancy_rate': 0.25496578732052366, 'density_grid_info_step_mean_count':<PHONE_NUMBER>135135, 'lpips_loss': inf, 'sr_lpips_loss': inf, 'sr_lip_lpips_loss': 1.1583641622033645}
Is the normal, how can I fix it?
Thanks

same issue

when I trained head NERF and training steps reached 250K, the total_loss is too high, nearly 580, and other loss seems normal. partial logs are :
| Validation results@248000: {'total_loss':<PHONE_NUMBER>922, 'mse_loss': 0.0012603372, 'sr_mse_loss': 0.0013412535, 'lpips_loss': 1.0247015435, 'sr_lpips_loss': 1.1453602004, 'sr_lip_lpips_loss': 1.0416638839, 'lambda_ambient':<PHONE_NUMBER>789} 03/06 04:17:08 PM Epoch 00000@248000: saving model to checkpoints/motion2video_nerf/meimei_head/model_ckpt_steps_248000.ckpt 03/06 04:17:08 PM Delete ckpt: model_ckpt_steps_246000.ckpt

is this high loss normal? or how can I lower down the total_loss? Thanks

Till what number of steps does the training of head nerf takes place and how much time it takes.
can we stop the process and then resume it from the same checkpoints


Suggestion: add addy.io/login redirection

Hello,
sometimes when using anonaddy I try to log in by writing addy.io/login into the browser search bar.
However, there is no login page on the main website.
To enter it one needs to go to the subdomain app.addy.io, which prompts for a login.
I know that this is a neatpick so I can easily imagine ignoring this issue, but in the spirit of open source I bring this issue up.

Thanks for the suggestion. I don't think I will add this, partly because many bots and spammers automatically try "addy.io/login" and I prefer that they simply receive a 404.


Fix history dialog overflow

The class name for the history dialog wasn't being rendered by bluepint.js causing the css to be lost. Adding the classname as a separate div renders the css and prevents the dialog from overflowing.

lgtm

Looks good. 👍


Update create-dns-records-at-cloudflare.md

Made changes to the number of CName records

@msbemba - please check and add in the suggested changes from @JohanFreelancer9 for line 169 as applicable. Kindly validate and review. Thank you.

@msbemba - please check and add in the suggested changes from @JohanFreelancer9 for line 169 as applicable. Kindly validate and review. Thank you.

Made the changes as per the suggestion.

@pebaum - PR has been copy edited and is ready for final review. This is based on issue #929
Thank you.
cc: @kenwith


fix: next router skipping signed-in check

currently when a user signs into OWA and subsequently clicks the "Sign in" link in Aila (I.e they had the page open in another tab) they're presented with the error
"You're currently in single session mode. You can only be signed into one account at a time."
This appears to be caused by navigating to the page through the Next router. Replacing it with a plain anchor appears to trigger the expected signed-in check and redirect the user back to the app where they are signed in.
How to test

When signed out
Open labs
Open /sign-in in another tab
Sign in
Return to the first tab and click "Sign in"
Try to sign in
You should be redirected to the home page

Screenshots
How it used to look:
https://github.com/user-attachments/assets/a9f11e3d-0ebd-4817-a50d-d7fa5f24a52d
How it should now look:
https://github.com/user-attachments/assets/be04a9ba-6622-423e-92d7-bc1f9924b1c1
Checklist

[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Does this PR update a package with a breaking change

Thanks for the PR, @carlmw. Have you had a look at the use of the clerk SignIn component on the sign in page? While I'm sure that as hard refresh does fix the problem, it's possible that we can change the logic on that page to avoid the need for a sledgehammer-style workaround
For example, maybe we can conditionally render the SignIn component if we can detect this situation. On the other hand, if your team is in a rush and needs a quick fix, then we can push this change through and optimise it later instead

Okay I can see what's going on. It's the shared layout. <SignIn> relies on <ClerkProvider> to know if there is an active session. Since this is in the layout it doesn't update when navigating through the router. It's stale when we land on /sign-in and the logic inside <SignIn> that will automatically redirect when a user is already signed-in isn't triggered.
This issue can be reproduced entirely in labs.

When signed out
Open production labs
Open /sign-in in another tab
Sign in
Return to the first tab and click "Sign in"
Try to sign in
"You're currently in single session mode. You can only be signed into one account at a time."

I'm going to step away from this and we can raise a separate issue in labs.
My take is:
a. Make the link a proper anchor
b. Rejig the layouts so that /sign-in has it's own instance of <ClerkProvider> which should fetch the session whenever navigating to /sign-in (I think)
c. Find some method in Clerk that re-fetches (I found useClerk().client.reload() but that didn't seem to do what I was expecting and isn't documented)

Okay, thank you for the time you've spent investigating this and the steps to reproduce. Leave it with us and we'll keep you informed about the solution we take, as it might be useful to you as well

@codeincontext this may be redundant if #208 resolves the issue?

I don't think it's the same issue, but we can try these reproduction steps and find out. I have a hunch that these issues stem from lower down in Clerk


Using tabs when wrapping parameters and wrapping if needed

I was wondering if you're open to receiving two PRs to add two options for HTML.

An option to use tabs when wrapping parameters + indent_with_tabs:true. Right now it adds spaces, creating a mixed mode file. Something like wrap_attributes_with_tabs:bool.

An option to wrap parameters if they reach the wrap_line_length. Something similar to force-expand-multi-line but not forced. I don't have a good name for this option because I don't understand quite well what auto means for wrap_attributes.

We'd end up with a file formatted this way:

		content

This is to match a common JS/TS style used when wrapping parameters:
public test(
	oneVeryLongParameter: string,
	twoLongParameters: string,
	threeLongParameters: string
) {
	console.log("me");
}

Thanks

@ManuelDeLeon - We're open to PRs, but please file these two different enhancement proposals as two differ issues (keep one here and open a new issue for the other).
Also, before implementing, take a minute to describe the behaviors more fully.  Why would wrapping with tabs be better than spaces (if spaces are used for the rest of the file)?

The rest of the file uses tabs but right now wrapping parameters use spaces
instead of tabs.
I'll create another issue for the second point.
On Nov 27, 2017 2:43 PM, "Liam Newman"<EMAIL_ADDRESS>wrote:

@ManuelDeLeon https://github.com/manueldeleon - We're open to PRs, but
please file these two different enhancement proposals as two differ issues
(keep one here and open a new issue for the other).
Also, before implementing, take a minute to describe the behaviors more
fully. Why would wrapping with tabs be better than spaces (if spaces are
used for the rest of the file)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/beautify-web/js-beautify/issues/1294#issuecomment-347338055,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AED31j6P--s95RAOzwZKCbwc3IG5sHv-ks5s6yz0gaJpZM4Qmiiv
.

@ManuelDeLeon  Spaces instead of tabs: Oh!  If the rest fo the file already uses tabs then it would totally make sense for the wrapped attributes to use tabs as well - no additional option needed.  I would say it is a bug that the wrap indent doesn't do this already.
Note, using tabs for indent would probably need to disable some of the other wrap settings like force-aligned.

I thought it was intentional given this test:
        name: "Attribute Wrap alignment with spaces",
        description: "Ensure attributes are internally aligned with spaces when the indent_character is set to tab",
        matrix: [{
            options: [
                { name: "wrap_attributes", value: "'force-aligned'" },
                { name: "indent_with_tabs", value: "true" }
            ]
        }],
        tests: [{
            fragment: true,
            input: '

test

',
            output: '
\n\t
\n\t\t
test
\n\t
\n
'
        }]

Do you have a guide for running the tests?

@ManuelDeLeon
That test is probably just describing the current behavior and making sure it doesn't break further.
To run the tests see:
https://github.com/beautify-web/js-beautify/blob/master/CONTRIBUTING.md

@ManuelDeLeon
You request for wrapping  when reaching a specific line length please open this as a separate bug.  It might already be requested see #1404 and related.


Can't track amount open in product sensor

Hi,
I can't track amount opened in product sensor.
Also, I want to track where the product is, since in Grocy it can track product transfer.
Thanks again for great effort.

I will add something for the opened status :)
For the location, there is an attribute location in each sensor, so I don't understand what you're talking about when you say "I want to track where the product is"
Thanks

I pushed an update (v0.13.0) with 2 new attributes qty_opened and aggregated_opened in case you have parent products


Need ability to just set up a one key time lock

I've been using one key time locked addresses for years via coinb.in legacy addresses so I was wondering why you guys don't have this option as a default as well? Yes, timelocks are useful for recovery paths but for a Hodlr, they are a great way to store your funds so that you are not tempted to spend them or trade them in any way. I generally lock my coins for a year or two at a time and then re-lock them when they expire. Could you please allow a way to add a time lock to the primary path??

In response to your first comment, I don't think much of a UI change is needed to be honest. Maybe on the home screen the payments also show the "expires in X days" like seen on the coin selection on the send screen. The send screen of course would not have those coins selectable at all. Coins tab would be perfect the way it is showing the expire time. I don't even take issue with having the spend be under recovery since it makes sense in the larger purpose of the wallet. This is assuming of course you implement this feature by allowing the primary path to be null and simply the recovery path to be set.
Either way, any update would be a win win for me since currently I am having to plug in a public key which was derived from a destroyed private key as the primary path lol.
As for your second post, YES I absolutely agree with your predicament implementing CLTV. Since I'm using it with a specific purpose, I never considered what the implications would be regarding the burden of still wanting to "watch" the address long after the time expired. I didn't consider it since it didn't apply to me of course lol.
But still, an “advanced” settings option would be great. It could be as simple as a small window where you input a public key and a date. (Right here only an advanced user would be able to do this since only an advanced user would be able to use other wallet to derive the same xpub and get a corresponding public key to use from it.)
After hitting submit, the wallet takes the public key and date and spits out the segwit address and descriptor. The advanced user can now save that descriptor and start sending funds to that address. When the time has expired and the user is ready to move funds  you can have an advanced window where you paste in the descriptor and hit “Load” and it loads up all the available UTXO inputs to spend and gives you an address to fill out and transaction fee.  The advanced user can manage the address and descriptors themselves. Basically it would work just like the open source web wallet https://coinb.in/#home but with signing with a hardware wallet.

gm @nondiremanuel what would it take to add this to the roadmap? Happy to contribute any way I can :) thank you

gm @nondiremanuel what would it take to add this to the roadmap? Happy to contribute any way I can :) thank you

Hi @adrienlacombe, thanks for your question. We are currently trying to prioritize on the roadmap according to user and market validation and to the effort required by our team to implement it. On the former, at the moment other use cases seem to be impactful for a greater number of users (or potential ones), while also not being trivial in terms of both UI/UX and implementation. For these reasons, we don't have this feature in our near-term roadmap. Please consider that we are re-evaluating priorities every 6/8 weeks, so if there will be higher validation or lower effort to do it, this could change.
I'm very happy to hear that you are willing to contribute and you are of course very welcome to! One thing that could be very useful to more easily implement this would be to align the "recovery" feature (in "Settings") to what the "spend" does, in particular in being able to coin select and partially spend - while nowadays you can recover only all the recoverable coins at once. I think this would be an essential feature to have in case a user wanted to only be able to use the recovery path.
If you need more information or details, I'd be happy to talk more :)


add windows support for operating as a kubectl plugin

we will need both a powershell script and the same shell script that we use for linux and mac.

candidate powershell script:
$Env:KUI_POPUP_WINDOW_RESIZE="true"
$ScriptDir = Split-Path $script:MyInvocation.MyCommand.Path
Write-Host "Current script directory is $ScriptDir"
Write-Host "yoyo $args"
$argv = "kubectl " + $args
Start-Process -NoNewWindow $ScriptDir/Kui.exe -ArgumentList $argv


Add Virginia's Community Colleges

@bz2833 This domain is blacklisted because the college allows to register an email address there even if you are not a student of the college. If you are the student of this college, please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).


As a CIF Project Coordinator, I want an error to tell me if the RFP # is already being used so that I know what is wrong when I can't submit a project because the # is already in use.

Description
During usability testing with Siyue from the tech team, he was given duplicate information from the previous usability session which meant the RFP # he was asked to add was already in use. This meant he was unable to submit but no error showed up.
Acceptance Criteria
Given a project coordinator is creating or editing a project,
When they enter a duplicate RFP #,
They will be notified that the # is already in use.

This has been fixed since


Reference Error: Can't find variable: otpp_ResourceAccessor1288_$init3779

I'm working through quite a complex library that I'm trying to compile so I don't have a simple test case for this one yet.  The stack traces aren't too helpful here either... I can provide more information if you direct me as to what you need to know to fix this.
[Error] ReferenceError: Can't find variable: otpp_ResourceAccessor1288_$init3779
	(anonymous function) (runtime.js, line 459)
	(anonymous function) (runtime.js, line 493)
	(anonymous function) (runtime.js, line 542)
	(anonymous function) (runtime.js, line 542)
	(anonymous function) (runtime.js, line 542)
	(anonymous function) (runtime.js, line 542)
	(anonymous function) (runtime.js, line 542)
	(anonymous function) (runtime.js, line 542)
	(anonymous function) (runtime.js, line 542)
	(anonymous function) (runtime.js, line 530)

I don't know how could you help me to find a problem as well. Can you provide me the code? Here is a little hint: use JavaScript debugger and select "pause on caught exceptions"

By JavaScript debugger, are you referring to the Eclipse debugger stuff you did, or just Chrome's debugger?  I haven't tried with Eclipse yet.  Just using Chrome and Safari.

Nevermind.  Found it in Chrome.  Will post more shortly.

Here is the generated Javascript code.
https://gist.githubusercontent.com/shannah/5c63f68bfd157212acd1/raw/classes.js
It was generated more or less from the Codename One sources.
https://code.google.com/p/codenameone/source/checkout  (if you're looking to see java class equivalents).
Still working through the exceptions and stack trace to look for clues.

Here is the cluprit line.  It is referencing a constructor that wasn't generated.

I had some issues with Class.newInstance. It is impossible with current architecture to implement it properly, since I don't track actual values of Class. I think I'll include it as soon as I finish with async branch. For now I'll try to find workaround.
Here is a little hint for you: if you launch TeaVM compiler with -Dorg.teavm.logDependencies=true option, you'll get huge amount of debugging information about dependency checking phase. I sometimes use these logs when I encounter bug there.

Likely this is due to the fact that the ResourceAccessor class has a private constructor.  And it is never called (because all methods on the class are static ... and native).
I'm narrowing it down to this section of PlatformGenerator:
for (String clsName : context.getClassSource().getClassNames()) {
            ClassReader cls = context.getClassSource().get(clsName);
            MethodReader method = cls.getMethod(new MethodDescriptor("<init>", void.class));
            if (method != null) {
                writer.appendClass(clsName).append("[c]").ws().append("=").ws()
                        .append(writer.getNaming().getNameForInit(method.getReference()))
                        .append(";").softNewLine();
            }
        }

(lines 94-101).
I'm not sure yet what the purpose of these constructor references is, so I'm not sure if I can just skip private constructors in this altogether, or it I need to be explicitly adding dependencies to the constructors, or if I need to skip them based on other factors.

A simple workaround for now would be to change the assigments to something like:
otpp_ResourceAccessor1288[c] = window.otpp_ResourceAccessor1288_$init3779;

Instead of just
otpp_ResourceAccessor1288[c] = otpp_ResourceAccessor1288_$init3779;

As this wouldn't throw an exception... it would just set the value to undefined.

The problem was: I made all methods of ResourceAccessor class to be injectable. It means that their body are not generated, by rather special object, named Injector, is called to render method invocation. Of course, constructor, even if it is empty, must be generated. I just made exception for  method in class processor, and everyting began to work.


Only send particles within a certain radius to player

Edges and particle paths have no limit in length, which means that they can also have countless particles. Particles beyond a players view distance can make up the major calculation load and consume bandwidth but are not visible at all.
Calculation should be limited to a location and an approximated radius

I seem to have fixed this by the way and forgot to close the issue


Investigation: Slow performance on some user.edit web views.

I've been following Northstar performance a bit more closely with the Heroku switchover, and a few transactions have stood out! I'm going to make an issue for each one so we can prioritize digging in more closely in the future.
/users/{id}/edit 9550ms

This one is interesting because it doesn't seem like every request is slow but some are very slow. Here's another one that's a whopping 28,000ms with most time again spent in array methods.

References #159171074.


In frontend/Dockerfile I should probably specify versions of node and nginx to prevent breaking changes

Done (though I'm not using nginx at the moment).


Image Processor

Hi @LaurentMazare ,
I have been putting together an Image processor similar to ViTImageProcessor that can be used to process image inputs to different inputs. I see that image processing is implemented differently for different models
it looks something like this
let config = ProcessorConfig::default();
let processor = ImageProcessor::new(&config);

let output: Vec<Tensor> = processor.process(images)

Would it be something you'd like merged in here?

We don't have a very good place to put these at the moment. In candle-transformers we try to avoid having too many dependencies hence we don't have a dependency on image or image-proc and don't do anything image specific in there. In candle-examples we have some function to load and resize pictures so that they are in imagenet format and can be used by our computer vision examples.
I'm not sure what other functionalities your image processors provide but to me they most would probably be nice to have in some external repo next to the models that actually end up using them. At some point such functions might be good to consolidate in some shared place but it's hard to know really what will stick at this point so better to see once you've put out the models and processors how they endup being re-used and the feedback that they might gather from possible end users.

Fair enough, I'll close this then

Forgot to mention it but very curious about how you end up using this, so please give a link once there is a model repo or whatever.

For sure, I'll share a link


some thing goes wrong at parser.lua:254 when using coc

some thing goes wrong at parser.lua:254
-- local hl_type = config.options.symbols[symbols.kinds[node.kind]].hl
local hl_type = config.options.symbols[node.kind].hl
use symbols[node.kind] will be fine?

I am having an issue on the same line with CoQ and ccls. Works find with CoQ and other parsers though. Seems to be related to other ccls issues, such as issue #28

I arrived at the same conclusion and until #181 is merged you can try this instead:
use {
    "rbjorklin/symbols-outline.nvim",
    branch = "fix-outline-detection"
}

I arrived at the same conclusion and until #181 is merged you can try this instead:
use {
"rbjorklin/symbols-outline.nvim",
...

I tried, but get the same error as before: symbols-outline/parser.lua:254: attempt to index a nil value

My PR was superseded by #183 so do give that a try.

Now I have looked at the source code. There is no check that the value "node.kind" is not equal to nil. That is the cause of the error if it is equal to nil.

I have the same error while using ccls and neovim lsp, I tried #181 and it didn't fix it for me.

Now I have looked at the source code. There is no check that the value "node.kind" is not equal to nil. That is the cause of the error if it is equal to nil.

In fact, different lsp servers return different symbol infomation structures. The symbol information returned from some lsp server may have no kind field at all. The code in this project is not rebust enough to handle all the conditions. I think it is necessary to refractor the providers and make sure the symbol info returned from these providers follows an predefined structure (it helps reduce code coupling).

The reason I'm sticking with this project is because the tree structure looks so much better than the alternatives, but if I can't get cpp to work then it's not useful to me :-/

When you change parser.lua line 254 into
    local hl_type = ""
    if symbols.kinds[node.kind] ~= nil then
        hl_type = config.options.symbols[symbols.kinds[node.kind]].hl
    end

then the error is fixed (at least for me).

Thank you! Works like a charm


Client menu has problem with responsive

done! https://github.com/mishka-group/mishka-cms/pull/149/commits/4a5c2488afce1deadbf78efa8516fb85fcbdbf08 , https://github.com/mishka-group/mishka-cms/pull/149/commits/48d4cf78a0248dbc24344a84eb3afb65a35a7a25 , https://github.com/mishka-group/mishka-cms/pull/149/commits/fa3664c054d81fe41e81fdcbd4557a3277c5a19d


[Bug] Incorrect keccak256 hash computation on linux-x86_64 with keccak-asm

Component
primitives
What version of Alloy are you on?
0.7.7
Operating System
Linux
Describe the bug
Summary
When running the following test with --features asm-keccak on linux-x86_64, the following test fails under Ubuntu and Arch (x86_64), but passes on Mac:
fn test_foo_fails() {
    let a = alloy_primitives::keccak256("testFoo()");   // want: 0x79adbd5094e60c1bc2b963678ff44695d1430b8ccff0b1cd57c03a7f63567822
                                                        // got : 0xae33576402a61ff3a4a241b4a91d20ce98b70aa7bf0f388fb857111ec83aef73
    let b = alloy_primitives::keccak256("test_Foo()");
    println!("testFoo() : {:?}", a);
    println!("test_Foo(): {:?}", b);
    assert_eq!(format!("{a:?}"), String::from("0x79adbd5094e60c1bc2b963678ff44695d1430b8ccff0b1cd57c03a7f63567822"));
    assert_eq!(format!("{b:?}"), String::from("0x45c48c2bd4afc6adc7884fe296b9af10e234ddbc44f2f99f40cfb8b6391e9798"));   // this is always correct
}

testFoo() : 0xae33576402a61ff3a4a241b4a91d20ce98b70aa7bf0f388fb857111ec83aef73
test_Foo(): 0x45c48c2bd4afc6adc7884fe296b9af10e234ddbc44f2f99f40cfb8b6391e9798
thread 'tests::test_foo_fails' panicked at src/main.rs:19:9:
assertion `left == right` failed
  left: "0xae33576402a61ff3a4a241b4a91d20ce98b70aa7bf0f388fb857111ec83aef73"
 right: "0x79adbd5094e60c1bc2b963678ff44695d1430b8ccff0b1cd57c03a7f63567822"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    tests::test_foo_fails

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

The issue seems to be that the keccak256 hash is incorrectly calculated on linux but only for testFoo() and not for test_Foo().
The example has been minimized from foundry-zksync repository here https://github.com/nbaztec/repro-keccak-asm-issue
It is observed that exactly these collection of dependencies and their respective imports cause this issue to occur. If either one of the dependencies or their respective imports is removed, then the issue goes away.
It seems this issue could be related to openssl discrepancies but given a lot of unsafe rust is involved in keccak-asm repository, could might as well be something else.

Hey I cannot reproduce your result, in fact I can't even build the project
Can you please try updating to the latest keccak-asm version, or reverting to 0.1.0 if already at latest?

Might be some sort of symbol collision, but I still can't get it to reproduce. I would probably recommend trying to get off of openssl in general, but it might also be a fix for this.

I added an action that compiles and runs the test https://github.com/nbaztec/repro-keccak-asm-issue/actions/runs/10470617272/job/28996125941?pr=1#step:5:1235 first without asm-keccak, then with it. The first test passes but the second one fails.
You can see here:
running test without asm-keccak

running 1 test
test tests::test_foo_fails ... ok

successes:

---- tests::test_foo_fails stdout ----
testFoo() : 0x79adbd5094e60c1bc2b963678ff44695d1430b8ccff0b1cd57c03a7f63567822
test_Foo(): 0x45c48c2bd4afc6adc7884fe296b9af10e234ddbc44f2f99f40cfb8b6391e9798

successes:
    tests::test_foo_fails

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

..
running test with asm-keccak

running 1 test
test tests::test_foo_fails ... FAILED

successes:

successes:

failures:

---- tests::test_foo_fails stdout ----
testFoo() : 0xae33576402a61ff3a4a241b4a91d20ce98b70aa7bf0f388fb857111ec83aef73
test_Foo(): 0x45c48c2bd4afc6adc7884fe296b9af10e234ddbc44f2f99f40cfb8b6391e9798
thread 'tests::test_foo_fails' panicked at src/main.rs:19:9:
assertion `left == right` failed
  left: "0xae33576402a61ff3a4a241b4a91d20ce98b70aa7bf0f388fb857111ec83aef73"
 right: "0x79adbd5094e60c1bc2b963678ff44695d1430b8ccff0b1cd57c03a7f63567822"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    tests::test_foo_fails

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `--bin foundry-zksync-release-debug`

test_Foo() returns the correct keccak, but testFoo() does not. Unfortunately it's not trivial to figure out or remove openssl deps due to a complex dependency tree, but most seem to be native-tls.

Note that I was unable to reproduce it in the keccak-asm crate as well and this behavior only occurs when using this library through alloy_primitives and that's why I've opened the issue here.

Reduced:
src/main.rs
extern crate alloy_primitives;
extern crate openssl;

fn main() {
    assert_eq!(
        alloy_primitives::keccak256("testFoo()"),
        alloy_primitives::b256!("79adbd5094e60c1bc2b963678ff44695d1430b8ccff0b1cd57c03a7f63567822"),
    );
}

Cargo.toml
[package]
name = "foundry-zksync-release-debug"
version = "0.1.0"
edition = "2021"

[dependencies]
alloy-primitives = { version = "0.7", default-features = false }
openssl = { version = "0.10", features = ["vendored"] }

[features]
asm-keccak = ["alloy-primitives/asm-keccak"]

Running cargo run --features asm-keccak panics.
Applying this patch makes the command run fine again:
diff --git a/src/main.rs b/src/main.rs
index c82c4a9..1ae767f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,5 +1,5 @@
-extern crate alloy_primitives;
 extern crate openssl;
+extern crate alloy_primitives;

 fn main() {
     assert_eq!(

I am not sure how to fix this, it seems like it's a symbol conflict between the vendored openssl static library and keccak-asm's.

Thanks for isolating it to the openssl itself. Yeah I'm also out of ideas, seems the crate cannot be used if anything in the dependency tree uses vendored openssl.

Moved to https://github.com/DaniPopes/keccak-asm/issues/9

This has been fixed in keccak-asm 0.1.4 with https://github.com/DaniPopes/keccak-asm/pull/10


Swagger annotation improvements (task #6686)

Fixed required option for table definition.
Extended Swagger property annotation to include enum, description and more precise examples.

Codecov Report

Merging #588 into master will decrease coverage by 1.39%.
The diff coverage is 23.52%.

@@             Coverage Diff             @@
##             master     #588     +/-   ##
===========================================
- Coverage     29.44%   28.05%   -1.4%
- Complexity     1084     1100     +16
===========================================
  Files            93       93
  Lines          3620     3661     +41
===========================================
- Hits           1066     1027     -39
- Misses         2554     2634     +80

Impacted Files
Coverage Δ
Complexity Δ

src/Swagger/Annotation.php
40.43% <23.52%> (-39.15%)
48 <34> (+16)

Continue to review full report at Codecov.

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


build fails using release config

If building using the release config on the master branch:
swift build -c release

The build fails with a bunch of errors relating to Collection protocol conformance. Seems bizarre as the debug build works fine, so not sure if its a linker bug similar to SR-11564.

This is fixed on the main branch.

@stephencelis Amazing! And thanks for providing a great library, Stephen!


RuntimeError:cuda runtime error(2):out of memory at /opt/conda/conda-bld/pytorh_1524584710464/work/aten/src/THC/GENERIC/thcsTORAGE.CU:58

terminate called without an active exception
Aborted(core dumped)
when i set the batch_size and chunk_size 1or 2or 4,I met the problem Segmentation fault(core dumped)
Doyou know how to solve it?


"ERROR: Unable to download video subtitles for 'en': [Errno 2] No such file or directory" extracting from PlutoTV

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
I'm having an recurring issue where yt-dlp will fail to download a fragment, but error out because it can't find the downloaded fragment file instead of retrying the download. When it happens, if I re-run the command, yt-dlp retrieves the previously missing fragment and continues with the download normally. This sometimes doesn't happen for a stream. Sometimes several times in one stream. If I download the same stream multiple times, the error will occur for different fragments. It only happens with the vtt stream. The audio and video streams don't exhibit this issue.
For example:
ERROR: Unable to download video subtitles for 'en': [Errno 2] No such file or directory: 'Stargate SG-1/Season 09/Stargate SG-1 s09e20 Camelot.en.vtt.part-Frag244.part'
When I immediately re-ran the command, Frag244 was downloaded without error and the download completed without issue.
I don't think this is the PlutoTV server returning a 404 or other error because when that's happened it's repeatable (the same fragment always fails) and the error yt-dlp gives in those cases is different. This error is almost like yt-dlp fully believes it downloaded Frag244 and is now surprised it's not there.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '-N', '1', '--check-formats', '--embed-subs', '--keep-fragments', '-o', '%(series)s/Season %(season_number)02d/%(series)s s%(season_number)02de%(episode_number)02d %(title)s.%(ext)s', 'https://pluto.tv/en/on-demand/series/stargate-sg-1-ptv1/season/9/episode/camelot-9-20']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.07.18 [135f05e]
[debug] Python 3.8.13 (CPython 64bit) - FreeBSD-12.3-RELEASE-p5-amd64-64bit-ELF (libc 7)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2<IP_ADDRESS>, mutagen-1.45.1, websockets-10.3
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.07.18, Current version: 2022.07.18
yt-dlp is up to date (2022.07.18)
[debug] [PlutoTV] Extracting URL: https://pluto.tv/en/on-demand/series/stargate-sg-1-ptv1/season/9/episode/camelot-9-20
[PlutoTV] stargate-sg-1-ptv1: Downloading JSON metadata
[PlutoTV] 624202a9ec419d0008c30f90: Downloading m3u8 information
[PlutoTV] 624202a9ec419d0008c30f90: Downloading m3u8 playlist
[PlutoTV] 624202a9ec419d0008c30f90: Downloading m3u8 playlist
[PlutoTV] 624202a9ec419d0008c30f90: Downloading m3u8 playlist
[PlutoTV] 624202a9ec419d0008c30f90: Downloading m3u8 playlist
[PlutoTV] 624202a9ec419d0008c30f90: Downloading m3u8 playlist
[PlutoTV] 624202a9ec419d0008c30f90: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Downloading subtitles: en
[debug] Default format spec: bestvideo*+bestaudio/best
[info] Testing format hls-2374
[hlsnative] Downloading m3u8 manifest
ERROR: This video is DRM protected; Try selecting another format with --format or add --check-formats to automatically fallback to the next best format
  File "/home/melissa/.local/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/__init__.py", line 940, in main
    _exit(*variadic(_real_main(argv)))
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/__init__.py", line 932, in _real_main
    return ydl.download(all_urls)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3281, in download
    self.__download_wrapper(self.extract_info)(
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3257, in wrapper
    res = func(*args, **kwargs)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1422, in extract_info
    return self.__extract_info(url, self.get_info_extractor(ie_key), download, extra_info, process)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1431, in wrapper
    return func(self, *args, **kwargs)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1521, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1578, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2608, in process_video_result
    formats_to_download = list(format_selector({
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2120, in selector_function
    yield from f(ctx)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2219, in final_selector
    return selector_function(ctx_copy)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2131, in selector_function
    picked_formats = list(f(ctx))
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2140, in selector_function
    for pair in itertools.product(selector_1(ctx), selector_2(ctx)):
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2209, in selector_function
    yield matches[format_idx - 1]
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/utils.py", line 2696, in __getitem__
    self._cache.extend(itertools.islice(self._iterable, n))
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2112, in _check_formats
    yield from self._check_formats(formats)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1883, in _check_formats
    success, _ = self.dl(temp_file.name, f, test=True)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2860, in dl
    return fd.download(name, new_info, subtitle)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/common.py", line 444, in download
    ret = self.real_download(filename, info_dict)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/hls.py", line 82, in real_download
    self.report_error(
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 971, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 903, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

[info] Unable to download format hls-2374. Skipping...
[info] Testing format hls-2387
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 523
[download] Destination: /tmp/tmpx2atrt6i.tmp
[download] 100% of 1.14MiB in 00:00
[info] Testing format hls-2374
[hlsnative] Downloading m3u8 manifest
ERROR: This video is DRM protected; Try selecting another format with --format or add --check-formats to automatically fallback to the next best format
  File "/home/melissa/.local/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/__init__.py", line 940, in main
    _exit(*variadic(_real_main(argv)))
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/__init__.py", line 932, in _real_main
    return ydl.download(all_urls)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3281, in download
    self.__download_wrapper(self.extract_info)(
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3257, in wrapper
    res = func(*args, **kwargs)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1422, in extract_info
    return self.__extract_info(url, self.get_info_extractor(ie_key), download, extra_info, process)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1431, in wrapper
    return func(self, *args, **kwargs)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1521, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1578, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2608, in process_video_result
    formats_to_download = list(format_selector({
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2120, in selector_function
    yield from f(ctx)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2219, in final_selector
    return selector_function(ctx_copy)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2131, in selector_function
    picked_formats = list(f(ctx))
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2120, in selector_function
    yield from f(ctx)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2209, in selector_function
    yield matches[format_idx - 1]
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/utils.py", line 2696, in __getitem__
    self._cache.extend(itertools.islice(self._iterable, n))
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2112, in _check_formats
    yield from self._check_formats(formats)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1883, in _check_formats
    success, _ = self.dl(temp_file.name, f, test=True)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2860, in dl
    return fd.download(name, new_info, subtitle)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/common.py", line 444, in download
    ret = self.real_download(filename, info_dict)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/hls.py", line 82, in real_download
    self.report_error(
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 971, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 903, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

[info] Unable to download format hls-2374. Skipping...
[info] Testing format hls-2387
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 523
[download] Destination: /tmp/tmp7xw3trww.tmp
[download] 100% of 1.14MiB in 00:00
[info] 624202a9ec419d0008c30f90: Downloading 1 format(s): hls-2387
[info] Writing video subtitles to: Stargate SG-1/Season 09/Stargate SG-1 s09e20 Camelot.en.vtt
[debug] Invoking hlsnative downloader on "https://siloh-aka.plutotv.net/081_MGM_Studios/clip/6241f908d5556100138457e4_Camelot/720pDRM/20220331_054603/hls/0-end/fp/en.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 492
[download] Destination: Stargate SG-1/Season 09/Stargate SG-1 s09e20 Camelot.en.vtt
[download]  49.4% of ~96.36KiB at    1.04KiB/s ETA 01:05 (frag 243/492)ERROR: Unable to download video subtitles for 'en': [Errno 2] No such file or directory: 'Stargate SG-1/Season 09/Stargate SG-1 s09e20 Camelot.en.vtt.part-Frag244.part'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/http/client.py", line 556, in _get_chunk_left
    chunk_left = self._read_next_chunk_size()
  File "/usr/local/lib/python3.8/http/client.py", line 523, in _read_next_chunk_size
    return int(line, 16)
ValueError: invalid literal for int() with base 16: b''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/http/client.py", line 588, in _readinto_chunked
    chunk_left = self._get_chunk_left()
  File "/usr/local/lib/python3.8/http/client.py", line 558, in _get_chunk_left
    raise IncompleteRead(b'')
http.client.IncompleteRead: IncompleteRead(0 bytes read)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/http.py", line 256, in download
    data_block = ctx.data.read(block_size if not is_test else min(block_size, data_len - byte_counter))
  File "/usr/local/lib/python3.8/http/client.py", line 459, in read
    n = self.readinto(b)
  File "/usr/local/lib/python3.8/http/client.py", line 493, in readinto
    return self._readinto_chunked(b)
  File "/usr/local/lib/python3.8/http/client.py", line 604, in _readinto_chunked
    raise IncompleteRead(bytes(b[0:total_bytes]))
http.client.IncompleteRead: IncompleteRead(310 bytes read)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3897, in _write_subtitles
    self.dl(sub_filename, sub_copy, subtitle=True)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2860, in dl
    return fd.download(name, new_info, subtitle)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/common.py", line 444, in download
    ret = self.real_download(filename, info_dict)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/hls.py", line 351, in real_download
    self.download_and_append_fragments(
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/fragment.py", line 524, in download_and_append_fragments
    download_fragment(fragment, ctx)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/fragment.py", line 459, in download_fragment
    if self._download_fragment(ctx, fragment['url'], info_dict, headers):
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/fragment.py", line 125, in _download_fragment
    success, _ = ctx['dl'].download(fragment_filename, fragment_info_dict)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/common.py", line 444, in download
    ret = self.real_download(filename, info_dict)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/http.py", line 376, in real_download
    return download()
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/http.py", line 258, in download
    retry(err)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/downloader/http.py", line 250, in retry
    else os.path.getsize(encodeFilename(ctx.tmpfilename)))
  File "/usr/local/lib/python3.8/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: 'Stargate SG-1/Season 09/Stargate SG-1 s09e20 Camelot.en.vtt.part-Frag244.part'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1431, in wrapper
    return func(self, *args, **kwargs)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1521, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1578, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2661, in process_video_result
    self.process_info(new_info)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2919, in process_info
    sub_files = self._write_subtitles(info_dict, temp_filename)
  File "/home/melissa/.local/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3905, in _write_subtitles
    raise DownloadError(msg)
yt_dlp.utils.DownloadError: Unable to download video subtitles for 'en': [Errno 2] No such file or directory: 'Stargate SG-1/Season 09/Stargate SG-1 s09e20 Camelot.en.vtt.part-Frag244.part'

I also have this issue on 2023.10.13:
% yt-dlp -U
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>
I can confirm it's not site-specific. I get it on the Rooster Teeth website.
Note that the error is a local ENOENT, not a 404 not found. Somehow, a fragment file yt-dlp is downloading doesn't exist. May be related to yt-dlp receiving an empty fragment or premature EOF and not handling that correctly.
% yt-dlp --verbose --no-abort-on-error --format='bestvideo*+bestaudio/best' --downloader-args ffmpeg:"-http_persistent 0" --downloader-args ffmpeg:"-loglevel warning -stats" --all-subs --embed-subs --add-metadata https://www.roosterteeth.com/watch/rwby-volume-6-10
[debug] Command-line config: ['--downloader-args', 'ffmpeg:-http_persistent 0', '--downloader-args', 'ffmpeg:-loglevel warning -stats', '--all-subs', '--embed-subs', '--format=701+258/701+140/299+258/299+140/137+258/137+140/22/18', '--add-metadata', '--verbose', '--no-abort-on-error', '--format=bestvideo*+bestaudio/best', 'https://www.roosterteeth.com/watch/rwby-volume-6-9', 'https://www.roosterteeth.com/watch/rwby-volume-6-10', 'https://www.roosterteeth.com/watch/rwby-volume-6-11', 'https://www.roosterteeth.com/watch/rwby-volume-6-13']
Deprecated Feature: Support for Python version 3.7 has been deprecated. See  https://github.com/yt-dlp/yt-dlp/issues/7803  for details.
                    You may stop receiving updates on this version at any time! Please update to Python 3.8 or above
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out UTF-8, error UTF-8, screen UTF-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b634ba742] (pip)
[debug] Python 3.7.3 (CPython x86_64 64bit) - Darwin-21.6.0-x86_64-i386-64bit (OpenSSL 1.1.0j  20 Nov 2018)
[debug] exe versions: ffmpeg 4.1.1-tessus, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2021.05.30, mutagen-1.45.1, sqlite3-3.22.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1890 extractors
[RoosterTeeth] Extracting URL: https://www.roosterteeth.com/watch/rwby-volume-6-10
[RoosterTeeth] rwby-volume-6-10: Downloading video JSON metadata
[RoosterTeeth] rwby-volume-6-10: Downloading m3u8 information
[RoosterTeeth] rwby-volume-6-10: Downloading episode JSON metadata
[info] 30121: Downloading subtitles: en, de, es, fr, pt
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] 30121: Downloading 1 format(s): hls-4602+hls-audio-3-en__Main_
Deleting existing file Stealing from the Elderly [30121].en.vtt
[info] Writing video subtitles to: Stealing from the Elderly [30121].en.vtt
[debug] Invoking hlsnative downloader on "https://ssaimanifest.prod.boltdns.net/us-east-1/playback/once/v1/hls/v4/clear/6203312018001/ddc307e2-0354-47b3-861c-073c2c03cae5/818e4c16-062e-47a0-b373-df7a9b62704a/cc6f0bb5-2ae3-4647-90d7-9d9bedbea1ae/subtitle_en/media.m3u8?bc_token=NjUzMjIwMWRfMTIzYTA3NTUzMmE2MGFiZThlOTY5OWFjZDNhYTk2NTkyOTI4NTJkNTgwNmI0ZjQ1MzdkZmEwZGU2MzEwOWEzOA%3D%3D"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 31
[download] Destination: Stealing from the Elderly [30121].en.vtt
[download] 100% of   13.33KiB in 00:00:01 at 7.45KiB/s
Deleting existing file Stealing from the Elderly [30121].de.vtt
[info] Writing video subtitles to: Stealing from the Elderly [30121].de.vtt
[debug] Invoking hlsnative downloader on "https://ssaimanifest.prod.boltdns.net/us-east-1/playback/once/v1/hls/v4/clear/6203312018001/ddc307e2-0354-47b3-861c-073c2c03cae5/818e4c16-062e-47a0-b373-df7a9b62704a/cc6f0bb5-2ae3-4647-90d7-9d9bedbea1ae/subtitle_de/media.m3u8?bc_token=NjUzMjIwMWRfNjFjNDVhMDNmN2UzYmI0MWE3N2ViNGZjMjRlZjZlMjM2MWYwN2YxN2I2OWE4YjY5MmI2N2E0N2E4YmI3NzBmNQ%3D%3D"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 31
[download] Destination: Stealing from the Elderly [30121].de.vtt
[download] 100% of   10.15KiB in 00:00:03 at 2.76KiB/s
Deleting existing file Stealing from the Elderly [30121].es.vtt
[info] Writing video subtitles to: Stealing from the Elderly [30121].es.vtt
[debug] Invoking hlsnative downloader on "https://ssaimanifest.prod.boltdns.net/us-east-1/playback/once/v1/hls/v4/clear/6203312018001/ddc307e2-0354-47b3-861c-073c2c03cae5/818e4c16-062e-47a0-b373-df7a9b62704a/cc6f0bb5-2ae3-4647-90d7-9d9bedbea1ae/subtitle_es/media.m3u8?bc_token=NjUzMjIwMWRfMjRhZmJlZDc2MmNmMTkwZTMxYmJjYTAxMzZmMjhlZGRmMTljMzBhMTM1ZmU1YjcyY2VlOWQ0NGFkNjZhNDhlNw%3D%3D"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 31
[download] Destination: Stealing from the Elderly [30121].es.vtt
[download] 100% of    9.10KiB in 00:00:03 at 2.96KiB/s
[info] Writing video subtitles to: Stealing from the Elderly [30121].fr.vtt
[debug] Invoking hlsnative downloader on "https://ssaimanifest.prod.boltdns.net/us-east-1/playback/once/v1/hls/v4/clear/6203312018001/ddc307e2-0354-47b3-861c-073c2c03cae5/818e4c16-062e-47a0-b373-df7a9b62704a/cc6f0bb5-2ae3-4647-90d7-9d9bedbea1ae/subtitle_fr/media.m3u8?bc_token=NjUzMjIwMWRfMjMzYWFhMDE3OGNhMDU3YWU2NThhYWQxYzFmZTc5ODY0MDk3Y2VjMDllYjM5NmIzZTExOTVjZWU3M2U5NjQwNg%3D%3D"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 31
[download] Destination: Stealing from the Elderly [30121].fr.vtt
[download] 100% of    8.66KiB in 00:00:01 at 5.16KiB/s
[info] Writing video subtitles to: Stealing from the Elderly [30121].pt.vtt
[debug] Invoking hlsnative downloader on "https://ssaimanifest.prod.boltdns.net/us-east-1/playback/once/v1/hls/v4/clear/6203312018001/ddc307e2-0354-47b3-861c-073c2c03cae5/818e4c16-062e-47a0-b373-df7a9b62704a/cc6f0bb5-2ae3-4647-90d7-9d9bedbea1ae/subtitle_pt/media.m3u8?bc_token=NjUzMjIwMWRfNTFlYTk4M2Q3NzQ3MmI0ZjUwOGQ4MTcxZDExZDlmMDRkZDQ5NzFiMjE3NTYzYzliYmYxNzdmMGQ1ZGQ0ZmVkYg%3D%3D"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 31
[download] Destination: Stealing from the Elderly [30121].pt.vtt
[download]  30.8% of ~  11.40KiB at    1.44KiB/s ETA 00:05 (frag 10/31)ERROR: Unable to download video subtitles for 'pt': [Errno 2] No such file or directory: 'Stealing from the Elderly [30121].pt.vtt.part-Frag11.part'
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 544, in _get_chunk_left
    chunk_left = self._read_next_chunk_size()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 511, in _read_next_chunk_size
    return int(line, 16)
ValueError: invalid literal for int() with base 16: b''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 576, in _readinto_chunked
    chunk_left = self._get_chunk_left()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 546, in _get_chunk_left
    raise IncompleteRead(b'')
http.client.IncompleteRead: IncompleteRead(0 bytes read)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/networking/_urllib.py", line 324, in read
    return self.fp.read(amt)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 447, in read
    n = self.readinto(b)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 481, in readinto
    return self._readinto_chunked(b)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 592, in _readinto_chunked
    raise IncompleteRead(bytes(b[0:total_bytes]))
http.client.IncompleteRead: IncompleteRead(564 bytes read)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/http.py", line 247, in download
    data_block = ctx.data.read(block_size if not is_test else min(block_size, data_len - byte_counter))
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/networking/_urllib.py", line 326, in read
    handle_response_read_exceptions(e)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/networking/_urllib.py", line 340, in handle_response_read_exceptions
    raise IncompleteRead(partial=len(e.partial), cause=e, expected=e.expected) from e
yt_dlp.networking.exceptions.IncompleteRead: 564 bytes read

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 4211, in _write_subtitles
    self.dl(sub_filename, sub_copy, subtitle=True)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 3108, in dl
    return fd.download(name, new_info, subtitle)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/common.py", line 455, in download
    ret = self.real_download(filename, info_dict)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/hls.py", line 373, in real_download
    ctx, fragments, info_dict, pack_func=pack_fragment, finish_func=fin_fragments)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/fragment.py", line 514, in download_and_append_fragments
    download_fragment(fragment, ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/fragment.py", line 464, in download_fragment
    ctx, fragment['url'], info_dict, headers, info_dict.get('request_data')):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/fragment.py", line 125, in _download_fragment
    success, _ = ctx['dl'].download(fragment_filename, fragment_info_dict)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/common.py", line 455, in download
    ret = self.real_download(filename, info_dict)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/http.py", line 365, in real_download
    return download()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/http.py", line 249, in download
    retry(err)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/http.py", line 241, in retry
    else os.path.getsize(encodeFilename(ctx.tmpfilename)))
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: 'Stealing from the Elderly [30121].pt.vtt.part-Frag11.part'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 1567, in wrapper
    return func(self, *args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 1723, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 1782, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 2921, in process_video_result
    self.process_info(new_info)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 3175, in process_info
    sub_files = self._write_subtitles(info_dict, temp_filename)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 4219, in _write_subtitles
    raise DownloadError(msg)
yt_dlp.utils.DownloadError: Unable to download video subtitles for 'pt': [Errno 2] No such file or directory: 'Stealing from the Elderly [30121].pt.vtt.part-Frag11.part'

The first exception in that chain of exceptions is:
[download]  30.8% of ~  11.40KiB at    1.44KiB/s ETA 00:05 (frag 10/31)ERROR: Unable to download video subtitles for 'pt': [Errno 2] No such file or directory: 'Stealing from the Elderly [30121].pt.vtt.part-Frag11.part'
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 544, in _get_chunk_left
    chunk_left = self._read_next_chunk_size()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 511, in _read_next_chunk_size
    return int(line, 16)
ValueError: invalid literal for int() with base 16: b''

And the last one is:
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 4211, in _write_subtitles
    self.dl(sub_filename, sub_copy, subtitle=True)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 3108, in dl
    return fd.download(name, new_info, subtitle)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/common.py", line 455, in download
    ret = self.real_download(filename, info_dict)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/hls.py", line 373, in real_download
    ctx, fragments, info_dict, pack_func=pack_fragment, finish_func=fin_fragments)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/fragment.py", line 514, in download_and_append_fragments
    download_fragment(fragment, ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/fragment.py", line 464, in download_fragment
    ctx, fragment['url'], info_dict, headers, info_dict.get('request_data')):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/fragment.py", line 125, in _download_fragment
    success, _ = ctx['dl'].download(fragment_filename, fragment_info_dict)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/common.py", line 455, in download
    ret = self.real_download(filename, info_dict)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/http.py", line 365, in real_download
    return download()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/http.py", line 249, in download
    retry(err)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yt_dlp/downloader/http.py", line 241, in retry
    else os.path.getsize(encodeFilename(ctx.tmpfilename)))
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: 'Stealing from the Elderly [30121].pt.vtt.part-Frag11.part'

Also, repeatedly attempting the same video eventually succeeds. It's like I'm gradually warming up some cache that the subs are being served from.
Best way to repro is to download an entire series or something, probably one of the older or less-popular ones (I'm downloading “RWBY” which is several years old). Sooner or later, you'll hit this on some video, and probably be able to hit it a few times before all the subs eventually succeed and yt-dlp proceeds to download the video and audio streams.

I particularly encountered this on “RWBY” seasons 3 through 7. 1, 2, and 8 all downloaded without trouble.


ios 7.1 fatal error

I use xcode 6.4 and when i run this code in ios 7.1 simulator this error becomes
for line 357
let rv = UIApplication.sharedApplication().keyWindow! as UIWindow
fatal error: unexpectedly found nil while unwrapping an Optional value
is any solution for ios 7.1
regards
Orkun

This works for me with iOS7 and up:
let rv = UIApplication.sharedApplication().keyWindow?.subviews.last as! UIView

However, keyWindow shouldn't be nil.
My problem with that line is that it broke the view with iOS7 and landscape mode.

Same issue.
Anybody fixed it, please?


CX Unchecked_Input_for_Loop_Condition @ projects/Cli_todo/todo.py [master]

Unchecked_Input_for_Loop_Condition issue exists @ projects/Cli_todo/todo.py in branch master
Method todo at line 10 of projects\Cli_todo\todo.py gets user input from element readlines . This element’s value flows through the code without being validated, and is eventually used in a loop condition in todo at line 13 of projects\Cli_todo\todo.py. This constitutes an Unchecked Input for Loop Condition.Similarity ID:<PHONE_NUMBER>
Severity: Medium
CWE:606
Vulnerability details and guidance
Internal Guidance
Checkmarx
Training
Recommended Fix
Lines: 10

Code (Line #10):
content = f.readlines()

Issue still exists.


Replace macros with const and constexpr

Macros are bad practices in C++, and everything they do currently can be replaced by const and constexpr.

Partially done by #12, but still needs some more work.


Trying to add loop on GIF watermark gives error

I am adding gif watermark on a the video and it is giving me error No such filter: '-ignore_loop 0' when I am trying to add the loop in that GIF.
Here is the code I am using
$customFilter = (' -ignore_loop 0 ');
addFilter(function ($filters) use ($watermarkPath) {
                        $filters->watermark($watermarkPath, [
                            'position' => 'absolute',
                            'bottom' => 300,
                            'right' => 100,
                            'scale=w' => 300,
                            'scale=h' => 200,
                        ]
                    );
                    })
->addFilter(function ($filters) use ($customFilter) {
                        $filters->custom( $customFilter );

                 })

This is the output command
'/usr/local/bin/ffmpeg' '-y' '-i' '/Users/xfd/Documents/Projects/Test/storage/app/public/uploaded/AboruApZgJgf7faZ9mTAPBu5a2qn2w4ldWbosAdb.mp4' '-preset' 'ultrafast' '-threads' '12' '-vcodec' 'libx264' '-acodec' 'libmp3lame' '-b:v' '2500k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-vf' 'movie=/Users/xfd/Documents/Projects/Test/public/storage/img/vfilter/aruba_frame.gif [watermark];[in]-ignore_loop 0[p0];[p0][watermark] overlay=0:0 [out]' '-pass' '1' '-passlogfile' '/var/folders/pg/7b4c598j08nd4lcd6c2h4_zr0000gn/T/ffmpeg-passes5ec2fe304004fhdai8/pass-5ec2fe304026f' '/Users/xfd/Documents/Projects/Test/storage/app/public/7.mp4'
Please let me know what I am doing wrong here.  Thank you
edit:
I did try the method you suggested in docs, that also didn't work (doesn't loop the gif).
->addFilter('-ignore_loop', 0);

The -ignore_loop 0 should be added before the -i parameter. The current version of this package doesn't support that. I've rewritten the package (will be released in a few weeks) and you can already try it!
Could you test the v7 branch? Almost no breaking changes except for some filter stuff in HLS exports. You can set these parameters on the format instance.
https://github.com/pascalbaljetmedia/laravel-ffmpeg/tree/v7
composer require "pbmedia/laravel-ffmpeg:v7.x-dev"
<?php

$format = new X264;
$format->setInitialParameters(['-ignore_loop', 0]);

Thank you so much for your time. I did try the v7 and I am getting this error
syntax error, unexpected 'Disk' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
on this first line
$filter = FFMpeg::fromDisk('public')
        ->open($this->video->path)

I haven't changed any of the code so far besides adding ignore loop here
$high = (new X264('aac'))->setKiloBitrate(1500)
        ->setInitialParameters(['-ignore_loop', 0]);

Could you share the full code and stack trace?

Laravel 7.11
PHP 7.4.6
Mysql
   $video = Video::create([
            'disk'          => 'public',
            'original_name' => $request->video->getClientOriginalName(),
            'path'          => $request->video->store('uploaded', 'public'),
            'title'         => $request->title,
        ]);

        $this->video = $video;
        $high = (new X264('aac'))->setKiloBitrate(1500);
        // $lowBitrateFormat = (new X264('libmp3lame', 'libx264'))->setKiloBitrate(2500);
        $watermarkPath = public_path('storage/img/vfilter/test.gif');
        //  $customFilter = (" -ignore_loop  0 ");

        $filter = FFMpeg::fromDisk($this->video->disk)
        ->open($this->video->path)
                     ->addFilter('-preset', 'ultrafast')
                     ->setInitialParameters(['-ignore_loop', 0])
                     ->addFilter(function ($filters) use ($watermarkPath) {
                        $filters->watermark($watermarkPath, [
                            'position' => 'absolute',
                            'bottom' => 50,
                            'right' => 0,
                            'scale=w' => 300,
                            'scale=h' => 200,
                        ]
                    );
                    })
                    ->addFilter(function ($filters) use($customFilter) {
                        $filters->custom($customFilter);
                 })
                    ->export()
                     ->toDisk('public')
                     ->inFormat($high)

                    ->save($this->video->id . '.mp4');

                    $this->video->update([
                        'converted_for_streaming_at' => Carbon::now(),
                    ]);

        $streamUrl = Storage::disk('public')->url($video->id . '.mp4');

        return redirect('/newhome')
            ->with('status', $streamUrl);

    }

@pascalbaljet Sorry to bother you but wanted to ask if you managed to look into it. Thank you.

Could you share the full code and stack trace?

Sorry didn't understand before.
https://flareapp.io/share/dmk36bm3#F1

According to the Flare error, you're running PHP 7.2. v7 is PHP 7.4 only.

That's weird, my cli shows php7.4. I checked vs it shows 7.2, let me correct that and try.

According to the Flare error, you're running PHP 7.2. v7 is PHP 7.4 only.

Here is the error I am getting
`Call to undefined method Pbmedia\LaravelFFMpeg\MediaOpener::setInitialParameters()

You need to call setInitialParameters on the format, not on the FFMpeg facade or MediaOpener instance. See https://github.com/pascalbaljetmedia/laravel-ffmpeg/issues/188#issuecomment-630628570

LOG.error: ffmpeg failed to execute command
'/usr/local/bin/ffmpeg' '-y' '-ignore_loop' '0' '-i' '/Users/xyz/Documents/Projects/test/storage/app/public/uploaded/ldgiEAPPZdGuOdEnVgkJpKG9SCk5n4rCqZtBT9qH.mp4' '-preset' 'ultrafast' '-ignore_loop' '0' '-threads' '12' '-vcodec' 'libx264' '-acodec' 'aac' '-b:v' '1500k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-vf' 'movie=/Users/xyz/Documents/Projects/test/public/storage/img/vfilter/test-filter.gif [watermark];[in]scale=1080:1920 [p0];[p0][watermark] overlay=1:main_h - 1 - overlay_h [out]' '-pass' '1' '-passlogfile' '/var/folders/pg/7b4c598j08nd4lcd6c2h4_zr0000gn/T/ffmpeg-passes5edffcade9229yb201/pass-5edffcade92f4' '/Users/pradeep/Documents/Projects/AllLaravel/storage/app/public/46.mp4': ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers   built with Apple clang version 11.0.3 (clang-1<IP_ADDRESS>)   configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_3 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags=-fno-stack-check --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack   libavutil      56. 31.100 / 56. 31.100   libavcodec     58. 54.100 / 58. 54.100   libavformat    58. 29.100 / 58. 29.100   libavdevice    58.  8.100 / 58.  8.100   libavfilter     7. 57.100 /  7. 57.100   libavresample   4.  0.  0 /  4.  0.  0   libswscale      5.  5.100 /  5.  5.100   libswresample   3.  5.100 /  3.  5.100   libpostproc    55.  5.100 / 55.  5.100 Option ignore_loop not found.
Feel free to close it because I have finished the project sorta. But if there is a work around for this I will keep a look out.
Thank you for all your help and work.

ignore_loop only works with a GIF, both your input and output are MP4.

I think ignore_loop only works with a GIF, both your input and output are MP4.

I actually ran the command directly on console and it works. Below is the cmd I used
ffmpeg -y -i test-video.mp4 -ignore_loop 0 -i test-filter.gif -filter_complex "[1:v]scale=1080:1920[ovrl];[0:v][ovrl]overlay=0:0" -frames:v 900 -codec:a copy -codec:v libx264 -max_muxing_queue_size 2048 output.mp4


gemspec is not vaild

I cant figure this out so last resort to post it here
The gemspec at /home/chris/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/bundler/gems/active_admin_editor-86f964be3071/active_admin_editor.gemspec is not valid. The validation error was 'duplicate dependency on activeadmin (~> 0.4.3, development), (>= 0.4.0) use:
add_runtime_dependency 'activeadmin', '~> 0.4.3', '>= 0.4.0'
let me know if/what you need

We also just started seeing this. Everything works fine with bundler 1.9.1, but in an environment with bundler 1.10.3 we get this error.

I ended up just installing bundler 1.9.1. There is a PR that fixes this, but I would assume there is no intention to merge this in looking at the activity on this repo. Another option instead of changing bundler version would be to point your Gemfile to the forked repo with the fix.

gem 'active_admin_editor', github: 'boontdustie/active_admin_editor'


Crash on swiping the install apps screen (with trackpad) or scrolling (with mouse)

Dev Home version
<IP_ADDRESS>
Windows build number
10.0.22621.1413
Other software
OS Build Version: 10.0.22621.1413.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.16
Steps to reproduce the bug
Fix this bug of crashing by navigation (code error)
Expected result
Scroll through app installer on dev home
Actual result
The App Crashes
Included System Information
CPU: AMD Ryzen 7 6800H with Radeon Graphics
Physical Memory: 15.25GB (7.82GB free)
Processor Architecture: x64
Included Extensions Information
No response

Duplicate #768


[Enhancement] Allow component only build in distribution pipeline

As of now, our distribution build workflow for OS and OSD will build everything put in the manifest file.
This cause some issue and dependency problems when you only want to build one component, such as core, so plugin owners can consume the latest Maven and pass their checks on PR.
Example:

2.0.0 GA requires all plugins to remove rc1 to build successfully.
Plugins cannot remove rc1 because their PR checks fail due to no 2.0.0 GA maven/docker.
But we cannot build 2.0.0 GA due to plugin still have rc1 qualifier.
The only solution to this is to only build 2.0.0 GA core, which current pipeline does not support, but python code already support with --component parameter.

Thanks.

I think you're proposing to create a new pipeline for OpenSearch-min that can be run on demand.

We dont need to create a new pipeline, just add one param in the existing pipeline is enough.

This confirms to push 2.0.0-SNAPSHOT with @prudhvigodithi.
2.0.0-SNAPSHOT/ 	Tue May 10 19:31:29 UTC 2022