panic: runtime error: index out of range [recovered]

root@malice:/# malice scan  /home/xpwd/befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
File

Field
Value

Name
befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408

Path
/home/xpwd/befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408

Size
40.96 kB

MD5
669f87f2ec48dce3a76386eec94d7e3b

SHA1
6b82f126555e7644816df5d4e4614677ee0bda5c

SHA256
befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408

Mime
application/x-dosexec

latest: Pulling from library/busybox

8ddc19f16526: Pull complete

Digest: sha256:a59906e33509d14c036c8678d687bd4eec81ed7c4b8ce907b888c607f6a1e0e6

Status: Downloaded newer image for busybox:latest

VirusTotal

Ratio
Link
API
Scanned

85%
link
Public
2016-02-15 11:47:03

ShadowServer

Not found
panic: runtime error: index out of range [recovered]
panic: runtime error: index out of range

goroutine 1 [running]:
panic(0x819620, 0xc420016080)
/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
github.com/urfave/cli.HandleAction.func1(0xc420051be8)
/go/src/github.com/urfave/cli/app.go:478 +0x247
panic(0x819620, 0xc420016080)
/usr/lib/go-1.7/src/runtime/panic.go:458 +0x243
main.ParseSsdeepOutput(0x0, 0x0, 0xc420051608, 0x1)
/go/src/github.com/maliceio/malice-fileinfo/scan.go:74 +0xd7
main.main.func1(0xc42008c780, 0x0, 0x0)
/go/src/github.com/maliceio/malice-fileinfo/scan.go:192 +0x161
reflect.Value.call(0x7fe0a0, 0x8d7be0, 0x13, 0x8980fd, 0x4, 0xc420051ba8, 0x1, 0x1, 0x4ca688, 0x884ba0, ...)
/usr/lib/go-1.7/src/reflect/value.go:434 +0x5c8
reflect.Value.Call(0x7fe0a0, 0x8d7be0, 0x13, 0xc420051ba8, 0x1, 0x1, 0x8d7b28, 0x0, 0x0)
/usr/lib/go-1.7/src/reflect/value.go:302 +0xa4
github.com/urfave/cli.HandleAction(0x7fe0a0, 0x8d7be0, 0xc42008c780, 0x0, 0x0)
/go/src/github.com/urfave/cli/app.go:487 +0x1e0
github.com/urfave/cli.(*App).Run(0xc4200e0000, 0xc42000c3c0, 0x3, 0x3, 0x0, 0x0)
/go/src/github.com/urfave/cli/app.go:245 +0x59b
main.main()
/go/src/github.com/maliceio/malice-fileinfo/scan.go:227 +0x56c
F-PROT

Infected
Result
Engine
Updated

false

<IP_ADDRESS>
20161005

2016/10/05 09:12:53 exit status 1

2016/10/05 09:12:53 could not open file

Comodo

Infected
Result
Engine
Updated

true
Backdoor.Win32.Lecna.AB
1.1

F-Secure

Infected
Result
Engine
Updated

true
Backdoor.Lecna.AB
11.00 build 79
20160928

Bitdefender

Infected
Result
Engine
Updated

true
Backdoor.Lecna.AB
7.90123
20161005

Sophos

Infected
Result
Engine
Updated

true
Troj/Lecna-Q
5.27.0
20160928

ClamAV

Infected
Result
Engine
Updated

true
Win.Trojan.Backspace-1
0.99.2
20160928

AVG

Infected
Result
Engine
Updated

true
Found Win32/DH{YQMT?}
13.0.3114
20160928

@andr6 can you please run with the debug -D flag. malice -D scan MALICE thanks again.  I most likely won't be able to get to this until later today, but again I really appreciate your help and these bug reports.

The output might be quite large can you create a gist and link it here please?

@blacktop  I believe this might related with some dependencies not installed. Yara, TRID etc...
Should this be manually installed ? Needs to be on the install i suppose

https://gist.github.com/andr6/118e348e790370991a2da811387f5ae6

So this doesn't look like a problem with the malice-engine, it looks like you have a special sample that is crashing some of my plugins.  I am going to download that sample and test on my side, but I believe I will just need to have those containers handle the edge case that that sample is creating.

wait.... you are using the same sample I am in my example!?!  now I'm confused again 😕

@andr6 with respects to your comment on dependancies that is the beauty of malice the plugins are all docker containers that are bundled with all their dependancies.

@andr6 so I JUST created a vagrant machine using the included Vagrantfile, which installs malice on a fresh install of Ubuntu 14.04, and it worked for me with no weird crashes.
Can you confirm your env is set up the same way? Also maybe run a:
$ malice plugin update --all

Maybe you somehow have broken plugins?

@blacktop  Already made 2 fresh installs. Exactly the same issue.
I am using a fresh install of Ubuntu 14.04.5 server.

I am following the install readme for Ubuntu. Is there any other option to install ?
Updated the plugins and still the same.

So in the Vagrantfile I run these commands to install malice:
    echo "Installing Docker================================"
    sudo apt-get install apt-transport-https ca-certificates
    sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
    echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee -a /etc/apt/sources.list.d/docker.list
    sudo apt-get update -q
    sudo apt-get install -y linux-image-extra-$(uname -r)
    sudo apt-get install -y docker-engine
    sudo usermod -aG docker vagrant
    echo "Installing docker-compose ======================="
    curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
    chmod +x /usr/local/bin/docker-compose
    echo "Installing docker-clean ========================="
    curl -s https://raw.githubusercontent.com/ZZROTDesign/docker-clean/v2.0.4/docker-clean | sudo tee /usr/local/bin/docker-clean > /dev/null
    sudo chmod +x /usr/local/bin/docker-clean
    echo "Installing Golang ==============================="
    export GO_VERSION=1.7.1
    export ARCH="$(dpkg --print-architecture)"
    wget https://storage.googleapis.com/golang/go$GO_VERSION.linux-$ARCH.tar.gz -O /tmp/go.tar.gz
    tar -C /usr/local -xzf /tmp/go.tar.gz
    export PATH=$PATH:/usr/local/go/bin
    export GOPATH=/home/vagrant/go
    echo 'export PATH=$PATH:/usr/local/go/bin' >> /home/vagrant/.bashrc
    echo 'export GOPATH=/home/vagrant/go' >> /home/vagrant/.bashrc
    echo 'export PATH=$PATH:/home/vagrant/go/bin' >> /home/vagrant/.bashrc
    echo "Installing Malice ==============================="
    sudo apt-get install -y libmagic-dev build-essential
    sudo -H -u vagrant bash -c 'GOPATH=/home/vagrant/go /usr/local/go/bin/go get -v github.com/maliceio/malice'

Are you running on bare metal or VM?  The only other things I can think of is the remove the malice volume and network and try again?
That is done with these commands:
$ docker volume rm malice
$ docker network rm malice

If you have virtualbox + vagrant installed you can also use the vagrantfile to stand up a VM with malice running in it.
Another thing you could try is just running malice in docker without a go binary.  That is done with this command:
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock \
                -v `pwd`/data/samples:/malice/samples \
                -e MALICE_VT_API=$MALICE_VT_API \
                malice/engine scan befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408

@blacktop Using Workstation. Exposure to vagrant and docker is minimal so it's not helping :(
Removing the malice volume fails.
Error response from daemon: Unable to remove volume, volume still in use: remove malice: volume is in use - [f41992f5a9f5551f8c6c03cfe9116252e9ec18a523720c15175b2e71b5327f43]
Running the standalone command does not work too.
"2016/10/06 22:04:45 Get http://<IP_ADDRESS>:9200/: dial tcp <IP_ADDRESS>:9200: getsockopt: connection refused"

It sounds like you might have some plugins stuck in error states?
You can run these commands to clear them out:
$ docker kill $(docker ps -q); docker rm `docker ps -a -q -f status=exited`
$ docker kill $(docker ps -q); docker rm `docker ps -a -q -f status=created`

No luck. Still same error. Even running standalone .
DEBU[0016] framesize: 12
DEBU[0016] framesize: 64
panic: runtime error: index out of range [recovered]
panic: runtime error: index out of range
goroutine 1 [running]:
panic(0x819620, 0xc420016080)
/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
github.com/urfave/cli.HandleAction.func1(0xc420049be8)
/go/src/github.com/urfave/cli/app.go:478 +0x247
panic(0x819620, 0xc420016080)
/usr/lib/go-1.7/src/runtime/panic.go:458 +0x243
main.ParseSsdeepOutput(0x0, 0x0, 0xc420049608, 0x1)
/go/src/github.com/maliceio/malice-fileinfo/scan.go:74 +0xd7
main.main.func1(0xc42007e780, 0x0, 0x0)
/go/src/github.com/maliceio/malice-fileinfo/scan.go:192 +0x161
reflect.Value.call(0x7fe0a0, 0x8d7be0, 0x13, 0x8980fd, 0x4, 0xc420049ba8, 0x1, 0x1, 0x4ca688, 0x884ba0, ...)
/usr/lib/go-1.7/src/reflect/value.go:434 +0x5c8
reflect.Value.Call(0x7fe0a0, 0x8d7be0, 0x13, 0xc420049ba8, 0x1, 0x1, 0x8d7b28, 0x0, 0x0)
/usr/lib/go-1.7/src/reflect/value.go:302 +0xa4
github.com/urfave/cli.HandleAction(0x7fe0a0, 0x8d7be0, 0xc42007e780, 0x0, 0x0)
/go/src/github.com/urfave/cli/app.go:487 +0x1e0
github.com/urfave/cli.(*App).Run(0xc4200d2000, 0xc42000c3c0, 0x3, 0x3, 0x0, 0x0)
/go/src/github.com/urfave/cli/app.go:245 +0x59b
main.main()
/go/src/github.com/maliceio/malice-fileinfo/scan.go:227 +0x56c
DEBU[0016] Corrupted prefix: []
DEBU[0017] framesize: 12

How did you get that sample?  Is there a way for you to upload it somewhere?

So what is happening is the file-info plugin is failing to ssdeep it.  Can you try this for me:
$ docker run -it --rm -v `pwd`:/malware --entrypoint=bash malice/fileinfo FILE
root@1e365614ba9a:/malware# ssdeep befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
ssdeep,1.1--blocksize:hash:hash,filename
768:15jQ4nVHQaeO379u4XckKVCsknBN9A4hUnDxDiNZ957ZpK0IUUiM95Zdz:15jQ4nVHQaeO9uwckKuBN9A4UnDxcbFi,"/malware/befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408"

