chroots will no longer boot to gui after updating chrome OS to version 56.0.2924.9 dev (64-bit)

chronos@localhost / $ sudo edit-chroot -all
name: precise
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/precise...
crouton: version 1-20161129162558~master:5f2f11f9
release: precise
architecture: amd64
xmethod: xiwi
targets: xfce,xiwi
host: version 9000.10.0 (Official Build) dev-channel setzer
kernel: Linux localhost 3.18.0-13485-gfd54df3 #1 SMP PREEMPT Mon Nov 28 22:00:34 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/precise...
name: trustycore
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trustycore...
crouton: version 1-20161116131524~master:9db73043
release: trusty
architecture: amd64
targets: core
host: version 9000.10.0 (Official Build) dev-channel setzer
kernel: Linux localhost 3.18.0-13485-gfd54df3 #1 SMP PREEMPT Mon Nov 28 22:00:34 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/trustycore...

Please describe your issue:
updated chrome OS now chroots won't boot to gui, something to do with dbus failing?
haven't checked the CLI only chroot.
If known, describe the steps to reproduce the issue:
chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/precise...
Failed to start message bus: Failed to open "/etc/selinux/targeted/contexts/dbus_contexts": No such file or directory
WARNING: starting chroot system dbus daemon failed with code 1
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-75-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.18.0-13485-gfd54df3 #1 SMP PREEMPT Mon Nov 28 22:00:34 PST 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=df213b0f-1abc-d547-9e40-48546f69870e/PARTNROFF=1 hashtree=PARTUUID=df213b0f-1abc-d547-9e40-48546f69870e/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=54286f5193b0b38e151c62ab05ef90af45468c46 salt=b1bb29eeb4f179f0b75f5d8ead872d6d11c47ec1cb48ee502094c0df2d5dee7c" noinitrd vt.global_cursor_default=0 kern_guid=df213b0f-1abc-d547-9e40-48546f69870e add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015  03:37:52PM
xorg-server 2:1.15.1-0ubuntu2~precise5 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed Nov 30 09:22:07 2016
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
setversion 1.4 failed: Permission denied
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
setversion 1.4 failed: Permission denied
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20161129162558~master:5f2f11f9
release: precise
architecture: amd64
xmethod: xiwi
targets: xfce,xiwi
host: version 9000.10.0 (Official Build) dev-channel setzer
kernel: Linux localhost 3.18.0-13485-gfd54df3 #1 SMP PREEMPT Mon Nov 28 22:00:34 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
Failed to start message bus: Failed to open "/etc/selinux/targeted/contexts/dbus_contexts": No such file or directory
EOF in dbus-launch reading address from bus daemon
/etc/xdg/xfce4/xinitrc: 1: /etc/xdg/xfce4/xinitrc: ssh-agent: not found

** (xfce4-session:18843): CRITICAL **: Unable to contact D-Bus session bus: Unknown error

** (xfce4-session:18843): CRITICAL **: Unable to contact D-Bus session bus: //bin/dbus-launch terminated abnormally with the following error: EOF in dbus-launch reading address from bus daemon

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_disconnect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_disconnect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(xfce4-session:18843): xfconf-CRITICAL **: xfconf_init() must be called before attempting to use libxfconf!

** (xfce4-session:18843): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed

(xfce4-session:18843): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
Failed to connect to Xfconf daemon: //bin/dbus-launch terminated abnormally with the following error: EOF in dbus-launch reading address from bus daemon

running 'ssh-agent -s -k'
/etc/xdg/xfce4/xinitrc: 1: eval: ssh-agent: not found
Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down xscreensaver: 09:22:32: SIGHUP received: restarting...
xscreensaver: 09:22:32: running as thomas/thomas (1000/1000)

Hangup
Hangup
(EE) Server terminated successfully (0). Closing log file.
xscreensaver: 09:22:32: Can't open display: :1
xscreensaver: 09:22:32: running as thomas/thomas (1000/1000)

xscreensaver: 09:22:32: Errors at startup are usually authorization problems.
              But you're not logging in as root (good!) so something
              else must be wrong.  Did you read the manual and the FAQ?

              http://www.jwz.org/xscreensaver/faq.html
              http://www.jwz.org/xscreensaver/man.html

Unmounting /mnt/stateful_partition/crouton/chroots/precise...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/precise...

I have this issue as well, started doing this right after the update to 56.0.2924.9 dev (64-bit) on Asus C300

My trustycore chroot still works but presumably that's just because it runs in the crosh shell window still.

Shell works just fine (by doing enter-chroot), but as soon as I want to
start the GUI it shows just a black screen
Op wo 30 nov. 2016 om 14:52 schreef BikeViolin<EMAIL_ADDRESS>
My trustycore chroot still works but presumably that's just because it
runs in the crosh shell window still.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/issues/2917#issuecomment-263877932,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMhqQ6kqq8OtTS_IHTyQCgPCnrZRHv3Aks5rDX9dgaJpZM4K_-sa
.

i have the same issue.
try to update my crouton ubuntu ,but run xfce4 just gnome-shell work only

It seems xiwi target/xmethod works (startxfce4 -X xiwi), but xorg 3D acceleration (Minecraft ;) is broken by the update. Asus C300SA (Trusty).

not exactly the same issue but I'm having a change of behavior with graphics with the same chromeOS dev version. Where switching to the chroot used to be instant, its now only instant when switching back to ChromeOS and will delay with a screen shutoff when entering my chroot, similar to when graphics drivers load from a login screen to desktop on a full Linux install. It's a C720 running ubuntu trusty with Linux 3.8.11.
chronos@localhost / $ sudo startgnome
Entering /mnt/stateful_partition/crouton/chroots/trusty...

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Mon Nov 28 21:50:50 PST 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=962c6933-4c43-c249-8c32-8869abe9c77a/PARTNROFF=1 hashtree=PARTUUID=962c6933-4c43-c249-8c32-8869abe9c77a/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=bd92bdabb4bac439a1ee5a60d99ffe3e49a6acf1 salt=8df054303498d0b506ffd25728ca7114d70ac5262cf3fc15a04e4d6c65f49fdc" noinitrd vt.global_cursor_default=0 kern_guid=962c6933-4c43-c249-8c32-8869abe9c77a add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed Nov 30 18:10:17 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Unable to set master
xf86: found device 0
xf86: found device 0
crouton: version 1-20150414182244~master:da478a77
release: trusty
architecture: amd64
xmethod: xorg
targets: gnome,xfce
host: version 9000.10.0 (Official Build) dev-channel peppy
kernel: Linux localhost 3.8.11 #1 SMP Mon Nov 28 21:50:50 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
No Chromium OS X server is available.
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Suspending AIGLX clients for VT switch

Mine plays the booting sound, but then it's a black screen from there.

I'm on 56.0.2924.12 (Official Build) dev (64-bit)

I'm also using KDE

Debian “stretch” (testing) seems not affected and working fine!
(cannot confirm xorg versions, but "Trusty" was the one affected/failed after the update on this same C300SA hardware).

Just piling on here to say my trusty + i3 no longer works after the update:
Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: touch,x11,core,cli-extra,audio,chrome-beta,xorg,xiwi
host: version 9000.10.0 (Official Build) dev-channel link
kernel: Linux localhost 3.8.11 #1 SMP Mon Nov 28 21:57:32 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Another instance of croutontriggerd running, waiting...
Another instance of croutonclip running, waiting...
deciding for version 4 due to this line: # i3 config file (v4)
i3: No usable outputs available.

Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file.

xiwi works

I'm having the same exact issue. xiwi works I'm on a Samsung Chromebook 3.

@Paumanok,
I think the original issue may be due to some dbus problems but yours I think, as you mentioned, is a little different.
It looks like you might be experiencing this:
Probably to do with xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) #2926
-DennisL

Yap, issue #2926 Xorg blank screen sounds all the same; but something I noticed for Debian Jessie over here:
Build Date: 11 February 2015  12:32:02AM xorg-server 2:1.16.4-1
"xf86EnableIOPorts: failed to set IOPL..." error message is there, but that doesn't stop X from loading - starts up, just without GPU acceleration.
On Debian Stretch all good:
Build Date: 06 September 2016  01:32:44PM xorg-server 2:1.18.4-2
No IOPL error message and 3D Hardware acceleration and glxgears all running.

Also the same issue, can boot into console but gui just gives black screen. I'm on acer c720 using trusty.
Version 56.0.2924.26 beta (64-bit)
Platform 9000.26.0 (Official Build) beta-channel peppy
Firmware Google_Peppy.4389.93.0
Installed a completely new trusty next to my current and still the same issue.

56.0.2924.26 (Official Build) beta (64-bit)
9000.26.0 (Official Build) beta-channel peppy
Acer 720p
I noticed that the xf86-video-intel driver was being referenced in startlxde. According to some arch posts modeset should be used over xf86-video-intel, SNA acceleration sometimes causes problems and UXA can solve some issues.
The file I chaged was /usr/share/X11/xorg.conf.d/20-crouton-intel-sna.conf:
Section "Device"
#   Identifier "Intel Graphics SNA+TearFree"
#   Option     "AccelMethod" "sna"
#   Option     "TearFree"    "true"
   Identifier "Modesetting"
   Driver     "modesetting"
EndSection

Im not sure about the performance comparisons, however i am trying this for now.

@rtpavlovsk21  Thanks! That fixed my issue.  I was having the "xf86EnableIOPorts: failed to set IOPL" issue with chroot booting to a blank screen.

So how is this fixed?

Same here.. @rtpavlovsk21 fix worked for me. My chroot is named trusty, so:
chronos@localhost ~ $ sudo enter-chroot -n trusty Entering /mnt/stateful_partition/crouton/chroots/trusty... (trusty)joe@localhost:~$ sudo vi /usr/share/X11/xorg.conf.d/20-crouton-intel-sna.conf (trusty)joe@localhost:~$

