NixOS-16.03 under virtualbox: xorg: No devices detected.

I'm running NixOS-16.03 at revision: 2f1174b6d0959dee542b6e76c2ca88232dffc7af under virtualbox on OS X. After performing a minor NixOS upgrade about a month a go it occasionally happens that xorg can't find a device. I get this about 1 out of 3 times when booting my machine. My colleague (who's using the the same configuration and nixpkgs version) is less lucky because he never gets a working xorg anymore.
I tried upgrading virtualbox on OS X to the latest 5.0.24 but that doesn't help.
Here are the relevant logs:
journalctl -b 0 -u display-manager:
-- Logs begin at Tue 2014-11-04 19:38:48 CET, end at Fri 2016-07-01 13:16:00 CEST. --
Jul 01 13:08:58 systemd[1]: Starting X11 Server...
Jul 01 13:08:58 systemd[1]: Started X11 Server.
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'xterm' - xterm
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'xterm + xmonad' - xterm + xmonad
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'none + xmonad' - none + xmonad
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'xterm' - xterm
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'xterm + xmonad' - xterm + xmonad
Jul 01 13:08:59 display-manager-start[582]: /nix/store/1hq28dwvwhr97hirhrfpb1g9ygipac8f-xsession 'none + xmonad' - none + xmonad
Jul 01 13:08:59 display-manager-start[582]: /nix/store/yxphnsija17jc4dl6w1f8qa5yfq203g0-xauth-1.0.9/bin/xauth:  file /var/run/slim.auth does not exist
Jul 01 13:08:59 display-manager-start[582]: X.Org X Server 1.17.4
Jul 01 13:08:59 display-manager-start[582]: Release Date: 2015-10-28
Jul 01 13:08:59 display-manager-start[582]: X Protocol Version 11, Revision 0
Jul 01 13:08:59 display-manager-start[582]: Build Operating System: Linux 3.14.58 x86_64
Jul 01 13:08:59 display-manager-start[582]: Current Operating System: Linux roel.van.dijk.lumi 4.4.12 #1-NixOS SMP Wed Jun 1 19:16:06 UTC 2016 x86_64
Jul 01 13:08:59 display-manager-start[582]: Kernel command line: BOOT_IMAGE=(hd0,msdos1)/nix/store/3inc0bcjmk99jrkxd6mpzjyrzrgicxwq-linux-4.4.12/bzImage systemConfig=/nix/store/pw14rl5qi21h6h61dyclzsb11irhwjca-nixos-system-roel.van.dijk.lumi-16.03pre-git init=/nix/store/pw14rl5qi21h6h61dyclzsb11irhwjca-nixos-system-roel.van.dijk.lumi-16.03pre-git/init audit=0 loglevel=4
Jul 01 13:08:59 display-manager-start[582]: Build Date: 07 June 2016  10:36:50PM
Jul 01 13:08:59 display-manager-start[582]:
Jul 01 13:08:59 display-manager-start[582]: Current version of pixman: 0.34.0
Jul 01 13:08:59 display-manager-start[582]:         Before reporting problems, check http://wiki.x.org
Jul 01 13:08:59 display-manager-start[582]:         to make sure that you have the latest version.
Jul 01 13:08:59 display-manager-start[582]: Markers: (--) probed, (**) from config file, (==) default setting,
Jul 01 13:08:59 display-manager-start[582]:         (++) from command line, (!!) notice, (II) informational,
Jul 01 13:08:59 display-manager-start[582]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Jul 01 13:08:59 display-manager-start[582]: (++) Log file: "/var/log/X.0.log", Time: Fri Jul  1 13:08:59 2016
Jul 01 13:08:59 display-manager-start[582]: (++) Using config file: "/nix/store/b2w86h7kx421pi7x24hhqdkn2znprgll-xserver.conf"
Jul 01 13:08:59 display-manager-start[582]: (==) Using system config directory "/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/share/X11/xorg.conf.d"
Jul 01 13:08:59 display-manager-start[582]: (EE)
Jul 01 13:08:59 display-manager-start[582]: Fatal server error:
Jul 01 13:08:59 display-manager-start[582]: (EE) no screens found(EE)
Jul 01 13:08:59 display-manager-start[582]: (EE)
Jul 01 13:08:59 display-manager-start[582]: Please consult the The X.Org Foundation support
Jul 01 13:08:59 display-manager-start[582]:          at http://wiki.x.org
Jul 01 13:08:59 display-manager-start[582]:  for help.
Jul 01 13:08:59 display-manager-start[582]: (EE) Please also check the log file at "/var/log/X.0.log" for additional information.
Jul 01 13:08:59 display-manager-start[582]: (EE)
Jul 01 13:08:59 display-manager-start[582]: (EE) Server terminated with error (1). Closing log file.
Jul 01 13:09:00 systemd[1]: display-manager.service: Main process exited, code=exited, status=1/FAILURE
Jul 01 13:09:00 systemd[1]: display-manager.service: Unit entered failed state.
Jul 01 13:09:00 systemd[1]: display-manager.service: Failed with result 'exit-code'.
Jul 01 13:09:00 systemd[1]: display-manager.service: Service hold-off time over, scheduling restart.
Jul 01 13:09:00 systemd[1]: Stopped X11 Server.

/var/log/X.0.log:
[     9.178]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[     9.178] X Protocol Version 11, Revision 0
[     9.178] Build Operating System: Linux 3.14.58 x86_64
[     9.178] Current Operating System: Linux roel.van.dijk.lumi 4.4.12 #1-NixOS SMP Wed Jun 1 19:16:06 UTC 2016 x86_64
[     9.178] Kernel command line: BOOT_IMAGE=(hd0,msdos1)/nix/store/3inc0bcjmk99jrkxd6mpzjyrzrgicxwq-linux-4.4.12/bzImage systemConfig=/nix/store/pw14rl5qi21h6h61dyclzsb11irhwjca-nixos-system-roel.van.dijk.lumi-16.03pre-git init=/nix/store/pw14rl5qi21h6h61dyclzsb11irhwjca-nixos-system-roel.van.dijk.lumi-16.03pre-git/init audit=0 loglevel=4
[     9.178] Build Date: 07 June 2016  10:36:50PM
[     9.178]
[     9.178] Current version of pixman: 0.34.0
[     9.178] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     9.178] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.178] (++) Log file: "/var/log/X.0.log", Time: Fri Jul  1 13:09:05 2016
[     9.178] (++) Using config file: "/nix/store/b2w86h7kx421pi7x24hhqdkn2znprgll-xserver.conf"
[     9.178] (==) Using system config directory "/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/share/X11/xorg.conf.d"
[     9.178] (==) ServerLayout "Layout[all]"
[     9.178] (**) |-->Screen "Screen-virtualbox[0]" (0)
[     9.178] (**) |   |-->Monitor "<default monitor>"
[     9.178] (**) |   |-->Device "Device-virtualbox[0]"
[     9.178] (==) No monitor specified for screen "Screen-virtualbox[0]".
	Using a default monitor configuration.
[     9.178] (**) |-->Input Device "VBoxMouse"
[     9.178] (**) Option "DontZap" "on"
[     9.178] (**) Option "AllowMouseOpenFail" "on"
[     9.178] (==) Automatically adding devices
[     9.178] (==) Automatically enabling devices
[     9.178] (==) Automatically adding GPU devices
[     9.178] (**) FontPath set to:
	/nix/store/w3dm3kxwypg3c8vxdhas4rq12h5274zf-terminus-font-4.40/share/fonts/terminus,
	/nix/store/rc7glsm04bv1gq9x7rp4xgc5d2pj8kmj-font-bh-ttf-1.0.3/lib/X11/fonts/TTF,
	/nix/store/bvp77xp9q21hbj072zdws6wfr4w8yv04-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi,
	/nix/store/glkl0mlnk805hxcjab84d4ck18jxprkc-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi,
	/nix/store/mbw76v6abg11m920wwq99xw9w9ck0mjf-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi,
	/nix/store/l765xy49qm8h60dljnsxffbxg4vzbmc3-font-misc-misc-1.1.2/lib/X11/fonts/misc,
	/nix/store/4nhncig549mjcga773sv49y1wpmg1s5d-font-cursor-misc-1.0.3/lib/X11/fonts/misc,
	/nix/store/mhc53l5s92ii45m8m4vijfyigfxj6zcb-unifont-8.0.01/share/fonts,
	/nix/store/awsydg3cli87v575cg5kh7bnzapw6c9g-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi,
	/nix/store/r6p9c07kbhqd3l77lcl78gmsk50p9fyp-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi
[     9.178] (**) ModulePath set to "/nix/store/zanqp4p7cg9kqrwv3bj4fdsi8vjf24yk-VirtualBox-GuestAdditions-5.0.20-4.4.12/lib,/nix/store/zanqp4p7cg9kqrwv3bj4fdsi8vjf24yk-VirtualBox-GuestAdditions-5.0.20-4.4.12/lib/xorg/modules/drivers,/nix/store/zanqp4p7cg9kqrwv3bj4fdsi8vjf24yk-VirtualBox-GuestAdditions-5.0.20-4.4.12/lib/dri,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/drivers,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/extensions,/nix/store/xv3gqprdymjkz3xzdwa884xyh939q9hg-xf86-input-evdev-2.10.1/lib/xorg/modules/input"
[     9.178] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     9.178] (II) Loader magic: 0x80cb80
[     9.178] (II) Module ABI versions:
[     9.178] 	X.Org ANSI C Emulation: 0.4
[     9.178] 	X.Org Video Driver: 19.0
[     9.178] 	X.Org XInput driver : 21.0
[     9.178] 	X.Org Server Extension : 9.0
[     9.180] (EE) systemd-logind: failed to get session: PID 834 does not belong to any known session
[     9.180] (II) xfree86: Adding drm device (/dev/dri/card0)
[     9.185] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/134217728
[     9.185] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     9.185] (II) "glx" will be loaded by default.
[     9.185] (II) LoadModule: "glx"
[     9.185] (II) Loading /nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/extensions/libglx.so
[     9.187] (II) Module glx: vendor="X.Org Foundation"
[     9.187] 	compiled for 1.17.4, module version = 1.0.0
[     9.187] 	ABI class: X.Org Server Extension, version 9.0
[     9.187] (==) AIGLX enabled
[     9.187] (II) LoadModule: "vboxvideo"
[     9.187] (II) Loading /nix/store/zanqp4p7cg9kqrwv3bj4fdsi8vjf24yk-VirtualBox-GuestAdditions-5.0.20-4.4.12/lib/xorg/modules/drivers/vboxvideo_drv.so
[     9.187] (II) Module vboxvideo: vendor="Oracle Corporation"
[     9.187] 	compiled for 1.17.0, module version = 1.0.1
[     9.187] 	Module class: X.Org Video Driver
[     9.187] 	ABI class: X.Org Video Driver, version 19.0
[     9.187] (**) Load address of symbol "VBOXVIDEO" is 0x7f5a5a8692e0
[     9.187] (II) LoadModule: "vboxmouse"
[     9.187] (WW) Warning, couldn't open module vboxmouse
[     9.187] (II) UnloadModule: "vboxmouse"
[     9.187] (II) Unloading vboxmouse
[     9.187] (EE) Failed to load module "vboxmouse" (module does not exist, 0)
[     9.187] (II) VBoxVideo: guest driver for VirtualBox: vbox
[     9.187] (++) using VT number 7