^ That is what I see when I run it, but I need to know what happens when you run it.
Thank you.

@blacktop
The sample is available in VT.
root@malice:~# docker run -it --rm -v pwd:/malware --entrypoint=bash malice/fileinfo
root@4893a7144547:/malware# ssdeep befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
ssdeep,1.1--blocksize:hash:hash,filename
768:15jQ4nVHQaeO379u4XckKVCsknBN9A4hUnDxDiNZ957ZpK0IUUiM95Zdz:15jQ4nVHQaeO9uwckKuBN9A4UnDxcbFi,"/malware/befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408"

Haha this makes no sense now because the plugin should be working as you got the exact same thing as me.
Can you try this please:
$ docker run --rm -v `pwd`:/malware malice/fileinfo -t befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408

BANG!!!
docker run --rm -v pwd:/malware malice/fileinfo -t befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
panic: runtime error: index out of range [recovered]
panic: runtime error: index out of range
goroutine 1 [running]:
panic(0x819620, 0xc420014080)
/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
github.com/urfave/cli.HandleAction.func1(0xc420049be8)
/go/src/github.com/urfave/cli/app.go:478 +0x247
panic(0x819620, 0xc420014080)
/usr/lib/go-1.7/src/runtime/panic.go:458 +0x243
main.ParseSsdeepOutput(0x0, 0x0, 0xc420049608, 0x1)
/go/src/github.com/maliceio/malice-fileinfo/scan.go:74 +0xd7
main.main.func1(0xc42008c780, 0x0, 0x0)
/go/src/github.com/maliceio/malice-fileinfo/scan.go:192 +0x161
reflect.Value.call(0x7fe0a0, 0x8d7be0, 0x13, 0x8980fd, 0x4, 0xc420049ba8, 0x1, 0x1, 0x4ca688, 0x884ba0, ...)
/usr/lib/go-1.7/src/reflect/value.go:434 +0x5c8
reflect.Value.Call(0x7fe0a0, 0x8d7be0, 0x13, 0xc420049ba8, 0x1, 0x1, 0x8d7b28, 0x0, 0x0)
/usr/lib/go-1.7/src/reflect/value.go:302 +0xa4
github.com/urfave/cli.HandleAction(0x7fe0a0, 0x8d7be0, 0xc42008c780, 0x0, 0x0)
/go/src/github.com/urfave/cli/app.go:487 +0x1e0
github.com/urfave/cli.(*App).Run(0xc4200e0000, 0xc42000c210, 0x3, 0x3, 0x0, 0x0)
/go/src/github.com/urfave/cli/app.go:245 +0x59b
main.main()
/go/src/github.com/maliceio/malice-fileinfo/scan.go:227 +0x56c

So I hardened the  plugin against weird errors so it should work now.  Can you do a:
malice plugin update fileinfo

For the issue that won't die !!!!! ☠

root@malice:~# docker run --rm -v pwd:/malware malice/fileinfo -t befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
panic: runtime error: slice bounds out of range [recovered]
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
panic(0x819720, 0xc420014090)
/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
github.com/urfave/cli.HandleAction.func1(0xc420051be8)
/go/src/github.com/urfave/cli/app.go:478 +0x247
panic(0x819720, 0xc420014090)
/usr/lib/go-1.7/src/runtime/panic.go:458 +0x243
main.ParseTRiDOutput(0xc42010c070, 0x64, 0xc4200515f8, 0x1, 0x1)
/go/src/github.com/maliceio/malice-fileinfo/scan.go:94 +0x290
main.main.func1(0xc42007e780, 0x0, 0x0)
/go/src/github.com/maliceio/malice-fileinfo/scan.go:209 +0x200
reflect.Value.call(0x7fe0e0, 0x8d7c40, 0x13, 0x89825d, 0x4, 0xc420051ba8, 0x1, 0x1, 0x4ca738, 0x884d20, ...)
/usr/lib/go-1.7/src/reflect/value.go:434 +0x5c8
reflect.Value.Call(0x7fe0e0, 0x8d7c40, 0x13, 0xc420051ba8, 0x1, 0x1, 0x8d7b88, 0x0, 0x0)
/usr/lib/go-1.7/src/reflect/value.go:302 +0xa4
github.com/urfave/cli.HandleAction(0x7fe0e0, 0x8d7c40, 0xc42007e780, 0x0, 0x0)
/go/src/github.com/urfave/cli/app.go:487 +0x1e0
github.com/urfave/cli.(*App).Run(0xc4200d2000, 0xc42000c210, 0x3, 0x3, 0x0, 0x0)
/go/src/github.com/urfave/cli/app.go:245 +0x59b
main.main()
/go/src/github.com/maliceio/malice-fileinfo/scan.go:243 +0x56c

😧 this ... this can't be... it's... it's not possible !?
Can you run this:
docker run -it --rm -v `pwd`:/malware --entrypoint=bash malice/fileinfo -c "ls -lah"

FYI, you are doing this in the directory with the malware sample right?  and that is the name of the sample? befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
Also,
I have also added some debug logging:
Can you do a malice plugin update fileinfo again and try again with the verbose flag set:
docker run --rm -v `pwd`:/malware malice/fileinfo -V -t befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408

root@malice:~# docker run -it --rm -v pwd:/malware --entrypoint=bash malice/fileinfo -c "ls -lah"
total 104K
drwx------  4 root root 4.0K Oct  8 22:31 .
drwxr-xr-x 42 root root 4.0K Oct  8 22:41 ..
-rw-------  1 root root 8.2K Oct  8 22:20 .bash_history
-rw-r--r--  1 root root 3.3K Oct  5 18:40 .bashrc
drwxr-xr-x  3 root root 4.0K Oct  8 22:31 .malice
-rw-r--r--  1 root root  140 Feb 20  2014 .profile
-rw-------  1 root root 4.9K Oct  8 22:31 .viminfo
-rwxrwxrwx  1 root root  40K Oct  5 18:18 befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
-rw-r--r--  1 root root  19K Oct  6 22:31 befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408.gz
drwxr-xr-x  5 root root 4.0K Oct  5 17:00 go
ShadowServer

Not found
2016/10/08 22:44:06 open befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408: permission denied
2016/10/08 22:44:06 exit status 1
2016/10/08 22:44:07 could not open file

F-PROT
The file is under root with full permissions.
Changed the location of file to a different path  /home/xxx
root@malice:/home/xxx# docker run -it --rm -v pwd:/malware --entrypoint=bash malice/fileinfo -c "ls -lah"
total 68K
drwxr-xr-x  3 1000 1000 4.0K Oct  8 22:39 .
drwxr-xr-x 42 root root 4.0K Oct  8 22:46 ..
-rw-------  1 1000 1000   50 Oct  8 22:03 .bash_history
-rw-r--r--  1 1000 1000  220 Oct  5 16:40 .bash_logout
-rw-r--r--  1 1000 1000 3.6K Oct  5 16:40 .bashrc
drwx------  2 1000 1000 4.0K Oct  5 16:41 .cache
-rw-r--r--  1 1000 1000  675 Oct  5 16:40 .profile
-rwxrwxrwx  1 1000 1000  40K Oct  8 22:39 befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
root@malice:/home/xxx# malice scan befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
...snip...
ShadowServer

Not found
2016/10/08 22:47:11 exit status 1
2016/10/08 22:47:11 open befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408: permission denied
...snip...

I think you might have a docker container holding on to the file.
What is the output of this:
docker ps -a

Killed the existing running docker containers
root@malice:~# docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
root@malice:~#
Can find the file ?
root@malice:~# docker run --rm -v pwd:/malware malice/fileinfo -V -t befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
time="2016-10-08T22:57:45Z" level=debug msg="ssdeep lines:  []"
time="2016-10-08T22:57:45Z" level=debug msg="TRiD lines:  [ TrID/32 - File Identifier v2.24 - (C) 2003-16 By M.Pontello  * Error: found no file(s) to analyze! ]"
panic: runtime error: slice bounds out of range [recovered]
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
panic(0x819720, 0xc420016090)
/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
github.com/urfave/cli.HandleAction.func1(0xc4200fbbd8)
/go/src/github.com/urfave/cli/app.go:478 +0x247
panic(0x819720, 0xc420016090)
/usr/lib/go-1.7/src/runtime/panic.go:458 +0x243
main.ParseTRiDOutput(0xc42010e000, 0x64, 0xc4200fb5e8, 0x1, 0x1)
/go/src/github.com/maliceio/malice-fileinfo/scan.go:97 +0x3c0
main.main.func1(0xc42008c780, 0x0, 0x0)
/go/src/github.com/maliceio/malice-fileinfo/scan.go:212 +0x200
reflect.Value.call(0x7fe0e0, 0x8d7ca0, 0x13, 0x89825d, 0x4, 0xc4200fbb98, 0x1, 0x1, 0x4cab08, 0x884d20, ...)
/usr/lib/go-1.7/src/reflect/value.go:434 +0x5c8
reflect.Value.Call(0x7fe0e0, 0x8d7ca0, 0x13, 0xc4200fbb98, 0x1, 0x1, 0x8d7be8, 0x0, 0x0)
/usr/lib/go-1.7/src/reflect/value.go:302 +0xa4
github.com/urfave/cli.HandleAction(0x7fe0e0, 0x8d7ca0, 0xc42008c780, 0x0, 0x0)
/go/src/github.com/urfave/cli/app.go:487 +0x1e0
github.com/urfave/cli.(*App).Run(0xc4200e0000, 0xc42000c1c0, 0x4, 0x4, 0x0, 0x0)
/go/src/github.com/urfave/cli/app.go:245 +0x59b
main.main()
/go/src/github.com/maliceio/malice-fileinfo/scan.go:246 +0x56c
root@malice:~# docker run -it --rm -v pwd:/malware --entrypoint=bash malice/fileinfo -c "ls -lah"
total 104K
drwx------  4 root root 4.0K Oct  8 22:31 .
drwxr-xr-x 42 root root 4.0K Oct  8 22:58 ..
-rw-------  1 root root 8.2K Oct  8 22:20 .bash_history
-rw-r--r--  1 root root 3.3K Oct  5 18:40 .bashrc
drwxr-xr-x  3 root root 4.0K Oct  8 22:31 .malice
-rw-r--r--  1 root root  140 Feb 20  2014 .profile
-rw-------  1 root root 4.9K Oct  8 22:31 .viminfo
-rwxrwxrwx  1 root root  40K Oct  5 18:18 befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
-rw-r--r--  1 root root  19K Oct  6 22:31 befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408.gz
drwxr-xr-x  5 root root 4.0K Oct  5 17:00 go
root@malice:~# pwd
/root
root@malice:~# file befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408: PE32 executable (GUI) Intel 80386, for MS Windows

