External KMS doesn't work with streaming

I'm trying to encrypt and decrypt files using the TINK streaming mechanism with an external KMS integration. When I perform encryption and decryption in a single run, everything works fine. However, when I encrypt in the first run, save the encrypted file, and try to decrypt it in another run, I encounter a 'no matching key found for the ciphertext in the stream' error.
Expected behavior: The file should be decryptable in another run with the same KMS integration.
Tink version: v2.0.0
Operating System: Windows
Go version: 1.21.1
Additional information: The same behavior also occurs when using HashiCorp Vault as a KMS.
package main

import (
	"bytes"
	"fmt"
	"github.com/tink-crypto/tink-go/v2/keyset"
	"github.com/tink-crypto/tink-go/v2/streamingaead"
	"github.com/tink-crypto/tink-go/v2/testing/fakekms"
	"github.com/tink-crypto/tink-go/v2/tink"
	"time"

	"io"
	"log"
	"os"
)

func main() {

	keyUri := "fake-kms://CM2b3_MDElQKSAowdHlwZS5nb29nbGVhcGlzLmNvbS9nb29nbGUuY3J5cHRvLnRpbmsuQWVzR2NtS2V5EhIaEIK75t5L-adlUwVhWvRuWUwYARABGM2b3_MDIAE"

	kmsClient, err := fakekms.NewClient(keyUri)
	if err != nil {
		log.Fatal(err)
	}
	kekAEAD, err := kmsClient.GetAEAD(keyUri)

	if err != nil {
		log.Fatal(err)
	}

	newHandle, err := keyset.NewHandle(streamingaead.AES256GCMHKDF1MBKeyTemplate())
	if err != nil {
		log.Fatal(err)
	}

	keysetAssociatedData := []byte("keyset encryption example")

	buf := new(bytes.Buffer)
	writer := keyset.NewBinaryWriter(buf)
	err = newHandle.WriteWithAssociatedData(writer, kekAEAD, keysetAssociatedData)
	if err != nil {
		log.Fatal(err)
	}
	encryptedKeyset := buf.Bytes()

	reader := keyset.NewBinaryReader(bytes.NewReader(encryptedKeyset))
	handle, err := keyset.ReadWithAssociatedData(reader, kekAEAD, keysetAssociatedData)
	if err != nil {
		log.Fatal(err)
	}

	streamingAEAD, err := streamingaead.New(handle)
	if err != nil {
		log.Fatal(err)
	}

	fileForEncryptionResult := "C:\\temp\\encryptionOutput7.txt"
	fileForEncryption := "C:\\temp\\Application architecture.pptx"
	fileForDecryptionResult := "c:\\temp\\f_result.pptx"

	startEncTime := time.Now()

	EncryptFile(streamingAEAD, fileForEncryption, fileForEncryptionResult, keysetAssociatedData)

	endEncTime := time.Now()

	DecryptFile(streamingAEAD, fileForEncryptionResult, fileForDecryptionResult, keysetAssociatedData)

	endDecTime := time.Now()

	fmt.Printf("***********   \nEncryption took %s to execute\nDecryption took %s to execute\n ", endEncTime.Sub(startEncTime), endDecTime.Sub(endEncTime))

}

func EncryptFile(streamingAEAD tink.StreamingAEAD, inputFileName string, outputFileName string, associatedData []byte) error {
	inputFile, err := os.Open(inputFileName)
	if err != nil {
		return err
	}
	defer inputFile.Close()

	outputFile, err := os.Create(outputFileName)
	if err != nil {
		return err
	}
	defer outputFile.Close()

	w, err := streamingAEAD.NewEncryptingWriter(outputFile, associatedData)
	if err != nil {
		log.Fatal(err)
	}
	if _, err := io.Copy(w, inputFile); err != nil {
		log.Fatal(err)
	}
	if err := w.Close(); err != nil {
		log.Fatal(err)
	}
	if err := outputFile.Close(); err != nil {
		log.Fatal(err)
	}
	if err := inputFile.Close(); err != nil {
		log.Fatal(err)
	}

	return nil
}

func DecryptFile(streamingAEAD tink.StreamingAEAD, ciphertextPath string, decryptedPath string, associatedData []byte) error {

	ciphertextFile, err := os.Open(ciphertextPath)
	if err != nil {
		log.Fatal(err)
	}
	decryptedFile, err := os.Create(decryptedPath)
	if err != nil {
		log.Fatal(err)
	}
	r, err := streamingAEAD.NewDecryptingReader(ciphertextFile, associatedData)
	if err != nil {
		log.Fatal(err)
	}
	if _, err := io.Copy(decryptedFile, r); err != nil {
		log.Fatal(err)
	}
	if err := decryptedFile.Close(); err != nil {
		log.Fatal(err)
	}
	if err := ciphertextFile.Close(); err != nil {
		log.Fatal(err)
	}
	return nil

}

It looks like your example is based on https://developers.google.com/tink/generate-encrypted-keyset#go.
A crucial comment from the example is:
// The encrypted keyset can now be stored.

To further explain, every time you run the example code a fresh StreamingAEAD keyset is generated by:
newHandle, err := keyset.NewHandle(streamingaead.AES256GCMHKDF1MBKeyTemplate())

If you want to be able to decrypt your ciphertext in a subsequent execution, you must store the contents of encryptedKeyset (e.g. into a file). Then, when attempting to decrypt, instead generating a new keyset, you read in the ecrypted keyset from wherever stored it. Then you continue as before (decrypt the keyset using the KMS, create the primitive, decrypt the ciphertext).

Judging from your code example, I believe the guidance above should address your concern. Feel free to reopen this issue if it doesn't or if you have any follow up questions.

Thank you @chuckx  for your explanation! I'd like to clarify my goals and concerns. Based on your response, it appears that I have two options:
Storing the encryption key on the machine that performs encryption/decryption.
Utilizing an external Key Management Service (KMS) like Vault. I'd prefer not to store the encryption key on the machine responsible for encryption/decryption.
I'm hesitant about the first option since storing sensitive data on the local machine isn't secure, and keeping it in memory isn't a reliable solution.
The second option seems more suitable, but it requires me to manage the encryption key myself using an external KMS, which means I still need to store it in the KMS.
My objective is to delegate all security-related tasks to KMS and Tink. However, it seems that if I want to implement key rotation, I would need to do that myself.
My question is, is there an option to achieve what I want, where sensitive data is stored in a KMS, and I don't have to write the code for managing the storage and retrieval of encryption keys?

@chuckx I believe that the feature I am referring to is described in the following GitHub issue: https://github.com/google/tink/issues/527
I'm curious to know if there are any plans or intentions to implement this feature in the near future?

A few things to note:

KMSEnvelopeAEAD is a convenience type which makes it easier to to perform DEK (data encryption keyset) key wrapping with an external KMS, but it forfeits flexibility. In particular, every cryptographic operation requires a remote KMS call as each ciphertext has a unique, single-use DEK. This can introduce cost concerns when using a cloud KMS with per-call pricing, as well as potential reliability concerns due to latency, server load (frequency/size of requests), etc.
More importantly, in envelope encryption the DEK is literally bundled with the ciphertext. Each ciphertext produced is prefixed with the encrypted DEK. See the wire format documentation for envelope encryption for details.
As mentioned in the old issue you found, we have no plans to implement envelope encryption with streaming AEAD. KMS interactions are best suited for small payloads, such as key wrapping. This is counter to one of the main purposes behind streaming AEAD, which is handling large inputs. Echoing the concerns mentioned above, encrypting large amounts of data via a KMS introduces a new scaling concern around bandwidth usage and exacerbates concerns with server load.

One thing to reconsider is your stance on storing encrypted keysets. If you were to utilize envelope encryption, you would be committing to colocating encrypted keysets with ciphertexts. In general, we do not consider this a security issue given the security properties of the encrypted keyset (i.e. the key material is only accessible via a KMS decrypt call). However, it would obviously be a problem if the DEK was stored in an unencrypted manner.
Using the encrypted keyset approach is functionally equivalent to envelope encryption, except that it provides you more flexibility with how you want to use and store DEKs. This is more responsibility than the envelope encryption approach, but it better positions you to control how you scale in the future versus locking yourself into a configuration which limits your options.


Isolate tag errors, Support "Daily" Keyword

Added a try/catch on resizeTime function so that the entire process doesn't bomb out if a given resource is incorrectly tag. This seems to pan out in my integration testing through having a resource tagged something like 'resize-StartTime = ABC'. Prior to this change having one resource incorrectly tagged appeared to result in an uncaught exception which would globally prevent any scaling operations.
Separately, added support for "Daily" keyword to allow for scale up/down to occur each day rather than just calendar days weekly. Provided a documentation update to support this keyword.
I am looking into spinning up some unit tests for the engine code but will do so in a separate branch to limit scope. I believe the date parsing logic would be much more approachable if there were a few defined test cases, and this should help with any future rework of schedule management.

You can recreate the tag isolation scenario by tagging something as below:

Expected behavior is that all scale up/down operations are blocked until the tagging issue is resolved. This change processes handles this scenario more gracefully.

I like this a lot @droessmj! Let me parse through this and run some tests, but I welcome this to be included in Bellhop. We'll also need to make sure the docs are updated accordingly, but I can help work on that after testing this out a bit further.

Sure - I'm not afraid of updating the docs myself if pointed in the right direction. I've been on the other side of projects where docs were a second class citizen, and it didn't bode well long term.

Exactly @droessmj, we want to make sure docs are front seat so anyone can pickup Bellhop & roll. We can talk more on our sync call next week, but really appreciate all of the efforts here.

The ability to use the 'Daily' keyword, as well as better error handling have been resolved by #63. Thank you so much for the wonderful inspiration @droessmj!


[5.4] Update Seeder.php to provide output similar to migrations.

Updated the console messages so they are consistent with the migration messages showing before and then after a migration.

Let's not get carried away with this. I don't want to flood the framework with so much output at the moment.


Replaced all old style imports to ES6

I changed all AMD and CommonJS imports to ES6 style. This paves switching from amd style modules to ES6 in the future.
All files in src/vs/**/*.ts and extensions/**/*.ts are searched and replaced. JavaScript output is almost identical.
import x = require('module') => import x from 'module'

Hi @malekpour, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@malekpour, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

We've discussed this in the team and decided to close it since we don't have guidelines for import statements so each developer has his style of importing and this might force an unwanted style somewhere since the PR touches a lot of different code areas.