[     9.189] (II) vboxvideo: kernel driver found, not loading.
[     9.189] (EE) No devices detected.
[     9.189] (EE)
Fatal server error:
[     9.189] (EE) no screens found(EE)
[     9.189] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
[     9.189] (EE) Please also check the log file at "/var/log/X.0.log" for additional information.
[     9.189] (EE)

I've been having the same problem. For me, it will break even trying to switch from tty7 to tty1 and back. I think this is related to #16321.
I think the issue has to do with kernel compatibility see https://www.virtualbox.org/ticket/7536.

I think we may just need to update VirtualBox to 5.0.22:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/virtualbox/default.nix#L21

I've upgraded virtualbox and the guest-additions to 5.0.24 but the problem remains.
For me xorg also crashes when switching from tty7 to tty1 and back. This is the log at the time of the crash:
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: Assertion failed!
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: rc
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: at vboxEnableVbva (/mnt/tinderbox/add-5.0/src/VBox/Additions/x11/vboxvideo/vbva.c:221)
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: Failed to enable screen update reporting for at least one virtual monitor.
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: (EE)
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: Fatal server error:
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: (EE) Assertion(EE)
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: (EE)
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: Please consult the The X.Org Foundation support
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]:          at http://wiki.x.org
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]:  for help.
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: (EE) Please also check the log file at "/var/log/X.0.log" for additional information.
Jul 01 18:14:19 bas.van.dijk.lumi display-manager-start[590]: (EE)
Jul 01 18:14:20 bas.van.dijk.lumi display-manager-start[590]: (EE) Server terminated with error (1). Closing log file.

I'm using VirtualBox 5.0.24 and nixos-unstable. I have had the same issue (X crashes when loading vboxmouse) and needed to turn off the guest option to be able to run X.
Would love a fix for this!

I am having the same problem and can confirm that setting virtualisation.virtualbox.guest.enable to false allows X to start again.

I am running nixos 16.03 under virtual box 5.0.24 r108355 (the latest version as of this weekend) and setting virtualisation.virtualbox.guest.enable = false in /etc/configuration.nix not work for me.

@timsears what do you mean by "not work"?
For me:

setting it to true crashes X (with the vboxmouse error)
setting it to false lets X start (but it starts without the VirtualBox guest additions obviously)

It seems like virtualisation.virtualbox.guest.enable needs to be set to true if the VM uses UEFI to boot, otherwise you get a different crash when launching X:
(II) VESA(0): initializing int10
(EE) VESA(0): V_BIOS address 0x0 out of range
...
(EE) Screen(s) found, but none have a usuable configuration.
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)

There are references to this problem for other operating systems around the web.
My experience was that setting it to false allowed it to launch correctly on the first reboot, and then it consistently crashed every boot after that.

For me it worked setting virtualisation.virtualbox.guest.enable=false.

I am suffering from this issue.
No screens found and Failed to load module "vboxmouse" (module does not exist)" if virtualisation.virtualbox.guest.enable=true_or_false`.
I'm running NixOS 16.03.1011.6317da4 (Emu) on VirtualBox 5.0.24.

For me, setting virtualisation.virtualbox.guest.enable=false and running nixos-rebuild switch did not fix the issue. Running 16.03.1028.0546a4a (Emu) on VirtualBox 5.0.20-4.4.14. The vboxmouse.so is entirely absent.

@Ptival by "not work" I mean that X won't start on boot sending me to a console to log in. Can't start X after logging in either. The log errors look similar to those posted by basvandijk several days ago. The critical error seems to be "device not found". A nearly identical setup works fine under VMware Fusion.

Has anyone tried 15.09? It's not giving me the issue:
https://nixos.org/releases/nixos/15.09/nixos-15.09.1253.91371c2/nixos-15.09.1253.91371c2-x86_64-linux.ova

Okay so I've been going through NixOS versions:

Version
Works?

16.03.900.87fe38f
yes

16.03.923.9e959ce
yes

16.03.948.a96c308
no

16.03.973.8bf31d7
no

I have this problem too so for testing GUI applications I'm doing port-forwarding and starting ssh with -X. I hope that this comment be useful for someone.

@matthewbauer upgrading virtualbox to 5.0.24 doesn't help for me.

Downgrading virtualbox to 5.0.12 works for me.

The problem doesn't seem to have anything to do with the vboxmouse module not being able to load. The following is /var/log/X.0.log after successfully starting xorg after the downgrade to 5.0.12. You can still see the vboxmouse module failing to load but this time we don't get the:
(II) vboxvideo: kernel driver found, not loading.

[     2.064]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[     2.064] X Protocol Version 11, Revision 0
[     2.064] Build Operating System: Linux 3.14.58 x86_64
[     2.064] Current Operating System: Linux bas.van.dijk.lumi 4.4.12 #1-NixOS SMP Wed Jun 1 19:16:06 UTC 2016 x86_64
[     2.064] Kernel command line: BOOT_IMAGE=(hd0,msdos2)/nix/store/3inc0bcjmk99jrkxd6mpzjyrzrgicxwq-linux-4.4.12/bzImage systemConfig=/nix/store/fw89d6j9v9ida0xvykrsh1zlvl7bxagb-nixos-system-bas.van.dijk.lumi-16.03pre-git init=/nix/store/fw89d6j9v9ida0xvykrsh1zlvl7bxagb-nixos-system-bas.van.dijk.lumi-16.03pre-git/init audit=0 loglevel=4
[     2.064] Build Date: 07 June 2016  10:36:50PM
[     2.064]
[     2.064] Current version of pixman: 0.34.0
[     2.064] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     2.064] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     2.064] (++) Log file: "/var/log/X.0.log", Time: Sun Jul 10 12:43:20 2016
[     2.068] (++) Using config file: "/nix/store/5ia5zg2xgz81h46lyiiy3cczn1hy0chb-xserver.conf"
[     2.068] (==) Using system config directory "/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/share/X11/xorg.conf.d"
[     2.069] (==) ServerLayout "Layout[all]"
[     2.069] (**) |-->Screen "Screen-virtualbox[0]" (0)
[     2.069] (**) |   |-->Monitor "<default monitor>"
[     2.069] (**) |   |-->Device "Device-virtualbox[0]"
[     2.069] (==) No monitor specified for screen "Screen-virtualbox[0]".
	Using a default monitor configuration.
[     2.069] (**) |-->Input Device "VBoxMouse"
[     2.069] (**) Option "DontZap" "on"
[     2.069] (**) Option "AllowMouseOpenFail" "on"
[     2.069] (==) Automatically adding devices
[     2.069] (==) Automatically enabling devices
[     2.069] (==) Automatically adding GPU devices
[     2.083] (**) FontPath set to:
	/nix/store/w3dm3kxwypg3c8vxdhas4rq12h5274zf-terminus-font-4.40/share/fonts/terminus,
	/nix/store/rc7glsm04bv1gq9x7rp4xgc5d2pj8kmj-font-bh-ttf-1.0.3/lib/X11/fonts/TTF,
	/nix/store/bvp77xp9q21hbj072zdws6wfr4w8yv04-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi,
	/nix/store/glkl0mlnk805hxcjab84d4ck18jxprkc-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi,
	/nix/store/mbw76v6abg11m920wwq99xw9w9ck0mjf-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi,
	/nix/store/l765xy49qm8h60dljnsxffbxg4vzbmc3-font-misc-misc-1.1.2/lib/X11/fonts/misc,
	/nix/store/4nhncig549mjcga773sv49y1wpmg1s5d-font-cursor-misc-1.0.3/lib/X11/fonts/misc,
	/nix/store/mhc53l5s92ii45m8m4vijfyigfxj6zcb-unifont-8.0.01/share/fonts,
	/nix/store/awsydg3cli87v575cg5kh7bnzapw6c9g-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi,
	/nix/store/r6p9c07kbhqd3l77lcl78gmsk50p9fyp-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi
[     2.083] (**) ModulePath set to "/nix/store/4j6nspc2pn6vlaq83ln1qsxl4myvs82l-VirtualBox-GuestAdditions-5.0.12-4.4.12/lib,/nix/store/4j6nspc2pn6vlaq83ln1qsxl4myvs82l-VirtualBox-GuestAdditions-5.0.12-4.4.12/lib/xorg/modules/drivers,/nix/store/4j6nspc2pn6vlaq83ln1qsxl4myvs82l-VirtualBox-GuestAdditions-5.0.12-4.4.12/lib/dri,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/extensions,/nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/drivers,/nix/store/xv3gqprdymjkz3xzdwa884xyh939q9hg-xf86-input-evdev-2.10.1/lib/xorg/modules/input"
[     2.083] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     2.083] (II) Loader magic: 0x80cb80
[     2.083] (II) Module ABI versions:
[     2.083] 	X.Org ANSI C Emulation: 0.4
[     2.083] 	X.Org Video Driver: 19.0
[     2.083] 	X.Org XInput driver : 21.0
[     2.083] 	X.Org Server Extension : 9.0
[     2.086] (EE) systemd-logind: failed to get session: PID 634 does not belong to any known session
[     2.086] (II) xfree86: Adding drm device (/dev/dri/card0)
[     2.088] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/134217728
[     2.088] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     2.088] (II) "glx" will be loaded by default.
[     2.088] (II) LoadModule: "glx"
[     2.093] (II) Loading /nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/extensions/libglx.so
[     2.106] (II) Module glx: vendor="X.Org Foundation"
[     2.106] 	compiled for 1.17.4, module version = 1.0.0
[     2.106] 	ABI class: X.Org Server Extension, version 9.0
[     2.106] (==) AIGLX enabled
[     2.106] (II) LoadModule: "vboxvideo"
[     2.106] (II) Loading /nix/store/4j6nspc2pn6vlaq83ln1qsxl4myvs82l-VirtualBox-GuestAdditions-5.0.12-4.4.12/lib/xorg/modules/drivers/vboxvideo_drv.so
[     2.107] (II) Module vboxvideo: vendor="Oracle Corporation"
[     2.107] 	compiled for 1.17.0, module version = 1.0.1
[     2.107] 	Module class: X.Org Video Driver
[     2.107] 	ABI class: X.Org Video Driver, version 19.0
[     2.107] (**) Load address of symbol "VBOXVIDEO" is 0x7f2341797340
[     2.107] (II) LoadModule: "vboxmouse"
[     2.110] (WW) Warning, couldn't open module vboxmouse
[     2.110] (II) UnloadModule: "vboxmouse"
[     2.110] (II) Unloading vboxmouse
[     2.110] (EE) Failed to load module "vboxmouse" (module does not exist, 0)
[     2.110] (II) VBoxVideo: guest driver for VirtualBox: vbox
[     2.110] (++) using VT number 7