I am pretty sure this is because you are running as root and the plugins try to step down as the user malice before running which doesn't have perms to access the file, which is owned by root on your host.
Try this:
$ docker run -it --rm -v `pwd`:/malware --entrypoint=bash malice/fileinfo

root@4893a7144547:/malware# /bin/info -V -t befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408

So that works and produces the expected details of the file.
What would be recommended to avoid this ? Setting up a different user ? Running the file from a different folder ?

Well running as root is pretty damn scary especially when dealing with real malware.  I am assuming you are in a VM so don't care.
What I am going to do to handle this is check at run time that the files are owned by malice by running: chown -R malice:malice /malware right before the plugin runs.
Would that break anything else for you?
I am building a new version of the plugin now so you should do another update and try again and see it that fixes things for you.  It is so weird that it doesn't fail for the other plugins, but maybe the alpine docker images behave differently than the debian:wheezy ones do.  Regardless, this is good to know and thank you for your help.
Hopefully we can close this bastard of an issue now.

.It's "dangerous " that is running as root but as you said it's a VM's on a controlled environment with the traffic being monitored.
No it won't break anything for me so i will put the same kind of setup/directory .
No , thank you  for the hard work and patience on this. Glad that we got to the bottom on the issue. Feel free to close this fecker. Let me know once update is done .

update is done, please try once again full malice plugin update fileinfo and malice scan

Oh man.....
ShadowServer