Although the `srccode

Although the src structure is very well maintained, imports has been messed up. Currently the code locked to amd, but I was able to build the whole project using es2015 module kind using this PR.
We all know that amd was a hack like temporary solution and will be deprecated.
Regardless of what happens to this PR, having a guideline for imports as really important.

...Currently the code locked to amd

Since the code is all in TS we can easily switch to another module system and we have done this in the past.

I found so many useful vscode base and common classes to use in my projects.
Tried to compile using ES6 module type (to provide to webpack & babel). Here is what TS complains about require style module imports (thousands of lines).
error TS1202: Import assignment cannot be used when targeting ECMAScript 6 modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.
PR compiles with no issues to any TS module type and the most important thing is that when module type is amd output is %100 identical.

Tried to compile using ES6 module type

I'm really sorry but this is not a scenario that is currently high on our backlog. We will not get to investigate into using ES6 module types in the next couple of iterations.


swapBuffers.inf : error

已启动重新生成…
1>------ 已启动全部重新生成: 项目: swapBuffers, 配置: Debug Win32 ------
1>Building 'swapBuffers' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
1>Stamping Debug\swapBuffers.inf
1>Stamping [Version] section with DriverVer=02/22/2023,<IP_ADDRESS>4
1>D:\code\microsoft\Windows-driver-samples\filesys\miniFilter\swapBuffers\swapBuffers.inf : error 1420: [DefaultInstall]-based INF cannot be processed as Primitive.
1>D:\code\microsoft\Windows-driver-samples\filesys\miniFilter\swapBuffers\swapBuffers.inf(8-8): warning 1324: [Version] section should specify PnpLockdown=1 to prevent external apps from modifying installed driver files.
1>D:\code\microsoft\Windows-driver-samples\filesys\miniFilter\swapBuffers\swapBuffers.inf(25-25): error 1421: Section [DefaultInstall] should have an architecture decoration.
1>D:\code\microsoft\Windows-driver-samples\filesys\miniFilter\swapBuffers\swapBuffers.inf(36-36): error 1421: Section [DefaultUninstall] should have an architecture decoration.
1>D:\code\microsoft\Windows-driver-samples\filesys\miniFilter\swapBuffers\swapBuffers.inf(72-72): warning 1205: Section [MiniFilter.DriverFiles] referenced from DelFiles and CopyFiles directive.
1>已完成生成项目“swapBuffers.vcxproj”的操作 - 失败。
========== 全部重新生成: 成功 0 个，失败 1 个，跳过 0 个 ==========

Thank you for the report. These are known issues that should not appear if you build the sample with the Build-Sample.ps1 script at the root of the repo.


docker image doesn't have salmon

Tried running prokseq via docker, most recent version of docker and MacOS. Salmon isn't found?
ran:
docker run -it snandids/prokseq-v2.0:latest
python scripts/prokseq.py -s samples.bowtie.PEsample -p param.bowtie.yaml -n 8
got:
Checking required tools or packages:
   samtools : Found
     salmon : Not found
     fastqc : Found
     bowtie : Found
    afterqc : Found
  readFasta : Found
          R : Found
    GnBdCov : Found
    FeatCnt : Found

Checking R packages:
DESeq2 : TRUE
ggplot2 : TRUE
edgeR : TRUE
NOISeq : TRUE
limma : TRUE
clusterProfiler : TRUE
apeglm : TRUE
RUVSeq : TRUE
RColorBrewer : TRUE
SALMON:
salmon IS NOT FOUND!
Done with package checks. Seems all the required packages are available.

Hi,
If you are not intended to run SALMON, I think you can still run the
pipeline. Please let me know if you end up with any further trouble.
On Wed, May 11, 2022 at 10:28 AM liamelbourne @.***>
wrote:

Tried running prokseq via docker, most recent version of docker and MacOS.
Salmon isn't found?
ran:
docker run -it snandids/prokseq-v2.0:latest
python scripts/prokseq.py -s samples.bowtie.PEsample -p param.bowtie.yaml
-n 8
got:
Checking required tools or packages:
samtools : Found
salmon : Not found
fastqc : Found
bowtie : Found
afterqc : Found
readFasta : Found
R : Found
GnBdCov : Found
FeatCnt : Found
Checking R packages:
DESeq2 : TRUE
ggplot2 : TRUE
edgeR : TRUE
NOISeq : TRUE
limma : TRUE
clusterProfiler : TRUE
apeglm : TRUE
RUVSeq : TRUE
RColorBrewer : TRUE
SALMON:
salmon IS NOT FOUND!
Done with package checks. Seems all the required packages are available.
—
Reply to this email directly, view it on GitHub
https://github.com/snandiDS/prokseq-v2.0/issues/10, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANP7PT2662M367GV5QZTLT3VJM45RANCNFSM5VTT3M6Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I would really like to run salmon, can I just install independently with conda?

Sent from my Aardvark
______\\:-

On 11 May 2022, at 18:56, s.nandi @.***> wrote:

Hi,
If you are not intended to run SALMON, I think you can still run the
pipeline. Please let me know if you end up with any further trouble.
On Wed, May 11, 2022 at 10:28 AM liamelbourne @.***>
wrote:

Tried running prokseq via docker, most recent version of docker and MacOS.
Salmon isn't found?
ran:
docker run -it snandids/prokseq-v2.0:latest
python scripts/prokseq.py -s samples.bowtie.PEsample -p param.bowtie.yaml
-n 8
got:
Checking required tools or packages:
samtools : Found
salmon : Not found
fastqc : Found
bowtie : Found
afterqc : Found
readFasta : Found
R : Found
GnBdCov : Found
FeatCnt : Found
Checking R packages:
DESeq2 : TRUE
ggplot2 : TRUE
edgeR : TRUE
NOISeq : TRUE
limma : TRUE
clusterProfiler : TRUE
apeglm : TRUE
RUVSeq : TRUE
RColorBrewer : TRUE
SALMON:
salmon IS NOT FOUND!
Done with package checks. Seems all the required packages are available.
—
Reply to this email directly, view it on GitHub
https://github.com/snandiDS/prokseq-v2.0/issues/10, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANP7PT2662M367GV5QZTLT3VJM45RANCNFSM5VTT3M6Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Salmon is bundled up with the ProkSeq in Docker. You can run Salmon with
the sample files in Docker.
Command to run salmon is:
python scripts/prokseq.py -s samples.salmon.SEsample -p param.salmon.yaml
-n 4
The param.salmon.yaml needs to be modified as follows. (I realize the
entries in the file are pointing to the wrong path. Please update the file
with the following paths.)
Specify the path to samtools
PATH SAMTOOLS : /root/prokseq/depend/samtools/bin
Specify the root path. That means where the ProkSeq bundle is
unpacked.
The location should have the following folders
1. depend - contains all the binaries of the external packages
2. scripts - contains all the modules required for ProkSeq, and
pipeline-vx.x.sh
3. data - Contains Gene ontology files for pathway analysis.
PATH ROOT : /root/prokseq
If the above environment (depend, scripts, data) is true, the
following
line maye uncommented.
#PATH DEFAULT : "TRUE"
Specify the path to geneBody_coverage
PATH geneBody_coverage : /root/prokseq/depend/RSeQC-2.6.2/scripts/
Specify the path to FEATURECOUNTS
PATH FEATURECOUNTS : /root/prokseq/depend/subread-1.4.6-p5-Linux-i386/bin/
Specify the path to fastqc
PATH FASTQC : /root/prokseq/depend/FastQC
Specify the path to bowtie
PATH BOWTIE : /root/prokseq/depend/bowtie2/bowtie2-<IP_ADDRESS>-linux-x86_64
Specify the path to salmon if salmon is required
PATH SALMON : /root/prokseq/depend/salmon-latest_linux_x86_64/bin
Specify the path to pypy required for running afterqc
PATH PYPY : /root/prokseq/depend/pypy2.7-v7.2.0-linux64/bin
Specify the path to readfasta
PATH READFASTA : /root/prokseq/depend

End of file "param.input"

I hope this works.
On Wed, May 11, 2022 at 2:44 PM liamelbourne @.***>
wrote:

I would really like to run salmon, can I just install independently with
conda?

Sent from my Aardvark
______\\:-

On 11 May 2022, at 18:56, s.nandi @.***> wrote:

Hi,
If you are not intended to run SALMON, I think you can still run the
pipeline. Please let me know if you end up with any further trouble.
On Wed, May 11, 2022 at 10:28 AM liamelbourne @.***>
wrote:

Tried running prokseq via docker, most recent version of docker and
MacOS.
Salmon isn't found?
ran:
docker run -it snandids/prokseq-v2.0:latest
python scripts/prokseq.py -s samples.bowtie.PEsample -p
param.bowtie.yaml
-n 8
got:
Checking required tools or packages:
samtools : Found
salmon : Not found
fastqc : Found
bowtie : Found
afterqc : Found
readFasta : Found
R : Found
GnBdCov : Found
FeatCnt : Found
Checking R packages:
DESeq2 : TRUE
ggplot2 : TRUE
edgeR : TRUE
NOISeq : TRUE
limma : TRUE
clusterProfiler : TRUE
apeglm : TRUE
RUVSeq : TRUE
RColorBrewer : TRUE
SALMON:
salmon IS NOT FOUND!
Done with package checks. Seems all the required packages are
available.
—
Reply to this email directly, view it on GitHub
https://github.com/snandiDS/prokseq-v2.0/issues/10, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ANP7PT2662M367GV5QZTLT3VJM45RANCNFSM5VTT3M6Q

.
You are receiving this because you are subscribed to this
thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

—
Reply to this email directly, view it on GitHub
https://github.com/snandiDS/prokseq-v2.0/issues/10#issuecomment-1123409134,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANP7PT4FYLHPOT675FDU3STVJN26PANCNFSM5VTT3M6Q
.
You are receiving this because you commented.Message ID:
@.***>

Could we please get 'param.salmon.yaml' updated with the correct paths pushed to GitHub and the associated Docker image?


Lyrics implementation prototype

Added retrieveAndInjectLyricsToTracks function to inject lyrics to tracks. Used in retrieveAlbumTracks, retrievePlaylistTracks and retrieveAllTracks.
Added Lyrics button in Player modal
Added Lyrics modal
Added LyricsRenderer component
Added Lyrics localization key(English only)
Added HasLyrics and  Lyrics field to AlbumTrack interface
Added hasLyrics and lyrics field to return value of generateTrack
Added lyrics.svg to /assets/icons/
Added lyricsMillisecondsFormat to format lyrics timestamp

Added //TODO comments to for changes where I was not sure if implementation is acceptable
Accidentally pushed with iOS project.pbxproj changes sorry
 Screenshot from build

Hey @akrv7591, thanks for the help, I've made quite some changes but I've just merged everything in. I'll try and release a beta on TestFlight as soon as I can.

I'm curious to get your input!

Hey, that's interesting. The error you're seeing is probably caused by something else failing. Are there any other errors displayed in either this screen or the React Native console?

I am getting reanimated warning in first screen and 3rd screen is same

Given below is error from console
`This error is located at:
in NowPlaying (created by Lyrics)
in BlurView
in Unknown (created by ColoredBlurView)
in ColoredBlurView (created by Lyrics)
in RCTView (created by View)
in View (created by GestureHandlerRootView)
in GestureHandlerRootView (created by Lyrics)
in Lyrics (created by SceneView)
in StaticContainer
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by SceneView)
in RCTView (created by View)
in View (created by DebugContainer)
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer (created by DebugContainer)
in DebugContainer (created by MaybeNestedStack)
in MaybeNestedStack (created by SceneView)
in RCTView (created by View)
in View (created by SceneView)
in RNSModalScreen (created by Animated(Anonymous))
in Animated(Anonymous)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze
in InnerScreen (created by Screen)
in Screen (created by SceneView)
in SceneView (created by NativeStackViewInner)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze (created by ScreenStack)
in RNSScreenStack (created by ScreenStack)
in ScreenStack (created by NativeStackViewInner)
in NativeStackViewInner (created by NativeStackView)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by SafeAreaProviderCompat)
in SafeAreaProviderCompat (created by NativeStackView)
in NativeStackView (created by NativeStackNavigator)
in PreventRemoveProvider (created by NavigationContent)
in NavigationContent
in Unknown (created by NativeStackNavigator)
in NativeStackNavigator (created by Routes)
in Routes (created by App)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by ThemedNavigationContainer)
in ThemedNavigationContainer (created by App)
in ColorSchemeProvider (created by App)
in PersistGate (created by App)
in Provider (created by App)
in App
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in Fintunes(RootComponent), js engine: hermes
ERROR  Error: Couldn't find the bottom tab bar height. Are you inside a screen in Bottom Tab Navigator?
This error is located at:
in NowPlaying (created by Lyrics)
in BlurView
in Unknown (created by ColoredBlurView)
in ColoredBlurView (created by Lyrics)
in RCTView (created by View)
in View (created by GestureHandlerRootView)
in GestureHandlerRootView (created by Lyrics)
in Lyrics (created by SceneView)
in StaticContainer
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by SceneView)
in RCTView (created by View)
in View (created by DebugContainer)
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer (created by DebugContainer)
in DebugContainer (created by MaybeNestedStack)
in MaybeNestedStack (created by SceneView)
in RCTView (created by View)
in View (created by SceneView)
in RNSModalScreen (created by Animated(Anonymous))
in Animated(Anonymous)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze
in InnerScreen (created by Screen)
in Screen (created by SceneView)
in SceneView (created by NativeStackViewInner)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze (created by ScreenStack)
in RNSScreenStack (created by ScreenStack)
in ScreenStack (created by NativeStackViewInner)
in NativeStackViewInner (created by NativeStackView)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by SafeAreaProviderCompat)
in SafeAreaProviderCompat (created by NativeStackView)
in NativeStackView (created by NativeStackNavigator)
in PreventRemoveProvider (created by NavigationContent)
in NavigationContent
in Unknown (created by NativeStackNavigator)
in NativeStackNavigator (created by Routes)
in Routes (created by App)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by ThemedNavigationContainer)
in ThemedNavigationContainer (created by App)
in ColorSchemeProvider (created by App)
in PersistGate (created by App)
in Provider (created by App)
in App
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in Fintunes(RootComponent)`

And when I tried to install pd with pod install I  got and removed Podfile.lock and Pods folder then it worked fine. I am not sure if it is causing error

This might have something to do with it. Can you do the following and check if that works?

Ensure you're on the latest main commit
Remove the ios/Pods directory
Run pod install

If you get any errors there, please post them.

I think error is caused by useBottomTabBarHeight hook inside NowPlaying component because when you click lyrics preview container you are going to Lyrics screen and Lyrics screen is not in Tab Navigator

Yeah, you're completely right. I commented out that specific line during development and forgot about it later. I'm committing a more permanent fix for this to main right now. Thanks for catching this!

Great 👍


test_serde_custom_tikv_config is not working as intended when there are skipped serializations

In test_serde_custom_tikv_config, we serialize the config and deserialize again to check whether nor not they are equal, which is fine in most cases but will cause problems when there are serialization-skipped fields, for example, the deprecated end_point_concurrency. To workaround it, we have to set end_point_concurrency to the default value, but in this case we will miss the test of deserialization config different to default one.

Sounds like this one, does #[serde(skip_serializing)] help?
https://github.com/pingcap/tikv/blob/133d34e3c0e6ed405c731d1cbf7ffea750aed369/src/raftstore/store/config.rs#L113

@overvenus No, in fact skip_serializing is the root cause of this issue.
For example, suppose we have a struct contains field foo and bar, in which foo is skip_serializing: { foo: "a", bar: "b" } and the default value is { foo: "default_a", bar: "default_b" }.
When we serialize { foo: "a", bar: "b" } and deserialize again, we will get { foo: "default_a", bar: "b" } thus the test is broken.


Fade colors and cover art on song change

It would be great if the visualizer can change the colors and coverart smoothly.
I hope this can be made possible in some way.

My visualizer use to change bar colour before to the colour of the cover art, and it has stopped working for a while now. Added to that the settings bars dont work when moved.

@yannick9906 The reason you see the white monstercat logo in between songs is because that is the album art that is used while the new album art is being downloaded from spotify.
If you would prefer that not to happen change in your rainmeter skins folder go to
<EMAIL_ADDRESS>find<EMAIL_ADDRESS>which should be on line 33 and delete it.
@MicroKiller1 While the one issue is unrelated to this issue both those issues sounds like you did not install the plugins with the skin. Make sure to download the latest rmskin file which is currently https://github.com/MarcoPixel/Monstercat-Visualizer/releases/download/1.7.1/Monstercat.Visualizer.for.Rainmeter_1.7.1.rmskin and run rmskin installer.

As for the feature request doing animations in Rainmeter is not particularly easy and is CPU intensive. While @MarcoPixel gets the final say here I will say for such a minor improvement I don't think it is worth it.

I would love to implement color fading, but that needs to be tested first if it is working properly and if it is too CPU intensive.
I'm gonna look into it in the next few days if it is possible without major issues and limitations.
Sent from my Sony F8331 using FastHub

@MarcoPixel Maybe take a look at this one: https://forum.rainmeter.net/viewtopic.php?f=99&t=11135


IPv6 Neighbor Discovery doesn't work between hosts in overlay

IPv6 connectivity doesn’t seem to work between containers on different hosts in an overlay network. (I.e., currently in Docker 1.11.1 it seems to work only between containers on the same host, while IPv4 connectivity works also across hosts.)
Apparently the problem is that neighbor entries (within an overlay's namespace in each host) to containers on other hosts are created only for IPv4 addresses, but not for IPv6 addresses. Thus ARP works and returns addresses of containers on other hosts, but Neighbor Discovery doesn't.
Here's a simple example, where pinging a container on "host1" from another container on "host2" over IPv6 in a Swarm cluster fails, but works between containers within "host1" (DOCKER_HOST has been set to point to a Swarm manager in this example):
$ docker --version
Docker version 1.11.1, build 5604cbe

$ docker run -it --rm swarm --version
swarm version 1.2.2 (34e3da3)

$ docker network create -d overlay --ipv6 --subnet=fd55:1e00:1634::/48 testipv6
e9ce61af8639f59af0919c1e5d85fad02036139d8d870d616e5a007a61d9c177

$ docker run -d --net=testipv6 --ip6="fd55:1e00:1634::11" -e "constraint:node==host1" alpine tail -f /dev/null
12cd2b1cb1afee6dd7cea7cb1ecd4609188d5fcd4aa64c09bdbfa7a67236d637

$ docker run -it --rm --net=testipv6 -e "constraint:node==host2" alpine ping6 fd55:1e00:1634::11
PING fd55:1e00:1634::11 (fd55:1e00:1634::11): 56 data bytes
^C
--- fd55:1e00:1634::11 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss

$ docker run -it --rm --net=testipv6 -e "constraint:node==host1" alpine ping6 fd55:1e00:1634::11
PING fd55:1e00:1634::11 (fd55:1e00:1634::11): 56 data bytes
64 bytes from fd55:1e00:1634::11: seq=0 ttl=64 time=0.166 ms
64 bytes from fd55:1e00:1634::11: seq=1 ttl=64 time=0.095 ms
^C
--- fd55:1e00:1634::11 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.095/0.130/0.166 ms

If the IPv6 addresses and corresponding MAC addresses of containers in other hosts are added as neighbors into the overlay’s namespace in each host, neighbor discovery and IPv6 connectivity across hosts start working. Example of a manual workaround: sudo sh -c 'mkdir -p /var/run/netns; ln -s /var/run/docker/netns/1-e9ce61af86 /var/run/netns/; sudo ip netns exec 1-e9ce61af86 ip neigh add fd55:1e00:1634::2 lladdr 02:42:0a:00:02:03 nud permanent dev vxlan1'.

@srcman Currently we don't support IPv6 over vxlan. The control plane exchange between the nodes doesn't carry IPv6 address. Hence the neighbor entry doesn't get populated.

Is there any plan to support IPv6 connectivity over vxlan overlay network ?

Hi @sanimej has there been progress towards supporting ipv6 vxlan in docker 1.13?

@srcman It has been detected that this issue has not received any activity in over 6 months. Can you please let us know if it is still relevant:

For a bug: do you still experience the issue with the latest version?
For a feature request: was your request appropriately answered in a later version?

Thank you!
This issue will be automatically closed in 1 week unless it is commented on.
For more information please refer to https://github.com/docker/libnetwork/issues/1926

This is a pretty basic thing right? Did anyone working on docker make ipv6 work in swarm? Is there any reason to assume it's fixed?

I still see exactly the same behavior as before with Docker 17.06.1-ce (and Swarm standalone 1.2.8). I.e., IPv6 doesn't work between hosts in an overlay network. I'd consider that a bug, and it seems that it hasn't been fixed yet.


No support material transparent

MapNode.ts， loadData function,
this.material.map = texture;
Adding the following code will trigger a bug
this.material.transparent = true;
After zooming out, the map will become invisible, and even after zooming in, it will become invisible。

Additionally, if there are two layers, one is the image layer and the other is the annotation layer, how can these two layers be stacked together?
Thanks

Hello
This problems seems to be related with your camera frustum.
Please take a look at<EMAIL_ADDRESS>

Thank you for your reply. I tested it on your example(https://tentone.github.io/geo-three/examples/providers.html). I only modified the source code MapNode.ts (loadData function add this.material.transparent = true;), nothing else changed. In theory, when zoomed in again, the camera's far and near cropping planes remain unchanged. You can test it. Thank you.

Hello, I also encountered the same problem. Has it been resolved?
super(parentNode, mapView, location, level, x, y, MapPlaneNode.geometry, new MeshBasicMaterial({ transparent: true }))

It feels like modifiy isMesh is affect transparent

@msdog I think I just figured out workaround for that! Enable cacheTiles for MapView and seems that it prevents tiles from disappering.
Maybe otherwise it disposes main material somehow 🤷♂


Azure Monitor OpenTelemetry Exporter for JavaScript (July 2021-March 2022)

This epic tracks the work required by the Azure SDK team to support the OpenTelemetry 1.0/stable release in JavaScript

[x] Update @azure/core-tracing to the latest OpenTelemetry 1.0/stable release (current: 1.0.0-rc0)

[x] Update all SDK packages to reference @opentelemetry/api stable.

[ ] Investigate if a plain text logger exists for JavaScript for OpenTelemetry (might have a different name than the one in .net)
[ ] Test for OpenTelemetry breaking changes by collecting plain text and Jaeger traces for REST based SDKs (ex: Storage)

[ ] File Azure SDK tracking issues & fix bugs to become complaint with the latest OpenTelemetry specification

[ ] Test for OpenTelemetry breaking changes by collecting plain text and Jaeger traces for AMQP based SDKs (ex: Service Bus)

[ ] File Azure SDK tracking issues & fix bugs to become complaint with the latest OpenTelemetry specification

[ ] Collect portal snapshots for REST and AMQP based SDKs and compare results against Jaeger

[ ] File Azure Monitor tracking issues on traces that are not exported / displayed correctly

Closing /cc @joshfree

Going to close this in favor of https://github.com/Azure/azure-sdk/issues/3202 as per the already closed parent epic https://github.com/Azure/azure-sdk/issues/3178


Plugin PHP requirement

The plugin appears to be locked to PHP 7 and so I  am unable to perform Craft updates when using PHP 8.
Console output:
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - workingconcept/craft-cloudflare is locked to version 1.0.1 and an update of this package was not requested.
    - workingconcept/craft-cloudflare 1.0.1 requires php ^7.2.0 -> your php version (8.0.8; overridden via config.platform, same as actual) does not satisfy that requirement.

<warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>

From what I understand ^7.2.0 means >=7.2.0 < 8.0
I've not yet dug under the hood to see if the plugin would break using PHP 8

Thanks @fantasticmachine, it should probably be fine with PHP 8 but I’ll make sure before I update that requirement.

Just published 1.0.2 removing the explicit PHP requirement since it isn’t necessary.
The (really simple) tests now include PHP 8 and are passing, and my local testing with PHP 8 didn’t uncover anything scandalous. Let me know if you’re still having any sort of issues!


[BUG] Theme error when trying to set showBadge() on Android

I am using the newest version of the plugin and when I was trying to set a badge using showBadge() I was getting this error.
JS: ERROR Error: java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant).
JS:     com.google.android.material.internal.ThemeEnforcement.checkTheme(ThemeEnforcement.java:240)
JS:     com.google.android.material.internal.ThemeEnforcement.checkMaterialTheme(ThemeEnforcement.java:215)
JS:     com.google.android.material.badge.BadgeDrawable.<init>(BadgeDrawable.java:279)
JS:     com.google.android.material.badge.BadgeDrawable.createFromAttributes(BadgeDrawable.java:215)
JS:     com.google.android.material.badge.BadgeDrawable.create(BadgeDrawable.java:205)
JS:     com.google.android.material.bottomnavigation.BottomNavigationMenuView.showBadge(BottomNavigationMenuView.java:641)
JS:     com.google.android.material.bottomnavigation.BottomNavigationView.showBadge(BottomNavigationView.java:643)
JS:     com.tns.Runtime.callJSMethodNative(Native Method)
JS:     com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1209)
JS:     com.tns.Runtime.callJSMethodImpl(Runtime.java:1096)
JS:   ...

SOLUTION:
I noticed a difference between the demo and my project in App_Resources/Android/src/main/res/values/styles.xml. The parent theme in the demo was Theme.MaterialComponents where the parent theme in my project was Theme.AppCompat. I ended up copying the styles.xml from the demo into my project and everything worked great after that.
Posting this just incase anyone else runs into this issue.

Thanks @keerl,
I forgot to mention that 👍

There should be something in the docs for this.

There should be something in the docs for this.


agree folder structure

based on the code a first pass could be to move similar sounding scripts into folders of thier own and let the structure emerge organically
from a superficial analysis of the code I can see
   - components
      - oscillators
      - effects
      - mixer
      - mod_matrix
      - controllers
         - push2
   - constants (not sure if this should be per component or general)
   - definitions
   - modes
   - helpers

also an overall source folder and tests folder helps to organise the top level
so the top level could be
source
tests
docs

Fundamentally all oscillators and effects are the same thing really, there is this split in how they're grouped in the file structure, but that's mostly to help me find the right thing, as there is a lot of those FX. They are all a json file that has a def for what controls need to be loaded when it's selected and some init calls to send to the synthesizer in order to set the state.
There are some devices that are different (mod_matrix, audio_in), but they're the exception rather than the norm.
I would probably group all of the files with JSON definitions into one folder, with subfolders maybe to have it be easier to find what we're looking for

ok for oscillators/effects but what about the rest?
what about all the modes that seems to be one set of classes derived from a main class
and also my other point about separting source from test usually a good idea to keep the main source code in a separate folder (people call it src, but I prefer source (based on the no-abbreviations rule from clean coding)
I think currently everything is in root so the structure is not explicit.


So all the windows options with "-" throw errors ....

So take the concept of:
  ouathWindow = new BrowserWindow({
    width: 640,
    height: 480,
    always-on-top: true
  });

throws errors, why? because doing something like:
var object = {always-on-top: ture}

Uncaught SyntaxError: Unexpected token -(…)

the token, incase its not obvious is the -
Am I doing this wrong?

You have to wrap the hyphen separated options with quotes, i.e. change your example code to this
ouathWindow = new BrowserWindow({
  width: 640,
  height: 480,
  'always-on-top': true
});

It's very unfortunate a choice was made to use hyphens instead of underscores, or perhaps better yet, camelCasing. But that's the way it is, and it's unlikely it will ever change sadly.


Restart from checkpoint

I followed the implementation and used submitit to run the training script:
The train script:
python run_with_submitit.py --nodes 2 --ngpus 2 --arch vit_small --data_path /home/data/imagenette2-320/train --output_dir /home/checkpoint/experiments
Following files were created in the output_dir:
1720828_submitted.pkl, 1720828_submission.sh, 1720828_1_log.err, 1720828_1_log.out,1720828_0_log.out, 89a92d2d34884f639f4486949718b337_init, 1720828_0_log.err
I could not find the checkpoints (.pth files), unless I am missing something.
Secondly, can you please advice me how to restart the script from the checkpoint
Thanks

Hi @hllowold, a checkpoint should be written in the output_dir after each epoch. Are you sure your job has run until the completion of an entire epoch ? I'd suspect that it crashed for some reason before the end of the epoch and that is why you are not seeing the checkpoint.


JsonArray is missing in Output

Hi,
we have Map for YMap and Object for json objects. But only Array for YArray and nothing for Json Arrays.

Hi, @SebastianStehle!
The name probably isn't optimal here but please try the Output.Collection property.

Lol,
I have checked the output class at least 5 times, but I have not seen it. Thanks :)


Added character enconding for python 3

https://stackoverflow.com/questions/7585307/how-to-correct-typeerror-unicode-objects-must-be-encoded-before-hashing

@CITGuru please merge this when possible


Report proper User Error to users when error is caught by Control Service

What is the feature request? What problem does it solve?
Currently, when a data job fails with an User Error, and the error is caught by the Control Service and not by vdk (e.g., when the k8s pod of the job runs out of memory and is killed), no proper message is reported to users, which makes it difficult for them to understand what has happened.
Suggested solution
The addition of proper User Error reporting to the Control Service error handling logic by, e.g., splitting the failed status of k8s pods.
Additional context
Discussion here: https://github.com/vmware/versatile-data-kit/pull/479#pullrequestreview-798543281

Triaged. Closed as done.


Allow adding roles, config entires and hba rules via hiera

This includes refactoring like using contain rather than the anchor pattern.
The autorequires should ensure the sql is always executed after the server is configured. This was needed because the hiera entries would create a cyclic dependency. For some reason the test is failing so it might not be working.

The build now fails with Current textdomain ("master_domain") was not added, use FastGettext.add_text_domain ! but I don't know how to actually solve that. Was that something I changed?

@ekohl nothing you did. all better now!

@ekohl this needs a rebase :)

I did rebase it, but somehow I'm now getting an error that it attempts to create the user before the server is started despite there being an autorequire for this that the unit tests prove exists. Maybe the require -> undef is causing unexpected behavior?

Rebased. I also opened https://github.com/puppetlabs/puppetlabs-postgresql/pull/967 to get some preparation patches merged and reduce the size of this PR.

@ekohl Your cleanup was merged (https://github.com/puppetlabs/puppetlabs-postgresql/pull/967) so I think this can be rebased now?

Thanks! This will need some monitoring because even though the tests pass, I have seen some cases where the actual dependency isn't enforced. I'm starting to suspect there could be a bug in puppet types.


New recalbox.log path

@sveetch i merge that to test the 4x branch

@digitalLumberjack
Is it possible to build using the branch name? I read in the readme you should use tag or specific commit: https://github.com/recalbox/recalbox-buildroot/blob/054ef98a0e73bb1b6dfcfacd565642b888541a36/docs/manual/adding-packages-tips.txt
If yes, I can delete this issue:
https://github.com/recalbox/recalbox-manager/issues/53

https://github.com/recalbox/recalbox-buildroot/commit/39ff0d767321645effef0ebeeb7fa1ec57d38f35 answer your question :)

@digitalLumberjack yes I already saw, that's why I asked :D
Thanks :)


ZEPPELIN-3106. User impersonation in SPARK is not working

What is this PR for?
This PR is for trying to fix the impersonation of spark interpreter in master branch.  For spark impersonation, we don't need to ssh, just adding --proxy-user is enough.
What type of PR is it?
[Bug Fix]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-3106

How should this be tested?

Manually verified.

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@prabhjyotsingh Could you help review it ? Thanks

Will try this for both spark and shell interpreter, and post my finding later today.

Thanks @prabhjyotsingh comments has been addressed. And CI passed

Rest, looks good.

Thanks, Merge if no more comment


PHP 8.0 compatibility

We are looking into upgrading our project to PHP 8.0 but obviously this project officially does not support the latest version as of composer output:
- omnipay/sagepay is locked to version 3.2.3 and an update of this package was not requested.
- omnipay/sagepay 3.2.3 requires php ^5.6|^7 -> your php version (8.0.10) does not satisfy that requirement.

If this package is compatible to PHP 8.0 it would be nice if the composer requirements would be updated.

Wondering if there's any progress on this one folks?

Fixed with #169

Please can you release?


Can't Run Local Backtest on Mac with M1 Chip

If we try to run a local backtest on a Mac with an M1 chip, we get

Error: Please make sure Docker is installed and running

See this related thread.

There also seems to be an issue with IBGateway not launching on M1 Pro systems. See this forum discussion.

Logs from my issue
`
(base) rich@192-168-1-15 quant % lean backtest "Dancing Red-Orange Bull"
A custom engine image: "lean-cli/engine:latest" is being used!
^C
Aborted!
(base) rich@192-168-1-15 quant % lean live "Dancing Red-Orange Bull"
Select a brokerage:

