Error: Output format mp4 is not available

Version information

fluent-ffmpeg version: 7.0-full_build-www.gyan.dev
ffmpeg version: 2.1.2
OS: Windows 11

Code to reproduce
createVideo: privateProcedure
    .input(
      z.object({
        fileId: z.string(),
      })
    )
    .mutation(async ({ ctx, input }) => {
      const { getUser } = getKindeServerSession();
      const user = await getUser();

      if (!user || !user.id || !user.email) {
        throw new TRPCError({ code: "UNAUTHORIZED" });
      }

      const dbUser = await db.user.findFirst({
        where: {
          id: user.id,
        },
      });

      if (!dbUser) {
        throw new TRPCError({
          code: "UNAUTHORIZED",
          message: "User not found in the database.",
        });
      }

      const putObjectCommand = new PutObjectCommand({
        Bucket: process.env.AWS_BUCKET_NAME!,
        Key: generateFileName(),
      });

      const s3 = new S3Client({
        region: process.env.AWS_BUCKET_REGION!,
        credentials: {
          accessKeyId: process.env.AWS_ACCESS_KEY!,
          secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY!,
        },
      });

      const signedURL = await getSignedUrl(s3, putObjectCommand, {
        expiresIn: 60,
      });

      const ffmpeg = require("fluent-ffmpeg");
      const passthroughStream = new PassThrough();

      ffmpeg({ source: "./template1.mp4" })
        .on("end", async () => {
          console.log("Job done");
          await uploadToS3(passthroughStream);
        })
        .on("error", (error: string) => {
          console.error("Error:", error);
        })
        .videoFilter({
          filter: "drawtext",
          options: {
            text: "hi",
            fontsize: 100,
            fontcolor: "white",
            x: "(w-text_w)/2",
            y: "(h-text_h)/2",
            box: 1,
            boxcolor<EMAIL_ADDRESS>            boxborderw: 5,
            fontfile: "/Windows/fonts/calibri.ttf",
          },
        })
        .noAudio()
        .addOutputOption("-f", "mp4")
        .videoCodec("libx264")
        .outputFormat("mp4")
        .outputOptions(["-movflags frag_keyframe+empty_moov"])
        .pipe(passthroughStream, { end: true });

      const uploadToS3 = async (stream: PassThrough) => {
        const upload = new Upload({
          client: s3,
          params: {
            Bucket: process.env.AWS_BUCKET_NAME!,
            Key: generateFileName(),
            Body: stream,
          },
        });
        await upload.done();
      };

      const createdVideo = await db.video.create({
        data: {
          name: "Test Name",
          url: signedURL.split("?")[0],
          key: signedURL,
          fileId: input.fileId,
        },
      });

      return createdVideo;
    }),