Not found
2016/10/08 23:53:45 exit status 1
chown: changing ownership of /malware/befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/_state/state-11.st': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/_state': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/translog/translog-12.tlog': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/translog/translog-11.tlog': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/translog/translog-12.ckp': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/translog/translog.ckp': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/translog/translog-11.ckp': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/translog/translog-13.tlog': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/translog': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/_state/state-11.st': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/_state': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/index/_0.cfs': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/index/segments_5': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/index/_0.cfe': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/index/_0.si': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/index/write.lock': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0/index': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana/0': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/.kibana': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/_state/state-19.st': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/_state': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/translog/translog-23.tlog': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/translog/translog-24.tlog': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/translog/translog-23.ckp': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/translog/translog.ckp': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/translog': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/_state/state-11.st': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/_state': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_5p.cfs': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w.fdx': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_5y.si': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_5p.si': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_56_1.liv': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w.nvm': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_60.si': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w.fdt': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_60.cfs': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w_Lucene50_0.tip': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_56.si': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w_Lucene50_0.doc': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_5y.cfe': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_5y.cfs': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w_Lucene54_0.dvm': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_60_1.liv': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w_Lucene50_0.pos': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_5p.cfe': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w_Lucene50_0.tim': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_5f.si': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/write.lock': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w.fnm': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_56.cfe': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w.nvd': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w.si': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_5f.cfs': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_56.cfs': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_60.cfe': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_5f.cfe': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/segments_g': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index/_4w_Lucene54_0.dvd': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0/index': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice/0': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/indices/malice': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/indices': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/node.lock': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0/_state/global-11.st': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes/0/_state': Read-only file system chown: changing ownership of /malware/docker-elk/nodes/0': Read-only file system
chown: changing ownership of /malware/docker-elk/nodes': Read-only file system chown: changing ownership of /malware/docker-elk': Read-only file system
chown: changing ownership of `/malware': Read-only file system
2016/10/08 23:53:47 could not open file

:rage3:

Mate closing this fecker... Will do a correct install of malice tomorrow.
Thanks


Need to read Heart Rate, Location and Daily Steps Data using Passive data client every hour

I am new to the platform, trying to read Heart Rate, Location Coordinates, and Daily Steps data using PassiveListenerService, but i need to be able to read this data every Hour from Galaxy Watch 5, not sure how is that possible from Passive Data sample,
I am not sure if there is a way to set the Data reading frequency (Like read Heart Rate, Location Coordinates and Daily Steps every 1 to 2 hours)?
Also what is the difference in PassiveData and PassiveDataCompose sample Projects?

Hello,
There is no way to set the update frequency within PassiveMonitoringClient itself. You would need to set that up separately using something like WorkManager to batch the data to your app (from wherever its stored) at the frequency of an hour.
PassiveData and PassiveDataCompose have the same functionality, but one is built using Views and the other using Compose.

Hello,
There is no way to set the update frequency within PassiveMonitoringClient itself. You would need to set that up separately using something like WorkManager to batch the data to your app (from wherever its stored) at the frequency of an hour.
PassiveData and PassiveDataCompose have the same functionality, but one is built using Views and the other using Compose.

Instead of WorkManager, if Samsung Health App is collecting that health data every 10 minutes, that data will accumulate and be read in PassiveMonitoringClient?

You can read Heart Rate and Steps written by Samsung Health from Health Connect . The only caveat is that Samsung Health may not write the data to Health Connect as frequently as every 10 minutes.

You can read Heart Rate and Steps written by Samsung Health from Health Connect . The only caveat is that Samsung Health may not write the data to Health Connect as frequently as every 10 minutes.

What i am trying to achieve is reading HR(bpm), Daily Steps(count) ,Location (coordinates) directly on wearOS app and send to an API hosted on a cloud, from my tests with Health Connect, it is Mobile only App and API. So not sure if what i am trying to do is even possible with Health Connect API,
My Standalone WearOS App should be able to send data directly to cloud via API, without needing phone.
Now back to original question, what triggers PassiveMonitoringClient that there is new data to be read?

Frequency of data return intervals depends on the device and the data type. You can find more information here. Factors for what can trigger the data to be sent include the sensor buffers being full, or the user interacting with the device.
If you need steps frequently, I would suggest using Steps instead of Daily Steps since Daily Steps is only returned at midnight.
If you use ExerciseClient instead of PassiveMonitoringClient, the data would be sent more frequently, but it would require your app to be running a foreground service the entire time you're consuming data.

Frequency of data return intervals depends on the device and the data type. You can find more information here. Factors for what can trigger the data to be sent include the sensor buffers being full, or the user interacting with the device.
If you need steps frequently, I would suggest using Steps instead of Daily Steps since Daily Steps is only returned at midnight.
If you use ExerciseClient instead of PassiveMonitoringClient, the data would be sent more frequently, but it would require your app to be running a foreground service the entire time you're consuming data.

You mentioned WorkManager to schedule collection of data at regular intervals , what i understood from that earlier post that  PassiveMonitoringClient within my app will read data when WorkManager (in a separate app) runs a scheduled event as specified interval, please confirm if that is correct? My App will be kind of background app running to collect HR, Steps and location data every hour or so and posting to an API.

@breanatate do you know if we add additional functionality to Passive Data sample app ( like Reading or Writing to an API every few hours) would the app still be running in the background or WearOS 4 will kill/suspend the app?


chore: Remove runtime resource name validation

Codecov Report
Patch coverage has no change and project coverage change: -1.07 :warning:

Comparison is base (87c93e3) 54.72% compared to head (927489d) 53.66%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #445      +/-   ##
===========================================
- Coverage    54.72%   53.66%   -1.07%
===========================================
  Files           25       25
  Lines         1692     1692
===========================================
- Hits           926      908      -18
- Misses         696      708      +12
- Partials        70       76       +6

Flag
Coverage Δ

unittests
53.66% <ø> (-1.07%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Feature/admin area

Admin area implementation with user management section
Some of the elements are using Link, Button components
To access admin area user must be admin: true
There is no link in navigation to admin area therefore you must go to /admin/users to access it

Lots of decisions had to be taken here. I want to thank you for taking this on and putting in such an effort! This was never going to be one of the quick and easy ones. It's also the first time we've taken our own muffibook medicine and faced it's quirks and rough edges.
There are a few things I would like to improve:

I think we should generally only use react_component when it's really necessary (for things that need state - like the dismissable alerts - I'll make a task to clarify somewhere)
I would like a designer's eye on the tables (these might end up getting copied a LOT in projects)
I'm not entirely sure what to think about the current authorization for admin. It's simple, but it also feels like we are working around how pundit is meant to be implemented.

And there are a couple of things we'll need to figure out how to solve in muffibook:

Should we have a link component or is it overkill?
Buttons should have a LinkTo prop, so that they can be links.

At the same time, this is "good enough" for a start, so I don't think it would be a problem to merge it.
Still I suggest that pair on this soon to get it past the finish line.

I believe this is good enough now.
Here's a quick gif of it in action (don't mind the poor compression on the background, it IS solid grey):

I'm merging this, we can easily implement eventual feedback later.


Swift 4

Updated all targets to Swift 4
Updated SwiftGen build script to latest syntax
Fixed some typos

thanks


Add Devcontainer Configuration

We would like to add Devcontainer settings to help new developers start development smoothly.
This will help maintain consistency in project dependencies and environment settings, streamlining the development process.
Details of Improvement

Add the Devcontainer configuration file to the project.
Include necessary dependencies and tools in the container image.
Add instructions on how to use Devcontainer to the documentation.

Issues of concern
If we provide devcontainer with skeet cli, skeet cli will also be required in the container image created with devcontainer, which feels redundant.
Related Resources
For Devcontainer configuration, we've referred to the following resources:

VS Code Devcontainer Documentation
Sample Devcontainer Configuration

As a sample I present the devcontainer.json for Skeet Next.js(React) - Firestore  that I am using
.devcontainer/devcontainer.json is created in the project folder created with the skeet create command.
With this devcontainer setting, you can create the following environment.

node v18
java 17
firebase tool
gcloud cli
gh cli
docker cli
recommend minimum vscode plugin

es7-react-js-snippets
vscode-tailwindcss
prettier-vscode
vscode-eslint

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
	"name": "Skeet Next.js(React) - Firestore",
	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
	"image": "mcr.microsoft.com/devcontainers/typescript-node:1-18-bullseye",
	"features": {
		"ghcr.io/devcontainers/features/java:1": {},
		"ghcr.io/devcontainers/features/github-cli:1": {},
		"ghcr.io/devcontainers-contrib/features/firebase-cli:2": {},
		"ghcr.io/dhoeric/features/google-cloud-cli:1": {},
		"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
	},
	// Features to add to the dev container. More info: https://containers.dev/features.
	// "features": {},
	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	// "forwardPorts": [],
	// Use 'postCreateCommand' to run commands after the container is created.
	"postCreateCommand": "sudo npm i -g @skeet-framework/cli",
	// Configure tool-specific properties.
	"customizations": {
		// Configure properties specific to VS Code.
		"vscode": {
			// Add the IDs of extensions you want installed when the container is created.
			"extensions": [
				"dsznajder.es7-react-js-snippets",
				"bradlc.vscode-tailwindcss",
				"esbenp.prettier-vscode",
				"dbaeumer.vscode-eslint"
			]
		}
	}
	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
	// "remoteUser": "root"
}

this issue move to https://github.com/elsoul/skeet-next/issues/87


Fix #338, Parse error message to super constructor

Acceptance Checklist

[x] Story: Code is focused on the linked stories and solves a problem (#338)
One of:

[ ] For Bugs: A unit test is added or an existing one modified
[ ] For Features: New unit tests are added covering the new functions or modifications

[ ] Code Documentation changes are included for public interfaces and important / complex additions
[ ] External Documentation is included for API changes, or other external facing interfaces

Review Checklist

[x] The code does not duplicate existing functionality that exists elsewhere
[x] The code has been linted and follows team practices and style guidelines
[x] The changes in the PR are relevant to the title

changes not related should be moved to a different PR

[ ] All errors or error handling is actionable, and informs the viewer on how to correct it

For more details see #338 .

@botovance

@iamart will you merge it?


DuckDuckGo !cdnjs search not working

I love the new look of the website, although i dont like how when i search in duckduckgo !cdnjs ____ that it just takes me to the homepage, whereas before it would actually search my query on cdnjs
thank you.

Hm, that sounds odd. I'm not sure what the internals are for how DuckDuckGo is searching cdnjs, but we publish the correct metadata for search forms. If this persists past the final rollout of the new site I'll investigate further.

Hi, I clicked the link that said go back to the classic website, and now the link that says go back to the beta website doesn't work anymore.
thanks.

From: Matt (IPv4) Cowley<EMAIL_ADDRESS>Sent: 11 August 2020 08:58
To: cdnjs/static-website<EMAIL_ADDRESS>Cc: njberman<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [cdnjs/static-website] Feedback (#34)
Hm, that sounds odd. I'm not sure what the internals are for how DuckDuckGo is searching cdnjs, but we publish the correct metadata for search forms. If this persists past the final rollout of the new site I'll investigate further.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/cdnjs/static-website/issues/34#issuecomment-671792504, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQGMEWQINN3I4AVZNVDE5ALSAD235ANCNFSM4P2XQA4A.

After clicking on the link to go back to the beta site, you may then need to refresh the page manually.

thanks,
I have just tried that and it just stayed on the classic website,
thanks for your help.

From: Matt (IPv4) Cowley<EMAIL_ADDRESS>Sent: 11 August 2020 09:08
To: cdnjs/static-website<EMAIL_ADDRESS>Cc: njberman<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [cdnjs/static-website] DuckDuckGo !cdnjs search not working (#34)
After clicking on the link to go back to the beta site, you may then need to refresh the page manually.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/cdnjs/static-website/issues/34#issuecomment-671797052, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQGMEWQQKIT5K2F6HXOKUPTSAD37ZANCNFSM4P2XQA4A.

I cannot reproduce this behaviour, are you blocking cookies? Accessing the beta site requires a cookie named b being set to equal 1.


Pass responseHandler to the error interceptor - fixes #528

When using the errorInterceptor there is no way to continue the request as if nothing had happened. For that reason I created this PR.
Restangular.setErrorInterceptor(function(response, deferred, responseHandler) {
    // The interceptor now receives a third argument

    $http(response.config).then(responseHandler, deferred.reject);
    return false;
}

Thanks and keep up the good work :+1:

This is not included in release 1.4.0. I manually merged 1.4.0 with this commit, and it's working as expected. Documentation is ahead of the latest released version.

I was pulling my hair until this..
Is there any prevision date to get this on a regular release?

Until it is released: When using bower you can reference the commit of the merge:
"dependencies": {
    "restangular":      "https://github.com/mgonto/restangular.git#84882b5e8e7be047a013e43d9a36e34946c6c2db"
}

I just did this test and it is NOT resolving my promises...
//at run()
Restangular.setErrorInterceptor(function(response, deferred, responseHandler){
    $timeout(function(){
        $http(response.config).then(responseHandler, deferred.reject);
    }, 4000);
});
//at controller
$scope.test = function(){
    Restangular.all("domain").getList().then(function(data){
        console.log("got data!");
        $scope.dom = data;
    });
};

I successfully got responseHandler under errorInterceptor but this function doesn't seems to trigger anything... (ex: 'got data!' at console)
I'm using chrome dev tools with a low timeout delay to force the request to timeout, than, I change the network (under devtools) to a healthy network. The $http request is fired normally and it is returning data.


Save volume level on Re-execution of Streamlink

It's really annoying changing the volume back down. But I don't want the volume to be set down by default only on that instants of watching stream.

It's really annoying changing the volume back down. But I don't want the volume to be set down by default only on that instants of watching stream.

What do you mean? I use it on windows with VLC. I don't have this issue. What player are you using? Please leave more information in the future.

It's really annoying changing the volume back down. But I don't want the volume to be set down by default only on that instants of watching stream.

What do you mean? I use it on windows with VLC. I don't have this issue. What player are you using? Please leave more information in the future.

im using mpv

Im using mpv on windows

As a temporary solution you could edit MPV's config file. Adjusting the default volume to a level you wouldn't have to turn up. I use MPV on my Linux systems and I don't have this issue. So it could be something with your overall configuration. You could also try VLC on windows.
@2bc4 Would be able to troubleshoot more so. You could also fork this and add the functionality you're wanting yourself. However I think this is a config issue on your end. Maybe you're using a different player input? Use standard input if so and see if it differs.
Good luck.

Unfortunately this isn't realistically possible from Streamlink. Streamlink doesn't know what the player volume is, and there isn't a common API to query it.
mpv doesn't save the volume but there's a few mpv plugins that can do that for you. See https://github.com/mpv-player/mpv/issues/1913.

Unfortunately this isn't realistically possible from Streamlink. Streamlink doesn't know what the player volume is, and there isn't a common API to query it.
mpv doesn't save the volume but there's a few mpv plugins that can do that for you. See mpv-player/mpv#1913.

I use MPV on my Linux systems and I don't have this issue.

Likely because pulseaudio/pipewire is restoring the last volume for mpv.

ok thanks

I prefer mpv more customizability and the ui is better


Organize Imports adding semicolons despite semi:false

This is not a good solution when you add eslinting to the mix.  I end up with semicolons in my imports.
https://github.com/Microsoft/vscode/issues/49223#issuecomment-387146776

Duplicate of https://github.com/Microsoft/TypeScript/issues/19882


Added web-bluetooth characteristic properties sample

This sample simply features new Bluetooth characteristics now available in Canary :bird:
R=@jeffposnick

:+1: in general.
Based on your understanding of the API, would it make sense to break out the <option value="alert_notification">, etc. values into a separate partial template that you'd then include in multiple samples? I'm starting to see repetition across multiple examples. My lack of familiarity with the API makes me unsure of how boilerplate those values are, though.

I've added files for each datalist as you suggested.
Thank you!

:+1:


Support multiple deps per layer

Fixes #422

Hey @andremarianiello,
thank you very much for your contribution! Unfortunately something doesn't seem quite right yet.
Also, please make sure to include a test that covers the fix — convert_test.go is probably a good place for that.
Once again, thank you, and please let me know if you have any questions or run into any issues!

LGTM. Thanks for your excellent contribution!


global: multi worker processes

I think you need to change some unit tests: https://travis-ci.org/github/inspirehep/inspirehep/jobs/703491286#L394


[NO QA] Fix crash

Details

Follow up #4194
Fixed Issues

$ Crash

@MonilBhavsar This PR is very urgent and should go with #4194 on staging.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@MonilBhavsar next time we need to CP something to staging I think we can add the CP Staging label. This PR must be sent to staging.

Oh yeah but that label can only be applied before the merge happens.

JK this did not need to go to staging. Please ignore me.

Sorry @MonilBhavsar you did everything right 😄

🚀 Deployed to staging         in version: 1.0.81-5🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production         in version: 1.0.82-7🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Added direct link to the App Store

Hi! Thank you for that idea.
Unfortunately, I can't accept your PR, as you linked some foreign resources, but don't worry about it. I already added respecitve info in my working copy of the README.md which will get pushed soon.


Update CLI test githhub action based on go delegator

Description
go delegator has different migration and launch commands, updates based on recent migration
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Deployment

[ ] Should publish npm package
[ ] Should publish Docker image

@coderabbitai review


Aggregation API: Local echo

Update the SDK to improve UX responsiveness by using local echo.

Kamino cloned this issue to vector-im/riotX-android

Reaction local echo TODO:

[ ] Queue reaction local echoes from MXAggregatedReactionsUpdater (or in MXRoom.outgoingMessages ?).
[ ]  When receiving a reaction remote echo verify if a local echo reaction is matching by checking if:

Event sender id are equals
m.relates_to properties are equals

[ ]  When a local echo reaction is added or removed -[MXAggregatedReactionsUpdater notifyReactionCountChangeListenersOfRoom:event:reactionCount:isNewReaction:] should be called.
[ ]  Handle resend and cancel of reaction local echoes. Currently message local echoes are handled in MXKRoomDataSource with resendEventWithEventId:success:failure: and removeEventWithEventId: methods.
[ ]  When asking for aggregated reactions on an event we should return remote and local echoes. -[MXAggregatedReactions aggregatedReactionsOnEvent:inRoom:] method should be updated.
[ ]  User interaction on a reaction should be disabled if it contains a pending local echo. A property hasLocalEcho could be added on MXReactionCount. We could use an alpha of 30% on the reaction to show this disabled status. To limit react/unreact burst we could also debounce and wait until user stop to tap on a reaction during 1 sec.
[ ]  React on a local echo event should be avoided.

Note: Reaction aggregation MXEvent.unsignedData.relations are not used for the moment to avoid counting issue.


Remove "Upload URL" from import modals

Continuation from https://github.com/iver-wharf/wharf-api/issues/56
The Provider's upload URL is unused. It can safely be removed throught the repo, with no hindsight on backward compatibility.
We can add it back later if it turns out we can make use of it.

Closed by #43


ELF files are compiled without stack protector

A scanning tool reported that elf file (libshinobicharts-android.so) is compiled with -fstack-protector only

Hi.
Thank you for raising this issue. Since this project was created, shinobicharts for Android now supports Android Studio by default. The library itself has had many releases since this project was created. We recommend you download the latest version of shinobicharts for Android, along with the latest version of Android Studio. Shinobicharts for Android can be obtained as a free 30 day trial from shinobicontrols.com. If you experience any issues following this, please get in touch at<EMAIL_ADDRESS>Thanks.


Support Identity v3

Hi!
Since the release of Openstack Havana the preferred version of Identity to use is v3. Some cloud providers have now migrated to only supporting v3 for token generation to get support for domains.
Currently the Nightcrawler Swift does not work with providers that require support for Identity v3.
Would it be possible to add support for Identity v3 in this project as well?

@ggarnier

If you need some credentials to test your implementation with, I can provide that.


Define product tests suites as code

Since we are defining test environments as code I think that we should do the same with product test suite definitions.
This PR changes suite definitions from bash scripts to Java code, tying environment implementation with test group definitions, exclusions and inclusions, and other configuration properties.
I've added suite run and suite list commands to the presto-product-tests-launcher/bin/run-launcher.
Usage:
presto-product-tests-launcher/bin/run-launcher suite run --suite suite-2 --suite-config config-cdh5

2020-08-20T16:55:55.981+0200	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	Starting suite 'suite-2' with config 'ConfigCdh5{hadoopBaseImage=Optional[prestodev/cdh5.15-hive], dockerImagesVersion=Optional[30], excludedGroups=[skip_on_cdh, iceberg], excludedTests=[], temptoEnvironmentConfigFile=Optional[/dev/null]}' and test runs:
2020-08-20T16:55:55.982+0200	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * environment 'singlenode': groups: [hdfs_no_impersonation, hive_compression], excluded groups: [], tests: [], excluded tests: []
2020-08-20T16:55:55.982+0200	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * environment 'singlenode-kerberos-hdfs-no-impersonation': groups: [storage_formats, hdfs_no_impersonation], excluded groups: [], tests: [], excluded tests: []
2020-08-20T16:55:55.982+0200	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * environment 'singlenode-hdfs-impersonation': groups: [storage_formats, cli, hdfs_impersonation], excluded groups: [], tests: [], excluded tests: []
2020-08-20T16:55:55.982+0200	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * environment 'singlenode-kerberos-hdfs-impersonation': groups: [storage_formats, cli, hdfs_impersonation, authorization, hive_file_header], excluded groups: [], tests: [], excluded tests: []
2020-08-20T16:55:55.983+0200	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * environment 'singlenode': groups: [hive_with_external_writes], excluded groups: [], tests: [], excluded tests: []
2020-08-20T16:55:55.983+0200	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	Running test run SuiteTestRun{environment=singlenode, groups=[hdfs_no_impersonation, hive_compression], excludedGroups=[], tests=[], excludedTests=[]} with config ConfigCdh5{hadoopBaseImage=Optional[prestodev/cdh5.15-hive], dockerImagesVersion=Optional[30], excludedGroups=[skip_on_cdh, iceberg], excludedTests=[], temptoEnvironmentConfigFile=Optional[/dev/null]}
2020-08-20T16:55:55.999+0200	INFO	main	io.prestosql.tests.product.launcher.cli.TestRun	Pruning old environment(s)
2020-08-20T16:55:55.999+0200	INFO	main	io.prestosql.tests.product.launcher.env.Environments	Shutting down previous containers

presto-product-tests-launcher/bin/run-launcher suite list
Available suites:
suite-1
suite-2
suite-3
suite-5
suite-6-non-generic
suite-7-non-generic
suite-8-non-generic
suite-tpcds

Available suite configuration profiles:
config-cdh5
config-empty
config-hdp3

TODO: Use test groups' constant names in a suite definition.

When a suite fails on CI, I need to understand which test run was the failing one (this isn't trivial today, but doable).
Then I run it locally (test run, not the whole suite), or modify parameters to run selected tests only.
How will this be facilitated now?
Same applies when developing a new test in case when it's not possible to run it from IDE. (cc @hashhar for his recent experience with this)

When a suite fails on CI, I need to understand which test run was the failing one (this isn't trivial today, but doable).

Yes, you will get exact information about failed test runs (actually you'll get a nice summary at the end of the suite).
Each test is marked in the logs as it was when invoked from bash script.

Then I run it locally (test run, not the whole suite), or modify parameters to run selected tests only.
How will this be facilitated now?

You can still run the environment with tempo args as before.

Same applies when developing a new test in case when it's not possible to run it from IDE. (cc @hashhar for his recent experience with this)

How will this be facilitated now?

You can still run the environment with tempo args as before.

Sure. However, today i know how to do it (copy & paste from suite script into my terminal).
How will I know that after the change?

One change I can think of is to remove the test run command printed when a test starts from https://github.com/prestosql/presto/pull/4895#issuecomment-678363287 and instead print it only in case of a failed test run (if possible). Today it's difficult to identify which PT failed in a CI run because there's no easy term to grep for in the logs (or maybe there is but I don't know it). For the successful runs we already have the new describe command.
Also, how are we validating nothing got mistranslated from the shell script PTs to Java PTs? Are there any PT reports we can use to compare between both?

Actually @hashhar, after suite is completed, there is a summary of test runs executed with the status attached:
Test runs summary (7 passed, 0 failed):
2020-08-25T08:36:34.3313593Z 2020-08-25T08:36:34.330Z	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * 'SuiteTestRun{environment=singlenode-ldap, groups=[ldap], excludedGroups=[], tests=[], excludedTests=[]}' PASSED in 3.41m
2020-08-25T08:36:34.3314457Z 2020-08-25T08:36:34.330Z	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * 'SuiteTestRun{environment=singlenode-ldap-insecure, groups=[ldap], excludedGroups=[], tests=[], excludedTests=[]}' PASSED in 2.20m
2020-08-25T08:36:34.3315008Z 2020-08-25T08:36:34.330Z	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * 'SuiteTestRun{environment=singlenode-ldap-referrals, groups=[ldap], excludedGroups=[], tests=[], excludedTests=[]}' PASSED in 2.18m
2020-08-25T08:36:34.3315582Z 2020-08-25T08:36:34.330Z	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * 'SuiteTestRun{environment=singlenode-kerberos-kms-hdfs-no-impersonation, groups=[storage_formats], excludedGroups=[], tests=[], excludedTests=[]}' PASSED in 6.43m
2020-08-25T08:36:34.3316162Z 2020-08-25T08:36:34.330Z	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * 'SuiteTestRun{environment=singlenode-kerberos-kms-hdfs-impersonation, groups=[storage_formats], excludedGroups=[], tests=[], excludedTests=[]}' PASSED in 5.76m
2020-08-25T08:36:34.3316800Z 2020-08-25T08:36:34.330Z	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * 'SuiteTestRun{environment=singlenode-cassandra, groups=[cassandra], excludedGroups=[], tests=[], excludedTests=[]}' PASSED in 2.92m
2020-08-25T08:36:34.3317344Z 2020-08-25T08:36:34.330Z	INFO	main	io.prestosql.tests.product.launcher.cli.SuiteRun	 * 'SuiteTestRun{environment=singlenode-kafka, groups=[kafka], excludedGroups=[], tests=[], excludedTests=[]}' PASSED in 1.39m

Other than that I've just checked if a number of test runs invocations are equal using sift (https://sift-tool.org/):
@master sift 'run-launcher test run' -x sh | wc -l 30
@this PR sift 'testOnEnvironment(.*.class)' -x java | wc -l 30

@losipiuk addressed review 👍🏻

please let me know after you rebase, and squash the commit which removes comments.

@losipiuk done

https://github.com/prestosql/presto/pull/4891

Woohoo :)


Change this title, Poorly formatted Issues will not be handled.

spotify downloader or youtube music ? :/

Can you not even put enough effort to change the title? There was a template for a reason :< Also GitHub Discussions is out, ask questions like this there.
Again, if you had used a bit of effort and looked around, README exists. It uses the Spotify API to look up songs and then downloads them off of YouTube(and YouTube Music is literally the same thing). The thing that is unique about this project is that it fills in metadata and can automatically download playlists, albums, and artists(even though there are a lot of bugs).
Please be more respectful to the creators putting days into making free apps for your consumption next time. Both parties will be happier :)

sorry man i was not in mood when put that comment and im noob on github and next time I will be more careful :)


Strict variable expansion

We've run into a bit of confusion (here https://github.com/KSF-Media/tuttifrutti/issues/12) with identifier parsing in our log module when using template to support variable interpolation.
While the actual issue comes from the lack of documentation in our library. I think we could eliminate such confusion by adding a "strict" mode in which, $foo won't be allowed, only ${foo}. It will also eliminate the need to escape $ with $$.
Such functionality could be added in backwards compatible way by introducing a templateStrict :: Text -> Template that has such behavior.

I was thinking about this for a while. My idea was to create new module Data.Text.Template.Parse that would expose following:
data ParseOptions = ParseOptions
    { bracketsRequired :: Bool
    , escapeChar :: Char
    }

data ParseError = ParseError
    { sourceLocation :: Maybe SrcLoc
    -- ^ Location of template parsing function in Haskell source code, if supported.
    , templateLocation :: (Int, Int)
    -- ^ Location in the template where parsing error was encountered.
    }

parse :: HasCallStack => ParseOptions -> Text -> Either ParseError Template
parse = parseImpl

Would something like this work for you as well?


linter: Add kiagnose's linter configuration

Add the linter configuration from the kiagnose library.
Signed-off-by: Orel Misan<EMAIL_ADDRESS>

Change: Updated the commit message.


Fixed issue in SAMLWayfless postprocessing with nonetype patron

Description

Ensured none type patrons are not accessed while trying to post process a fulfilment
Motivation and Context

Trying to fulfil a license without a patron (for open access licenses) would throw an error.
No open access works were fulfil-able due to this
How Has This Been Tested?

A new test case has been written targeting fulfilment post processing without any valid data
for collections not having an wayfless template url
Checklist

[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

Nice! I'm glad this was so straightforward.


Cannot write after adress 0x8000800

[ ] Programmer/board type: Stlink/v2
[ ] Programmer firmware version: 2.27.15
[ ] Operating system: Linux - Kubuntu 17.04
[ ] Stlink tools version : v1.3.1-19-g55c0572
[ ] Stlink commandline tool name: st-flash
[ ] Target chip: STM32F072CBT6
[ ] Git clone : 55c0572, master branch

I try to load my code to chip but when program try to write after 0x8000800 writing is canceled due to error. Code is working because when I use Windows official ST-LINK UTILITY and program the chip all is working fine. Different code on same chip has same result. With this Stlink i programm STMF030C8T6 and all is working. So isn't by programmer or code.
INPUT:
st-flash erase

OUTPUT
st-flash 1.3.1-19-g55c0572
2017-06-01T22:58:12 INFO src/common.c: Loading device parameters....
2017-06-01T22:58:12 INFO src/common.c: Device connected is: F07x device, id 0x20016448
2017-06-01T22:58:12 INFO src/common.c: SRAM size: 0x4000 bytes (16 KiB), Flash: 0x20000 bytes (128 KiB) in pages of 2048 bytes
Mass erasing

INPUT:
st-flash write DAC.bin 0x08000000

OUTPUT
st-flash 1.3.1-19-g55c0572
2017-06-01T22:58:35 INFO src/common.c: Loading device parameters....
2017-06-01T22:58:35 INFO src/common.c: Device connected is: F07x device, id 0x20016448
2017-06-01T22:58:35 INFO src/common.c: SRAM size: 0x4000 bytes (16 KiB), Flash: 0x20000 bytes (128 KiB) in pages of 2048 bytes
2017-06-01T22:58:35 INFO src/common.c: Attempting to write 3788 (0xecc) bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x08000800 erased
2017-06-01T22:58:35 INFO src/common.c: Finished erasing 2 pages of 2048 (0x800) bytes
2017-06-01T22:58:35 INFO src/common.c: Starting Flash write for VL/F0/F3/F1_XL core id
2017-06-01T22:58:35 INFO src/flash_loader.c: Successfully loaded flash loader in sram
  0/1 pages written2017-06-01T22:58:35 WARN src/common.c: Failed to unlock flash!
2017-06-01T22:58:39 ERROR src/flash_loader.c: flash loader run error
2017-06-01T22:58:39 ERROR src/common.c: stlink_flash_loader_run(0x8000800) failed! == -1
stlink_fwrite_flash() == -1

Thank you,
TheColonelYoung

It seems the flash loader only erases the flash pages start at addr: 0x08000800. Also the flash loader fails by trying to unlock the flash. Could you try with a little older version from master? Maybe the unlocking is broken for your target.

With older version i got nearly same error but adress is 0x8000000. On other chips works.

Please verify if the problem still exists in Release v1.6.0.

@TheColonelYoung: Please retry with Release 1.4.0. This may have been fixed with PR 595.
We need to verify this.

Now I don't have access to specific chip which I used during creating this issue. But I tried to flash another F0 target and it was working correctly. I don't know when (or if) I will be able to test original chip. Tested with releases 1.4.0 and 1.6.0 on STM32F071RB.

The mentioned commit 55c057296ad15fa6de9909206098bd4eed8f6311 is the last before v1.4.0 which targets F0 devices specifically. As you tested with a very similar chip of the same series and verified that v1.4.0 is working, implies that this was not a problem with the tools. As based on the error message and as mentioned before, you seem to have run into a flash unlocking problem regarding the specific chip used, which is very likely not a general problem. Thank you very much for testing. :1st_place_medal: :+1: I'll close this now, as it is not a bug in the tools.


add AV1 boxes

@sunfish-shogi
These boxes allow to support AV1 and have been tested with both Chrome and Firefox.
Standard: https://aomediacodec.github.io/av1-isobmff

Thank you!


Add flag and country name display component

Description

Developed a reusable component for displaying a country's flag and its corresponding name.
This component can be used in multiple sections of the app where user interaction involves selecting or viewing countries, such as in listings or profile sections.

Type of Change

[x] Feature

Checklist

[x] My code follows the project’s coding style
[x] I have performed a self-review of my code
[x] I have added tests that prove my feature works
[x] My changes generate no new warnings or errors
[x] I have checked my code and corrected any misspellings

Additional Information
This component provides a visual display for country selection and identification, enhancing the user experience for international functionality.

:tada: This PR is included in version 1.34.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Implement use of flags

Flags are not being used yet, but options were implemented, as explained on README


Download doesn't cancel properly sometimes

The Issue
If you stop a download/stream that's in progress, sometimes it goes back into a "0% complete" state (does not download). You have to click "stop download" a 2nd time to go back to the normal state. @akinwale mentioned this may be due to file_list quirks - do we wait until the file_set_status/file_delete calls complete successfully before refreshing the page?
System Configuration

Device:
Android version:

Anything Else

Screenshots

Issue moved to lbryio/lbry #1443 via ZenHub


The server doesn't always read disconnects.

Sometimes a player will disconnect and the server will not properly read it. This is a pretty big deal when we have a maximum pop set, or when there's one admin in.
I have three documented cases of this happening, once with a banned user and twice with admins. But I just kicked 8 people from the server on live who were either AFK or had not been properly disconnected. This is a pervasive issue.

Hi! Sorry for the spam, seems VERY KINDA important to me.
Could be wrong tho.
@moonheart08
@PJB3005


Got a TileDataset error

I tried to use RandomTileDataset and TileDataset in my pipeline, but TileDataset returned an error

Is this a dependency problem?

Version of deepflash2 is 0.1.3

Hi @AnthonyChanMarvel , if you're doing the Hubmap challenge you need to monkey patch the read_img method - see https://www.kaggle.com/matjes/hubmap-efficient-sampling-deepflash2-train
e.g.
@patch
def read_img(self:BaseDataset, file, *args, **kwargs):
    return zarr.open(str(file), mode='r')

Does this fix the bug?

@jaideep11061982
Unfortunately, the current release of deepflash2 does not support single class predictions - it will be available in the next release. Until then, you patch the 'predict_tiles()' method (https://github.com/matjesg/deepflash2/blob/master/deepflash2/learner.py#L212) by adding the following code after line 212
if dl.c==1:
    out_act = torch.sigmoid(out)
    out_act = torch.cat([(1-out_act), out_act], dim=1)

(The code in the 'tile_shift' branch (https://github.com/matjesg/deepflash2/blob/tile_shift/deepflash2/learner.py#L244) already supports single class prediction, but also adds some more features that would probably break the current release.)

@i-mein
Does your problem also relate to the Hubmap challenge? It is hard for me to track down the errors, but the data there needs custom preprocessing (as shown in my notebooks, via the tifffile package) before it can be loaded into the deepflash2 datasets. I hope this will fix the problem!

Yes it is about Hubmap and your example notebook, I use images from hubmap-zarr (v.11) and masks from hubmap-labels-pdf-0-5-0-25-0-01 (v.4) without any other change but the error remains. I suspect something with wrong path on reading masks since when I remove label_fn works OK (but loads only images of course) - I try to found a workaround and let you know
ps: I spend a lot of time reading the gist and the tutorials and It's pitty I can't run any experiments
Thanks for your help

Just to let you know that finally I make it work. Was either a path or a version messed up - when I started a new clean env and install latest version (0.1.3) problem fixed.
Thanks for the help


feat: add in finalizer removal for terminated instances

Fixes #3562
Description
This adds in a check to remove the finalizer and terminate the node with Interruption when the state changes to Terminated.
How was this change tested?

make presubmit

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

Release Note

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Should this live in the interruption controller? What if I manually terminate an EC2 instance?

Talked with @ellistarn,  we can try and do this in karpenter-core through the termination controller. Will try that and close this if that's the case.


Python 3.10 ClientConnectorSSLError

Bug Report
Python BDK (tested on v2.2.0 & 2.3.0) both run into TLS issues when run from Python 3.10:
ClientConnectorSSLError: Cannot connect to host sup.symphony.com:443 ssl:default [Cannot create a client socket with a PROTOCOL_TLS_SERVER context (_ssl.c:801)]
The bot functions fine on Python versions 3.9 and 3.8. As Python 3.10 is required for my project, could a workaround or fix be provided?
Steps to Reproduce:

Install Python 3.10 and using that python version, attempt to run your Python BDK

Expected Result:
Expected result would be that the bot would succesfully connect to the Datafeed and start capturing messages being sent to the bot, as shown below for Python 3.9:
2022-06-17 11:27:49,522 - symphony.bdk.core.activity.registry - DEBUG - Registering slash command with command=/hello, mention_bot=True 2022-06-17 11:27:49,523 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <symphony.bdk.core.activity.command.SlashCommandActivity object at 0x104160e80> 2022-06-17 11:27:49,523 - symphony.bdk.core.activity.registry - DEBUG - Registering slash command with command=/connect, mention_bot=True 2022-06-17 11:27:49,523 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <symphony.bdk.core.activity.command.SlashCommandActivity object at 0x104160e20> 2022-06-17 11:27:49,523 - symphony.bdk.core.service.datafeed.abstract_datafeed_loop - DEBUG - Starting datafeed loop 2022-06-17 11:30:47,424 - root - DEBUG - Message received from Nirbhey Jain:

/notifications

Actual Result:
Instead, these TLS issues occur:
Collection(Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'jira_bot'), 'jira_bot') 2022-06-17 11:35:30,233 - root - INFO - Running bot application... 2022-06-17 11:35:30,237 - asyncio - DEBUG - Using selector: KqueueSelector 2022-06-17 11:35:30,488 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <activities.EchoCommandActivity object at 0x10e53dc60> 2022-06-17 11:35:30,488 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <activities.GreetUserJoinedActivity object at 0x10e53dcc0> 2022-06-17 11:35:30,493 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <gif_activities.GifSlashCommand object at 0x10e53dd20> 2022-06-17 11:35:30,494 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <gif_activities.GifFormReplyActivity object at 0x10e53dd50> 2022-06-17 11:35:30,498 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <login_activities.LoginSlashCommand object at 0x10e53e350> 2022-06-17 11:35:30,499 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <login_activities.LoginActivity object at 0x10e53e260> 2022-06-17 11:35:30,503 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <mytickets.MySlashCommand object at 0x10e53ea10> 2022-06-17 11:35:30,506 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <mytickets.TeamSlashCommand object at 0x10e56bfa0> 2022-06-17 11:35:30,509 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <mytickets.WatchedSlashCommand object at 0x10e53fbe0> 2022-06-17 11:35:30,511 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <mytickets.BlockerSlashCommand object at 0x10e568430> 2022-06-17 11:35:30,513 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <notifications_activities.UpdateNotificationsSlashCommand object at 0x10e53ea70> 2022-06-17 11:35:30,514 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <notifications_activities.UpdateNotificationsFormReplyActivity object at 0x10e56bee0> 2022-06-17 11:35:30,514 - symphony.bdk.core.activity.registry - DEBUG - Registering slash command with command=/hello, mention_bot=True 2022-06-17 11:35:30,514 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <symphony.bdk.core.activity.command.SlashCommandActivity object at 0x10e568790> 2022-06-17 11:35:30,514 - symphony.bdk.core.activity.registry - DEBUG - Registering slash command with command=/connect, mention_bot=True 2022-06-17 11:35:30,516 - symphony.bdk.core.activity.registry - DEBUG - Registering new activity <symphony.bdk.core.activity.command.SlashCommandActivity object at 0x10e568670> 2022-06-17 11:35:30,516 - symphony.bdk.core.service.datafeed.abstract_datafeed_loop - DEBUG - Starting datafeed loop 2022-06-17 11:35:31,020 - symphony.bdk.core.auth.bot_authenticator - INFO - Retrying symphony.bdk.core.auth.bot_authenticator.BotAuthenticatorRsa._authenticate_and_get_token in 2.0 seconds as it raised ClientConnectorSSLError: Cannot connect to host sup.symphony.com:443 ssl:default [Cannot create a client socket with a PROTOCOL_TLS_SERVER context (_ssl.c:801)]. 2022-06-17 11:35:33,372 - symphony.bdk.core.auth.bot_authenticator - INFO - Retrying symphony.bdk.core.auth.bot_authenticator.BotAuthenticatorRsa._authenticate_and_get_token in 4.0 seconds as it raised ClientConnectorSSLError: Cannot connect to host sup.symphony.com:443 ssl:default [Cannot create a client socket with a PROTOCOL_TLS_SERVER context (_ssl.c:801)]. 2022-06-17 11:35:37,754 - symphony.bdk.core.auth.bot_authenticator - INFO - Retrying symphony.bdk.core.auth.bot_authenticator.BotAuthenticatorRsa._authenticate_and_get_token in 8.0 seconds as it raised ClientConnectorSSLError: Cannot connect to host sup.symphony.com:443 ssl:default [Cannot create a client socket with a PROTOCOL_TLS_SERVER context (_ssl.c:801)]. 2022-06-17 11:35:38,751 - root - INFO - Ending bot application
Going through the trace, all errors occur within libraries that come with the BDK
Environment:
Python BDK version 2.3.0 on MacOS Catalina 10.15.7, running from a virtual PyEnv installation of 3.10.4. The project also has the following dependencies:
requirements.txt

Looks like this is the cause: https://github.com/mjs/imapclient/issues/466
Only one instance of SSL context being creaed in Python BDK code:
https://github.com/finos/symphony-bdk-python/blob/ceb223cee8b1eb342aabc86b459a38d9210e54cf/symphony/bdk/gen/rest.py#L50
# Original:
ssl_context = ssl.create_default_context(purpose=ssl.Purpose.CLIENT_AUTH, cafile=configuration.ssl_ca_cert)
# Fix:
ssl_context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH, cafile=configuration.ssl_ca_cert)


trigger keyboard shortcuts with unused keys

Give the possibility to use the unused keys of the midi device with user defined keyboard shortcuts.

Would be great. Imagine a button to mute your discord mic for example 😇


Public room creation: improve UI for agent.agent users

When a user hosted on agent.agent creates a room by selecting the type "Public", the access limitation label is unclear:
"Limiter l'accès à ce salon aux membres du domaine "Agent""

We decided to hide this option when the user is hosted on agent.agent. The created forum will be systematically federated


Locations for 2018

As budget is a real concern, and so is time, let's talk whittle the potential cities/events down to 4 for NodeTogether this year. If we are able to expand further into the year, awesome!
Please keep in mind when suggesting cities/events to partner with:

one event/city per quarter of the year(budget/resource reasons)
events that are able to help support the partnership, such as donated venue space and helping get more new-to-node programmers from underrepresented groups are extra great

please see #1 for general 2018 planning

Nobody saying anything about JS Conf "Africa" 😢😉

Is that happening? Please tell me more!
On Tue, Feb 6, 2018, 7:08 PM codekage<EMAIL_ADDRESS>wrote:

Nobody saying anything about JS Conf "Africa" 😢😉
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nodejs/nodetogether/issues/2#issuecomment-363609787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAecV7FpPdZs0RPmJSXWe2_dqB1Pa41Uks5tSOlzgaJpZM4RjlK6
.

@codeekage we are open to all potential locations! If you know of any Node / JavaScript conferences or organizations in Africa that we could partner with it’s absolutely an option!

None for now, but I planned on having one this year... Needed full support from nodejs and js to help pull it through. We could partner and I will love to contribute 100%.

A go ahead from nodetogether will mean a lot and will automatically kick of the planning stage for JS Conf Africa 2018

@MylesBorins @rachelnicole  Would you like to partner with NodeSchool portharcourtcity chapter to Host JS Conf Africa?

@codeekage we don't have anything to do with JSConf family of conferences. We're just an organization that helps teach underrepresented people Node.js for a day long workshop that's free for attendees.
What we look for is an organization to partner with to be able to run the event.
Partnering with the Port Harcourt chapter of Node School would absolutely be something we'd be interested in for a future date, though we are still in the planning period.

@rachelnicole Noted! it will be super awesome to host and partner with the "Rachel White" and "node CC" for an awesome event: The Creative Part of Node.js in Africa.


As an admin, I want subtitle and sort title populated from HathiTrust MARCXML so that the records can be displayed and sorted better.

Notes for testing

Title and subtitle should both display in admin list view
Items should be sorted by sort title by default in admin list view but show actual title (i.e., leading definite articles will be displayed but ignored for sorting purpopes)
Title, subtitle, and sort title should all be editable on the edit form; subtitle and sort title should both be optional
Hathi record id should be visible but not editable in admin edit view

Notes for development

[x] sort titles
[x] main/sub titles
[x] page number
[x] page label
[x] page tags

~also check if there is a way to pull "cleaner" author, etc. without attached punctuation~
marc records should include information on how many characters to ignore when sorting by title; see http://www.loc.gov/marc/bibliographic/bd222.html
Adjust the import script to get the sort title; probably should store it in the db to allow review/edit if necessary.  Index in Solr as a separate field rather than copying the display title.

@mnaydan FYI, the two records currently sorting first in the admin site look wrong for sort title - I checked and I am interpreting the MARC record correctly, I think it's just coded wrong. I think we could add logic to strip spaces from the sort title to handle those errors, because I can't imagine a title should ever be sorted on a space.  Let me know if you find other errors or things that look wrong.

Good catch, Rebecca, I see the errant space. The only other thing I caught was my reply to Nick above about items with blank sort titles sorting first.

@mnaydan I'm not sure what would be best for the sort title. It feels weird to me to code a default when we expect (and want) it to be populated from hathi metadata; but I'm willing to do that if you and Meredith prefer that.  Would it be better if we make the field required, so you can't accidentally clear it?

@mnaydan I'm going to mark this as tested needs attention so I can fix the extra whitespace issue. Let me know if you want anything changed with the edit interface for sort titles.

@rlskoeser I think making the sort title field required would solve the issue. The edit interface seemed perfectly fine to me!

@mnaydan updated to make sort title required in the admin edit interface and automatically remove whitespace from sort titles.

@rlskoeser cool! The items with the errant spaces aren't at the top anymore. It's sorting quotation marks first, then numbers, then ABC. I tried to delete a sort title and save, and it correctly gave me an error message and told me the field was required. I also tried adding a white space to the sort title and saving it, and it successfully cleaned it out. Everything seems fine to me!


Separating one option into two different options

Can you separate this "Visualize emoticons, mentions and mark spelling as you write" into two different options ("emoticon visualization" and "spellcheck")? Bc I wanna have visualization of emoticons but I don't want spellcheck and it's freaking annoying to have spellcheck in order to have emoticons visualization. Not to mention that these have nothing in common and it's illogical for them to be together in one single option.

I'm pretty sure you mention Discord setting (not even sure which tbh), which shouldn't affect the setting of browser spellcheck at all (it is handled by WebCord/Electron itself in similar way as in Chrome). Maybe they could mark the input boxes for browsers that they shouldn't use the spellcheck, but it is Discord setting and WebCord does not really have a way to control how it behaves and possibly shouldn't as well.
Also, as this issue ticket lacks necessary data for me to work on it (i.e. which version of WebCord were you using? there are many builds, some even are provided by the community and might not receive support by me).
As of disabling the spellcheck in WebCord, I'm pretty sure there was already made a feature request ticket in bug tracker. As it fits low effort feature request maybe I'll actually implement this soon.
Either way, this issue ticket will be marked as invalid and you might want to report this to Discord support instead anyway for Chromium browsers if it is reproducible here as well.

This "issue" lacks the necessary data because I clicked on "Feature suggestion" and github opened a field to write text. So I thought it would automatically be marked as such.
OK, so to clarify: I'm using WebCord as an installed application, not as a web browser:
aur/webcord-bin 4.3.0-1 [installed] [4+] [1.24%] [1 Jul 2023]     A Discord and SpaceBar Electron-based client implemented without Discord API (binary release)
So, the version is 4.3.0-1.
And I was talking about this feature to be separated into two different options:

As I said, I like the first two features but I don't want syntax markdown. If I disable that option, emojis and mentions won't be displayed.

And I was talking about this feature to be separated into two different options:

Yeah, that's Discord implementation, splitting their features would be a bit of a challenge, especially when Discord could just change stuff on their own and break anything that WebCord does. That's the reason why I avoid doing such things, at least until there will be WebCord successor.


Question: What are the possible interfaces expected for processCss hook and how to use css-modules-require-hook to generate what I want?

Hi all,
I am trying to create a processor to transpile css/scss to ReactNative.StyleSheet objects. What I am not understanding is what is expected from a processCss function. Maybe I should use another phase to do what I want. I don't know indeed and that is why I would be pleased to hear from anyone some advice about.
Given the import myClasses from './my-classes.css'; When/where should I interfere to parse the last step before assigning some value to the variable myClasses? I guess, it is the right moment to get my css (string) convert into object and use the ReactNative.StyleSheet.create to generate what I want to consume from myClasses.
Thank you so much in advance

Hello,
I'm not quite familiar with ReactNative, but there is an example of its usage in Electron: https://github.com/knpwrs/css-modules-electron/blob/master/src/index.js#L25-L36
Probably, if you have any access to ReactNative.StyleSheet.create in the environment, then you need to transform the resulting css string to the object notation and inject it to the view.

I got it! Thanks! https://www.npmjs.com/package/babel-plugin-react-native-sass-classname


[zh] Sync an API doc: subject-access-review-v1.md

Add some zh text to:
content/zh-cn/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1.md

See preview

/approve

/lgtm


Monitor and network disconnects

Initially please make sure the problem hasn't been already addressed:

[Y ] Are you using the latest driver?
(https://www.displaylink.com/downloads/ubuntu)
[Y ] Are you using the latest EVDI version?
(https://github.com/DisplayLink/evdi/releases)
[Y ] If you are using a DisplayLink device, have you checked 'troubleshooting'
on DisplayLink's website?
(https://support.displaylink.com/knowledgebase/topics/103927-troubleshooting-ubuntu)
[Y ] Is this issue related to evdi/kernel?
(if it is rather connected to DisplayLinkManager please take a look at support
https://support.displaylink.com or forum https://www.displaylink.org/forum/)

Some information for baseline would help a lot:

Linux distribution and its version
Arch Linux
Linux kernel version
5.7.6-arch1-1
Xorg version (if used)
1.20.8-2
Desktop environment in use
bspwm 0.9.9-1

Problem description
Since using kernel 5.7.6-ach1-1 my monitors and network disconnect every 5 minutes, mouse and keyboard via the dock keep working. The monitors recover after a few second due to autorandr detecting the monitors and setting up the display. Network has to be manually reconnected.
I have reverted back to kernel 5.7.5-arch1-1 and the issues seem to be resolved.
The dock in use is the Dell D6000.
Please find attached an extract of the logs displaying the issue:
journal_evdi.log
Please do let me know if you require more information or want me to test something.
Kind regards,
C.J.

This might be caused by the firmware in dock. To upgrade it you have to have Windows computer, as the files provided by the manufacturer can only be used with that operating system.
The file is available at: https://www.dell.com/support/home/uk/en/ukdhs1/product-support/product/dell-universal-dock-d6000/drivers

When you do the update make sure you do not have anything plugged in to the dock.
Connect the dock to machine running Windows and run the file downloaded from the website.
Follow the wizard :)

Thank you for the swift reply.
I have upgrade my dock to the latest version, it was one version behind. After which I have upgrade kernel to the latest version (5.7.6-ach1-1).
After about 10 minutes the disconnect of monitor and network reoccurred again, monitors reconnected again and the network was switch online manually again. After 5 minutes the same issue occurred again.
To be sure that this issue is not caused by the upgrade of the dock, I downgrade my kernel again to 5.7.5-arch1-1 for testing.
Which seems to work fine again.
The issue seems to be pointing to the latest kernel.

Same behaviour observed here on Ubuntu 20.04 LTS.
Laptop: DELL XPS 13 (9360) - Intel Core i7 7500U, 8GB RAM (latest BIOS etc)
Graphics: Mesa Intel® UHD Graphics 620 (KBL GT2)
Dock: DELL D6000 (2 x 1080p monitors via DisplayPort) (latest firmware provided by DELL)
OS: Ubuntu 20.04 LTS on Wayland (Kernel 5.4.0-40 - UEFI)
I've caught the following in the logs (specifically the segfault in DisplayLinkManager looks suspicious - see error log):
dmesg | grep evdi
[   15.066933] evdi: loading out-of-tree module taints kernel.
[   15.067908] evdi: [I] Initialising logging on level 5
[   15.067908] evdi: [I] Atomic driver:yes
[   15.067959] evdi: [D] evdi_add_devices:156 Increasing device count to 4
[   15.068014] evdi: [D] evdi_crtc_init:389 drm_crtc_init: 0 p0000000029c48e6f
[   15.068023] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.068035] evdi: [W] evdi_painter_send_update_ready_if_needed:645 Painter does not exist!
[   15.068873] [drm] Initialized evdi 1.7.0 20200327 for evdi.0 on minor 1
[   15.068933] evdi: [D] evdi_crtc_init:389 drm_crtc_init: 0 p000000003da62d9a
[   15.068940] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.068946] evdi: [W] evdi_painter_send_update_ready_if_needed:645 Painter does not exist!
[   15.069016] [drm] Initialized evdi 1.7.0 20200327 for evdi.1 on minor 2
[   15.069244] evdi: [D] evdi_crtc_init:389 drm_crtc_init: 0 p00000000714eb0ff
[   15.069249] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.069253] evdi: [W] evdi_painter_send_update_ready_if_needed:645 Painter does not exist!
[   15.069825] [drm] Initialized evdi 1.7.0 20200327 for evdi.2 on minor 3
[   15.069883] evdi: [D] evdi_crtc_init:389 drm_crtc_init: 0 p00000000023da8fb
[   15.069891] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.069898] evdi: [W] evdi_painter_send_update_ready_if_needed:645 Painter does not exist!
[   15.070170] [drm] Initialized evdi 1.7.0 20200327 for evdi.3 on minor 4
[   15.441280] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.441305] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.441307] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.449760] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.449777] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.449778] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.452583] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.452599] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.452601] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.454758] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.454769] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.454770] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.464675] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.464690] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.464691] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.482003] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.482017] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.482018] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.491396] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.491411] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.491412] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.495328] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.495340] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.495342] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.938033] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.938053] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.938054] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.949060] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.949083] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.949084] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.955775] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
[   15.955792] evdi: [D] evdi_driver_postclose:133 (dev=0) Process tries to close us, postclose
[   15.955793] evdi: [I] Task 307 (plymouthd) of process 307 (plymouthd)
[   15.956195] evdi: [D] evdi_detect:94 (dev=0) poll connector state: disconnected
...
root@XPS-13:/home/vas232# dmesg | grep error
[   15.016696] EXT4-fs (dm-1): re-mounted. Opts: errors=remount-ro
[   81.697811] pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
[   81.697829] pcieport 0000:00:1c.0: AER:   device [8086:9d10] error status/mask=00003000/00002000
[   97.137258] ActiveCommandQu[1067]: segfault at 7f318c00f040 ip<PHONE_NUMBER>998d9e sp 00007f3123ffd408 error 4 in DisplayLinkManager[400000+937000]
[  206.425664] pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
[  206.425673] pcieport 0000:00:1c.0: AER:   device [8086:9d10] error status/mask=00001000/00002000
[  245.209842] pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
[  245.209852] pcieport 0000:00:1c.0: AER:   device [8086:9d10] error status/mask=00001000/00002000
...

In addition to above I've also noticed that the dock doesn't go to standby anymore when shutting down Ubuntu. The led idicator remains white (even when disconnecting the USB-C connection). Only solution is to disconnecting the dock from the mains and connecting it back again. Works fine on Windows 10 though.

Currently running on kernel 5.7.7-arch1-1 which seems to have resolved the issue.
I have not closed this issue as I am unsure the Ubuntu kernel is still affecting this.

Update on the Ubuntu 20.04 system. The latest update seems to have resolved the issue. Both monitors are running fine now and without any disconnects (almost a week now).


ngx new immediately aborts after splash / header intro without initiating prompts.

I'm submitting a...

[x] Bug report
[ ] Feature request
[ ] Documentation issue or request

Current behavior

When running ngx new it shows the splash/header text (see below) but immediately aborts with no error message.
C:\not-a-real-directory>ngx new
          __   __
 _ _  __ _\ \./ / ____ ____ ____ _  _ ____ ___
| ' \/ _` |>   <  |--< [__] |___ |-:_ |===  |
|_||_\__, /_/°\_\ ENTERPRISE APP STARTER -~*=>
     |___/ v7.0.2

