[Bug Report] Wrong keyof type with string index signature

TypeScript Version:  3.9.x

Search Terms: keyof, index signature
Code
interface Test1 {
    [key: string]: string;
}

type KeyofTest1 = keyof Test1

interface Test2 {
    [key: number]: string;
}

type KeyofTest2 = keyof Test2

Expected behavior:

KeyofTest1  should be string
KeyofTest2 should be number

Actual behavior:

KeyofTest1  is string | number (wrong)
KeyofTest2 is number (correct)

Playground Link: https://www.typescriptlang.org/play/?ssl=1&ssc=1&pln=12&pc=1#code/JYOwLgpgTgZghgYwgAgCoQM5gIzIN4BQyxyA2gNYQCeAXMllKAOYC6dDzA3AQL4EFgqABxQBpagHsY6LLgC8ySlSlpMOfqEixEKGWABM+IiQrU6IAK4BbAEbQ29MIxBNufAcLGTpawwqUqevoEQA
Related Issues:

This is by design
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-9.html#support-number-and-symbol-named-properties-with-keyof-and-mapped-types

Given an object type X, keyof X is resolved as follows:
If X contains a string index signature, keyof X is a union of string, number, and the literal types representing symbol-like properties, otherwise

@IllusionMH Thanks for your quick reply. ❤
What's the underlay reason of this "by design" ? 🤔
It looks odd and causes some strange type checking error in some third party packages

I think it's because there's no difference between obj[123] and obj["123"] in JS, and TS won't error in case of orders[orderId] if it's orderId is number (which would be annoying).
Any number converted to string will be valid string, however not every string will be valid number therefore same is not applied for number index signature.
I guess it should be of to use Extract<keyof T, string> if you don't expect to use numbers there.
But I can be wrong here.

Yeah a possible solution. I'll trying to submit a PR to that package.
Thanks again~ 😄

Arguably, now that we have https://github.com/microsoft/TypeScript/pull/40336 and https://github.com/microsoft/TypeScript/pull/40598, keyof should report `${number}` for numeric index signatures.


Istio GKE Deployment Manager Fails

Describe the bug
Using the provided link for the GKE Istio Deployment manager throws the following error:
istio-cluster-2 has resource warnings
istio-cluster: {"ResourceType":"container.v1.cluster","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"message":"master version \"1.9.7-gke.1\" is unsupported.","status":"INVALID_ARGUMENT","statusMessage":"Bad Request","requestPath":"https://container.googleapis.com/v1/projects/istio-208316/zones/us-central1-a/clusters","httpMethod":"POST"}}

Expected behavior
A successful launch. I'm not sure what to expect, I haven't gotten it to work.
Steps to reproduce the bug
Click this link and try to deploy istio.
Version
N/A
Is Istio Auth enabled or not?
N/A
Environment
GKE

See the discussion in #6520 .
Other devs were using latest GKE tag to successfully install it or you can simply use 1.9 to get the lates available 1.9 version from GKE.
We will update the doc and the jinja file to be less coupled with specific versions of GKE platform.

Sounds good. Thanks @ymesika


Remove lock files on reboot not needed

Reason for Change:

No need to remove lock files on reboot as like state files. This call causing unnecessary open to lock file.
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

xref: https://github.com/Azure/azure-container-networking/issues/774 this should resolve that issue partially

xref: #774 this should resolve that issue partially

not sure if this fixes that issue

lgtm, you can merge once you get approval from Evan for filemode changes


Add Maven build profile for CDP 7.1.9 SP1

The existing profile "CDP-7.1" is linked to the CDP release <IP_ADDRESS>-801. To ensure full compliance with the 7.1.9 release, a dedicated profile should be created.
The properties should be filled out based on the library versions specified by Cloudera:
https://docs.cloudera.com/cdp-private-cloud-base/7.1.9/runtime-release-notes/topics/rt-pvc-runtime-component-versions-719sp1.html

Please don't create a new profile, but simply adjust the existing one to use the new versions.


[SD-83] Update documentation on data tagging

In this PR, we add a documentation on the DVC. We provide guide to various features of DVC such as uploading, downloading, authenticating and tagging as part of the documentation.

As part of this documentation, we have created first version tag for raw dataset.


Bump identity framework version

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/1967178748

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/1967178748
Status: success


[5.7] Refactoring of JsonCasting tests

I have renamed test case and now it will be close to the other test case with similar tests.
Fixed ticket: https://github.com/laravel/framework/issues/27424

Why does it need the number "2" in the class name?

Changed


ASK about  proxy feature

I have a question.
With your software i can proxied video from camera from localnet to global net?
Something like this ?

I need install software to Raspberry and VPS ?

Hello, of course it's possible, you have to

install rtsp-simple-server on the raspberry pi, and configure it in this way
paths:
  camera:
    source: rtsp://<IP_ADDRESS>:554/path
    runOnInit: ffmpeg -i rtsp://localhost:8554/camera -c copy -f rtsp rtsp://mysuperserver.com:8554/camera
    runOnInitRestart: yes

install rtsp-simple-server on mysuperserver.com

2. install rtsp-simple-server on mysuperserver.com

And what to write in the config (rtsp-simple-server.yml) for the server (mysuperserver.com) ?

Absolutely nothing :)
Or better, you can add publish credentials to avoid that someone publishes without authorization.


Correct ozone conversion from ppb to ug/m3 according to the standard

The standard defines that the reference conditions for AIQ measurements are:
Temperature = 25 °C
Pressure = 760 mmHg (1013,25 hectoPascal).
Reference: CONAMA 491/2018

Fixed in PR #3


Images don't work correctly between color formats?

Version of embedded-graphics in use (if applicable): 0.6.2
Target: QEMU 5.0.0
If using real hardware: Custom

Description of the problem/feature request/other
Okay, so first some background:
I'm using this crate for graphics in QEMU OVMF UEFI, which only knows the pixel format at runtime,
so I've implemented DrawTarget generically over Into<Bgr888> and just use Rgb888::from if need be.(blt and pixel bitmask currently unsupported). So far so good, the circle and some text example colors are correct, despite the code using Rgb565.
And onto the issue:
Then I wanted to display images, and found that Image<Tga, Rgb888> results in the colors being wrong. It compiles, it should be converting through Into<Bgr888>, yet the colors are wrong?