It looks like this issue got derailed a tad.
Instead of resolving the black screen with dbus errors we instead ventured into the one I mentioned in https://github.com/dnschneid/crouton/issues/2917#issuecomment-265191827
So the fix mentioned in https://github.com/dnschneid/crouton/issues/2917#issuecomment-267411158 will not help with this issue - as far as I know.
However it may help with this issue: Probably to do with xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) #2926
Hope this helps,
-DennisL

@rtpavlovsk21 setting the modesetting driver doesn't work for me, it causes Chrome OS to crash. Running on a Toshiba Chromebook 2 (2015).

@keidax would you edit the your post with a longer description of your problem? Maybe the output of the desktop env start in the original state... the second link in my post was suppose to go to the arch wiki https://wiki.archlinux.org/index.php/intel_graphics  which may also give you some hints.

My Acer Chromebook 13 also crashed after the ChromeOS update.  Updating did not fix.
The 20-crouton-intel-sna.conf fix was partially successful.  I can now start xfce4 and switch once back to ChromeOS with ctl-shift-alt-arrow, but trying to get back to Ubuntu again causes crash.
I not some cursor oddities (graphic misdrawn; shape changes not tracked).
Perhaps the following from the entry screen (cros->shell) helps:
Thanks in advance,
-KenD
Entering /mnt/stateful_partition/crouton/chroots/trusty...
/usr/bin/startxfce4: 27: test: x-X: unexpected operator
/usr/bin/startxfce4: 40: test: x-X: unexpected operator
/usr/bin/startxfce4: 27: test: xxorg: unexpected operator
/usr/bin/startxfce4: 40: test: xxorg: unexpected operator
/usr/bin/startxfce4: 27: test: x-b: unexpected operator
/usr/bin/startxfce4: 40: test: x-b: unexpected operator
/usr/bin/startxfce4: Starting X server
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-67-highbank armv7l Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Wed Dec 7 23:44:15 PST 2016 armv7l
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=e01e2f02-4d7c-6b4d-bcb3-e4b867ed3e1f/PARTNROFF=1 hashtree=PARTUUID=e01e2f02-4d7c-6b4d-bcb3-e4b867ed3e1f/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=868ece04a91943db21f34a6cda3925d461a71710 salt=ef288cc5f1503088a3abf85154e3f6d15f20a22bed7ada9a8ce55ac35752b499" noinitrd vt.global_cursor_default=0 kern_guid=e01e2f02-4d7c-6b4d-bcb3-e4b867ed3e1f
Build Date: 12 February 2015  02:55:07PM
============...

I had this issue "xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)"
I'm on beta chromeos. The xorg config change seemed to fix the issue.
name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: xorg,xfce,xiwi
host: version 9000.29.0 (Official Build) beta-channel panther
kernel: Linux localhost 3.8.11 #1 SMP Wed Dec 14 21:56:55 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes

If your problem is the IOPL error, do the following:
(this worked on my c720p Acer)
Change
/mnt/stateful_partition/crouton/chroots/test2/etc/crouton/xorg-intel-sna.conf
to
# Copyright (c) 2016 The crouton Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# On Intel platforms with FBC enabled, in order to see anything we need to use
# the SNA driver with the TearFree option.
Section "Device"
   #Identifier "Intel Graphics SNA+TearFree"
   #Driver     "intel"
   # Option     "AccelMethod" "uxa"
   # Option     "TearFree"    "true"
   Identifier "Modesetting"
   Driver "modesetting"
   Option "AccelMethod" "sna"
   Option "TearFree" "true"
EndSection

Keep in mind, depending on your system, it might be /mnt/stateful_partition/crouton/chroots/test2/usr/share/X11/xorg.conf.d/20-crouton.conf
That you have to modify, OR
/mnt/stateful_partition/crouton/chroots/test2/usr/share/X11/xorg.conf.d/20-crouton-intel-sna.conf
but that last file is actually just a symbolic link to
/mnt/stateful_partition/crouton/chroots/test2/etc/crouton/xorg-intel-sna.conf

I'm pretty sure the dbus errors are only affecting the precise release so if you run into this try a newer release.
If you run into these dbus errors on a newer release than precise please post back here.
Hope this helps,
-DennisL

I think the xorg conf file should be like this if you want acceleration with modesetting driver:
Section "Device"    Identifier "Modesetting"    Driver     "modesetting"    Option     "AccelMethod" "glamor"    Option     "PageFlip"    "true" EndSection
At least according to manual pages valid choices for "AccelMethod" are "glamor" and "none". This works for me for both trusty and xenial xfce4 chroot with 56.x ChromeOS on c720 (Celeron 2955U). Desktop that is, I haven't tested any applications that would really require acceleration. I made accidental ChromeOS update yesterday and here are my experiences with modesetting driver so far:
Trusty:

There appears to be tearing. "PageFlip" option should help, but does not seem to.
Windows in Firefox are not always rendered when content of window changes.
Sometimes when starting chroot I get black screen with cursor. Switching to ChromeOS and back fixes this.

Xenial:

No tearing, no rendering problems. Seems to just work.

I am using xenial graphics stack on trusty, but it provides 1.18.3 xorg-core and xenial has 1.18.4. Maybe that explains differences in tearing and rendering.

I think the xorg conf file should be like this if you want acceleration with modesetting driver:
Section "Device"    Identifier "Modesetting"    Driver     "modesetting"    Option     "AccelMethod" "glamor"    Option     "PageFlip"    "true" EndSection
At least according to manual pages valid choices for "AccelMethod" are "glamor" and "none". This works for me for both trusty and xenial xfce4 chroot with 56.x ChromeOS on c720 (Celeron 2955U). Desktop that is, I haven't tested any applications that would really require acceleration. I made accidental ChromeOS update yesterday and here are my experiences with modesetting driver so far:
Trusty:

There appears to be tearing. "PageFlip" option should help, but does not seem to.
Windows in Firefox are not always rendered when content of window changes.
Sometimes when starting chroot I get black screen with cursor. Switching to ChromeOS and back fixes this.

Xenial:

No tearing, no rendering problems. Seems to just work.

I am using xenial graphics stack on trusty, but it provides 1.18.3 xorg-core and xenial has 1.18.4. Maybe that explains differences in tearing and rendering.

@pmarkkula,
Your '/tmp/Xorg.crouton.1.log' file should give you/us more info. about what's going on.
Look for warnings (WW) and errors (EE) to see what the problems might be.
Hope this helps,
-DennisL

@pmarkkula,
Your '/tmp/Xorg.crouton.1.log' file should give you/us more info. about what's going on.
Look for warnings (WW) and errors (EE) to see what the problems might be.
Hope this helps,
-DennisL

Here it is. Unfortunately there doesn't seem to be any obvious warnings or errors.
Xorg.crouton.1.log.txt

Here it is. Unfortunately there doesn't seem to be any obvious warnings or errors.
Xorg.crouton.1.log.txt

@pmarkkula 's comment: https://github.com/dnschneid/crouton/issues/2917#issuecomment-269906678
This is even better! I use Unity3d-Editor for linux, a game dev engine. It wasn't working with "sna" and "tearfree". When I changed to "glamor" and "pageflip" it worked! Thanks!

@pmarkkula 's comment: https://github.com/dnschneid/crouton/issues/2917#issuecomment-269906678
This is even better! I use Unity3d-Editor for linux, a game dev engine. It wasn't working with "sna" and "tearfree". When I changed to "glamor" and "pageflip" it worked! Thanks!

Most of the differences I noticed between trusty and xenial were caused by xenial having compositor enabled. When I enabled compositor on trusty and ticked "Synchronize drawing to the vertical blank" box, all rendering problems seem to be gone and tearing is reduced. Trusty is still not as good as xenial, there is still some tearing, but it is very usable.

Most of the differences I noticed between trusty and xenial were caused by xenial having compositor enabled. When I enabled compositor on trusty and ticked "Synchronize drawing to the vertical blank" box, all rendering problems seem to be gone and tearing is reduced. Trusty is still not as good as xenial, there is still some tearing, but it is very usable.

@eliot2 what do I type in the terminal to change the file as you describe above? I still cant access trusty and get the same error as described here. Thanks in advance.

vim filename
vim is a text editor. Google how to use it first. Trust me on that.
On Jan 11, 2017 8:11 AM, "Joe Palmer"<EMAIL_ADDRESS>wrote:

@eliot2 https://github.com/eliot2 what do I type in the terminal to
change the file as you describe above? I still cant access trusty and get
the same error as described here. Thanks in advance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/issues/2917#issuecomment-271864635,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFTWfYmkYat0xYI11KQFOcZfetp3PObkks5rRNT8gaJpZM4K_-sa
.

@joseph-palmer,
You want to install gedit if it's not already and use it instead.
-DennisL

I'm having a little bit of a hard time figuring out if I have this issue, or https://github.com/dnschneid/crouton/issues/2926
Have a Dell Chromebook 14 running trusty/i3. It won't boot into trusty, gives dbus and IOPL messages. Tried making xorg changes mentioned in this issue without success.
I'd love to look at the /tmp/Xorg log, but after the chroot fails to load, only the chrome visuals keep working. The cursor disappears (and seems to be unresponsive), and the keyboard doesn't seem to work except the power button. After I reboot, the /tmp file is gone. Anything I can do to see the information?

I haven't been following this issue closely. Just tried it again after a few months away, and it seems to be resolved. Xorg starts and functions as expected.

Closing. Please re-open if this issue is still a concern.


MarkerClusterer - sporadically fitMapToMarkers() not panning correctly

Hi,
We are building a vue app which loads the google maps java script api and employs the marker cluster plus library to display the pins on the map. The collection of lat-long coordinates are retrieved using a Rest api call and after that collection of markers are formed and then added to the marker cluster. Applying the below piece of code works correctly most times but in some cases the map is panned to incorrect bounds. The version we are using is - "@google/markerclustererplus": "^5.0.4"
import MarkerClusterer from '@google/markerclustererplus'
...
...
...
if (self.markerCluster) {
self.markerCluster.addMarkers(markers)
self.markerCluster.fitMapToMarkers()
}
We are able to overcome this sporadic behavior by explicitly calculating the bounds and controlling the panning by employing the below code:
self.markerCluster.addMarkers(markers)
const allMarkers = self.markerCluster.getMarkers()
const bounds = new self.google.maps.LatLngBounds()
allMarkers.forEach((marker) => bounds.extend(marker.getPosition()))
self.map.fitBounds(bounds)
self.map.panToBounds(bounds)
Please have a look.