C:\not-a-real-directory>

Expected behavior

The generator should initiate the prompts that'll lead to the generation of a new project.
Minimal reproduction of the problem with instructions

npm install -g generator-ngx-rocket
ngx new

Environment

ngX-Rocket: 7.0.2
Node.js: v10.16.2
Npm: 6.11.1
OS: win32 x64 10.0.17134

Others:

Windows 10 Professional
Deleted entire global node modules, tried to reinstall just generator-ngx-rocket, tried to angular/cli first then the generator, reversed that, no matter what the same thing happens.

Thanks for the complete report, I saw that one on a coworker's machine but could never know it's exact environment to reproduce it. Could you try running it from a folder with no spaces and as close to the root as possible? (Like C:/test)
I'm in vacation right now with no windows machine at hand, but I will look at it as soon as I can.

Thanks for the complete report, I saw that one on a coworker's machine but could never know it's exact environment to reproduce it. Could you try running it from a folder with no spaces and as close to the root as possible? (Like C:/test)
I'm in vacation right now with no windows machine at hand, but I will look at it as soon as I can.

Thanks for the quick reply! I just tried running it in C:\test and the same thing happened.
I'll try playing around with it some and if I can figure anything out, I'll post here. Seems like a really useful tool, a former colleague has spoken highly of it for a while and I'm excited to give it a shot when I get it up and going.

I've tracked down the problem to be something with the analytics / Insight. I went through index.js and commented out everything referencing Insight and it appears to be working at first look (haven't fully tested this yet). Note that it doesn't work to use the flag --no-analytics, the code referencing Insight needed commented out.

I'm not very familiar with GitHub and Javascript definitely isn't one of my stronger languages, but I've created a pull request with an error handler and a few bugfixes related to the Insight issue. Please forgive any errors, I tried to keep things as clean and consistent as possible.
https://github.com/ngx-rocket/generator-ngx-rocket/pull/495

Many thanks for the PR! I have made a few comments there, with some minor changes it will be perfect 👍

Thanks for the PR 😃
Although it is an improvement over the previous situation and we should definitely go for it in the meantime, it doesn't solve the root issue that new Insight() should not crash...

Closed by #496
Will definitely need to investigate this further and report the issue upstream, but in the meantime at least it prevents unwanted crashes. I will open a new issue for this.