Linux Support

Would be great to have Linux support!

@edeuss I recently published Desktop Entry that might be helpful. It includes an example project that uses Deep Links.
It uses the Desktop Entry Specification in conjunction with DBus to launch an app from a custom scheme URI or open it in an existing instance of the app if one is already open.
I think the primary reason this problem has not been handled by various packages is that the operations to register a custom scheme would be best performed by an installer / distributor. E.g. Flatpak, Steam etc.

@markvideon do you have an idea how one could handle it for a snap?

I have implemented the deep linking feature on Linux.
Initially, I followed the suggestion from @markvideon and implemented it on Linux. However, it's too complicated for the setup step.
Later, my colleague hinted to me that there's a package named gtk.dart which might be helpful. So, I integrated it, and it works perfectly on my PC. Here's the video for reference:
https://github.com/llfbandit/app_links/assets/11863087/39f1221d-7e09-493d-9768-2411085c7083
It just needs a few steps to set up:

Modify the application.cc by following the documentation for gtk.dart.
Create a GtkApplicationNotifier variable and add the command line listener to it.
Add x-scheme-handler to your desktop file.
Done!

@LucasXu0 wow! Really appreciate your work! If using your second approach, does it also work in Snap and Flatpak?

@CaptainDario Yes. The running application in the video was built by flatpak. I didn't verify it on snap, but I suppose that it should work too.

Wow, then this is really awesome! Hopefully, it gets included in this package.

Would you mind trying it with commit? Because I've made several modifications to my forked repo, and cleaning up the test code will require some time.
Override these deps in the pubspec.yaml.
dependency_overrides:
  app_links:
    git:
      url: https://github.com/LucasXu0/app_links
      ref: c64ce17
  url_protocol:
    git:
      url: https://github.com/LucasXu0/flutter_url_protocol.git
      commit: 77a8420

Sure would love to give it a try!
So I have to

override deps

dependency_overrides:
  app_links:
    git:
      url: https://github.com/LucasXu0/app_links
      ref: c64ce17
  url_protocol:
    git:
      url: https://github.com/LucasXu0/flutter_url_protocol.git
      commit: 77a8420

my_application_activate(): activate an existing window if present

diff --git a/example/linux/my_application.cc b/example/linux/my_application.cc
index 5cd43c6..94e7215 100644
--- a/linux/my_application.cc
+++ b/linux/my_application.cc
@@ -20,6 +20,12 @@ static void my_application_activate(GApplication* application) {
   GtkWindow* window =
       GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));

+  GList* windows = gtk_application_get_windows(GTK_APPLICATION(application));
+  if (windows) {
+    gtk_window_present(GTK_WINDOW(windows->data));
+    return;
+  }
+
   // Use a header bar when running in GNOME as this is the common style used
   // by applications and is the setup most users will be using (e.g. Ubuntu
   // desktop).

my_application_local_command_line(): return FALSE to allow the package to handle the command line

--- a/linux/my_application.cc
+++ b/linux/my_application.cc
@@ -81,7 +81,7 @@ static gboolean my_application_local_command_line(GApplication* application,
   g_application_activate(application);
   *exit_status = 0;

-  return TRUE;
+  return FALSE;
 }

 // Implements GObject::dispose.

my_application_new(): replace G_APPLICATION_NON_UNIQUE with

--- a/linux/my_application.cc
+++ b/linux/my_application.cc
@@ -101,7 +101,8 @@ static void my_application_class_init(MyApplicationClass* klass) {
 static void my_application_init(MyApplication* self) {}

 MyApplication* my_application_new() {
-  return MY_APPLICATION(g_object_new(my_application_get_type(),
-                                     "application-id", APPLICATION_ID, "flags",
-                                     G_APPLICATION_NON_UNIQUE, nullptr));
+  return MY_APPLICATION(g_object_new(
+      my_application_get_type(), "application-id", APPLICATION_ID, "flags",
+      G_APPLICATION_HANDLES_COMMAND_LINE | G_APPLICATION_HANDLES_OPEN,
+      nullptr));
 }

And I should be good to go, right? Or am I missing something?

@CaptainDario Yes, That's all. You don't need to import the gtk package.
Does it work?

@LucasXu0 Hi, I tested it on friday and once registered via xdg-mime it works flawlessly.  I did not test it with snap/flathub however, just plain build.
The only change I had to make is regarding the GTK setup, placing the gtk_application_get_windows call above the window creation, contrary to the documentation. Otherwise I would end up with an empty window.
static void my_application_activate(GApplication *application) {
  MyApplication *self = MY_APPLICATION(application);

  GList *windows = gtk_application_get_windows(GTK_APPLICATION(application));
  if (windows) {
    gtk_window_present(GTK_WINDOW(windows->data));
    return;
  }

  GtkWindow *window =
      GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));

I'm not familiar with GTK, but it makes sense to me since querying the window after creating one would find it and immediately return without finishing the setup.

Hi, @cocorax. Yes. You don't need to set up the other steps if you just intend to open your app via the scheme without processing the content received from the scheme.

@LucasXu0 yes, works great! I tried it as a snap and everything is registered perfectly. My .desktop file
[Desktop Entry]
version=1.5
Name=DaKanji
Comment=You are learning Japanese? Then you need to try DaKanji!
Exec=dakanji %u
Icon=${SNAP}/data/flutter_assets/assets/images/dakanji/icon.png
Terminal=false
Type=Application
Categories=Education;Languages;
MimeType=x-scheme-handler/dakanji;

However, I also encountered the empty widow mentioned by @cocorax . Didn't try his work around yet.

@CaptainDario How did you change the my_application_activate function? My change is
static void my_application_activate(GApplication *application)
{
  MyApplication *self = MY_APPLICATION(application);

  GList* windows = gtk_application_get_windows(GTK_APPLICATION(application));
  if (windows) {
    gtk_window_present(GTK_WINDOW(windows->data));
    return;
  }

mine looks like this

// Implements GApplication::activate.
static void my_application_activate(GApplication* application) {
  MyApplication* self = MY_APPLICATION(application);
  GtkWindow* window =
      GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));

  // app links support - start
  GList* windows = gtk_application_get_windows(GTK_APPLICATION(application));
  if (windows) {
    gtk_window_present(GTK_WINDOW(windows->data));
    return;
  }
  //  app links support - end

I am gonna try @cocorax 's work around