I think this should work like you described it.
Just to make sure the problem is in the color conversion and not in the TGA decoding: Does https://github.com/jamwaffles/embedded-graphics/blob/master/simulator/examples/assets/rust-pride.tga show the same color problems?

Okay so i've tried both tga and bmp, of rust-pride and my own test image
Rust-pride.tga is incorrect, red and blue reversed.

rust-pride.bmp Bgr888 is even weirder, with

and this for Rgb888

The same bmp color issue does not occur with my own test bmp image with Bgr888 though, oddly enough? Does bmp support different color formats and does mine just so happen to already be bgr, and the rust-pride one isnt, or something?

rust-pride.bmp is a 16 BPP Rgb565 image, which should explain the weird colors for the BMP file.
Did you implement draw_image in your DrawTarget impl or are you using the default implementation?
Could you try to manually convert the colors? image.into_iter().map(|Pixel(p, c)| Pixel(p, Rgb888::from(c))).draw(&mut display)

My DrawTarget uses the default.
I'll try manually converting the colors

Manually converting the colors with image.into_iter().map(|Pixel(p, c)| Pixel(p, Bgr888::from(c))).draw(&mut display) did not work?

re: rust-pride.bmp, using Image<Bmp, Rgb565> does indeed fix the rendering issue, the colors are still wrong though.

Did I understand you initial post correctly that you DrawTarget currently stores Bgr888 colors into the framebuffer by converting them by something like: color.into_storage()? And that the Rgb888::from, you mentioned, is only used if UEFI reports another pixel format?
There were some issues with implementing DrawTarget for generic color types in the past. To debug the problem I would suggest to try tp implement DrawTarget for Bgr888 (or whatever type the framebuffer uses) instead of a generic version.

Yes you understand correctly, thats what I'm doing. It's generic over Into<Bgr888>, which covers all the other color types.
Also, a question, the C in Image, hows it used? Because the rust-pride bmp rendered and colored wrong without Rgb565 for C, so is C used for interpreting the images pixels and for writing them out? Wouldn't that mean it's impossible to use images that you don't know the exact format of in advance?

Also, a question, the C in Image, hows it used? I ask because rust-pride.bmp rendered and colored wrong without Rgb565 for C, so does that mean C is used for interpreting the images pixels and for writing them out?

Yes, that's correct. That's why I suggested to manually convert the color type during drawing, because DrawTarget::draw_image was a last image addition to embedded-graphics 0.6 and never supported color conversion. And by implementing DrawTarget generically over C this can lead to wrong inferred typed by the compiler.

Wouldn't that mean it's impossible to use images that you don't know the exact format of in advance?

Yes, that's also correct. I also noticed this while I did some work on the image support recently while working on some features for the next version of embedded-graphics. This isn't a huge problem for most embedded applications which can bundle the correctly formatted images, but it would be a nice to have feature none the less.

In that case I think the color conversions are actually working fine, so long as the C for Image is correct
I think the problems are then:

The docs aren't clear that the C for Image is for the image data, not the display.(Which I now notice draw_image is generic)

It's impossible to use images you don't statically know the format of in advance. You can't just load and display an image.

The second one in particular is annoying, I'd like to display user-supplied images without a lot of hassle on their part. For now I guess a workaround is require them to use a specific format, but.. rather not.

In that case I think the color conversions are actually working fine, so long as the C for Image is correct?

They should. Do they work in your application?

The docs aren't clear that the C for Image is for the image data, not the display.(And I now notice draw_image is generic)

The next version of e-g contains many changes in this part of the code and the updated docs should make it clearer where the color type needs to be specified.
draw_image was not generic over C in the 0.6 version of DrawTarget (it uses the same C as the DrawTarget), which made it unusable if the image color type and display color type didn't match. The 0.7 version of DrawTarget was rewritten and doesn't contain draw_image anymore.

It's impossible to use images you don't statically know the format of in advance. You can't just load and display an image.

I will look into this when I do some other work on tinytga and tinybmp. But this will only be added for e-g 0.7, because the recent changes in e-g make future versions of these crates incompatible with e-g 0.6.

I've opened #424 to track the unknown color format issue.

They should. Do they work in your application?

Oh, huh, nevermind i guess they don't? I thought they did but it was late so mis-saw? rust-pride.bmp, which is a Rgb565 bmp right? does not color correctly unless Image<Bmp, Bgr565>, matching the Display, is used?

Can you share your DrawTarget impl and the code you use to draw the image? It's hard to comment on this without seeing the code.

DrawTarget
Drawing code

Output from current code

This conversion causes the dim display for the non generic DrawTarget impl:
https://github.com/DianaNites/bootloader/blob/42ea09fbaf28d7995403ca5dcbbac37d59211d48/src/main.rs#L135-L136
The values returned by r(), g() and b() are not scaled to 0-255 for color types with less than 8 bit per color channel. The commented out version should correctly scale the color channels.

Oh yeah, that. I was trying to see if maybe it'd help get the colors correct, but the red and blue are still reversed.

Can you change the text to a color with R != B to make sure that works correctly?

Did you try to use an array for write_value, which is suggested in the docs for the uefi crate: https://docs.rs/uefi/0.5.0/uefi/proto/console/gop/struct.FrameBuffer.html#method.write_value?
Example: https://github.com/rust-osdev/uefi-rs/blob/ea0c557fc9d361a850b467575e3d512765a4939b/uefi-test-runner/src/proto/console/gop.rs#L60-L65

DrawTarget
Drawing
Didn't even notice my text had R == B.
Did both of your suggestions and, uh,

Thats not right, both texts are red, but they should be blue?

The UEFI GOP specs contain the following description:

According to this description the bytes in RGB modes should be organized as R, G, B in memory regardless of the endianness of the machine. By using into_ne_bytes on an x86_64 machine you will get the reversed order.

By using into_ne_bytes on an x86_64 machine you will get the reversed order.

But to_ne_bytes does nothing except transmute to an array, through a union. It does not change the order of anything?

