docker-machine hangs after creation with virtualbox

The following command hangs nearly forever:
docker-machine -D create prod --engine-storage-driver overlay -d virtualbox --virtualbox-disk-size 40000 --virtualbox-memory 2048

I can ssh in and it looks like the daemon is running:
time="2015-06-26T23:34:28.862838098Z" level=debug msg="Using 0x7d6e80 as native.cgroupdriver"
time="2015-06-26T23:34:28.863139059Z" level=info msg="Daemon has completed initialization"
time="2015-06-26T23:34:28.863158533Z" level=info msg="Docker daemon" commit=0baf609 execdriver=native-0.2 graphdriver=aufs version=1.7.0

However, if I use eval, I get an error message:
$ eval $(docker-machine env prod)
open /Users/sday/.docker/machine/machines/prod/ca.pem: no such file or directory

Here is the debug output: https://gist.github.com/stevvooe/b89bb209b0ee38608bc4
I cannot use docker at all on my machine, at this point.
$ docker-machine --version
docker-machine version 0.3.0 (0a251fe)

gstafford@gstafford-X555LA$ docker-machine --version
docker-machine version 0.3.0 (0a251fe)
Seeing identical issues/results, repeatedly, with basic docker-machine command with VirtualBox
Created gist of most of output: https://gist.github.com/8d244fe478e59dd4d131.git
It worked for first two days, then started this behavior...
gstafford@gstafford-X555LA$ docker-machine create --driver virtualbox test
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
Error creating machine: Maximum number of retries (60) exceeded
You will want to check the provider to make sure the machine and associated resources were properly removed.
gstafford@gstafford-X555LA$ docker-machine ls
NAME   ACTIVE   DRIVER       STATE     URL                         SWARM
test            virtualbox   Running   tcp://<IP_ADDRESS>:2376
gstafford@gstafford-X555LA$ $ eval $(docker-machine env test)
open /home/gstafford/.docker/machine/machines/test/ca.pem: no such file or directory
$: command not found

+1  Same here
▶ docker-machine create --driver virtualbox dev
Creating CA: /home/veggiemonk/.docker/machine/certs/ca.pem
Creating client certificate: /home/veggiemonk/.docker/machine/certs/cert.pem
Image cache does not exist, creating it at /home/veggiemonk/.docker/machine/cache...
No default boot2docker iso found locally, downloading the latest release...
Downloading https://github.com/boot2docker/boot2docker/releases/download/v1.7.0/boot2docker.iso to /home/veggiemonk/.docker/machine/cache/boot2docker.iso...
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
Error creating machine: Too many retries.  Last error: Maximum number of retries (60) exceeded
You will want to check the provider to make sure the machine and associated resources were properly removed.

It differs a little bit here
▶ docker-machine ls
error getting URL for host dev: exit status 255
NAME   ACTIVE   DRIVER       STATE     URL   SWARM
dev    *        virtualbox   Running
[~]
▶ eval $(docker-machine env dev)
Unexpected error getting machine url: exit status 255

Maybe that version has problem
▶ docker-machine --version
docker-machine version 0.3.0 (0a251fe)

I also got the similar problem.
ldh@ldh-HVM-domU:~$ docker-machine create -d virtualbox local
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
Error creating machine: Too many retries.  Last error: Maximum number of retries (60) exceeded
You will want to check the provider to make sure the machine and associated resources were properly removed.
ldh@ldh-HVM-domU:~$

and I noticed some failures when installing virtualbox, is the installation not successful?
ldh@ldh-HVM-domU:~$ sudo apt-get install virtualbox
[sudo] password for ldh:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  diffstat gettext intltool-debian libapt-pkg-perl libarchive-zip-perl
  libasprintf-dev libauthen-sasl-perl libautodie-perl libclass-accessor-perl
  libclone-perl libdigest-hmac-perl libdpkg-perl libemail-valid-perl
  libfile-fcntllock-perl libgettextpo-dev libgettextpo0 libio-pty-perl
  libio-socket-inet6-perl libio-socket-ssl-perl libio-string-perl
  libipc-run-perl libipc-system-simple-perl liblist-moreutils-perl
  libmailtools-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl
  libnet-libidn-perl libnet-smtp-ssl-perl libnet-ssleay-perl
  libparse-debianchangelog-perl libperlio-gzip-perl libsocket6-perl
  libsub-identify-perl libsub-name-perl libtext-levenshtein-perl
  libtimedate-perl liburi-perl patchutils t1utils
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  virtualbox-dkms virtualbox-qt
Suggested packages:
  virtualbox-guest-additions-iso vde2
The following NEW packages will be installed:
  virtualbox virtualbox-dkms virtualbox-qt
0 upgraded, 3 newly installed, 0 to remove and 316 not upgraded.
Need to get 0 B/20.6 MB of archives.
After this operation, 84.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package virtualbox.
(Reading database ... 173957 files and directories currently installed.)
Preparing to unpack .../virtualbox_4.3.10-dfsg-1ubuntu5_amd64.deb ...
Unpacking virtualbox (4.3.10-dfsg-1ubuntu5) ...
Selecting previously unselected package virtualbox-dkms.
Preparing to unpack .../virtualbox-dkms_4.3.10-dfsg-1ubuntu5_all.deb ...
Unpacking virtualbox-dkms (4.3.10-dfsg-1ubuntu5) ...
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../virtualbox-qt_4.3.10-dfsg-1ubuntu5_amd64.deb ...
Unpacking virtualbox-qt (4.3.10-dfsg-1ubuntu5) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up virtualbox (4.3.10-dfsg-1ubuntu5) ...
 * Stopping VirtualBox kernel modules                                                                                [ OK ]
 * Starting VirtualBox kernel modules                                                                                * No suitable module for running kernel found
                                                                                [fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
Setting up virtualbox-dkms (4.3.10-dfsg-1ubuntu5) ...
Loading new virtualbox-4.3.10 DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-30-generic
Building initial module for 3.16.0-30-generic
Done.

vboxdrv:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-30-generic/updates/dkms/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-30-generic/updates/dkms/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-30-generic/updates/dkms/

vboxpci.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-30-generic/updates/dkms/

depmod...........

DKMS: install completed.
 * Stopping VirtualBox kernel modules                                                                                [ OK ]
 * Starting VirtualBox kernel modules                                                                                [ OK ]
Setting up virtualbox-qt (4.3.10-dfsg-1ubuntu5) ...
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$ service virtualbox status
VirtualBox kernel modules are loaded.
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$ apt-cache show virtualbox
Package: virtualbox
Priority: optional
Section: multiverse/misc
Installed-Size: 57189
Maintainer: Ubuntu Developers<EMAIL_ADDRESS>Original-Maintainer: Debian Virtualbox Team<EMAIL_ADDRESS>Architecture: amd64
Version: 4.3.10-dfsg-1ubuntu5
Depends: libc6 (>= 2.15), libcurl3 (>= 7.16.2), libgcc1 (>= 1:4.1.1), libgsoap4, libpng12-0 (>= 1.2.13-4), libpython2.7 (>= 2.7), libsdl1.2debian (>= 1.2.11), libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.6), libvncserver0, libvpx1 (>= 1.0.0), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxml2 (>= 2.7.4), libxmu6, libxt6, zlib1g (>= 1:1.1.4), python (>= 2.7), python (<< 2.8), python:any (>= 2.7.1-0ubuntu2), python2.7, adduser
Pre-Depends: dpkg (>= 1.15.6~)
Recommends: virtualbox-dkms (= 4.3.10-dfsg-1ubuntu5) | virtualbox-source (= 4.3.10-dfsg-1ubuntu5), virtualbox-qt (= 4.3.10-dfsg-1ubuntu5), libgl1-mesa-glx | libgl1, libqt4-opengl (>= 4:4.5.3), libqtcore4 (>= 4:4.5.3), libqtgui4 (>= 4:4.5.3)
Suggests: virtualbox-guest-additions-iso, vde2
Conflicts: virtualbox-2.0, virtualbox-2.1, virtualbox-2.2, virtualbox-3.0, virtualbox-4.2
Filename: pool/multiverse/v/virtualbox/virtualbox_4.3.10-dfsg-1ubuntu5_amd64.deb
Size: 15462556
MD5sum: 7f9d1580006728446bb8c0fd715b0b7c
SHA1: 2f27091cd05c6c17167aae1c20d1aae636f93f9e
SHA256: 8dbf9d77a4f48051765ca14ad4df8a4a49ec6d840469eaf3ba6def8e02bc34ee
Description-en: x86 virtualization solution - base binaries
 VirtualBox is a free x86 virtualization solution allowing a wide range
 of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
 Linux system.
 .
 This package provides the binaries for VirtualBox. Either the virtualbox-dkms
 or the virtualbox-source package is also required in order to compile the
 kernel modules needed for virtualbox. A graphical user interface for
 VirtualBox is provided by the package virtualbox-qt.
Description-md5: 30f96d22c1a6ca04db16bdc1e79ad965
Homepage: http://www.virtualbox.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Package: virtualbox
Priority: optional
Section: multiverse/misc
Installed-Size: 57210
Maintainer: Ubuntu Developers<EMAIL_ADDRESS>Original-Maintainer: Debian Virtualbox Team<EMAIL_ADDRESS>Architecture: amd64
Version: 4.3.10-dfsg-1
Depends: libc6 (>= 2.15), libcurl3 (>= 7.16.2), libgcc1 (>= 1:4.1.1), libgsoap4, libpng12-0 (>= 1.2.13-4), libpython2.7 (>= 2.7), libsdl1.2debian (>= 1.2.11), libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.6), libvncserver0, libvpx1 (>= 1.0.0), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxml2 (>= 2.7.4), libxmu6, libxt6, zlib1g (>= 1:1.1.4), python (>= 2.7), python (<< 2.8), python:any (>= 2.7.1-0ubuntu2), python2.7, adduser
Pre-Depends: dpkg (>= 1.15.6~)
Recommends: virtualbox-dkms (= 4.3.10-dfsg-1) | virtualbox-source (= 4.3.10-dfsg-1), virtualbox-qt (= 4.3.10-dfsg-1), libgl1-mesa-glx | libgl1, libqt4-opengl (>= 4:4.5.3), libqtcore4 (>= 4:4.5.3), libqtgui4 (>= 4:4.5.3)
Suggests: virtualbox-guest-additions-iso, vde2
Conflicts: virtualbox-2.0, virtualbox-2.1, virtualbox-2.2, virtualbox-3.0, virtualbox-4.2
Filename: pool/multiverse/v/virtualbox/virtualbox_4.3.10-dfsg-1_amd64.deb
Size: 15513912
MD5sum: 94abe68c331d26a086ba36c97c86d05f
SHA1: 7d75b3aa319377613bf0ade1e55e4d81c906af1c
SHA256: d42c80fc72522c46d5375389ddf2370f406433ba3b5a8f19fc414e6c4d143fcd
Description-en: x86 virtualization solution - base binaries
 VirtualBox is a free x86 virtualization solution allowing a wide range
 of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
 Linux system.
 .
 This package provides the binaries for VirtualBox. Either the virtualbox-dkms
 or the virtualbox-source package is also required in order to compile the
 kernel modules needed for virtualbox. A graphical user interface for
 VirtualBox is provided by the package virtualbox-qt.