Seems to be working like this
// Implements GApplication::activate.
static void my_application_activate(GApplication* application) {
  MyApplication* self = MY_APPLICATION(application);

  // app links support - start
  GList* windows = gtk_application_get_windows(GTK_APPLICATION(application));
  if (windows) {
    gtk_window_present(GTK_WINDOW(windows->data));
    return;
  }
  //  app links support - end

  GtkWindow* window =
      GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));

Did not try as a snap yet but will do so later today

@LucasXu0 any plans on opening an PR for this?

@LucasXu0 how would one go about supporting universal links like on iOS? Something like https://my.cool.app/app/ . Is this possible?

@CaptainDario I have submitted the PR. https://github.com/llfbandit/app_links/pull/76

how would one go about supporting universal links like on iOS? Something like https://my.cool.app/app/ . Is this possible?

It seems NO. Your URL format may only work on iOS or macOS.

@LucasXu0 thank you for the info and also the PR!

Can someone confirm it's working fine?
I've received an new issue about linux #84 but I don't have Linux OS to reproduce.

I updated our project to 3.5.0-beta.3 this morning, so far it seems to work fine.

Released v3.5.0.


Updated Layout and Content

Changed Page Title
Created logo
Resued(with permission) another groups tutorial
Fixed the Detailed team Stats
Added jump to tags
Reordered a couple of the sections
A preview can be seen here.
https://kingbain.github.io/teamequipe.github.io/

Still need to make meaningful alt trags

Fixed the alt tage issue mentioned in #2

just noticed that my edit to the CNAME was picked up.  you'll have to fix that  :)

Never mind, fixed the CNAME issue :)
Also fixed an logo image width issue

split main page and guide into 2 seperate pages


GET /staff-users

Codecov Report
Attention: Patch coverage is 22.81369% with 203 lines in your changes missing coverage. Please review.

Project coverage is 36.00%. Comparing base (252a5b3) to head (94498d1).

Files
Patch %
Lines

...ance-api/src/compliance_api/services/staff_user.py
0.00%
44 Missing :warning:

...nce-api/src/compliance_api/resources/staff_user.py
0.00%
29 Missing :warning:

...iance-api/src/compliance_api/schemas/staff_user.py
0.00%
29 Missing :warning:

...iance-api/src/compliance_api/resources/position.py
0.00%
20 Missing :warning:

compliance-api/src/compliance_api/models/db.py
26.92%
19 Missing :warning:

...liance-api/src/compliance_api/models/staff_user.py
63.41%
15 Missing :warning:

compliance-api/src/compliance_api/auth.py
37.50%
10 Missing :warning:

...ance-api/src/compliance_api/resources/apihelper.py
0.00%
10 Missing :warning:

...liance-api/src/compliance_api/models/base_model.py
62.50%
6 Missing :warning:

...liance-api/src/compliance_api/services/position.py
0.00%
5 Missing :warning:

... and 5 more

:exclamation:  There is a different number of reports uploaded between BASE (252a5b3) and HEAD (94498d1). Click for more details.
HEAD has 1 upload less than BASE

Flag
BASE (252a5b3)
HEAD (94498d1)

compliance-web
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           develop       #8      +/-   ##
===========================================
- Coverage    42.81%   36.00%   -6.81%
===========================================
  Files           38       26      -12
  Lines          334      661     +327
  Branches        61        0      -61
===========================================
+ Hits           143      238      +95
- Misses         191      423     +232

Flag
Coverage Δ

compliance-api
36.00% <22.81%> (?)

compliance-web
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[DEV-2685] bank fee

Release Checklist
Pre-Release

[ ] Check migrations

No database related infos (sqldb-xxx)
Impact on GS (new/removed columns)

[ ] Check for linter errors (in PR)
[ ] Test basic user operations (on DFX services)

Login/logout
Buy/sell payment request
KYC page

Post-Release

Test basic user operations
Monitor application insights log

[ ] add migration


[DNM] testing rdo git workflow

Signed-off-by: Bhagyashri Shewale<EMAIL_ADDRESS>

check-rdo

check-github

check-rdo


New version: ayoisaiah.focus 1.4.2

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

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

Automated with GoReleaser
Microsoft Reviewers: Open in CodeFlow

It seem it is a focus session.


Couldn't connect to kvrocks instance

Describe the problem
runing kvrocks_exporter out Couldn't connect to kvrocks instance!
version
kvrocks: 2.0.3
kvrocks_exporter: 1.0.0
Running the exporter
./kvrocks_exporter -kvrocks.addr="kvrocks://ip:6666" -kvrocks.password="xxx"
Screenshots
./kvrocks_exporter -kvrocks.addr="kvrocks://ip:6666" -kvrocks.password="xxx" out:
ERRO[0005] Couldn't connect to kvrocks instance

@cuibaiyi Should be ./kvrocks_exporter -kvrocks.addr="ip:6666" -kvrocks.password="xxx" if we use the binary.


Summary of known compiler issues

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
If the question is related to FairPlay, have you read the tutorial?

N/A
What version of Shaka Player are you using?
3.2.1
What browser and OS are you using?
Too many to list :)
Please ask your question
We are currently using the debug version of Shaka in production because we have noticed issues with the compiled version of 3.2.1. Upgrading versions is on our roadmap, but I recall reading a few thread that related to compiler issues. I also recall reading about a large change to the compiler near the time of 3.x or 4.x. Any way we could get some more information about what was changed and how the compiler behaves differently? Links to relevant issues, PRs, and commits would all be greatly appreciated. Anything would help.
For reference, I searched through the issues and PRs but it seems like this might be something that spans over quite a few issues and quite a few years, so figured it might be best to just ask for a summary.

Sorry, we don't have any such list here.  You can look at the changelog of the compiler: https://github.com/google/closure-compiler and compare that to the history of package.json where we made compiler changes.
Our last update to the compiler was 28b73b921d1dbdc6d7e016aa8e0a000e62318ed3 in Nov 2022, and before that it was 6f274cbc972233b2653a4f34f24edf0950a84944 in March 2022, and before that it was c482e81ad975c4eef654e26cf4b273541a2abcd0 in February 2022, and before that it was 87797157af7083e020c29ba84a0a806d2ab1f07b in May 2021.
I found these by git log -p package.json and then searching for ^-.*compiler-java.
We don't plan to upgrade the Closure Compiler again, as we hope to move to TypeScript later this year.
I hope that helps!