(note: if the problem only happens with some inputs, include a link to such an input file)
Expected results
I should be able to save the video to s3
Observed results
Error: Output format mp4 is not available
at eval (webpack-internal:///(rsc)/./node_modules/fluent-ffmpeg/lib/capabilities.js:589:21)
at nextTask (webpack-internal:///(rsc)/./node_modules/async/dist/async.mjs:5892:9)
at next (webpack-internal:///(rsc)/./node_modules/async/dist/async.mjs:5900:9)
at eval (webpack-internal:///(rsc)/./node_modules/async/dist/async.mjs:430:16)
at eval (webpack-internal:///(rsc)/./node_modules/fluent-ffmpeg/lib/capabilities.js:549:7)
at handleExit (webpack-internal:///(rsc)/./node_modules/fluent-ffmpeg/lib/processor.js:170:11)
at ChildProcess.eval (webpack-internal:///(rsc)/./node_modules/fluent-ffmpeg/lib/processor.js:184:11)
at ChildProcess.emit (node:events:518:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
at Process.callbackTrampoline (node:internal/async_hooks:130:17)

same issue with me

I have a similar issue (although all the formats seem broken for me)
Recently upgraded my ffmpeg version. Looks like newer versions of ffmpeg -formats have added a new info column for devices, which adds a space between the mux/demux columns and the format name:
New (build from March 2024):
Formats:
 D.. = Demuxing supported
 .E. = Muxing supported
 ..d = Is a device
 ---
  E  mp4             MP4 (MPEG-4 Part 14)

Old (build from June 2023):
File formats:
 D. = Demuxing supported
 .E = Muxing supported
 --
  E mp4             MP4 (MPEG-4 Part 14)

(Obviously, mp4 is just an example, I'm not going to paste the whole format list here.)
My guess at what is happening:
The regex that Fluent-FFmpeg uses to read the FFmpeg's format list and determine its support doesn't know how to read the extra space, so Fluent thinks there aren't any valid formats.
Regex is here: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/4e02d12573052c00ac4becee17e40580e855d308/lib/capabilities.js#L18
Then, when you try to run a command, the error checking at line 589 compares its (empty) list of valid formats to your format, determines it can't support the format, and throws the error.

@benharp does this mean I have to downgrade my ffmpeg version? What version works for you?

@benharp followed your comment and downgraded my ffmpeg to ffmpeg version 6.1-full now it can finish the stream. Thanks your hit helps a lot!

@alpacaPwaa should this issue be closed? I mean, you can fix it by downgrading the version, but now Homebrew installs version 7 by default so maybe this should be taken into account now.

We should fix the regexpr and make a new fluent-ffmpeg version? Is that possible?
Any maintainer?

It seems like I have to re-open the issue, everyone here's right although there's a workaround for this issue it's still better to address the root cause.

Use patch-package until it gets fixed. This worked in my case:
diff --git a/node_modules/fluent-ffmpeg/lib/capabilities.js b/node_modules/fluent-ffmpeg/lib/capabilities.js
index 3722ff1..3434210 100644
--- a/node_modules/fluent-ffmpeg/lib/capabilities.js
+++ b/node_modules/fluent-ffmpeg/lib/capabilities.js
@@ -15,7 +15,7 @@ var ffCodecRegexp = /^\s*([D\.])([E\.])([VAS])([I\.])([L\.])([S\.]) ([^ ]+) +(.*
 var ffEncodersRegexp = /\(encoders:([^\)]+)\)/;
 var ffDecodersRegexp = /\(decoders:([^\)]+)\)/;
 var encodersRegexp = /^\s*([VAS\.])([F\.])([S\.])([X\.])([B\.])([D\.]) ([^ ]+) +(.*)$/;
-var formatRegexp = /^\s*([D ])([E ]) ([^ ]+) +(.*)$/;
+var formatRegexp = /^\s*([D ])([E ])([d ]) ([^ ]+) +(.*)$/;
 var lineBreakRegexp = /\r\n|\r|\n/;
 var filterRegexp = /^(?: [T\.][S\.][C\.] )?([^ ]+) +(AA?|VV?|\|)->(AA?|VV?|\|) +(.*)$/;

@@ -527,7 +527,7 @@ module.exports = function(proto) {
       lines.forEach(function(line) {
         var match = line.match(formatRegexp);
         if (match) {
-          match[3].split(',').forEach(function(format) {
+          match[4].split(',').forEach(function(format) {
             if (!(format in data)) {
               data[format] = {
                 description: match[4],

Fixed here https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/1266
You can also install package from: https://www.npmjs.com/package/fluent-ffmpeg-7 and just change the import to from 'fluent-ffmpeg-7'
I did a quick version there till official version gets fixed.

Is there a way to skip format checks? I want my code to work on both version of ffmpeg

You can use my code, it works on both versions!

You can directly install from the npm with npm i fluent-ffmpeg-7. I called like that just to reinforce that it also works on FFmpeg 7

@njoyard Old issue

This has been fixed in https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/1266


Not remove zero on left

Hi! Can I change the main configuration that remove zero that is on left when I'm using the mask?
I had already tried everything for to do it. Is there someone to help me? Thanks!

Hi mattheusc,
Are you saying once you backspace, and you left with zero, don't remove it? If so, I am also looking for this functionality.  I don't want the user to complete remove the (eg 0.00) value.
Cheers,
Donovan


Updated circulating supply logic to include released genesis account tokens

Overview
This PR updates the circulating supply calculation logic to include the released genesis account tokens that are calculated as: "transfers outside of the genesis accounts caped by the genesis tokens amount".
Which JIRA ticket does this PR relate to?
https://make-software.atlassian.net/browse/BLOX-446

how do we keep this performant if every time /supply is called, it queries the db several times for all these accounts and transfers?

Atm it is performant. When we notice a slow down we can think about the most appropriate way to optimize it. I didn't plan any optimization in this iteration.

don't see an end-point to get a list of all qualifying genesis transfers?

Didn't add it because it wasn't required for the purpose of the task. If it's needed right now, I can add it a little bit later today.

if I understand this correctly, it automatically goes back to genesis? This means it will capture all transfers that were done by the Association between now and then. This will duplicate some things we already capture with the release schedule, such as the transfer of 400M to CoinList. Moreover the Association has moved some tokens to the DEVxDAO as well. Bottom line, we have to see what happens when we run this against production, and do some manual clean up by identifying accounts and transfers that should be excluded (and new accounts that should be considered "genesis" to be monitored for transfers out).

It will start tracking transfers after the code is deployed. We'll have to move the "missed" transaction manually with a database query.

It will start tracking transfers after the code is deployed. We'll have to move the "missed" transactions manually with a database query.

What happens in the case of a restart/rebuild. I know that we prevent duplication of other entities in the Block Store by UID. In this case, we'll automatically backfill what was missed from before when we first run it? Should there be a minimum era to make sure we don't go back and automatically record stuff from before now?

Re the testing, we can deploy the genesis account tracking with the event handler first, and enable it in the circulating supply API response later after we see the genesis accounts transactions.

Definitely this approach!

What happens in the case of a restart/rebuild. I know that we prevent duplication of other entities in the Block Store by UID. In this case, we'll automatically backfill what was missed from before when we first run it? Should there be a minimum era to make sure we don't go back and automatically record stuff from before now?

After deploy the event handler will catch up where it stopped, meaning there will be no going back.
I'll add a property to the genesis accounts tracking to have possibility to ignore records manually if needed.


How can I get raw resolution video result?

Hi, there! I tried your single frame model, which gives a good results. But I found that the video model is limit to 256? not like the image model, so how can I get raw resolution results in video part

Solved by use the lut to process original image


[BUG]

[ ] #646
[ ] #647
[ ] frm_metadata field in payments confirm call
[ ] #648
[x] #658
[ ] Add loading while doing refund
[x] #663
[x] #672
[x] #676
[ ] Keyword shortcut in firefox is opening a redirect window
[x] #767
[x] #674
[x] #711
[ ] Payment logs re-positioning
[ ] Frequent searches suggestion in global search
[ ] Hyperswitch Loader not in centre of the screen
[x] https://github.com/juspay/hyperswitch-cloud/issues/3996
[x] #671
[ ] #681
[x] #689
[x] #978
[ ] #695
[ ] https://github.com/orgs/juspay/projects/23/views/8?pane=issue&itemId=69514977
[ ] https://github.com/juspay/hyperswitch-control-center/issues/899
[ ] https://github.com/juspay/hyperswitch-control-center/issues/893
[ ] https://github.com/juspay/hyperswitch-control-center/issues/903
[x] #905
[ ] #915
[ ] #916
[x] #920
[x] #935
[x] https://github.com/juspay/hyperswitch-control-center/issues/939
[x] #972
[x] #981
[x] #992
[x] https://github.com/juspay/hyperswitch-control-center/issues/968
[x] https://github.com/juspay/hyperswitch-control-center/issues/983
[x] https://github.com/juspay/hyperswitch-control-center/issues/974
[x] https://github.com/juspay/hyperswitch-control-center/issues/833
[ ] https://github.com/juspay/hyperswitch-control-center/issues/1007
[ ] https://github.com/juspay/hyperswitch-control-center/issues/1008

Please pick this up as well: https://github.com/juspay/hyperswitch-control-center/issues/685

[ ] [BUG] Rule based routing connector list is not scrollable. Entire page scrolls instead.

https://github.com/juspay/hyperswitch-control-center/issues/1021


Option to hide tags in Recent Notes component

Is your feature request related to a problem? Please describe.
Some of my notes have too many tags and when I use the RecentNotes component in some places, I don't find it very helpful to have those tags appear there. It'd be nice if we had an option like showTags which could be set to false if a user wants to hide them from their recent notes section.
Describe the solution you'd like
An option showTags which is set to true by default to preserve existing behavior. Setting to false would not render tags in Recent Notes.
Describe alternatives you've considered
Modifying the source in my fork.
Additional context
N/A. Can help contribute this if sounds good.

I just made the PR #1147 that would implement this. It was quick to implement and I wanted to do this as well


[Mobile] Wallet detail page not displaying any transactions

All wallet profiles are showing without any activity info (for both donors and stewards) on mobile.
To reproduce:

Using mobile browser
Go to any collective
Click no any donor or steward wallet
Observe that no transactions are visible

Example steward wallet
Example donor wallet

@vldkhh can you reproduce?

should be fixed. verified on feature branch

verified on prod


Allow undefined projectPath for global installs

Overview
When it's global, we don't need the projectPath
Deliverables

[x] update the logic

Work for this issue will begin begin on branch work-liquid-labs/npm-toolkit/32.

Issue released.


[Protobuf] Upgrade third_party/protobuf to 23.4

This was done manually due to a problem with tools/distrib/python/make_grpcio_tools.py. ~I fixed it in this PR (depends on cl/547979185), so there is a fair chance this upgrade will work normally for the next release.~ The fix may be problematic for upgrading protobuf on older release branches, so the improvement will be worked on separately. CC @jtattermusch
This also updates the UPB dep to the latest commit on the 23.x branch.

LGTM.


I reported an error while sending messages to other users. Method:sendMessageToUser

I have obtained my link object and friend ID, but when executing 'await _client. Messages SetTyping (peer, action);', an error is reported: TL RpcException:“PEER_ID_INVALID”

Perhaps this solution will help you figure out the problem click

Please read or search the documentation before asking a question.

The ReadMe (essential! must read!)
Many examples, lots of useful snippets of code
Frequently asked questions

The answer to your problem is likely already in those pages !
Also note that Github Issues are reserved for signaling bugs in the library code itself.
General questions can be asked in our Telegram support group: @WTelegramClient


Correlate bugfix

Fixes #194

Something weird here, why is it pulling in a bunch of commits related to regression?

As for the fix, I'm not sure I'm crazy about it because the index itself might not be a numpy array (and thus won't have shape as a method). As examples, the index can sometimes be a single string (e.g. mean), sometimes a single number (e.g. 0), and sometimes a list (but not a numpy array). size works in all those cases, but I get that it fails for multi-index.

I'm not really sure what's wrong with the commit history. If you look at the diff, you can see that it hasn't actually changed anything other than the two lines in question...
I see what you mean about the fix being less than ideal. One alternative would be to just use the Python built-in len function. This would mean that a lone string would no longer work though, as len("text") will return 4. We could require that such cases wrap the string in a list (e.g. ["text"]). To me, this seems to be perhaps the least inelegant solution.

@jwittenbach closing this PR, as moving forward with 1.0.0 this will be better fixed by checking against the data's shape attribute, I just committed a change with a fix and added a unit test.


Adds missing-lifecycle-rule filter to s3 resource

Why:
This addition allows S3 resources to be filtered when it is determined that they lack a specific
set of named Lifecycle Rules, such as 'AbortIncompleteMultipartUpload'.
Example Policy Statement:
policies:

name: s3-bucket-missing-lifecycle-rule
resource: s3
filters:

type: missing-lifecycle-rule
rule_names:

AbortIncompleteMultipartUpload

Found that case of "S3" was incorrect in path to test data. Corrected the case in the path of test data files.

obsolete now, lifecycle is now part of s3 resource augmentation, and can be filtered using a value filter.


Chunking input before writing a ParquetCachedBatch

This PR deals with breaking up the incoming batches before writing them to a ParquetCachedBatch to make sure the CachedBuffer never exceeds the Int max-value.
I am still working on writing the tests to test the CPU writing. This PR so far only has tests for the compressColumnarBatchWithParquet

This is pretty much done. It's still a WIP because the thing remaining is that the tests won't compile with Spark 3.0.0. I have used reflection for some tests that were simple but for others, especially the ones on the CPU, the tests looked really hard to read after I tried reflection.
@tgravescs following up on our conversation, I think we should think about alternatives like you said, maybe these tests can live with the shim310?

As decided in the sprint-planning I am removing the WIP tag and marking this for review. We will include tests for the CPU part when we have a framework to compile tests selectively

I have created follow-ons to address your comments @jlowe

CI will probably fail without merging up to branch-0.3 which contains the fix for #1275

build

build

build

build

build

build

build

build

Blossom is timing out. Kicking it off again

Build

Build

build


Syntax highlight fails when returns stream<string[], io:Error>|error?

Description:
Syntax highlight for the following function's return part is not working as expected.
Normally the color of the return part should be all blue, But here it is showing the first part in the blue and the second part in yellow.
Correct scenario:

This scenario:

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Create variable and check error code completion action generates code with errors for this function:

public function main() {
    readCsv(csvPath); // This is the line I'm trying to use code completion
}

function readCsv(string path) returns stream<string[], io:Error>|error? {
    stream<string[], io:Error> readCsv = check io:fileReadCsvAsStream(path);
    return readCsv;
}

Generated code:
stream<string[], io:GenericError|io:ConnectionTimedOutError|io:AccessDeniedError|io:FileNotFoundError|io:TypeMismatchError|io:EofError|io:ConfigurationError>| readCsvResult = check readCsv(csvPath);

Moved to https://github.com/wso2/ballerina-plugin-vscode/issues/40


Audit screen plots broken

Squid3 Version: 1.7.8
Java Version: 1.8.0_281
OS: Windows 10 10.0
Issue details:  I have broken the audit screen plot area such that the inspection window can still be moved, but the underlying plots do not re-draw.  One incarnation looks something like this:

which turns into this when I fiddle with the 'Display normalized time axis' button:

I have not figured out a reliable way to induce this, but for me it happens while manipulating the sliders associated with the plots.  I will update if I can figure out a specific sequence that leads me here, but I think just clicking/sliding about in this screen will eventually lead to this kind of trouble.
I've tested this only with the included demo data so I imagine it's not a weird data file causing the trouble.

I have the same audit issue with the attached SQ3 file for 1.7.9. Toggling didn't solve the issue. Reloading didn't work, Resetting didn't work. Is this issue related to the earlier issue with Data names? In the SQ3 file I have attached the RM is labelled B. Under Data, Manage-Sample Names, anything longer than B cannot be selected. I cannot select BR, BR2, BR231, BR231. When I click on the selection box for each of these the next box down is highlighted, but not selected. I also noted that in the Concordia plot for the unknowns there is a shift away from the concordia. Looks like the issues in 618 and 624.
A19 JHZ.squid.zip

There are a couple subjects here:

The audit raw data window works fine for me ... can you send screenshot of issue?

In order to change the naming pattern for the reference material you need to clear the reference material choice from the selection boxes for both types and then return to the naming screen to select your naming scheme.  The workflow was designed to proceed with this selection first, then the specification of the reference materials.  The reason you can't change the check boxes after you have populated the reference materials is to protect them.

I have discovered that the problem with this file is related to the naming of the samples - Squid3 is weak in understanding sample names that do not follow the expected pattern involving a delimiter - in this case, "."  So, in this case, simply un-choosing the RMs, renaming "BR231" to "BR231.", then reselecting the RMs fixes the issue and prevents miscalculations under the hood.   However, the "A" and "T" samples are missing until they are renamed "A." and "T.".  This is a bug in the sense that Squid3 makes the assumption based on available training data during development that the naming scheme would be consistent.  If the community feels Squid3 should be more robust then we need to define the use cases.  One simple fix is to alert the user to the fact that the sample naming scheme is not being followed and propose the fixes mentioned - the addition of the delimiter, for example.

@AllenKennedy - thank you for your diligent critiques!

Here is a screen shot of the Audit window
I think alerting the user of inconsistent naming and that they must use a delimiter is sufficient

My comment about the shift on the concordia may be incorrect, and just a difference attributable to using different RM.

Issue 622 seems to be conflating two things.  This issue as original posted by Tom relates to the audit window going a bit wonky sometimes – you get blank spots and can’t “access” some parts of the data. I will try and see if I can get it to screw up and tape it as the example. This happens on our files that very consistent file naming (- delimiter always).
I’m not 100% clear why the delimiter stuff was raised in this issue – it came up initially in issue #624 (the  Concordia not plotting).  I think Allen may have conflated that and the Concordia shift problem he identified because he thought he was having that problem again here but it was just that he changed something in his RM.
I think we should move this file naming/delimiter thing to a new issue.

@AllenKennedy - The naming / delimiter thing is fixed and published in the next release - v1.7.10 with a more robust parsing of names and a warning popping up when names don't comport with chosen delimiter.
@AllenKennedy - your screen shot looks normal - the slider above the graphs moves the zoom window left and right so you can see more detail.
@TPestaj  -The issue of using the slider in non-normalized time mode is problematic - one sultion may be to turn off the zoom in when time is not normalized.  Suggestions welcome.

After release of v1.7.10, let's make new issues for each of these items as appropriate.


Representation of CustomData

Currently, as of e42426c9dc2849645fcd5efdb07d30ca3bd0e116, we have represented BlockTraits for support of custom values from mods and other sources, but we'd like to represent custom data globally throughout the API.
This is just a reminder for truly custom data from any source that can safely integrate into the API and likely into Data API.

Closing as the possibility of representing custom data any other way than a raw DataContainer is virtually impossible.


Huge "recordings" folders?

Is having

460 megabytes of YAML in sdk/storage/azure-storage-blob/tests/recordings
208 megabytes of YAML in sdk/core/azure-servicemanagement-legacy/tests/recordings

actually necessary?
I suppose I should be lucky they're not shipped in the production wheels :)

@akx thanks for letting us know! someone from our team will look into it //cc: @mayurid @rakshith91

Thanks @akx for reporting this. We are looking into removing these and will keep you posted when that is done.

Are these required at all in the repository though, or could they be shipped in a compressed format?
Disk space is cheap, yes, but it's still irritating to have a gigabyte of YAML lying around on my laptop's disk when I need to dig in to the SDK's source.
Pulling down a clone of this repo as it is (a5b5510935f63c535a6f143952d51cf200760643 right now) takes half a gig of downloaded objects:
Receiving objects: 100% (165603/165603), 522.05 MiB | 3.58 MiB/s, done.

Indeed, throughout the history of the repository, the largest blobs recorded are all these test recordings:
$ git rev-list --objects --all | git cat-file --batch-check='%(objectname) %(objecttype) %(objectsize) %(rest)' | grep '^[^ ]* blob' | gsort -n -r -k3 | head -n10
ddd9c21675273190e6e3e79e21588f0acb279244 blob 50358136 sdk/storage/azure-storage-blob/tests/recordings/test_common_blob.test_copy_blob_async_private_blob_with_sas.yaml
a1ae1c9e0320b312e85856a97debe29c9715264e blob 49848228 sdk/core/azure-servicemanagement-legacy/tests/recordings/test_legacy_mgmt_misc.test_add_data_disk_from_url.yaml
9047ee7ef1aa61c947b41a0abfd97d566aceefa7 blob 49848228 azure-servicemanagement-legacy/tests/recordings/test_legacy_mgmt_misc.test_add_data_disk_from_url.yaml
ed816df7b388405995ad268b1054474c8e052b98 blob 49843265 azure-servicemanagement-legacy/tests/recordings/test_legacy_mgmt_misc.test_add_data_disk_from_disk_name.yaml
2d8f217b9af486eb8a755d3c393f9247c6d57b75 blob 49843265 sdk/core/azure-servicemanagement-legacy/tests/recordings/test_legacy_mgmt_misc.test_add_data_disk_from_disk_name.yaml
b1832e1d69a10504058f93286508774c926ed3ec blob 49080603 azure-servicemanagement-legacy/tests/recordings/test_legacy_mgmt_misc.test_add_update_delete_get_list_disk.yaml
180824289bf642b1ddf034be4d77fad73c19e4e0 blob 49080603 sdk/core/azure-servicemanagement-legacy/tests/recordings/test_legacy_mgmt_misc.test_add_update_delete_get_list_disk.yaml
6d10f78770294573bcc46d6577041b57c7eb0ca3 blob 46917799 sdk/storage/azure-storage-blob/tests/recordings/test_large_block_blob.test_put_block_stream_large_with_md5.yaml
0bc63f68ecac6941732a53df0cf63140cf2c7a33 blob 46917764 sdk/storage/azure-storage-blob/tests/recordings/test_large_block_blob.test_put_block_stream_large_with_md5.yaml
1a716603a5b649d654dcc44d96f1056f38fa09ab blob 46917514 sdk/storage/azure-storage-blob/tests/recordings/test_large_block_blob.test_put_block_stream_large.yaml

I know we can't get rid of the YAML in the repo without modifying history, but still, something to think about.
Compressing the Storage recordings with gzip -9 brings them down to 5.4 megabytes.

Hi @akx
Sorry about the inconvenience again.
@xiangyan99 is there a reason we close this pr #8597

is there a reason we close this pr #8597

@xiafu-msft The changes are merged.
@akx We have removed the yaml files from manifest. So sdist of the package will not have any recordings. Also, we are working on a long term solution to remove the recordings entirely from the repo. We will update you once the changes are made. Feel free to keep the issue open / feel free to close it - upto you :)
Thanks again for reporting and sorry for the inconvenience.

#8625


No Midea HVAC Devices Found

I am trying to setup this node but cannot seem to get the connection working. I have migrated my account and devices to the MSmartHome app but whenever I hit the discover button I get the error "No Midea HVAC Devices Found". I'm honestly not sure how to tell if my Midea AC uses the OSK103/SK103 dongle. My model is MAP14HS1TBL. I've also tried pre-filling in the IP address but that still does not help.

hi in AC you will see dongle like more info

support only this

hi,
was this solved and i don't see it or moved to will not fix?
BR,
Darko

It is not solved, I'm hesitant to disassemble the unit to look for the wifi dongle. I'm still unable to find the device using this plugin.

this plugin only supports 103 keys, if you want to work you can't use
https://aliexpress.com/item/32815395082.html + esp-link more info ADAPTER.md

I'm curious if we could look at this as feature request to explore using the OEM key provided on these newer devices. It would lower the barrier to entry instead of asking users to tear open an $800 AC and install a wireless key from Ali Express.

do not open!!!
oh, you have a portable / floor standing air conditioner. Most models that can be controlled are listed https://community.home-assistant.io/t/midea-a-c-and-esphome-component-list-of-all-known-working-models-and-manufacturers/320784
in general, my node is a binding for the @reneklootwijk solution, maybe he will tell you


Invalid character (Â) in bundle

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Webpack produces a invalid character (Â) in bundle file.
If the current behavior is a bug, please provide the steps to reproduce.

Install nedb package
Run webpack
Search for if (doc[i] !== undefined && util.isDate(doc[i]) && in bundled file (or go to line number 18410).

Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Windows 10, Node v7.7.1, Webpack 2.2.1, nedb 1.8.0

Doesn't seem to be reproducible on OSX, node 6.9.1:
        if (doc[i] !== undefined && util.isDate(doc[i]) && Date.now() > doc[i].getTime() + self.ttlIndexes[i] * 1000) {
          valid = false;
        }

@zastavnitskiy Make sure to check in different text viewers. For example it's not visible in VSCode but I can see it in Chrome and Chrome's inspector.

Not sure if it's the same issue, but I experienced something similar when bundling TinyMCE. I wrote about the fix here: https://www.tinymce.com/docs/advanced/usage-with-module-loaders/#minificationwithuglifyjs2.

@ibrahimduran could you create a test repository that makes the issue reproducible?

@jhnns https://github.com/ibrahimduran/webpack-html-encoding-issue - run webpack and open test.html, you should see parse error in the console
I've just found out that it works without any parse error when I set charset encoding to UTF-8 in HTML file.

webpack emits utf-8 javascript (and read utf-8 javascript). Correct encoding is important.

I assume this can be closed then.
Feel free to reopen if this remains an issue.

Getting the same even with correct html encoding, but just if I minify with babili
SyntaxError: Invalid character '\u2160'

  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/ <=== js console report this here

Got this error when tried to bundle ThreeJS.
Found this character in one of the lines:
this.aStartAngle = aStartAngle ||Â 0;

what is the proper fix ?


Removing %{MATCHED_VAR} from logging

As suggested by @theMiddleBlue, logging whole RESPONSE_BODY isn't a good idea.

Thank you. This makes  a lot of sense.
Looking good to me. Ready to be merged as far as I am concerned. Opinions?

Thank you. This makes  a lot of sense.
Looking good to me. Ready to be merged as far as I am concerned. Opinions?

No differing opinions. So I'm merging this now.


Check for previous/existing GitHub issues/module proposals

[X] I have checked for previous/existing GitHub issues/module proposals.

Check this module doesn't already exist in the module indexes

[X] I have checked for that this module doesn't already exist in the module indexes.

Bicep or Terraform?
Terraform
Module Classification?
Resource Module
Module Name
avm-res-hci-provisioners
Module Details
Provision azure stack hci.
Do you want to be the owner of this module?
Yes
Module Owner's GitHub Username (handle)
xhy8759
(Optional) Secondary Module Owner's GitHub Username (handle)
duzitong

@xhy8759 is this related with https://github.com/Azure/Azure-Verified-Modules/issues/908


Add a warning message at the top of the submit page

Some users don't know that they are about to immutably link their Ethereum address to their identity.
Add this message ina visible way at the top of the submit page.
`PRIVACY WARNING: The Ethereum address you are using to submit your profile will be publicly linked to your identity. If you don't want your wallet holdings and transaction history to be linked to your identity, we recommend using a new Ethereum address."

Duplicate of https://github.com/Proof-Of-Humanity/proof-of-humanity-web/issues/119


Request: P12S Classical Concepts Option.

It seems that currently Classical Concepts is using a sorting method from left to right with X, square, circle, and triangle shapes. For certain reasons, my team is currently using a sorting method with circle, X, triangle, and square shapes. Could you please consider adding an option to sort in this way?

Doesn't make sense to code in a completely new strategy that 1 person uses.
BPOG is the widely used and accepted strat hence why it's the one coded.

I've been in a few numbers groups, it's easier to understand from zero.
But it's also like.... a braindead mechanic.
If you really need help with it just make a local repo for the project with CC order changed in BossMod/Modules/Endwalker/Savage/P12S2PallasAthena/ClassicalConcepts.cs

I've been in a few numbers groups, it's easier to understand from zero. But it's also like.... a braindead mechanic.
If you really need help with it just make a local repo for the project with CC order changed in BossMod/Modules/Endwalker/Savage/P12S2PallasAthena/ClassicalConcepts.cs

Thanks, I will try it.


Focus!

When you click the icon it should focus the text cursor in the search field. Every time I click I type something and wonder if my keyboard is broken. 😢

Yeah, this is all kinds of necessary. I originally attempted to implement it when I first built the extension, but I ran into some strange issue that seemed related to Chrome. Happy to take a look at it again, or accept a PR with the change.

Related, but likely a different issue: If I open it, then change my mind and decide to not add a gif, there's no way to close the popup... No matter where I click, it stays. :-(

@kentcdodds Yeah, I noticed that the other day, but didn't have enough motivation at the time to fix it :P. Will knock it out at the same time as the focus issue

@kentcdodds What OS + version of Chrome? And is it hit and miss for you, or fairly consistent?

@DrewML @kentcdodds may I suggest breaking that into a new issue to make it easier to discuss and fix?
@DrewML re: the focus, I already gave it a shot and had trouble focusing on the element even just by plopping a very specific focus() action on the hard coded element. If I get a chance I'll give it another shot.

@paulmolluzzo Thanks for taking a look - makes me feel more sane that it wasn't just me missing something obvious.
@kentcdodds opened #11 for tracking

Fix is in master - will publish to the Chrome store in a bit (hoping to get #11 fixed right now so I can do 1 publish for both).


Aspsk/re enable smoke und kind

Re-enable the smoke test and the confirmance-kind test, as https://github.com/cilium/cilium/pull/25993 was merged and should have fixed those tests.

Re-enable the smoke test and the conformance-kind test for the CI.

Smoke test & ConformanceKind are green (this is what this PR is about). Marking ready-to-merge

Smoke test & ConformanceKind are green (this is what this PR is about). Marking ready-to-merge

(upd: no, I need to wait for a review)


powerline-shell.py breaks with ValueError

Here's what I see on my stacktrace:
Traceback (most recent call last):
  File "/Users/ricorodriguez/powerline-shell.py", line 692, in <module>
    add_fossil_segment(powerline)
  File "/Users/ricorodriguez/powerline-shell.py", line 685, in add_fossil_segment
    _add_fossil_segment(powerline)
  File "/Users/ricorodriguez/powerline-shell.py", line 655, in _add_fossil_segment
    subprocess.Popen(['fossil'], stdout=subprocess.PIPE).communicate()[0]
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1334, in _execute_child
    child_exception = pickle.loads(data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1382, in loads
    return Unpickler(file).load()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 858, in load
    dispatch[key](self)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 966, in load_string
    raise ValueError, "insecure string pickle"
ValueError: insecure string pickle

Also notice that when the bash script gets run, my prompt gets deleted entirely. Pretty sure that's because the script isn't running but the documentation could be clearer as to what I should expect (also in what order to do things)

I am having this same issue.

I believe this is a duplicate of this. https://github.com/banga/powerline-shell/issues/236
It's caused by a bug in python. https://bugs.python.org/issue26083
You can download the latest verison of python 2.7.12 here https://www.python.org/ftp/python/2.7.12/python-2.7.12-macosx10.6.pkg

Thanks @wangjoshuah
Just added this to the FAQ: https://github.com/banga/powerline-shell/wiki/FAQ#valueerror-insecure-string-pickle


migrate to v3 for charge data

I've added you as a collaborator @drc38 - feel free to merge any approved PRs, make beta releases

Cheers, are the device attributes fixed (https://developers.home-assistant.io/docs/device_registry_index/#device-properties) or can  they be added to? If they can be customised then it probably does make sense to shift it to the device registry

As far as I can tell they are fixed. So it would be a bit of a kludge putting org tier as the "model". Let's go with your approach of adding it as another sensor.


Username data data[:user][:name] does not exist.

Hi.
I'd like to get the username that ran a command or match, although when I look at data I only have a user field which shows a different than what I have in my slack profile...
From: /Users/a525544/Development/superbot/superbot.rb @ line 89 :

    84:     items.where(:system => system).delete
    85:     client.say(channel:data.channel, text: system.concat(" has been deleted"))
    86: end
    87:
    88: match /show user/i do |client,data,match|
 => 89:     binding.pry
    91: #   system = match[:system]
    92: #   items = DB[:reservations]
    93: #   items.where(:system => system).delete
    94: #   client.say(channel:data.channel, text: system.concat(" has been deleted"))

[1] pry(SuperBot)> data
=> {"type"=>"message",
 "channel"=>"D1REXXXXX",
 "user"=>"U0JRXXXXX",
 "text"=>"show user",
 "ts"=>"5555555555.000129",
 "team"=>"555555555"}

I figured out I had to:
client.say(channel:data.channel, text: "<@".concat(data[:user]).concat(">") )

This is correct usage?

That's correct, the user ID is in the user field, you can render it as a username by making it a slack mention this way. If you actually want the user name, you can look it up in the local store or by a query, something like client.store.users.detect { |user| user['id'] == ... }. This actually could use a good example in https://github.com/dblock/slack-ruby-client, feel free to contribute.
I'll close this.

This works for me to get the actual user name:
client.store.users[data.user]['name']
eg.
  command 'whoami' do |client, data, match|
    client.say(text: "You are: #{data.user} <#{client.store.users[data.user]['name']}>", channel: data.channel)
  end


Missing the fix to the reorg race condition crash

In passing, I noticed that this fork of lightwalletd is missing this bug fix, without which the server can crash when a reorg occurs at just the right time: https://github.com/zcash/lightwalletd/pull/409.
The patch in ECC's repo will need https://github.com/ZcashFoundation/zebra/pull/6134 to merge in order to work with zebra.
(I'd recommend rebasing on top of ECC's upstream repo, it will make code reviews quicker!)

I'll make sure that Zebra PR gets in our 1.0.0-rc.5 release.


Add version constraint for Terraform provider (hcloud)

The next major release might contain some changes that are not backwards compatible.

Thanks, @dhoppe!


Application not starting in a timely manner after scaling

The app's name is qa-bvjs-apps-scoutfile.
Freshly restored cluster, from slightly outdated backup. Application was then migrated via import / export, to bring it up to date.
Application appeared to be misbehaving. User scaled it down and back up, now it isn't starting at all. Last logs are from the job before the last slugbuilder:
flynn -c qa-us-east-1 -a qa-bvjs-apps-scoutfile scale
dimsum=1 web=1

flynn -c qa-us-east-1 -a qa-bvjs-apps-scoutfile ps --all
ID                                                 TYPE         STATE  CREATED            RELEASE
ip1010038164-319940b4-e915-4884-9a87-6a4e09136fc0  run          down   About an hour ago  8b78d134-3907-4404-a362-6812f870789e
ip1010038162-0f753400-c7ca-491b-aa08-05ca0bd02400  slugbuilder  down   About an hour ago  8b78d134-3907-4404-a362-6812f870789e
ip1010038162-635cf7a4-7b14-4c40-8555-4d9bd45cf773  web          down   59 minutes ago     bcaa7833-9911-4c03-945d-23fb8ad368c7
ip1010038163-a0c46de0-fe22-4521-b9dc-991b88e4b21d  dimsum       down   59 minutes ago     bcaa7833-9911-4c03-945d-23fb8ad368c7
ip1010038163-b9390bdf-fd1a-4d80-b6a8-1f9fbb6440cc  web          down   58 minutes ago     2dc8d474-e260-4f36-81d6-3ea425ed040b
ip1010038163-e60cf634-deeb-413d-9a51-c0cdb9d78b47  dimsum       down   58 minutes ago     2dc8d474-e260-4f36-81d6-3ea425ed040b
ip1010038164-08804b1f-d699-4fd6-82ca-f61c455588af  slugbuilder  down   48 minutes ago     2dc8d474-e260-4f36-81d6-3ea425ed040b
ip1010038164-61de1de3-f92a-407a-bf90-b6fce3a05c86  web          down   47 minutes ago     672518a1-23d4-47cd-adb7-b361465c9876
ip1010038163-661b66d3-55a6-4a1b-9072-c5954c27a134  dimsum       down   47 minutes ago     672518a1-23d4-47cd-adb7-b361465c9876
ip1010038163-b2d22759-d2c5-4cb8-99e7-c5c51c9dccaa  slugbuilder  down   19 minutes ago     672518a1-23d4-47cd-adb7-b361465c9876
ip1010038163-ddfa462b-9a00-4ac4-92ba-a23858544984  web          down   19 minutes ago     e9e13d25-b4de-4b65-b5df-382779528a41
ip1010038164-2d96436b-8b03-452c-91fb-9b88058a3b7b  dimsum       down   19 minutes ago     e9e13d25-b4de-4b65-b5df-382779528a41

flynn -c qa-us-east-1 -a qa-bvjs-apps-scoutfile log | tail -n 1
2016-10-07T20:56:31.776646Z app[web.ip1010038164-61de1de3-f92a-407a-bf90-b6fce3a05c86]: [2016-10-07T20:56:31.776Z]  info  - [Web Service]  Responding with a deployment for srd-testcustomer-1 in main_site / production

https://bazaarvoice.box.com/s/fl0v8i8ho5394djlv5pkqqq6tcfm1ivd has the debug info.

Additional: scale commands result in:
scaling dimsum: 0=>1, web: 0=>1

Timed out waiting for job events. Waited 20 seconds.
expected: map[web:map[up:1] dimsum:map[up:1]]
actual: map[]

Though they "appear" to eventually succeed, in that later scale queries show them at the target.

Delete and redeploy is a viable workaround.

@temujin9 could you clarify a few things?

Application appeared to be misbehaving

In what way was it misbehaving? Were any jobs running?

User scaled it down and back up, now it isn't starting at all

So is the attached output of flynn ps --all from just after this chain of events?
Looking at the scheduler log, release e9e13d25-b4de-4b65-b5df-382779528a41 (which is the most recent release in your output) was scaled up at 2016-10-07T20:55:46+0000 and the jobs started, but then it was subsequently scaled down at t=2016-10-07T21:00:46+0000.

Additional: scale commands result in: ... Though they "appear" to eventually succeed, in that later scale queries show them at the target.

I can't see any evidence of failed scale events in the debug info, so can you post the output of the following after the failed scale event:
$ flynn release
$ flynn ps --all
$ flynn scale --all

Collecting the debug info again would be useful too.

I feel like this may have been transient or user error. It has not repeated since I reported it.
Closing for now. I will reopen, and grab the output of those logs, if it recurs.

(Sorry, thought this was a different ticket. I'm going to leave this one open for at least a few more days, to ensure it doesn't repeat. I will gather that information if / when it occurs again.)

Has this happened recently?

Not that I've seen. Closing until / unless it recurs.


http_util: Allow build and parse multipart/mixed requests

Some services (gcs, azblob) suppoprt batch request via multipart/mixed
For examples:
Request
POST /batch/storage/v1 HTTP/1.1
Host: storage.googleapis.com
Content-Length: 960
Content-Type: multipart/mixed; boundary="===============7330845974216740156=="
Authorization: Bearer ya29.AHES6ZRVmB7fkLtd1XTmq6mo0S1wqZZi3-Lh_s-6Uw7p8vtgSwg

--===============7330845974216740156==
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: <b29c5de2-0db4-490b-b421-6a51b598bd22+1>

PATCH /storage/v1/b/example-bucket/o/obj1 HTTP/1.1
Content-Type: application/json
accept: application/json
content-length: 31

{"metadata": {"type": "tabby"}}
--===============7330845974216740156==
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: <b29c5de2-0db4-490b-b421-6a51b598bd22+2>

PATCH /storage/v1/b/example-bucket/o/obj2 HTTP/1.1
Content-Type: application/json
accept: application/json
content-length: 32

{"metadata": {"type": "tuxedo"}}
--===============7330845974216740156==
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: <b29c5de2-0db4-490b-b421-6a51b598bd22+3>

PATCH /storage/v1/b/example-bucket/o/obj3 HTTP/1.1
Content-Type: application/json
accept: application/json
content-length: 32

{"metadata": {"type": "calico"}}
--===============7330845974216740156==--

Response
HTTP/1.1 200 OK
Content-Type: multipart/mixed; boundary=batch_pK7JBAk73-E=_AA5eFwv4m2Q=
Date: Mon, 22 Jan 2018 18:56:00 GMT
Expires: Mon, 22 Jan 2018 18:56:00 GMT
Cache-Control: private, max-age=0
Content-Length: 3767

--batch_pK7JBAk73-E=_AA5eFwv4m2Q=
Content-Type: application/http
Content-ID: <response-b29c5de2-0db4-490b-b421-6a51b598bd22+1>

HTTP/1.1 200 OK
ETag: "lGaP-E0memYDumK16YuUDM_6Gf0/V43j6azD55CPRGb9b6uytDYl61Y"
Content-Type: application/json; charset=UTF-8
Date: Mon, 22 Jan 2018 18:56:00 GMT
Expires: Mon, 22 Jan 2018 18:56:00 GMT
Cache-Control: private, max-age=0
Content-Length: 846

{
 "kind": "storage#object",
 "id": "example-bucket/obj1/1495822576643790",
 .
 .
 .
 "metadata": {
  "type": "tabby"
  },
  .
  .
  .
}

--batch_pK7JBAk73-E=_AA5eFwv4m2Q=
Content-Type: application/http
Content-ID: <response-b29c5de2-0db4-490b-b421-6a51b598bd22+2>

HTTP/1.1 200 OK
ETag: "lGaP-E0memYDumK16YuUDM_6Gf0/91POdd-sxSAkJnS8Dm7wMxBSDKk"
Content-Type: application/json; charset=UTF-8
Date: Mon, 22 Jan 2018 18:56:00 GMT
Expires: Mon, 22 Jan 2018 18:56:00 GMT
Cache-Control: private, max-age=0
Content-Length: 846

{
 "kind": "storage#object",
 "id": "example-bucket/obj2/1495822576643790",
 .
 .
 .
 "metadata": {
  "type": "tuxedo"
  },
  .
  .
  .
}

--batch_pK7JBAk73-E=_AA5eFwv4m2Q=
Content-Type: application/http
Content-ID: <response-b29c5de2-0db4-490b-b421-6a51b598bd22+3>

HTTP/1.1 200 OK
ETag: "lGaP-E0memYDumK16YuUDM_6Gf0/d2Z1F1_ZVbB1dC0YKM9rX5VAgIQ"
Content-Type: application/json; charset=UTF-8
Date: Mon, 22 Jan 2018 18:56:00 GMT
Expires: Mon, 22 Jan 2018 18:56:00 GMT
Cache-Control: private, max-age=0
Content-Length: 846

{
 "kind": "storage#object",
 "id": "example-bucket/obj3/1495822576643790",
 .
 .
 .
 "metadata": {
  "type": "calico"
  },
  .
  .
  .
}

--batch_pK7JBAk73-E=_AA5eFwv4m2Q=--

Tasks
It's better for opendal to provide build and parse support in http_util.

[x] Implemenet AsyncBody::MultipartMixed(bounary, requests)
[ ] Support parsing returning multipart-mixed response

Hi @Xuanwo, I'm new to OpenDAL Community and would like to work on this issue. I'm not sure if I can help as I'm not a pro of Rust.

I'm new to OpenDAL Community and would like to work on this issue.

Welcome!

I'm not sure if I can help as I'm not a pro of Rust.

I believe you can do this! However, I'm already working on it. Would you like to take a look at https://github.com/apache/incubator-opendal/issues/1364?

I believe you can do this! However, I'm already working on it. Would you like to take a look at #1364?

Great! I will take a look at it and try my best.


Removing live filter

Removing "live" filter to see if that works to get #9 to build.

The PR is not being built because the target branch live is filtered in .openpublishing.publish.config.json on live branch.

The PR is not being built because the target branch live is filtered in .openpublishing.publish.config.json on live branch.


Firefox - PDFs in SharePoint or OneDrive not rendering - screen flashes then goes blank

Attach (recommended) or Link to PDF file here: https://agilehandovercom-my.sharepoint.com/:b:/g/personal/jeff_nolan_agilehandover_com/EfAOWu_OwT5HsAzSIKXYsDEBCSx05xBxgNhd_E62cgzGQg?e=BuTkXq
Both SharePoint and OneDrive display the same error - The above link is one of the bad files I put in OneDrive for you - if opened with FireFox it does not render properly. If opened in Chrome or Edge - it works fine.
Configuration:

Web browser and its version: FireFox 103.0 (64-bit)
Operating system and its version: Windows 10 Enterprise version 20H2
PDF.js version: PDF.js v2.15.129 (build: be2dfe45f)
-  according to error log... included below
Is a browser extension: no

Steps to reproduce the problem:

Open Sharepoint or OneDrive online
Click on PDf file to open from Sharepoint ( both the preview and open options do not render properly )
The file opens - shows for a split second - then flashes - then goes away leaving a blank screen.

What is the expected behavior? for the file to render properly and not go away
What went wrong? The file does not render at all. Some files render partially. Overall - most customer files do not work.
Here are all the error codes that I got from the DOM Inspector:
An error occurred while rendering the page.
PDF.js v2.15.129 (build: be2dfe45f)
Message:
Stack: putBinaryImageData@resource://pdf.js/build/pdf.js:5920:11
paintInlineImageXObject@resource://pdf.js/build/pdf.js:7857:25
paintImageXObject@resource://pdf.js/build/pdf.js:7808:10
executeOperatorList@resource://pdf.js/build/pdf.js:6338:20
_next@resource://pdf.js/build/pdf.js:3365:37
webpack_modules</_scheduleNext/<@resource://pdf.js/build/pdf.js:3353:14
viewer.js:1183:15
renderView: "[Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://pdf.js/build/pdf.js :: putBinaryImageData :: line 5920"  data: no]" viewer.js:7796:19
renderView resource://pdf.js/web/viewer.js:7796
An error occurred while rendering the page.
PDF.js v2.15.129 (build: be2dfe45f)
Message:
Stack: putBinaryImageData@resource://pdf.js/build/pdf.js:5920:11
paintInlineImageXObject@resource://pdf.js/build/pdf.js:7857:25
paintImageXObject@resource://pdf.js/build/pdf.js:7808:10
executeOperatorList@resource://pdf.js/build/pdf.js:6338:20
_next@resource://pdf.js/build/pdf.js:3365:37
webpack_modules</_scheduleNext/<@resource://pdf.js/build/pdf.js:3353:14
FrameRequestCallback*_scheduleNext@resource://pdf.js/build/pdf.js:3352:14
renderContinueCallback@resource://pdf.js/web/viewer.js:12158:9
webpack_modules</paintOnCanvas/renderTask.onContinue@resource://pdf.js/web/viewer.js:12350:16
_continue@resource://pdf.js/build/pdf.js:3344:17
operatorListChanged@resource://pdf.js/build/pdf.js:3333:10
_renderPageChunk@resource://pdf.js/build/pdf.js:2046:26
webpack_modules</_pumpOperatorList/pump/<@resource://pdf.js/build/pdf.js:2085:14
viewer.js:1183:15
renderView: "[Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://pdf.js/build/pdf.js :: putBinaryImageData :: line 5920"  data: no]" viewer.js:7796:19
renderView resource://pdf.js/web/viewer.js:7796
(Async: FrameRequestCallback)
_scheduleNext resource://pdf.js/build/pdf.js:3352
renderContinueCallback resource://pdf.js/web/viewer.js:12158
onContinue resource://pdf.js/web/viewer.js:12350
_continue resource://pdf.js/build/pdf.js:3344
operatorListChanged resource://pdf.js/build/pdf.js:3333
_renderPageChunk resource://pdf.js/build/pdf.js:2046
pump resource://pdf.js/build/pdf.js:2085

The pdf contains an image 12000x16430 and we're failing in allocation a canvas for it.

Duplicate of #12307.

Note, this is actually a duplicate of #6741 (since a /CCITTFaxDecode stream is involved).

Isn't it only a matter of image size at the end ?

Isn't it only a matter of image size at the end ?

Yes, that's the basic issue here.
However the vast majority of these issues concern /CCITTFaxDecode images in particular, hence why I figured that it cannot hurt to keep track of that.

Does 'Closed' mean you all are going to fix it? Or should I submit this same thing directly to Firefox support?? Should I tell our customers using Firefox / Sharepoint online -- to switch to Chrome - or that this is going to be fixed and to wait for new release? - Thanks

@AgileHandover this was closed as a duplicate because the same issue was already reported, it is in our plans to fix this hopefully soon.

This appears to be happening again, but now it is happening in Chrome, Edge, and Firefox. Overview - file shows for a second then disappears. Here is a link to a testing file -> https://hhmionline-my.sharepoint.com/:b:/g/personal/nolanj2_hhmi_org/EVhf6nEjvWtJl37eZp7HwLoBYdxZmEz_2fATTfXuQ4dQOQ?e=UTJ6QE


Release 1.0

ApplicationRunner
auto-reconnect
WAMP call timeouts
naming inconsistency
naming not PEP8

We don't have a consolidated list of API which is supposed to be "public and supported".
Well, we do have:

https://github.com/tavendo/AutobahnPython/blob/master/autobahn/websocket/interfaces.py
https://github.com/tavendo/AutobahnPython/blob/master/autobahn/wamp/interfaces.py

but this isn't exhaustive.

duplicate: https://github.com/tavendo/AutobahnPython/issues/313


Display warning message abouc XDebug enabled

Maybe it would be good idea to display info about XDebug enabled (like Composer). Request window/showMessage with MessageType::Warning can be used for example.

Yes, good idea.


Using 011 instead of + for international Number, Flag doesn't change

When i use your demo (http://jackocnr.com/intl-tel-input.html, USA is preselected) and i typ in +4917012345678 it changes the flag to German.
But when i typ in<PHONE_NUMBER>345678 which is basically the same it doesn't change the flag, is there a reason for that? Both is the same german number. (011 the exit code for USA)
Phonelib is detecting both ways of input http://libphonenumber.googlecode.com/svn/trunk/javascript/i18n/phonenumbers/demo-compiled.html

That other format is not standardised - it varies depending on which country you are dialing from. See https://github.com/Bluefieldscom/intl-tel-input/pull/5


Create form to add non datalad or non open datasets

google form or something that can be accessed by anyone? Github issue form?
list datasets that are known to be BIDS compatible but do not use datalad (stored on osf, Ebrains...)
list datasets that require a DUA

Check

Chinese connectome?
camcan ?

I know that @bcmcpher worked on Camcan - he may be able to advise on this. I just renewed our ABCD DUA through Xiaoqian, but for this you have to go on the NDA website IIRC. Is the scope here to cover many different ways of accessing a dataset ?

Bare minimum would be to at least help with findability of bids datasets.
For now, I don't think we should go down the rabbit hole telling people how to access each dataset beyond pointing to the web page of the dataset that explains exactly that.

My thought as well - but having a list of example of possible DUA would be good - that could lead to something like the openbrain consent where someone could list all the possible constraints put in the DUA (and express opinions on those :) )

So it would also help with findability of examples of DUA. Definitely helpful as well.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4092

Questions ?
Please refer to the Backport tool documentation


[joy-ui] Refine the default theme color palette

[ ] I have followed (at least) the PR section of the contributing guide.

Mostly adding some fine-tuning to the neutral palette. The best pages to check are:
https://deploy-preview-38416--material-ui.netlify.app/joy-ui/getting-started/templates/profile-dashboard/

Current palette
New palette

https://deploy-preview-38416--material-ui.netlify.app/joy-ui/getting-started/templates/files/

Current palette
New palette

https://deploy-preview-38416--material-ui.netlify.app/joy-ui/getting-started/templates/order-dashboard/

Current palette
New palette

And more examples here: https://deploy-preview-38416--material-ui.netlify.app/joy-ui/react-card/

I lean toward surface being white because it will create a better contrast with other components as children and I think 70-80% of the UI in an app are surfaces.

Not directly related but the font size feels off in https://mui.com/joy-ui/getting-started/templates/order-dashboard/

It's 12px, I struggle to read it, I think 14px would work much better.
If I compare it to a previous version: https://648721de6dbe8f0008f3755f--material-ui-docs.netlify.app/joy-ui/getting-started/templates/order-dashboard/, IMHO there the only font size issues were: the side nav at 16px rather than 14x and the select labels at 12px rather than 13px.

I lean toward surface being white because it will create a better contrast with other components as children and I think 70-80% of the UI in an app are surfaces.

I would say that's true for dashboards, forms, etc. But for different use cases, like a landing page, documentation pages, etc., body becomes the majority. e.g. https://tailwindcss.com/
Though, I'm not too sure about the blueish tone of the neutral palette. It looks good with the default primary palette, but when users customize the primary palette, then the blueish tone won't necessarily match, and chances are they have to customize the neutral palette as well just for that reason.


Incorporate senzingapi-runtime package

See https://github.com/Senzing/community-roadmap/issues/65

Blocked by https://github.com/Senzing/community-roadmap/issues/64#issuecomment-1178250314

Pull requests:

https://github.com/Senzing/senzing-poc-server/pull/69


Cannot $attach to interactive

Hi
I'm not sure if this feature was pulled out of recent versions, but I can no longer attach a debug window to my interactive session. When I type $attach at the interactive prompt, I get the following error message:
The Python REPL process has exited
Failed to attach: Unable to start program 'd4c066b1-83e2-49b0-a80b-4c9b212afb8b'.
Catastrophic failure
Is this a bug, or is the feature no longer supported?
Thank you.

This is definitely a bug, but I can't reproduce it. Can you tell a bit more about the environment - VS version, Python version etc?

Hi
The version of VS is Community Edition 2013 with Update 4. I'm using Python 2.7.9 (32 bit). The OS is Windows 8 Pro, 64 bit.
I am still able to run the regular debugger (for the project or file) just fine.
Please let me know what other information you might need to debug this.
Thank you

Can you please try to repro this again, and then go to Tools -> Python Tools -> Diagnostic Info, and attach the output there?

Hi
I have uploaded the diagnostic info here: https://drive.google.com/file/d/0B83Ffz1wmGNjMzZhZXB5QllfbUE/view?usp=sharing
Please let me know if there is anything else you need.
Thank you

From the log, there seems to be something weird about your install - it looks like you have bits and pieces of PTVS 2.0 floating around alongside 2.2? Can you take a look at the global list of installed applications in Control Panel, and see if 2.0 is still there somehow? If so, removing it and then reinstalling 2.2 might help.

Hi
I looked in Control Panel, and found nothing like PTVS 2.0 (Only PTVS 2.2).
Please let me know if you'd like me to reinstall 2.2 (or if there are any other steps you'd like me to take). I searched in the AppData folder, but found just one PythonTools folder in Local.
Thank you

Can you also take a look at C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio? If you see 2.0 there, remove it and see if that helps any.

Hi
I saw a 2.1 in there which I deleted and restarted VS (but no 2.0). The problem still persists. Also, I notice that I have Python 2.7.9, but Anaconda updated iPython to 3.2.1 - would this be an issue?

Shouldn't be, though $attach-ing to an IPython interactive may not work exactly the way you expect.
When you type $attach, is it the very first thing you type? What if you do an "import sys" or something first?

Hi
It is the very first thing I type. I occasionally get a slightly different errors, like
"Invalid pointer" instead of "Catastrophic failure".
Thank you

What if you type "import sys" first, and then type "$attach"?

Hi
I see the same error message. I haven't yet reinstalled PTVS - I just removed the 2.1 directory. Should I try reinstalling PTVS?
Thanks

Hi, I am having a similar issue.
I am installed Python 3.2 to VS2015, but when i try to fire up the interactive window, I am getting a  or "The Python REPL process has exited".
Were you able to resolve this?

Same here on Windows 10 64-bit with VS 2015 Pro Update 2. As a work around on can use:
import os
os.getpid()

to the the python.exe process id and then attach using Debug > Attach to Process...

Thanks willyd, your solution works.
I don't remember how the attach to debug worked before, but I now see the result of the commands I type in the debug window being displayed in the interactive window.

We have longer-term plans to improve the REPL/debugger relationship, that should eventually replace the need to fix this issue.


“Post settings” pane shows wrong value in Post URL if isDatedPermalinks is enabled

Issue Summary
The URL preview shown in the post settings pane does not take isDatedPermalinks into account, producing an incorrect URL if it is enabled.
Steps to Reproduce

Enable isDatedPermalinks in the site settings.
Go to a post in the admin, any post.
Open the post settings sidebar.
Observe the URL shown below the Post URL text box (selector: .settings-menu .ghost-url-preview), and how it shows something like localhost:2368/welcome/ instead of localhost:2368/2018/02/02/welcome/.

Technical details:

Ghost Version: 1.20.3

This is because the gh-post-settings-menu component is only passing the slug to gh-url-preview; something more complex will need to be done to make it correct.

This is by design. There's a limited amount of space available for the preview and it's intended to show the relationship between the "slug" input and the URL, not as a direct indication of what the final URL will be because that can be affected by a number of variables.
If the full permalink url is shown then for many sites they will only ever see the permalink section, eg: my-long-domain-name.co.uk/2018/02/12/start-...
There are a number of big changes coming to how sites can be structured that will have an affect on the URL, we'll be reviewing all URL previews as part of that work.


Fix PHP deprecated notice function optionals parameters

Fix #6

Another solution can be to just add the variable type in the function delcaration:
$app->command('share [site] [-o|--options=] [--debug]', function ($input, string $site = null, string $options = null, $debug) {
        // ....
}

$app->command('log [key] [-l|--lines=] [-f|--follow]', function (string $key = null, $lines, $follow) {
        // ....
}

Ref: PHP 8.0: Deprecate required parameters after optional parameters in function/method signatures

As the referred link states the proposed code as a "trick", it seems to be just supressing the issue rather than addressing it. Plus with the rest of the codebase not being typed, the proposed code would seem out of place.
So I've fixed the issue at hand in commit c21d885. I will go ahead and close this PR.
The commit adds a default null value to $debug and removes the null value from the $key parameters of the share and log commands respectively.
Thank you for bringing this to my attention, and keep doing so when the occasion arises.
I intend to release a new version soon.


Feature:Added an optional user option to /get_messages and started documentation

NOTE: This is a WIP
Added a user option to /get_messages to only get messages from the specified user in the specified server.
Docs are being added, but are still a WIP.

In accordance with #34, it would be best to migrate the docs to a docs directory for now. We have no need for the full power of docusaurus at the moment, and we can simply move the markdown files later.

We've decided to put this PR on pause so that we can define a proper API spec in a RESTful style.

Superseded by #103


Add last case reported date in state wise and district wise

Add last case reported date in state wise and district wise .

Check the website. This is already there when you click on the bell icon under search bar.

This is very hard to go through for each state and district wise instead you can add as an extra column after Confirmed , Active , Deceased , then you can display one more column latest cases reported date . So we can go through as easiest way in all state and district at a single glance

#1496


Rocket Chat - Error: SAML Profile did not contain an email address

Hello,
I have a working SATOSA installation whth Shibboleth authentication.
Here are the returned attributes:
[2019-04-02 07:11:00] [DEBUG]: [urn:uuid:893ce3ff-b539-400e-a7cc-2a7d7ca34086] backend received attributes:
{
    "displayName": [
        "Thomas BELLEMBOIS"
    ],
    "cn": [
        "BELLEMBOIS Thomas"
    ],
    "eduPersonAffiliation": [
        "member",
        "employee"
    ],
    "mail": [
<EMAIL_ADDRESS>    ]
}
[2019-04-02 07:11:00] [DEBUG]: [urn:uuid:893ce3ff-b539-400e-a7cc-2a7d7ca34086] Routing to frontend: Saml2IDP
[2019-04-02 07:11:00] [DEBUG]: [urn:uuid:893ce3ff-b539-400e-a7cc-2a7d7ca34086] Filter: ['displayname', 'givenname', 'mail', 'edupersontargetedid', 'surname', 'name']
[2019-04-02 07:11:00] [DEBUG]: frontend attribute displayName mapped from displayname
[2019-04-02 07:11:00] [DEBUG]: frontend attribute cn mapped from name
[2019-04-02 07:11:00] [DEBUG]: frontend attribute email mapped from mail
[2019-04-02 07:11:00] [DEBUG]: [urn:uuid:893ce3ff-b539-400e-a7cc-2a7d7ca34086] returning attributes {"displayName": ["Thomas BELLEMBOIS"], "email"<EMAIL_ADDRESS>"cn": ["BELLEMBOIS Thomas"]}

The email attribute is mapped from mail.
But Rocket can not "see" the email attribute:
[34mI20190402-09:11:01.413(2) RESULT :{"profile":{"inResponseToId":"id-4CAPqkYEprh6abRkF","issuer":"https://authproxy.dsi.uca.fr/Saml2IDP/proxy.xml","nameID":"Thomas.BELLEMBOIS@uca.fr","nameIDFormat":"urn:oasis:names:tc:SAML:2.0:nameid-format:transient","sessionIndex":"id-bzJNdqp8I3tsqQpiE","urn:oid:2-16-840-1-113730-3-1-241":"Thomas BELLEMBOIS","urn:oid:1-2-840-113549-1-9-1-1":"Thomas.BELLEMBOIS@uca.fr","urn:oid:2-5-4-3":"BELLEMBOIS Thomas"}}
[34mI20190402-09:11:01.416(2) Exception while invoking method 'login' Error: SAML Profile did not contain an email address     at MethodInvocation.<anonymous> (packages/steffo:meteor-accounts-saml/server/saml_server.js:174:9)     at tryLoginMethod (packages/accounts-base/accounts_server.js:460:31)     at tryLoginMethod (packages/accounts-base/accounts_server.js:1294:14)     at AccountsServer._runLoginHandlers (packages/accounts-base/accounts_server.js:458:22)     at AccountsServer.Accounts._runLoginHandlers (packages/rocketchat:lib/server/lib/loginErrorMessageOverride.js:7:35)     at MethodInvocation.methods.login (packages/accounts-base/accounts_server.js:518:31)     at MethodInvocation.methodMap.(anonymous function) (packages/rocketchat_monitoring.js:2731:30)     at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1767:12)     at DDP._CurrentMethodInvocation.withValue (packages/ddp-server/livedata_server.js:719:19)     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1304:12)     at DDPServer._CurrentWriteFence.withValue (packages/ddp-server/livedata_server.js:717:46)     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1304:12)     at Promise (packages/ddp-server/livedata_server.js:715:46)     at new Promise (<anonymous>)     at Session.method (packages/ddp-server/livedata_server.js:689:23)     at packages/ddp-server/livedata_server.js:559:43

Not sure this is a SATOSA issue.
Thanks for your help.
Thomas

Hello, I think the attribute you want is not email but mail - ie, I believe the other side expects OID:0.9.2342.192003<IP_ADDRESS>
Change that in internal_attributes.yaml and try it.
attributes:
[...]
  mail:
    saml: [mail]
[...]

Otherwise, we must know what attribute is expected as the "email address".
PS: you can also see the resulting authn-response by using a saml tracer (SAML Chrome Panel, Firefox SAML-tracer, etc)

Thanks ! That solves my issue. I can now authenticate on Rocket Chat.
Thanks a lot for the quick answer.

That's great; and sorry for taking so long to answer your initial question while it was a simple one.


p.fits files have wavelengths equal to nan

apero_pol_spirou.py calls the function clean_polarimetry_data with overwrite = True, which in turn sets the wavelengths outside the defined mask to nan. Can we retain the wavelength information in the output file?
Lines 1756 - 1763 of gen_pol.py:

if overwrite:
wavemap[order_num][~mask] = np.nan
pol[order_num][~mask] = np.nan
polerr[order_num][~mask] = np.nan
stokesi[order_num][~mask] = np.nan
stokesierr[order_num][~mask] = np.nan
null1[order_num][~mask] = np.nan
null2[order_num][~mask] = np.nan

@edermartioli might have to answer this one. I think there was a good reason for this.


pip.conf/pip.ini and Artifactory compatability

Thanks for another great package!
Wanted to ask anybody tested if uv also honors pip.conf/pip.ini and plays nicely with Artifactory?

Hi!
We don't read pip.conf or pip.ini (and probably won't since we're a separate tool). The next release will play nicely with Arficatory though (see #1709)

For users pip.conf see https://github.com/astral-sh/uv/issues/1404


Install webots on Shatterdome

In the past, we only used Webots inside of a Docker container. Now that we're not using Docker much, it would be preferable to have Webots installed on Shatterdome itself.

I believe I've got Webots installed on Shatterdome now per these instructions. It's run with $ webots. Now if only we could use it remotely... it doesn't like x11 forwarding, and TeamViewer isn't working right now. Here's what happens over x11 forwarding:
drakeprovost@shatterdome:~ $ webots
connect <IP_ADDRESS> port 6000: Connection timed out
Warning: could not connect to display localhost:10.0
Info: Could not load the Qt platform plugin "xcb" in "/usr/local/webots/lib/webots/qt/plugins" even though it was found.
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
/usr/local/bin/webots: line 90: 1545826 Aborted                 (core dumped) "$webots_home/bin/webots-bin" "$@"


想請問可以新增如何使用train, resume, Inference的指令嘛？？

As above, can you elaborate on the relevant settings?

Thank you. It's basically the same as the settings with the other project (https://github.com/ZhangGongjie/SAM-DETR).

谢谢你。这些设置与其他项目（ https://github.com/ZhangGongjie/SAM-DETR ）基本相同。

Thanks for your reply, I would also like to ask what is the most suitable batch size for this model. How much GB of GPU memory is needed correspondingly?