Paper Trading
Interactive Brokers
Tradier
Oanda
Bitfinex
Coinbase Pro
Binance
Zerodha
Samco
Terminal Link
Atreyu
Trading Technologies
Kraken
FTX
Enter an option: 1
Configure credentials for Paper Trading
Select a data feed:
Interactive Brokers
Tradier
Oanda
Bitfinex
Coinbase Pro
Binance
Zerodha
Samco
Terminal Link
Kraken
FTX
IQFeed
Polygon Data Feed
Custom data only
To enter multiple options, separate them with comma.: 1
Configure credentials for Interactive Brokers

Select the organization with access to the Interactive Brokers feature (requires a Researcher seat or higher): Rich McPharlin
To use IB with LEAN you must disable two-factor authentication or only use IBKR Mobile. This is done from your IB Account Manage Account -> Settings -> User Settings -> Security -> Secure Login System. In the Secure Login System, deselect all options or only select "IB
Key Security via IBKR Mobile". Interactive Brokers Lite accounts do not support API trading.
Delayed market data is used when you subscribe to data for which you don't have a market data subscription on IB. If delayed market data is disabled, live trading will stop and LEAN will shut down when this happens.
Downloading 'QuantConnect.InteractiveBrokersBrokerage.2.5.14768.nupkg'
Downloading 'QuantConnect.InteractiveBrokersBrokerage.ToolBox.2.5.14768.nupkg'
Do you want to set the initial cash balance? [y/N]:
Do you want to set the initial portfolio holdings? [y/N]:
A custom engine image: "lean-cli/engine:latest" is being used!
Package source with Name: Package source 1 added successfully.
The template "Solution File" was created successfully.
The template "Class Library" was created successfully.
Determining projects to restore...
Writing /tmp/tmpRxizLn.tmp
info : Adding PackageReference for package 'QuantConnect.InteractiveBrokersBrokerage' into project '/ModulesProject/ModulesProject.csproj'.
info : Restoring packages for /ModulesProject/ModulesProject.csproj...
info : Installed QuantConnect.InteractiveBrokersBrokerage 2.5.14768 from /Modules with content hash P0XguDqXDY0/uYqEF7P52/rl8eg9f51AUqaf4Xib4zeiNxaZjz+fr7HnpKwh2K1Qtdejs/a8xBwdLVYjMI2ZXA==.
info : Package 'QuantConnect.InteractiveBrokersBrokerage' is compatible with all the specified frameworks in project '/ModulesProject/ModulesProject.csproj'.
info : PackageReference for package 'QuantConnect.InteractiveBrokersBrokerage' version '2.5.14768' added to file '/ModulesProject/ModulesProject.csproj'.
info : Generating MSBuild file /Compile/obj/ModulesProject/ModulesProject.csproj.nuget.g.props.
info : Generating MSBuild file /Compile/obj/ModulesProject/ModulesProject.csproj.nuget.g.targets.
info : Writing assets file to disk. Path: /Compile/obj/ModulesProject/project.assets.json
log  : Restored /ModulesProject/ModulesProject.csproj (in 275 ms).
Determining projects to restore...
Writing /tmp/tmpQXkdbM.tmp
info : Adding PackageReference for package 'QuantConnect.InteractiveBrokersBrokerage.ToolBox' into project '/ModulesProject/ModulesProject.csproj'.
info : Restoring packages for /ModulesProject/ModulesProject.csproj...
info : Installed QuantConnect.InteractiveBrokersBrokerage.ToolBox 2.5.14768 from /Modules with content hash VActDJnbqcySu1jrfvy3//kxtGSiSMG3YsdcP1tBazbUuNVl+030w99POABnEwgCwLLAXSLJuv2BhCad1M7MTQ==.
info : Package 'QuantConnect.InteractiveBrokersBrokerage.ToolBox' is compatible with all the specified frameworks in project '/ModulesProject/ModulesProject.csproj'.
info : PackageReference for package 'QuantConnect.InteractiveBrokersBrokerage.ToolBox' version '2.5.14768' added to file '/ModulesProject/ModulesProject.csproj'.
info : Writing assets file to disk. Path: /Compile/obj/ModulesProject/project.assets.json
log  : Restored /ModulesProject/ModulesProject.csproj (in 314 ms).
20221102 22:42:17.617 TRACE:: Config.Get(): Configuration key not found. Key: plugin-directory - Using default value:
20221102 22:42:17.624 TRACE:: Composer(): Loading Assemblies from /Lean/Launcher/bin/Debug
20221102 22:42:17.699 TRACE:: Python for .NET Assembly: Python.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=5000fea6cba702dd
20221102 22:42:17.706 TRACE:: Config.Get(): Configuration key not found. Key: data-directory - Using default value: ../../../Data/
20221102 22:42:17.714 TRACE:: Config.Get(): Configuration key not found. Key: version-id - Using default value:
20221102 22:42:17.715 TRACE:: Config.Get(): Configuration key not found. Key: cache-location - Using default value: /Lean/Data
20221102 22:42:17.717 TRACE:: Engine.Main(): LEAN ALGORITHMIC TRADING ENGINE v<IP_ADDRESS> Mode: DEBUG (64bit) Host: Richs-MacBook-Pro
20221102 22:42:17.723 TRACE:: Engine.Main(): Started 10:42 PM
20221102 22:42:17.729 TRACE:: Config.Get(): Configuration key not found. Key: lean-manager-type - Using default value: LocalLeanManager
20221102 22:42:17.744 TRACE:: JobQueue.NextJob(): Selected /LeanCLI/main.py
20221102 22:42:17.794 TRACE:: Config.GetValue(): scheduled-event-leaky-bucket-capacity - Using default value: 120
20221102 22:42:17.796 TRACE:: Config.GetValue(): scheduled-event-leaky-bucket-time-interval-minutes - Using default value: 1440
20221102 22:42:17.797 TRACE:: Config.GetValue(): scheduled-event-leaky-bucket-refill-amount - Using default value: 18
20221102 22:42:17.799 TRACE:: Config.GetValue(): storage-limit - Using default value:<PHONE_NUMBER>0
20221102 22:42:17.800 TRACE:: Config.GetValue(): storage-permissions - Using default value: 3
20221102 22:42:17.814 TRACE:: Config.Get(): Configuration key not found. Key: history-provider - Using default value: SubscriptionDataReaderHistoryProvider
20221102 22:42:17.816 TRACE:: Config.Get(): Configuration key not found. Key: python-venv - Using default value:
20221102 22:42:19.072 TRACE:: Config.Get(): Configuration key not found. Key: data-permission-manager - Using default value: DataPermissionManager
20221102 22:42:19.075 TRACE:: Config.GetValue(): streamed-chart-limit - Using default value: 12
20221102 22:42:19.077 TRACE:: Config.GetValue(): streamed-chart-group-size - Using default value: 3
20221102 22:42:19.089 TRACE:: AlgorithmManager.CreateTokenBucket(): Initializing LeakyBucket: Capacity: 120 RefillAmount: 18 TimeInterval: 1440
20221102 22:42:19.093 TRACE:: Config.GetValue(): algorithm-manager-time-loop-maximum - Using default value: 20
20221102 22:42:19.103 TRACE:: Engine.Run(): Resource limits '0' CPUs.<PHONE_NUMBER> MB RAM.
20221102 22:42:19.105 TRACE:: TextSubscriptionDataSourceReader.SetCacheSize(): Setting cache size to 71582788 items
20221102 22:42:19.109 TRACE:: Config.GetValue(): consumer-batching-timeout-ms - Using default value: 0
20221102 22:42:19.456 TRACE:: Config.GetValue(): algorithm-creation-timeout - Using default value: 90
20221102 22:42:19.462 TRACE:: PythonInitializer.Initialize(): start...
PythonEngine.Initialize(): clr GetManifestResourceStream...
20221102 22:42:19.638 TRACE:: PythonInitializer.Initialize(): ended
20221102 22:42:19.642 TRACE:: AlgorithmPythonWrapper(): Python version 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 05:57:03)
[GCC 10.3.0]: Importing python module main
20221102 22:42:20.982 TRACE:: AlgorithmPythonWrapper(): main successfully imported.
20221102 22:42:20.987 TRACE:: AlgorithmPythonWrapper(): Creating IAlgorithm instance.
20221102 22:42:20.996 TRACE:: Config.GetValue(): api-data-update-period - Using default value: 1
20221102 22:42:21.121 TRACE:: Config.GetValue(): mute-python-library-logging - Using default value: True
20221102 22:42:21.144 TRACE:: LocalObjectStore.Initialize(): Storage Root: /Storage. StorageFileCount 9999999. StorageLimit 10240MB
20221102 22:42:21.145 TRACE:: LiveTradingDataFeed.GetDataChannelProvider(): will use DataChannelProvider
20221102 22:42:21.155 TRACE:: CompositeDataQueueHandler.SetJob(): will use [
"QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage"
]
20221102 22:42:21.162 TRACE:: Config.GetValue(): ib-response-timeout - Using default value: 300
20221102 22:42:21.168 TRACE:: InteractiveBrokersBrokerage.InteractiveBrokersBrokerage(): Starting IB Automater...
20221102 22:42:21.176 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): Setting execute permissions on IBAutomater.sh
20221102 22:42:21.186 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): chmod +x IBAutomater.sh: process exit code: 0
20221102 22:42:21.189 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): Loading IBGateway - Version: 985 - Path: /root/ibgateway - User: *****
20221102 22:42:21.191 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): Searching for TWS JRE path
20221102 22:42:21.193 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): Install4J path: /root/ibgateway/.install4j
20221102 22:42:21.194 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): File not found: /root/ibgateway/.install4j/pref_jre.cfg
20221102 22:42:21.197 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): File found: /root/ibgateway/.install4j/inst_jre.cfg
20221102 22:42:21.199 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): Directory found: /usr/lib/jvm/java-8-openjdk-arm64/jre
20221102 22:42:21.200 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): Updating IBGateway ini file: /root/Jts/jts.ini
20221102 22:42:21.206 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): Updating IBGateway configuration file: /root/ibgateway/ibgateway.vmoptions
20221102 22:42:21.213 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): IBAutomater process started - Id:155 - Name:IBAutomater.sh - InitializationTimeout:00:15:00
20221102 22:42:21.219 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): UID        PID  PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
20221102 22:42:21.221 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): root         1     0 50 5706452 342080 1 22:42 pts/0   00:00:04 dotnet QuantConnect.Lean.Launcher.dll
20221102 22:42:21.222 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): root       155     1  0  2379  2844   2 22:42 pts/0    00:00:00   /bin/bash /Lean/Launcher/bin/Debug/IBAutomater.sh /root/ibgateway
20221102 22:42:21.224 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): root       156   155  0  2844  2708   0 22:42 pts/0    00:00:00     ps -AFH
20221102 22:42:26.243 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): UID        PID  PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
20221102 22:42:26.255 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): root         1     0 32 5706452 342576 1 22:42 pts/0   00:00:04 dotnet QuantConnect.Lean.Launcher.dll
20221102 22:42:26.259 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): root       155     1  0  2379  3052   1 22:42 pts/0    00:00:00   /bin/bash /Lean/Launcher/bin/Debug/IBAutomater.sh /root/ibgateway
20221102 22:42:26.262 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): root       160   155  0  2844  2664   3 22:42 pts/0    00:00:00     ps -AFH
20221102 22:42:27.212 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): IBGateway started
 20221102 23:01:42.765 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): IB launcher log file: /root/Jts/launcher.log