[     2.130] (II) VBoxVideo(0): VirtualBox guest additions video driver version 5.0.12r104815
[     2.130] (II) Loading sub module "ramdac"
[     2.130] (II) LoadModule: "ramdac"
[     2.130] (II) Module "ramdac" already built-in
[     2.130] (II) Loading sub module "fb"
[     2.130] (II) LoadModule: "fb"
[     2.130] (II) Loading /nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/libfb.so
[     2.131] (II) Module fb: vendor="X.Org Foundation"
[     2.131] 	compiled for 1.17.4, module version = 1.0.0
[     2.131] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     2.131] (II) Loading sub module "shadowfb"
[     2.131] (II) LoadModule: "shadowfb"
[     2.131] (II) Loading /nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/libshadowfb.so
[     2.132] (II) Module shadowfb: vendor="X.Org Foundation"
[     2.132] 	compiled for 1.17.4, module version = 1.0.0
[     2.132] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     2.132] (II) Loading sub module "vgahw"
[     2.132] (II) LoadModule: "vgahw"
[     2.133] (II) Loading /nix/store/gcsmr691ah3ws4sxmcgpm85n9sy10j9g-xorg-server-1.17.4/lib/xorg/modules/libvgahw.so
[     2.133] (II) Module vgahw: vendor="X.Org Foundation"
[     2.133] 	compiled for 1.17.4, module version = 0.1.0
[     2.133] 	ABI class: X.Org Video Driver, version 19.0
[     2.133] (II) Loading sub module "dri2"
[     2.133] (II) LoadModule: "dri2"
[     2.133] (II) Module "dri2" already built-in
[     2.133] (II) VBoxVideo(0): Creating default Display subsection in Screen section
	"Screen-virtualbox[0]" for depth/fbbpp 24/32