@joeyparrish that helps a lot, thanks! Looking forward to the TypeScript upgrade. We've currently got a shim that interfaces with Shaka but with TS support we could probably remove that shim.
Feel free to close this issue at your convenience.


Bug: DT input token was not layer normed before fed into GPT2

ref: https://github.com/tinkoff-ai/CORL/issues/40

fixed in d8464a6


Display login, logout, and register on the webpage.

register page not found when I click to login page before click to signup page.

look very nice


ensure job cancellation selection holds a lock

Since we select and then update a set of tasks in a transaction in order to cancel pending tasks relative to a given job, we should also hold a lock over that selection via for update.

@kirillsalykin this should ensure the selected rows are locked as per your suggestion. This could probably be done more efficiently via a single update or e.g. if mark_cancelled took &[&TaskId].

Indeed, probably having one update would be more efficient and wouldnt require a lock.

wdyt about just having cancel all by job_id, queue_name and status = pending?
I would be happy to do this change , seems small enough so i can finish :)

wdyt about just having cancel all by job_id, queue_name and status = pending?

It's probably a better approach. 🙂
The reason it wasn't implemented that way is because the queue encapsulates task life cycle. I want to avoid that leaking into other concepts as much as we can.
So maybe we should refactor mark_cancelled to take arbitrary selection criteria for the update (so we can pass through e.g. job_id).

I'm going to merge this for the sake of correctness but we can come back to this at any point and improve it (it likely isn't a breaking change).


[FEATURE] 支持一下 twig 模板

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@wukchao 你可以来完成 twig 的接入吗？这部分的接入还是比较简单的，可参考文档关于自定义引擎部分的内容来实现，或 Blade 和 Smarty 引擎的实现

Hi, @wukchao
I am working on this.


Feature request: ability to install npm separately from node

I didn't find any mention about it in the docs or issues, and quickly checking the code, it seems that node and npm version installed are tightly coupled.
Sometimes however, you're stuck on a given major version of node, but would like to update npm. For example current node LTS is 8.11.3 which ships with npm 5.6.0, whereas the newest 5.x npm is 5.10.0.
Was this feature ever considered? I acknowledge that, with the way things are currently implemented, it might not be easy to get this right. For example

say I installed npm 5.9.0 when using node 8.11.3. Now when I nvm use 10.0 (a different version of node), should the npm version change as well? (right now it does, as node-npm are tightly coupled)
when I come back to nvm use 8.11.3 which had a custom npm installed by me earlier, should I get that custom version of npm (5.9.0), or the one that I'd get on a clean install (5.6.0)?

As a first step, an easy solution could be implemented: drop the overridden version of npm when changing version of node (perhaps with a big fat warning). The next step could be to have a dictionary of node-npm versions used together, and that dictionary, when entry is non-empty, would take precedence over the automatic version of npm.
The only slightly tricky thing could be that after switching to newer node, you could get older npm if not careful.
One way to solve the potential issues could be perhaps to create a new "combo" command that would switch node and npm at the same time (more explicit hence less error-prone, but more tedious also for the users): nvm use-combo<EMAIL_ADDRESS><EMAIL_ADDRESS>

As mentioned here https://github.com/coreybutler/nvm-windows/issues/294#issuecomment-349137801
npm install -g<EMAIL_ADDRESS>doesn't work when npm is installed via nvm

It's actually possible to install other versions of npm using the npm install -g<EMAIL_ADDRESS>syntax. NVM4W gets out of the way and delegates everything to node/npm, just as if the installation had occurred without NVM4W.
The problem here is npm. The v5.x.x release line has a major flaw where it will not remove itself, i.e. npm is hard-coded to prevent removal of specific files when not installed directly by the MSI. It actually affects most version managers to some degree.
Uncoupling npm from node would position the project directly between Node and npm's philosophies/roadmaps, which poses a conflict. I don't believe this project is the right place to manage this. NVM4W will stick as closely as possible to mirroring the exact same experience one would see if they installed Node directly.
That said, environment management has always been associated with version management, since version management is one of several elements of environment management. Due to the high demand for solutions in this domain, I've been experimenting with a separate (commercial) project focusing specifically on this problem domain. We have another product to launch before this would be released, but the current plan is to produce something and release it through my software firm, Author.io.
I'm closing this since it veers off into a different subject matter, but feel free to comment.

One way to upgrade npm only when using nvm:

In a new folder (somewhere): run "npm i npm", which will install a LOCAL npm copy. (If you read this comment you probably already know that "npm i -g npm" fails.)
Go to control panel > system > advanced system settings >environment variables, and, in the system variables list, edit the path variable by inserting a new path above the two lines with %NVM_...%, and let this new path point to "{Folder created in point 1.}\node_modules.bin".

NB: This will override npm for all of the node versions controlled by nvm. So you should check that your new npm version is compatible with the node versions you are switching to by nvm. When using a very old node version for which the new npm is not compatible, you may temporalily inactivate the new npm version by temporalily rename the folder in point 1.
Howto know if npm is compatible with node?: Some hints here: https://blog.npmjs.org/post/165273023140/supported-nodejs-versions-in-the-npm-cli
Currently (2018-08-18) node 6 is in maintenance, so npm 6.4.0 (the current last version) should support node 6, 8, and 10. And, if I understand the link above correctly, npm 6 should continue to support node 6.


Keyboard Overlap Shift tha page up

I have a page with an entry in bottom of it.
but when the entry focus the page shifted up and the content of page hides,
I want to  make page height smaller, like that happened in android.
what can I do?
thanks

If you are using this plugin and you have page content inside a scroll view it will add too much extra space and cause your page contents to go off the screen. I do not recommend using this plugin if you have pages that have contents wrapped in a scroll view.


gulp error received after upgrade babel-preset-react to 6.23.0