20221102 23:01:42.778 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.034 [FA] INFO  [JTS-Main] - OvernightManager.dayInit: new values: dayOfTheWeek: 4 (Wed), YYYYMMofToday: 202211, YYYYMMDDofToday:
20221102, m_todayDate: 20221102, dueToChangeInTimezone: false
20221102 23:01:42.783 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.036 [FA] INFO  [JTS-Main] - Created on: 20221102
20221102 23:01:42.790 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.036 [FA] INFO  [JTS-Main] - ------------------------------- IB GATEWAY RESTART --------------------------------
20221102 23:01:42.797 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.037 [FA] INFO  [JTS-Main] - installer version: 2.95, installer type: standalone, install dir: '/root/ibgateway/', Jts dir:
'/root/Jts', VM options file: '/root/ibgateway/ibgateway.vmoptions'
20221102 23:01:42.799 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.045 [FA] INFO  [JTS-Main] - Verifying environment [entryPoint=IBGATEWAY_STANDALONE]...
20221102 23:01:42.803 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.059 [FA] INFO  [AWT-EventQueue-0] - Install4jAutoUpdateService initialized
[props=LauncherProperties[updateDownloadUrl=null,skipUpdateCheck=false,nightlyEnabled=true,channelNameArg=null,channelName=latest,channelChanged=false,jtsConfigDir=/root/Jts,apiPort=null,sessionId=null,installDir=/root/ibgateway/,exeName=null]].
20221102 23:01:42.806 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.064 [FA] INFO  [JTS-Main] - PROXY Installed custom selector
20221102 23:01:42.808 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.070 [FA] INFO  [JTS-Main] - useSsl=true,FIX endPoint=null:4001
20221102 23:01:42.811 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.072 [FA] INFO  [JTS-Main] - LOCALE: Property locale_to_use=null
20221102 23:01:42.813 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.074 [FA] INFO  [JTS-Main] - LOCALE: JTS Locale=en_US  country=United States  variant=
20221102 23:01:42.816 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.075 [FA] INFO  [JTS-Main] - Region: America
20221102 23:01:42.819 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.078 [FA] INFO  [JTS-Main] -
DocumentBuilderFactory=jar:file:/usr/lib/jvm/java-8-openjdk-arm64/jre/lib/rt.jar!/com/sun/org/apache/xerces/internal/jaxp/DocumentBuilderFactoryImpl.class
20221102 23:01:42.820 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.160 [FA] INFO  [JTS-Main] - LOCALE: loaded 9 supported locales
20221102 23:01:42.821 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.237 [FA] INFO  [JTS-Main] - LOCALE: loaded 8 countries
20221102 23:01:42.823 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.241 [FA] INFO  [JTS-Main] - LOCALE: from OS: en_US
20221102 23:01:42.825 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.241 [FA] INFO  [JTS-Main] - LOCALE: created classloader java.net.URLClassLoader@2b4bac49 with
file:/root/ibgateway/jars/locales.jar, parent: sun.misc.Launcher$AppClassLoader@18b4aac2
20221102 23:01:42.827 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.241 [FA] INFO  [JTS-Main] - Locale=en_US  country=United States  variant=
20221102 23:01:42.829 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.243 [FA] INFO  [JTS-Main] - prohibiting class lookup [twslaunch.ji18n.LauncherLanguage]
20221102 23:01:42.830 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.244 [FA] INFO  [JTS-Main] - prohibiting class lookup [twslaunch.ji18n.LauncherLanguage_en]
20221102 23:01:42.833 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.244 [FA] INFO  [JTS-Main] - prohibiting class lookup [twslaunch.ji18n.LauncherLanguage_en_US]
20221102 23:01:42.836 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.244 [FA] INFO  [JTS-Main] - LOCALE:  type: launcher intended: en_US actual:  size: 443
20221102 23:01:42.837 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.244 [FA] INFO  [JTS-Main] - settings dir: '/root/Jts'
20221102 23:01:42.839 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.245 [FA] ERROR [JTS-Main] - Error during FX Thread start up, this may result in problem described in bz87660 to reacquire
20221102 23:01:42.840 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] java.lang.NullPointerException
20221102 23:01:42.842 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at twslaunch.trader.common.f.a(f.java:888)
20221102 23:01:42.843 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at twslaunch.trader.common.f.k(f.java:973)
20221102 23:01:42.845 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at ibgateway.GWClient.a(Unknown Source)
20221102 23:01:42.846 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at ibgateway.GWClient.main(Unknown Source)
20221102 23:01:42.849 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20221102 23:01:42.851 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20221102 23:01:42.852 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20221102 23:01:42.854 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.lang.reflect.Method.invoke(Method.java:498)
20221102 23:01:42.857 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
20221102 23:01:42.859 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:66)
20221102 23:01:42.861 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at install4j.ibgateway.GWClient.main(Unknown Source)
20221102 23:01:42.863 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.246 [FA] INFO  [JTS-Main] - LauncherFontUpdater: simulatehighdefscreen=false
20221102 23:01:42.883 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.246 [FA] INFO  [JTS-Main] - LauncherFontUpdater: Screen dimensions=1024x768
20221102 23:01:42.885 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.246 [FA] INFO  [JTS-Main] - LauncherFontUpdater: highres=false
20221102 23:01:42.887 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.246 [FA] INFO  [JTS-Main] - LauncherFontUpdater: FontSize=16
20221102 23:01:42.889 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.249 [FA] INFO  [JTS-Main] - initPreUI() - entry
20221102 23:01:42.890 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.253 [FA] INFO  [JTS-Main] - Build 10.12.2d, Dec 21, 2021 7:29:02 PM
20221102 23:01:42.893 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.271 [FA] INFO  [JTS-Main] - LookAndFeelChangedListener installed
20221102 23:01:42.894 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.274 [FA] INFO  [JTS-Main] - JtsLookAndFeel initialized
20221102 23:01:42.896 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.485 [FA] INFO  [JTS-Main] - Current LAF: TWS LAF
20221102 23:01:42.897 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.486 [FA] INFO  [JTS-Main] - initPreUI() - exit
20221102 23:01:42.898 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.490 [FA] INFO  [JTS-MiscUlrsRequester-5] - Connecting ndc1.ibllc.com:4000 timeout=0...
20221102 23:01:42.900 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.932 [FA] ERROR [AWT-EventQueue-0] - Error
20221102 23:01:42.902 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
20221102 23:01:42.903 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at twslaunch.jclient.bk.(bk.java:696)
20221102 23:01:42.908 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at ibgateway.aB.(Unknown Source)
20221102 23:01:42.910 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at ibgateway.GWClient.a(Unknown Source)
20221102 23:01:42.911 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
20221102 23:01:42.912 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
20221102 23:01:42.914 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventQueue.access$500(EventQueue.java:97)
20221102 23:01:42.915 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventQueue$3.run(EventQueue.java:709)
20221102 23:01:42.917 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventQueue$3.run(EventQueue.java:703)
20221102 23:01:42.918 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.security.AccessController.doPrivileged(Native Method)
20221102 23:01:42.919 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
20221102 23:01:42.921 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
20221102 23:01:42.928 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
20221102 23:01:42.929 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
20221102 23:01:42.931 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
20221102 23:01:42.932 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
20221102 23:01:42.933 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
20221102 23:01:42.935 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
20221102 23:01:42.937 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
20221102 23:01:42.939 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
20221102 23:01:42.945 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
20221102 23:01:42.947 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
20221102 23:01:42.949 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
20221102 23:01:42.951 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher]      ... 17 more
20221102 23:01:42.952 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.940 [FA] INFO  [JTS-MiscUlrsRequester-5] - Connected to ndc1.ibllc.com:4000 on local port 0 socket local addrs:port
/<IP_ADDRESS>:33492
20221102 23:01:42.953 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.941 [FA] INFO  [JTS-MiscUlrsRequester-5] - Resolving mac address
20221102 23:01:42.955 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.941 [FA] INFO  [JTS-MiscUlrsRequester-5] - MACNetworkInfo created <eb7bf553|02:42:AC:12:00:02|<IP_ADDRESS>>
20221102 23:01:42.957 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.945 [FA] INFO  [JTS-MISC URLsListenerS1-6] - Starting listener thread [sessionID=1]...
20221102 23:01:42.958 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:27.953 [FA] INFO  [JTS-MiscUlrsRequester-5] - Sending MiscUrls request
20221102 23:01:42.959 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.042 [FA] INFO  [JTS-MiscUlrsRequester-5] - LOGIN_TIME_MONITOR     false 22:42:28:041 since start = 0 thread delay = 0 global
delay = -1 tag=null, cls=AuthDispatcher method=send
20221102 23:01:42.961 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.044 [FA] INFO  [JTS-MISC URLsListenerS1-6] - Initial listener buffer size is 65536.
20221102 23:01:42.962 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.044 [FA] INFO  [JTS-MISC URLsListenerS1-6] - Listener thread [sessionID=1] is ready to process messages.
20221102 23:01:42.964 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.044 [FA] INFO  [JTS-AuthDispatcherS1-7] - Starting dispatcher thread [sessionID=1]...
20221102 23:01:42.965 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.043 [FA] INFO  [JTS-AuthResponseMonitor-8] - Starting auth response monitor thread
20221102 23:01:42.966 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.360 [FA] INFO  [JTS-AuthDispatcherS1-7] - Received NS_MISC_URLS
20221102 23:01:42.967 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.367 [FA] INFO  [JTS-AuthDispatcherS1-7] - Misc URL: scope is blank - setting userScope to EXTERNAL
20221102 23:01:42.970 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.368 [FA] INFO  [JTS-AuthDispatcherS1-7] - Misc URL: setting userScope to EXTERNAL
20221102 23:01:42.971 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.381 [FA] INFO  [JTS-AuthDispatcherS1-7] - Disconnecting ndc1.ibllc.com:4000
[disconnectDetails=DisconnectDetails[sessionID=1,endPoint:4000=ndc1.ibllc.com,reason=DISCONNECT_BY_DESIGN,cause=null,systemMessage=null,keepSocketOpen=false]]...
20221102 23:01:42.972 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.382 [FA] INFO  [JTS-AuthDispatcherS1-7] - Socket closed.
20221102 23:01:42.974 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.382 [FA] INFO  [JTS-AuthDispatcherS1-7] - Interrupting dispatcher [sessionID=1]...
20221102 23:01:42.975 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.382 [FA] INFO  [JTS-AuthDispatcherS1-7] - Interrupting listener [sessionID=1,disconnectSocket=true]...
20221102 23:01:42.977 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.383 [FA] INFO  [JTS-MISC URLsListenerS1-6] - Socket or stream for connection ndc1.ibllc.com:4000 was closed by another thread.
20221102 23:01:42.979 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.383 [FA] INFO  [JTS-AuthDispatcherS1-7] - Dispatcher thread terminating [sessionID=1,interrupted=true]...
20221102 23:01:42.980 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.383 [FA] INFO  [JTS-MISC URLsListenerS1-6] - Listener thread terminating [sessionID=1]
[seen=1168,totalShifted=1168,moreAvailable=0]
20221102 23:01:42.981 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:28.384 [FA] INFO  [JTS-AuthResponseMonitor-8] - Terminating auth response monitor thread
20221102 23:01:42.983 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:32.066 [FA] INFO  [JTS-DeadlockMonitor-2] - Memory:total=786,432KB free=763,594KB HeapUsage: Max=786,432KB used=21,299KB
committed=253,952KB NonHeapUsage: Max=0KB used=46,706KB committed=48,120KB
20221102 23:01:42.984 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:42:33.081 [FA] INFO  [JTS-DeadlockMonitor-2] - CPU:cur=0.15% avg=0.15% 30 min avg=0.15% 10 min avg=0.15% 5 min avg=0.15% 1 min
avg=0.15%
20221102 23:01:42.986 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] GC:called=3 times CPU used=0.65%
20221102 23:01:42.987 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] Finalizer:cur=0.00% avg=0.00% 30 min avg=0.00% 10 min avg=0.00% 5 min avg=0.00% 1 min avg=0.00%
20221102 23:01:42.989 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] Threads Count:curr live=14 curr daemon=12
20221102 23:01:42.991 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:47:32.236 [FA] INFO  [JTS-DeadlockMonitor-2] - Memory:total=786,432KB free=762,570KB HeapUsage: Max=786,432KB used=22,323KB
committed=253,952KB NonHeapUsage: Max=0KB used=46,248KB committed=48,120KB
20221102 23:01:42.992 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:47:33.256 [FA] INFO  [JTS-DeadlockMonitor-2] - CPU:cur=0.02% avg=0.04% 30 min avg=0.04% 10 min avg=0.04% 5 min avg=0.04% 1 min
avg=0.03%
20221102 23:01:42.993 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] GC:called=3 times CPU used=0.01%
20221102 23:01:42.995 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] Finalizer:cur=0.00% avg=0.00% 30 min avg=0.00% 10 min avg=0.00% 5 min avg=0.00% 1 min avg=0.00%
20221102 23:01:42.998 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] Threads Count:curr live=13 curr daemon=11
20221102 23:01:43.000 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:54:02.737 [FA] INFO  [JTS-DeadlockMonitor-2] - Memory:total=786,432KB free=762,570KB HeapUsage: Max=786,432KB used=22,323KB
committed=253,952KB NonHeapUsage: Max=0KB used=46,081KB committed=48,120KB
20221102 23:01:43.001 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:54:03.744 [FA] INFO  [JTS-DeadlockMonitor-2] - CPU:cur=0.03% avg=0.04% 30 min avg=0.04% 10 min avg=0.04% 5 min avg=0.03% 1 min
avg=0.03%
20221102 23:01:43.002 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] GC:called=3 times CPU used=0.01%
20221102 23:01:43.003 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] Finalizer:cur=0.00% avg=0.00% 30 min avg=0.00% 10 min avg=0.00% 5 min avg=0.00% 1 min avg=0.00%
20221102 23:01:43.005 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] Threads Count:curr live=13 curr daemon=11
20221102 23:01:43.005 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:59:04.343 [FA] INFO  [JTS-DeadlockMonitor-2] - Memory:total=786,432KB free=762,060KB HeapUsage: Max=786,432KB used=22,323KB
committed=253,952KB NonHeapUsage: Max=0KB used=46,150KB committed=48,120KB
20221102 23:01:43.006 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] 2022-11-02 22:59:05.354 [FA] INFO  [JTS-DeadlockMonitor-2] - CPU:cur=0.03% avg=0.04% 30 min avg=0.04% 10 min avg=0.03% 5 min avg=0.04% 1 min
avg=0.04%
20221102 23:01:43.007 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] GC:called=3 times CPU used=0.01%
20221102 23:01:43.008 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] Finalizer:cur=0.00% avg=0.00% 30 min avg=0.00% 10 min avg=0.00% 5 min avg=0.00% 1 min avg=0.00%
20221102 23:01:43.010 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): [IB Launcher] Threads Count:curr live=13 curr daemon=11
20221102 23:01:43.012 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): IB Automater initialization timeout.
20221102 23:01:43.033 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): IBAutomater error - Code: InitializationTimeout Message: The IBAutomater initialization timed out.
20221102 23:01:43.041 ERROR:: Brokerage.OnMessage(): Error - Code: InitializationTimeout - The IBAutomater initialization timed out.
20221102 23:01:43.065 ERROR:: Engine.Run():  System.Exception: InteractiveBrokersBrokerage.CheckIbAutomaterError(): InitializationTimeout - The IBAutomater initialization timed out.
at QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage.a(StartResult A_0, Boolean A_1)
at QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage.a(IAlgorithm A_0, IOrderProvider A_1, ISecurityProvider A_2, IDataAggregator A_3, IMapFileProvider A_4, String A_5, String A_6, Int32 A_7, String A_8, String A_9, String A_10,
String A_11, String A_12, String A_13, Boolean A_14)
at QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage.SetJob(LiveNodePacket job)
at QuantConnect.Lean.Engine.DataFeeds.DataQueueHandlerManager.SetJob(LiveNodePacket job) in /LeanCLI/Lean/Engine/DataFeeds/DataQueueHandlerManager.cs:line 114
at QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed.Initialize(IAlgorithm algorithm, AlgorithmNodePacket job, IResultHandler resultHandler, IMapFileProvider mapFileProvider, IFactorFileProvider factorFileProvider, IDataProvider dataProvider,
IDataFeedSubscriptionManager subscriptionManager, IDataFeedTimeProvider dataFeedTimeProvider, IDataChannelProvider dataChannelProvider) in /LeanCLI/Lean/Engine/DataFeeds/LiveTradingDataFeed.cs:line 97
at QuantConnect.Lean.Engine.Engine.Run(AlgorithmNodePacket job, AlgorithmManager manager, String assemblyPath, WorkerThread workerThread) in /LeanCLI/Lean/Engine/Engine.cs:line 174
20221102 23:01:43.078 TRACE:: JOB HANDLERS:
DataFeed:             QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed
Setup:                QuantConnect.Lean.Engine.Setup.BrokerageSetupHandler
RealTime:             QuantConnect.Lean.Engine.RealTime.LiveTradingRealTimeHandler
Results:              QuantConnect.Lean.Engine.Results.LiveTradingResultHandler
Transactions:         QuantConnect.Lean.Engine.TransactionHandlers.BacktestingTransactionHandler
Alpha:                QuantConnect.Lean.Engine.Alphas.DefaultAlphaHandler
Object Store:         QuantConnect.Lean.Engine.Storage.LocalObjectStore
History Provider:
Brokerage:            QuantConnect.Brokerages.Paper.PaperBrokerage
Data Provider:        QuantConnect.Lean.Engine.DataFeeds.DefaultDataProvider
20221102 23:01:43.081 TRACE:: StopSafely(): waiting for 'RealTimeScheduleEventService' thread to stop...
20221102 23:01:43.083 TRACE:: DefaultAlphaHandler.Exit(): Exiting...
20221102 23:01:43.091 TRACE:: DefaultAlphaHandler.Exit(): Ended
20221102 23:01:43.109 ERROR:: Algorithm.Initialize() Error: InteractiveBrokersBrokerage.CheckIbAutomaterError(): InitializationTimeout - The IBAutomater initialization timed out. Stack Trace: InteractiveBrokersBrokerage.CheckIbAutomaterError():
InitializationTimeout - The IBAutomater initialization timed out.
InteractiveBrokersBrokerage.CheckIbAutomaterError(): InitializationTimeout - The IBAutomater initialization timed out.
20221102 23:01:43.115 TRACE:: LiveTradingResultHandler.Run(): Ending Thread...
20221102 23:01:43.121 TRACE:: StopSafely(): waiting for 'Result Thread' thread to stop...
20221102 23:01:43.123 TRACE:: LiveTradingResultHandler.SendFinalResult(): Starting...
20221102 23:01:43.201 TRACE:: LiveTradingResultHandler.SendFinalResult(): Finished storing results. Start sending...
20221102 23:01:43.202 TRACE:: LiveTradingResultHandler.SendFinalResult(): Ended
20221102 23:01:43.205 TRACE:: Engine.Run(): Disconnecting from brokerage...
20221102 23:01:43.206 TRACE:: Engine.Run(): Disposing of setup handler...
20221102 23:01:43.208 TRACE:: BrokerageSetupHandler.Setup(): Found data queue handler to dispose: QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage
20221102 23:01:43.211 TRACE:: InteractiveBrokersBrokerage.Dispose(): Disposing of IB resources.
20221102 23:01:43.216 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): Updating IBGateway configuration file: /root/ibgateway/ibgateway.vmoptions
20221102 23:01:43.222 TRACE:: Engine.Main(): Analysis Completed and Results Posted.
Engine.Main(): Analysis Complete.
20221102 23:01:43.224 TRACE:: Engine.Main(): Packet removed from queue: L-3128468899
20221102 23:01:43.225 TRACE:: LeanEngineSystemHandlers.Dispose(): start...
20221102 23:01:43.232 TRACE:: LeanEngineSystemHandlers.Dispose(): Disposed of system handlers.
20221102 23:01:43.235 TRACE:: LeanEngineAlgorithmHandlers.Dispose(): start...
20221102 23:01:43.237 TRACE:: BrokerageSetupHandler.Setup(): Found data queue handler to dispose: QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage
20221102 23:01:43.238 TRACE:: LeanEngineAlgorithmHandlers.Dispose(): Disposed of algorithm handlers.
20221102 23:01:43.241 TRACE:: StopSafely(): waiting for 'CpuPerformance' thread to stop...
20221102 23:01:43.241 TRACE:: PythonInitializer.Shutdown(): start
20221102 23:01:43.471 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterOutputDataReceived(): IBGateway process exited
20221102 23:01:43.476 TRACE:: InteractiveBrokersBrokerage.OnIbAutomaterExited(): Exit code: 0
20221102 23:01:43.477 ERROR:: Brokerage.OnMessage(): Error - Code: InitializationTimeout - The IBAutomater initialization timed out.
20221102 23:01:44.758 TRACE:: PythonInitializer.Shutdown(): ended
20221102 23:01:44.758 TRACE:: Program.Main(): Exiting Lean...
Error: Something went wrong while running 'Dancing Red-Orange Bull' in the 'lean-cli' environment, the output is stored in 'Dancing Red-Orange Bull/live/2022-11-03_09-41-49'
`

Related to https://github.com/QuantConnect/Lean/issues/6707

After some testing we've been able to get this working using the amd64 lean image taking advantage of the qemu emulator. The only thing required is pulling the amd64 image and lean CLI will use it instead.
# docker pull --platform linux/amd64 quantconnect/lean

In some cases we've seen the container hang, so to achieve the best performance and stability we recommend using colima which will use the latest stable qemu version. Steps:
# brew install colima
# colima start --cpu 4 --memory 8

Verifications
# qemu-img --version
qemu-img version 7.1.0 (or higher)
# docker context ls
	should show colima as selected
# docker inspect quantconnect/lean
	should show amd64 arch
# docker exec -it {lean container id} bash
	# uname -a
		should should x86_x64/amd64 or similar

Troubleshoot

If docker context ls does not show colima. Can try running colima start --edit and make sure docker is the selected context.


Add spanish translation.

Great project! I'm just learning OpenCV and had a similar idea.
I add the spanish translation. 😄

Thank you very much!


ROS turtle mover/formation

Please provide an in sight to this for solving this.
Using a launch file to spawn 3 turtles, namely leader, followerA and followerB, in
the turtlesim simulator
• The leader turtle is located in the center with no rotation. The other 2 followers start at a
random position and orientation.
• Define a custom message namely YourBCodeLeaderMessage.msg as shown below
used to send an instruction from the leader to two followers
Fig. 1 The YourBcodeLeaderMessage.msg message to be defined
• The leader starts with sending an instruction using the defined message to two followers asking
them to move to the formation position, i.e. followerA is 1 meter behind the leader and
followerB is 1 meter behind followerA as illustrated in
• Once the leader detects that the two followers are in the required formation position, it turns
to a random direction and then keep moving in a straight line with a red pen until it reaches
the boundary of the turtlesim window. The three turtles should maintain column formation
while moving, i.e. three turtles travel one after the other with two
followers move with a white pen.
Hints: The formation control could be easily achieved by publishing additional frames to the
leader turtle. Here is the tutorial you might find helpful.
. An illustration of leader-follower formation. i.e. followerA is 1 meter behind the leader and
followerB is 1 meter behind the followerA
• Defining a custom ROS service, namely YourBcodeServicePID.srv, which provides a
service allowing a given turtle moves to a specified location using a PID controller as illustrated
in Fig. 3.
Hints: Here is a link which you can find how to use a PID controller to move a robot to a specific
location
• When the leader turtle approaches to the border, it will send another instruction (again using
the defined message) to the followers and do the following
o Teleport 2 followers to their initial position through the service (i.e.
turtlesim/TeleportAbsolute) provided by ROS
o The leader turtle returns to the center through the custom service defined above (i.e.
YourBcodeServicePID.srv). If the PID server fails to move the turtle to the goal
location, the leader turtle should be teleported back to the center
o All the turtles should return to their initial position with a black pen
• A Vodcast is required to be produced to accompany your implementation within which a brief
walkthrough demonstration of your implementation and a walkthrough of the underlying
source code, along with an associated commentary.
2. Marking scheme
• Using a launch file to spawn 3 turtles at required positions
• Creating a custom ROS message, i.e. LeaderMessage.msg and a custom
ROS service, i.e. ServicePID.srv
• Communication between the leader and follower turtles using the defined message
• The leader turtle moves in a random direction
• The control of leader-follower formation
• Turtles return to their initial position

General Outline :
Define Files

YourBCodeLeaderMessage.msg message file

This node should handle the formation control, ensuring that the followers stay in the desired position relative to the leader.This node should handle the formation control, ensuring that the followers stay in the desired position relative to the leader.

YourBcodeServicePID.srv service file

This service to move the leader turtle to the desired location. This node should use a PID controller to move the turtle in a straight line until it reaches the boundary of the turtlesim window.

Launch File to spawn all and sets their initial positions and orientations, and starts the leader and follower nodes.

When the leader turtle approaches the border, it should send a message to the followers instructing them to return to their initial positions using the turtlesim/TeleportAbsolute service, and then return to the center using the YourBcodeServicePID service.

Can you please provide python code solution for this?

Hi Mohammed,
Could you please proffer a python code solution to this issue?
Thanks.
On Wed, Apr 26, 2023, 1:57 AM Muhammad Luqman @.***>
wrote:

Closed #14 https://github.com/noshluk2/ros1_wiki/issues/14 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/noshluk2/ros1_wiki/issues/14#event-9097822392, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A6PXFLR4WJJXOHNV7AAM733XDBXJLANCNFSM6AAAAAAXJAFONE
.
You are receiving this because you authored the thread.Message ID:
@.***>


already initialized constant ReactOnRails::VERSION

I'm trying to deploy via mina and got this
-----> Precompiling asset files
.../shared/vendor/bundle/ruby/2.2.0/gems/react_on_rails-6.3.4/lib/react_on_rails/version.rb:3: warning: already initialized constant ReactOnRails::VERSION
.../tmp/build-148383109132538/vendor/bundle/ruby/2.2.0/gems/react_on_rails-6.3.4/lib/react_on_rails/version.rb:3: warning: previous definition of VERSION was here
rake aborted!

I don't think this is causing any problems, or is it?
If so, please re-open this issue.


How to cancel or abort uploading file.

Question
I am using the following js code to upload a file, I want to add a button to cancel or abort file uploading does tus-js-client has any thing to do that?
input.addEventListener('change', function (e) {

  var file = e.target.files[0]

  var upload = new tus.Upload(file, {
    endpoint: 'https://MyEndpoint:1080/files/',
    retryDelays: [0, 3000, 5000, 10000, 20000],
    metadata: {
      filename: file.name,
      filetype: file.type,
    },
    onError: function (error) {
      console.log('Failed because: ' + error)
    },
    onProgress: function (bytesUploaded, bytesTotal) {
      var percentage = ((bytesUploaded / bytesTotal) * 100).toFixed(2)
      console.log(bytesUploaded, bytesTotal, percentage + '%')
    },
    onSuccess: function () {
      console.log('Download %s from %s', upload.file.name, upload.url)
    },
  })

  upload.findPreviousUploads().then(function (previousUploads) {

    if (previousUploads.length) {
      upload.resumeFromPreviousUpload(previousUploads[0])
    }

    upload.start()
  })
})

You can use the abort method: https://github.com/tus/tus-js-client/blob/main/docs/api.md#tusuploadabortshouldterminate

I have the following issue with the abort method:
If the upload is brand new, calling the abort method works as expected, and immediately stops the upload and corresponding PATCH request.
However, if it is resume(d)FromPreviousUpload, the following happens: the first call to abort() does not cancel the ongoing PATCH request, it seems to only set the _aborted flag for subsequent PATCH requests. Any further calls to abort() after the first one work as expected and do cancel the current PATCH request. So in effect the user has to wait for the PATCH request to finish to experience the pausing. This is especially problematic with a large or unrestrained chunkSize.

@js-j Please open a separate issue with your problem and please provide a small example to reproduce this behavior.
I am going to close this since the original question is already answered.

My fault. Problem was my code called upload.start() twice. Thanks for taking the time to address this issue.


Don't fail the build when there's nothing to commit

Codecov Report

Merging #10 (9f6429a) into main (465371f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #10   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          111       111
=========================================
  Hits           111       111

Continue to review full report at Codecov.

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