By using into_ne_bytes on an x86_64 machine you will get the reversed order.

But to_ne_bytes does nothing except directly transmute to an array.(through a union for const) It does not change the order of anything?

Changing it to `to_be_bytes`, which I guess would "un-reverse" it? is substantially worse. And `to_le_bytes` would of course be a noop on x86

But to_ne_bytes does nothing except directly transmute to an array.(through a union for const) It does not change the order of anything?

Rgb888::new(0x11, 0x22, 0x33).into_storage() results in an u32 with a value of 0x00112233. When you convert that value into an array by using to_ne_bytes on an x86_64 machine you will get: [0x33, 0x22, 0x11, 0x00].

Changing it to to_be_bytes, which I guess would "un-reverse" it? is substantially worse. And to_le_bytes would of course be a noop on x86

The resulting array in this case would be [0x00, 0x11, 0x22, 0x33], so you will need to remove the first element and not the last element of the array when copying it to the framebuffer.

That seems to have done the trick? Thanks so much for your help.
Maybe the color types should provide a way to get an array in the appropriate format so they don't depend on endianness like this? Seems weird that Rgb888 isn't actually laid out as Rgb888 and all.
With the problem with this figured out and #424 for dynamic images, I guess this can be closed?

Maybe the color types should provide a way to get an array in the appropriate format so they don't depend on endianness like this?

That's a good idea. I've implemented this in PR #429.

Seems weird that Rgb888 isn't actually laid out as Rgb888 and all.

That depends on the endianness of the machine and I agree that it can get weird.

With the problem with this figured out and #424 for dynamic images, I guess this can be closed?

I'm glad that it works now and if you don't have any additional questions feel free to close the issue.


italic link , updated ReadMe file.

why?

I wanted to learn how to do a pull request so i fixed that little italic
font .
Pardon me for silly pull requests , im learning . And trust me im a fast
learner. Ill make meaningfull contributions soon.
Regards ,
SurajK.
On Tue, Oct 8, 2019, 8:55 PM Johannes Rieken<EMAIL_ADDRESS>wrote:

why?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/pull/82108?email_source=notifications&email_token=AKQS5CQVHM4PCZYVH25YJE3QNSQ7JA5CNFSM4I6SW7D2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAUR6KA#issuecomment-539565864,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKQS5CRSLAMZKLB3UJPLZ4DQNSQ7JANCNFSM4I6SW7DQ
.


Use default application dispatch if an application hasn't provided one

Problem
Please see issue #6032
Summary of Changes
The exchange context now requires the application to select a message dispatch object that's used for sending the messages. This is done to differentiate between session establishment messages (which are unencrypted) and the application messages (which are encrypted).
Some of the test apps are not registering the delegate. This change adds a default dispatch (for encrypted traffic).
Fixes #6032

@pan-apple
From the crash log, it seems the app crashed at this check
VerifyOrDie(mExchangeMgr != nullptr && GetReferenceCount() > 0);
Send echo request message to Node: 12344321
CHIP:IN: Secure message was encrypted: Msg ID 0
CHIP:IN: Sending msg from 0x000000000001b669 to 0x0000000000bc5c01 at utc time: 701641649 msec
CHIP:IN: Sending secure msg on generic transport
CHIP:IN: Secure msg send status No Error
CHIP:EM: Rxd Ack; Removing MsgId:00000000 from Retrans Table
CHIP:EM: Removed CHIP MsgId:00000000 from RetransTable
CHIP:EM: Sending Standalone Ack for MsgId:00000003
CHIP:EM: Failed to send Solitary ack for MsgId:00000003:4003
Echo Response: 1/1(100.00%) len=15 time=0.000ms
CHIP:EM: Sending Standalone Ack for MsgId:00000003
CHIP:EM: ExchangeContext::SendMessageImpl:Reference count is 0
Aborted (core dumped)
The reference count of ExchangeContext is 0 as the CRMP try to send the ack to EchoResponse message.
The protocol should not call Release directly if CRMP is enabled, instead it should call Close() to give up the ownership of current exchange and the ExchangeMgr will free the exchange after it finish the pending ack.

@pan-apple
From the crash log, it seems the app crashed at this check
VerifyOrDie(mExchangeMgr != nullptr && GetReferenceCount() > 0);
Send echo request message to Node: 12344321
CHIP:IN: Secure message was encrypted: Msg ID 0
CHIP:IN: Sending msg from 0x000000000001b669 to 0x0000000000bc5c01 at utc time: 701641649 msec
CHIP:IN: Sending secure msg on generic transport
CHIP:IN: Secure msg send status No Error
CHIP:EM: Rxd Ack; Removing MsgId:00000000 from Retrans Table
CHIP:EM: Removed CHIP MsgId:00000000 from RetransTable
CHIP:EM: Sending Standalone Ack for MsgId:00000003
CHIP:EM: Failed to send Solitary ack for MsgId:00000003:4003
Echo Response: 1/1(100.00%) len=15 time=0.000ms
CHIP:EM: Sending Standalone Ack for MsgId:00000003
CHIP:EM: ExchangeContext::SendMessageImpl:Reference count is 0
Aborted (core dumped)
The reference count of ExchangeContext is 0 as the CRMP try to send the ack to EchoResponse message.
The protocol should not call Release directly if CRMP is enabled, instead it should call Close() to give up the ownership of current exchange and the ExchangeMgr will free the exchange after it finish the pending ack.

The application code was not really changed in this PR. I think the crash was a side effect of not being able to send the messages.

@pan-apple
From the crash log, it seems the app crashed at this check
VerifyOrDie(mExchangeMgr != nullptr && GetReferenceCount() > 0);
Send echo request message to Node: 12344321
CHIP:IN: Secure message was encrypted: Msg ID 0
CHIP:IN: Sending msg from 0x000000000001b669 to 0x0000000000bc5c01 at utc time: 701641649 msec
CHIP:IN: Sending secure msg on generic transport
CHIP:IN: Secure msg send status No Error
CHIP:EM: Rxd Ack; Removing MsgId:00000000 from Retrans Table
CHIP:EM: Removed CHIP MsgId:00000000 from RetransTable
CHIP:EM: Sending Standalone Ack for MsgId:00000003
CHIP:EM: Failed to send Solitary ack for MsgId:00000003:4003
Echo Response: 1/1(100.00%) len=15 time=0.000ms
CHIP:EM: Sending Standalone Ack for MsgId:00000003
CHIP:EM: ExchangeContext::SendMessageImpl:Reference count is 0
Aborted (core dumped)
The reference count of ExchangeContext is 0 as the CRMP try to send the ack to EchoResponse message.
The protocol should not call Release directly if CRMP is enabled, instead it should call Close() to give up the ownership of current exchange and the ExchangeMgr will free the exchange after it finish the pending ack.