I have upgraded babel-preset-react dependency to version 6.23.0. When I run gulp in my project with upgraded version of babel-preset-react, I got error like this
TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.dirname (path.js:695:5)
    at [MY_PROJECT_DIRECTORY]\node_modules\gulp-babel\node_modules\babel-core\lib\transformation\file\options\option-manager.js:353:36
    at [MY_PROJECT_DIRECTORY]\node_modules\gulp-babel\node_modules\babel-core\lib\transformation\file\options\option-manager.js:375:22
    at Array.map (native)
    at OptionManager.resolvePresets ([MY_PROJECT_DIRECTORY]\node_modules\gulp-babel\node_modules\babel-core\lib\transformation\file\options\option-manager.js:364:20)
    at OptionManager.mergePresets ([MY_PROJECT_DIRECTORY]\node_modules\gulp-babel\node_modules\babel-core\lib\transformation\file\options\option-manager.js:348:10)
    at OptionManager.mergeOptions ([MY_PROJECT_DIRECTORY]\node_modules\gulp-babel\node_modules\babel-core\lib\transformation\file\options\option-manager.js:307:14)
    at [MY_PROJECT_DIRECTORY]\node_modules\gulp-babel\node_modules\babel-core\lib\transformation\file\options\option-manager.js:349:14
    at [MY_PROJECT_DIRECTORY]\node_modules\gulp-babel\node_modules\babel-core\lib\transformation\file\options\option-manager.js:369:24

This error is gone when I downgrade babel-preset-react version to 6.22.0.

What version of gulp-babel are you using?

I'am using gulp-babel version 6.1.2, Mr. @loganfsmyth .

Can you check the version value in [MY_PROJECT_DIRECTORY]\node_modules\gulp-babel\node_modules\babel-core\package.json? That error could happen on older versions of babel-core but I was under the impression that this had been fixed long ago.

Yes, I can, Mr. @loganfsmyth . The babel-core version inside gulp-babel module is version 6.7.4.

That is an extremely old version of babel-core. I'm not sure why you'd have an old version. I'd recommend clearing and reinstalling your deps, and potentially looking at your package.json to make sure you haven't somehow locked it to an old version. gulp-babel is set with a very generic >=6.0.2 so it will install the most recent version of 6.x possible.

Closing this issue as it's been inactive for several months. Please feel free to open a new issue or leave a comment asking to reopen this issue. Thanks! ✌

If you just have an usage issue or want help, I would recommend checking out our slack community or StackOverflow.


Update links entry point page

The links on entry page were pointing to wrong place and now they are fixed.

The other way is not use the relative path but use a absolute path instead. But it also depends on the whole website structure. If it keeps changing, none of these links will work.

Yeah. I think I'll merge this as is. Adding 404 checker to the build process would catch these (I have a rough idea how to integrate one).


Unknown variable: 'loki::service::service_notify

I see the following error during a puppet run (introduced with v1.1.0).
This looks like a scope issue to me, but maybe I'm missing something here
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Unknown variable: 'loki::service::service_notify'. (file: /etc/puppetlabs/code/environments/production/modules/loki/manifests/config.pp, line: 22, column: 15) on node example.com

It does smell like it doesn't it, lets fire up some test nodes

On a fresh install this also occurs in install.pp
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Unknown variable: 'loki::service::service_notify'. (file: /etc/puppetlabs/code/environments/production/modules/loki/manifests/config.pp, line: 22, column: 15)

I've investigated this issue a bit more.
In https://github.com/attachmentgenie/attachmentgenie-loki/blob/0cf4621fcbf8a54f411f314338175ecc7c047480/manifests/config.pp#L22 the variable $loki::service::service_notify is used, but it will be defined in https://github.com/attachmentgenie/attachmentgenie-loki/blob/0cf4621fcbf8a54f411f314338175ecc7c047480/manifests/service.pp#L38.
If we're looking at init.pp:
  anchor { 'loki::begin': }
-> class{ '::loki::install': }
-> class{ '::loki::config': }
~> class{ '::loki::service': }
-> anchor { 'loki::end': }

We can see, that loki::config will be included before loki::service.
I'll send in a PR asap

i just released v2.0.0


Prev/next meal not consistent

Going forward, Nov 22, Idzikowski meal shows; going reverse, Patti meal shows. Weird.
Originally created by Tom Smyth at 2015-09-26 22:52, migrated from redmine-#3211

Status changed from New to Closed

By Tom Smyth at 2015-09-28 05:42


Camera Plugin not respect resolutionPreset

What the Issue:
when initializing the camera controller it does not respect the resolution
 camController = CameraController(
      desc,
      ResolutionPreset.veryHigh,
      imageFormatGroup: ImageFormatGroup.yuv420
    );

Then start the image stream
camController!.startImageStream((image) => _processCameraImage(image));
 void _processCameraImage(CameraImage image) async {
    print('image.height ${image.height} image.width ${image.width}');
  }

The image size should be 1080p (1920x1080)
when set:  high, veryHigh, ultraHigh, max
always get /// 720p (1280x720) high
scale down work : low 240p (320x240), medium (720x480)
Device model:
Xiaomi Mi 9 Light
Ram 6
Android 10  QKQ1.190828.002
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.1.0-0.0.pre.2403, on macOS 12.5.1 21G83
darwin-x64, locale en-IL)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2021.3.2)
[✓] VS Code (version 1.71.0)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
Expected results:
When startImageStream on the controller and get the image the ResolutionPreset should respect

Hello @Ehudp. Could you provide a complete and minimal, reproducible example? Thank you.

Hi,
I add a sample project and video that display the problem
[camera_resolution_p
Screen Recording 2022-09-11 at 7.46.36.mov.zip
reset.zip](https://github.com/flutter/flutter/files/9541792/camera_resolution_preset.zip)

This issue looks like a duplicate of https://github.com/flutter/flutter/issues/78247. Please upvote the original issue. Closing this one as a duplicate. Thank you.


chore(website): add C# options descriptions in the playground

Part of Add descriptions for options in playground continued.. #1392

Anything related to website changes, remember to use chore(website) 🙂

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.192%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5259

Relevant Lines:
5562

💛  - Coveralls


Add a method to directly work with cached File objects

Add ability to work with files directly

Opened pr by accident, wanted to do it for the fork


Correctly check if the linux-modules-extra package exists

commit e741f039cf46ccfbdaaa274618810787129d152b re-enabled the sound-dummy modules in the CI.
Unfortunately, the commit does not correctly check whether the linux-modules-extra- package exist, and so the CI throws an error
/home/runner/work/_temp/8c235aad-f1bd-4bdc-adcc-308dd3c8d320.sh: line 2: ]: command not found

e.g. here: https://github.com/vim/vim/actions/runs/4961614845/jobs/8878622463#step:8:30
So instead, properly check, whether apt-cache shows is able to show the package description. We do not need the shell test builtin
if [ ... ]; then ... fi
because if can directly check the return value of the given command, which makes the test slightly easier to understand.