Looking at the implementation, the only thing I see different about what you are doing is calling map.panToBounds. markerCluster.fitMapToMarkers does not pan.


Refactor xtransport

@serge-sans-paille
Binary sizes (both using xproperty master, which already improves thind a lot:):

before: 3147264 (2210176 stripped)
after: 2784976 (1956224 stripped)

I don't know why Visual Studio would see an ambiguity now and not before.


Fulcio and favicon updates

Summary
Closes #173 and adds additional pages to the Fulcio section. Also updated favicon icons to the new icons.
Release Note

None
Documentation
This is a documentation update

Hey @ltagliaferri, would it be possible to update the text of "how-certificate-issuing-works" with the latest text and images from https://github.com/sigstore/fulcio/blob/main/docs/how-certificate-issuing-works.md? There's some inaccuracies that have been updated recently, and this seems to be the old text and images. I'm also happy to update, but not sure how the images were generated.

Hi @haydentherapper — this is the same content with style edits as the latest text in the repo, as it was created after the update to that page. I am not seeing a difference in the images, though there is one missing image (it looks like a corrupted file that I will need to fix), and one step does not have both of the images but the text is reflective of both of those images.

See https://github.com/sigstore/fulcio/pull/702/files, the content was changed end of July. Three images were also updated (for example, to show that the "SCT" is embedded and not sent separately).


[c9y] Update to 0.6.2

Describe the pull request

What does your PR fix?
Update to 0.6.2

Which triplets are supported/not supported? Have you updated the CI baseline?
all / unchanged

Does your PR follow the maintainer guide?

To the best of my knowledge, yes.

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
yes

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Thanks for the update!


Updating Certificate usages does not update the Secret (CA Issuer)

Bugs should be filed for issues encountered whilst operating cert-manager.
You should first attempt to resolve your issues through the community support
channels, e.g. Slack, in order to rule out individual configuration errors.
Please provide as much detail as possible.

Describe the bug:
Updating the usages field of a Certificate (at least with the CA Issuer) seems to be ignored by cert-manager: the Secret is never updated with a new certificate.
Expected behaviour:
When updating the usages field of a Certificate I would expect the CA Issuer to create a new tls cert in the target Secret.
Steps to reproduce the bug:

create a Certificate with no usages field, with CA Issuer
get tls cert from Secret: check (default) usages with openssl x509 -in tls.crt -text -noout:      X509v3 extensions:
          X509v3 Key Usage: critical
              Digital Signature, Key Encipherment
          X509v3 Extended Key Usage:
              TLS Web Server Authentication
          X509v3 Basic Constraints: critical
              CA:FALSE

update the Certificate: addusages:
  - server auth
  - client auth

wait: the secret never changes, the Certificate status doesn't change.
cert-manager logs: it did saw the Certificate update but did nothing:I0625 13:25:31.561613       1 controller.go:129] cert-manager/controller/certificates "msg"="syncing item" "key"="default/redis"
I0625 13:25:31.562151       1 util.go:177] cert-manager/controller/certificates "msg"="certificate scheduled for renewal" "duration_until_renewal"="1420h45m32.437879077s" "related_resource_kind"="Secret" "related_resource_name"="redis-tls" "related_resource_namespace"="default" "resource_kind"="Certificate" "resource_name"="redis" "resource_namespace"="default"
I0625 13:25:31.562227       1 sync.go:310] cert-manager/controller/certificates "msg"="certificate does not require re-issuance. certificate renewal scheduled near expiry time." "related_resource_kind"="Secret" "related_resource_name"="redis-tls" "related_resource_namespace"="default" "resource_kind"="Certificate" "resource_name"="redis" "resource_namespace"="default"
I0625 13:25:31.562506       1 controller.go:135] cert-manager/controller/certificates "msg"="finished processing work item" "key"="default/redis"

Anything else we need to know?:

Deleting the Certificate and recreating it from scratch with new usages surprisingly did not change anything: the Secret was exactly the same. Maybe related to #2644?
Deleting the Secret made cert-manager finally create a new certificate with updated usages

Environment details::

Kubernetes version:v1.16.8
Cloud-provider/provisioner: Azure AKS
cert-manager version: v0.13.1
Install method (e.g. helm or static manifests): helm chart cert-manager-v0.13.1

/kind bug

This behavior has changed in 0.16, could you try that version?
Going to close this for now
/close


[Scenario] The Four Day Broadcast

What kind of mission do you want to add (mark with an X, e.g. [X] Descent)?

[X] Mansions of Madness
[ ] Descent

Please enter the GitHub Url to your scenario here
https://github.com/vidimus/DomeAcolyte/tree/main/Lost_chronicles_11
A new scenario from Dome Acolyte. A murder mystery inspired by an old game called Four Days a Stranger, and its sequels.

@antontimmermans , would you mind to add it to the statistics, please?

added to statisitcs


Drop the unattended-upgrades from the debian AMIs

What does this PR do?
Drop the unattended-upgrades from the debian AMIs.
Motivation
We are facing issues because of the unattended-upgrades because of the apt lock. We disabled it during the tests but that's not enough because sometimes it's already running at that time. Disabling it in the AMI will fix the issue.
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

The AMIs that I did not update already had the unattended-upgrades disabled.
https://datadoghq.atlassian.net/browse/ADXT-500

/trigger-ci --variable RUN_ALL_BUILDS=true --variable RUN_KITCHEN_TESTS=true --variable RUN_E2E_TESTS=on --variable RUN_UNIT_TESTS=on --variable RUN_KMT_TESTS=on

/trigger-ci --variable RUN_ALL_BUILDS=true --variable RUN_KITCHEN_TESTS=true --variable RUN_E2E_TESTS=on --variable RUN_UNIT_TESTS=on --variable RUN_KMT_TESTS=on

/trigger-ci --variable RUN_ALL_BUILDS=true --variable RUN_KITCHEN_TESTS=true --variable RUN_E2E_TESTS=on --variable RUN_UNIT_TESTS=on --variable RUN_KMT_TESTS=on


PAM: extend opnsense-auth to support different helpers

To better guard config.xml access, authenticators should ideally prevent the need of config.xml access. Currently services that are using our integrated authentication system, also need access to the config.xml.
Since we already use opnsense-auth to enable pam on console and ssh, it would be the most logical step to smarten it and move other services to the same approach.
This probably also prevents issues like https://github.com/opnsense/core/issues/3241 since pam is more standardized.

I like this. service= is already passed to the script and opnsense-auth-test allows to script the service from the command line. The challenge is to pull an auth server list from a plugin, along with passing the user to do selective authentication maybe... we’d also need pre and post hooks, maybe getting the authentication services could be considered pre hook already. Post hook requires authentication state, maybe which server took the authentication.
Best case this allows to boil down authentication to a single opnsense-auth-test call from the service side.

it should (original plan was to move ipsec to pam first), this was just work not high enough on the priority list sofar. We should probably add this on the roadmap for 19.7

Ok 👍

for reference, concepts explained in https://github.com/opnsense/docs/commit/53c89fb7da19ec89908ec225743cc215fe716e65

this should be it, documentation aligned in https://github.com/opnsense/core/issues/3242
Now we can start changing the services (pam consumers), such as the proxy.

https://docs.opnsense.org/development/components/authentication.html


fix(theme): make warning a first-class admonition, and deprecate caution admonition

Breaking change

The undocumented :::warning admonition becomes yellow instead of red, like most users expect
:::warning is now a first-class official admonition keyword
:::caution is deprecated in v3 and will be removed in v4

Motivation
Fix https://github.com/facebook/docusaurus/issues/7558
:::warning should render as:

Instead of:

Note :::warning used to be a legacy admonition alias that we didn't even document in the very first v2.0.0 (see docs).
Now :::warning becomes a first-class official admonition keyword.
It replaces the :::caution admonition keyword that keeps working in v3 but will be removed in v4 as part of https://github.com/facebook/docusaurus/issues/9307
Test Plan
Preview
Test links
https://deploy-preview-9308--docusaurus-2.netlify.app/tests/docs/tests/admonitions

Can we emit a warning server-side (and/or in dev mode) each time a deprecated type is used?

Fair enough. We can emit warnings later

@boevski please comment on this issue instead: https://github.com/facebook/docusaurus/issues/9307
Make sure provide an exhaustive list of arguments and reference links to convince us it's worth it to keep caution, because a simple GitHub comment/claim is not enough to act on for us.


Support additional versions in pyproject

We are using this in a project that is using Django 4.2 with Poetry. Version resolution fails because it is expecting >= 2.2 <3 even though this project supports 4.2. This PR proposes a fix by allowing additional django versions to be supported with poetry.

Would love to see this get merged as well. Any way we can help?

Sorry for the mistake last time.
I didn't merge the PR but just enabled the auto-merge without noticing that the CI did not run.
But finally, the changes have been merged!