Description-md5: 30f96d22c1a6ca04db16bdc1e79ad965
Homepage: http://www.virtualbox.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$ clear
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$ ll .docker/
config.json  machine/
ldh@ldh-HVM-domU:~$ ll .docker/machine/
cache/    certs/    machines/
ldh@ldh-HVM-domU:~$ ll .docker/machine/machines/
total 8
drwx------ 2 ldh ldh 4096  6月 28 08:34 ./
drwx------ 5 ldh ldh 4096  6月 27 22:17 ../
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$
ldh@ldh-HVM-domU:~$ docker-machine create -d virtualbox local
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
Error creating machine: Too many retries.  Last error: Maximum number of retries (60) exceeded
You will want to check the provider to make sure the machine and associated resources were properly removed.
ldh@ldh-HVM-domU:~$

I think it might be a VT-x problem.
I checked whether the VT-x of my computer(actually it's a virtual machine) is enabled or not by executing sudo kvm-ok according how-to-determine-if-cpu-vt-extensions-enabled-in-bios
ldh@ldh-HVM-domU:~$ sudo kvm-ok
INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used
ldh@ldh-HVM-domU:~$

I will consult the administrator about changing VT-x settings and try again.

I have the similar problem when I run on Windows, I have VT-x enabled.
Liu.D.H@WORKING-PC ~
$ docker-machine create --driver virtualbox dev
No default boot2docker iso found locally, downloading the latest release...
Downloading https://github.com/boot2docker/boot2docker/releases/download/v1.7.0/boot2docker.iso to C:\Users\Liu.D.H\.docker\machine\cache\boot2docker.iso...
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
Error creating machine: Maximum number of retries (60) exceeded
You will want to check the provider to make sure the machine and associated resources were properly removed.

Liu.D.H@WORKING-PC ~

@stevvooe i've seen this too.  as @garystafford mentioned, a eval $(docker-machine env -u) fixes it for me.  i need to dig further into what the root cause is.

@veggiemonk i'm not sure you can run a 64 bit OS on 32 bit host.  Starting with b2d 1.7, I believe it's 64 bit now.  that could be part of it.

@ehazlett I did a full restart to address the issue. There may have been a few things going on that were fixed with the restart (the env issue, being one of them). I was also getting problems where the daemon would not start because it would not bind to the interface. My guess is that there is a bug related to env setup and a networking problem with VirtualBox. I'm sorry I don't have better information here.

@ehazlett the unset command you/I mentioned works for me occasionally, but most often I am also rebooting to clear whatever state Docker Machine is in, and then deleting the existing, mis-configured VM. I hit the problem pretty often. I have the latest release version of Docker, Compose, and Machine, running on Ubuntu 14.10.

I was not having this issue until I did a
$docker-machine upgrade dev

Where dev was my docker host on virtualbox that had previously worked just fine.
OSX 10.10.3 with virtaulbox 4.3.26, docker-machine 0.3.0
I updated my virtualbox to v4.3.28 as well as the Extension pack.
According to the boot2docker release it included the VirtualBox Guest Additions v4.3.28.
Once I updated everything it all worked again. I am theorizing that the boot2docker image contains some helpers that might be causing this issue on other platforms as well.

@stevvooe Looks like your flags aren't getting parsed quite correctly as well, which definitely means we need to fix that issue.

Really peculiar issue.  Looks like the daemon starts fine but Machine fails to detect it.  @stevvooe do you have some non-vanilla stuff in terms on networking on the box where you've run this?  Perhaps VPN, changes to your DNS resolution, etc.?  Does the Machine get an IP from the Virtualbox host only network?

I hesitate to say that this is exactly the same issue, but I just now got past this. When I tried to create a new machine using 'docker-machine create -d virtualbox' I ended up halting at "Starting VM...".
I had all but given up when I checked out some VirtualBox documentation on the Arch wiki and saw that it requires the package 'net-tools' (this includes ifconfig and the like and since this package is actually deprecated on Arch it's not installed). I installed it and instantly got past "Starting VM..." on the first try, despite having previously tried reboots, '--native-ssh' and the like before without any success.
If anything, this might be of help to anyone having the same issues for the same reason I did, even if it's probably not the core reason for the issues of previous posters here.

@nathanleclaire I don't have anything special setup, except the for a standard VPN, which does inject routes. Inspection of those routes showed nothing peculiar. As far as I could tell, the machine got an IP assigned but the traffic was being black-holed.
I issued a restart and the issue went away, so take what I say above with a grain of salt.

unset command seems to work for this on OS X as well

unset command seems to work for this on OS X as well

Could you elaborate on what you mean by this please @mgasner ?

I was getting the "Unexpected error getting machine url: exit status 255" and fixed it by adding this line to the top of my hosts file:
<IP_ADDRESS> localhost

I was getting the "Unexpected error getting machine url: exit status 255" and fixed it by adding this line > to the top of my hosts file:
<IP_ADDRESS> localhost

Hm, odd.  Maybe we should dial <IP_ADDRESS> directly, although I don't know how common it is to lack the localhost entry in a hosts file.

Ya maybe not, looks like I've edited my hosts file several times. Somebody had put a machine named localhost on our domain, which was why I went looking at my hosts file.

Had the same problem
(djangopeople)igor:~$ docker-machine active
error getting URL for host dbandredis: exit status 255
error getting URL for host dbandredis: exit status 255
error determining if host is active for host dbandredis: exit status 255
dev

Rebooting would not help. Had to remove vm and create it again.

+1

i have yet to get this to work. i have uninstalled everything blew away every directory to do with virtualbox and or docker and i still can't connect to this. the docker vm is running in virtualbox and looks fine.
Creating Machine default...
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
Error creating machine: Too many retries.  Last error: Maximum number of retries (60) exceeded
You will want to check the provider to make sure the machine and associated resources were properly removed.
Starting machine default...
Started machines may have new IP addresses. You may need to re-run the docker-machine env command.
Setting environment variables for machine default...
                    ##         .
              ## ## ##        ==
           ## ## ## ## ##    ===
       /"""""""""""""""""\___/ ===
  ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
       \______ o           __/
         \    \         __/
          \____\_______/

exit status 255
docker is configured to use the default machine with IP
For help getting started, check out the docs at https://docs.docker.com
Unexpected error getting machine url: exit status 255
bash: chef: command not found
[~]: docker-machine active
error getting URL for host default: exit status 255
error getting URL for host default: exit status 255
error determining if host is active for host default: exit status 255
Error getting active host: Active host not found
[~]: docker-machine ls
error getting URL for host default: exit status 255
error getting URL for host default: exit status 255
error determining if host is active for host default: exit status 255
NAME      ACTIVE   DRIVER       STATE     URL   SWARM
default            virtualbox   Running

Also seeing this

I've found the issue!
you just need to do:
chmod 600 id_rsa
where id_rsa is the private key for your specific virtual machine

Hm, odd. Maybe we should dial <IP_ADDRESS> directly, although I don't know how common it is to lack the localhost entry in a hosts file.
I had an extra name, e.g. <IP_ADDRESS> localhost myextraname which gives me this issue, having exactly <IP_ADDRESS> localhost seems to solve the issue although I don't really understand why.

Sorry I didn't explain why chmod 600 ~/.docker/machine/machines/default/id_rsa fixed the issue for me.
If you execute docker-machine using --debug you will see that it calls ssh internally. If you copy the whole ssh command and add -v for verbose you will see that ssh warns you about low security in ~/.docker/machine/machines/default/id_rsa because it should be only rw for the user owner of the file. I guess that this "extra" warning doesn't is not properly parsed by docker-machine and it causes the issue:
error getting URL for host dbandredis: exit status 255
error getting URL for host dbandredis: exit status 255
error determining if host is active for host dbandredis: exit status 255
In my case that was the cause

That didn't work for me, though your pointers helped me dig in.  Thanks!
In my case, the private key I had did not match the key in the VM.  Looks like there's a race somewhere with key generation/propagation.

In order to correct this problem. I had to:

ensure my etc/hosts had a <IP_ADDRESS> localhost entry
open Virtualbox and shutdown then remove my VM, including all files
run docker-machine rm dev & docker-machine rm default
close my terminal (cmd+Q)
then run the Docker Quickstart Terminal (using DockerToolbox-1.8.3)

Yes, yours was the right answer @rygood . Worked for me.

@rygood  +1 .Worked for me.

I had corrupt ~/.ssh/config . Once I corrected it, I was able to create machine like before. One way to check this is trying to ssh to some other server and see if it works to make sure the docker-machine isn't failing due to ssh.

This issue is very long and contains a lot of digressions.  If someone continues to encounter similar ones please open a new one at https://github.com/docker/machine/issues/new with detailed information including:

Which OS you are on
Anything atypical in networking configuration (VPN, proxy, SSH configuration settings, etc.),
Output of the misbehaving commands with the --debug flag
the VirtualBox logs from ~/.docker/machine/machines/name/name.

Thanks!

N

Thank u, @rygood. However, I commented the localhost settings, then it worked.


Setup CI for TiDB

PR Info
Try to setup CI for TiDB

CC @itwaix

The error here is because TiDB does not support nested transactions


Update after PXC 1.6.0 release and prepare for 1.7.0

Test name
Status

recreate
failed

scaling
failed

big-data
failed

storage
failed

restore-to-encrypted-cluster
failed

haproxy
failed

self-healing
failed

scaling-proxysql
failed

demand-backup
failed

init-deploy
failed

self-healing-advanced
failed

upgrade
failed

operator-self-healing
failed

limits
failed

scheduled-backup
failed

monitoring
failed

monitoring-2-0
failed

demand-backup-encrypted-with-tls
failed

affinity
failed

one-pod
failed

auto-tuning
failed

upgrade-consistency
failed

proxysql-sidecar-res-limits
failed

users
failed

tls-issue-self
failed

tls-issue-cert-manager
failed

tls-issue-cert-manager-ref
failed

security-context
failed

Test name
Status

scaling
passed

big-data
passed

storage
passed

recreate
passed

haproxy
passed

self-healing
passed

init-deploy
passed

scaling-proxysql
passed

upgrade
passed

restore-to-encrypted-cluster
passed

limits
passed

self-healing-advanced
passed

upgrade-consistency
failed

monitoring
passed

operator-self-healing
passed

monitoring-2-0
passed

demand-backup
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

scheduled-backup
failed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

demand-backup-encrypted-with-tls
passed

Test name
Status

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

recreate
passed

monitoring-2-0
passed

restore-to-encrypted-cluster
passed

affinity
passed

demand-backup
passed

one-pod
passed

scheduled-backup
failed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

storage
passed

users
passed

self-healing
passed

self-healing-advanced
passed

tls-issue-self
passed

scaling
passed

operator-self-healing
passed

tls-issue-cert-manager
passed

scaling-proxysql
passed

tls-issue-cert-manager-ref
passed

upgrade
passed

upgrade-consistency
failed

big-data
passed

demand-backup-encrypted-with-tls
passed

security-context
passed

Test name
Status

storage
passed

haproxy
failed

big-data
passed

scaling
passed

recreate
passed

self-healing
passed

scaling-proxysql
passed

init-deploy
passed

upgrade
passed

restore-to-encrypted-cluster
passed

limits
passed

upgrade-consistency
failed

monitoring
passed

demand-backup
passed

self-healing-advanced
passed

monitoring-2-0
failed

affinity
passed

one-pod
passed

operator-self-healing
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

scheduled-backup
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

demand-backup-encrypted-with-tls
passed

Test name
Status

storage
passed

self-healing
passed

self-healing-advanced
passed

operator-self-healing
passed

haproxy
failed

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
passed

big-data
passed

scaling
passed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
failed

init-deploy
passed

limits
passed

monitoring
passed

monitoring-2-0
failed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

security-context
passed

Test name
Status

haproxy
passed

big-data
passed

recreate
passed

scaling
passed

storage
passed

init-deploy
passed

self-healing
passed

scaling-proxysql
passed

upgrade
passed

restore-to-encrypted-cluster
passed

limits
passed

self-healing-advanced
passed

monitoring
passed

upgrade-consistency
failed

monitoring-2-0
passed

operator-self-healing
passed

demand-backup
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

scheduled-backup
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

demand-backup-encrypted-with-tls
passed


run: stop following symlinks when searching for binary in path

When run was searching the path for a given binary, it would attempt to
follow the symlink. This is incorrect, as the symlink might not be valid
until after the chroot. This commit fixes that.

LGTM


[close #287] fix alertmanager for tikv-cdc

Signed-off-by: zeminzhou<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #287
Problem Description: TBD
What is changed and how does it work?
ticdc -> tikv-cdc
Code changes

No code

Check List for Tests
This PR has been tested by at least one of the following methods:

No code

Side effects

No side effects

Related changes

No related changes

/verify


Anisotropy performance fluctuates wildly

The time Anisotropy takes fluctuates randomly between runs. For example, I've seen bat_cochlea_volume.zip take anything between 10 000 and 40 000 ms with the default parameters (directions = 2_000, linesPerDirection = 10_000, samplingIncrement = sqrt(3.0)). Ideally performance would be more consistent.

I thought if sometimes MIL sampling was unlucky, and had a lot more misses than at other times. This is not the case, in fact I found out that sometimes execution takes less time with fewer iterations:
Duration: 18169 ms
Iterations: 112817664
Misses: 63958158
Duration: 13345 ms
Iterations: 112901391
Misses: 64139667
I also checked that the total length of the lines sampled is always the same.

I checked with VisualVM that it's not garbage collection kicking in. It's not. What I did notice is that on slower runs CPU usage fluctuates more from the usual ~95 %. Almost all the execution time is spent in ParallelLineMIL.countPhaseChanges() which is to be expected.


dolphin-emu: fix metadata (GPLv2 -> GPLv2+, http -> https)

Motivation for this change
Dolphin has been GPLv2+ since 2015. See https://dolphin-emu.org/blog/2015/05/25/relicensing-dolphin/
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build dolphin-emu

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: dolphin-emu
Partial log (click to expand)
Cannot nix-instantiate `dolphin-emu' because:
error: attribute 'dolphin-emu' in selection path 'dolphin-emu' not found

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: dolphin-emu
Partial log (click to expand)
Cannot nix-instantiate `dolphin-emu' because:
error: attribute 'dolphin-emu' in selection path 'dolphin-emu' not found

(The attribute doesn't match the folder or package name for Dolphin.)
@GrahamcOfBorg build dolphinEmu dolphinEmuMaster
Though this shouldn't cause any change in the build, since this is a meta change.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: dolphinEmu, dolphinEmuMaster
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: dolphinEmu, dolphinEmuMaster
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: dolphinEmu, dolphinEmuMaster
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: dolphinEmu, dolphinEmuMaster
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: dolphinEmu, dolphinEmuMaster
Partial log (click to expand)
copying path '/nix/store/mklyd0vmkvp30vblyllhspl62bz9znwv-hidapi-0.8.0-rc1' from 'https://cache.nixos.org'...
copying path '/nix/store/pbz2l7iwnc2nh0fja4d1mdlb2gfwm80a-mbedtls-2.12.0' from 'https://cache.nixos.org'...
copying path '/nix/store/9s2bb3zlzzvqrv2s1j2yj4w7kbh7gnzb-portaudio-190600-20161030' from 'https://cache.nixos.org'...
copying path '/nix/store/7sg1yj5khjcxpv2vd7rlznis63r4fv6j-sfml-2.5.0' from 'https://cache.nixos.org'...
copying path '/nix/store/k9azkz9l1mnxbgnfzqh770l9cmbip92r-soundtouch-2.0.0' from 'https://cache.nixos.org'...
copying path '/nix/store/pqlr5xlm1dnn2vhngnpy2wg3ilhg3xyd-vulkan-loader-1.1.85' from 'https://cache.nixos.org'...
copying path '/nix/store/6qrrlxzfvx2qwhglglaj2c3j3b4b97ww-dolphin-emu-5.0' from 'https://cache.nixos.org'...
copying path '/nix/store/zlcghvw6asx28k9z82sckr2v1v0h9w4c-dolphin-emu-2018-09-24' from 'https://cache.nixos.org'...
/nix/store/6qrrlxzfvx2qwhglglaj2c3j3b4b97ww-dolphin-emu-5.0
/nix/store/zlcghvw6asx28k9z82sckr2v1v0h9w4c-dolphin-emu-2018-09-24

Success on x86_64-linux (full log)
Attempted: dolphinEmu, dolphinEmuMaster
Partial log (click to expand)
copying path '/nix/store/7sg1yj5khjcxpv2vd7rlznis63r4fv6j-sfml-2.5.0' from 'https://cache.nixos.org'...
copying path '/nix/store/pg4p0lq8zf2zrdfgr1dqq73199d4d8wr-xcb-util-wm-0.4.1' from 'https://cache.nixos.org'...
copying path '/nix/store/lrh9687rwr0l9yhl841lkn96yj2v4mvm-xvidcore-1.3.5' from 'https://cache.nixos.org'...
copying path '/nix/store/983zbwvzh1haajw55yqqsznz0bck6qql-qtbase-5.11.1' from 'https://cache.nixos.org'...
copying path '/nix/store/vizbvm1s4hlmf1xlr8kf2wn6i1bl46zw-ffmpeg-3.4.4' from 'https://cache.nixos.org'...
copying path '/nix/store/6qrrlxzfvx2qwhglglaj2c3j3b4b97ww-dolphin-emu-5.0' from 'https://cache.nixos.org'...
copying path '/nix/store/n5ykmay4bzqdplpy9i1i2wlgzkllmv28-qtbase-5.11.1-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/zlcghvw6asx28k9z82sckr2v1v0h9w4c-dolphin-emu-2018-09-24' from 'https://cache.nixos.org'...
/nix/store/6qrrlxzfvx2qwhglglaj2c3j3b4b97ww-dolphin-emu-5.0
/nix/store/zlcghvw6asx28k9z82sckr2v1v0h9w4c-dolphin-emu-2018-09-24


Update directory-assign-admin-roles.md

Updating Helpdesk Admin section.

@VinceSmith : Thanks for your contribution! The author, @curtand, has been notified to review your proposed change.

Will roll into larger change.


Program filters- 508 Issue

Required Fix

Page / Screen
Description    of Issue
Test(s)
508    Standard(s)
WCAG    2.0 Standard(s)

Program Filters
A glitch is noted   in the program filters during keyboard navigation affecting the first   checkbox in the various menus (specifically, Acid Rain Program; Boilers;   Coal; Mercury).  During testing,   navigating to these checkboxes triggered the identification of the time   period filter selection.  Further   investigation showed that whichever filter had been applied first was being   read for this checkbox.  This behavior   was seen consistently when cycling through the navigation items forward   (using TAB) but when cycling through them in reverse (SHIFT-TAB), they were   read correctly.           See Figures 1   and 2
4A
1194.21(a)
2.1.1

Context
Refer to EASEY July 2021 Test Report

Figure 1: Acid Rain Program reads as Time Period filter selection

Figure 2: First checkbox in filter selections appears to read label from first applied filter

Ticket is no longer valid. Received additional feedback from the tester that this was an issue with the testing tool and not the application.


Can I link to a module which my package depends on but which is not imported?

Can I link to a module which my package depends on but which is not imported?  This issue suggests not https://github.com/haskell/haddock/issues/388.  But if that is really the case then what is the rationale?  I can always get the behaviour I want at the cost of a redundant import.  Couldn't Haddock just simulate that?

Tom, I think this should be somewhat possible today. The following is my reasoning about why it should work:
We have a production for DocModule:
https://github.com/haskell/haddock/blob/256b908e0e2bf65812258c21b74d280f9a021cd4/haddock-library/src/Documentation/Haddock/Parser.hs#L145-L154
https://github.com/haskell/haddock/blob/256b908e0e2bf65812258c21b74d280f9a021cd4/haddock-library/src/Documentation/Haddock/Types.hs#L110
Note that this is a plain String and not GHC identifier. So this won't be renamed or resolved by GHC or Haddock in the usual way identifiers are. Instead take a look at
https://github.com/haskell/haddock/blob/256b908e0e2bf65812258c21b74d280f9a021cd4/haddock-api/src/Haddock/Backends/Xhtml/DocMarkup.hs#L47-L53
where
https://github.com/haskell/haddock/blob/4abf7d4979b5364da59f7412a3d7143aea26cf7e/haddock-api/src/Haddock/Backends/Xhtml/Names.hs#L173-L175
where
https://github.com/haskell/haddock/blob/4abf7d4979b5364da59f7412a3d7143aea26cf7e/haddock-api/src/Haddock/Utils.hs#L251-L255
So resolving a DocModule will lookup the FilePath from html_xrefs'! Let's see where html_xrefs ' get populated:
https://github.com/haskell/haddock/blob/978dbc859df09eb991d9ccc0911276cc9655b783/haddock-api/src/Haddock.hs#L594-L601
For some reason we are using a global mutable variable to pass the cross references to the XHTML backend. But that is not important now. We can see that we include every InstalledInterface (~= Module) we passed to haddock on invocation in the xrefs mapping.
That would mean, as long as your module is somewhere in your dependency tree and you are passing that packages .haddock file to haddock it should get linked.

(That is to say, we should investigate why it wouldn't work for your case)

You mean what am I asking for is already implemented?  Which Haddock version?  I am using Haddock version 2.17.2 which came with Debian's ghc package (version 8.0.1).

I am also using:
cabal-install version <IP_ADDRESS>
compiled using version <IP_ADDRESS> of the Cabal library

I think this code hasn't changed for quite some time. I run out of haskell
time now, but if you want, you could experiment a bit. As I showed the code
is there, maybe it's a bug? Maybe your module ref is hot parsed as a
DocModule or something?
tomjaguarpaw<EMAIL_ADDRESS>schrieb am Sa., 7. Apr. 2018, 12:12:

You mean what am I asking for is already implemented? Which Haddock
version? I am using Haddock version 2.17.2 which came with Debian's ghc
package (version 8.0.1).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/haskell/haddock/issues/796#issuecomment-379458721,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AByiiUIS00ob8rHpPoFtA3DKOLbze5biks5tmJDpgaJpZM4TK-m-
.

Ok, I tried locally with haddock-2.19.0:
module X where

-- | Like "GHC.Tuple"
data P a b = P a b

with
haddock -html test.hs --read-interface /usr/local/share/doc/ghc-8.4.1/html/libraries/ghc-prim-<IP_ADDRESS>/,/usr/local/share/doc/ghc-8.4.1/html/libraries/ghc-prim-<IP_ADDRESS>/ghc-prim.haddock

And it worked out great!

Interesting.  I will have to try with an updated Haddock.  Thanks!


Feature request: API reference

Can React project publish actual API reference that is organized by function/class (like jsdoc) rather than flat tutorial pages as it is right now. Also rename current "API Reference" to "tutorial".
I find that looking up information about specific items is very hard due to lack of structure and also I rarely find the answers I seek (the documentation is not very exhaustive). Most of the time I have to resort to use Google and even then I sometimes fail (e.g. #4144).

Or at least just improve the layout of the pages to have more structure. Perhaps the navigation tree on the left could expand to include every documented element as children and highlight the current one.
I'm talking about pages such as:

https://reactjs.org/docs/react-api.html
https://reactjs.org/docs/hooks-reference.html

Thanks so much

+1.
The docs are hard to navigate as a newcomer to React trying to go below the surface. For instance: having the API Reference point you back to the Main Concepts is not fun. Ironically, the Main Concepts and Advanced Guides do not link to the API Reference.
Also many examples still use class components + magic methods (render, constructor, setState etc), which I've been told are obsolete. Looking around for documentation and examples for function components + hooks specifically is painful.
Having the section on Hooks totally separated from the rest of the docs felt somewhat misleading too. There is not even a page on Hooks under Advanced Guides.
The guides themselves feel helpful and well written, but the contents and structure of the Docs page need attention.

Yes, it seems it is going in the direction I've asked for.

I'll close this issue since we are currently adding API references. Feel free to leave any suggestions regarding the new docs in https://github.com/reactjs/reactjs.org/issues/3308


Visual upgrade v.2

[x] Implement login name + "Login" text
[x] Quick menu rotation input
[x] Less paddings in container
[x] Fix empty info bar when sending on revirew
[x] Zooming issue
[x] Implement information popup in uploading workflow

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Create chromosome alias in CoordSystem object

Description
As described in JIRA ticket ENSCORESW-3021, sequence assembly data has changed in format in recent years, resulting in recent databases having only a single 'primary_assembly' coordinate system. This is compared to older assembly data with multiple coordinate systems including: 'chromosome', 'contig', 'scaffold'.
Use case
Currently, a coordinate system named 'chromosome' may not exist in an Ensembl database, due to a change in sequence assembly formatting in databases created in the last few years. Examples include the Parus major and Clupea harengus databases, which contain a single coordinate system named 'primary_assembly'. If a user requests a chromosome slice object and there is no explicitly-named chromosome coordinate system in the query database, this new feature uses karyotype-based attributes in the database to identify a coordinate system to add an appropriate ('chromosome') alias to.
Benefits
Where an Ensembl Core species database does not have coordinate system named chromosome, this code will create an alias to the appropriate coordinate system when a user requests a chromosome slice object, as long as the requested name has associated karyotype attributes.
Possible Drawbacks
Once the tests have been updated (as mentioned below), there are no drawbacks that I can think of.
Testing
Yes, tests have been added to coordSystem.t.
If so, do the tests pass/fail?
The tests in coordSystem.t pass.
Have you run the entire test suite and no regression was detected?
The test suite is passing in the Travis-CI build.

Coverage decreased (-0.09%) to 82.127% when pulling 53318cb413191b9beaeccd5f5f5905e012ff18a0 on feature/alias_chromosome_coordsystem into 17a835a18f2e93e2718e1ff734c01b3eacf5d92b on master.

The test suite is passing when run by travis-ci. As various tests failed when I ran the test suite locally, I need to check how my local environment differs to that used by travis-ci.

Two areas to investigate regarding the tests:

patches and other alternative regions have chromosome as a coordinate system but are flagged as alternative with an entry in the assembly exception table
It might be worth checking whether the alias fetching SQL needs to be updated to deal with these
some tests can run fine on their own, but fail when the whole test suite is run.
When the whole test suite is run, test databases are re-used between tests rather than created from scratch
If any of the tests adds/updates data, this can affect downstream tests

Two areas to investigate regarding the tests:

patches and other alternative regions have chromosome as a coordinate system but are flagged as alternative with an entry in the assembly exception table
It might be worth checking whether the alias fetching SQL needs to be updated to deal with these
some tests can run fine on their own, but fail when the whole test suite is run.
When the whole test suite is run, test databases are re-used between tests rather than created from scratch
If any of the tests adds/updates data, this can affect downstream tests

Thanks mag. I believe the failed tests I saw locally were due to your second point of test dbs being re-used because if I only run the tests in assemblyException.t, they all pass as expected.

Please check and if needed add appropriate changes to coordinate system apadtor that creates, removes and updates coordinatesystem object, to also support alias_to

Please update CoordinateSystemAdaptor store/update/remove methods if needed to support new field.

Thanks @mira13 . I've discussed this with @ens-bwalts and alias-related changes to the database are currently planned for a future date. For this current feature we've been working on updating the CoordSystem and SliceAdaptor objects, and will include your suggestions in a plan to update database schema changes etc. at a future date.

@nwillhoft it can happen that current changes will be merged in current release, and future planned - not. It is a bug in release.

Have discussed database schema updates with @magaliruffier and @ens-bwalts. They have decided that the database schema will need updating at a future date and have approved the scope of the current changes (i.e. code changes to modify CoordSystem objects). @mira13 's point needs keeping in mind - that users might file bug reports if they find a new alias field in the code and expect to find it in the database (but it's not there).

Will add in more checks to ensure users can only create an alias called 'chromosome'.


feat: prelaunch changes

Description

Update the tab background colour to mint
Update the main copy

from School support: https://docs.google.com/document/d/16k8Qimvf6XBhtrVA-0b_z248u5JMRR-McK0SdAobpvk/edit

Update image in top banner to this one: (with the same black border as on the other homepage tabs)
Make the AI squad the default homepage

How to test

Go to https://deploy-preview-2750--oak-web-application.netlify.app/
aila should be the default tab
click on the other tabs and you should still be able to navigate to them

Screenshots
How it used to look (delete if n/a):

How it should now look:

Known issues

the image has a thinner border than the images on the other tabs. This is because on those images the border is in the static image itself. I am contacting marketing to fix this issue directly in sanity

Acceptance Criteria

[x]  Update tab background colour to mint (#BEF2BD)

[x]  Update the main copy
Your lesson prep, transformed with AI
Try our free, AI-powered lesson assistant: Aila. Whether it’s creating bespoke resources or helping you tailor content to your class, Aila can help speed things along.

[x]  Update the image in the top banner (attached above). Image position/size/stying as per the Teaching resources tab.

[x]  Make the AI tab the default homepage

@kimon-satan I've added an image with a 4px border to the ticket. I think there's a 3px CSS border on the other images, so hopefully this will now match. The positioning is also slightly different to the other tabs, so it flicks when navigating tab to tab. Is it possible to have all the tab images use the same positioning on the page?

Looks good thanks @kimon-satan. A few small tweaks:
Button CTA text: Create a lesson with Aila
Title / Aira label to match: Create a lesson with Aila (this will open in a new tab)
Alignment of 'Teachers' title, is slightly higher than other tabs
Alignment of image seems to be centred vertically, can it be top aligned, as per other tabs?

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


removed info where onprem users are able to create Skype Brodcast mee…

…tings
Creating a Skype Broadcast meeting requires user to be licensed with at least Skype Online Plan 2 license. Granting such license to an on-prem hosted account can lead to federation/unexcected behavior. Removed information where is stated that onprem accounts can create Skype Broadcast meetings.

@LolaJacobsen @tonysmit Can I merge this?


Not working in a Virtual Machine (Vbox or Hyper V)

Hi I have an electron app that uses si.diskLayout() to retreive system disks information for windows systems.
It works great when the app runs on an physical machine but when ran on a VM it doesn't return anything.
I tried Querying wmic on the VM and it shows there are disks.

@cojocarule , thank you for reporting ... As you said, there is an output with wmic, can you post the output of the following:
wmic diskdrive get /value

and in powershell
Get-PhysicalDisk | Format-List

Thank you in advance!

UniqueIdFormat                   : FCPH Name
Usage                            : Auto-Select
VirtualDiskFootprint             : 0
PSComputerName                   :
ClassName                        : MSFT_PhysicalDisk

@cojocarule thank you so much for your fast response! That will help. I will try to come up with a solution the next days.

@cojocarule can you try to pull the /lib/filesystem.js directly from GitHub ad text if this makes any difference?

Cool, Its working now in Hyperv, but still not in Vbox.
Here is the output from Vbox:
C:\Users\adrian>wmic
wmic:root\cli>diskdrive get /value
Availability=
BytesPerSector=512
Capabilities={3,4,10}
CapabilityDescriptions={"Random Access","Supports Writing","SMART Notification"}
Caption=VBOX HARDDISK
CompressionMethod=
ConfigManagerErrorCode=0
ConfigManagerUserConfig=FALSE
CreationClassName=Win32_DiskDrive
DefaultBlockSize=
Description=Disk drive
DeviceID=\.\PHYSICALDRIVE0
ErrorCleared=
ErrorDescription=
ErrorMethodology=
FirmwareRevision=1.0
Index=0
InstallDate=
InterfaceType=IDE
LastErrorCode=
Manufacturer=(Standard disk drives)
MaxBlockSize=
MaxMediaSize=
MediaLoaded=TRUE
MediaType=Fixed hard disk media
MinBlockSize=
Model=VBOX HARDDISK
Name=\.\PHYSICALDRIVE0
NeedsCleaning=
NumberOfMediaSupported=
Partitions=3
PNPDeviceID=SCSI\DISK&VEN_VBOX&PROD_HARDDISK\4&2617AEAE&0&000000
PowerManagementCapabilities=
PowerManagementSupported=
SCSIBus=0
SCSILogicalUnit=0
SCSIPort=0
SCSITargetId=0
SectorsPerTrack=63
SerialNumber=VB48714f98-fcbf9ac2
Signature=58649349
Size=53686402560
Status=OK
StatusInfo=
SystemCreationClassName=Win32_ComputerSystem
SystemName=DESKTOP-UIBQVT2
TotalCylinders=6527
TotalHeads=255
TotalSectors=104856255
TotalTracks=1664385
TracksPerCylinder=255
wmic:root\cli>powershell
powershell - Alias not found.
wmic:root\cli>
C:\Users\adrian>powershell
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\adrian> get-physicaldisk | format-list
ObjectId                         : {1}\DESKTOP-UIBQVT2\root/Microsoft/Windows/Storage/Providers_v2\SPACES_PhysicalDisk
.ObjectId="{b5e1c14b-04f2-11eb-af45-806e6f6e6963}:PD:{e4b0fe34-5dd1-d02b-3210-8becc6
9d81e4}"
PassThroughClass                 :
PassThroughIds                   :
PassThroughNamespace             :
PassThroughServer                :
UniqueId                         :      ATAVBOX HARDDISK
Description                      :
FriendlyName                     : VBOX HARDDISK
HealthStatus                     : Healthy
Manufacturer                     :
Model                            : VBOX HARDDISK
OperationalDetails               :
OperationalStatus                : OK
PhysicalLocation                 : Integrated : Bus 0 : Device 13 : Function 0 : Adapter 0 : Port 0
SerialNumber                     : VB48714f98-fcbf9ac2
AdapterSerialNumber              :
AllocatedSize                    :<PHONE_NUMBER>4
BusType                          : SATA
CannotPoolReason                 : Insufficient Capacity
CanPool                          : False
DeviceId                         : 0
EnclosureNumber                  :
FirmwareVersion                  : 1.0
IsIndicationEnabled              :
IsPartial                        : True
LogicalSectorSize                : 512
MediaType                        : Unspecified
OtherCannotPoolReasonDescription :
PartNumber                       :
PhysicalSectorSize               : 512
Size                             :<PHONE_NUMBER>0
SlotNumber                       :
SoftwareVersion                  :
SpindleSpeed                     : 0
StoragePoolUniqueId              :
SupportedUsages                  : {Auto-Select, Manual-Select, Hot Spare, Retired...}
UniqueIdFormat                   : Vendor Id
Usage                            : Auto-Select
VirtualDiskFootprint             : 0
PSComputerName                   :
ClassName                        : MSFT_PhysicalDisk

@cojocarule will check it. Thank you for testing

@cojocarule ... this is interesting ... I just "mocked" your output (Xbox) in a test and this worked out to be fine ... The point is, in my code on line 1009 I jus check if there is a "size" which is the case. As soon I pass this condition, I push a result which should then be visible. Can you once again recheck it? Otherwise I need to set up a box with windows installed ...

@cojocarule I just created a new windows installation in VirtualBox and testet si.diskLayout() ... this worked fine and VBOX HARDDISK was recognised with correct size, name, ... output was correct ... can you recheck it on your side?

Yes. it works on Vbox too. The issue was in my code I was filtering the array by InterfaceType and was expecting "IDE" when it was in "SATA". Thanks for helping with this and sorry for the confusion.

@cojocarule No problem! Closing it now.


signTypedData does not work

Describe the bug
Trust Wallet is unable to signTypedData (all versions) preventing users from signing off-chain messages. This is a sev-1 bug and the only resolution for it right now is having users import their accounts to other wallet applications.
To Reproduce
Steps to reproduce the behavior:

Go on https://metamask.github.io/test-dapp/
Connect TrustWallet, change network to Avalanche
Try to use any signTypedData function

Expected behavior
User should be able to use signTypedData.
Screenshots

Hi @y3fers0n, could you please also take a look at this issue too? 🙂

Hello, we recently found an issue and has been fixed, it will be available in the next release, but metamask has custom logic in their dApp for setting chainId, so it might still failing there. Thanks for reporting!


Press "Back" button will exit from App in Xamarin.UWP MasterDetailPage

I'm using UWP in Xamarin.Forms.
I have a MasterDetailPage, There is a NavigationPage in the Detail. I start read the barcode, but after I press the Back button on My Lumia 640XL, it will exit from current App.
I already tried to add NavigationCacheMode="Enabled"  in MainWindow.xaml.  Not working.
I upload a sample file: https://drive.google.com/file/d/0Bw0uognK2ErvYmxjanJieWxhUG8/view?usp=sharing
Is there some one has real device could test it?
Thanks.

I try to add:
 var scanner = new ZXing.Mobile.MobileBarcodeScanner();
scanner.CancelButtonText = "return";
scanner.TopText = "top text";
scanner.BottomText = "bottom text";
scanner.FlashButtonText = "flash";

for display some button on the UWP, then I don't worry about the return problem. But all not working.  even the top and bottom label not show on.

Ok, After I see the source code I found UWP never implement CancelButtonText.
Also it will throw some exception after finish, maybe execute some method twice. lime media capture : stop preview method.
Also there is still has navigation problem after you navigate back , it's not the original page.
So I download the source code and fixed all problems.
1.Fix when finish scan stop, the mediaCapture.stopPreview() will execute more than onece problem.
2.Old UWP will always use the current mainWindow Frame, that cause a lot of problem. So I create a new Frame and replace mainWindow.Content, after finish scan just restore the original mainWindow.Content. All fine, I test it on real phone.
Now you could remove the description about add on MainWindow:
NavigationCacheMode="Enabled"
3.I add a cancel button.  But If you want to use it, just need to set the CancelButtonText. like:
 var scanner = new ZXing.Mobile.MobileBarcodeScanner();
scanner.CancelButtonText = "Return";

That will more helpful because you don't need to press Back button on the phone, and cause some trouble.
By the way: When I submit code to GitHub, there is some commit problem, just ignore it if I submit it twice.(First time use, sorry for that)
@Redth  Please Release a new UWP and UWP.form version on Nuget, Thank you.

Duplicate of #366


Converted to Cocoapods

This PR makes repo build on clone, using Cocoapods, nstead of Carthage which feels a bit outdated.
The Pods folder is included in git as it should.
Coming PR will make use of SwiftLint.

The test testTransactionOutput is failing, strange because the response dictionary contains result

one of the fields is null which is currently not covered by the parsing, it needs to be fixed

We should not include Pod Frameworks into the project itself, we can keep a Podfile and a Podfile.lock and it should be on the onus of the downloader of the project to install the associated frameworks on their machine.
Gemfile should not be included, it is not a requirement to use cocoapods for installation. We need to remain dependency manager agnostic (carthage and SPM will be supported in the future as well).
You are free to add a contributors file and add your name to it, but the main authors have put significant time and work into developing this framework. If you show consistent time and effort we will be happy to put you as a main author.
For any directory structure changes please let me know why the changes were necessary. As it stands the first step towards getting this PR merged in would be to remove the Pods directory so it's managed solely by the user and not on this repo

Closing this PR since it has become outdated since #24


Add Axis to Dot Plot

Background
Due to PR #34, PureChart finally supports dot plots! However, they are too simple to be used practically. Since points are now being rendered successfully, the next step is to draw labeled x- and y-axes.
Goal
Add axes to the dot plot using the image below for guidance. The method you'll be working on is dot_plot in lib/purechart/chart_helper.rb.

You may use either HTML/CSS or SVG code to accomplish this. Make sure to check the way axes are rendered for lollipop charts before getting started - it may help. Good luck!

Notice that there are no x-axis ticks? That's because line graphs currently take only the y-values and space them out horizontally. This will be changed in the future but don't worry about it until then. If it looks like the picture it's good 😉

I can try this

Closed by #40


Does kitex have plans to support other languages, such as python and java?

Does kitex have plans to support other languages, such as python and java?
Because kitex has some custom protocols, if I want to use other languages as clients to use kitex/thrift or kitex/Protocols, does it mean that I have to define and maintain related interface protocols and related serialization methods myself?

no

Kitex provides supports for Thrift and gRPC, if other languages provide the same support for the protocols, it's ok with the service interoperability. @duyucongc


Simple count(*) performs very poorly

Two customers have stated that executing a SELECT COUNT(*) or similar causes Quasar to run an aggregate command rather than an equivalent .count() in MongoDB query language.  Testing confirms.
💪 $ select count(*) from patients
MongoDB
db.patients.aggregate(
  [
    {
      "$group": {
        "0": { "$sum": { "$literal": NumberInt("1") } },
        "_id": { "$literal": null }
      }
    },
    { "$limit": NumberLong("11") }],
  { "allowDiskUse": true });

One customer mentioned this took over 30 seconds in a large collection where the Mongo shell returned instantly.
Can this be optimized and prioritized?

@mossprescott This is higher priority than #1371 and #1374 (if you're not already done with that).

The problem seems to be isolated to the REPL. If I do the same query through the API, I can see it using the count command. The REPL is confusing the issue by adding a "limit" step which is unnecessary in a case like this, and defeats the optimization. Should be a quick fix.

Customer mentioned they traced the MongoDB command because of performance problems and noted it was from SlamData.  I will confirm this, however, and let you know.  Thank you!

@damonLL The other thing to do is check to make sure it was just a simple SELECT *. If it had filters or other things on there, it likely wouldn't make it to find().count().

We execute with count even if there is filtering, as long as it can be compiled to the query language. Here's an example from the REPL with my fix:
MongoDB
db.zips.count({ "city": "BOULDER" });

Query time: 0.0s
 0  |
----|
  7 |

PR coming up momentarily.

@mossprescott Hmm, the front-end or the web API may auto-add a limit. Could that explain it?

I didn't see it happen when I made direct calls to the API. The front-end will use paging, which turns in to a limit when a view read is interpreted, so that would explain it. I'll test that case as well.

This unfortunately can’t solve the immediate problem, but I think this could be handled in QScript. We can elide a Take with a count that is statically >= 1 if the provenance is Nil (i.e., if there’s been a reduction applied such that we know we have exactly one record).
Does that sound like a reasonable solution for 3.1?

It looks like count can handle skip and limit.

I confirmed that the same problem occurs with views and is fixed in the PR.
All the push -f there is just me rewriting the commit message and changelog to capture everything ;)

@jdegoes IIRC, those are applied before the count reduction. I.e., it handles Count(Limit(query, 10)), not Limit(Count(<query>), 10).

@mossprescott or @sellout:  would the same fix help a join query such as the following?
SELECT count(*)  FROM coll1 INNER JOIN coll2 ON coll2._remote_id = coll1._client_id

@damonLL I haven't reviewed the fix yet, but it probably does. However, there is still join performance to deal with, so you probably want to be on Mongo 3.2 😉

@sellout: as you'll see when you review the PR, the executor was handling Count(Limit(...)) (which you can't generate with SQL^2), but not Limit(Count(...)) (which you can write, but is also generated by either the REPL or reading from a view with, say, ?offset=0&limit=10, as the front-end will do). It was easy to recognize a zero offset and limit >= 1 and ignore both, which is equivalent to what you suggest for QScript.
@damonLL: any JOIN is going to be map-reduce or at least aggregate, for some cases on 3.2.

 It seems easy enough to me, even just a sub-select, not even using any ² features.
does Count(Join(…)) generate a single aggregate (or MR), or does it write a temp collection and count that? Something that may be worth doing cost analysis on.

@sellout yes this is the right PR now.  But yeah this didn't have a huge effect for us.  We would be glad to share the query.


featureadd search function: multi_search_all_positions

Proposed changes
Issue Number: close #xxx
Problem summary
Add search function: multi_search_all_positions
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 42.05 seconds
load time: 580 seconds
storage size:<PHONE_NUMBER>2 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221027102901_clickbench_pr_34726.html

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 38.8 seconds
load time: 628 seconds
storage size:<PHONE_NUMBER>9 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221028045810_clickbench_pr_35119.html


Introduce "Save" like option

To clarify this, let we take --decrypt:
Currently, if I have encrypted PDF - let we call it in.pdf - to decrypt it we need to use:
qpdf --decrypt in.pdf out.pdf
this is corresponding to "Save as with new name" option in GUI. But I can not perform:
qpdf --decrypt in.pdf
or
qpdf --decrypt in.pdf in.pdf
both are corresponding to "Save" option in GUI.
From that, currently, each step or operation in QPDF need to create new PDF. This needed in some situation. But in many other situation it is annoying to create many PDF files (each per process achieved by QPDF.
I wish that I was clear in my suggestion & in explain my idea. It is very excellent to make possible to do:
qpdf --decrypt x.pdf
as a correspondence to
qpdf --decrypt x.pdf x.pdf
This should not be limited to "--decrypt" option, but to all aspects & powers of QPDF. This will make QPDF highly easer. I used "--decrypt", just, as an example.

This is an often requested feature. I will think about how to do it. Right now, qpdf already knows how to detect when the output file is overwriting the input file, so it wouldn't be that hard to have it handle this case specially. Do you think it would be okay to require a flag like --replace-input to enable this? Another option might be to have some kind of flag that would indicate what to do with the original, such as to rename it with some kind of backup suffix, though this might be overkill.

I'm going to mark this as "next" so I don't forget to look at it again soon. I am hoping to get 8.4.1 with a few fixes out very soon, and it may not make the train for 8.4.1.

@jberkenbilt
Dear I do not think that adding new flag is good idea because we are already many flags & commands of QPDF are long enough which make me asking repeatedly for GUI.
It will be much better to make it just:
qpdf --option x.pdf
to be "save" process in opposite to
qpdf --option x.pdf z.pdf
which is already "save as with name"

@Nokia808: I see your point but I think backwards compatibility is more important than usability here.
This can be easily be worked around by a wrapper (be it a shell alias, a CLI script or a GUI tool).

I'm not going to make qpdf willing to overwrite its input files by default, but I can make it detect when you try to do it and mention the new flag in the error message. If qpdf is going to annoy people, I would rather have it annoy people by making them type extra command line flags than by making it clobber people's files.

Two additional thoughts: If I read something like qpdf --option x.pdf, I expect output on STDOUT/STDERR first and I think that is a strong convention especially on Linux. Overwriting the input file instead would surely be surprising to many users familiar with that convention.
The second thing is remembering differences on OS/file system level: Shared access to files is forbidden by default on Windows and one needs to explicitly opt-in instead:

dwShareMode

If this parameter is zero and CreateFile succeeds, the file or device cannot be shared and cannot be opened again until the handle to the file or device is closed. For more information, see the Remarks section.

https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew
Remember the UTF-8/Unicode-problems you had some months ago, so you might not want to introduce new features which too heavily rely on certain aspects of the used OS/FS.

@jberkenbilt
Okay, I agree with you: add, kindly, this new feature by using additional new flag like:
qpdf --decrypt input.pdf --overwrite
or something like this ..........

If I do this, it would necessarily be something like writing a new file to a temporary location and then, at the end, overwriting the input file. It's the only safe way to do it, and qpdf requires access to the input file for the whole time it is working with it, so it can't be destroyed until the very end anyway.

I'm hoping to get qpdf 9 out today, but definitely this weekend. I'll include this feature. I'm thinking of this:

If --replace-input is given, no output is given, so for example, you could run qpdf --lineraize input.pdf --replace-input
If there are any errors parsing the file, the input file will be left alone.
qpdf will write the file to input.pdf.~qpdf-temp. If there are any errors during creation of the output (rare), the temporary file will be retained.
. If the operation is successful, input.pdf will be renamed to input.pdf.~qpdf-orig, then input.pdf.~qpdf-temp will be renamed to input.pdf.
If there were no warnings, input.pdf.~qpdf-orig will be deleted. Otherwise, it will be left behind for inspection.

I could make it more flexible, but I don't think I will. If people want more flexibility, they can script it. Since qpdf's exit code of 2 or 3 indicates errors or warnings, the behavior I decsribed could be easily scripted, and that would give people flexibility on names and locations of temporary files, etc. This feature will be geared more toward the casual user who just wants to overwrite some files.

Generally agree with your approach, just want to mention one thing: LibreOffice would use a naming scheme like e.g. .~qpdf-temp.input.pdf# instead what you suggest, so that the files e.g. are marked as hidden by default. Did you consider such a scheme as well, but don't want to use it by purpose? I can think of some reasons not using it, like simply grouping the files by their name. I only have the feeling that is a somewhat standard way to handle such things and should at least be considered.

@ams-tschoening Sure, I can do that.

I'll keep my convention for the orig file and use the other one for the temp file. If the orig file is left behind, it's because there was a potential problem, and the expectation is that the user may want to actually do something with it.

I'm not going to actually release for a few more hours, so I'm open to any arguments in favor of using a different convention for the orig file. I had considered trying to preserve the original suffix, but I think this will lead to trouble. I can just image a.~qpdf-orig.~qpdf-orig.pdf...

New behavior:

write to .~qpdf-temp.infile#
if warnings:

move orig to infile.~qpdf-orig

else

move orig to .~qpdf-orig.infile#
move .~qpdf-temp.infile# to infile
delete .~qpdf-orig.infile#

Rationale: Use of hidden temporary files prevents flicker in file managers and so forth. Although QUtil::rename_file will overwrite a destination, adding the extra rename step in the no-warning case reduces the chances of a problem resulting from, say, a read-only file or a file the user doesn't have permission to delete. If the final delete fails, the cruft left behind will be a hidden file.

It was harder than it should have been to get this working in Windows. I had to add methods to the QPDF object to close the file....anyway hopefully the current implementation is clean and working. CI will tell momentarily. This is the last change before 9.0.0.

I found this indirectly.
I discovered --replace-input and I use it via rotate, to correct wrong .pdf
files. qpdf creates a backup file of the .pdf in the current directory; I use
ruby to automatically delete that backup file (in that particular use case
I want to flip all wrong .pdf files to their right position, then merge them;
having stray .pdf files even backups in the current working directory confuses
me).


Match previous systemVersion functionality

Since we moved to a new systemVersion implementation, we need to match the previous functionality's output.

Thanks for the help!


[IMAGE-BUTTON][VM|DS] Add image button component

Changes

Add image button component

Add fallback image for default .

delete branch

Changelog entry
Additional information

You may refer to this https://jira.ship.gov.sg/browse/RBS-400
Figma: https://www.figma.com/file/us90jOpWBahsqK2VAluPvD/Flagship-Design-System?type=design&node-id=335-5605&t=wee4qYcYH3fo1jyy-0

Added now.


Changes to bot config files and some minor fixes

This commit changes all the robot config files to reflect a more generic approach of defining relationships between camera transforms. All the camera transforms and timestamp offsets are now relative to nav cam. This is only relevant for ISAAC.
I also put a fix in reading config files so it does not complain when a table is read instead of number for the distortion parameters.  For that, I added to config_reader a function which can peek and see if a field is a number or a table.
I modified the calibration doc to note that nowadays pico_proxy is launched automatically (as long as drivers are launched), but kept the original logic for how to launch it separately if necessary.
Then I fixed a bug in iss.rviz. The sci cam topic should be compressed, otherwise it can't be displayed.

Strictly speaking the camera transforms are also calibrated quantities, just like the offsets. But  I see your point. The offsets would probably belong under each camera's intrinsics, further down the config file, in the robot_calibrations subsection.
I'll implement this tomorrow if there's no further comments.

Strictly speaking the camera transforms are also calibrated quantities, just like the offsets. But I see your point. The offsets would probably belong under each camera's intrinsics, further down the config file, in the robot_calibrations subsection.
I'll implement this tomorrow if there's no further comments.

Otherwise it looks good to me! Thanks!

I moved the offsets to the robot_calibrations namespace. I checked that the bot files for bumble, honey, queen, and bsharp load well and work as expected, and that the rest follow the same logic (a script was used to consistently convert their format).
I will merge this once the tests pass.


mapping aws-sam-translator

https://pypi.org/project/aws-sam-translator/
https://github.com/awslabs/serverless-application-model

Coverage increased (+0.5%) to 71.371% when pulling 7b2b5e9e5880cde1922c0b9c7ac238247f3850f4 on PatMyron:patch-1 into 6ca1f42d4e3ad91c9545c441d73b2004c45e059a on bndr:master.

Coverage increased (+0.5%) to 71.371% when pulling 7b2b5e9e5880cde1922c0b9c7ac238247f3850f4 on PatMyron:patch-1 into 6ca1f42d4e3ad91c9545c441d73b2004c45e059a on bndr:master.


shared object permissions

libcrypto.so and libssl.so on the linux install are not marked as +x, though the rest of the shared objects are.

We should use a tgz on linux since it supports preserving file permissions.

Those libraries aren't included anymore.


Xcode 11.0 beta6 BUILD FAILED

Xcode Version:
Version 11.0 beta 6 (11M392q)
The error is odd.

Just do some cleanup. It does not seem like a library bug to me.

Unfortunately, I've tried your suggestion but it didn't work.
As you can see, I used EK in SPM, where something went wrong. But, it works fine with CocoaPods.
This project is new and I ONLY add Alamofire and SwiftEntryKit from

Xcode11 > File > Swift Packages > Add Package Dependency

AND I ONLY import is as well. I don't think it is some cache issues because the project is a new one and I've ONLY create a vc.

I think you may give it a try to see if it is an issue about SPM. I created a new Single application project, add EK and AF as dependency and this bug reproduced. And my macOS and Xcode are the latest version from dev.apple
Last but not least, if I only add Alamofire from Xcode from SPM, it works fine and everything is okay.

Hi, you're right, SPM does require importing libs to the relevant files.
I was not aware that you are using SPM. For future issues, please state the dependency manager inside the description as described in the guidelines of the project.
I just merged a pending PR #220 (fix) into master, and 1.1.3 will be released in the next few minutes.
Once released I'll close this issue. Please let me know if that works for you.

Well, I'm sorry that I didn't described it clearly. So, I've just checkout the 1.1.3 release and the issue is gone. Thank you so much! 😆Now I don't need to import the freaking xcproj manually or depend on pod as well.

Glad I could help. :-)


slidesPerView and centeredSlides with loop mode

Hello,
Swiper: 2.4
wordpress: 3.8
I am using Swiper to build some carousels.
I have some issues and i am wondering if this could be due to the slidesPerView and loop options. You can see an example on this sample page: here.
I use this code:
var $lifestreamswiper = $lifestream.swiper({
wrapperClass: 'lifestream-slides',
slideClass: 'lifestream-slide',
slideElement: 'li',
grabCursor: true,
mode: 'horizontal',
mousewheelControl: false,
calculateHeight: true,
centeredSlides: true,
slidesPerView: ($lifestream.data('items') > $slides.length) ? $slides.length : $lifestream.data('items'),
loop: true
});
// Prev button
jQuery('#lifestream').find('.lifestream-prev').click(function (e) {
$lifestreamswiper.swipeNext();
});
// Next button
jQuery('#lifestream').find('.lifestream-next').click(function (e) {
$lifestreamswiper.swipePrev();
});

When i change slidesPerView to:

1 (first carousel): the active slide is not centered into the carousel. Maybe it's due to the css style.
2 (second carousel): the active slide is well centered, but the height of the container is not adjusted.

Nevertheless, in the both example, the last slide of the wrapper is not shown inline like the other. I think it's due to the padding applied to the wrapper. Is there a way to solve it?
For information, i try to put slidesPerView to auto without success.
Thank you in advance for your help,
jB

Hello,
This issue is still coming ;)
How do we resolve this?
Demo -> http://themes.themewaves.com/centura/
Check the main slider and end of the loop there has an White Space is there and it comes end of the loop of slider.
Thanks.


Adding value_to support without including a Boost.JSON header

Similar to #549, but in the other direction; it should be possible to add value_to support without including a Boost.JSON header. A minimal example is in https://godbolt.org/z/WsG33GrMP. Unlike the value_from case, this compiles, and the only reason it doesn't link is that the signature of value_to does not match the documented one.
I'm not sure why it's necessary for value_to to disappear from overload resolution when T is a reference. value_to is not intended to be an overload set. References can be disallowed by a static_assert in the body.
Not taking value in order to disallow implicit conversions is I suppose legitimate, but it can be achieved by adding a deleted templated overload (https://godbolt.org/z/Tqonvj9bT).

These declarations should have comments explaining the rationale for their signatures

Have you considered not doing this and then they put their value_to into a header that includes their type and the boost.json header.  That accomplishes the same thing of firewalling boost into a TU, no?

The easiest fix here is to change the specification of value_to as follows:
template<class T> T value_to( value const& v );
template<class T, class U> T value_to( U const& v ) = delete;

Unfortunately the changes in 31dd29523292e579497158b79703a4e7e3f56a3c (see the above PR) make value_to available to global ADL. For our codebase that posed a breaking change causing ambiguous calls (we have a value_to in our own namespace). Before the above changes that problem did not occur.

Can you provide a minimal example of what exactly was broken? We only have value_to overloads in namespace boost::json.

#include <type_traits>
#include <iostream>

namespace A
{
    class Arg {};

    template<typename T, typename U = std::enable_if<std::is_same_v<T, Arg>, void>>
    void foo(const T&)
    {
        std::cout << "A::foo" << std::endl;
    }

    void bar(const Arg&)
    {
        std::cout << "A::bar" << std::endl;
    }
}

namespace B::detail
{

inline void foo(const A::Arg&)
{
    std::cout << "B::detail::foo" << std::endl;
}

inline void bar(const A::Arg&)
{
    std::cout << "B::detail::bar" << std::endl;
}

int client()
{
    A::Arg x;
    foo(x);

    bar(x);
    return 0;
}

}

int main(int argc, char** argv)
{
    B::detail::client();
    return 0;
}

In client() the unqualified call to foo is well defined pointing to B::detail::foo while the unqualified call to bar is regarded ambiguous.

@EikeAtOT can you provide an example with value_to that has become broken after 31dd29523292e579497158b79703a4e7e3f56a3c, so that I can evaluate if this is something we can and should fix?


[BUG] Bootstrap pagination: NaN to NaN of undefined rows

To reproduce:

Navigate to a part list under a category
Select "All" for the number of items displayed
Refresh the page, it will show as:

Seems to be happening for all of the tables... but not all the time? This is a very strange one.

@SchrodingersGat It's weird indeed. The number of items shown default to "25" or "ALL" and the pagination also disappears...
Normal

Pagination problem and bad item size

As soon as "25" is selected, everything goes back to normal.
In my testing, only the "ALL" selection is causing this problem, and it is persistent until switched back to "25".

Will try to investigate; js is not my strongsuit

I think I found the solution for the problem in a blog post.
I submitted a PR #1655
@eeintech @SchrodingersGat could you test this please? It seems to kill the nightly version of firefox but all current stable versions of edge, chrome, chromium, firefox and safari seem to work.

@SchrodingersGat might I suggest the bug label?

could this be helpful? https://github.com/wenzhixin/bootstrap-table/issues/2681 i think it is almost the same.

@alfrede as far as I remember this bug was fixed years ago in upstream but we still can't get it to run


[BUG] Segmentation fault while importing TextPredictor

[X] I have checked that this bug exists on the latest stable version of AutoGluon
[ ] and/or I have checked that this bug exists on the latest mainline of AutoGluon via source installation

Describe the bug
>>> from autogluon.text import TextPredictor
/home/cjj/anaconda3/envs/pytorch/lib/python3.9/site-packages/torchvision/io/image.py:11: UserWarning: Failed to load image Python extension: libc10_cuda.so: cannot open shared object file: No such file or directory
  warn(f"Failed to load image Python extension: {e}")
Segmentation fault (core dumped)

Expected behavior
import TextPredictor
To Reproduce
from autogluon.text import TextPredictor

Screenshots

Installed Versions

/home/cjj/anaconda3/envs/pytorch/lib/python3.9/site-packages/torchvision/io/image.py:11: UserWarning: Failed to load image Python extension: libc10_cuda.so: cannot open shared object file: No such file or directory
  warn(f"Failed to load image Python extension: {e}")
/home/cjj/anaconda3/envs/pytorch/lib/python3.9/site-packages/gluoncv/__init__.py:40: UserWarning: Both `mxnet==1.9.1` and `torch==1.10.2+cpu` are installed. You might encounter increased GPU memory footprint if both framework are used at the same time.
  warnings.warn(f'Both `mxnet=={mx.__version__}` and `torch=={torch.__version__}` are installed.  Are you able to import pytorch?
import torch
a = torch.ones(10, 5)
print(a)

I have a similar issue. I get the following error when running from autogluon.text import TextPredictor:
/local/home/user/.venv/autogluon/lib64/python3.7/site-packages/torchvision/io/image.py:11: UserWarning: Failed to load image Python extension: libc10_cuda.so: cannot open shared object file: No such file or directory
  warn(f"Failed to load image Python extension: {e}")
zsh: segmentation fault  python

My pip freeze output:
absl-py==1.0.0
aiohttp==3.8.1
aiosignal==1.2.0
antlr4-python3-runtime==4.8
async-timeout==4.0.2
asynctest==0.13.0
attrs==21.4.0
autocfg==0.0.8
autogluon==0.4.2
autogluon-contrib-nlp==0.0.1b20220208
autogluon.common==0.4.2
autogluon.core==0.4.2
autogluon.features==0.4.2
autogluon.tabular==0.4.2
autogluon.text==0.4.2
autogluon.vision==0.4.2
blis==0.7.7
boto3==1.23.9
botocore==1.26.10
cachetools==5.1.0
catalogue==1.0.0
catboost==1.0.6
certifi==2<IP_ADDRESS>
charset-normalizer==2.0.12
click==8.1.3
cloudpickle==2.1.0
colorama==0.4.4
contextvars==2.4
cycler==0.11.0
cymem==2.0.6
dask==2021.11.2
Deprecated==1.2.13
distributed==2021.11.2
et-xmlfile==1.1.0
fairscale==0.4.6
fastai==2.5.6
fastcore==1.4.3
fastdownload==0.0.6
fastprogress==1.0.2
filelock==3.7.0
flake8==4.0.1
fonttools==4.33.3
frozenlist==1.3.0
fsspec==2022.5.0
gluoncv==0.10.5.post0
google-auth==2.6.6
google-auth-oauthlib==0.4.6
graphviz==0.20
grpcio==1.46.3
HeapDict==1.0.1
huggingface-hub==0.7.0
idna==3.3
imageio==2.19.2
immutables==0.18
importlib-metadata==4.2.0
importlib-resources==5.7.1
Jinja2==3.1.2
jmespath==1.0.0
joblib==1.1.0
jsonschema==4.5.1
kiwisolver==1.4.2
lightgbm==3.3.2
locket==1.0.0
Markdown==3.3.4
MarkupSafe==2.1.1
matplotlib==3.5.2
mccabe==0.6.1
msgpack==1.0.4rc1
multidict==6.0.2
murmurhash==1.0.7
networkx==2.6.3
nptyping==1.4.4
numpy==1.21.6
oauthlib==3.2.0
omegaconf==2.1.2
opencv-python==<IP_ADDRESS>
openpyxl==3.0.10
packaging==21.3
pandas==1.3.5
partd==1.2.0
Pillow==9.0.1
plac==1.1.3
plotly==5.8.0
portalocker==2.4.0
preshed==3.0.6
protobuf==3.20.1
psutil==5.8.0
pyarrow==8.0.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.8.0
pyDeprecate==0.3.2
pyflakes==2.4.0
pyparsing==3.0.9
pyrsistent==0.18.1
python-dateutil==2.8.2
pytorch-lightning==1.6.3
pytz==2022.1
PyWavelets==1.3.0
PyYAML==6.0
ray==1.10.0
redis==4.3.1
regex==2022.4.24
requests==2.27.1
requests-oauthlib==1.3.1
rsa==4.8
s3transfer==0.5.2
sacrebleu==2.1.0
sacremoses==0.0.53
scikit-image==0.19.2
scikit-learn==1.0.2
scipy==1.7.3
sentencepiece==0.1.95
six==1.16.0
smart-open==5.2.1
sortedcontainers==2.4.0
spacy==2.3.7
srsly==1.0.5
tabulate==0.8.9
tblib==1.7.0
tenacity==8.0.1
tensorboard==2.9.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
thinc==7.4.5
threadpoolctl==3.1.0
tifffile==2021.11.2
timm==0.5.4
tokenizers==0.12.1
toolz==0.11.2
torch==1.10.2+cpu
torchaudio==0.10.2+cpu
torchmetrics==0.7.3
torchvision==0.11.3
tornado==6.1
tqdm==4.64.0
transformers==4.16.2
typing_extensions==4.2.0
typish==1.9.3
urllib3==1.26.9
wasabi==0.9.1
Werkzeug==2.1.2
wrapt==1.14.1
xgboost==1.4.2
yacs==0.1.8
yarl==1.7.2
zict==2.2.0
zipp==3.8.0

@damirpolat @cjj490168650 Would you try the following version combination?
pip install autogluon==0.4.1 protobuf==3.18.1

Just for sanity check. Are you able to import pytorch?
import torch
a = torch.ones(10, 5)
print(a)

It runs fine for me:
>>> import torch
>>> a = torch.ones(10, 5)
>>> print(a)
tensor([[1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.]])

@damirpolat @cjj490168650 Would you try the following version combination?
pip install autogluon==0.4.1 protobuf==3.18.1

It works now! However I still get the warning:
>>> from autogluon.text import TextPredictor
/local/home/user/.venv/autogluon/lib64/python3.7/site-packages/torchvision/io/image.py:11: UserWarning: Failed to load image Python extension: libc10_cuda.so: cannot open shared object file: No such file or directory
  warn(f"Failed to load image Python extension: {e}")

But works fine otherwise.
Thank you!

@damirpolat Great! Can you also try (on separate lines):
pip install autogluon==0.4.2
pip install protobuf==3.18.1

I believe this should also work, but want to confirm.

pip freeze of the working version:
absl-py==1.0.0
aiohttp==3.8.1
aiosignal==1.2.0
antlr4-python3-runtime==4.8
async-timeout==4.0.2
asynctest==0.13.0
attrs==21.4.0
autocfg==0.0.8
autogluon==0.4.1
autogluon-contrib-nlp==0.0.1b20220208
autogluon.common==0.4.1
autogluon.core==0.4.1
autogluon.features==0.4.1
autogluon.tabular==0.4.1
autogluon.text==0.4.1
autogluon.vision==0.4.1
blis==0.7.7
boto3==1.23.9
botocore==1.26.10
cachetools==5.1.0
catalogue==1.0.0
catboost==1.0.6
certifi==2<IP_ADDRESS>
charset-normalizer==2.0.12
click==8.1.3
cloudpickle==2.1.0
colorama==0.4.4
contextvars==2.4
cycler==0.11.0
cymem==2.0.6
dask==2021.11.2
Deprecated==1.2.13
distributed==2021.11.2
et-xmlfile==1.1.0
fairscale==0.4.6
fastai==2.5.6
fastcore==1.4.3
fastdownload==0.0.6
fastprogress==1.0.2
filelock==3.7.0
flake8==4.0.1
fonttools==4.33.3
frozenlist==1.3.0
fsspec==2022.5.0
gluoncv==0.10.5.post0
google-auth==2.6.6
google-auth-oauthlib==0.4.6
graphviz==0.20
grpcio==1.46.3
HeapDict==1.0.1
huggingface-hub==0.7.0
idna==3.3
imageio==2.19.2
immutables==0.18
importlib-metadata==4.2.0
importlib-resources==5.7.1
Jinja2==3.1.2
jmespath==1.0.0
joblib==1.1.0
jsonschema==4.5.1
kiwisolver==1.4.2
lightgbm==3.3.2
locket==1.0.0
Markdown==3.3.4
MarkupSafe==2.1.1
matplotlib==3.5.2
mccabe==0.6.1
msgpack==1.0.4rc1
multidict==6.0.2
murmurhash==1.0.7
networkx==2.6.3
nptyping==1.4.4
numpy==1.21.6
oauthlib==3.2.0
omegaconf==2.1.2
opencv-python==<IP_ADDRESS>
openpyxl==3.0.10
packaging==21.3
pandas==1.3.5
partd==1.2.0
Pillow==9.0.1
plac==1.1.3
plotly==5.8.0
portalocker==2.4.0
preshed==3.0.6
protobuf==3.18.1
psutil==5.8.0
pyarrow==8.0.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.8.0
pyDeprecate==0.3.2
pyflakes==2.4.0
pyparsing==3.0.9
pyrsistent==0.18.1
python-dateutil==2.8.2
pytorch-lightning==1.6.3
pytz==2022.1
PyWavelets==1.3.0
PyYAML==6.0
ray==1.10.0
redis==4.3.1
regex==2022.4.24
requests==2.27.1
requests-oauthlib==1.3.1
rsa==4.8
s3transfer==0.5.2
sacrebleu==2.1.0
sacremoses==0.0.53
scikit-image==0.19.2
scikit-learn==1.0.2
scipy==1.7.3
sentencepiece==0.1.95
six==1.16.0
smart-open==5.2.1
sortedcontainers==2.4.0
spacy==2.3.7
srsly==1.0.5
tabulate==0.8.9
tblib==1.7.0
tenacity==8.0.1
tensorboard==2.9.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
thinc==7.4.5
threadpoolctl==3.1.0
tifffile==2021.11.2
timm==0.5.4
tokenizers==0.12.1
toolz==0.11.2
torch==1.10.2+cpu
torchaudio==0.10.2+cpu
torchmetrics==0.7.3
torchvision==0.11.3
tornado==6.1
tqdm==4.64.0
transformers==4.16.2
typing_extensions==4.2.0
typish==1.9.3
urllib3==1.26.9
wasabi==0.9.1
Werkzeug==2.1.2
wrapt==1.14.1
xgboost==1.4.2
yacs==0.1.8
yarl==1.7.2
zict==2.2.0
zipp==3.8.0

@damirpolat Great! Can you also try (on separate lines):
pip install autogluon==0.4.2
pip install protobuf==3.18.1

I believe this should also work, but want to confirm.

It gave me this error when installing protobuf:
Collecting protobuf==3.18.1
  Using cached protobuf-3.18.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Installing collected packages: protobuf
  Attempting uninstall: protobuf
    Found existing installation: protobuf 3.20.1
    Uninstalling protobuf-3.20.1:
      Successfully uninstalled protobuf-3.20.1
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
autogluon-core 0.4.2 requires protobuf<3.21,>=3.20, but you have protobuf 3.18.1 which is incompatible.
Successfully installed protobuf-3.18.1

But worked otherwise!

Actually, I'm unable to reproduce the error in my EC2 instance.

@damirpolat Great! Can you also try (on separate lines):
pip install autogluon==0.4.2
pip install protobuf==3.18.1

I believe this should also work, but want to confirm.

it works

Instead of downgrading protobuf. Make sure to update the python toolchains:
pip3 install -U pip
pip3 install -U setuptools wheel

then install autogluon.
Tested on both a cpu ec2 instance and a gpu ec2 instance. The import both work.

Instead of downgrading protobuf. Make sure to update the python toolchains:
pip3 install -U pip
pip3 install -U setuptools wheel

then install autogluon.
Tested on both a cpu ec2 instance and a gpu ec2 instance. The import both work.

That didn't work for me.

@damirpolat Is it possible for you to help test if the following versions of protobuf will work? This can help us nail down the version cap.
pip3 install -U protobuf==3.20.1
pip3 install -U protobuf==3.20.0
pip3 install -U protobuf==3.19.4
pip3 install -U protobuf==3.18.1

Only pip3 install -U protobuf==3.18.1 worked for me.

@yinweisu @gradientsky Do you think if we should limit protobuf to be <=3.18.1. @damirpolat has tried four versions and only 3.18.1 works.

Maybe we can do it to 0.5 release since it's close and this issue seems to happen only on certain environment.

I can reproduce this issue even with protobuf==3.18.1 on two different platforms:
AL2 on EC2 (CPU)
$ uname -a
Linux xxxx 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ python3 --version
Python 3.7.10
$ pip3 install autogluon==0.4.2
$ pip3 install protobuf==3.18.1
$ python3 -c 'from autogluon.text import TextPredictor'
Segmentation fault
$ pip3 freeze
https://paste.debian.net/1244282/

Mac M1:
$ uname -a
Darwin xxxxxx 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101 arm64
$ python3 --version
Python 3.9.13
$ which python3
/opt/homebrew/bin/python3
$ pip3 install "torch>=1.0,<1.11+cpu" -f https://download.pytorch.org/whl/cpu/torch_stable.html
$ pip3 install autogluon==0.4.2
$ pip3 install protobuf==3.18.1
$ python3 -c 'from autogluon.text import TextPredictor'
libc++abi: terminating with uncaught exception of type std::length_error: vector
Abort trap: 6
$ pip3 freeze
https://paste.debian.net/1244283/

@andreas12345 see a similar issue from PyG: https://github.com/pyg-team/pytorch_geometric/issues/4419 .
For M1, the solution is to use venv or anaconda.

Thanks for the pointers!

pytorch_lightning

On Mac, this triggers the failure (which seems to be randomly sampled from "std::length_error: vector", bad_alloc, and segmentation fault).
$ python3
Python 3.9.13 (main, May 24 2022, 21:13:51)
[Clang 13.1.6 (clang-13<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytorch_lightning
libc++abi: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Abort trap: 6

Also, can you try to upgrade pip and try again? pip3 install -U pip, pip3 install -U setuptools wheel

That had no effect on Mac. On Linux, this revealed an exception (AttributeError: module 'distutils' has no attribute 'version') from torch.utils.tensorboard; but after then re-installing autogluon, the import works fine. pip3 freeze output now: https://paste.debian.net/1244298/
Thanks!

Getting a segmentation fault with anaconda python as well:
$ python -c 'from autogluon.text import pytorch_lightning'
Segmentation fault: 11

The segfault can already be triggered with "import torchvision". The only way I could find to prevent it was by installing torch==1.11.0 (which is declared not compatible by autogluon). Is there a reason for requiring <= 1.10, or can we require latest torch version as dependency to avoid this issue?
Thanks!

@andreas12345 See https://github.com/awslabs/autogluon/pull/1836 . We are supporting PT 1.11 there.

I'm not sure if lightning transfers the constraints between torchvision/torchaudio/etc and torch into their install_requires. They're noted in code though: https://github.com/Lightning-AI/lightning/blob/0cf9d73d28d9dd0fd419e2a5ee47b7488e5c1883/requirements/adjust-versions.py#L7
And so, because the torchtext/torchaudio/etc libs don't pin torch either, and only mention the compatibility matrix in their respective pypi READMEs, it's currently relatively easy for an end-user to end up with a broken env.

@andreas12345 now the PT 1.11 has been supported via https://github.com/awslabs/autogluon/pull/1836. Feel free to try installing the latest AutoGluon again (clone it and run full_install.sh).

The latest installation guide should have resolved the issue. Close it for now.


[Calculator] not working

Could not make calculator working.
version: 0.7.7
libqalculate & qalc installed.
~/.config/walker/config.yaml
activation_mode:
    disabled: true
builtins:
    applications:
        actions: false

Started like so:
walker --gapplication-service
walker --modules applications,calculator

The calc module has a "min_chars" of 4 by default. "1+1" = 3 chars.

First... why a s***** limitation like that?
Second...

Default name for the calculator module is "calc" not "calculator".


Remove accordion issue from accessibility statement

This issue was resolved by the changes in alphagov/govuk-frontend#4628 and released as part of GOV.UK Frontend v5.1.
We can now remove it from our accessibility statement.
Closes #3508

@selfthinker I don't know if you want to review this, but flagging this so you're at least aware it's happening.