Can't load angular-toaster with default angular.io "Getting started" html

Hello,
I have followed angular.io "Get started" guide which notes the following SystemJS usage in index.html:
    <script>
      System.config({
        packages: {
          app: {
            format: 'register',
            defaultExtension: 'js'
          }
        }
      });
      System.import('app/main')
            .then(null, console.error.bind(console));
    </script>

With that configuration I built fairly simple working code. Unfortunately, when I try to use angular2-toaster (I have created node_modules/angular2-toaster folder and copy/paste "lib" folder as well as angular2-toaster.js file), I don't know how to change that script in order to load it. I tried to add "map" property as seen in your demo\index.html with no success:
        System.config({
            packages: {
                app: {
                    format: "register",
                    defaultExtension: "js"
                }
            },
            map: {
                'angular2-toaster': 'node_modules/angular2-toaster'
            }
        });
        System.import('app/main')
              .then(null, console.error.bind(console));

What happens is that I can see the browser makes request to http://localhost/node_modules/angular2-toaster/angular2-toaster with no ".js" extension which fails.
Could you explain how to load angular2-toaster by using angular.io default index.html SystemJS usage ?

A few notes first.
I highly recommend always installing as a node module directly via npm install.  It seemed as if you weren't and that could create folder hierarchy issues within the package itself if you copy them incorrectly.
The main difference between your setup with or without the map in comparison to my systemjs demo is that you have declared a package.  Once you declare a package, you are essentially declaring another root path which is placing the mapped angular2-toaster node module outside of the expected path.  You could fix this bymoving up a directory for your module inclusion when mapping:
System.config({
            packages: {
                app: {
                    format: "register",
                    defaultExtension: "js"
                }
            },
            map: {
                'angular2-toaster': '../node_modules/angular2-toaster'
            }
        });
        System.import('app/main')
              .then(null, console.error.bind(console));

Please see the new, additional demo that I added.  The package needs to be mapped AND make sure that you are setting your tsconfig.json build option to system, not commonjs as I was in the original systemjs demo (which still shows how you can manually map commonjs builds via systemjs).


Use Docusaurus built-in versioning rather than ad-hoc approach

https://docusaurus.io/docs/en/versioning

We don't need to do this for v1, but for v2 and other versions going forward we should do this. There should also be a way to work on the next version of the docs, for the not-yet-release next major version.

Closing since this is done


No recipients specified

There seems to be the bug of the latest version.
This is my ruby codes:
response =
 HelloSign.create_embedded_signature_request_with_template(
    :test_mode => 1,
    :client_id => 'e83be85a783e79d3093269486aa98540',
    :template_id => 'f674cfb4a0053a792adcae3bc5f7e0375630b91d',
    :subject => 'Embedded signature request',
    :message => 'Fill this in.',
    :signers => [
        {
            :email_address =><EMAIL_ADDRESS>            :name => 'Jack',
            :role => 'subject'
        }
    ]
)

I keep getting the following error:
Request URI: https://api.hellosign.com/v3/signature_request/create_embedded_with_template
Message: {"error":{"error_msg":"No recipients specified","error_name":"bad_request"}}

Was having the same issue in the Python SDK, resolved it by changing role to "Applicant"

Was having the same issue in the Python SDK, resolved it by using a role previously added for the template.

That's a good point @caioariede - @vsrboth double check that template_id has the role 'subject' as a signer role (:role is case sensitive, so 'Subject' in the code would fail if the role on the actual template was 'subject').

Hey @vsrboth - how's this looking? Did you get it to work?

@radhack I got it work just fine long ago :) You are right, the issue is the role :)


tests failing on production at end of part 1