Thank you very much for your contribution (merged in #17 )
In the end, we chose to not pin a specific version in pyproject.toml, which means even if we're lagging a bit behind on Django versions, the project will still be usable.
It was also a good opportunity to drop outdated python & django versions !
Overall, thanks again @tsingla1998 (& @violuke for the issue), and let us know if anything is still needed :) (and you're welcome to contribute again :D )


Add python workflow for docs

Yes, I understand that. Can you work on workflow for Python just like you are working on now for the NodeJS?

Hi @rgrupesh,
I have added the python workflow. However, looking at your .rst docs there are some problems you may want to resolve. You want to have the lines(ie. === ) end where the sentence ends (avoid overlaps). You merged PR #7 but the NodeJS tests were failing and the workflow was not running. Talk to @AsavariA and figure out what is failing.


LexicalHorizontalRuleNode does not add selected class

In order to try how it works and then define my own editor, I took some snippet from the repository, this is the editor:
import { CodeHighlightNode, CodeNode } from "@lexical/code";
import { AutoLinkNode, LinkNode } from "@lexical/link";
import { ListItemNode, ListNode } from "@lexical/list";
import { TRANSFORMERS } from "@lexical/markdown";
import { AutoFocusPlugin } from "@lexical/react/LexicalAutoFocusPlugin";
import { LexicalComposer } from "@lexical/react/LexicalComposer";
import { ContentEditable } from "@lexical/react/LexicalContentEditable";
import { HistoryPlugin } from "@lexical/react/LexicalHistoryPlugin";
import { HorizontalRuleNode } from "@lexical/react/LexicalHorizontalRuleNode";
import { LinkPlugin } from "@lexical/react/LexicalLinkPlugin";
import { ListPlugin } from "@lexical/react/LexicalListPlugin";
import { MarkdownShortcutPlugin } from "@lexical/react/LexicalMarkdownShortcutPlugin";
import { RichTextPlugin } from "@lexical/react/LexicalRichTextPlugin";
import { HeadingNode, QuoteNode } from "@lexical/rich-text";
import { TableCellNode, TableNode, TableRowNode } from "@lexical/table";
import { LexicalEditor } from "lexical";
import { CSSProperties, FC } from "react";
import AutoLinkPlugin from "./AutoLinkPlugin";
import CodeHighlight from "./CodeHighlight";
import HorizontalRulePlugin from "./HorizontalRulePlugin";
import ListMaxIndentLevel from "./ListMaxIndentLevel";
import styles from "./styles.module.css";
import ExampleTheme from "./Theme";
import ToolbarPlugin from "./ToolbarPlugin";

interface CustomLexicalEditorProps {
  style?: CSSProperties;
}
const CustomLexicalEditor: FC<CustomLexicalEditorProps> = ({ style }) => {
  const editorConfig = {
    theme: ExampleTheme,
    namespace: "test.it",
    onError(error: Error, _: LexicalEditor) {
      throw error;
    },
    nodes: [
      HeadingNode,
      ListNode,
      ListItemNode,
      QuoteNode,
      CodeNode,
      CodeHighlightNode,
      HorizontalRuleNode,
      TableNode,
      TableCellNode,
      TableRowNode,
      AutoLinkNode,
      LinkNode,
    ],
  };

  return (
    <LexicalComposer initialConfig={editorConfig}>

        <ToolbarPlugin />

          <RichTextPlugin contentEditable={<ContentEditable className={styles["editor-input"]} />} placeholder={""} />
          <HistoryPlugin />
          <AutoFocusPlugin />
          <CodeHighlight />
          <ListPlugin />
          <LinkPlugin />
          <HorizontalRulePlugin />
          <AutoLinkPlugin />
          <ListMaxIndentLevel maxDepth={7} />
          <MarkdownShortcutPlugin transformers={TRANSFORMERS} />

    </LexicalComposer>
  );
};
export default CustomLexicalEditor;

In my Toolbar I added the following code:
<DropDownItem
  onClick={() => {
    activeEditor.dispatchCommand(INSERT_HORIZONTAL_RULE_COMMAND, undefined);
  }}
  className={styles["item"]}>

  Horizontal Rule
</DropDownItem>

The output is that the class selected is not added to the
, even if it is selectable and cancelable.
The expected output is that the selected is added.
I tryied to debug the lexical playground, as expected the value isSelected in @lexical/react/LexicalHorizontalRuleNode switches by clicking on the hr.
If I debug the same variable in my project, it is always false.
If I copy the entire file @lexical/react/LexicalHorizontalRuleNode into my project and use this instead, it works.

...I was on version 0.3.11. Updating to 0.4.0 solved it.


Add login/profile button to upper right navigation

Conditionally show the user icon button in the upper right nav when enabled.  Depending on the user state it will link to /user/login or /user/profile

 Add silhouette to DiverseEducation nav


audit-trail

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: audit-trail
Document link: audit-trail.md
My Issue/Suggestion
2.1 Associations and Events
For this configuration option, add a reference set association from your entity to the Log entity or an association from the Log entity to the entity that needs to be audited. Add an after-create, before-commit, and before-delete event to your entity that is identical to the events on the AudittrailSuperClass. The Java actions will automatically create the log item and all the required log lines based on the changes.
After create is not needed and also not used on the AudittrailSuperClass entity

Hi @OlavJansen ,
Thank you for your feedback. I have removed the after-create event from the paragraph.
Please continue to let us know in the future if you see documentation that can be improved.
Thank you!


*: extract replica selector.

cache_test.go:468:
    c.Assert(cache.handleRegionHeartbeat(r), IsNil)
... value *errors.Err = &errors.Err{message:"", cause:(*errors.Err)(0xc420061b30), previous:(*errors.Err)(0xc42080a730), file:"github.com/pingcap/pd/server/_test/_obj_test/cache.go", line:886} ("failed to commit transaction")

CI fails due to etcd not responding.


Add more messaging while running, Improve the code structure for people new to coding

Sample console output with this PR:
Welcome to the MIQ Booking Assistance!
A new browser window should appear. Please navigate to "Secure your allocation" page.
Checked MIQ: 36 times, last checked at: 7/9/2021, 3:33:05 PM

Thanks for your work. I like the idea to make it more approachable for people new to coding and the console output. I'm going to try to look at this more closely, hopefully sometime next week.

@alexDrinkwater, this looks good. I'm going to merge it even though I didn't have a chance to check if the beeping is still working. Could you please confirm that it did work for you?

@jvolker I didn't leave it running long enough to confirm the beep, but I did move the beep() call into the else of the if (found){...} code block to test the function still worked in the new scope.

@jvolker I've been using this version for a couple of days, the 'Beep' does work in this version when an open day is found.

Thanks, @alexDrinkwater for your work and reply and @rtperkins0 for confirming this! Merged this now.


Correct type annotation of options property

Fixes https://github.com/watermarkify/vue-watermark/issues/66

Correct, my bad! Looks like it is ok to import without the type keyword here since PropType itself is an explicit type. (At least my typescript setup did not complain about either import statement.)


commented out macros can still render into target sql in strange ways

Given a multiline macro:
{% macro multiline(field) -%}
  {{field}}
  as {{field}}
{%- endmacro %}

and model sql:
select
  *
  -- {{multiline('id')}}

the target sql is:
select
  *
  -- id
  as id

I'm not sure there's anything we can do about this besides recommend using multiline comments, it's just unexpected the first time it happens

I've run into this before. At first it was perplexing / frustrating to me that SQL comments don't also comment out jinja code; however, I came to see that as unreasonable. Of course the jinja compiler doesn't respect SQL comments...
Do you think there is a "solve" for this?

@jthandy I think we have two options here:

Encourage the use of jinja commments:

select
  *
  {# {{multiline('id')}} #}
...

We can configure the jinja compiler to use -- as a line comment identifier. Check this out

Whoah! That is super-cool.
I also really like the line statement identifier defined in those docs—we should consider incorporating that as well. I find the {% %} syntax very ugly / un-SQL-y. The {{ }} syntax feels totally reasonable to me because it's always in-line and fairly limited in scope, but sometimes you need a ton of {% %} to get something done.

I'm closing this. Really, the answer here is to use correct jinja commenting syntax, which I just didn't know about at the time I originally logged this (from connor's computer). The comment about line identifiers is captured in another issue.


chains: simplesequentialchain and sequentialchain implementation

Description

Implementation of SimpleSequentialChain and SequentialChain. Addresses #114.
Will add examples once this is merged - looks like I can't add an example with this PR.
Python source

PR Checklist

[x] Read the Contributing documentation.
[x] Read the Code of conduct documentation.
[x] Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
[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] Describes the source of new concepts.
[x] References existing implementations as appropriate.
[x] Contains test coverage for new functions.
[x] Passes all golangci-lint checks.

There are changes in chains_test.go, llm_test.go, and other files that are not directly related to the changes for adding SequentialChain and SimpleSequentialChain. For the sake of the readability of our git track, isn't it better to have such changes in a different commit?

The changes in chains_test.go,  llm_test.go and map_reduce_test.go are due to the uplifted testLanguageModel struct which I'm using for the SimpleSequentialChain and SequentialChain tests. I think those changes are small enough to keep on this PR.
The alternative would be duplicating testLanguageModel, and then creating another PR to consolidate those changes. I'm not sure if that's worth the extra effort.

@tobiade
Why another PR? You can just commit those changes first, and then commit the other changes related to adding SequentialChain and SimpleSequential. Anyway, it's not that big deal.

Ah, I misunderstood. My mind jumped to different commit == different PR. That’s a fair suggestion. Agree - not a big deal, but happy to amend the commits if needed.

Hey @tmc - anything I need to do get this merged?

@tmc I've rebased this branch to pull in the latest changes 👍🏾


nicer stacktraces in Client Unit Tests

Velocity displayed Client-Unit test results with cluttered stacktraces. It was quite hard to read.
I've moved stacktrace parsing from VelocityTestReporter.js (I suppose it's client-integration) into JasmineVelocityTools.js and used them in client-unit adapter.js KarmaVelocityReporter. There's a catch though - the RootURL is Karma's :9876 not App's :3000, so it couldn't be read from Meteor as VelocityTestReporter did it. I have not found quick way to get it from ClientUnitTestFramework.js, and the startOptions have it simply hardcoded, so I just hardcoded the Karma's rootUrl in adapter.js for now for the sake of minimizing the change.
By the way, those two reporters look very similiar. The parts that create a velocityResult and then send it to velocity using ddp or direct call could be refactored out and shared too, but that's cosmetics.

Why have you closed the pull request?

Sorry, I wanted to work on it a little more.
I noticed I forgot to 'add' one file, then I noticed some bugs. Later, it occurred to me that really-shortened paths actually lose one important thing - reader can't say if /foobar.cs was from the code, package or the specs, so I added some very simple prefixing instead of just shortening.
Currently it's at https://github.com/quetzalcoatl/meteor-jasmine/tree/remove-verbose-paths-from-stacktraces and if nothing new shows up, I'll send a new pull request in a few days.

Ok, cool. Thanks a lot for the value that you bring to the package. I appreciate it a lot. I will soon take some time to merge and release your other pull requests ;-)


Update SGDK

Awesome project, but the SGDK is outdated, possible to update it to latest version please ?

Hi,
I just make a Pull Request #42 to update SGDK 1.40.
If it's work fine for you, please add :+1: on PR.
Regards,

Hello could somebody update gendev to SGDK 1.41? It fixes important bugs. https://github.com/Stephane-D/SGDK/releases/tag/v1.41

Sounds good, build is happening right-now.

1.5 is out, it would be nice if gendev is updated or how could I update myself? thanks!


App crashed on Android if Source uri is empty

Describe the bug
For some reasons, if Source uri  is empty. The app will be crash (only happen on Android).
To Reproduce
  useEffect(() => {
    FastImage.preload([{uri: ''}]);
  }, []);

Expected behavior
The app should not be crash.
Dependency versions

React Native version: 0.70.6, 0.71.8
React version: 18.2.0
React Native Fast Image version: 8.6.3

+1

+1

This issue has been fixed in @d11/react-native-fast-image
Dream11 has forked this repo and created new package .
Dream11 is actively maintaining this new package and will be fixing relevant and reproducible issues of this repository.


method does not override or implement a method from a supertype Error

While using this library for a simple fs.readFile method in ./background, I am getting this error while building the project. I followed all the instruction.
C:\path\to\project\node_modules\react-native-node\android\src\main\java\com\staltz\reactnativenode\RNNodePackage.java:23: error: method does not overr
ide or implement a method from a supertype
    @Override
    ^
1 error
:react-native-node:compileReleaseJavaWithJavac FAILED

Project specs
"react": "^16.0.0-alpha.12",
"react-native": "^0.47.1",
"react-native-node": "^1.1.2"

Any clue ?

Hmm this is Java error, and the only thing that stands out in my perspective is react-native v0.47. This library was tested with react-native v0.46 projects.
Is your project small enough that you can rewrite it with v0.46 and check if that is the root cause?

I am currently trying to run core node.js modules on RN and using 0.47.1, that @Override is deprecated for RN 0.47.1

You can safely remove the the method createJSModule(). It has been removed in latest RN.

https://github.com/oblador/react-native-keychain/pull/80 should be fixing this

This should be solved now that react-native-node v2.0.0 is updated for React Native v0.48


AL-8374 use executeCollectIterator() to replace executeCollect when collect queryResult to reduce memery use

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

ut已过

Can one of the admins verify this patch?


fix:(#patch): trader-joe; Added bonus rewards to masterchef

Trader joe masterchef pools have an additional feature called Rewarders. They are contracts pre-funded with an arbitrary token to give to LP stakers in addition to the masterchef default token. Every time a masterchef pool is added or modified it can include a rewarder.
The relationship between rewarders and pools is 1:1. The same rewarder cannot be assigned to more than one pool (technically it can happen, because nothing in their contract checks for it, but they explicitly mention that adding it more than once will mess up rewards).
The rewarder will be issuing rewards to LP stakers until it runs out of funds or until someone manually changes the rewarder rate to 0.
This PR adds support for traderjoe masterchef rewarders. And should probably close #712 .
Some more details on the implementation.

A new _MasterChefRewarder entity has been added to track the rewarder address, reward rate, and associated pool.
Added an optional field rewarder to _MasterChefStakingPool to keep track of the rewarder assigned to it.
Every time a mastrerchef pool is added or updated, if it includes a rewarder, a rewarder entity is created and the staking pool is assigned the rewarder address. Not further action is taken, since rewardRates are calculated on each deposit/withdrawal.
Every deposit/withdrawal to a MC staking pool triggers an update of the default masterchef data. At the end of this process I've added the update of bonus rewards in case there is a rewarder for that pool.
If the balance of the rewarder is 0, until it is refilled, its rewards are set to 0. I'd like your input here @steegecs or @this-username-is-taken , because that adds an additional contract call on each deposit/withdrawal. But omitting it entirely would potentially leave rewarder rates with positive values when they are not giving anything anymore. Maybe could only check the balance once per day or something like that? Or one additional call is not so big of a deal?

In the past I have used the method of only updating rewards every few blocks. Like for the Sushiswap MasterChefV1 handler, I only updated the rewards rates every five blocks, because you have to do multiple contract calls to calculate the rewards. I think it is a good idea to just update over a specified interval. You'll definitely want to make it so the call only runs once per block at most.

yeah, we can update once every hour to speed up indexing

This is finally ready for review 🚀

If the balance of the rewarder is 0, until it is refilled, its rewards are set to 0. I'd like your input here @steegecs or @this-username-is-taken , because that adds an additional contract call on each deposit/withdrawal. But omitting it entirely would potentially leave rewarder rates with positive values when they are not giving anything anymore. Maybe could only check the balance once per day or something like that? Or one additional call is not so big of a deal?
Yeah - I think once per day sounds good. If we want to be more granular, I don't think every 6-12 hours would impact the speed much either.

Great work guys!


Unable to change the "default" soft constraints

Hello, I'm currently unable to change the default soft constraints.
I wanted to change "c_d_overlap_line" so as not to be weighted if I specify a task. Therefore, I changed the original constraint:
% @soft(c_d_overlap_line) Continuous by discrete for line mark.
preference(c_d_overlap_line,M) :-
    helper(is_c_d,M),
    not helper(no_overlap,M),
    attribute((mark,type),M,line).

to
`
% @soft(c_d_overlap_line) Continuous by discrete for line mark.
preference(c_d_overlap_line,M) :-
    helper(is_c_d,M),
    not helper(no_overlap,M),
    attribute((mark,type),M,line),
    not attribute(task,root,_).

Unfortunately, the debugger continues to act like I have the former, even though I updated everything to have the latter.

Hi, you can refer to this for how to modify soft constraints: https://dig.cmu.edu/draco2/applications/debug_draco.html#how-to-modify-the-knowledge-base-with-constraints

Note that you will need to create a new Draco object to pass in the new soft constraint set, and use it in the debugger.

I've been writing new constraints directly into the soft.lp, and then updating them in the weights.lp and they have worked fine. The problem is specifically with constraints that came default with Draco (I presume).
Because even if I change radically their intended behaviour, for example changing from:
"% @Soft(c_d_overlap_line) Continuous by discrete for line mark.
preference(c_d_overlap_line,M) :-
helper(is_c_d,M),
not helper(no_overlap,M),
attribute((mark,type),M,line)."
to
"% @Soft(c_d_overlap_line) Continuous by discrete for line mark.
preference(c_d_overlap_line,M) :-
helper(is_c_d,M),
not helper(no_overlap,M),
attribute((mark,type),M,point)."
I'm still getting the "c_d_overlap_line" weight in a graph specification that looks like this:
"CHART 3
COST: [50]
{'field': [{'name': 'discount', 'type': 'number', 'unique': 12},
{'name': 'sales', 'type': 'number', 'unique': 5825},
{'name': 'category', 'type': 'string', 'unique': 3}],
'number_rows': 9994,
'task': 'compare',
'view': [{'coordinates': 'cartesian',
'mark': [{'encoding': [{'channel': 'x', 'field': 'discount'},
{'aggregate': 'sum',
'channel': 'y',
'field': 'sales'},
{'channel': 'color', 'field': 'category'}],
'type': 'line'}],
'scale': [{'channel': 'x', 'type': 'ordinal'},
{'channel': 'y', 'type': 'linear', 'zero': 'true'},
{'channel': 'color', 'type': 'categorical'}]}]}
('attribute(task,root,compare).\n'
'attribute(number_rows,root,9994).\n'
'attribute((field,name),(f,0),discount).\n'
'attribute((field,type),(f,0),number).\n'
'attribute((field,unique),(f,0),12).\n'
'attribute((field,name),(f,1),sales).\n'
'attribute((field,type),(f,1),number).\n'
'attribute((field,unique),(f,1),5825).\n'
'attribute((field,name),(f,2),category).\n'
'attribute((field,type),(f,2),string).\n'
'attribute((field,unique),(f,2),3).\n'
'attribute((mark,type),(m,0),line).\n'
'attribute((encoding,field),(e,0),discount).\n'
'attribute((encoding,field),(e,1),sales).\n'
'attribute((encoding,field),(e,2),category).\n'
'attribute((encoding,channel),(e,2),color).\n'
'attribute((encoding,channel),(e,1),y).\n'
'attribute((encoding,channel),(e,0),x).\n'
'attribute((view,coordinates),(v,0),cartesian).\n'
'attribute((encoding,aggregate),(e,1),sum).\n'
'attribute((scale,type),(s,(e,2)),categorical).\n'
'attribute((scale,channel),(s,(e,2)),color).\n'
'attribute((scale,type),(s,(e,1)),linear).\n'
'attribute((scale,channel),(s,(e,1)),y).\n'
'attribute((scale,type),(s,(e,0)),ordinal).\n'
'attribute((scale,channel),(s,(e,0)),x).\n'
'attribute((scale,zero),(s,(e,1)),true).\n'
'entity(field,root,(f,0)).\n'
'entity(field,root,(f,1)).\n'
'entity(field,root,(f,2)).\n'
'entity(view,root,(v,0)).\n'
'entity(mark,(v,0),(m,0)).\n'
'entity(encoding,(m,0),(e,0)).\n'
'entity(encoding,(m,0),(e,1)).\n'
'entity(encoding,(m,0),(e,2)).\n'
'entity(scale,(v,0),(s,(e,0))).\n'
'entity(scale,(v,0),(s,(e,1))).\n'
'entity(scale,(v,0),(s,(e,2))).')"
It shouldn't happen since this spec doesn't have an "attribute((mark,type),M,point).". Therefore, I'm really confused as to why this is happening.

What I meant is that only editing the .lp files is not going to change the default Draco.
If you don't want the c_d_overlap_line soft constraint, you can just remove it by its name, like in the example above.

If you want to change the .lp files, I think you need to run make after that. It might break our test cases.

what happens when you run the tests after the edit?

Thanks for opening this issue @AMPAlves. That's what it's for so no need to apologize. Did you find the issue?

Hey @AMPAlves, is this still relevant, can we help you to get to the bottom of the issue?

Closing for now


Full fingerprint for apt repository

Warning: /Apt_key[Add key: D88E42B4 from Apt::Source elasticsearch]: The id should be a full fingerprint (40 characters), see README.

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.

Hi,
Thank you for the PR.
I did modify this a while ago but had to revert it. Please see https://github.com/elastic/puppet-elasticsearch/pull/320 for more details.
Cheers.

Okay, I'll change them locally then :)


Suggestion: Exception messages should print the bucket/key

Hello
I think it might make sense to alter exception output and on IO operations that fail output also the path. As of now, there's no indication of the bucket/key for which the error has occured, e.g.:
Traceback (most recent call last):
....
  File "/var/runtime/botocore/client.py", line 576, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
....
  File "/opt/python/s3fs/core.py", line 349, in _lsdir
    raise translate_boto_error(e)
PermissionError: Access Denied

which makes it difficult to debug (e.g. figure out which permissions are missing), and my usual workaround is to re-raise the error, which just increases the bolier-plate code all over the project:
try:
    df = pd.read_parquet(fname)
except Exception as e:
    raise Exception(f'Error on read {fname}: {e}') from e

I understand though, that the counter-argument could be that it might not make sense due to security reasons (i.e. that the bucket/key will stay in logs and it could be sensitive). But outputting paths looks like being a standard behavior of python libs:
>> open('/var/bla-bla-bla', 'r')
FileNotFoundError: [Errno 2] No such file or directory: '/var/bla-bla-bla'

Best regards
Vladimir

xref: https://github.com/dask/gcsfs/issues/236


Line yank feature: don't "yank" a line if it's empty

Can you elaborate on what the title means?

I think he means given the output of the following command:
$ echo 'one' ; echo ; echo 'two'
one

two

That if you try selecting and copying the line between one and two that it doesn't actually send it to the clipboard copy command (e.g. pbpaste).
Not sure if it is a useful feature or not... I'd rather it just copies whatever I tell it to, even if it is inane, instead of trying to be "smart".

I'm going to close.
I think "not yanking" when asked to do a yank is contrary to use expectation.
Plus, new management; I have to feel powerful somehow. 😜


Remove GitHub hook on change to manual

As a user
I want the hooks that DockCI setup in my GitHub repo to be removed when I change to manual config
So that nothing is left hanging around

I'm just going to move this in with #157 now that we have a method to remove the hook from #92/#178

Actually, I take it back. This is a totally different issue moving from GitHub to manual, rather than manual to GitHub as in #157


When starting files, resize bar/scrollbar on the left panel is focused

Description
When starting Files, the resize edge/bar of the left panel is focused.
https://user-images.githubusercontent.com/7101531/128203984-cd964e41-dccd-4e69-a4ec-b28cac18bab5.mp4
Steps To Reproduce

Start Files
See that resize edge/bar is focused.

Expected behavior
This element should not be focused on startup of Files.
Files Version
v<IP_ADDRESS>
Windows Version
Windows 10 Pro 21H1 19043.1151
Relevant Assets
No response

@andreaslutsch where are you opening Files from (ie the start menu, taskbar, keyboard shortcut etc)?

I was opening Files here from the search menu of Windows. Searching for files and starting it with Enter.
It seems opening it from anywhere with the keyboard by pressing enter instead of clicking on the icon, the bar gets focused.
If I open by clicking, there is nothing focused.

This is the intentional design when opening the app via the keyboard, however we should look into focusing on a different control instead.

Usually programs won't focus anything until user presses tab since it's common for users to start it with enter without wanting to use it with keyboard.

@Darhagonable you'll notice that many inbox apps have the same behavior in this regard.

This is the intentional design when opening the app via the keyboard, however we should look into focusing on a different control instead.

It gets focused for me just opening it from the Taskbar (no keyboard input at all)

This issue should be resolved with #5764.

This issue should be resolved with #5764.

@yaichenbaum still happening for me in <IP_ADDRESS>
OS Version: 10.0.19043.1110

@yaichenbaum we can close this issue

This issue should be resolved with #5829.


Text-overflow level 4

Hey there! I would like to add a new feature as PR. But after reading the CONTRIBUTING.md, I have no idea if I should create a new feature.json or extend the existing text-overflow.json and rename it to level 4.
https://drafts.csswg.org/css-ui-4/#funcdef-text-overflow-fade
Any ideas?
thank you in advance!

Yeah, the answer to that can vary...I would lean towards a separate feature. Is any browser supporting/working on this yet though?

According to MDN no: https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow#Browser_compatibility

These are available now at https://caniuse.com/#feat=mdn-css_properties_text-overflow_fade_value etc


Unify toolkit forms wrappers

The idea here is to combine the forms macros that were initially copy+pasted across the buyer, supplier, and admin apps and have been slowly going out of sync ever since.
This pull request doesn't do anything by itself.  The more interesting part of it is tearing the macros out of the frontend apps and seeing that everything still works as expected, which probably means just manually running through framework applications.
Here's the Trello card for this.

Note
There seem to be a few little gotchas between the various macros.

Some use extra parameters (ie, question_number=None) while others have been converted to using kwargs.  I've gone with kwargs in here; they should be a drop in replacement for the named parameters versions, but I guess it depends on argument ordering.

The supplier app has a |question_references jinja filter, which means it will take a string like "answer this question if you answered question [[questionId]]" and turn that into "answer this question if you answered question 23".  Since it's just doing a variable substitution, I've done some work in the content loader so that we can just use jinja rendering for that stuff and then we can strip question_references out of the supplier app forever.

Second note
I've tried removing the toolkit_forms.html file in the buyer app and that seems to have worked just fine.

 Unify toolkit forms wrappers

@pcraig3 I don't see where the assurance questions are being used in the old apps.  All I can see are the macros, and could do with examples if there aren't already.  I could do with some context on this and would ask you.

💥


Validate zero length files correctly

The fixity validation code was using the blob size as the critera for
whether a blob is deleted instead of the (correct) DeleteDate. Do it
correctly so items with zero length files don't get fixity mismatch
errors.
fixes CURATE-311

Yes. A zero length file was finally uploaded!


Mobs group up

Mobs should group up if defined. For use zombie wave, birds, bats, ants...

That's a good idea and should be easy to add, I'll  add this in when I implement hostile mobs


Datastore upgrade 10.5.1 to 10.6.1 Relative Path is not supported

Hi,
I encountered the error while upgrading the base enterprise from 10.5.1 to 10.6.1.
I have managed to go through the portal and server upgrade, now it stopped at data store upgrade.
I got two errors:

"Relative Path is not supported. The related file/directory is: \etc\upgrade.txt".
"Unable to connect to the remote server".
I have attached the verbose and error files and the configuration json file for your reference.
Please help.
Thanks
Helen
DataStoreUpgradeInstall-31-05-2019-6-02-40-PM-Verbose.txt
DataStoreUpgradeInstall-31-05-2019-6-02-40-PM-Error.txt
DataStoreUpgradeConfigure-31-05-2019-6-02-50-PM-Verbose.txt
DataStoreUpgradeConfigure-31-05-2019-6-02-50-PM-Error.txt
BCBR2GIS1_Upgrade1051to1061.txt

@dird-hyang you are missing parameters. Please use the original JSON Config and modify it for upgrades. Specifically for datastore, you are missing param "InstallDir" in the attached config.
PS. Another issue I noticed is we don't support patching during upgrades.

Thanks. The issue resolved.
I have to manually update the arcgis server datastore connection list.
The link to solve the issue is at:
https://support.esri.com/en/technical-article/000017079
Thanks for the help.
Helen


Allow specifying the major mode that defun-before-save will use.

This adds a prettier-target-mode variable to prettier-js.el to allow customizing what major mode to run prettier-before-save in, as mentioned in #273.

Thanks!


UserProfile model updated

The user profile model is updated in the member api. Please verify the database structure and suggest changes if required.

Updated the models as per request. Please validate.

In the UserProfile. discord_profile = models.CharField(blank=False, null=False, default="", max_length=25)   which means discord_profile is mandatory that it cannot be null from the user profile update form . is this what we want ? @duttakapil @vinaypuppal


Broken docker-compose.yaml and podman-compose.yaml

Hi,
setup exposes environment variables (CORE_TAG and UI_TAG) for docker-compose.yaml and podman-compose.yaml  for where to fetch the docker images from.
index.docker.io/crestsystems/netskope doesn't exist anymore, possibly replace by index.docker.io/netskopetechnicalalliances ?

They do exist but are private.

They do exist but are private.


Added types definitions for record function

@whitedogg13 Thanks for making such a useful package :)
I've added typed definitions for the record function if people decide to create their own custom NdefRecords (which is my case)

@pedroyan thanks for the contribution!


Move dead_scopes to deferred.scopes

Summary
This is more consistent with the rest of the deferred patterns.

\cc @konstin


Fix NPE when compiling an openapi spec to a service config

Hey @guptasu, here's a change that allows compiling an openapi spec to a service config (see #23).
I'm not sure if this change could interfere with other call paths.

Hi,
The easy way to get your change in and test is thoroughly is to make the
change inside google3. Can you make the change within google3 if possible
and send  CL ?
On Sat, Jul 29, 2017 at 12:19 AM, Christophe Taton<EMAIL_ADDRESS>
wrote:

Hey @guptasu https://github.com/guptasu, here's a change that allows
compiling an openapi spec to a service config (see #23
https://github.com/googleapis/api-compiler/issues/23).
I'm not sure if this change could interfere with other call paths.
You can view, comment on, or merge this pull request online at:
https://github.com/googleapis/api-compiler/pull/24
Commit Summary

Fix NPE when specifying --openapi instead of --descriptor
Fix infinite recursion.
Enable logging

File Changes

M build.gradle
https://github.com/googleapis/api-compiler/pull/24/files#diff-0 (8)
M src/main/java/com/google/api/tools/framework/tools/
SwaggerToolDriverBase.java
https://github.com/googleapis/api-compiler/pull/24/files#diff-1 (2)
M src/main/java/com/google/api/tools/framework/tools/
ToolDriverBase.java
https://github.com/googleapis/api-compiler/pull/24/files#diff-2 (2)
M src/main/java/com/google/api/tools/framework/tools/
ToolOptions.java
https://github.com/googleapis/api-compiler/pull/24/files#diff-3 (2)
M src/main/java/com/google/api/tools/framework/tools/configgen/
ConfigGeneratorFromSwagger.java
https://github.com/googleapis/api-compiler/pull/24/files#diff-4 (20)

Patch Links:

https://github.com/googleapis/api-compiler/pull/24.patch
https://github.com/googleapis/api-compiler/pull/24.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/api-compiler/pull/24, or mute the thread
https://github.com/notifications/unsubscribe-auth/AK6xE-2uJNRnJkP5lKhiKD51sb6IJAv1ks5sSt0QgaJpZM4OnSJU
.

--
Thanks,
-SG


[GHSA-4wrc-f8pq-fpqp] Pivotal Spring Framework contains unsafe Java deserialization methods

Updates

Description
Summary

Comments
The offending feature has been deprecated much earlier than 6.0; 6.0 actually removes the feature. Replaced commit links with actual issue links to document that.

Hey @bclozel, you don't have a link to an announcement or some other documentation for the deprecation in 5.3.0 do you? Maybe I'm missing it, but I don't see a deprecation version note in https://github.com/spring-projects/spring-framework/issues/25379

Hello @darakian
Could you elaborate please? The issue title for https://github.com/spring-projects/spring-framework/issues/25379 is "Deprecate remoting technologies support" and is linked to commits actually deprecating the remoting support (thus the offending classes). This also has a more explicit comment stating which packages are deprecated.
We've also added notes in 5.3 our upgrade guide:

Several remoting technologies have been deprecated with no direct replacement (Hessian, RMI, HTTP Invoker, JMS Invoker).

I'm happy to amend/add any comment to help here, what kind of content qualifies as a "deprecation version note" here?
Thanks!

and is linked to commits actually deprecating the remoting support

Ah, sorry about that. I was missing the linked commits in the sea of update PRs. Many thanks and I'll get this added 👍

Yes this is a popular one and it's getting linked in many places.
Thanks @darakian !


Bug: look at ismissing and PNGs on Photos 5

Most PNG files show as ismissing in my library.  If selected and request "export original" Photos downloads them and they show up but if just editing, they do not.  They seem to have 3 derivative files including one in "masters"...does Photos only keep the jpeg version unless export? And if so, should ismissing be False and we return the photo in masters?
./resources/derivatives/masters/D/D5D5B6BB-5C88-46C6-B9E9-051358538607_4_5005_c.jpeg
./resources/derivatives/D/D5D5B6BB-5C88-46C6-B9E9-051358538607_1_102_o.jpeg
(base)
~/Pictures/Photos Library.photoslibrary via 🅒 base took 2s
[I] ➜ find . | grep F0EFDD52-33A5-4826-88A0-5576CF2A0B09
./resources/derivatives/F/F0EFDD52-33A5-4826-88A0-5576CF2A0B09_1_102_o.jpeg
./resources/derivatives/F/F0EFDD52-33A5-4826-88A0-5576CF2A0B09_1_105_c.jpeg
./resources/derivatives/masters/F/F0EFDD52-33A5-4826-88A0-5576CF2A0B09_4_5005_c.jpeg
(base)
~/Pictures/Photos Library.photoslibrary via 🅒 base
[I] ➜ find . | grep 16B65B50-1F4E-4312-AB6C-15047E896953
./resources/derivatives/1/16B65B50-1F4E-4312-AB6C-15047E896953_1_105_c.jpeg
./resources/derivatives/1/16B65B50-1F4E-4312-AB6C-15047E896953_1_102_o.jpeg
./resources/derivatives/masters/1/16B65B50-1F4E-4312-AB6C-15047E896953_4_5005_c.jpeg
(base)

After export:
[I] ➜ osxphotos query --uti png | grep IMG_0127.PNG
F0EFDD52-33A5-4826-88A0-5576CF2A0B09,F0EFDD52-33A5-4826-88A0-5576CF2A0B09.png,IMG_0127.PNG,2014-12-10T18:06:53-06:00,,,Photo Stream,Dec 2014 Photo Stream,,/Users/rhet/Pictures/Photos Library.photoslibrary/originals/F/F0EFDD52-33A5-4826-88A0-5576CF2A0B09.png,False,False,False,False,False,False,,,,True,False,public.png
D5D5B6BB-5C88-46C6-B9E9-051358538607,D5D5B6BB-5C88-46C6-B9E9-051358538607.png,IMG_0127.PNG,2014-12-29T08:26:42-06:00,,,,Dec 2014 Photo Stream,,,True,False,False,False,False,False,,,,True,False,public.png
16B65B50-1F4E-4312-AB6C-15047E896953,16B65B50-1F4E-4312-AB6C-15047E896953.png,IMG_0127.PNG,2015-07-29T03:35:52+00:00,,,,,,/Users/rhet/Pictures/Photos Library.photoslibrary/originals/1/16B65B50-1F4E-4312-AB6C-15047E896953.png,False,False,False,False,False,False,,,,True,False,public.png```

The unedited PNG is stored in Masters in Mojave (Originals in Catalina+), its full size JPG in resources/media/versions in Mojave (Renders/**/ in Catalina+), and edit instructions in the Photos database. You edit the JPG, never the PNG, and with every edit, a new JPG is added. All sizes of thumbnails are also made with the JPG. The original intact PNG plus the latest edit instructions give the latest version when exporting. This article explains it very well: https://tidbits.com/2019/06/14/the-ins-and-outs-of-non-destructive-editing-in-photos-for-mac-and-ios.

The unedited PNG is stored in Masters in Mojave (Originals in Catalina+), its full size JPG in resources/media/versions in Mojave (Renders/**/ in Catalina+), and edit instructions in the Photos database. You edit the JPG, never the PNG, and with every edit, a new JPG is added. All sizes of thumbnails are also made with the JPG. The original intact PNG plus the latest edit instructions give the latest version when exporting. This article explains it very well: https://tidbits.com/2019/06/14/the-ins-and-outs-of-non-destructive-editing-in-photos-for-mac-and-ios.

Thanks I'm aware of how Photos stores edits as JPEGs (HEIC on Big Sur).  This particular issue that for screenshots, which iOS and Photos stores as PNGs, Photos seems to never download the original PNG (even if "optimize storage" is not checked in Photos settings) -- unless you edit the screenshot in Photos at which time the original PNG file is downloaded from iCloud and the edited JPEG is stored locally.  This means that screenshots always show as missing when osxphotos is exporting so unless you use --download-missing, they won't get exported.  However, if the Photos settings are set to download everything to local Mac, there will always be a high resolution JPEG render available--even if the photo hasn't been edited (different than every other type of photo)--so maybe osxphotos should export this.

Thanks I'm aware of how Photos stores edits as JPEGs (HEIC on Big Sur).  This particular issue that for screenshots, which iOS and Photos stores as PNGs, Photos seems to never download the original PNG (even if "optimize storage" is not checked in Photos settings) -- unless you edit the screenshot in Photos at which time the original PNG file is downloaded from iCloud and the edited JPEG is stored locally.  This means that screenshots always show as missing when osxphotos is exporting so unless you use --download-missing, they won't get exported.  However, if the Photos settings are set to download everything to local Mac, there will always be a high resolution JPEG render available--even if the photo hasn't been edited (different than every other type of photo)--so maybe osxphotos should export this.

Interesting. Hadn't realized all this. You learn something new with Photos everyday :) Thanks!

Interesting. Hadn't realized all this. You learn something new with Photos everyday :) Thanks!


Fixed #3899 - Handle new OSX version correctly; reformatted platform-…

…matrix JSON files
Fixed #3899
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[ ] C++ Guidelines
[ ] Doxygen docs
[ ] Unit tests
[ ] No unwanted commits/changes
[ ] Descriptive title/description

[ ] PR is single purpose
[ ] Related issue listed

[ ] Comments in source
[ ] No typos
[ ] Update changelog
[ ] Not work-in-progress
[ ] External references or docs updated
[ ] Self review of PR done
[ ] Any breaking changes?

/azp run cpp - core

Looks fine to me. Does this need to go in azure-sdk-tools to be replicated everywhere? I recall some EngSys rule like that for files in eng/....

@RickWinter this is a C++ specific script, so it does not need to be replicated. We only enforce replication rules for eng/common/... paths, and everything else in eng/ is for language specific configs and scripts.


Performance problems at first call to DynamoDb

I have created a lambda function in Java for Cognito. When the Lambda function is started for the first time (coldstart) it takes about 100ms for startup. As soon as I try to access a dynamodb database the coldstart time increases to 6 seconds!
This also occurs if the table does not have any rows in it. The dynamoDb and the lambda-function are of course in the same region.
The question is if you also experience such bad coldstarttimes with DynamoDB access and if you have any suggestions how to get rid of it.
The core function I am currently using is:
public class PostAuthentication implements RequestHandler<CognitoEvent, CognitoEvent> {

protected DynamoDB dynamoDb;

private DynamoDB getDynamoDbClient() {
	if (dynamoDb != null)
		return dynamoDb;
	AmazonDynamoDBClient client = (AmazonDynamoDBClient) AmazonDynamoDBClientBuilder.standard()
			.withRegion(Regions.EU_CENTRAL_1).build();
	this.dynamoDb = new DynamoDB(client);// new AmazonDynamoDB(client);
	return dynamoDb;
}

@Override
public CognitoEvent handleRequest(CognitoEvent event, Context context) {
	context.getLogger().log("Input for cognito: " + event);
            // the following line makes the difference between 100ms and 6 secs coldstart-time
	Item item = getDynamoDbClient().getTable(CustomerDbo.TABLENAME).getItem("id", "test");
    }
}

Hey @mikes222  - that's very interesting, but I'm a bit confused - what is this in relation to? Is this an "issue" with any of the modules here?
Cheers,
Eugen.

I haven't heard back from you @mikes222 - closing this one.


Add support for cross compilation on aarch64.

Now hyperparameter supports build target x86_64-unknown-linux-gnu and aarch64-unknown-linux-gnu.

Codecov Report

Merging #9 (7211c48) into master (1877290) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   65.51%   65.51%
=======================================
  Files          10       10
  Lines         693      693
  Branches       80       80
=======================================
  Hits          454      454
  Misses        222      222
  Partials       17       17

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


SPI read_passive_target timeout not working correctly

Hi,
When in SPI mode calling read_passive_target with a timeout, a NFC tag is only detect at the very beginning of the poll. This is not the case with i2c which detects tags through all the duration of the timeout.

The SPI and I2C interfaces use an entirely different backend. The problem looks like it's occurring in adafruit_pn532/spi.py -> _wait_ready.

@BraindeadBZH Please try the 2.0.7 version of the library when it becomes available:
https://github.com/adafruit/Adafruit_CircuitPython_PN532/releases/tag/2.0.7

Thank you for fixing the issue. Unfortunately I don't have access to the hardware to test this at the moment. I will let you know if I have the chance to get back to this.

OK. Closing for now. We can reopen if you continue to have the same issue.


Don't know how to build task 'assets:clean_expired'

Suddenly I'm getting this error when pushing to Heroku. This happened after bumping to gem version gem 'turbo-sprockets-rails3', '~> 0.3.11'. Using Rails version 3.2.13.
Any ideas of what could cause this?
Copied binary asset to glyphicons.png
Copied binary asset to glyphicons.svg
Copied binary asset to logo-white.svg
Copied binary asset to logo.svg
Generated non-digest assets in 623ms
Asset precompilation completed (457.15s)
Running: rake assets:clean_expired
rake aborted!
Don't know how to build task 'assets:clean_expired'
 (See full trace by running task with --trace)
-----> Discovering process types
Procfile declares types -> web
Default types for Ruby  -> console, rake, worker

I was able to resolve the heroku deploy error on rails 3.2.17 and turbo-sprockets-rails3 I had to set config.assets.handle_expired to true in the config/environments/production.rb file and add the config variable RAILS_GROUPS=assets to the heroku environment


Remove node_flat = False and merge_mapping = False options

When the HDL-generation section of this library was first designed, the following behavior was intended:

User generates a structure using this library, whose HDL representation refers to abstract nodes
In parallel, a "mapping" file is output which converts this abstract node-view into technology-specific standard cells
The HDL that is output by this library is not usable unless both files are included

For example, an output might look as such:
module blah blah blah

pre_node U1(blah blah)
main_node U2(blah blah)
post_node U3(blah blah)

endmodule

A mapping file would be generated in parallel to map these abstract pre_node / main_node / post_node concepts to technology-specific standard cells.
The idea behind this organization is to make it easy to implement the same adder circuits on different technology nodes, by simply dropping in a different technology mapping file.

Since v1.0.0 has come out, I have enabled a new, easier, behavior:

User generates a structure using this library
The HDL that is output consists of a single file, with standard cell logic merged directly in

For example, an output might look as such:
module blah blah blah

sky130_fd_sc_hd and2(.A(blah) blah blah blah)
sky130_fd_sc_hd or2(blah blah blah
etcetera

endmodule

This is easier to use and more compact. I have already enabled it as the default output style.

Maintaining both strategies takes active developer time, which is in short supply.
I want to deprecate the first strategy. It is already broken in minor ways, and it is likely to continue breaking even more.
This means that the same adder circuit would have to be output once for each technology it is implemented in. But. Currently, every adder circuit has a unique identifying ID which can be obtained in O(n lg n), and the ID can be used to rebuild the circuit in O(n lg n).
That seems to solve the main issue I had in mind at the start: being able to reproduce results across technologies. Previously, it meant re-creating the circuit one move at a time. Now, it means just saving the ID of the circuit for future use.

@tcal-x @mithro @raha96 @AlexSUnderwood
Please advise.

Supporting multiple modes of operation solely for the purpose of prettier formatting is an unwise investment of time.
The node_flat = False and merge_mapping = False options ,must be removed. The hdl() function, in general, must offer users fewer choices.


How do I use the popup step to open URL?

from user query in https://github.com/kelaberetiv/TagUI/issues/454#issuecomment-503588904

One more thing I wanted to know was how can I use popup step to actually open a new webpage in . a new tab with a totally new URL. I even read the sample 9_misc but was stuck for opening a new url in a new tab.
I tried popup new_url { http://www.google.com }.
This didn't work either popup http://www.google.com.

@abhishek-27 for popup step, it is used after a new tab is opened.
For example, you go to some webpage, click on some button and then a new tab opens up. popup step lets you interact with that new webpage, all you need is specify some string in the URL of the new webpage, so that TagUI knows which tab you want to control.
popup step does not let you open a new tab by itself. You can tell me more about your use case so that I can see if there is some way TagUI can work for that use case or not.

The usage after a new tab is opened,
this way for many actions
popup url_string
{
action1
action2
action3
}

if only 1 action on new tab
popup url_string
action1

So my use case is that I need to open multiple URLs and use data from one website and set it on another website and continue the automation in that website. So i was thinking if we can open new URL in new tab. Because if I do just
http://google.com
wait 2
http://youtube.com

This results in opening URLs in same tab.

I see.. TagUI doesn't support this case case of opening multiple tabs this way. You can try batching by gathering the data from website 1 and store it in csv or some file, to do this in 1 automation flow. Then in automation flow 2, load the file and use JavaScript to parse the contents and act on website 2.
Alternatively, you can try using visual automation to use keystroke to launch a new tab and type a new webpage before using popup step. But that way is tricky and may not work correctly.

If someone happen to land on this issue from google as i did.
Found this flag for chrome: --disable-popup-blocking.
If that would work it would be easy to do dom window.open(); for a new tab.
But couldn't get it to work.
So i made a ugly solution but it solves the problem:
dom document.body.insertAdjacentHTML("afterbegin","youtube");
click youtube

dom document.body.insertAdjacentHTML("afterbegin","google");
click google

popup youtube
{
    type search as TagUI
}

popup google
{
    type search as TagUI
}

Great sharing! I confirm that there isn't a way to open a specific URL not in the original webpage in a new tab and access that tab using its web elements. Above is a cool solution! 👍

Hello again Ken! Regarding this above issue. my use case is a little different.

From a certain starting webpage, there are a number of clickable elements that each navigates away to another webpage.
My current process is as follows:

Start with rpa.url('webpage')
Iterate through clickable element table with rpa.click('target')
do work on the resulting page
return to base URL with rpa.url('webpage')
click the next item in the list

I do this for ~350 entries in the clickable element table each day
The problem is that the overhead of having to navigate back to the starting URL takes ~8 seconds for each rpa.url('webpage') request. This adds significant overhead to the time the automation takes to run (About 45 extra min).
My question to you is this:
Is it possible to open a new tab/window for each click, (Keeping the base URL window in existence) to do work in that tab/window, close the tab/window, and click the next item on the original tab/window?
I'm not looking to split the automation and have it do work in multiple tabs at the same time, although that would be useful and speed things up greatly, at minimum just do it sequentially without having to reload the base URL?
Any help or further guidance would be appreciated!
Thanks Ken

Hi James, as there is no @href to read, you can't use r.dom('window.open(url)') and r.popup(unique_string_in_url) to do it.
Otherwise, that method can let your programmatically open new tabs and automate there without leaving the old tab.
To do this is possible but also takes time, you'll need to write custom SikuliX code to use low level keyboard and computer vision. Ie 1. use computer vision to move mouse cursor to the link, 2. use r.vision() to send custom SikuliX code to key press down [ctrl], 3. r.mouse('down'); r.mouse('up'), 4. release the [ctrl] key. This way would force the browser to open a new tab I think. Then you can use popup() to handle.
However, if making automation run faster is your consideration, maybe you can try out the new turbo mode. It runs 10X faster than the normal human speed, so your whole automation should finish much quicker. See more here -
https://github.com/tebelorg/RPA-Python/issues/297

Request:
With reference to the solution provided here https://issueexplorer.com/issue/kelaberetiv/TagUI/1056
I notice that the 'popup' step must use a string typed in the step.
Is it possible to use a variable instead?
So far I tested, a variable cannot be used.
For example: (using the same link in this)
..
 after opening a new tab and entering a new webpage
..
y = "yahoo"
popup `y`
    type //*[@name="p"] as testing 2

When using a variable, the ERROR message will return
ERROR cannot find yahoo

Hi @chooimail I'm afraid popup step does not support variables. This is due to legacy reasons where it actually takes in a regex string. The internal conversion of the variable to regex string would be invalid regex. Some ideas -

if the automation can be broken into 2 parts, you can generate a .tag file with the correct popup step to process
if the URL can be retrieved, you can try directly going to the URL of the new tab and automate there directly

CC @ruthtxh

Hi @chooimail I'm afraid popup step does not support variables. This is due to legacy reasons where it actually takes in a regex string. The internal conversion of the variable to regex string would be invalid regex. Some ideas -

if the automation can be broken into 2 parts, you can generate a .tag file with the correct popup step to process
if the URL can be retrieved, you can try directly going to the URL of the new tab and automate there directly

Hi Ken,
OK, noted. And many thanks for the explanation.
Yeah, there are definitely work arounds as you suggested.
I was mainly trying learn and make use of the popup step, as far as it can go.
(^_^)


Disallow size one input list in InputValidationIssue

The goal of this PR is to solve #77
The approach is to evaluate the setter methods as pure setters and the 'add' methods as methods to add input (or in, name, value) to what already exist.

OK for me. @clone1612 ?