The application code was not really changed in this PR. I think the crash was a side effect of not being able to send the messages.

Yes, Sending message without an ExchangeDispatch definitely is a problem


have a language package?

I want to translate datepiker components

Hi,

you can download my fork : https://djibe.github.io/material/docs/4.4/getting-started/introduction/, download source code download link and unzip files
Now go to assets/js/src/pickdate.js
Go to line 77 to change months names
monthsFull       : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
Save file
Now open terminal and type command : npm run js
New compiled JS will be in /js folder.

Hi,

you can download my fork : https://djibe.github.io/material/docs/4.4/getting-started/introduction/, download source code download link and unzip files
Now go to assets/js/src/pickdate.js
Go to line 77 to change months names
monthsFull       : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
Save file
Now open terminal and type command : npm run js
New compiled JS will be in /js folder.

Hi,Thank you for your reply😁


Moves screen but fails to zoom in

Hi there. Looking to make some tutorials but the zoom feature is important to me, this looks great but I'm running into some issues
Python 3.6.8
OBS 26.1.1
Installed the two required modules. Settings show up as expected.

And here it is in use but failing to zoom after resize

Thanks for your efforts

You need to go into the transform menu of your display input, and change the Positional Alignment to Center and the Bound Box to Stretch to Bounds

@isigebengu-mikey is correct.
Are you still having this issue? @parff9850

@isigebengu-mikey is correct.
Are you still having this issue? @parff9850

Will test and update my response. Thanks for the help.

Closing since the script has refactored and dependencies have changed. If the issue comes up again, please create a new issue.


Install fails via package or brew, Big Sur M1