Hey guys, loving building this project while following your tutorial. I just finished part 1 and moving on to part 2. I noticed at the end of the 'Project Refactor' section, I've got a failing test on my production node:
======================================================================
FAIL: test_app_is_development (test_config.TestDevelopmentConfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/app/project/tests/test_config.py", line 25, in test_app_is_development
    'postgres://postgres:postgres@users-db:5432/users_dev'
AssertionError: False is not true

This makes sense because I'm not in dev, but is this test expected to fail here? I pulled down the code from this repo and I'm seeing the same behavior on the Part1 tag.

nevermind this, i kept reading the guide and we fixed that error.


cpp performance issue

the following loop
for (const auto &tag : posts[i].tags)
{
    auto it = tagMap.insert({tag, std::vector<int>{i}});
    if (!it.second) {
        it.first->second.push_back(i);
    }
}

is not idiomatic and it has a performance issue (std::vector is created even if it's not used)
the right (and simpler) way:
for (const auto &tag : posts[i].tags)
{
   tagMap[tag].push_back(i);
}

on my machine:
original code: Processing time (w/o IO): 36 ms
optimized code: Processing time (w/o IO): 28 ms

Weirdly improves the concurrent solution but regresses the single threaded sol. #362

strange. it looked like an obvious issue ...


webhooks: Add head_commit field to push payload.

Would appreciate comments/feedback on whether the approach taken is correct or not. Have tested the changes manually.
Fixes: #5266.

(Updated dependency, build should pass now!)

Would be great if convert.ToCommit could be reused somehow to get api.PayloadCommit to not have so much duplicated code.

@HarshitOnGitHub can you fix to reuse convert.ToCommit?

@lafriks convert.ToCommit can't be used directly as it causes cyclic dependency. I was thinking of moving the function to some other place but couldn't decide on a good new place for it.

@lafriks Thoughts?

Please resolve the conflicts


[HUDI-1451] Support bulk insert v2 with Spark 3.0.0

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
Recently, we made Hudi support Spark 3.0.0: https://github.com/apache/hudi/pull/2208. However, there was a large refactor done to Spark datasource V2 API interfaces from version 2.4.4 → 3.0.0. So currently our bulk insert v2(https://issues.apache.org/jira/browse/HUDI-1013) feature is marked as unsupported with Spark3.
We need to redesign the bulk insert v2 part with datasource v2 api in Spark 3.0.0.
Brief change log
Create a new internal datasource org.apache.hudi.spark3.internal which implements bulk insert v2 with datasource v2 API in Spark 3.0.0.
Most code are migrated from datasource org.apache.hudi.internal.
Verify this pull request
This change added tests and can be verified as follows:

Added two unit tests to verify the change.

Committer checklist

[x] Has a corresponding JIRA in PR title & commit

[x] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2328 (0a7688a) into master (6cf25d5) will decrease coverage by 41.94%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #2328       +/-   ##
=============================================
- Coverage     52.35%   10.40%   -41.95%
+ Complexity     2631       48     -2583
=============================================
  Files           329       51      -278
  Lines         14808     1787    -13021
  Branches       1484      213     -1271
=============================================
- Hits           7752      186     -7566
+ Misses         6441     1588     -4853
+ Partials        615       13      -602

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
100.00% <ø> (ø)
0.00 <ø> (ø)

hudicommon
?
?

hudihadoopmr
?
?

huditimelineservice
?
?

hudiutilities
10.40% <ø> (-59.71%)
0.00 <ø> (ø)

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

 We are targeting to get this landed for upcoming release. Let me know if I can help.

@zhedoubushishi : Gentle ping on this. We are targeting to get this landed for upcoming release. Let me know if I can help.

Hey @nsivabalan, thanks for the review! Sorry was working on some operations. I can update this pr in the next few days.

I see you have copy pasted most classes from existing ones. Can we try to reuse the code as much as possible.
For eg, lets take HoodieDataSourceInternalWriter.
We can create a class called HoodieDataSourceInternalWriterHelper and pretty much copy contents from HoodieDataSourceInternalWriter.
Within HoodieDataSourceInternalWriter, instantiate HoodieDataSourceInternalWriterHelper and call into corresponding methods.
Similarly we could do for all classes if required.
HoodieDataSourceInternalWriter(spark2) & HoodieDataSourceInternalBatchWriter(spark3)
HoodieBulkInsertDataInternalWriterFactory(spark2) & HoodieBulkInsertDataInternalWriterFactory(spark3)
HoodieBulkInsertDataInternalWriter(spark2) & HoodieBulkInsertDataInternalWriter(spark3)

Make sense to me. This can avoid duplicated code. I'll refactor these classes.

reviewed source code. yet to review tests.

The test code also has the duplicate issue, will also refactor the test code. You can review it after I pushed a new commit.


[bugfix] Fix incorrect regex for GpuBandwidth perf results

The string tested on is multiline, so must not match stuff with *

Codecov Report

Merging #2272 (2d862f3) into master (e148779) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2272   +/-   ##
=======================================
  Coverage   86.13%   86.13%
=======================================
  Files          56       56
  Lines       10202    10202
=======================================
  Hits         8787     8787
  Misses       1415     1415

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 e148779...2d862f3. Read the comment docs.

Can I test this patch?

Ok to test

I have removed the import sys that the unit test was complaining.
After the unit tests pass, lgtm

Ah sorry, leftover from debugging this.
And now with fix for the D2D regex too which I forgot the first time around.


Add manifest processor

Codecov Report

Merging #35 (1e32b92) into main (908e536) will decrease coverage by 5.44%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
- Coverage   76.62%   71.17%   -5.45%
==========================================
  Files           7        7
  Lines         154      170      +16
  Branches       26       33       +7
==========================================
+ Hits          118      121       +3
- Misses         36       49      +13

Impacted Files
Coverage Δ

packages/core/src/index.ts
68.33% <14.28%> (-7.14%)
:arrow_down:

packages/react-core/src/scalprum-component.tsx
82.50% <61.11%> (-17.50%)
:arrow_down:

packages/react-core/src/scalprum-route.tsx
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


[flutter_conductor] Fix codesign test

Partial fix to https://github.com/flutter/flutter/issues/95297
Whereas the Mac $BRANCH verify_binaries_codesigned builder only runs on post-submit release branches, this would add a check that the binaries are codesigned pre-submit.
From looking at https://ci.chromium.org/ui/p/flutter/builders/prod/Linux stable firebase_release_smoke_test/38/overview, it looks like relying on platform.environment['LUCI_BRANCH'] will only work pre-submit. However, it's probably better to catch unsigned binaries in pre-submit than post-submit?
WDYT @CaseyHillers and @XilaiZhang?

CLosing as stale


Added authors to each chapter

Can everyone check to make sure I got the contributions correct? Anything I should add/change? Thanks!

Looks good from me!

Same here!

I edited my tag, looks good to me.


⚠ Bofrost.fr has degraded performance

In 1c82278, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 2086 ms

Resolved: Bofrost.fr performance has improved in afa98af after 6 minutes.


Streaming not working on Android

On iOS m3u8 streaming works fine, play mp4 file works.
On Android mp4 file works, but the same streaming like for iOS not working
I got 2 video errors in onError callback:

extra: 0
what: 100

And after 2 seconds:
2) extra: 0
what: -38

Link for example:
http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8

My dump from AndroidStudio:
02-05 09:37:28.024 1721-1964/com.myApp I/ReactNativeJS: http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8
02-05 09:37:28.406 1721-1721/com.myApp W/MediaPlayer: setScreenOnWhilePlaying(true) is ineffective without a SurfaceHolder
02-05 09:37:28.416 1935-1977/? I/LiveSession: onConnect http://
02-05 09:37:28.446 1935-1946/? D/NuPlayerDriver: reset(0xf584edc0)
02-05 09:37:28.454 1935-1976/? D/NuPlayerDriver: notifyResetComplete(0xf584edc0)
02-05 09:37:28.455 1935-1935/? D/NuPlayerDriver: reset(0xf584edc0)
02-05 09:37:28.459 1935-1981/? I/LiveSession: onConnect http://
02-05 09:37:28.552 1935-1981/? I/ESQueue: found AAC codec config (48000 Hz, 2 channels)
02-05 09:37:28.552 1935-1981/? I/avc_utils: found AVC codec config (720 x 576, High-profile level 3.0) SAR 64 : 45
02-05 09:37:28.559 1721-1721/com.myApp W/MediaPlayer: setScreenOnWhilePlaying(true) is ineffective for Surface
02-05 09:37:29.432 1935-1981/? I/ATSParser: discontinuity on stream pid 0x0100
02-05 09:37:29.463 1935-1981/? I/ATSParser: discontinuity on stream pid 0x0101
02-05 09:37:30.473 1721-1964/com.myApp I/ReactNativeJS: LOAD START!
02-05 09:37:30.690 1721-1749/com.myApp W/MediaPlayer: info/warning (801, 0)
02-05 09:37:30.698 1721-1721/com.myApp E/MediaPlayer: Should have subtitle controller already set
02-05 09:37:30.698 1935-1947/? E/MediaPlayerService: getDuration returned -2147483648
02-05 09:37:30.703 1935-1945/? D/NuPlayerDriver: start(0xf2c2f1c0)
02-05 09:37:30.709 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.718 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.718 1935-1985/? D/SoftFFmpegAudio: SoftFFmpegAudio component: OMX.ffmpeg.wma.decoder mMode: 4
02-05 09:37:30.725 1935-1985/? V/SoftFFmpegAudio: ~SoftFFmpegAudio
02-05 09:37:30.729 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.733 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.734 1935-1985/? D/SoftFFmpegAudio: SoftFFmpegAudio component: OMX.ffmpeg.ra.decoder mMode: 5
02-05 09:37:30.738 1935-1985/? V/SoftFFmpegAudio: ~SoftFFmpegAudio
02-05 09:37:30.744 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.747 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.748 1935-1985/? D/SoftFFmpegAudio: SoftFFmpegAudio component: OMX.ffmpeg.flac.decoder mMode: 6
02-05 09:37:30.748 1935-1985/? V/SoftFFmpegAudio: ~SoftFFmpegAudio
02-05 09:37:30.751 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.754 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.757 1935-1985/? D/SoftFFmpegAudio: SoftFFmpegAudio component: OMX.ffmpeg.mp2.decoder mMode: 7
02-05 09:37:30.760 1935-1985/? V/SoftFFmpegAudio: ~SoftFFmpegAudio
02-05 09:37:30.763 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.766 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.768 1935-1985/? D/SoftFFmpegAudio: SoftFFmpegAudio component: OMX.ffmpeg.ac3.decoder mMode: 8
02-05 09:37:30.769 1935-1985/? V/SoftFFmpegAudio: ~SoftFFmpegAudio
02-05 09:37:30.771 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.774 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.775 1935-1985/? D/SoftFFmpegAudio: SoftFFmpegAudio component: OMX.ffmpeg.ape.decoder mMode: 9
02-05 09:37:30.776 1935-1985/? V/SoftFFmpegAudio: ~SoftFFmpegAudio
02-05 09:37:30.778 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.781 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.781 1935-1985/? D/SoftFFmpegAudio: SoftFFmpegAudio component: OMX.ffmpeg.dts.decoder mMode: 10
02-05 09:37:30.783 1935-1985/? V/SoftFFmpegAudio: ~SoftFFmpegAudio
02-05 09:37:30.785 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.786 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.787 1935-1985/? D/SoftFFmpegAudio: SoftFFmpegAudio component: OMX.ffmpeg.pcm.decoder mMode: 12
02-05 09:37:30.787 1935-1985/? V/SoftFFmpegAudio: ~SoftFFmpegAudio
02-05 09:37:30.789 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.791 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.792 1935-1985/? D/SoftFFmpegAudio: SoftFFmpegAudio component: OMX.ffmpeg.atrial.decoder mMode: 11
02-05 09:37:30.793 1935-1985/? V/SoftFFmpegAudio: ~SoftFFmpegAudio
02-05 09:37:30.795 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.797 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.797 1935-1985/? W/linker: libswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.798 1935-1985/? D/SoftFFmpegVideo: SoftFFmpegVideo component: OMX.ffmpeg.h264.decoder mMode: 0 appData: 0xf585c600
02-05 09:37:30.799 1935-1985/? E/OMXNodeInstance: getParameter(a:ffmpeg.h264.decoder, ParamVideoProfileLevelQuerySupported(0x600000f)) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.799 1935-1985/? W/OMXNodeInstance: [a:ffmpeg.h264.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.799 1935-1985/? E/OMXNodeInstance: getExtensionIndex(a:ffmpeg.h264.decoder, OMX.google.android.index.prepareForAdaptivePlayback) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.799 1935-1985/? V/SoftFFmpegVideo: ~SoftFFmpegVideo
02-05 09:37:30.801 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.803 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.804 1935-1985/? W/linker: libswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.804 1935-1985/? D/SoftFFmpegVideo: SoftFFmpegVideo component: OMX.ffmpeg.mpeg2v.decoder mMode: 0 appData: 0xf585c600
02-05 09:37:30.805 1935-1985/? E/SoftFFmpegVideo: unsupported role: video_decoder.mpeg2
02-05 09:37:30.805 1935-1985/? E/OMXNodeInstance: setParameter(b:ffmpeg.mpeg2v.decoder, ParamStandardComponentRole(0x1000017)) ERROR: Undefined(0x80001001)
02-05 09:37:30.805 1935-1985/? W/OMXCodec: Failed to set standard component role 'video_decoder.mpeg2'.
02-05 09:37:30.805 1935-1985/? E/OMXNodeInstance: getParameter(b:ffmpeg.mpeg2v.decoder, ParamVideoProfileLevelQuerySupported(0x600000f)) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.805 1935-1985/? W/OMXNodeInstance: [b:ffmpeg.mpeg2v.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.805 1935-1985/? E/OMXNodeInstance: getExtensionIndex(b:ffmpeg.mpeg2v.decoder, OMX.google.android.index.prepareForAdaptivePlayback) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.806 1935-1985/? V/SoftFFmpegVideo: ~SoftFFmpegVideo
02-05 09:37:30.809 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.812 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.812 1935-1985/? W/linker: libswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.812 1935-1985/? D/SoftFFmpegVideo: SoftFFmpegVideo component: OMX.ffmpeg.wmv.decoder mMode: 0 appData: 0xf585c600
02-05 09:37:30.814 1935-1985/? E/OMXNodeInstance: getParameter(c:ffmpeg.wmv.decoder, ParamVideoProfileLevelQuerySupported(0x600000f)) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.814 1935-1985/? W/OMXNodeInstance: [c:ffmpeg.wmv.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.814 1935-1985/? E/OMXNodeInstance: getExtensionIndex(c:ffmpeg.wmv.decoder, OMX.google.android.index.prepareForAdaptivePlayback) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.815 1935-1985/? V/SoftFFmpegVideo: ~SoftFFmpegVideo
02-05 09:37:30.820 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.823 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.823 1935-1985/? W/linker: libswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.823 1935-1985/? D/SoftFFmpegVideo: SoftFFmpegVideo component: OMX.ffmpeg.rv.decoder mMode: 0 appData: 0xf585c600
02-05 09:37:30.824 1935-1985/? E/OMXNodeInstance: getParameter(d:ffmpeg.rv.decoder, ParamVideoProfileLevelQuerySupported(0x600000f)) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.824 1935-1985/? W/OMXNodeInstance: [d:ffmpeg.rv.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.824 1935-1985/? E/OMXNodeInstance: getExtensionIndex(d:ffmpeg.rv.decoder, OMX.google.android.index.prepareForAdaptivePlayback) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.824 1935-1985/? V/SoftFFmpegVideo: ~SoftFFmpegVideo
02-05 09:37:30.826 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.829 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.829 1935-1985/? W/linker: libswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.830 1935-1985/? D/SoftFFmpegVideo: SoftFFmpegVideo component: OMX.ffmpeg.vc1.decoder mMode: 0 appData: 0xf585c600
02-05 09:37:30.830 1935-1985/? E/OMXNodeInstance: getParameter(e:ffmpeg.vc1.decoder, ParamVideoProfileLevelQuerySupported(0x600000f)) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.832 1935-1985/? W/OMXNodeInstance: [e:ffmpeg.vc1.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.832 1935-1985/? E/OMXNodeInstance: getExtensionIndex(e:ffmpeg.vc1.decoder, OMX.google.android.index.prepareForAdaptivePlayback) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.832 1935-1985/? V/SoftFFmpegVideo: ~SoftFFmpegVideo
02-05 09:37:30.835 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.838 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.838 1935-1985/? W/linker: libswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.839 1935-1985/? D/SoftFFmpegVideo: SoftFFmpegVideo component: OMX.ffmpeg.flv1.decoder mMode: 0 appData: 0xf585c600
02-05 09:37:30.839 1935-1985/? E/OMXNodeInstance: getParameter(f:ffmpeg.flv1.decoder, ParamVideoProfileLevelQuerySupported(0x600000f)) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.839 1935-1985/? W/OMXNodeInstance: [f:ffmpeg.flv1.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.839 1935-1985/? E/OMXNodeInstance: getExtensionIndex(f:ffmpeg.flv1.decoder, OMX.google.android.index.prepareForAdaptivePlayback) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.839 1935-1985/? V/SoftFFmpegVideo: ~SoftFFmpegVideo
02-05 09:37:30.841 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.845 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.845 1935-1985/? W/linker: libswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.846 1935-1985/? D/SoftFFmpegVideo: SoftFFmpegVideo component: OMX.ffmpeg.divx.decoder mMode: 0 appData: 0xf585c600
02-05 09:37:30.847 1935-1985/? E/OMXNodeInstance: getParameter(10:ffmpeg.divx.decoder, ParamVideoProfileLevelQuerySupported(0x600000f)) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.847 1935-1985/? W/OMXNodeInstance: [10:ffmpeg.divx.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.847 1935-1985/? E/OMXNodeInstance: getExtensionIndex(10:ffmpeg.divx.decoder, OMX.google.android.index.prepareForAdaptivePlayback) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.848 1935-1985/? V/SoftFFmpegVideo: ~SoftFFmpegVideo
02-05 09:37:30.849 1935-1985/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.853 1935-1985/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.853 1935-1985/? W/linker: libswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.853 1935-1985/? D/SoftFFmpegVideo: SoftFFmpegVideo component: OMX.ffmpeg.vtrial.decoder mMode: 0 appData: 0xf585c600
02-05 09:37:30.855 1935-1985/? E/OMXNodeInstance: getParameter(11:ffmpeg.vtrial.decoder, ParamVideoProfileLevelQuerySupported(0x600000f)) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.855 1935-1985/? W/OMXNodeInstance: [11:ffmpeg.vtrial.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.855 1935-1985/? E/OMXNodeInstance: getExtensionIndex(11:ffmpeg.vtrial.decoder, OMX.google.android.index.prepareForAdaptivePlayback) ERROR: UnsupportedIndex(0x8000101a)
02-05 09:37:30.855 1935-1985/? V/SoftFFmpegVideo: ~SoftFFmpegVideo
02-05 09:37:30.905 1935-1985/? W/OMXNodeInstance: [1c:google.mpeg4.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.909 1935-1985/? W/OMXNodeInstance: [1d:google.h263.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.912 1935-1985/? W/OMXNodeInstance: [1e:google.vp8.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.914 1935-1985/? W/OMXNodeInstance: [1f:google.vp9.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.919 1935-1985/? D/SoftHEVC: Number of CPU cores: 4
02-05 09:37:30.919 1935-1985/? D/SoftHEVC: Initializing decoder
02-05 09:37:30.919 1935-1985/? D/SoftHEVC: Set number of cores to 4
02-05 09:37:30.919 1935-1985/? D/SoftHEVC: Ittiam decoder version number: @(#)Id:HEVCDEC_production Ver:04.01 Released by ITTIAM Build: Nov  4 2015 @ 20:39:34
02-05 09:37:30.920 1935-1985/? W/OMXNodeInstance: [20:google.hevc.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.920 1935-1985/? D/SoftHEVC: Freeing codec memory
02-05 09:37:30.920 1935-1985/? D/SoftHEVC: Number of CPU cores: 4
02-05 09:37:30.920 1935-1985/? D/SoftHEVC: Initializing decoder
02-05 09:37:30.921 1935-1985/? D/SoftHEVC: Set number of cores to 4
02-05 09:37:30.921 1935-1985/? D/SoftHEVC: Ittiam decoder version number: @(#)Id:HEVCDEC_production Ver:04.01 Released by ITTIAM Build: Nov  4 2015 @ 20:39:34
02-05 09:37:30.922 1935-1985/? D/SoftHEVC: In SoftHEVC::~SoftHEVC
02-05 09:37:30.922 1935-1985/? D/SoftHEVC: Freeing codec memory
02-05 09:37:30.936 1935-1985/? I/SoftMPEG4Encoder: Construct SoftMPEG4Encoder
02-05 09:37:30.936 1935-1985/? W/ACodec: do not know color format 0x7f000789 =<PHONE_NUMBER>
02-05 09:37:30.939 1935-1985/? I/SoftAVCEncoder: Construct SoftAVCEncoder
02-05 09:37:30.939 1935-1985/? W/ACodec: do not know color format 0x7f000789 =<PHONE_NUMBER>
02-05 09:37:30.941 1935-1985/? I/SoftMPEG4Encoder: Construct SoftMPEG4Encoder
02-05 09:37:30.941 1935-1985/? W/ACodec: do not know color format 0x7f000789 =<PHONE_NUMBER>
02-05 09:37:30.946 1935-1985/? W/ACodec: do not know color format 0x7f000789 =<PHONE_NUMBER>
02-05 09:37:30.948 1935-1987/? W/linker: libavcodec.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.951 1935-1987/? W/linker: libswresample.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.951 1935-1987/? W/linker: libswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
02-05 09:37:30.952 1935-1987/? D/SoftFFmpegVideo: SoftFFmpegVideo component: OMX.ffmpeg.h264.decoder mMode: 0 appData: 0xf2c3ea00
02-05 09:37:30.960 1935-1987/? W/OMXNodeInstance: [29:ffmpeg.h264.decoder] component does not support metadata mode; using fallback
02-05 09:37:30.961 1935-1987/? E/ACodec: [OMX.ffmpeg.h264.decoder] storeMetaDataInBuffers failed w/ err -1010
02-05 09:37:30.961 1935-1987/? V/SoftFFmpegVideo: got OMX_IndexParamPortDefinition, width: 720, height: 576
02-05 09:37:30.961 1935-1987/? E/OMXNodeInstance: getConfig(29:ffmpeg.h264.decoder, ConfigCommonOutputCrop(0x700000f)) ERROR: Undefined(0x80001001)
02-05 09:37:30.967 1935-2068/? I/SoftFFmpegVideo: got extradata, ignore: 0, size: 33
02-05 09:37:30.967 1935-1985/? I/NuPlayerDecoder: audio discontinuity (format=0, time=1)
02-05 09:37:30.967 1935-2068/? I/SoftFFmpegVideo: got extradata, ignore: 0, size: 10
02-05 09:37:30.967 1935-2070/? I/SoftAAC2: limiting to stereo output
02-05 09:37:30.967 1935-1983/? I/NuPlayerDecoder: video discontinuity (format=0, time=1)
02-05 09:37:30.968 1935-2068/? V/SoftFFmpegVideo: ffmpeg video decoder flush port(0)
02-05 09:37:30.968 1935-1985/? I/NuPlayerDecoder: [OMX.google.aac.decoder] resubmitting CSD
02-05 09:37:30.968 1935-2068/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x60 in tid 2068 (eg.h264.decoder)
02-05 09:37:30.968 1935-2070/? I/SoftAAC2: limiting to stereo output
02-05 09:37:30.969 1935-2070/? I/SoftAAC2: Reconfiguring decoder: 0->48000 Hz, 0->2 channels
02-05 09:37:30.973 1935-1982/? D/AudioSink: bufferCount (8) is too small and increased to 12
02-05 09:37:31.069 84-84/?  I/DEBUG: Build fingerprint: 'generic/vbox86tp/vbox86tp:5.1/LMY47D/buildbot11172044:userdebug/test-keys'
02-05 09:37:31.069 84-84/? I/DEBUG: Revision: '0'
02-05 09:37:31.069 84-84/? I/DEBUG: ABI: 'x86'
02-05 09:37:31.069 84-84/? I/DEBUG: pid: 1935, tid: 2068, name: eg.h264.decoder  >>> /system/bin/mediaserver <<<
02-05 09:37:31.069 84-84/? I/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x60
02-05 09:37:31.070 536-620/system_process W/NativeCrashListener: Couldn't find ProcessRecord for pid 1935
02-05 09:37:31.073 84-84/? I/DEBUG:     eax 00000000  ebx eb9a1c60  ecx 64586686  edx 64586686
02-05 09:37:31.073 84-84/? E/DEBUG: AM write failure (32 / Broken pipe)
02-05 09:37:31.073 84-84/? I/DEBUG:     esi f2c5f400  edi f192ed10
02-05 09:37:31.073 84-84/? I/DEBUG:     xcs 00000023  xds 0000002b  xes 0000002b  xfs 00000000  xss 0000002b
02-05 09:37:31.073 84-84/? I/DEBUG:     eip eb589320  ebp f19a8220  esp eaed3a50  flags 00010246
02-05 09:37:31.073 84-84/? I/DEBUG:     #00 pc 006b5320  /system/lib/libavcodec.so (avcodec_flush_buffers+32)
02-05 09:37:31.073 84-84/? I/DEBUG:     #01 pc 00003c0e  /system/lib/libstagefright_soft_ffmpegvdec.so (android::SoftFFmpegVideo::onPortFlushCompleted(unsigned int)+78)
02-05 09:37:31.073 84-84/? I/DEBUG:     #02 pc 00022ac3  /system/lib/libstagefright_omx.so (android::SimpleSoftOMXComponent::onPortFlush(unsigned int, bool)+803)
02-05 09:37:31.073 84-84/? I/DEBUG:     #03 pc 00022a3a  /system/lib/libstagefright_omx.so (android::SimpleSoftOMXComponent::onPortFlush(unsigned int, bool)+666)
02-05 09:37:31.073 84-84/? I/DEBUG:     #04 pc 000239db  /system/lib/libstagefright_omx.so (android::SimpleSoftOMXComponent::onSendCommand(OMX_COMMANDTYPE, unsigned int)+123)
02-05 09:37:31.073 84-84/? I/DEBUG:     #05 pc 00023b3b  /system/lib/libstagefright_omx.so (android::SimpleSoftOMXComponent::onMessageReceived(android::spandroid::AMessage const&)+299)
02-05 09:37:31.073 84-84/? I/DEBUG:     #06 pc 00023d92  /system/lib/libstagefright_omx.so (android::AHandlerReflectorandroid::SimpleSoftOMXComponent::onMessageReceived(android::spandroid::AMessage const&)+82)
02-05 09:37:31.074 84-84/? I/DEBUG:     #07 pc 0000f4c9  /system/lib/libstagefright_foundation.so (android::ALooperRoster::deliverMessage(android::spandroid::AMessage const&)+345)
02-05 09:37:31.074 84-84/? I/DEBUG:     #08 pc 0000e860  /system/lib/libstagefright_foundation.so (android::ALooper::loop()+256)
02-05 09:37:31.074 84-84/? I/DEBUG:     #09 pc 0000e97d  /system/lib/libstagefright_foundation.so (android::ALooper::LooperThread::threadLoop()+29)
02-05 09:37:31.074 84-84/? I/DEBUG:     #10 pc 000169de  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+398)
02-05 09:37:31.074 84-84/? I/DEBUG:     #11 pc 000160fa  /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+122)
02-05 09:37:31.074 84-84/? I/DEBUG:     #12 pc 000211d8  /system/lib/libc.so (__pthread_start(void*)+56)
02-05 09:37:31.074 84-84/? I/DEBUG:     #13 pc 0001c559  /system/lib/libc.so (__start_thread+25)
02-05 09:37:31.074 84-84/? I/DEBUG:     #14 pc 00013126  /system/lib/libc.so (__bionic_clone+70)
02-05 09:37:31.129 536-560/system_process I/BootReceiver: Copying /data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE)
02-05 09:37:31.140 1936-1936/? E/local_camera: We have a problem with the hw connection 2 (No such file or directory)
02-05 09:37:31.140 1721-1738/com.myApp W/IMediaDeathNotifier: media server died
02-05 09:37:31.140 1721-1749/com.myApp W/AudioSystem: AudioFlinger server died!
02-05 09:37:31.140 153-153/? I/ServiceManager: service 'media.audio_flinger' died
02-05 09:37:31.140 153-153/? I/ServiceManager: service 'media.player' died
02-05 09:37:31.140 153-153/? I/ServiceManager: service 'media.camera' died
02-05 09:37:31.140 153-153/? I/ServiceManager: service 'media.audio_policy' died
02-05 09:37:31.140 153-153/? I/ServiceManager: service 'media.sound_trigger_hw' died
02-05 09:37:31.140 536-569/system_process W/AudioSystem: AudioPolicyService server died!
02-05 09:37:31.140 1937-1937/? E/local_camera: We have a problem with the hw connection 2 (No such file or directory)
02-05 09:37:31.140 1721-1738/com.myApp E/MediaPlayer: error (100, 0)
02-05 09:37:31.140 1721-1721/com.myApp E/MediaPlayer: Error (100,0)
02-05 09:37:31.144 536-984/system_process W/AudioSystem: AudioFlinger server died!
02-05 09:37:31.144 536-601/system_process E/AudioService: Media server died.
02-05 09:37:31.237 2076-2076/? I/mediaserver: ServiceManager: 0xf58356a0
02-05 09:37:31.237 2076-2076/? I/AudioFlinger: Using default 3000 mSec as standby time.
02-05 09:37:31.238 2076-2076/? I/CameraService: CameraService started (pid=2076)
02-05 09:37:31.282 2076-2076/? V/EmulatedCamera_GenyCamera: Initialize:
02-05 09:37:31.282 2076-2076/? V/EmulatedCamera_GenyCamera:    initializing back camera on local srv port 24801
02-05 09:37:31.282 2076-2076/? V/EmulatedCamera_GenyDevice: Initialize: Connected to the emulated camera service 'back'
02-05 09:37:31.282 2076-2076/? V/EmulatedCamera_Device: initializeWhiteBalanceModes with auto, 1.000000, 1.000000
02-05 09:37:31.282 2076-2076/? V/EmulatedCamera_Device: initializeWhiteBalanceModes with incandescent, 1.380000, 0.600000
02-05 09:37:31.282 2076-2076/? V/EmulatedCamera_Device: initializeWhiteBalanceModes with daylight, 1.090000, 0.920000
02-05 09:37:31.282 2076-2076/? V/EmulatedCamera_Device: initializeWhiteBalanceModes with twilight, 0.920000, 1.220000
02-05 09:37:31.282 2076-2076/? V/EmulatedCamera_Device: setWhiteBalanceMode with white balance auto
02-05 09:37:31.282 2076-2076/? V/EmulatedCamera_GenyCamera: getCameraOrientation: camera orientation set to 0
02-05 09:37:31.282 2076-2076/? V/EmulatedCamera_GenyCamera: Initialize: Geny camera back is initialized. Current frame is 640x480
02-05 09:37:31.283 2076-2076/? V/EmulatedCamera_GenyCamera: Initialize:
02-05 09:37:31.283 2076-2076/? V/EmulatedCamera_GenyCamera:    initializing front camera on local srv port 24811
02-05 09:37:31.284 2076-2076/? V/EmulatedCamera_GenyDevice: Initialize: Connected to the emulated camera service 'front'
02-05 09:37:31.284 2076-2076/? V/EmulatedCamera_Device: initializeWhiteBalanceModes with auto, 1.000000, 1.000000
02-05 09:37:31.284 2076-2076/? V/EmulatedCamera_Device: initializeWhiteBalanceModes with incandescent, 1.380000, 0.600000
02-05 09:37:31.284 2076-2076/? V/EmulatedCamera_Device: initializeWhiteBalanceModes with daylight, 1.090000, 0.920000
02-05 09:37:31.284 2076-2076/? V/EmulatedCamera_Device: initializeWhiteBalanceModes with twilight, 0.920000, 1.220000
02-05 09:37:31.284 2076-2076/? V/EmulatedCamera_Device: setWhiteBalanceMode with white balance auto
02-05 09:37:31.284 2076-2076/? V/EmulatedCamera_GenyCamera: getCameraOrientation: camera orientation set to 0
02-05 09:37:31.284 2076-2076/? V/EmulatedCamera_GenyCamera: Initialize: Geny camera front is initialized. Current frame is 640x480
02-05 09:37:31.285 2076-2076/? I/CameraService: Loaded "Emulated Camera Module" camera module
02-05 09:37:31.285 2076-2076/? I/AudioPolicyService: AudioPolicyService CSTOR in new mode
02-05 09:37:31.285 2076-2076/? I/AudioPolicyManager: loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
02-05 09:37:31.289 2076-2076/? I/AudioFlinger: loadHwModule() Loaded primary audio interface from Genymotion audio HW HAL (audio) handle 1
02-05 09:37:31.289 2076-2076/? I/genymotion_audio: Starting pcm server
02-05 09:37:31.289 2076-2076/? I/AudioFlinger: HAL output buffer size 880 frames, normal sink buffer size 1056 frames
02-05 09:37:31.289 2076-2082/? I/genymotion_audio: out sampling rate 44100
02-05 09:37:31.290 2076-2076/? I/AudioMixer: found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
02-05 09:37:31.290 2076-2076/? E/MonoPipe: Failed to fetch local time frequency when constructing a MonoPipe (res = -32).  getNextWriteTimestamp calls will be non-functional
02-05 09:37:31.291 2076-2076/? I/AudioFlinger: Using module 1 has the primary audio interface
02-05 09:37:31.292 2076-2084/? I/AudioFlinger: AudioFlinger's thread 0xf58ba000 ready to run
02-05 09:37:31.295 2076-2085/? I/AudioFlinger: AudioFlinger's thread 0xf595c000 ready to run
02-05 09:37:31.297 2076-2076/? E/SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
02-05 09:37:31.458 1721-1964/com.myApp I/ReactNativeJS: VIDEO ERROR!
02-05 09:37:31.458 1721-1964/com.myApp I/ReactNativeJS: { error: { extra: 0, what: 100 } }
02-05 09:37:31.549 1721-1721/com.myApp E/MediaPlayer: Attempt to perform seekTo in wrong state: mPlayer=0xdfd63860, mCurrentState=0
02-05 09:37:31.549 1721-1721/com.myApp E/MediaPlayer: error (-38, 0)
02-05 09:37:31.553 1721-1721/com.myApp E/MediaPlayer: Error (-38,0)
02-05 09:37:31.646 536-601/system_process E/AudioService: Media server started.
02-05 09:37:31.654 2076-2076/? W/AudioPolicyManager: setPhoneState() setting same state 0
02-05 09:37:32.461 1721-1964/com.myApp I/ReactNativeJS: VIDEO ERROR!
02-05 09:37:32.461 1721-1964/com.myApp I/ReactNativeJS: { error: { extra: 0, what: -38 } }

Wanted to re-open the discussion here if needed. We are trying to clean up open issues in this repo, so if no further comments in the next couple weeks it will be closed.

@kitolog how did you solve?

@kitolog Finally you can solve the problem?

@kitolog  I am also wondering the same. I am getting error with the following shape:
{
   error: {
      extra: -2147483648,
      what: 1
   }
}

My code:
                    <View style={styles.videoWrap}>
                        <Video source={{ uri }} style={styles.video} resizeMode="contain" onLoad={()=>console.log('video loaded!')} onError={e=>console.log('video load failed!', e)} />
                    </View>

@Noitidart do you fix it , I also getting same error

i'm also facing same error

{"error":{"extra":-2147483648,"what":1}}
Any update on this??


Cloud Defender: Azure registry container images should have vulnerabilities resolved

Getting this in Cloud Defender but not able to resolve as it was not used in code
Using mcr.microsoft.com/azure-functions/python:4.33.1-python3.10
HIGH Vulnerability CVE-2017-0249 - system.net.security needs to be upgraded from <IP_ADDRESS> to 4.3.1
MEDIUM Vulnerability CVE-2018-8292 - system.net.http needs to be updated to <IP_ADDRESS> to 4.3.4
MEDIUM Vulnerability CVE-2017-0248 - system.net.security needs to be updated to <IP_ADDRESS> to 4.3.1
MEDIUM Vulnerability CVE-2017-0256 - system.net.security needs to be updated to <IP_ADDRESS> to 4.3.1
Container:

Repository:

For the used packages:

This is causing a block to our deployment due to this vulnerability picked up by Cloud Defender

I was  not able to see these issues in my scan. Is there a docker file you can share or a Hash of the image fle?


Use (localdb)\MSSQLLocalDB

Use (localdb)\MSSQLLocalDB, which isn't version specific to SQL Server Express
Just another PR to make things easier to compile the projects out of the box.

Requires SQL Server Express 2014 or higher.


[Storage] Support HDFS feature and web endpoint in Account properties

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
Add HDFS feature and web endpoint support to Storage Account.
Already pass review in private repo in PR:
https://github.com/Azure/azure-rest-api-specs-pr/pull/507
https://github.com/Azure/azure-rest-api-specs-pr/pull/504
Changes include:

Add web endpoint
Add dfs endpoint
Add Account property IsHndEnabled
Change the example subscription to {subscription-id} per suggestion in #504

Rest doc: https://microsoft.sharepoint.com/teams/AzureStorage/_layouts/15/Doc.aspx?sourcedoc={00d45481-7f25-4170-a95e-82dbc6a3041d}&action=default&slrid=0d385f9e-a0fa-0000-758b-e5dde88dbd09
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-node

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go


Installation on computer without frontend? - no method opening "image/svg+xml"

I struggle correctly configuring dtreeviz on Ubuntu 20.04.5 LTS. A possible reason is that it is run on a server machine with no GUI frontend via JupyterHub.
I installed with
pip install dtreeviz

as this did not found the "dot" folder, I also installed
sudo apt-get install graphviz

Now with the hello world Iris example I get:
Error: no "view" mailcap rules found for type "image/svg+xml"
/usr/bin/xdg-open: 869: www-browser: not found
/usr/bin/xdg-open: 869: links2: not found
/usr/bin/xdg-open: 869: elinks: not found
/usr/bin/xdg-open: 869: links: not found
/usr/bin/xdg-open: 869: lynx: not found
/usr/bin/xdg-open: 869: w3m: not found
xdg-open: no method available for opening '/tmp/DTreeViz_1168766.svg'

On another similar machine (same OS, also no UI), I also get
findfont: Font family 'Arial' not found.

not sure but maybe it has trouble viewing svg.  If headless, this could be a problem with what's installed.

Thanks for the pointers. I resolved this as follows but partly it is a workaround.
The first error  (xdg-open: no method available for opening) was resolved by installing a web browser on the server:
sudo apt-get install w3m

This made the package render the svg and save it, but not display it.
The probable reason is persisting error "Error: no "view" mailcap rules found for type "image/svg+xml".
For this, the workaround is to load and display the saved file instead of calling `show' from dtreeviz.
from IPython.display import SVG, display
display(SVG('iris.svg'))

So it sounds like this is more or less resolved by making sure that the server, despite being headless, still has the required libraries in functionality. Thanks for posting as others will find this very useful


change the code base path from git to github

change the code's base path form git to github.com

Codecov Report

Merging #1725 (1e3c086) into dev (77838ec) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #1725   +/-   ##
=======================================
  Coverage   13.56%   13.56%
=======================================
  Files         109      109
  Lines       10658    10658
  Branches      152      152
=======================================
  Hits         1446     1446
  Misses       9089     9089
  Partials      123      123

Impacted Files
Coverage Δ

src/apiserver/service/auth/auth.go
21.05% <ø> (ø)

src/apiserver/service/auth/dbauth.go
50.00% <ø> (ø)

src/apiserver/service/auth/indataauth.go
2.32% <ø> (ø)

src/apiserver/service/auth/ldapauth.go
0.62% <ø> (ø)

src/apiserver/service/autoscale.go
0.00% <ø> (ø)

src/apiserver/service/configmap.go
0.00% <ø> (ø)

src/apiserver/service/dashboard.go
0.00% <ø> (ø)

src/apiserver/service/devopsgitlab.go
0.00% <ø> (ø)

src/apiserver/service/devopslegacy.go
0.00% <ø> (ø)

src/apiserver/service/devopsopts.go
75.00% <ø> (ø)

... and 51 more

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 77838ec...1e3c086. Read the comment docs.

Codecov Report

Merging #1725 (1e3c086) into dev (77838ec) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #1725   +/-   ##
=======================================
  Coverage   13.56%   13.56%
=======================================
  Files         109      109
  Lines       10658    10658
  Branches      152      152
=======================================
  Hits         1446     1446
  Misses       9089     9089
  Partials      123      123

Impacted Files
Coverage Δ

src/apiserver/service/auth/auth.go
21.05% <ø> (ø)

src/apiserver/service/auth/dbauth.go
50.00% <ø> (ø)

src/apiserver/service/auth/indataauth.go
2.32% <ø> (ø)

src/apiserver/service/auth/ldapauth.go
0.62% <ø> (ø)

src/apiserver/service/autoscale.go
0.00% <ø> (ø)

src/apiserver/service/configmap.go
0.00% <ø> (ø)

src/apiserver/service/dashboard.go
0.00% <ø> (ø)

src/apiserver/service/devopsgitlab.go
0.00% <ø> (ø)

src/apiserver/service/devopslegacy.go
0.00% <ø> (ø)

src/apiserver/service/devopsopts.go
75.00% <ø> (ø)

... and 51 more

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 77838ec...1e3c086. Read the comment docs.

Has change the project path and build it

Has change the project path and build it


Add beaker://debug-log

This should help us debug some of the networking issues in dat.

PRs welcome on either of those suggestions


mongosh: 1.6.2 -> 1.8.0

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

mongosh is using node-analytics, however if the telemetry server is unreachable, the whole mongosh process crashes.
It might be better to introduce a patch to remove this throw.

https://github.com/NixOS/nixpkgs/pull/219450/files#diff-4073dfdd14fadf0272addb93753d3a16c70bdca1c71b9c950dd525c8ef85cd5bR1294
node2nix resolves to<EMAIL_ADDRESS>, however it's a deprecated version in npmjs. https://www.npmjs.com/package/analytics-node/?activeTab=versions
npm resolves it to 5.1.2, which works properly.
also see https://github.com/NixOS/nixpkgs/pull/217459

node2nix resolves to<EMAIL_ADDRESS>however it's a deprecated version in npmjs.

Per https://github.com/mongodb-js/mongosh/blob/9cf53bc336c79e505cf034bf5e6f3b3b3796cf25/packages/cli-repl/package-lock.json#L12, It seems reasonable.

Yes, 5.2.0 is a valid reason for ^5.1.2, however 5.2.0 is a deprecated version, it should be excluded from version choices.

mongosh is using node-analytics, however if the telemetry server is unreachable, the whole mongosh process crashes.
It might be better to introduce a patch to remove this throw.

It's more like a network problem. Although, I'm not aginst it.

Yes, 5.2.0 is a valid version for ^5.1.2, however 5.2.0 is a deprecated version, it should be excluded from version choices.
Agreed.

see https://www.npmjs.com/package/analytics-node/v/5.2.0
I don't think a network problem to a telemetry should crash the whole program.
As the deprecation message says, 5.2.0 is a breaking change (error handling) and should bump a major version.
It is not what ^5.1.2 actually wants.

As far as I know, the only way to handle this case for node2nix is to use lock file(Using NPM lock files). But I don't think it's a good way.
I think we should leave it as-is right now if we don't have any other choices .

Closing in favor of #217459.


update include file

It looks like this PR should not have been raised against the main slatedocs repo, but against your fork.


Support uuid in AddRestHandler

When a struct has fields of type int, string, bool those are supported for operations, we need to support uuid type as well.

@aryanmehrotra , The uuid.UUID type can be used, but to ensure compatibility with the database, the id field should be defined as a CHAR(36) or VARCHAR(36) data type, rather than an INT, since UUIDs are stored as 36-character strings. This issue can now be considered resolved.


Using == instead of = in a conditional statement leaves MiniBASIC

Good catch!  We'll get that fixed soon.


container_create: Don't save additional copies of config.json

Signed-off-by: Mrunal Patel<EMAIL_ADDRESS>

Just a minor point, if Travis is happy, I am as well :)

This needs more work. I'll open a new one. Thanks!


RFC: Logging subsystem overhaul

Introduction
Logging subsystem has been in zephyr for more than 2 years. During that time there were feature requests which could not be fulfilled with current design. As number of those requests has grown I've started to look into overhaul of logger internals. Overhaul does not plan to change logger application API but it will change backend API. Currently logger has following limitations:

64 bit values cannot be logged
floats cannot be logged #18351
logging transient strings is problematic and requires explicit log_strdup #18147
log message is not self-contained as it arguments may point to transient strings #18147
log hexdump macros does not accept arguments for meta string #26170
logging from user space is time consuming

Further weaknesses:

processing log message takes a lot of stack and flash as log message arguments need to be resolved to vla function: https://github.com/zephyrproject-rtos/zephyr/blob/a953ac83075a62e8e7ad9f343ae885d113d70976/subsys/logging/log_output.c#L278
internal handling of log messages is troublesome because of fragmented nature.

There were suggestions (@andyross) to switch to use ring buffer instead of current fragmented messages.
Proposed change
Plan is to rework internals of the logger to store log message in a ring buffer. This will require that backends handle message synchronously (make a copy if needed).
There will be only one type of a log message (instead of current distinction between standard and hexdump). Message will consist of header, arguments, data (optional), transient strings (optional). Logger will attempt to store arguments in a way that it can be directly casted to va_list (validated on majority of platforms). String arguments will point to space within the message.
_Generic keyword (https://en.cppreference.com/w/c/language/generic) will be used to detect types of logger message arguments at compile time. Any float arguments will be promoted to double, any char * arguments will trigger further processing which will involve detecting %s arguments, calculating length needed to store strings, copying strings to the message body. log_strdup will be deprecated.
This approach shall solve all weaknesses and limitations mentioned above.
As already mentioned, internal architecture change will impact backend interface. Currently, log_message handling is asynchronous, message is alive until last backend indicates that message is not used. This approach may give better memory utilization in certain scenarios because backend does not need to copy the message but, in general, new approach will more memory efficient due to ring buffer. Current approach comes from nrf5 sdk where it was used in a bare metal applications where asynchronous handling is more welcomed. In RTOS environment value of this approach diminishes.
Ring buffer needed for the logger may be generic since it is a variable length messages buffer with following arguments:

multiple producers
3 modes: saturate, overwrite the oldest, block thread context until available
two consumers: standard and panic which may interrupt standard

There are further requests which does not imply architecture change and they will be gradually fixed:

Storing log filtering data in persistent memory #29147
LOG_RAW macro #23019
User definable logger tag #20430

@andyross please let me know if you have any comments.
Dependencies
Logger backends interface will change. It will be simplified as there will be only single message type, message will not be fragmented and arguments will form va_list which can be directly passed to the formatter.
Concerns and Unresolved Questions
_Generic keyword is C11 (#30105) and it is unclear which C standard is currently used by Zephyr. However, it currently compiles without enforcing C11. I didn't who enables C11.

Great! In relation to this work, I would like to highlight: #23021 #23019 and #20430

I want to point out again that float arguments are already promoted to double when passed to a function that lacks a prototype (or in a varargs position), so there is nothing to do for "Any float arguments will be promoted to double".  What has to be done is detecting that the value to be formatted takes more than one word on the stack.
I added cbprintf_arglen() to help with that issue, but that doesn't help with caching transient strings.   If the refactored log system still needs to copy out state for later processing rather than perform it immediately then cbprintf could also be enhanced with a function that walks the format string extracting the specifications and provides them to a callback function, which would allow detecting string parameters precisely.
That wouldn't work with CBPRINTF_NANO, though, which lacks the format specification processing infrastructure.  So if it can be done with _Generic that would be more flexible.  I'm just not clear on how generic varargs functions would work.

@pabigot
So with _generic i am able to serialize all log arguments into an array, detect strings and make the copy into the message. What i missing now is on backend side when string needs to be formatted to be able to get args from serialized array instead va_list.
I was thinking about extending cbprint api with something like:
union cbprint_args {
  va_list ap;
  void *stream;
};

int z_cbvprintf(char_out, ctx, fmt, union cbprint_args args, bool is_va_list);

static inline cbvprintf(char_out, ctx, fmt, va_list ap)
{
  union cbprint_args args = {.ap = ap};
  z_cbvprintf(char_out, ctx, fmt, args, true);
}

static inline cbsprint(char_out, ctx, fmt, void *stream)
{
  union cbprint_args args = {.stream = stream};
 z_cbvprintf(char_out, ctx, fmt, args, false);
}

then change current cbvprint body and replace va_arg with something like:
#define arg_get(is_va_list, args, type) is_va_list ? va_arg(args.va_list, type) : get_from_stream(args.stream, type)

didn't yet try it but it seems to be doable.
What do you think?

Can you point me to the proposed solution using _Generic?  And how you determine the amount of space required for the stream with that interface?
I think the general idea of what you propose has potential, but I'm still concerned about ensuring argument processing is consistent throughout.  Unless you're matching arguments against format specifications, which would require the callback API I proposed, I don't believe you can correctly detect strings.  E.g. how do you handle a char* argument in a position that corresponds to %p?  Making a copy of the string pointed to by the argument would be wrong.
I have some ideas of how to generalize the cbprintf API but want to understand the rest of your solution architecture before determining the most flexible enhancement.

All macro wizardry starts here: https://github.com/nordic-krch/zephyr/blob/7960fd342b65f1779e0c47c1dfc360237d61bf4d/include/logging/log_msg2.h#L399
First, _Generic is used to detect if there are any char * arguments by summing using FOR_EACH on arguments. If there are no char * then case is simple, there are no strings to copy. If there are any char * then complex path is taken (Z_LOG_MSG_EXT). In that path, next step is to build an array which on nth index contains pointer to the char * pointer in the serialized buffer or null if corresponding argument is other than char *. Next z_log_get_s_mask is used to get bit mask of %s in the string. Next, having those 3 things number of bytes needed for those strings are determined. Space is allocated. Then message is filled, strings are copied into message and array with pointers are used to update char * pointers in the serialized arguments.
The most important thing is that all this complex operations not compiled if log message does not contain char *.
There are two versions of macros: one that writes directly to the space allocated for message and second version which creates array with serialized arguments on the stack and pass it to the function. This is a bit slower but may take less rom and is suitable for user space. I will experiment to determine if it makes sense to keep both versions.
I will experiment tomorrow with cbprint extension.

First, _Generic is used to detect if there are any char * arguments by summing using FOR_EACH on arguments.

But that's wrong.  If I write:
LOG_DBG("label %s at %p", cfg->label, cfg->label);

I expect to see the string value of cfg->label and the pointer value of cfg->label.  Displaying the address of some copy of the string made by the logging infrastructure is not acceptable.
The only way I can see to get correct output is to walk the format string, decode the specifiers, and use the specifier character to determine that a copy of a string needs to be stored somewhere.  No macro wizardry would be involved.
I have API in mind that would do this and be flexible enough to handle a few other use cases I can imagine.  Let me prototype that API and see whether it'll do what you need.

The only way I can see to get correct output is to walk the format string, decode the specifiers, and use the specifier character to determine that a copy of a string needs to be stored somewhere. No macro wizardry would be involved.

yes, that is exactly as you wrote. _Gereric is used to determine at compile time if extended version of macro is used or the simple one. Extended involves call to z_log_get_s_mask which decode specifiers and returns mask of %s types. So if if have LOG_DBG("label addr: %p", (char *)label) it will compile extended version but z_log_get_s_mask will return 0 and no strings will be copied.
In case of your example, logger will present exactly what you want, %p will point to original label address but label string will be copied into message payload and formatted from there.

Also it is possible to apply extension only to char * and not to const char * to save space but it may not always be correct (eg. if transient string comes as const char * function parameter).

Ew.  OK; where's z_log_get_s_mask()?  Can you point me to the branch?

this function is already used in master: https://github.com/zephyrproject-rtos/zephyr/blob/87ddddae5222f3158f3d8d4dec26867fc4ab4b4b/subsys/logging/log_core.c#L84
The branch i'm working on: https://github.com/nordic-krch/zephyr/tree/log_64bits

Thanks; I see that now.  It is another decoding of the format specifier, which I'd hoped to avoid because parsing the format sequence to extract conversions correctly is not trivial.  (For example z_log_get_s_mask() will do the wrong thing if %n or the * width or precision flags are present.)
But my first attempt at sharing the conversion extraction fails, because of the way va_list objects need to be processed.  It could be made to work by turning a fairly long sequence of code into a macro, and using that macro in multiple functions.  Or possibly by completely inverting the cbprintf_complete implementation.  That has some potential but I'm not going to dive into it right now.
My attempt is at: https://github.com/pabigot/zephyr/commits/nordic/20201208b
Please read the message of the top commit, which identifies the core problem.  If, in principle, you think something like what's prototyped in the API could work, and agree that we should try to re-use the existing conversion extraction code, I'll revisit this.

That is more or less what I have in mind regarding struct cbprintf_packed_args but I assume that it is possible to build struct cbprintf_packed_args only based on types of arguments provided to the string using _Generic.
Walk might be second option when __VA_ARGS__ is not available and va_list is used (e.g. hooking external logger functions).

And definitely z_log_get_s_mask() belongs in cbprintf.

Can we make logging select CBPRINTF_COMPLETE?  Because if it has to work with the cbprintf changes won't apply.
IMO it's reasonable to require complete support when using logging.  @carlescufi you particularly wanted nano as an optoin, what do you think?

Can we make logging select CBPRINTF_COMPLETE? Because if it has to work with nano the cbprintf changes will be a problem.
IMO it's reasonable to require complete support when using logging. @carlescufi you particularly wanted nano as an option, what do you think?

Logging is big enough as a subsystem that selecting CBPRINTF_COMPLETE when enabling it is reasonable to me. The nano version of cprintf is there for tiny apps that do not use the logging subsystem, just the console/printk.

The solution proposed here as I understand it is based on external processing of the log format string and argument va_list to determine what each parameter is, mutating some arguments (such as transient strings), and saving them all off the stack for subsequent processing.
At a high level this seems reasonable, but I believe the packaging of data that will be processed by cbprintf must be done by cbprintf, for both correctness and maintainability.  An example of a case that can't easily be handled externally is a %.5s print specification, for which the argument may be char * pointing to RAM text that has no terminating NUL: it must be copied, and knowing that only the first 5 characters will ever be accessed is the only way to make a copy.  A more complicated related case is %.*s where the number of characters to display is provided in a preceding argument.  Handling that sort of thing requires much more than knowing which positional arguments correspond to strings as with the existing z_log_get_s_mask().
I've created #30675 which extends the cbprintf infrastructure with something that captures formatting information into a buffer, allowing it to be processed later.
I have some hopes that this would make use of _Generic and varargs macro wizardry around log calls unnecessary, though that may be optimistic.


Issue with GZIP IO unit tests in Debian CI

Hi all,
i've added debian autopkgtests to the skbio packages. in doing so I've noticed some strange test failures.
The output is below. Reproducing this exactly might be a bit of a pain, but if you have docker I can give you a dockerfile that should help.
Cheers,
K

Python 2:
======================================================================
FAIL: test_open_gzip (skbio.io.tests.test_util.TestWriteBufferedReader)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/skbio/io/tests/test_util.py", line 337, in test_open_gzip
    self.gzip_contents[10:])
AssertionError: "example_file\x00\x0b\xc9\xc8,V\x00\xa2\xe2\xfc\xdcT\x85\xe4\xfc\xbc\x92\xd4\xbc\x12.\xcf\x12\x85\xfc\xe4\xe4\xd2\xa2b\x85\xfc<\x85\xdc\xfc\xa2T\x85\x92\x8c\xc4< 'U!'3/\x95\x0b\x00\x8a\x9d\xf4\x165\x00\x00\x00" != "\x0b\xc9\xc8,V\x00\xa2\xe2\xfc\xdcT\x85\xe4\xfc\xbc\x92\xd4\xbc\x12.\xcf\x12\x85\xfc\xe4\xe4\xd2\xa2b\x85\xfc<\x85\xdc\xfc\xa2T\x85\x92\x8c\xc4< 'U!'3/\x95\x0b\x00\x8a\x9d\xf4\x165\x00\x00\x00"

======================================================================
FAIL: test_open_gzip_encoding (skbio.io.tests.test_util.TestWriteBufferedReader)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/skbio/io/tests/test_util.py", line 360, in test_open_gzip_encoding
    self.gzip_encoded_contents[10:])
AssertionError: 'big5_file\x00[\xee\xb8,\x8f\x0b\x00&\x05\xd3\xe1\x05\x00\x00\x00' != '[\xee\xb8,\x8f\x0b\x00&\x05\xd3\xe1\x05\x00\x00\x00'

======================================================================
FAIL: test_open_gzip (skbio.io.tests.test_util.TestWriteBytesIO)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/skbio/io/tests/test_util.py", line 487, in test_open_gzip
    self.gzip_contents[23:])
AssertionError: "\x0b\xc9\xc8,V\x00\xa2\xe2\xfc\xdcT\x85\xe4\xfc\xbc\x92\xd4\xbc\x12.\xcf\x12\x85\xfc\xe4\xe4\xd2\xa2b\x85\xfc<\x85\xdc\xfc\xa2T\x85\x92\x8c\xc4< 'U!'3/\x95\x0b\x00\x8a\x9d\xf4\x165\x00\x00\x00" != "\xfc\xbc\x92\xd4\xbc\x12.\xcf\x12\x85\xfc\xe4\xe4\xd2\xa2b\x85\xfc<\x85\xdc\xfc\xa2T\x85\x92\x8c\xc4< 'U!'3/\x95\x0b\x00\x8a\x9d\xf4\x165\x00\x00\x00"

======================================================================
FAIL: test_open_gzip_encoding (skbio.io.tests.test_util.TestWriteBytesIO)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/skbio/io/tests/test_util.py", line 496, in test_open_gzip_encoding
    self.gzip_encoded_contents[20:])
AssertionError: '[\xee\xb8,\x8f\x0b\x00&\x05\xd3\xe1\x05\x00\x00\x00' != '\xe1\x05\x00\x00\x00'

======================================================================
FAIL: test_open_gzip (skbio.io.tests.test_util.TestWriteFilepath)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/skbio/io/tests/test_util.py", line 337, in test_open_gzip
    self.gzip_contents[10:])
AssertionError: "example_file\x00\x0b\xc9\xc8,V\x00\xa2\xe2\xfc\xdcT\x85\xe4\xfc\xbc\x92\xd4\xbc\x12.\xcf\x12\x85\xfc\xe4\xe4\xd2\xa2b\x85\xfc<\x85\xdc\xfc\xa2T\x85\x92\x8c\xc4< 'U!'3/\x95\x0b\x00\x8a\x9d\xf4\x165\x00\x00\x00" != "\x0b\xc9\xc8,V\x00\xa2\xe2\xfc\xdcT\x85\xe4\xfc\xbc\x92\xd4\xbc\x12.\xcf\x12\x85\xfc\xe4\xe4\xd2\xa2b\x85\xfc<\x85\xdc\xfc\xa2T\x85\x92\x8c\xc4< 'U!'3/\x95\x0b\x00\x8a\x9d\xf4\x165\x00\x00\x00"

======================================================================
FAIL: test_open_gzip_encoding (skbio.io.tests.test_util.TestWriteFilepath)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/skbio/io/tests/test_util.py", line 360, in test_open_gzip_encoding
    self.gzip_encoded_contents[10:])
AssertionError: 'big5_file\x00[\xee\xb8,\x8f\x0b\x00&\x05\xd3\xe1\x05\x00\x00\x00' != '[\xee\xb8,\x8f\x0b\x00&\x05\xd3\xe1\x05\x00\x00\x00'

----------------------------------------------------------------------
Ran 1790 tests in 55.480s

FAILED (SKIP=1, failures=6)

Python 3
(looks superficially the same to me, but here it is anyway)
======================================================================
FAIL: test_open_gzip (skbio.io.tests.test_util.TestWriteBufferedReader)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/skbio/io/tests/test_util.py", line 337, in test_open_gzip
    self.gzip_contents[10:])
AssertionError: b"example_file\x00\x0b\xc9\xc8,V\x00\xa2\xe[163 chars]\x00" != b"\x0b\xc9\xc8,V\x00\xa2\xe2\xfc\xdcT\x85\x[147 chars]\x00"

======================================================================
FAIL: test_open_gzip_encoding (skbio.io.tests.test_util.TestWriteBufferedReader)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/skbio/io/tests/test_util.py", line 360, in test_open_gzip_encoding
    self.gzip_encoded_contents[10:])
AssertionError: b'big5_file\x00[\xee\xb8,\x8f\x0b\x00&\x05\xd3\xe1\x05\x00\x00\x00' != b'[\xee\xb8,\x8f\x0b\x00&\x05\xd3\xe1\x05\x00\x00\x00'

======================================================================
FAIL: test_open_gzip (skbio.io.tests.test_util.TestWriteBytesIO)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/skbio/io/tests/test_util.py", line 487, in test_open_gzip
    self.gzip_contents[23:])
AssertionError: b"\x0b\xc9\xc8,V\x00\xa2\xe2\xfc\xdcT\x85\xe4[145 chars]\x00" != b"\xfc\xbc\x92\xd4\xbc\x12.\xcf\x12\x85\xfc\x[102 chars]\x00"

======================================================================
FAIL: test_open_gzip_encoding (skbio.io.tests.test_util.TestWriteBytesIO)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/skbio/io/tests/test_util.py", line 496, in test_open_gzip_encoding
    self.gzip_encoded_contents[20:])
AssertionError: b'[\xee\xb8,\x8f\x0b\x00&\x05\xd3\xe1\x05\x00\x00\x00' != b'\xe1\x05\x00\x00\x00'

======================================================================
FAIL: test_open_gzip (skbio.io.tests.test_util.TestWriteFilepath)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/skbio/io/tests/test_util.py", line 337, in test_open_gzip
    self.gzip_contents[10:])
AssertionError: b"example_file\x00\x0b\xc9\xc8,V\x00\xa2\xe[163 chars]\x00" != b"\x0b\xc9\xc8,V\x00\xa2\xe2\xfc\xdcT\x85\x[147 chars]\x00"

======================================================================
FAIL: test_open_gzip_encoding (skbio.io.tests.test_util.TestWriteFilepath)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/skbio/io/tests/test_util.py", line 360, in test_open_gzip_encoding
    self.gzip_encoded_contents[10:])
AssertionError: b'big5_file\x00[\xee\xb8,\x8f\x0b\x00&\x05\xd3\xe1\x05\x00\x00\x00' != b'[\xee\xb8,\x8f\x0b\x00&\x05\xd3\xe1\x05\x00\x00\x00'

----------------------------------------------------------------------
Ran 1999 tests in 67.198s

FAILED (failures=6)

I'd be happy to look at reproducing this. Can you point us to the dockerfile? Thanks!

I can, however I realised that you'll need to use the development version of the skbio debian package that has a few patches to the tests to make things work.

@kdmurray91 given that these tests are all gzip related, I would hazard a guess that it has to do with timestamp. gzip sticks the timestamp at the front of the file, if that isn't there (probably the case) or is different somehow (?), then the "offset" that the tests use will be different. All of the gzip tests skip the first 10 bytes which are volatile, but this probably doesn't hold in all situations. Not sure how we would robustly handle this.

So it turns out this is going to be a right pain in the butt for you guys to reproduce, as I can only get it to happen inside the build environment (I think). Is there anything I can do locally that can help test your theory @ebolyen? Or should I just make a Docker image that sets up the build environment?

I run Ubuntu, how Debian-y does it need to be to reproduce?
Also, I think I have an idea for how to fix it: instead of skipping bytes, we just read so many from the back of the file. Then it doesn't matter what gzip does to the front of the file. If we can't reproduce it locally, would you be willing to try that on some of the failing tests to see if that fixes the problem?

Well you need to be able to pull packages from debian unstable and set up a git pbuilder, so actual Debian levels of Debian are required :smile:.
Luckily I'm running debian unstable here, so if you can give me a patch (or branch or whatever) implementing the above it's pretty easy for me to test it.

Thanks @kdmurray91! I think we should be able to just compare the last 8 bytes of the file since that includes the checksum and uncompressed data length. I'll get those changes pushed to a branch so you can test.

@kdmurray91 the potential fix I described is on my fork's issue-1275 branch: https://github.com/jairideout/scikit-bio/tree/issue-1275
Is this sufficient for you to be able to test locally?

Yep, that's perfect. Testing now

@jairideout can confirm your fix works! Thanks for the fast debugging.
Out of interest, when are you likely to do the 0.4.2 release? If this is in the next few days I'll hold off on the debian release till then, otherwise I'll upload today.

Great, glad to hear that fixed it! Thanks for testing locally. I'll submit a PR to get the fix in scikit-bio.
We're planning on releasing 0.4.2 tomorrow. If you notice anything else in the meantime, please let us know and we'll do our best to fix it for the release. I had one release-related question here that might be good to iron out before the actual release.
Thanks again!


vmware-workstation: Remove shipped fonts.conf

Description of changes
Should fix https://github.com/NixOS/nixpkgs/issues/177270

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 177286 run on x86_64-linux 1

1 package built:

vmware-workstation

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/resolved-font-issue-with-vmware-workstation/19669/7

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/vmware-workstation-empty-boxes-instead-of-fonts/23140/1


Fix a the borrowed-from verifier and fix a few passes which caused a verifier error

The borrowed-from verifier was basically useless which hid some problems in the optimizer.
This PR fixes the verifier and the hidden problems: missing updating borrowed-from in some passes.

@swift-ci test


Use latest Ubuntu 22.04 LTS for building aarch64 binaries

I somehow try to solve #2636, so I guess using the latest Ubuntu is probably a good idea, to use a newer gcc and other toolkits.

I somehow try to solve #2636, so I guess using the latest Ubuntu is probably a good idea, to use a newer gcc and other toolkits.

Although it seems that it might break for anyone using an earlier ubuntu :thinking:

Although it seems that it might break for anyone using an earlier ubuntu :thinking:

Why do you think so?

@tgodzik Can you once more approve the workflows? As you can see I uncommented a condition so the arm64 binaries gets uploaded as artifacts. I would like to download them and try and see if it works for me on my machine. Thanks!

Although it seems that it might break for anyone using an earlier ubuntu thinking

Why do you think so?

I had that issue since newer gcc was not available for ubuntu 20.04

One workflow fails because jitpack is down... https://github.com/jitpack/jitpack.io/issues/5337
So we need to wait until it comes back up.

@tgodzik So because jitpack is down, I temporary removed the test workflow, so we are not blocked here any more.
Could you once more approve the workflows? Thanks!

Nevermind, I set up my own repo to test the workflows.

Using Ubuntu 22.04 does not really help, I still get an error:
Fatal error: Failed to create the main Isolate. (code 9)

This time however it's code 9, not code 8 (whatever that means...)


UI Suggestion

I saw you have in windows forms.   Would you consider using blazor?  If so, then even as desktop app, you can use WPF with blazor webview control so the UI uses blazor which allows for more maintainable code.  If so, I can help with that part.

I am not that knowledgeable about blazor . I am thinking of upgrading the UI to WPF in the future and what you suggested might help greatly if it does allow more maintainable code . Will contact you for help then. Thanks for the suggestion

There is also a blazor webview control for windows forms as well.  Which means even if somebody decided to keep in windows forms, the entire ui otherwise is in blazor.  So a person just drops the UI control into the form, then all the work would be done in .razor files (which are blazor components).  I know a lot in blazor.  I had lots of experience with wpf/xaml.
However, I found its much easier to have maintainable code in blazor.  When you get to xaml, you have to do data binding with INotifyPropertyChanged and if there are exceptions on what to display, then converters has to be created so its a real mess.  When I found out about blazor and used it, then I found i was able to do much more maintainable code and have things more flexible.  Especially since its so easy to have blazor components.  Blazor allows you to do anything you want for the MVVM type of programming (has no opinions).

I will try to learn about blazor then when i will update the UI after completing necessary feature in this project. Will notify you then. Thanks for sharing this information.


[BUG] lua error when trying to use Telekasten command w/o setting up

Please confirm

[ ] I am running the latest version of this plugin

Describe the bug
I am starting to setup telekasten, and thought I had set it up like:
require('telekasten').setup({
    home         = '~/Documents/pickled-knowledge/',

    -- dir names for special notes (absolute path or subdir name)
    dailies      = home .. '/' .. 'Daily',
    weeklies     = home .. '/' .. 'Weekly',
    templates    = home .. '/' .. 'Templates',

    -- image (sub)dir for pasting
    -- dir name (absolute path or subdir name)
    -- or nil if pasted images shouldn't go into a special subdir
    image_subdir = "Attachments",

    -- Generate note filenames. One of:
    -- "title" (default) - Use title if supplied, uuid otherwise
    -- "uuid" - Use uuid
    -- "uuid-title" - Prefix title by uuid
    -- "title-uuid" - Suffix title with uuid
    new_note_filename = "title",
    -- file uuid type ("rand" or input for os.date()")
    uuid_type = "%Y%m%d%H%M",
    -- UUID separator
    uuid_sep = "-",

    -- following a link to a non-existing note will create it
    follow_creates_nonexisting = true,
    dailies_create_nonexisting = true,
    weeklies_create_nonexisting = true,

    -- template for new notes (new_note, follow_link)
    -- set to `nil` or do not specify if you do not want a template
    template_new_note = home .. '/' .. 'templates/new_note.md',

    -- template for newly created daily notes (goto_today)
    -- set to `nil` or do not specify if you do not want a template
    template_new_daily = home .. '/' .. 'templates/daily.md',

    -- template for newly created weekly notes (goto_thisweek)
    -- set to `nil` or do not specify if you do not want a template
    template_new_weekly= home .. '/' .. 'templates/weekly.md',

    -- integrate with calendar-vim
    plug_into_calendar = false,
    calendar_opts = {},

    -- telescope actions behavior
    close_after_yanking = false,
    insert_after_inserting = true,

    -- when linking to a note in subdir/, create a [[subdir/title]] link
    -- instead of a [[title only]] link
    subdirs_in_links = false,

	vaults = {
		default = {
			home = "~/Documents/pickled-knowledge/"
		},
		rpg = {
			home = "~/Documents/rpg"
		},
	},

    -- how to preview media files
    -- "telescope-media-files" if you have telescope-media-files.nvim installed
    -- "catimg-previewer" if you have catimg installed
    media_previewer = "catimg-previewer",
})

When trying to run :Telekasten, I get the following error (see screenshot):
E5108: Erro rexecuting lua ...ite/pack/packer/start/telekasten.nvim/lua/telekasten.lua:3148: attempt to index field 'Cfg' (a stack  traceback):
   ...ite/pack/packer/telekasten.nvim/lua/telekasten:3148: in function 'panel'
  [string ":lua"]:1: in main chunk

I've tried setting this up with a few vaults, as well as one single vault. I've run this both inside a vault, and elsewhere with the same result
It turns out I wasn't loading the file I was setuping in.
To Reproduce
Steps to reproduce the behavior:

Install telekasten but don't set it up
Start nvim
Enter command mode (:)
Enter command :Telekasten
See error

Expected behavior
I'd expect to get an error from telekasten, rather than a stack trace.
Screenshots
If applicable, add screenshots to help explain your problem.

Operating system (please complete the following information):

OS: macOS

Additional context
Add any other context about the problem here.

I had a similar error for Cfg not being recognized/ initialized. I had a telekasten.lua setup in $NVIM_CONFIG_HOME/lua/user/ folder when I had this issue. I was able to resolve the issue by realizing that I had forgotten to include/ import telekasten.lua in my init.lua file.

This is a fairly easy issue to fix. There are two options basically:

Using all defaults options in the case where telekasten is not setup (I believe all fields have an hard-coded default)
Throwing an error and ask explicitly for the user to set the plugin up properly.

Personally, I am leaning towards the first option. Do you have an opinion on that before I start working on the fix?

I am kinda torn 😅
Using the defaults would fix the error I got, as well as mean less config for a user that only wants the defaults.
On the other hand, having an error would have helped me realize the problem a lot sooner.

I thought about all this a bit more these last two days.
Except if you have all directories setup as in the default config, TK will prompt you to create them and start working. This should be a first hint that something is not right with what you would expect, IMO. If you agree to all that, then you can start working from scratch in the newly created folders or will soon realize you have not setup your folders properly.
So the choice is rather obvious now. I will fix all that tomorrow accordingly.

That makes sense to me, thanks for thinking it through! Agree that prompting to create directories would have been a sign something was off.

Just ran into this same issue - I assumed that there would be default config options

This should not be the case as the default setup is called now.


Add 1.5.3 release notes

closes: #ISSUE_Number

docs: add 1.5.3 release notes

Change logs

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

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

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

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


debloat misses several junk apps running (delayed start, hidden from registry, cmd lines etc)

the main check inside this code for running/background apps is based off the registry, however there are apps that are missed.

[ ] Open an Admin Command Prompt and type "tasklist". You can also output this to a file by running "tasklist > c:\temp\list.txt"
[ ] From PowerShell, run "Get-Process". Again, you can output this list to a file if needed.
[ ] There are other apps that launch after delayed startup, that are hidden from the registry like HP etc.
[ ] some apps are running under other windows services, this also need to be addressed in the roadmap

The code is missing and should account for those apps as well to debloat

Bloatynosy has been renamed and completely redeveloped from the ground up. The project is now called Winpilot. This issue no longer exists here. Feel free to check it out if you'd like.


Extend pykostal to support multiple dxsIds and restructred response

Added unit to const data structure
Use const data structure as return data structure
Support for multiple entry queries
Extended the request parameter generation to allow querying of multiple dxsIDs
Added result query generation to return only queried values
ToDo:
Adding work around to overcome the 25 entries limit of the Kostal API

Fixed 25 dxsIds limit

Hey,
thanks for the PR and sorry for the long delay. I will have a deeper look into this later today.
In any case, I think this needs to go back to the original repository, such that @DAMEK86 can release a new version :)

Hey,
thanks for the review. The challenge is that the changes are breaking the
outputs of the API Calls, therefore we should align if the changes are
valid from our needs, before we pull it into the original repository.
David Scheidt @.***> schrieb am Do., 11. Nov. 2021,
11:52:

Hey,
thanks for the PR and sorry for the long delay. I will have a deeper look
into this later today.
In any case, I think this needs to go back to the original repository
https://github.com/DAMEK86/pykostal, such that @DAMEK86
https://github.com/DAMEK86 can release a new version :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scheidtdav/pykostal/pull/1#issuecomment-966201726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQJ7VEOHEP3XKE4QULQEZVDULON6JANCNFSM5HRIREGQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Valid point, will have a deeper look now!

I'm not the pep8 guru but is it really necessary to requote the strings?
see https://www.python.org/dev/peps/pep-0008/#string-quotes

I love your hard work :+1:
I'm happy to bump the MINOR version of the upstream if you rework the method names ;)

I'm happy to bump the MINOR version of the upstream if you rework the method names ;)

Thanks for the feedback. As I am new to Open Source contributions, can you let me know a little bit more specific what you would like to have changes (method names and string quotes wise)
It's my first contribution ;-)

Commented all debugging prints to be clean for the merge

@bedmanforever Thanks for the changes, I am good with this.
Lets continue with this in the component and see if more changes are required.
Once done, we can file a merge request for @DAMEK86 , I'd say.


Add GChat webhook support, separate provision auth, and web-based log

These commits add several features:
Support for Google Hangouts Chat webhooks
Separate HTTP auth config for the provision API
Web-based log file (/log shows last 50 log messages)

Coverage decreased (-1.5%) to 57.03% when pulling 513dd3ea3d55a49bfa1f512484cc5841d2cbd15f on nabertrand:web_log into 1839f8b03eef0b29168db3b5d1d5d08d325c933c on mbaynton:master.


forkExec leaves zombies

Processes spawned by forkExec - via on-click or on-click-right leaves zombie processes.
To reproduce.
   "custom/demo": {
        "format": "Zombienator{}",
        "exec": "date",
        "return-type": "newline",
        "on-click": "touch /tmp/zombietest",
        "on-click-right": "rm /tmp/zombietest"
    }

After clicking on the "Zombienator" defunct processes are visible in the process list.

Probably a similar issue is happening with the other open method.

Fixed in #370


add typings to new feature: mapThemrProps

Here are some basic typings for the new feature mapThemrProps

Thanks!!


sqlite: 1.41.2 -> 1.43.2

Backport of unstable's sqlite version.
I ran into a nasty query bug which happens after 1.40 somewhere and upgrading sqlite fixed it.

It's a bit unpleasant that other packages break on sqlite updates, so this cascades and we need to pull more patches or updates.

[x] tracker
[ ] python3Packages.apsw
[ ] proj

@wmertens Please check up on the regressions, as this is blocking staging-next-23.05. Otherwise, we'll need to revert.

Reverted in 0a69fece9fd587e909156dc95d379734d199b552


Missing the return of a defer.fail when claim fails

Fixing the missing return of a defer.fail when claim fails

can you change that to a raise Exception(msg), other than that, LGTM

changed to raise Exception(msg) , rebased and merging


Allow bool and int as types for term query

While the elasticsearch docs make only an example of string values, other types work just fine.

Thanks!


Publish is failing

On Publishing to Azure, I'm getting a deployment failure with the message "One or more resource names used when creating DNS entries would produce an invalid DNS label. Resource(s): "
Does this mean that my network.yaml needs to change? I haven't changed anything from the steps listed above. The name of my SF project is MoviesMesh.
I have VS 15.9.0 Preview 2.0 and installed the Azure SF Mesh tools today (9/18/18).
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"BadRequest","message":"{\r\n "error": {\r\n "code": "InvalidEntityNameDns",\r\n "message": "One or more resource names used when creating DNS entries would produce an invalid DNS label. Resource(s): Microsoft.SeaBreeze.ApplicationManager.Model.Applications.Public.ServiceResourceDescription.",\r\n "details": [],\r\n "innerError": "Code: InvalidEntityNameDns - System.Fabric.Wrp.Common.WrpException: One or more resource names used when creating DNS entries would produce an invalid DNS label. Resource(s): Microsoft.SeaBreeze.ApplicationManager.Model.Applications.Public.ServiceResourceDescription.\r\n at Microsoft.SeaBreeze.ApplicationManager.Operation.Applications.ApplicationValidationMarch2018.ValidateAvoidingDnsNames[TApplicationProperties](ApplicationResourceDescription1 resource) in D:\\agent_work\\1\\s\\src\\ApplicationManager\\Operation\\Applications\\ApplicationValidationMarch2018.cs:line 96\r\n at Microsoft.SeaBreeze.ApplicationManager.Operation.Applications.ApplicationValidationMarch2018.<ValidateAsync>d__01.MoveNext() in D:\agent_work\1\s\src\ApplicationManager\Operation\Applications\ApplicationValidationMarch2018.cs:line 43\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.SeaBreeze.ApplicationManager.Operation.PutApplicationOperation1.<ExecuteAsync>d__6.MoveNext() in D:\\agent_work\\1\\s\\src\\ApplicationManager\\Operation\\Applications\\PutApplicationOperation.cs:line 91\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Fabric.Wrp.Common.OperationBase1.d__48.MoveNext() in D:\agent_work\1\s\src\Common\OperationBase.cs:line 0"\r\n }\r\n}"}]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cd67cf66-c21f-4206-1663-5253492a68c1
Version Independent ID: b887341a-f009-7580-fcf9-1d4166ec74f9
Content: Quickstart - Create and deploy a web app to Azure Service Fabric Mesh
Content Source: articles/service-fabric-mesh/service-fabric-mesh-quickstart-dotnet-core.md
Service: service-fabric-mesh
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

I had named my web project "Movies.Web", when I changed the name: fields in service.yaml from "Movies_Web" (which VS generated for me) to "MoviesWeb" the deployment worked.
Please make this work with an "_" or a better error message to save people time in the future. Thanks!

@aligneddev thanks for bringing this up. So yes, the issue is that if you add a "." in the name the DNS name would become invalid.
I would suggest leaving feedback for Visual Studio directly to have them improve the error message
https://docs.microsoft.com/en-us/visualstudio/ide/talk-to-us?view=vs-2015