@chrisbra the if condition seams to be always true. https://packages.ubuntu.com/focal/linux-modules-extra-5.15.0-1037-azure
My intention was to check if the package is able to download or not, if not it should not exit with 1 and let the CI run without that package.

Yeah, I think the condition is inverted currently. I noticed it yesterday and wanted to fix it when creating the PR and then forgot about it (it was too late and I was busy with the translations) 🙈
Let me check your PR and see if we can further improve it


pre-commit: Add config and use lint

What this PR does / why we need it:
This change introduces pre-commit, a useful framework for ensuring changes meet certain requirements before they are fully committed.
This requires the user install pre-commit itself but this is as easy as:
https://pre-commit.com/#usage
$ pip install --user pre-commit $ cd path/to/common-instancetypes && pre-commit install

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/cc @0xFelix

ACK on check-yaml and check-added-large-files. But merge conflicts might occur when working with multiple PRs?

ACK on check-yaml and check-added-large-files. But merge conflicts might occur when working with multiple PRs?

This is pre-commit so local checks against the pending commit, not against PRs etc inflight.
https://pre-commit.com/hooks.html
Anyway my mistake it's looking for merge conflict strings in the commit that's valid.
check-merge-conflict - checks for files that contain merge conflict strings.


Change default Cone area effect angle from 53 degrees to 60 degrees

The default angle of the cone template in Foundry is 53 degrees. HERO assumes a 60 degree cone. This can be changed in the world data. Here is a link to an example "Setting the default angle of a cone template":  https://foundryvtt.wiki/en/basics/world-scripts

should be added as of v2.1.2-alpha


Added some functionality to use the "_users" database

Description
I made a subclass of Database.swift called UserDatabase.swift. It is used to just interact with the "_users" database to add a new user and get the session token from CouchDB. I updated the readme with an simple example of usage.
Motivation and Context
I wanted to add users to the "_users" database in CouchDB and get a session token from CouchDB for the user.
How Has This Been Tested?
I have tested this on my local machine with a private CouchDB. A test to the DBTests.swift file has not been added.
Checklist:

[x] I have submitted a CLA form
[x] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

Thanks for the pull request! A few observations:

Since you added a method for setting a config value (config() method in the CouchDBClient class), can you also add another method for reading a config value?

The callback for the new config() method (callback: (Bool, NSError?)) can be defined as
callback: (NSError?). This would remove the need for the Bool variable. If an error occurred, then the optional NSError variable should contain an error. Can you make this change?

Once you have methods for reading (getConfig()) and setting (setConfig()) config values and modified the callback definition, can you add test cases for these? As reference, here’s the documentation for these: http://docs.couchdb.org/en/stable/api/server/configuration.html.

Can you also add a READ user method to the UsersDatabase?

Can you add automated test cases for adding and reading users?

Can you remove any print statements from the code such as the print(requestBody)in the createUser() method?

Regarding the session methods (http://docs.couchdb.org/en/stable/api/server/authn.html) in the UsersDatabase class, since those methods are not hitting the _users database, can you move them to the CouchDBClient (just like the config methods)?

Can you rename the session methods to getSession, createSession, deleteSession?

Can you add test cases for the session methods too?

Once you have all the test cases, can you ensure the code runs on OS X and Ubuntu operating systems?

@rolivieri I will work on these changes

[ ] Since you added a method for setting a config value (config() method in the CouchDBClient class), can you also add another method for reading a config value?

[ ] The callback for the new config() method (callback: (Bool, NSError?)) can be defined as
callback: (NSError?). This would remove the need for the Bool variable. If an error occurred, then the optional NSError variable should contain an error. Can you make this change?

[ ] Once you have methods for reading (getConfig()) and setting (setConfig()) config values and modified the callback definition, can you add test cases for these? As reference, here’s the documentation for these: http://docs.couchdb.org/en/stable/api/server/configuration.html.

[ ] Can you also add a READ user method to the UsersDatabase?

[ ] Can you add automated test cases for adding and reading users?

[ ] Can you remove any print statements from the code such as the print(requestBody)in the createUser() method?

[ ] Regarding the session methods (http://docs.couchdb.org/en/stable/api/server/authn.html) in the UsersDatabase class, since those methods are not hitting the _users database, can you move them to the CouchDBClient (just like the config methods)?

[ ] Can you rename the session methods to getSession, createSession, deleteSession?

[ ] Can you add test cases for the session methods too?

[ ] Once you have all the test cases, can you ensure the code runs on OS X and Ubuntu operating systems?

Merged into develop in https://github.com/IBM-Swift/Kitura-CouchDB/commit/5f2e15d3436915d815185d064bd446ff13f0130d
See IBM-Swift/Kitura#462


Setup problem

info
git revision / version: master
OS: Ubuntu 14.04
Architecture: i386
problem
After web setup i obtain this: ALTER TABLE ArticlePosts ADD COLUMN IF NOT EXISTS frontendpubkey TEXT DEFAULT '': pq: syntax error at or near "NOT"
There are all the logs
~/nntpchan# ./srndv2 setup
2018/06/23 22:02:15 Setting up SRNd base...
2018/06/23 22:02:15 checking for configs...
2018/06/23 22:02:15 No srnd.ini file found in working directory...
2018/06/23 22:02:15 No config file found at ...
2018/06/23 22:02:15 starting installer on :18000
2018/06/23 22:02:15 open up http://youserver:18000/ to do initial configuration
2018/06/23 22:05:21 get locale es
2018/06/23 22:05:24 DB chosen:  postgres
2018/06/23 22:07:13 Cache chosen:  null
2018/06/23 22:07:36 no feeds.ini, creating...
2018/06/23 22:07:36 loading config...
2018/06/23 22:07:36 frontend configured in srnd.ini
2018/06/23 22:07:36 frontend enabled in srnd.ini
2018/06/23 22:07:36 spamd section found
2018/06/23 22:07:36 thumbnails section found
2018/06/23 22:07:36 validating configs...
2018/06/23 22:07:36 configs are valid
2018/06/23 22:07:36 Reading translation files
2018/06/23 22:07:36 get locale en
2018/06/23 22:07:36 connecting to database...
2018/06/23 22:07:36 Connecting to postgres...
2018/06/23 22:07:36 ensure that the database is created...
2018/06/23 22:07:36 set db version to 0
2018/06/23 22:07:36 migrating... 0 -> 1
2018/06/23 22:07:36 set db version to 1
2018/06/23 22:07:36 migrating... 1 -> 2
2018/06/23 22:07:36 set db version to 2
2018/06/23 22:07:36 migrating... 2 -> 3
2018/06/23 22:07:36 set db version to 3
2018/06/23 22:07:36 migrating... 3 -> 4
2018/06/23 22:07:36 migrating post numbers, this can take a bit DO NOT INTERRUPT
2018/06/23 22:07:36 total migrated posts:  0
2018/06/23 22:07:36 set db version to 4
2018/06/23 22:07:36 migrating... 4 -> 5
2018/06/23 22:07:36 set db version to 5
2018/06/23 22:07:36 migrating... 5 -> 6
2018/06/23 22:07:36 set db version to 6
2018/06/23 22:07:37 migrating... 6 -> 7
2018/06/23 22:07:37 set db version to 7
2018/06/23 22:07:37 migrating 7 -> 8
2018/06/23 22:07:37 exec ALTER TABLE ArticleNumbers DROP CONSTRAINT IF EXISTS articlenumbers_message_id_fkey
2018/06/23 22:07:37 exec ALTER TABLE ArticleNumbers ADD CONSTRAINT msgid_depends FOREIGN KEY (message_id) REFERENCES ArticlePosts(message_id) ON DELETE CASCADE
2018/06/23 22:07:37 exec ALTER TABLE NNTPHeaders DROP CONSTRAINT IF EXISTS nntpheaders_header_article_message_id_fkey
2018/06/23 22:07:37 exec ALTER TABLE NNTPHeaders ADD CONSTRAINT msgid_depends FOREIGN KEY (header_article_message_id) REFERENCES ArticlePosts(message_id) ON DELETE CASCADE
2018/06/23 22:07:37 set db version to 8
2018/06/23 22:07:37 ALTER TABLE ArticlePosts ADD COLUMN IF NOT EXISTS frontendpubkey TEXT DEFAULT '': pq: syntax error at or near "NOT"
Help, please
:)))