[     2.133] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32
[     2.133] (--) VBoxVideo(0): Virtual size is 32766x32766 (pitch 32766)
[     2.133] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[     2.133] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[     2.133] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[     2.133] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[     2.134] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[     2.134] (==) VBoxVideo(0): RGB weight 888
[     2.134] (==) VBoxVideo(0): Default visual is TrueColor
[     2.134] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0)
[     2.134] (==) VBoxVideo(0): DPI set to (96, 96)
[     2.134] (--) Depth 24 pixmap format is 32 bpp
[     2.879] (II) VBoxVideo(0): [DRI2] Setup complete
[     2.879] (II) VBoxVideo(0): [DRI2]   DRI driver: vboxvideo
[     2.914] (II) VBoxVideo(0): Requested monitor count: 1
[     2.915] (II) VBoxVideo(0): Output VGA-0 has no monitor section
[     2.915] (II) VBoxVideo(0): Output VGA-0 has no monitor section
[     2.915] (II) VBoxVideo(0): Printing probed modes for output VGA-0
[     2.915] (II) VBoxVideo(0): Modeline "800x600"x60.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz Pb)
[     2.915] (II) VBoxVideo(0): Modeline "2560x1600"x60.0  247.26  2560 2562 2564 2566  1600 1602 1604 1606 (96.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "2560x1440"x60.0  222.63  2560 2562 2564 2566  1440 1442 1444 1446 (86.8 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "2048x1536"x60.0  190.04  2048 2050 2052 2054  1536 1538 1540 1542 (92.5 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1920x1600"x60.0  185.59  1920 1922 1924 1926  1600 1602 1604 1606 (96.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1920x1080"x60.0  125.50  1920 1922 1924 1926  1080 1082 1084 1086 (65.2 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1600x1200"x60.0  116.21  1600 1602 1604 1606  1200 1202 1204 1206 (72.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1680x1050"x60.0  106.82  1680 1682 1684 1686  1050 1052 1054 1056 (63.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1400x1050"x60.0   89.08  1400 1402 1404 1406  1050 1052 1054 1056 (63.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "1024x768"x60.0   47.83  1024 1026 1028 1030  768 770 772 774 (46.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "800x600"x60.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[     2.915] (II) VBoxVideo(0): Modeline "640x480"x60.0   18.84  640 642 644 646  480 482 484 486 (29.2 kHz b)
[     2.915] (II) VBoxVideo(0): Output VGA-0 connected
[     2.915] (II) VBoxVideo(0): Using exact sizes for initial modes
[     2.915] (II) VBoxVideo(0): Output VGA-0 using initial mode 800x600
[     2.915] (II) VBoxVideo(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[     2.915] (II) VBoxVideo(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[     2.919] (==) VBoxVideo(0): DPMS enabled
[     2.919] (--) RandR disabled
[     2.926] (EE) AIGLX error: dlopen of /run/opengl-driver/lib/dri/vboxvideo_dri.so failed (/run/opengl-driver/lib/dri/vboxvideo_dri.so: cannot open shared object file: No such file or directory)
[     2.926] (EE) AIGLX: reverting to software rendering
[     3.032] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[     3.032] (II) AIGLX: Loaded and initialized swrast
[     3.032] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[     3.032] (II) VBoxVideo(0): Setting screen physical size to 211 x 158
[     3.162] (II) LoadModule: "vboxmouse"
[     3.162] (WW) Warning, couldn't open module vboxmouse
[     3.162] (II) UnloadModule: "vboxmouse"
[     3.162] (II) Unloading vboxmouse
[     3.162] (EE) Failed to load module "vboxmouse" (module does not exist, 0)
[     3.162] (EE) No input driver matching `vboxmouse'
[     3.165] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[     3.165] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[     3.165] (**) Power Button: Applying InputClass "Keyboard catchall"
[     3.165] (II) LoadModule: "evdev"
[     3.165] (II) Loading /nix/store/xv3gqprdymjkz3xzdwa884xyh939q9hg-xf86-input-evdev-2.10.1/lib/xorg/modules/input/evdev_drv.so
[     3.168] (II) Module evdev: vendor="X.Org Foundation"
[     3.168] 	compiled for 1.17.4, module version = 2.10.1
[     3.168] 	Module class: X.Org XInput Driver
[     3.168] 	ABI class: X.Org XInput driver, version 21.0
[     3.168] (II) Using input driver 'evdev' for 'Power Button'
[     3.168] (**) Power Button: always reports core events
[     3.168] (**) evdev: Power Button: Device: "/dev/input/event4"
[     3.168] (--) evdev: Power Button: Vendor 0 Product 0x1
[     3.168] (--) evdev: Power Button: Found keys
[     3.168] (II) evdev: Power Button: Configuring as keyboard
[     3.168] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event4"
[     3.168] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     3.168] (**) Option "xkb_rules" "evdev"
[     3.168] (**) Option "xkb_model" "pc104"
[     3.168] (**) Option "xkb_layout" "us"
[     3.168] (WW) Option "xkb_variant" requires a string value
[     3.168] (**) Option "xkb_options" "eurosign:e"
[     3.183] (II) config/udev: Adding input device Sleep Button (/dev/input/event5)
[     3.183] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[     3.183] (**) Sleep Button: Applying InputClass "Keyboard catchall"
[     3.183] (II) Using input driver 'evdev' for 'Sleep Button'
[     3.183] (**) Sleep Button: always reports core events
[     3.183] (**) evdev: Sleep Button: Device: "/dev/input/event5"
[     3.183] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[     3.183] (--) evdev: Sleep Button: Found keys
[     3.183] (II) evdev: Sleep Button: Configuring as keyboard
[     3.183] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSLPBN:00/input/input6/event5"
[     3.183] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[     3.183] (**) Option "xkb_rules" "evdev"
[     3.183] (**) Option "xkb_model" "pc104"
[     3.183] (**) Option "xkb_layout" "us"
[     3.183] (WW) Option "xkb_variant" requires a string value
[     3.183] (**) Option "xkb_options" "eurosign:e"
[     3.183] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[     3.183] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[     3.183] (**) Video Bus: Applying InputClass "Keyboard catchall"
[     3.183] (II) Using input driver 'evdev' for 'Video Bus'
[     3.183] (**) Video Bus: always reports core events
[     3.183] (**) evdev: Video Bus: Device: "/dev/input/event3"
[     3.183] (--) evdev: Video Bus: Vendor 0 Product 0x6
[     3.183] (--) evdev: Video Bus: Found keys
[     3.183] (II) evdev: Video Bus: Configuring as keyboard
[     3.183] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input4/event3"
[     3.183] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[     3.183] (**) Option "xkb_rules" "evdev"
[     3.183] (**) Option "xkb_model" "pc104"
[     3.183] (**) Option "xkb_layout" "us"
[     3.183] (WW) Option "xkb_variant" requires a string value
[     3.183] (**) Option "xkb_options" "eurosign:e"
[     3.184] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/event0)
[     3.184] (**) VirtualBox mouse integration: Applying InputClass "evdev pointer catchall"
[     3.184] (II) Using input driver 'evdev' for 'VirtualBox mouse integration'
[     3.184] (**) VirtualBox mouse integration: always reports core events
[     3.184] (**) evdev: VirtualBox mouse integration: Device: "/dev/input/event0"
[     3.184] (--) evdev: VirtualBox mouse integration: Vendor 0x80ee Product 0xcafe
[     3.184] (--) evdev: VirtualBox mouse integration: Found 1 mouse buttons
[     3.184] (--) evdev: VirtualBox mouse integration: Found absolute axes
[     3.184] (--) evdev: VirtualBox mouse integration: Found x and y absolute axes
[     3.184] (--) evdev: VirtualBox mouse integration: Found absolute touchscreen
[     3.184] (II) evdev: VirtualBox mouse integration: Configuring as touchscreen
[     3.184] (**) evdev: VirtualBox mouse integration: YAxisMapping: buttons 4 and 5
[     3.184] (**) evdev: VirtualBox mouse integration: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     3.184] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/input/input0/event0"
[     3.184] (II) XINPUT: Adding extended input device "VirtualBox mouse integration" (type: TOUCHSCREEN, id 9)
[     3.184] (II) evdev: VirtualBox mouse integration: initialized for absolute axes.
[     3.184] (**) VirtualBox mouse integration: (accel) keeping acceleration scheme 1
[     3.184] (**) VirtualBox mouse integration: (accel) acceleration profile 0
[     3.184] (**) VirtualBox mouse integration: (accel) acceleration factor: 2.000
[     3.184] (**) VirtualBox mouse integration: (accel) acceleration threshold: 4
[     3.184] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/js0)
[     3.184] (II) No input driver specified, ignoring this device.
[     3.184] (II) This device may have been added with another device file.
[     3.184] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/mouse0)
[     3.184] (II) No input driver specified, ignoring this device.
[     3.184] (II) This device may have been added with another device file.
[     3.185] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/event2)
[     3.185] (**) VirtualBox USB Tablet: Applying InputClass "evdev pointer catchall"
[     3.185] (II) Using input driver 'evdev' for 'VirtualBox USB Tablet'
[     3.185] (**) VirtualBox USB Tablet: always reports core events
[     3.185] (**) evdev: VirtualBox USB Tablet: Device: "/dev/input/event2"
[     3.236] (--) evdev: VirtualBox USB Tablet: Vendor 0x80ee Product 0x21
[     3.236] (--) evdev: VirtualBox USB Tablet: Found 9 mouse buttons
[     3.236] (--) evdev: VirtualBox USB Tablet: Found scroll wheel(s)
[     3.236] (--) evdev: VirtualBox USB Tablet: Found relative axes
[     3.236] (--) evdev: VirtualBox USB Tablet: Found absolute axes
[     3.236] (--) evdev: VirtualBox USB Tablet: Found x and y absolute axes
[     3.236] (--) evdev: VirtualBox USB Tablet: Found absolute touchscreen
[     3.236] (II) evdev: VirtualBox USB Tablet: Configuring as touchscreen
[     3.236] (II) evdev: VirtualBox USB Tablet: Adding scrollwheel support
[     3.236] (**) evdev: VirtualBox USB Tablet: YAxisMapping: buttons 4 and 5
[     3.236] (**) evdev: VirtualBox USB Tablet: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     3.236] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:0c.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input3/event2"
[     3.236] (II) XINPUT: Adding extended input device "VirtualBox USB Tablet" (type: TOUCHSCREEN, id 10)
[     3.236] (WW) evdev: VirtualBox USB Tablet: touchpads, tablets and touchscreens ignore relative axes.
[     3.236] (II) evdev: VirtualBox USB Tablet: initialized for absolute axes.
[     3.236] (**) VirtualBox USB Tablet: (accel) keeping acceleration scheme 1
[     3.236] (**) VirtualBox USB Tablet: (accel) acceleration profile 0
[     3.236] (**) VirtualBox USB Tablet: (accel) acceleration factor: 2.000
[     3.236] (**) VirtualBox USB Tablet: (accel) acceleration threshold: 4
[     3.236] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/js1)
[     3.236] (II) No input driver specified, ignoring this device.
[     3.236] (II) This device may have been added with another device file.
[     3.236] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/mouse1)
[     3.236] (II) No input driver specified, ignoring this device.
[     3.236] (II) This device may have been added with another device file.
[     3.236] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event1)
[     3.236] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[     3.236] (**) AT Translated Set 2 keyboard: Applying InputClass "Keyboard catchall"
[     3.236] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[     3.236] (**) AT Translated Set 2 keyboard: always reports core events
[     3.236] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event1"
[     3.236] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[     3.236] (--) evdev: AT Translated Set 2 keyboard: Found keys
[     3.236] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[     3.236] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input1/event1"
[     3.236] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[     3.236] (**) Option "xkb_rules" "evdev"
[     3.236] (**) Option "xkb_model" "pc104"
[     3.236] (**) Option "xkb_layout" "us"
[     3.236] (WW) Option "xkb_variant" requires a string value
[     3.236] (**) Option "xkb_options" "eurosign:e"
[     3.238] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event6)
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev pointer catchall"
[     3.238] (II) Using input driver 'evdev' for 'ImExPS/2 Generic Explorer Mouse'
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[     3.238] (**) evdev: ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event6"
[     3.238] (--) evdev: ImExPS/2 Generic Explorer Mouse: Vendor 0x2 Product 0x6
[     3.238] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found 9 mouse buttons
[     3.238] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found scroll wheel(s)
[     3.238] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found relative axes
[     3.238] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
[     3.238] (II) evdev: ImExPS/2 Generic Explorer Mouse: Configuring as mouse
[     3.238] (II) evdev: ImExPS/2 Generic Explorer Mouse: Adding scrollwheel support
[     3.238] (**) evdev: ImExPS/2 Generic Explorer Mouse: YAxisMapping: buttons 4 and 5
[     3.238] (**) evdev: ImExPS/2 Generic Explorer Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     3.238] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event6"
[     3.238] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 12)
[     3.238] (II) evdev: ImExPS/2 Generic Explorer Mouse: initialized for relative axes.
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: (accel) keeping acceleration scheme 1
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration profile 0
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[     3.238] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[     3.238] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse2)
[     3.238] (II) No input driver specified, ignoring this device.
[     3.238] (II) This device may have been added with another device file.

I also reported this issue upstream.

I just tried out the new release candidate for virtualbox 5.1. Same error occurs.

@timsears are you using the updated guest additions as well? It's not exactly obvious but I think the error is entirely with VirtualBox Guest Additions not the actual VirtualBox client.
I'm thinking we should just revert everybody back to 5.0.12 until VirtualBox team has figured out all of the issues.

Based on @matthewbauer comment above I note the following found here

Guest Additions update for Linux guests.
After the 5.0.16 release, the Guest Additions were updated to support Linux guests with X.Org Server running without root privileges and to fix certain 3D acceleration-related issues. If you experience regressions, please report them in our bugtracker and try to use the 5.0.16 Additions:

It looks like one might need to override config.boot.kernelPackages used in nixpkgs/nixos/modules/virtualisation/virtualbox-guest.nix.
Anybody have a suggestion on an easy way to do that?

I have this working on VirtualBox Version 5.0.24 r108355, using a fresh VirtualBox VM and NixOS install from the nixos-minimal-16.03.1028.0546a4a-x86_64-linux ISO.
nixos-version reports 16.03.1028.0546a4a.
I set virtualisation.virtualbox.guest.enable = true;, enabled i3 via services.xserer.windowManager.i3.enable = true;, as well as kdm and kde4 (just to give me options).
I also install wget, vim, i3status, dmenu, stack and nodejs via environment.systemPackages = with pkgs; section.

@atc- are you able to switch terminals without the video driver crashing? For instance, press "Ctrl-Alt-F1" to switch to tty1 then press "Ctrl-Alt-F7" to switch back to tty7. For every test after 5.0.16, this seems to crash the vbox video driver.

Yes, that causes issues, but I rarely if ever have to do it. Once I'm in X start using it normally or if I want to switch to a TTY I logout then use the "Console session" menu option.

Note that upstream is reporting that I probably don't have the modesetting X.Org driver installed which should be required.
I see that @edolstra removed the modesetting driver in with https://github.com/NixOS/nixpkgs/commit/18e067ac808d5559aac21468c877e704fda1ae50 with the explanation that it's part of xorg-server now.
I'm running X.Org X Server 1.17.4. I'm going to find out if the modesetting driver really is part of 1.17.4.

I wonder if the fact that we set "virtualbox" as the video driver is overriding any of the modesetting?
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/virtualbox-guest.nix#L52

I don't understand why they need "modesetting" enabled all of a sudden... Maybe? this patch will fix things...
https://github.com/NixOS/nixpkgs/compare/master...matthewbauer:patch-1

This patch fixes the issue (for me at least).

@matthewbauer patch solved the issue for me as well.

That patch also solves it for me. Thanks @matthewbauer!

Okay can we close this issue now?

This is merged to the channel 16.03 right? I still have the same issue after
nixos-rebuild switch --upgrade. Anything I can check?

It's not in that version but should be in the next version.
https://github.com/NixOS/nixpkgs/commits/f231b2b

Ah OK, when would it get refereshed here?

This is the job if you're looking for the .ova file:
http://hydra.nixos.org/job/nixos/release-16.03/nixos.ova.x86_64-linux
It's being blocked on a gnutls update right now: 94eec8fe776230850892db5897593bfaaa265b89

I'm closing the issue since it's fixed. Thanks to all involved!

Hmmm, I might be doing something wrong somewhere, but for some reason, I am having the same issue in 99f63b4, even though it has the fix from 802a700...
If I have time I will try to bisect this.

Ok, found it. 07fc652 breaks it again for me. Most likely the line mentioning modesetting.

This is still broken via the 16.03 ova, 16.03.1299.a8e0739, and latest unstable. Same error as in the original post.

Yeah, we should reopen this. There's no "modesetting" entry in xorg server any more. I'm not sure what's causing it but I think commit 22088b4b25119083d8adfc055073f563b9cd8115 might be introducing this.


Reduce the number of commit messages displayed at "News" page

The News page should display only ten commit messages from github, so it would be cleaner and maybe lighter to load than it is now.

Issue solved.


Revert https://github.com/lablabs/ansible-role-rke2/pull/273

Revert https://github.com/lablabs/ansible-role-rke2/pull/273. It actually does the opposite of what it says it's trying to achieve
Description
This achieved the opposite. A brand new cluster gets node.cloudprovider.kubernetes.io/uninitialized taint with default settings.
You should remember that rke2_disable_cloud_controller is a negative, i.e. when false it enables the RKE2 cloud controller. When true it disables RKE2 cloud controller.
So the code before https://github.com/lablabs/ansible-role-rke2/pull/273 PR was correct.
{% if (rke2_disable_cloud_controller | bool ) %}
disable-cloud-controller: true
cloud-provider-name: "{{ rke2_cloud_provider_name }}"
{% endif %}

vs
{% if (rke2_disable_cloud_controller | bool ) %}
disable-cloud-controller: true
{% endif %}
{% if not (rke2_disable_cloud_controller | bool ) %}
cloud-provider-name: "{{ rke2_cloud_provider_name }}"
{% endif %}

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Small minor change not affecting the Ansible Role code (GitHub Actions Workflow, Documentation etc.)

How Has This Been Tested?
Locally on 3 brand new nodes.

@Raboo please check comments on #273


Releasing human preference data

Hey,
Thanks for your great work and for releasing your code publicly. I am very interested in the human evaluation data that you show in Fig 7 of the paper. Is it possible for you to release the exact prompts, image-pairs and raw human preferences that you collected for plotting Fig 7? This would be super helpful, thanks!

Thank you for your interest in our work! In response to your needs, we have made the human evaluation data, prompts, images, and visualization code available on Hugging Face. You can access them at https://huggingface.co/datasets/yangkaiSIGS/d3po_datasets/

Amazing, thanks for your prompt response!


feat(Progress): Add extra small size

Changes description 🧑💻

Add extra small size for progress component
Context 🤔

#52
Checklist ✅

[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Please, don't request directly from your main!
[x] Check commits & PR names matches our requested structure. It must follow the https://www.conventionalcommits.org pattern.
[x] Check compose contract convention. It must follow conventions described here.
[x] Check your code additions will fail neither code linting checks.
[x] I have reviewed the submitted code.
[x] I have tested on a phone device/emulator.
[ ] I have tested on a tablet device/emulator.
[ ] I have tested on a large screen device/emulator.
[ ] If it includes design changes, please ask for a review with a core team designer.

Screenshots 📸

You can download the apk here :
sample-debug.apk :
https://app.bitrise.io/app/e9ae480151be4514/build/cd1b99af-656c-4db4-abe7-6d971878a700/artifact/8ca16865d9774c27/p/650115d7b9267ca07c08bc86431b7682

@SimonLeclercq - Design validation needed

You can download the apk here :
sample-debug.apk :
https://app.bitrise.io/app/e9ae480151be4514/build/5d6b04c8-ebb6-431c-ad65-e83368b46c79/artifact/5ac0464013767e0c/p/6dc05d7d6f59431e7b893d86a9bf3009

You can download the apk here :
sample-debug.apk :
https://app.bitrise.io/app/e9ae480151be4514/build/811c4736-d2ad-4010-b5a7-c04de675cb88/artifact/bb2a66e5838b1c8a/p/69e82dcd1dd858c2b29e30a6202c0777

👍

You can download the apk here :
sample-debug.apk :
https://app.bitrise.io/app/e9ae480151be4514/build/95ea00a0-77ff-4035-8bb5-a30c8dfda2eb/artifact/cb5306dc48819004/p/20ecafb17846cea2b73baec374d8812e


fakepath issue with your AVOD code

Hello. When I try to visualize the results by running demos/show_predictions_2d.py, I get an error:
FileNotFoundError: Dataset path does not exist: /home/sarim/fakepath
Can you tell me where exactly I need to make a change to deal with fakepath? What exactly I should replace fakepath with? I searched your entire AVOD project for instances of fakepath and found that it is used in the following three lines:
avod/protos/kitti_dataset.proto (line11)
avoid/protos/kitti_dataset_pb2.py (line 23 and 48)

Please tell me what I should replace fakepath with (if I need to)

Hi
This AVOD code is forked from https://github.com/kujason/avod. I haven't modified the show_predictions_2d.py yet. I might try it after ECCV ddl. If you want to show the 2D or 3D predictions, I can send you some scripts.


[Event Change request] 6665 "Batch Post Purch. Ret. Orders" -  OnAfterOnOpenPage

With new VAT fields I'm missing the possibility to initilize these before the request page runs:

Add these fields to event:
[IntegrationEvent(false, false)]
    local procedure OnAfterOnOpenPage(var ShipReq: Boolean; var InvReq: Boolean; var PostingDateReq: Date; var ReplacePostingDate: Boolean; var ReplaceDocumentDate: Boolean; var CalcInvDisc: Boolean)
    begin
    end;

Or even better, change [IntegrationEvent(false, false)]  --> [IntegrationEvent(true, false)]

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10494.


Add test coverage for PropertyInject

Since it uses reflection we should have test coverage for PropertyInject.

Maybe we could build time transform @PropertyInject to @ConfigProperty. Then there'd be no need for any runtime reflection.


Docker container can't connect to internet

Basic info
To make sure that we are on the same page:

Kernel: Linux alpha 4.4.4 #1-NixOS SMP Thu Mar 3 23:10:04 UTC 2016 x86_64 GNU/Linux
System: 16.09pre78286.0bf8a1a (Emu)
Nix version: nix-env (Nix) 1.11.2
Nixpkgs version: 16.09pre78286.0bf8a1a

Describe your issue here
Docker containers can't connect to internet.
$ ping google.com -c1
PING google.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from nrt13s36-in-f14.1e100.net (<IP_ADDRESS>): icmp_seq=1 ttl=49 time=55.2 ms

$ docker run -ti ubuntu ping google.com -c1
ping: unknown host google.com

It seems it has something to do with the DNS used by docker. (<IP_ADDRESS> and <IP_ADDRESS>)
Step to reproduce

enable docker in configuration.nix
virtualisation.docker.enable = true;

run ping from a container
$ docker run -ti ubuntu ping google.com -c1

cc docker maintainers @offlinehacker @tailhook

Probably a duplicate of #11478; TLDR: systemctl restart docker.

@jgillich Thanks!
Setting virtualisation.docker.socketActivation = false; and restarting docker unit solved the problem.

any updates?

What's the fix for this now that socketActivation doesn't exist anymore?


Use existing python installation

I would like to have an option to use existing python installation on the agent instead of installing it every time.
Hosted VS2017 agents have python 3.6.x and 2.x installed. The first one is said to be installed in the $PATH. The issue I have is that I cannot use "Execute python script" task as it requires "python search root" parameter to be fiiled. I tried to pass $PATH variable here but this task is currently unable to parse paths separated by ';' sign. Maybe you could add an option to use $PATH instead of searching for installations?

All of the tasks have been updated to work with the built-in "Use Python version" task (which is not part of my extension). So they all only run once now, and you should use multi-configuration settings to run multiple versions, and the "Install" task now updates PATH.
If you don't see the updates, make sure you select the latest version for each task from the dropdown when editing your definition. They won't automatically upgrade, because it may break your builds.


Test Issue

This is a test issue to practice commenting and closing an issue

This is a test issue to practice commenting and closing an issue

Fixed!


Compatability with python 3.8

Hi,
Love this tool. I keep telling everyone about it.
Python 3.8 compatibility would be awesome!
Edit:
I forked it, changed nothing besides adding the 'Programming Language :: Python :: 3.8' classifier inside setup.py, pip installed it locally and it works with 3.8 as is (which makes sense).
I felt silly creating a PR for adding a single line.

I've been using it, the classifier is definitely not required, but I will add it.


Merge 3.x changes to master

Requesting to get the 3.x changes into the master branch. This isn't a clean merge due to changes that conflict with the commit for #88 , but it is a conflict-free rebase that we can do during a manual merge.
❗ Please review the changelog as well, as this is a previously unreviewed update meant to include all the changes from 3.x.

let me pull this down and get the merge clean and tested.

Right, to clarify, I just wanted to avoid force-pushing this branch. :) Thanks!

I've pushed a rebased version here: https://github.com/ARentz07/rundeck/tree/3.x-rebased
I'll go ahead and replace this pull request with a new one using that branch.


KAFKA-16813: Add global timeout for "@Test" and "@TestTemplate"

Jira: https://issues.apache.org/jira/browse/KAFKA-16813
add ClusterTest and ClusterTests timout for 30 seconds.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@m1a2st Could you please file another PR to run github CI also?

@m1a2st we need to check both CI so I feel this PR can be closed as duplicate to #16957

Ok, I close this PR


Suppress warnings for remote Clang targets

This mirrors behavior of remote swift targets which suppress warnings as well.

@MaxDesiatov what would be the best way to test this? I couldn't find any tests with -suppress-warnings flag in the suite :/

This is actually a draft, "package" doesn't exist for clang targets yet, I'm about open a PR to introduce that.

I think I figured it out - I can extend ClangTargetBuildDescriptionTests to check that by forming a remote package dependency.

@MaxDesiatov what would be the best way to test this? I couldn't find any tests with -suppress-warnings flag in the suite :/

This looks like something that belongs to BuildPlanTests or maybe worth creating a new ClangTargetBuildPlanTests as the existing BuildPlanTests is too big.

maybe worth creating a new ClangTargetBuildPlanTests as the existing BuildPlanTests is too big.

Turns out we already have ClangTargetBuildDescriptionTests.swift.

@swift-ci please test

@swift-ci please test Windows platform

@swift-ci test windows


Service account and tokens not deleted #4710

Bug Report
When operator is installed by OLM it creates service account for the operator. Service account token secrets are subsequently created for the service account. When operator is uninstalled, is service account for operator is expected to be deleted? OR Is the service account expected to be deleted manually?
What did you do?

Create a service account for operator
Include service account yaml in config/rbac folder.

kind: ServiceAccount
apiVersion: v1
metadata:
  name: my-operator-service-account
  labels:
    app.kubernetes.io/instance: myapp
    app.kubernetes.io/managed-by: my-operator
    app.kubernetes.io/name: my-operator
    release: 1.0.0
imagePullSecrets:
  - name: my-key

Add service account yaml name to config/rbac/kustomization.yaml

resources:
- role.yaml
- role_binding.yaml
- leader_election_role.yaml
- leader_election_role_binding.yaml
- service_account.yaml

Run make bundle. The service account yaml is included in bundle folder

$ pwd
/operators/my-operator/bundle/manifests
$ ls -l
-rwxrwxrwx 1 elm elm   311 Feb 27 10:40 my-operator-service-account_v1_serviceaccount.yaml
-rwxrwxrwx 1 elm elm 47659 Feb 27 10:40 my-operator.clusterserviceversion.yaml

Verify that service account name is present in csv file at
install.spec.deployments[0].spec.template.spec.serviceAccount, install.spec.deployments[0].spec.template.spec.serviceAccountName and install.spec.permissions.rules.serviceAccountName

Deploy the operator through OLM. Ensure that service account is created. Also verify that token secrets for service account are created
Uninstall the operator

What did you expect to see?

The service account should get deleted
The service account tokens should be deleted

What did you see instead? Under which circumstances?
Service account and service account tokens are not deleted
$ oc get sa
NAME                               SECRETS   AGE
builder                            2         119d
default                            2         119d
deployer                           2         119d
my-operator-service-account   2         70d

$ oc get secrets
NAME                                               TYPE                                  DATA   AGE
builder-dockercfg-276cc                            kubernetes.io/dockercfg               1      119d
builder-token-f8znw                                kubernetes.io/service-account-token   4      119d
builder-token-mmwpw                                kubernetes.io/service-account-token   4      119d
default-dockercfg-llg5c                            kubernetes.io/dockercfg               1      119d
default-token-rhz7d                                kubernetes.io/service-account-token   4      119d
default-token-x2gxj                                kubernetes.io/service-account-token   4      119d
deployer-dockercfg-xw8qt                           kubernetes.io/dockercfg               1      119d
deployer-token-6hssq                               kubernetes.io/service-account-token   4      119d
deployer-token-9hzs7                               kubernetes.io/service-account-token   4      119d
my-operator-service-account-dockercfg-jqjcg   kubernetes.io/dockercfg               1      70d
my-operator-service-account-token-k8hzw       kubernetes.io/service-account-token   4      70d
my-operator-service-account-token-s8dd8       kubernetes.io/service-account-token   4      70d
my-operator-service-account-token-z9fzd       kubernetes.io/service-account-token   4      70d

Environment

operator-lifecycle-manager version:

Image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:fdc4106ae1d4219bbc1247ee66a1780266b1ee2ac10e5f11b690d2d0be6ac2e8
operator-lifecycle-manager version: 0.15.1

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.7", GitCommit:"1dd5338295409edcfff11505e7bb246f0d325d15", GitTreeState:"clean", BuildDate:"2021-01-13T13:23:52Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.3+65bd32d", GitCommit:"65bd32d", GitTreeState:"clean", BuildDate:"2021-01-27T04:24:26Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Kubernetes cluster type:
OpenShift
Additional context
See https://github.com/operator-framework/operator-sdk/issues/4710

OLM intentionally does not delete service accounts, even those created from a bundle. I am not 100% clear on the reasons why not though. @jaydeepva how are you uninstalling your operator?
/ping @kevinrizza

@estroz the operator is uninstalled from OpenShift console

Is it possible that this SA has two owners, and another operator uses it as well? Or potentially the operands are still using the SA?
Could you provide us the ownerrefs for the SA in question -- that would help us debug this further.

Also note that if you list a ServiceAccount name in the spec of your CSV, you don't also need to include the resource in your bundle manifests -- i.e. alongside the CSV -- since OLM creates any ServiceAccounts listed in the CSV spec automatically.

Surprisingly there is no ownerRef in SA. I can see that CSV status.requirementStatus.dependents shows SA
    - dependents:
        - group: rbac.authorization.k8s.io
          kind: PolicyRule
          message: >-
            namespaced
            rule:{"verbs":["get","list","watch","create","update","patch","delete"],"apiGroups":[""],"resources":["configmaps"]}
          status: Satisfied
          version: v1
        - group: rbac.authorization.k8s.io
          kind: PolicyRule
          message: >-
            namespaced
            rule:{"verbs":["get","update","patch"],"apiGroups":[""],"resources":["configmaps/status"]}
          status: Satisfied
          version: v1
...
...
      group: ''
      kind: ServiceAccount
      message: ''
      name: my-operator-service-account
      status: Present
      version: v1


fix(plugin-vue): deprecate inline main (fix #31)

Description
vite-plugin-vue should deprecate inline main, because .vue file can't be processed as js/ts.
fix:  #31, vite#13756
Additional context
When using vite dev, lang="js" or lang="ts" will be skip build,
Live demo: stackblitz
lang="js" or lang="ts" will as inline main, skip js/ts build. Because its extname is .vue.

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

https://github.com/vitejs/vite-plugin-vue/pull/444   I am also trying to solve this problem. Why has this PR not been accepted for so long?

Closing as https://github.com/vitejs/vite-plugin-vue/issues/31 has been fixed via #444

关闭#31 的问题已通过#444修复

The problem is not completely solved.
#444 only fixed lang="ts", the problem still exists with lang="js".

@edison1105 We should have an option to disable inline main. Some Vite plugin only transforms .ts files but not Vue files.

I think inline main should be deprecated or default to false.
Inline main makes compilation lose consistency.
The same code will compile to different results in lang="js", lang="ts", lang="jsx/tsx".


Add links to MaterialUI extensions

Hey @cmeeren do you think you could add links in your docs to libraries that extend MaterialUI for Feliz? Similar to how the main Feliz repo links to this one? It would help discoverability for some of the libraries I've made for pickers and material-table. At least I think those two would be a good idea since they mention them directly and in some cases (pickers) recommend them over native components.
Feliz.MaterialUI.Pickers
Feliz.MaterialUI.MaterialTable

Thanks! Published: https://cmeeren.github.io/Feliz.MaterialUI/#ecosystem


Support aenter/aexit

Defect
The following code would fail to await the aiohttp.ClientSession.close() coroutine, or attempt to close the session after the event loop closed.
with AsyncInfluxDBClient(mode='async') as client:
    pass

Desired behavior
def blocking_func():
    with AsyncInfluxDBClient(mode='blocking') as client:
        pass

async def async_func():
    async with AsyncInfluxDBClient(mode='async') as client:
        pass

Changes

Added __aenter__, __aexit__, and close functions
Removed __del__ function. For well-handled cleanup, clients can either explicitly close, or use the context guard. This also avoids unwanted side effects where __del__ is called after the event loop closes.
async_client fixture is now async, and uses a module scoped event loop

Look quite solid!
Thank you!


refs aliyun/rds_dbsync#31, aliyun/rds_dbsync#110, support the docker now

解决编译环境问题
增加 Dockerfile

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

你好，感谢您对开源对贡献。
能否加钉钉<PHONE_NUMBER>4 讨论下这个patch的细节。


Add links for Go and Java sample applications

Signed-off-by: Chris Gabriel<EMAIL_ADDRESS>Type of change

Documentation update

Description
Add links in doc for new Go and Java asset transfer sample applications.

@mergifyio backport release-2.2


fix: sort reports properly

This is not done yet. It should still be tested whether this really fixes sorting. And it is tricky to use the report name as the file name when reports are saved. If a report is renamed, the file name stays the same. What if you create a report under the name "A" and then rename it to "B"? The filename is still A. So when you create a new report with name "A", how are the files handled?

When the report name is changed I would say that the file name should also be changed

We gaan er voorlopig niet aan werken. Kijk deze PR terug als het issue tzt wordt opgepakt.


the loop indexes

https://github.com/GEOS-ESM/GOCART/blob/d79a878d8dbc08b771f5d4e07f034c84335fb966/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_GridCompMod.F90#L1311-L1312
I think the indexes here should start from  i1 and j1  @tclune

It's not a bug though.  Just an anachronism.


Clean Install of CKAN

Background
CKAN Version: 1.25.1
KSP Version: <IP_ADDRESS>2
Operating System: W10 64x
Have you made any manual changes to your GameData folder (i.e., not via CKAN)? No
Affected mods and mod versions: None APplicable
Problem
What steps did you take in CKAN? Start CKAN up
What did you expect to happen? To show a list of mods
What happened instead? Error screen provided (Repository update failed)
Screenshots:

CKAN error codes (if applicable):

Looks identical to KSP-CKAN/CKAN#2445. Please try adjusting your Windows Firewall settings as per this link:
https://social.technet.microsoft.com/Forums/windows/en-US/e0cc1b3e-2c63-451a-abc8-8e1e66a23287/an-attempt-was-made-to-access-a-socket-in-a-way-forbidden-by-its-access-permissions?forum=w7itpronetworking

My antivirus/firewall software (Norton) secretly blocked it, thanks for the help, had to finagle norton stuff


ht: provide ht_new_opt API to customize the hashtable

lgtm, but this is based on top of the ht_new0 pr which is not merged and will conflict

plz rebase


MGDOBR-847: Error handling for API calls in Processor pages

Design document: https://docs.google.com/document/d/1-j79KIEGu_d8pNYVODIaNbi2rjxxVIgZ4m_OFQwZAeQ/edit?usp=sharing
Few mocking suggestions:

@kelvah @manstis, what should we do with this PR? are you ok with merging it and eventually fixing issues that QE should find when they have time to test it?


module 'sh.contrib' has no attribute 'sudo'

sh version is 1.14.1, python is 3.8.5/3.8.8
Python 3.8.5 (default, Sep  4 2020, 07:30:14)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sh
>>> sh.contrib
<module 'sh.contrib'>
>>> sh.contrib.sudo
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'sh.contrib' has no attribute 'sudo'
>>> sh.sudo
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/conda/envs/omega/lib/python3.8/site-packages/sh.py", line 3518, in __getattr__
    return self.__env[name]
  File "/conda/envs/omega/lib/python3.8/site-packages/sh.py", line 3316, in __getitem__
    raise CommandNotFound(k)
sh.CommandNotFound: sudo

both sh.contrib.sudo and sh.sudo broke.

sometimes it seems work, sometimes fail. But always fail in unittest.mock:
ERROR: test_config_logging (test_cli.TestCLI)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/conda/envs/omega/lib/python3.8/unittest/async_case.py", line 65, in _callTestMethod
    self._callMaybeAsync(method)
  File "/conda/envs/omega/lib/python3.8/unittest/async_case.py", line 84, in _callMaybeAsync
    ret = func(*args, **kwargs)
  File "/apps/omega/tests/test_cli.py", line 165, in test_config_logging
    with mock.patch("sh.contrib.sudo.mkdir", create=True):
  File "/conda/envs/omega/lib/python3.8/unittest/mock.py", line 1377, in __enter__
    self.target = self.getter()
  File "/conda/envs/omega/lib/python3.8/unittest/mock.py", line 1552, in <lambda>
    getter = lambda: _importer(target)
  File "/conda/envs/omega/lib/python3.8/unittest/mock.py", line 1228, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/conda/envs/omega/lib/python3.8/unittest/mock.py", line 1217, in _dot_lookup
    __import__(import_path)
ModuleNotFoundError: No module named 'sh.contrib.sudo'; 'sh.contrib' is not a package

the code worked before, I don't know why it breaks recently.

Do you in fact have the sudo command available on this system and reachable in your PATH? What does which sudo output?

I'm closing this due to OP timeout. Feel free to reopen if you get back to this issue.


PR To allow for the use of CMake "Object Libraries"

Don't look at this yet. I need to provide some examples for a discussion to be useful


alg identifier for falcon

I'm looking for something like this:
https://github.com/cyph/pqcrypto.js/tree/master/packages/dilithium-crystals

The default parameter set is Dilithium5 (roughly 256-bit strength).

Related to defining support for JOSE / COSE built on your implementation here.
https://github.com/mesur-io/post-quantum-signatures


Fixed separator and added junction vs symlink on windows.

@karl- Sorry, I used the wrong character in #2. Fixed that here, and added more symlink options on windows (true symlinks in addition to junction).

@karl- Sorry, I used the wrong character in #2. Fixed that here, and added more symlink options on windows (true symlinks in addition to junction).


Write manager functionality

Write manager functionality.
Manager should:

Monitor our own member dir - watch for adds/removes/updates
Launch/shutdown checkers

The manager has been written but I'm experimenting with a few different ways to manage check startup/shutdown.

This has been completed in #21


Reduce test leftovers on disk

don't dump agency by default on all errors
don't write junit xml reports by default

http://jenkins01.arangodb.biz:8080/job/arangodb-quicky-linux/

tests green except for recovery


[FR] Final PR

Hi @lewtun
The last PR before the announcement about three things:

added links to the authors' HF profiles (so the reader can find everything from everyone's GitHub account, Twitter, personal site, etc.)
I added a small paragraph on the carbon footprint of the models with links to two tools to calculate it (which Sasha says in his video and which I thought was interesting to add on the website so that people who don't necessarily watch the videos still have the information)
the correction of links that were broken and closing https://github.com/huggingface/course/issues/398

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Why does bin_name() return str rather than OsString?

lexopt tries not to convert strings unless absolutely necessary, but bin_name() deviates from that. The source code doesn't explain why. If bin_name() returned OsString, that'd be more consistent with other methods.

I wrote up some considerations here but they fell through the gaps the first time I scrapped the method.
The main use case I envisioned for it was to show in help messages and error messages. Try running /bin/cat --help and /bin/cat doesnotexist: if you have GNU cat then you'll see
Usage: /bin/cat [OPTION]... [FILE]...

/bin/cat: doesnotexist: No such file or directory

It does this based on argv[0].
It's easy to format a &str but hard to format an &OsStr. With the current API you can do println!("Usage: {} blabla", parser.bin_name().unwrap_or("myprog"));, but if it returned an &OsStr you'd have to do more work.
Unlike a normal argument, which might be an actual file you have to open, I don't think there are any common cases where you'd absolutely have to process your own command name even if it's invalid unicode. (It's not even a good way of finding the actual executable.) But then a lossy decode might make more sense than ignoring it.
(I want to remove/overhaul the whole method, as discussed in https://github.com/blyxxyz/lexopt/issues/5#issuecomment-882822658)

Thanks! This answers my question completely, so I'll close the issue.


Changed the look of the copy-code button

Nothing fancy, just a more intuitive copy-code button with font awesome icon.
We might think about toast messages for succeeded Copy-actions instead of appending this text to the button.

great job man! works flawlessly.
Thanks for the PR.


Bad position when dealing with some multibyte utf8 chars

For example pasting んんんんんんんんんんん then deleting it, removes part of the prompt.
Log: terminal-んんんんんんんんんんん.log
This happens with other multi-byte chars like 한, but doesn't with €, 𐍈, ह, ...

Agreed. Super odd. Will investigate.

Huh. So, when I hit the right arrow key, after emitting one of those, I get ESC 2 7 m BEL, followed by BS BS, then the character getting emitted again.
What?

Why would it BS twice? Why not once?


fix(appspec): making event bridge not save appsepc

Goal
Fix pocket-event-bridge so it doesnt save the app spec

Plan Result (pocket-event-bridge-cdk)
CI link
Plan: 0 to add, 1 to change, 0 to destroy.

Update

aws_cloudwatch_metric_alarm.shareable-list-item-events_shareablelistevents-rule-dlq-alarm_2CE4E6A3

Change Result (Click me)

  # aws_cloudwatch_metric_alarm.shareable-list-item-events_shareablelistevents-rule-dlq-alarm_2CE4E6A3 will be updated in-place
  ~ resource "aws_cloudwatch_metric_alarm" "shareable-list-item-events_shareablelistevents-rule-dlq-alarm_2CE4E6A3" {
      ~ dimensions                = {
          ~ "QueueName" = "PocketEventBridge-Prod-SNS-ShareableListEvents-Topic-DLQ" -> "PocketEventBridge-Prod-SNS-ShareableListItemEvents-Topic-DLQ"
        }
        id                        = "PocketEventBridge-Prod-ShareableListEvents-Rule-dlq-alarm"
        tags                      = {}
        # (17 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

:white_check_mark: Apply Succeeded (pocket-event-bridge-cdk)
CI link
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
 Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # aws_cloudwatch_metric_alarm.shareable-list-item-events_shareablelistevents-rule-dlq-alarm_2CE4E6A3 will be updated in-place
  ~ resource "aws_cloudwatch_metric_alarm" "shareable-list-item-events_shareablelistevents-rule-dlq-alarm_2CE4E6A3" {
      ~ dimensions                = {
          ~ "QueueName" = "PocketEventBridge-Prod-SNS-ShareableListEvents-Topic-DLQ" -> "PocketEventBridge-Prod-SNS-ShareableListItemEvents-Topic-DLQ"
        }
        id                        = "PocketEventBridge-Prod-ShareableListEvents-Rule-dlq-alarm"
        tags                      = {}
        # (17 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.
aws_cloudwatch_metric_alarm.shareable-list-item-events_shareablelistevents-rule-dlq-alarm_2CE4E6A3: Modifying... [id=PocketEventBridge-Prod-ShareableListEvents-Rule-dlq-alarm]
aws_cloudwatch_metric_alarm.shareable-list-item-events_shareablelistevents-rule-dlq-alarm_2CE4E6A3: Modifications complete after 0s [id=PocketEventBridge-Prod-ShareableListEvents-Rule-dlq-alarm]
Releasing state lock. This may take a few moments...

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.


The state of resources don't change to "refreshing" when calling refetch under a Transition

I'm making a small toy dashboard, and I've defined this route data:
export function routeData() {
  return {
    app1status: createServerData$(async () => {
      return getDeploymentStatus(
        "namespace1",
        "deployment1"
      );
    }),
    app2status: createServerData$(async () => {
      return getDeploymentStatus(
        "namespace2",
        "deployment2"
      );
    }),
    app3status: createServerData$(async () => {
      return getDeploymentStatus(
        "namespace3",
        "deployment3"
      );
    }),
  };
}

This works beautifully with <Suspense> and renderStream to display a loading spinner while the data is fetched on page load.
However, this being a dashboard, I want to refresh the data now and then, so I'm using refetchRouteData.
This works, however I want to be able to display some indicator that the data is currently being refetched. From the docs, it sounds like I should be able to use resource.state for this. However, it doesn't seem like refetchRouteData actually updates the state of each resource like it should.
To test, I added a createEffect to log the state of each resource:
createEffect(() => {
  console.log(app1status.state);
  console.log(app2status.state);
  console.log(app3status.state);
});

This logs:

So it shows "pending" as the page opens, then "ready" as each resource finishes loading. After that, every time I press the refetch button, it just logs "ready" again, as the resources finish loading.
Shouldn't the state change to "refreshing" while the data is being refetched?

This one is pretty core question so I moved it here. But the answer isn't actually too obvious. What is happening is we do the refetch all route data under a Transition and it therefore does it all in the background. The problem is that being under a transition the state can't actually update until its committed. Before doing this calling Refetch would cause the whole app to fallback to the Suspense boundary which is not what you want.
You might be thinking well we should make an exception for resources. However, I think that depends on perspective. Is this refetch happening on the current timeline or an alternate (from a concurrent rendering standpoint). Should the current timeline understand the loading state or only the one about to render. Like if you use .loading in your JSX to show a loading spinner should it fire up at this point.
Transitions themselves have the means to know if they are in flight so if we exposed that somehow that might be a better solution. But I wanted to bring this over because the first question is most important. Whether resource state should be exempt from Transitions.

@ryansolid from your answer, I understood that I can use the useTransition for the pending indicator, did I understood correctly? Also for me, useTransition works like magic( why, for example, clicking on the refetchRouter data button triggers my useTransition, where can I get information about how it all works under the hood? (there is not much information about transitions in the solid documentation) reproduce: https://stackblitz.com/edit/github-n9s1u9-tnwckd?file=src/routes/index.tsx

Using useTransition() and wrapping the refetch function (start(() => refetchRouteData())) seems to work perfectly, so I'm happy.
My only issue here is that this solution was not at all obvious, I had no clue that refetchRouteData had anything to do with transitions. The most intuitive thing would be if states worked as documented, but if that's tricky/impossible to implement, at the very least this behavior should be documented in one or both of these locations:

https://start.solidjs.com/api/refetchRouteData
https://start.solidjs.com/core-concepts/data-loading

I'm guessing anybody trying to show a loading state while running refetchRouteData will go down the same path as me, unless they have deep knowledge about SolidJS.

Yeah the thing is this ties into a the global transition and it might not always be accurate. I'm thinking of how to best expose this in a way that applies to just the routing or the specific action. The router has no knowledge of the data being requested so this doesn't belong in the router package. Solid's tracking might be too general, so the only logical place is in SolidStart perhaps. But I don't like that answer, so I need to think about it. The refetchRouteData does return a promise but we probably want these things reactive. It wouidn't be hard to wrap them, but then I wonder if it should be a more general mechanism like isRouting that we extend.

Yeah given the OP found a solution and we can back that. I'm going to move this into discussions. This is more of a future design consideration.


log4j漏洞修复

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
log4j最近暴露了比较严重的漏洞，目前官方给出了log4j的修复版本。咱们项目什么时候更新呢？
Solution
log4j给出了修复漏洞的版本https://github.com/apache/logging-log4j2/releases/tag/log4j-2.15.0-rc2。怎么修复到Doris？我直接替换fe目录下的lib文件夹内的旧jar，结果FE无法启动。
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

You can refer to this article ApacheDoris Security

直接升级log4j-2.17.0吧


Add ability to load and view freestyle heats

Add this feature so visitors can view all heats, including freestyles, prior to the competition. Once the scoresheet is loaded, delete the freestyle heats, as those results will not be saved.

Implemented by pull request #97


not an issue Need help/ How to use Hunspell Spell-checker

Hello,
as mentioned this may not fit here, but thought to give it a try.
I'm trying to create a java-wrapper library to lang-detect and then spell check for the detected languages. I'm currently using Apache Tika as a lang detector and i'm trying to use lucene.analysis.hunspell package for spell-checking, as i've i seen it supports many languages.
My issue is, i cant get good accuracy for some languages that have "special" characters.
e.g in sweedish im checking the word bästa, which is classified as misspelled and the word basta is suggested instead.
bästa exists in the dictionary, so i think this is some encoding issue.
Any guidance on where i should look, or how i should implement to perform spellchecks would be welcome, as i've hardly found anything :)

Hi @aggelako, we use this repository for tracking bugs and new functionality for lucene.  For usage questions, please send messages to the<EMAIL_ADDRESS>mailing list.


Fixed the targets of analysis manifest entries.

Before this change, all entries would use the last visited target from the
previous loop, thus would not match their parent target section.

Ref https://github.com/rust-lang/rust-buildbot/pull/150#issuecomment-277362183

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Thanks! cc @nrc


Sending state notifications based on role membership

Closes #153 and #201

I'm :+1: to this approach

I've updated it to put all the addresses in the to: field of a single email.


Autobahn cpp

Autobahn-cpp WAMP library. For tests I used 3 of its own.
For testing I propose to start with platforms supported by msgpack-c package.

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1126
https://travis-ci.org/ingenue/hunter/builds/170053950

For testing I propose to start with platforms supported by msgpack-c package.

I will start with the default set, feel free to modify.

Travis results:

linux default: lack of c++11 support
two analysis: boost compile error with analyze toolkits

command line module
system

clang-libstdcxx: no std::forward in libstdcxx (I think it is old)

AppVeyor:

all VC except newest -> lack of C++11 support
mingw: failed compile OpenSSL
msys: failed compile boost::program_options

And the issue link: #398.

Travis results

AppVeyor

Please send pull request with disabling tests and info notes to pkg.autobahn-cpp branch.

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1130
https://travis-ci.org/ingenue/hunter/builds/170138945

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1131
https://travis-ci.org/ingenue/hunter/builds/170152747

Released: https://github.com/ruslo/hunter/releases/tag/v0.16.16
Please create a new wiki page about this package. Like this one https://github.com/ruslo/hunter/wiki/pkg.xgboost


Bot List last updated 06/19/2010 07:37h

Is there a more current resource for filtering known bots? Seems like a worthy integration.

I would also like to know that. I want to use impressionist but without a way to update the bots list it can be very risky


Group: Forums Database

Need created Table for Group Forums
Rewrite Group Forum Classes
Improve Types
Improve Group Forum Posts
Change Group Forum check system (removing bool has_forum, to check existence of Forum with same group_id in groups_forums_data)
Fix Groups save prefferences.

50% Done.

80% Done.

Only need now Improve the Groups Forums Posts Table, and some other things.
After that i think is done.

Finished. Nothing to improve in Groups Tables now.


Some sub commands / options giving wrong output.

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
brew --version
brew --prefix
Try to fix some issues reported by brew doctor:
brew untap Homebrew/homebrew-versions
brew uninstall universal-ctags
What happened (include command output)
These commands give the the output brew Version.

Command output

wangyandong@iMac ~
» brew --version
brew Version
wangyandong@iMac ~
» brew --prefix
brew Version
wangyandong@iMac ~
» brew uninstall universal-ctags
brew Version
wangyandong@iMac ~
» brew untap Homebrew/homebrew-versions
brew Version
wangyandong@iMac ~
»

What you expected to happen
brew update,brew upgrade,brew info,brew install work fine, and other commands should do the right thing.
Step-by-step reproduction instructions (by running brew commands)
wangyandong@iMac ~
» brew --version
brew Version
wangyandong@iMac ~
» brew --prefix
brew Version
wangyandong@iMac ~
» brew uninstall universal-ctags
brew Version
wangyandong@iMac ~
» brew untap Homebrew/homebrew-versions
brew Version
wangyandong@iMac ~
»

Output of brew config and brew doctor commands

» brew config
HOMEBREW_VERSION: 2.2.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2fe99bd9823fadea1cf918b1ed8366de7f40d336
Last commit: 11 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core.git
Core tap HEAD: e10d306105b4dcaf80587637b14f180751a385a9
Core tap last commit: 17 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_NO_GITHUB_API: 1
CPU: quad-core 64-bit skylake
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.24.1 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 12.0.1, 1.8.0_73
macOS: 10.15.1-x86_64
CLT: <IP_ADDRESS>.1.1567737322
Xcode: 11.3
CLT headers: <IP_ADDRESS>.1.1567737322
XQuartz: 2.7.11 => /opt/X11

» brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or
https://developer.apple.com/download/more/.

Warning: You have the following deprecated, official taps tapped:
  Homebrew/homebrew-versions
Untap them with `brew untap`.

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  ctags

Closing this because I can't reproduce it.
Try to run brew --version --debug --verbose. What's the output of which brew?

I have found that if you add --version to an arbitrary brew command that doesn't handle it, Ruby's optparse kicks in:
$ brew info --version
brew Version
$ brew doctor --version
brew Version
$ brew --version
Homebrew 2.2.1-76-gaf98c15
Homebrew/homebrew-core (git revision 1d8285; last commit 2019-12-20)
Homebrew/homebrew-cask (git revision 87ef3; last commit 2019-12-20)
$ brew --version --version
brew Version

Thanks. I've reinstalled homebrew and it works again.


Attempt to concatenate local 'env' (a nil value)

Hey @IllustratedMan-code , Thanks for this extension, I really love it!
I have encountered one error though:
after picking an environment with require'telescope'.extensions.conda.conda{} the first time after starting up neovim, I get the following error:
E5108: Error executing lua ...cope-conda.nvim/lua/telescope/_extensions/conda/main.lua:80: attempt to concatenate local 'env' (a nil value)
stack traceback:
        ...cope-conda.nvim/lua/telescope/_extensions/conda/main.lua:80: in function 'env_to_bin'
        ...cope-conda.nvim/lua/telescope/_extensions/conda/main.lua:88: in function 'run_replace_or_original'
        ...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'key_func'
        ...k/packer/start/telescope.nvim/lua/telescope/mappings.lua:242: in function 'execute_keymap'
        [string ":lua"]:1: in main chunk

If I ignore that one and just hit enter, the activation works flawless, but it still is a bit annoying :)
Any Idea, where this might come from?
It definitely comes from here with env being nil.
Maybe the result from the telescope selection is not properly transferred?
It would be great to get this fixed. Otherwise it's a perfect extension!
Cheers

@IllustratedMan-code thanks, that indeed works. However, this feels strange together with the fact, that auto-enabling base should be prevented. In the meantime, I have found another fix at my fork which I would like to upstream if you want me to.
The fixes there include the following:

Handle cases if vim.env.CONDA_DEFAULT_ENV is not set (nil) -> will default to base now.
Handle cases, where Path does not yet contain the prefix (Happens if no env is pre-activated). Currently the substitution wouldn't work then (at least it didn't for me).
Also rely on vim.env.CONDA_PREFIX if given (and the path corresponding to the selected env)
Set other conda variables like CONDA_PREFIX, CONDA_PYTHON_EXE and CONDA_PROMPT_MODIFIER

As I said, I would be more then happy to upstream in case you want me to :)
A not really related question:
There isn't currently a way to persist the selected env, right? In VSCode for every project I need to select the interpreter only once, but here I need to set it every time I restart neovim.

I'm happy to look at a pull request, so go right ahead!
Unfortunately I don't know a good way to persist data over different sessions in neovim. The problem is that we need some way to save the setting to disk somewhere, and I don't think neovim has a good way of dealing with this yet.
I'll look into it though!

Thanks for looking into that. If there is anything I can help with, just let me know (although my lua knowledge is very limited).
I opened the PR in #3 :)

This is my first ever lua project so any help is appreciated. I'll go ahead and make a standalone issue for the data persistence. I think there might be a way to do it with shada files, but it will take some digging. Thanks again! Closing now.


TST: ignore ncfdtridfn failure in win32 & warn on FPU mode changes

Ignore a failure in TestCephes.test_ncfdtridfn appearing on win32
when FPU is in a non-default precision mode. This shouldn't usually happen,
but MSVC has a bug that flips the mode.
Add machinery to the test suite to produce warnings when a change in the
FPU mode is observed. It produces warnings instead of errors, because
this can occur due to e.g. issues in numpy in which case it can in principle
arise in several unrelated tests.
Make Appveyor to require successful run on 32-bit environment; this should
be the last known failure for py36 there.
cf gh-7726

Am merging it quickly to keep the appveyor ball rolling. Thanks Pauli


[Refactor] Simplify ConnectModal properties and related components

Problem solved
Short description of the bug fixed or feature added
Changes made

[ ] Public API changes: list the public API changes made if any
[ ] Internal API changes: explain the internal logic changes

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

Contributor NFT
Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.
Address:

PR-Codex overview
This PR refactors the wallet connection setup logic and UI components for better flexibility and readability.
Detailed summary

Refactored the useSetupScreen function to accept size and welcomeScreen directly
Updated various components to use size and welcomeScreen instead of connectModal.size and connectModal.welcomeScreen
Removed unnecessary imports of ConnectButton_connectModalOptions in multiple files

The following files were skipped due to too many changes: packages/thirdweb/src/react/web/wallets/shared/ConnectingScreen.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/StartScreen.tsx, packages/thirdweb/src/react/web/wallets/in-app/InAppWalletSelectionUI.tsx, packages/thirdweb/src/react/web/wallets/in-app/InAppWalletConnectUI.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModal.tsx, packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletConnectUI.tsx, packages/thirdweb/src/react/web/wallets/shared/WalletConnectConnection.tsx, packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletFormUI.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.tsx, packages/thirdweb/src/react/web/wallets/in-app/InAppWalletFormUI.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectEmbed.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalContent.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalInline.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/WalletSelector.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3453  👈
#3449
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


Pending constructor does not inherit from the Error constructor

I ran into the following annoying warning, thrown by Bluebird, when a test is skipped at runtime within a Bluebird promise chain.
Warning: a promise was rejected with a non-error: [object Object]

Some context on the warning thrown by Bluebird: http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-rejected-with-a-non-error
Nevertheless, the root cause is that the Pending constructor in pending.js does not inherit from the Error constructor.
You can reproduce this by writing and running the following asynchronous test:
var Promise = require('bluebird');

Promise.config({
  warnings: true,
  longStackTraces: true
});

describe('Suite', function () {
  it('Test', function () {
    return Promise.bind(this).then(function () {
       this.skip();
    });
  });
});

Can this be fix?

I'm not sure how difficult it would be to fix this, but it's definitely weird and wrong.  You can of course disable the warnings as a workaround


TTFs do not appear in the latest version of Keynote

I'm currently working on trying to figure this out myself, but I figured I'd make an issue here in case you know the cause of the issue. In the latest version of Keynote, icon fonts generated with svg2ttf do not appear in the font list. They do appear in the native list, and icons will work in keynote if copied in, or if they already exist in the document.
From my debugging so far, it doesn't appear to be an issue with the name table, as copying the name table from a font that does work (with the info correctly updated) does not fix the issue.
When I run the generated icon font through the Windows ttf validator, it throws all kinds of errors, so it's possible something unrelated in the font is causing the problem.

I finally figured out the issue. It's not a svg2ttf problem. Keynote's font list is a font-preview list, that is it prints the font's name using the font. Since icon fonts don't generally contain latin characters, Keynote would fail when looking for the necessary glyphs to preview, and would just omit the font from the list.

I'm not currently sure what the best strategy is to resolve the issue, but that's not really relevant for this repo.

Just ran into this same issue trying to use an icon font in Keynote and figured I'd leave the workaround I found for future searchers that land here. If you use the Format -> Font -> Show Fonts palette instead of the Text inspector, fonts w/ non-latin characters show up fine:

To follow up, what I've done for https://octicons.github.com/ is map latin characters (a-zA-Z) to GitHub's logo. That way there is something to render when the font is displayed in the list. It's a little weird and isn't readable (per se) but it does the trick to at least get it in the list.