Attempt at installing v0.3.20 with brew install mailtrackerblocker fails with the following output:
$ brew install mailtrackerblocker
==> Downloading https://github.com/apparition47/MailTrackerBlocker/releases/download/0.3.20/MailTrackerBlocker.pkg
Already downloaded: /Users/REDACTED/Library/Caches/Homebrew/downloads/4c30499320cebc55cbac05b57a3b237522fad0bd19d6999542eaa6454735c986--MailTrackerBlocker.pkg
==> Installing Cask mailtrackerblocker
==> Running installer for mailtrackerblocker; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
Password:
installer: Package name is MailTrackerBlocker
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “MailTrackerBlocker.pkg”.)
==> Purging files for version 0.3.20 of Cask mailtrackerblocker
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env LOGNAME=REDACTED USER=REDACTED USERNAME=REDACTED /usr/sbin/installer -pkg /opt/homebrew/Caskroom/mailtrackerblocker/0.3.20/MailTrackerBlocker.pkg -target /` exited with 1. Here's the output:
installer: Package name is MailTrackerBlocker
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “MailTrackerBlocker.pkg”.)

Attempt to install by launching the package installer directly, fails with the following output:
Mar 11 19:20:06 macintosh Installer[4038]: Package Authoring Error: <background_scaling> has an unsupported MIME type: X-NSObject/NSNumber
Mar 11 19:20:06 macintosh Installer[4038]: Package Authoring Error: <background_alignment> has an unsupported MIME type: X-NSObject/NSNumber
Mar 11 19:20:06 macintosh Installer[4038]: Package Authoring Error: <layout-direction> has an unsupported MIME type: X-NSObject/NSNumber
Mar 11 19:20:06 macintosh Installer[4038]: Failed to load specified background image
Mar 11 19:20:06 macintosh Installer[4038]: Could not load resource readme: (null)
Mar 11 19:20:06 macintosh Installer[4038]: Could not load resource license: (null)
Mar 11 19:20:12 macintosh installd[797]: PackageKit: ----- Begin install -----
Mar 11 19:20:13 macintosh installd[797]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “MailTrackerBlocker.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/REDACTED/Downloads/MailTrackerBlocker.pkg#Core.pkg, PKInstallPackageIdentifier=com.onefatgiraffe.mailtrackerblocker, NSLocalizedDescription=An error occurred while running scripts from the package “MailTrackerBlocker.pkg”.} {
	    NSFilePath = "./postinstall";
	    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cMailTrackerBlocker.pkg\U201d.";
	    NSURL = "file:///Users/REDACTED/Downloads/MailTrackerBlocker.pkg#Core.pkg";
	    PKInstallPackageIdentifier = "com.onefatgiraffe.mailtrackerblocker";
	}
Mar 11 19:20:14 macintosh Installer[4038]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Mar 11 19:20:14 macintosh Installer[4038]: Displaying 'Install Failed' UI.
Mar 11 19:20:14 macintosh Installer[4038]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

MacBook Air (M1, 2020) OS version 11.2.3 (20D91)

Yikes. When you launch the installer directly, could you open Logs > Show All Logs?

I just ran it again, and this time it worked. The only thing I did differently is this time Mail.app was running when I ran the installer. Last time I deliberately quit Mail.app 'cause I assumed I would need to start it up post-install anyway. Even after the regular package installer succeeded, I tried brew install... too, with Mail.app running, it too succeeded.

I uninstalled it, quit Mail.app, and tried to reproduce my earlier experience, and I couldn't. The package installer installed without issue. And so did brew install.... I don't know what to say. Let me know if you want me to try anything else.

Sorry, I just noticed you pulled the release. Now that I clicked the link from the previous release, the package installer fails again. Here's the output of Show All Logs:
Mar 11 20:41:51 photon Installer[2861]: @(#)PROGRAM:Install  PROJECT:Install-1000
Mar 11 20:41:51 photon Installer[2861]: @(#)PROGRAM:Installer  PROJECT:Installer-1018
Mar 11 20:41:51 photon Installer[2861]: Hardware: MacBookAir10,1 @ 0 MHz (x 8), 16384 MB RAM
Mar 11 20:41:51 photon Installer[2861]: Running OS Build: macOS 11.2.3 (20D91)
Mar 11 20:41:51 photon Installer[2861]: Env: USER=tekknick
Mar 11 20:41:51 photon Installer[2861]: Env: __CFBundleIdentifier=com.apple.installer
Mar 11 20:41:51 photon Installer[2861]: Env: COMMAND_MODE=unix2003
Mar 11 20:41:51 photon Installer[2861]: Env: LOGNAME=tekknick
Mar 11 20:41:51 photon Installer[2861]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
Mar 11 20:41:51 photon Installer[2861]: Env: SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.RqQjXe0qJK/Listeners
Mar 11 20:41:51 photon Installer[2861]: Env: SHELL=/bin/bash
Mar 11 20:41:51 photon Installer[2861]: Env: HOME=/Users/tekknick
Mar 11 20:41:51 photon Installer[2861]: Env: __CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0
Mar 11 20:41:51 photon Installer[2861]: Env: TMPDIR=/var/folders/cr/r1x96nts6hd5zcjqh42w677r0000gp/T/
Mar 11 20:41:51 photon Installer[2861]: Env: XPC_SERVICE_NAME=application.com.apple.installer.1152921500312163448.1152921500312163453
Mar 11 20:41:51 photon Installer[2861]: Env: XPC_FLAGS=0x0
Mar 11 20:41:51 photon Installer[2861]: MailTrackerBlocker  Installation Log
Mar 11 20:41:51 photon Installer[2861]: Opened from: /Users/tekknick/Downloads/MailTrackerBlocker.pkg
Mar 11 20:41:51 photon Installer[2861]: Package Authoring Error: <background_scaling> has an unsupported MIME type: X-NSObject/NSNumber
Mar 11 20:41:51 photon Installer[2861]: Package Authoring Error: <background_alignment> has an unsupported MIME type: X-NSObject/NSNumber
Mar 11 20:41:51 photon Installer[2861]: Package Authoring Error: <layout-direction> has an unsupported MIME type: X-NSObject/NSNumber
Mar 11 20:41:51 photon Installer[2861]: Failed to load specified background image
Mar 11 20:41:51 photon Installer[2861]: Product archive /Users/tekknick/Downloads/MailTrackerBlocker.pkg trustLevel=350
Mar 11 20:41:51 photon Installer[2861]: External component packages (1) trustLevel=350
Mar 11 20:41:51 photon Installer[2861]: Could not load resource readme: (null)
Mar 11 20:41:51 photon Installer[2861]: Could not load resource license: (null)
Mar 11 20:41:54 photon Installer[2861]: ================================================================================
Mar 11 20:41:54 photon Installer[2861]: User picked Standard Install
Mar 11 20:41:54 photon Installer[2861]: Choices selected for installation:
Mar 11 20:41:54 photon Installer[2861]: 	Install: "MailTrackerBlocker"
Mar 11 20:41:54 photon Installer[2861]: 	Install: "(null)"
Mar 11 20:41:54 photon Installer[2861]: 		MailTrackerBlocker.pkg#Core.pkg : com.onefatgiraffe.mailtrackerblocker : 0
Mar 11 20:41:54 photon Installer[2861]: ================================================================================
Mar 11 20:41:54 photon Installer[2861]: It took 0.00 seconds to summarize the package selections.
Mar 11 20:41:54 photon Installer[2861]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Mar 11 20:41:54 photon Installer[2861]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/tekknick/Downloads/MailTrackerBlocker.pkg#Core.pkg
Mar 11 20:41:54 photon Installer[2861]: Set authorization level to root for session
Mar 11 20:41:56 photon Installer[2861]: Administrator authorization granted.
Mar 11 20:41:56 photon Installer[2861]: Set authorization level to root for session
Mar 11 20:41:56 photon Installer[2861]: Will use PK session
Mar 11 20:41:56 photon Installer[2861]: Using authorization level of root for IFPKInstallElement
Mar 11 20:41:56 photon Installer[2861]: Starting installation:
Mar 11 20:41:56 photon Installer[2861]: Configuring volume "Macintosh HD"
Mar 11 20:41:56 photon Installer[2861]: Preparing disk for local booted install.
Mar 11 20:41:56 photon Installer[2861]: Free space on "Macintosh HD": 437.23 GB<PHONE_NUMBER>68 bytes).
Mar 11 20:41:56 photon Installer[2861]: Create temporary directory "/var/folders/cr/r1x96nts6hd5zcjqh42w677r0000gp/T//Install.28615XnrOO"
Mar 11 20:41:56 photon Installer[2861]: IFPKInstallElement (1 packages)
Mar 11 20:41:56 photon Installer[2861]: Current Path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Mar 11 20:41:56 photon installd[1070]: PackageKit: Adding client PKInstallDaemonClient pid=2861, uid=502 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Mar 11 20:41:56 photon Installer[2861]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Mar 11 20:41:56 photon installd[1070]: PackageKit: ----- Begin install -----
Mar 11 20:41:56 photon installd[1070]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
Mar 11 20:41:56 photon installd[1070]: PackageKit: packages=(
	    "<null>"
	)
Mar 11 20:41:56 photon installd[1070]: PackageKit: Set reponsibility for install to 2861
Mar 11 20:41:56 photon installd[1070]: PackageKit: Extracting file:///Users/tekknick/Downloads/MailTrackerBlocker.pkg#Core.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/C0595240-B23E-4C80-A0E8-9FC128526AEC.activeSandbox/Root/private/tmp/MailTrackerBlocker-Installation-Temp, uid=0)
Mar 11 20:41:56 photon installd[1070]: PackageKit: prevent user idle system sleep
Mar 11 20:41:56 photon installd[1070]: PackageKit: suspending backupd
Mar 11 20:41:56 photon installd[1070]: PackageKit (package_script_service): Preparing to execute script "./preinstall" in /private/tmp/PKInstallSandbox.UBOGE2/Scripts/com.onefatgiraffe.mailtrackerblocker.XCh79R
Mar 11 20:41:56 photon package_script_service[1309]: PackageKit: Executing script "preinstall" in /tmp/PKInstallSandbox.UBOGE2/Scripts/com.onefatgiraffe.mailtrackerblocker.XCh79R
Mar 11 20:41:56 photon package_script_service[1309]: Set responsibility to pid: 2861, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Mar 11 20:41:56 photon install_monitor[2866]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Mar 11 20:41:56 photon package_script_service[1309]: ./preinstall: /private/tmp/MailTrackerBlocker-Installation-Temp/running
Mar 11 20:41:56 photon package_script_service[1309]: Responsibility set back to self.
Mar 11 20:41:56 photon installd[1070]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/C0595240-B23E-4C80-A0E8-9FC128526AEC.sandboxTrash for sandbox /Library/InstallerSandboxes/.PKInstallSandboxManager/C0595240-B23E-4C80-A0E8-9FC128526AEC.activeSandbox
Mar 11 20:41:56 photon installd[1070]: PackageKit: Shoving /Library/InstallerSandboxes/.PKInstallSandboxManager/C0595240-B23E-4C80-A0E8-9FC128526AEC.activeSandbox/Root (1 items) to /
Mar 11 20:41:56 photon installd[1070]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.UBOGE2/Scripts/com.onefatgiraffe.mailtrackerblocker.XCh79R
Mar 11 20:41:56 photon package_script_service[1309]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.UBOGE2/Scripts/com.onefatgiraffe.mailtrackerblocker.XCh79R
Mar 11 20:41:56 photon package_script_service[1309]: Set responsibility to pid: 2861, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Mar 11 20:41:56 photon package_script_service[1309]: ./postinstall: [mailtrackerblocker] moving mailbundle to /Library/Mail/Bundles
Mar 11 20:41:56 photon package_script_service[1309]: ./postinstall: [mailtrackerblocker] fixing mailbundle permissions
Mar 11 20:41:56 photon package_script_service[1309]: ./postinstall: [mailtrackerblocker] auto-enabling plugin for tekknick (11.x and up only)
Mar 11 20:41:56 photon package_script_service[1309]: ./postinstall: mkdir: /Users/tekknick/Library/Application Support/Mail/Plug-ins/Bundles/Library/Mail/Bundles: Operation not permitted
Mar 11 20:41:56 photon package_script_service[1309]: Responsibility set back to self.
Mar 11 20:41:56 photon install_monitor[2866]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Mar 11 20:41:57 photon installd[1070]: PackageKit: releasing backupd
Mar 11 20:41:57 photon installd[1070]: PackageKit: allow user idle system sleep
Mar 11 20:41:57 photon installd[1070]: PackageKit: Cleared responsibility for install from 2861.
Mar 11 20:41:57 photon installd[1070]: PackageKit: Cleared permissions on Installer.app
Mar 11 20:41:57 photon installd[1070]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “MailTrackerBlocker.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/tekknick/Downloads/MailTrackerBlocker.pkg#Core.pkg, PKInstallPackageIdentifier=com.onefatgiraffe.mailtrackerblocker, NSLocalizedDescription=An error occurred while running scripts from the package “MailTrackerBlocker.pkg”.} {
	    NSFilePath = "./postinstall";
	    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cMailTrackerBlocker.pkg\U201d.";
	    NSURL = "file:///Users/tekknick/Downloads/MailTrackerBlocker.pkg#Core.pkg";
	    PKInstallPackageIdentifier = "com.onefatgiraffe.mailtrackerblocker";
	}
Mar 11 20:41:57 photon installd[1070]: PackageKit: Running idle tasks
Mar 11 20:41:57 photon Installer[2861]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “MailTrackerBlocker.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/tekknick/Downloads/MailTrackerBlocker.pkg#Core.pkg, PKInstallPackageIdentifier=com.onefatgiraffe.mailtrackerblocker, NSLocalizedDescription=An error occurred while running scripts from the package “MailTrackerBlocker.pkg”.}
Mar 11 20:41:57 photon installd[1070]: PackageKit: Removing client PKInstallDaemonClient pid=2861, uid=502 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Mar 11 20:41:57 photon installd[1070]: PackageKit: Done with sandbox removals
Mar 11 20:41:57 photon Installer[2861]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Mar 11 20:41:57 photon Installer[2861]: IFDInstallController 13ADB40 state = 8
Mar 11 20:41:57 photon Installer[2861]: Displaying 'Install Failed' UI.
Mar 11 20:41:57 photon Installer[2861]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

Thanks for reporting back with the log. I see the issue. Will have to come back to this.

Put this one back in the oven. Should be ready now in 0.3.22


Update test-infra dependency

Update the test-infra dependency in vendor using dep update

/cc adrcunha

/uncc mattmoor

/lgtm
/approve

/retest

/retest won't work. If you check the logs, you'll see that a function is missing.
https://github.com/knative/build-templates/pull/102 must be approved/merged first, or this PR won't pass the presubmit tests.

Let me ping Jason for 102 and then redo it.

On Apr 5, 2019, at 11:29 AM, Adriano Cunha<EMAIL_ADDRESS>wrote:
/retest won't work. If you check the logs, you'll see that a function is missing.
#102 https://github.com/knative/build-templates/pull/102 must be approved/merged first, or this PR won't pass the presubmit tests.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/knative/build-templates/pull/105#issuecomment-480377990, or mute the thread https://github.com/notifications/unsubscribe-auth/AsL15oBznMjXM4eLNXyFbAvYid47cfzHks5vd5YVgaJpZM4cfdLl.

You don't have to redo this PR.

/retest

@nbarthwal please solve the conflicts

/hold

Closed as a new one is sent!


couple of SplashScreen names

parameter names for renderProgressBar

names for these two fields

first contribution to yarn :D

@LoganDark mind update and resolve the comment please?

@YanisBft Sorry, I didn't get notifications for reactions

what's the hold up? like wow


Bug: Issues with Creating and Editing Appendix E data

Context
Need to discuss if this bug needs to be fixed before the May BETA. If this bug must be fixed before the BETA release it must be resolved before the end of 12.4.
Multiple issues are occuring with Appendix E data. See below
Steps to Reproduce
Issue 1: Appendix E data is not saving to the correct test type

Log into ECMPS and navigate to the QA module
Check out a config
Select a any test type that is not appendix e (ex. Rata)
Select Appendix E as a test type
Add test summary data to appendix e

The data is not saved to appendix e but the data is saved to the test type the user first selected. This issue has been happening randomly and cannot always be replicated.
Issue 2: Appendix E Heat input from gas returns false error message about duplicate records

Log into ECMPS and navigate to the QA module
Check out a config
Select Appendix E as a test type
Edit a  Heat input from gas record
Save changes

The system returns an error message about duplicate records but this error message is false.

Bugs fixed


Integration tests can not test assertion behaviors for all of NIO

Pretty much what the title says. The integration tests can only test the crashing-ness (or not) of assertions in a very small subset of NIO's code (and of course the unit tests can't test it at all). This should be fixed and tests added for such methods as EventLoop.preconditionInEventLoop() and friends.
(Filed by request of @weissi and according to remarks in #1508)

Correct. When I first wrote tests_05_assertions I wanted to save compile time in CI by constructing a reduced NIO package (https://github.com/apple/swift-nio/blob/master/IntegrationTests/tests_05_assertions/defines.sh).
That was a bad idea, we should just take the 30 seconds to compile NIO and build a package that can import NIO instead of trying to cherry-pick just the assertions.
This shouldn't be hard at all really, we need to build a SwiftPM package (much like we're doing now) but we should just add
dependencies: [
    .package("../../..")
]

or so to reach swift-nio. If that doesn't work then we can just use swift package edit --path /path/to/NIO swift-nio like we do in the allocation counter tests.


Support double bridging channels in the same room

Some people would like to have #general and #whatever bridged to each other (for some reason), potentially across guilds.
Currently the bridge ignores all discord matrix users, meaning you could set up an announcement-like room to post to multiple channels on discord, however those channels could not be bridged to each other.

Eurgh, we could..but...why not invite them to the channel/guild?

Not sure, although I suspect this isn't a high priority issue.

At the moment there are a number of reasons not to support this (webhooks are more ugly than discord users, discord.com potentially being quite upset at this, handling dupes etc).
I'll keep the issue open so there can be a compelling argument made, but I'm no fan of this.


Keyfields are not ignored when containing string values.

Hello,
I am using this gem to diff csv-files which have string values as keys. Gem includes keyfields in the diff altough defined correctly. This happens only when keyfields contain string values. Gem suggests to update keyfields as an outcome.
Any help?

Hi there,
I'm not really able to understand the issue from your description. Could you provide an example of what you mean?

Sorry about very late response and unclear explanation of the issue. My bug is the same described here in the another issue: https://github.com/agardiner/csv-diff/issues/15.

Hey @ilpoviertola, I closed my issue last week and you referenced this issue in there #15. You may be able to close your issue here now too.


Add default Middlewares

Do you want to request a feature or report a bug?

Feature
What did you expect to see?
It would be nice if Traefik would allow administrators to add "default" middlewares which whould be applied to all routers, which are attached to a specifiy entrypoint. I'm no sure but maybe this is a duplicate of #6441 and #6594 which mentions that Traefik 2.2 added some form of entrypoint defaults, but I haven't found any documentation on how to apply default middlewares for specific entrypoints.
If this is possible, please be a little bit more verbose about it in your documentation.
Example
I want to apply http to https redirection to the http endpoint and gzip compression to http and https entrypoints.
By the way: The documentation was not clear about specification of TLS certificates. The current configuration seems to force the user to duplicate configuration entries:
[tls.stores]
  [tls.stores.default]
    [tls.stores.default.defaultCertificate]
      certFile = "path/to/cert.crt"
      keyFile  = "path/to/cert.key"

and
[[tls.certificates]]
  certFile = "/path/to/domain.cert"
  keyFile = "/path/to/domain.key"
  stores = ["default"]

It absolutly makes no sense to declare a certificate store with keyfile and certFile (and there is only one, why ever) once only to redeclare the same certificate files under [[tls.certificates]] which does not seem to work at all.
It would be good, if the administrator could just provide certificate paths once and refer to them by keys/stores.

Hello,
Take a look to https://docs.traefik.io/v2.2/routing/entrypoints/#middlewares


backup wallet file

According to #10 bug is still present

It was a problem with the old walletbak generator. Now it works properly, problem fixed in the specific file.


Rubocop SVG logo file

Is your feature request related to a problem? Please describe.
I need a pull request with Rubocop SVG logo file for the simple-icons that allows you create beautiful shields likes this:

In this directory you will find a rubocop-dark.svg and rubocop-light.svg:
https://github.com/rubocop-semver/rubocop-ruby2_0/tree/main/docs/images/logo
The sources and licenses of each are documented in the accompanying README.txt in the same directory, and copied here for convenience:
The Rubocop Logo (Light) - rubocop-light.svg
Original PNG Source: rubocop/rubocop https://github.com/rubocop/rubocop/blob/master/logo/rubo-logo-symbol.png?raw=true
Original PNG Author: Copyright (c) 2014 Bozhidar Batsov
Original PNG License: MIT https://github.com/rubocop/rubocop/blob/master/LICENSE.txt
SVG Source: gilbarbara/logos https://github.com/gilbarbara/logos
SVG Author: Gil Barbara https://github.com/gilbarbara
SVG License: CC0 https://raw.githubusercontent.com/gilbarbara/logos/master/LICENSE.txt

The Rubocop Logo (Dark) - rubocop-dark.svg
Original PNG Source: rubocop/rubocop https://github.com/rubocop/rubocop/blob/master/logo/rubo-logo-symbol.png?raw=true
Original PNG Author: Copyright (c) 2014 Bozhidar Batsov
Original PNG License: MIT https://github.com/rubocop/rubocop/blob/master/LICENSE.txt
SVG Source: vscode-icons/vscode-icons https://github.com/vscode-icons/vscode-icons
SVG Author: Roberto Huertas https://github.com/vscode-icons/vscode-icons
SVG License: MIT https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE

Thanks! this solve my problem. I will do a pull request soon in simple-icons. 🙌

CC @bbatsov :)


Error with infer when creating zod wrapper (TS2503: Cannot find namespace)

Hi, am I doing something wrong please? The end goal is to wrap zod so I can swap/adjust validator implementations, decorate with custom logging and other functions or methods, etc. I am new to JS/TS. Thanks in advance!
import { z } from 'zod';

const myZ = z;

const SomeSchema = myZ.strictObject( {
	'type': myZ.union( [
		myZ.literal( 'hello' ),
		myZ.literal( 'world' )
	] )
} ); // <=== works

console.log( SomeSchema ); // <=== works

export type SomeType = myZ.infer<typeof SomeSchema>;  // <=== ERROR TS2503: Cannot find namespace 'myZ'

Here is my tsconfig.json:
{
    "include": ["**/*.ts", "**/*.tsx", "types/"],
    "compilerOptions": {
        "target": "ES6",
        "moduleResolution": "node",
        "strict": true,
        "jsx": "react-jsx",
        "esModuleInterop": true,
        "plugins": [{ "name": "typescript-plugin-css-modules" }]
    }
}

overriding parts of zod with your own implementation is not recommended and will lead to lots of errors.

@JacobWeisenburger Thank you, that is probably true although it would be great if at least a simple wrapper around the z library would work. Let's say a wrapper that does whatever z does but also console.log these calls or something at the same time (just an example). I am used to this design pattern from the more classic OOP languages. I like the idea of having such centralized connection between my and 3rd party code. But like I said, many JS/TS intricacies still escape me, so maybe I am just missing something and it's not hard/impossible to do it?

What would you like to have happen with this issue? are you wanting it to stay open so it may eventually be added to Zod? or are you looking for a work around?

I think I am way in the minority here so unless it's objectively really interesting it can be closed as far as I am concerned. Although not what I envisioned initially, I can always just interface with Zod directly. Workaround would be nice, just so I can learn more about JS/TS but obviously don't want to take too much of anyone's time on such a low issue. Thank you either way @JacobWeisenburger


MSID: 86931 Version: 2 DOI: 10.1101/2<IP_ADDRESS>9382

MSID: 86931
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>9382
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=86931
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>9382

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/86931v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>9382
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/86931/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Waiting for temporal to run for this article

OK to proceed


ParseFile: can't save image. parse server Azure

I'm using the latest Parse SDK, .NET, MongoLab and Azure from parse-server-example repo. when I'm try to uploading image it's shown error:
Unhandled exception has occurred in your application.
If you click Continue, the application will ignore this error and attempt to continue.
If you click Quit, the application will close immediately.

Invalid file upload.

i see same questions in parse-server repo, and it's will fixed in parse-server 2.1.3. when it update, i try to redeploy this example repo in azure, but it's still can't upload a file/image.

Use parse-azure-storage-adapter.
Create blob storage on azure.
Add to package.json this line in dependencies : "parse-server-azure-storage": "0.3.0".
and set configuration adapter below this : https://github.com/felixrieseberg/parse-server-azure-storage.
very easy.


Add Ma'aruf Muhammad to Before I Die

Add images and text to Before I Die

@XanderRubio I have pushed the code

@XanderRubio I have pushed the code

Hey @Rockleemode! I want to thank you for your prompt attention and assistance. Unfortunately, we are facing a dependency issue with the code, and I believe the best course of action is to revert back a few commits on the main branch. After that, we can add the contributors back, which should allow us to merge your pull request. If we don't address this issue now, it could become more complicated to solve later. I want to keep you updated on the progress, and I will let you know if we need another pull request. I have already reverted the main branch to a working version that should deploy fine. Thank you for your understanding and patience.

@XanderRubio okay thank you, so I will need to clone the repo again for the stable version when you're done right?

@XanderRubio okay thank you, so I will need to clone the repo again for the stable version when you're done right?

Hi @Rockleemode at the moment I created the stable version on another branch and attempted to merge onto the main and I'm still getting an error when deploying because of dependencies.  I want to see if your getting the same error as me with dependencies. Thanks @Rockleemode

@XanderRubio thank you very much for the opportunity, and sorry for the late respond i've been quite busy👍

@XanderRubio thank you very much for the opportunity, and sorry for the late respond i've been quite busy👍

Excellent @Rockleemode and my pleasure!


Listener can not created

Empire Version
2.0
OS Information (Linux flavor, Python version)
Kali Linux - Python 2.7
Screenshot of error, embedded text output, or Pastebin link to the error

It would be greate if any one share the steps to create listener in 2.0 version  . or  guide to get start with 2.0 step by step.
Regards
Any additional information

try this
uselistener http

well does it have only http for listener nothing else? how do  I check for other listener module?
Regards

just press [TAB] after uselistener to see all the listeners.

@ThePirateWhoSmellsOfSunflowers   thanks.
listeners
uselistener
available listener modules are
dbx           http_com      http_hop
http          http_foreign  meterpreter


Blacklist dimensions enchantment

can you implement a blacklist for dimensions.
that way it is much easier to only blacklist the nether while all other is allowed ;-)
which will be a great and easier way to handle the dimension id list

There already is one. Under "WorldGen", search for "YelloriteDimensionBlacklist".


Model labels not working

Using the label fields $modelLabel and $pluralModelLabel is not working, the title of the modal is being made of the class name, after doing some research it looks like there is a conflict with the InteractsWithRecords trait

This is my solution right now:
class CalendarWidget extends FullCalendarWidget
protected function headerActions(): array
{
    return [
        CreateAction::make()
            ->modalHeading('Custom Heading')
            ->mountUsing(
                function (Form $form, array $arguments) {
                    $form->fill([
                        'start' => $arguments['start'] ?? null,
                        'end' => $arguments['end'] ?? null
                    ]);
                }
            )
    ];
}

protected function modalActions(): array
{
    return [
        Actions\EditAction::make()
            ->modalHeading('Custom Heading for Edit'),
        Actions\DeleteAction::make()
            ->modalHeading('Custom Heading for Delete'),
    ];
}