what version of postgresql are you using?

let me know if this worked and if you need any help


Add Descriptions to YouTube Section

It would be nice to include some more context/short descriptions on the YouTube channel section.

Descriptions have been added to each YouTube channel. I'm more familiar with some channels than others, so I apologize if the descriptions are a bit generic right now. 😔
If anyone has additional context to add about these channels or have some additional GameMaker-focused YouTube channels I missed, please feel free to open up a new issue or make a pull request.


Possible to use :value and @input instead of v-model on ´BFormInput`?

I have a BFormInput form field which need more complex behavior than v-model supports. Thus, I have to use :value and @input instead:
<BFormInput
    :value="getClaimAmount()"
    @input="
        (event) => {
            setClaimAmount(
                event.target.value,
                claim_index
            )
        }
    "
/>

However, I cannot get it to work. It works if I use regular HTML:
<input
    class="form-control"
    :value="getClaimAmount()"
    @input="
        (event) => {
            setClaimAmount(
                event.target.value,
                claim_index
            )
        }
    "
/>

It seems the getter works but not the setter. Is this by design, or is it a bug?

Hello,
With Vue3, you need to set the value with :modelValue like that
<BFormInput
    :modelValue="getClaimAmount()"
    @input="
        (event) => {
            setClaimAmount(
                event.target.value,
                claim_index
            )
        }
    "
/>

Since there has been no additional reply, I am going to close the issue. I believe with both of our notes, you should be able to get your code working properly. Reopen the issue if you have any further questions on this.


Updated support links and formatting of tool tips

Closing the PR - submitting a new one with most warnings resolved.


Zee5 error - Data must be padded to 16 byte boundary in CBC mode

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that a supported site is broken
[X] I've verified that I'm running yt-dlp version 2023.03.04 (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 known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
India
Provide a description that is worded well enough to be understood
Error report:

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['--sub-langs', 'all,-live_chat', '--embed-subs', '--embed-chapters', '--embed-thumbnail', '--embed-metadata', '--downloader', 'm3u8,dash:native', '-N', '8', '--remux-video', 'mkv', '-S', 'res:1080', '-vU', 'https://www.zee5.com/movies/details/abby-sen/0-0-abbysen']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 6.0-essentials_build-www.gyan.dev (setts), ffprobe 6.0-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 5590c57bd0433ed239a2deaaf92e2ad6f37fe50f53664c821575cafe106a9421
yt-dlp is up to date<EMAIL_ADDRESS>[debug] Using fake IP <IP_ADDRESS> (IN) as X-Forwarded-For
[Zee5] Extracting URL: https://www.zee5.com/movies/details/abby-sen/0-0-abbysen
[Zee5] 0-0-abbysen: Downloading access token
[Zee5] 0-0-abbysen: Downloading JSON metadata
[Zee5] 0-0-abbysen: Downloading m3u8 information
[info] 0-0-abbysen: Downloading subtitles: en
[debug] Sort order given by user: res:1080
[debug] Formats sorted by: hasvid, ie_pref, res:1080(1080.0), lang, quality, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 0-0-abbysen: Downloading 1 format(s): 3166+audio_aac-বাংলা
[info] Writing video subtitles to: Abby Sen [0-0-abbysen].en.vtt
[debug] Invoking http downloader on "https://mediacloudfront.zee5.com/drm/PRIORITY1080/BANGLA_MOVIES/ABBY_SEN_Bangla_Movie.mp4/manifest-en.vtt"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Abby Sen [0-0-abbysen].en.vtt
[download] 100% of   98.86KiB in 00:00:00 at 432.31KiB/s
[info] Downloading video thumbnail 0 ...
[info] Writing video thumbnail 0 to: Abby Sen [0-0-abbysen].jpg
[debug] Invoking hlsnative downloader on "https://zee5vodnd.akamaized.net/hls/PRIORITY1080/BANGLA_MOVIES/ABBY_SEN_Bangla_Movie.mp4/media-7/hdntl=exp=1681196108~acl=%2f*~data=hdntl~hmac=16a3e0ee0a9e5db43ff1ca65c477bea6a86b15d4894e3ec40c245899631258c8/stream.m3u8?aka_me_session_id=AAAAAAAAAABMBDVkAAAAAFQ4YDi9Oj9WJQBi97Sp%2fGaK3epcKZ6nC6wkBbqC6CXqEZhSI98SYZRDyyFENKojZKumHc59B5NQ&aka_media_format_type=hls"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1230
[download] Destination: Abby Sen [0-0-abbysen].f3166.mp4
WARNING: The download speed shown is only of one thread. This is a known issue
[download]  30.4% of ~   2.67GiB at  630.35KiB/s ETA 03:28 (frag 374/1230)[download] Got error: Downloaded 115056 bytes, expected 2446272 bytes. Retrying (1/10)...
[download]  32.4% of ~   2.65GiB at   90.23KiB/s ETA 03:22 (frag 399/1230)[download] Got error: Downloaded 80288 bytes, expected 2268976 bytes. Retrying (1/10)...
[download]  36.7% of ~   2.65GiB at    2.05MiB/s ETA 03:10 (frag 452/1230)ERROR: Data must be padded to 16 byte boundary in CBC mode
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1518, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1615, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1674, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2779, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3229, in process_info
  File "yt_dlp\YoutubeDL.py", line 2970, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\hls.py", line 365, in real_download
  File "yt_dlp\downloader\fragment.py", line 508, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 370, in decrypt_fragment
  File "yt_dlp\aes.py", line 11, in aes_cbc_decrypt_bytes
  File "Cryptodome\Cipher\_mode_cbc.py", line 246, in decrypt
ValueError: Data must be padded to 16 byte boundary in CBC mode

Um, why did you use --skip-download when you created the verbose log?

Related: #3810

@gamer191 Well I updated my verbose log above. Check it.
@bashonly Yes I've seen similar issues. Because this is different site I opened new issue.

@gamer191 Well, I've updated my verbose log above. Check it.

Thanks! Assuming you haven't touched the .part file (such as by attempting the download again), can you please post a verbose log with --newline. You don't have to run it for long, I just want to see if it ends up downloading fragment 452 or skipping it

No, I deleted everything.
I tried to download again. And then didn't delete any files. Then ran the same commands with your --newline.

With --newline
[debug] Command-line config: ['--sub-langs', 'all,-live_chat', '--embed-subs', '--embed-chapters', '--embed-thumbnail', '--embed-metadata', '--downloader', 'm3u8,dash:native', '-N', '8', '--remux-video', 'mkv', '-S', 'res:1080', '-vU', '--newline', 'https://www.zee5.com/movies/details/abby-sen/0-0-abbysen']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 6.0-essentials_build-www.gyan.dev (setts), ffprobe 6.0-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 5590c57bd0433ed239a2deaaf92e2ad6f37fe50f53664c821575cafe106a9421
yt-dlp is up to date<EMAIL_ADDRESS>[debug] Using fake IP <IP_ADDRESS> (IN) as X-Forwarded-For
[Zee5] Extracting URL: https://www.zee5.com/movies/details/abby-sen/0-0-abbysen
[Zee5] 0-0-abbysen: Downloading access token
[Zee5] 0-0-abbysen: Downloading JSON metadata
[Zee5] 0-0-abbysen: Downloading m3u8 information
[info] 0-0-abbysen: Downloading subtitles: en
[debug] Sort order given by user: res:1080
[debug] Formats sorted by: hasvid, ie_pref, res:1080(1080.0), lang, quality, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 0-0-abbysen: Downloading 1 format(s): 3166+audio_aac-বাংলা
Deleting existing file Abby Sen [0-0-abbysen].en.vtt
[info] Writing video subtitles to: Abby Sen [0-0-abbysen].en.vtt
[debug] Invoking http downloader on "https://mediacloudfront.zee5.com/drm/PRIORITY1080/BANGLA_MOVIES/ABBY_SEN_Bangla_Movie.mp4/manifest-en.vtt"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Abby Sen [0-0-abbysen].en.vtt
[download]   1.0% of   98.86KiB at  Unknown B/s ETA Unknown
[download]   3.0% of   98.86KiB at  Unknown B/s ETA Unknown
[download]   7.1% of   98.86KiB at  449.48KiB/s ETA 00:00
[download]  15.2% of   98.86KiB at  963.17KiB/s ETA 00:00
[download]  31.4% of   98.86KiB at    1.94MiB/s ETA 00:00
[download]  63.7% of   98.86KiB at    3.95MiB/s ETA 00:00
[download] 100.0% of   98.86KiB at    6.20MiB/s ETA 00:00
[download] 100% of   98.86KiB in 00:00:00 at 1.24MiB/s
Deleting existing file Abby Sen [0-0-abbysen].jpg
[info] Downloading video thumbnail 0 ...
[info] Writing video thumbnail 0 to: Abby Sen [0-0-abbysen].jpg
[debug] Invoking hlsnative downloader on "https://zee5vodnd.akamaized.net/hls/PRIORITY1080/BANGLA_MOVIES/ABBY_SEN_Bangla_Movie.mp4/media-7/hdntl=exp=1681223581~acl=%2f*~data=hdntl~hmac=d50f5508baf1aaab9ec3e0e311209db71015763087f8f6b25b67ba7d623cdc6d/stream.m3u8?aka_me_session_id=AAAAAAAAAACdbzVkAAAAAG064UkJmiSjvEYhnMk3VNSaILEaBzBCjhOFgSZOYmalA7D+NO1mP%2fWZsC5AXEAbxHKgeavTGGbM&aka_media_format_type=hls"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1230
[download] Destination: Abby Sen [0-0-abbysen].f3166.mp4
WARNING: The download speed shown is only of one thread. This is a known issue
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag534 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag535 has already been downloaded
[download]  43.4% of ~   2.65GiB at   47.02MiB/s ETA Unknown (frag 534/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag536 has already been downloaded
[download]  43.5% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 535/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag537 has already been downloaded
[download]  43.6% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 536/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag539 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag540 has already been downloaded
[download]  43.7% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 537/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag542 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag541 has already been downloaded
[download]  43.7% of ~   2.66GiB at  171.64MiB/s ETA Unknown (frag 538/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag544 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag545 has already been downloaded
[download]  43.8% of ~   2.65GiB at  113.65MiB/s ETA Unknown (frag 539/1230)
[download]  43.9% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 540/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag546 has already been downloaded
[download]  44.0% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 541/1230)
[download]  44.1% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 542/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag547 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag548 has already been downloaded
[download]  44.1% of ~   2.65GiB at   99.70MiB/s ETA Unknown (frag 543/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag549 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag550 has already been downloaded
[download]  44.2% of ~   2.64GiB at  Unknown B/s ETA Unknown (frag 544/1230)
[download]  44.3% of ~   2.64GiB at  Unknown B/s ETA Unknown (frag 545/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag551 has already been downloaded
[download]  44.4% of ~   2.64GiB at  Unknown B/s ETA Unknown (frag 546/1230)
[download]  44.5% of ~   2.64GiB at  169.55MiB/s ETA Unknown (frag 547/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag552 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag553 has already been downloaded
[download]  44.6% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 548/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag554 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag555 has already been downloaded
[download]  44.6% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 549/1230)
[download]  44.7% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 550/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag556 has already been downloaded
[download]  44.8% of ~   2.65GiB at  160.01MiB/s ETA Unknown (frag 551/1230)
[download]  44.9% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 552/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag557 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag558 has already been downloaded
[download]  45.0% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 553/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag559 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag560 has already been downloaded
[download]  45.0% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 554/1230)
[download]  45.1% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 555/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag561 has already been downloaded
[download]  45.2% of ~   2.65GiB at  102.47MiB/s ETA Unknown (frag 556/1230)
[download]  45.3% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 557/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag562 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag563 has already been downloaded
[download]  45.4% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 558/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag564 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag565 has already been downloaded
[download]  45.4% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 559/1230)
[download]  45.5% of ~   2.65GiB at  106.41MiB/s ETA Unknown (frag 560/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag566 has already been downloaded
[download]  45.6% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 561/1230)
[download]  45.7% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 562/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag567 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag568 has already been downloaded
[download]  45.8% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 563/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag569 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag570 has already been downloaded
[download]  45.9% of ~   2.65GiB at  146.90MiB/s ETA Unknown (frag 564/1230)
[download]  45.9% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 565/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag571 has already been downloaded
[download]  46.0% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 566/1230)
[download]  46.1% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 567/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag572 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag573 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag543 has already been downloaded
[download]  46.2% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 568/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag574 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag575 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag538 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag576 has already been downloaded
[download]  46.3% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 570/1230)
[download]  46.4% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 571/1230)
[download]  46.6% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 573/1230)
[download]  46.3% of ~   2.65GiB at  169.52MiB/s ETA Unknown (frag 569/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag577 has already been downloaded
[download]  46.7% of ~   2.65GiB at  132.72MiB/s ETA Unknown (frag 574/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag578 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag579 has already been downloaded
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag580 has already been downloaded
[download]  46.9% of ~   2.65GiB at   91.15MiB/s ETA Unknown (frag 577/1230)
[download] Abby Sen [0-0-abbysen].f3166.mp4.part-Frag581 has already been downloaded
[download]  47.0% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 578/1230)
[download]  47.1% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 579/1230)
[download]  47.2% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 580/1230)
[download]  46.8% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 576/1230)
[download]  46.7% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 575/1230)
[download]  47.2% of ~   2.64GiB at   81.36MiB/s ETA Unknown (frag 581/1230)
[download]  46.5% of ~   2.65GiB at  Unknown B/s ETA Unknown (frag 572/1230)
ERROR: Data must be padded to 16 byte boundary in CBC mode
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1518, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1615, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1674, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2779, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3229, in process_info
  File "yt_dlp\YoutubeDL.py", line 2970, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\hls.py", line 365, in real_download
  File "yt_dlp\downloader\fragment.py", line 508, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 370, in decrypt_fragment
  File "yt_dlp\aes.py", line 11, in aes_cbc_decrypt_bytes
  File "Cryptodome\Cipher\_mode_cbc.py", line 246, in decrypt
ValueError: Data must be padded to 16 byte boundary in CBC mode

If interrupted, then yt-dlp either continues downloading the file correctly or ends up in "ERROR: Data must be padded to 16 byte boundary in CBC mode".
It is possible to resume the download by removing the .part-Frag file.

If this, posted in the old thread, remains true, it would appear to indicate some flaw in the resume logic: one could guess that the resumed fragment may sometimes end in the middle of an encrypted block and the resumption should start at the beginning of that block instead of at the recorded resume point; and hence the problem doesn't occur for ffmpeg downloads.

Possibly. I suspect the actual issue is https://github.com/yt-dlp/yt-dlp/issues/6751#issuecomment-1505032654 and it got "fixed" by coincidence. But if so, this is duplicate of https://github.com/yt-dlp/yt-dlp/issues/3810 anyway. So either way, I'm closing this for now. Can reopen if it happens again.


Fix url-encoding.py test

See https://github.com/ariya/phantomjs/issues/13882

Gosh, how did I manage to not notice that?  Thanks!

Merged.


JSX-Lite changed to "Mitosis"

maybe they visited a butterfly farm?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.94%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1101

Relevant Lines:
1171

💛  - Coveralls


Mobile Nav Bar is not closing on click/touch - 0.94.2

When you click on a link with the mobile navbar it should close, correct? I think that is the expected behavior. Tested on different browsers, with same result.

Possible duplicate: https://github.com/Dogfalo/materialize/issues/411

@Dogfalo
How can I help with this?

I'm still having trouble with this on 1.95.1

Added an option to control this in c5e00fea093f3252d223d1ddf6f244ef2a28e0b9


[ANDROID] Custom vs CustomKeys

Hi,
In PR https://github.com/allboatsrise/expo-marketingcloudsdk/pull/16, "customKeys" was removed and replaced by "custom" in InboxMessage type.
The two fields exists in Marketing Cloud javadoc https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/javadocs/MarketingCloudSdk/8.0/com.salesforce.marketingcloud.messages.inbox/-inbox-message/index.html so I think the two fields are necessary for Android
In Appledocs I don't find customKeys property

Not sure what customKeys in Android does, my goal was to ensure both iOS and Android return the same inbox message value and customKeys was always blank if I remember correctly.

From my tests with Marketing Cloud, custom keys configured in my inbox messages are in customKeys not in custom (tested only in Android). custom is always blank

I did my tests from the cloud marketing GUI and not by API call.
I will try to reproduce the API call you mention to check the return in the application.

HMI = GUI --> Salesforce Marketing Web Application, used by business user to create and send messages (sorry for the bad translation)
I can't test on iOS for now, I'll try to find informations about that (on documentation or with our business contact from Salesforce)