Can't Import Universe....

Expected behavior
i start up python in a terminal and import GYM successfully, then try
import universe  --> should import, but fails
Actual behavior
sheppc@sheppc:~$ sudo python
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import gym
import universe
Traceback (most recent call last):
File "", line 1, in
File "/home/sheppc/universe/universe/init.py", line 22, in
from universe import error, envs
File "/home/sheppc/universe/universe/envs/init.py", line 1, in
import universe.envs.vnc_env
File "/home/sheppc/universe/universe/envs/vnc_env.py", line 9, in
from universe import error, pyprofile, rewarder, spaces, twisty, vectorized, vncdriver
File "/home/sheppc/universe/universe/rewarder/init.py", line 1, in
from universe.rewarder.rewarder_session import RewarderSession
File "/home/sheppc/universe/universe/rewarder/rewarder_session.py", line 8, in
from twisted.internet import defer, endpoints
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/endpoints.py", line 52, in
from twisted.protocols.tls import TLSMemoryBIOFactory
File "/usr/local/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 63, in
from twisted.internet._sslverify import _setAcceptableProtocols
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/_sslverify.py", line 38, in
TLSVersion.TLSv1_1: SSL.OP_NO_TLSv1_1,
AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'

Versions
Please include the result of running
$ uname -a ; python --version; pip show universe gym tensorflow numpy go-vncdriver Pillow

sheppc@sheppc:~$ uname -a ; python --version; pip show universe gym tensorflow numpy go-vncdriver Pillow
Linux sheppc 4.4.0-66-generic #87~14.04.1-Ubuntu SMP Fri Mar 3 17:32:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Python 2.7.6
Name: universe
Version: 0.21.4.dev0
Summary: Universe: a software platform for measuring and training an AI's general intelligence across the world's supply of games, websites and other applications.
Home-page: https://github.com/openai/universe
Author: OpenAI
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: /home/sheppc/universe
Requires: autobahn, docker-py, docker-pycreds, fastzbarlight, go-vncdriver, gym, Pillow, PyYAML, six, twisted, ujson
Name: gym
Version: 0.8.0
Summary: The OpenAI Gym: A toolkit for developing and comparing your reinforcement learning agents.
Home-page: https://github.com/openai/gym
Author: OpenAI
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: /home/sheppc/gym
Requires: numpy, requests, six, pyglet
Name: numpy
Version: 1.12.0
Summary: NumPy: array processing for numbers, strings, records, and objects.
Home-page: http://www.numpy.org
Author: NumPy Developers
Author-email<EMAIL_ADDRESS>License: BSD
Location: /usr/local/lib/python2.7/dist-packages
Requires:
Name: go-vncdriver
Version: 0.4.19
Summary: UNKNOWN
Home-page: UNKNOWN
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Location: /usr/local/lib/python2.7/dist-packages
Requires: numpy
Name: Pillow
Version: 4.0.0
Summary: Python Imaging Library (Fork)
Home-page: http://python-pillow.org
Author: Alex Clark (Fork Author)
Author-email<EMAIL_ADDRESS>License: Standard PIL License
Location: /usr/local/lib/python2.7/dist-packages
Requires: olefile
/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/vendor/requests/packages/urllib3/util/ssl.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning

Your installation of SSL is broken. You can probably reproduce with import twisted.internet. Follow the instructions at https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.

You need to upgrade your OpenSSL by:
pip install pyOpenSSL --upgrade
also pyOpenSSL needs dependencies:
apt-get install -y libffi-dev libssl-dev

@tlbtlbtlb Yes you are correct.  @Pinnh your solution was simple and worked.  I'm simply trying to run the Open AI Universe "check to see if it works" python program as follows:

import gym
import universe  # register the universe environments
env = gym.make('flashgames.DuskDrive-v0')
env.configure(remotes=1)  # automatically creates a local docker container
observation_n = env.reset()
while True:
action_n = [[('KeyEvent', 'ArrowUp', True)] for ob in observation_n]  # your agent here
observation_n, reward_n, done_n, info = env.step(action_n)
env.render()

import gym
import universe  # register the universe environments
env = gym.make('flashgames.DuskDrive-v0')
!! These three lines of code were successful  !!
!! This line of code failed !!
env.configure(remotes=1)  # automatically creates a local docker container
!! With the following error message !!

env.configure(remotes=1)
Traceback (most recent call last):
File "", line 1, in
File "/home/sheppc/gym/gym/core.py", line 211, in configure
raise error.Error("Env.configure has been removed in gym v0.8.0, released on 2017/03/05. If you need Env.configure, please use gym version 0.7.x from pip, or checkout the gym:v0.7.4 tag from git.")
gym.error.Error: Env.configure has been removed in gym v0.8.0, released on 2017/03/05. If you need Env.configure, please use gym version 0.7.x from pip, or checkout the gym:v0.7.4 tag from git.

!!  Any ideas? !!

*Any ideas how to make work without rolling back Gym to an old rev?

roll back to old Gym is simple and fast:
pip uninstall gym and pip install gym==0.7.4
Sorry, I also don't know how to run 'universe' with gym v0.8.0，I saw the gym code that seems no other solution ,or official guide

No worries, just excited to eventually get everything functional! :)
Using gym 0.7.4 and can now import gym and universe and make it through the first couple steps of the example program, but won't run.  I get the following output of running a python script with the code:
import gym
import universe  # register the universe environments
env = gym.make('flashgames.DuskDrive-v0')
env.configure(remotes=1)  # automatically creates a local docker container
observation_n = env.reset()
while True:
action_n = [[('KeyEvent', 'ArrowUp', True)] for ob in observation_n]  # your agent here
observation_n, reward_n, done_n, info = env.step(action_n)
env.render()

CMD:  sudo python openai_learn1.py #contains the code above

OUTPUT(results):
sheppc@h:~/openai$ sudo python openai_learn1.py
[2017-03-18 13:41:47,885] Making new env: flashgames.DuskDrive-v0
[2017-03-18 13:41:47,992] Writing logs to file: /tmp/universe-3118.log
[2017-03-18 13:41:48,122] Ports used: []
[2017-03-18 13:41:48,122] [0] Creating container: image=quay.io/openai/universe.flashgames:0.20.28. Run the same thing by hand as: docker run -p 5900:5900 -p 15900:15900 --cap-add SYS_ADMIN --ipc host --privileged quay.io/openai/universe.flashgames:0.20.28
[2017-03-18 13:41:50,130] Remote closed: address=localhost:15900
[2017-03-18 13:41:50,130] At least one sockets was closed by the remote. Sleeping 1s...
[2017-03-18 13:41:51,131] Remote closed: address=localhost:15900
[2017-03-18 13:41:51,131] Remote closed: address=localhost:5900
[2017-03-18 13:41:51,132] At least one sockets was closed by the remote. Sleeping 1s...
[2017-03-18 13:41:52,133] Remote closed: address=localhost:5900
[2017-03-18 13:41:52,133] Remote closed: address=localhost:15900
[2017-03-18 13:41:52,134] At least one sockets was closed by the remote. Sleeping 1s...
universe-fTUNkh-0 | Setting VNC and rewarder password: openai
[2017-03-18 13:41:53,135] Remote closed: address=localhost:15900
[2017-03-18 13:41:53,135] Remote closed: address=localhost:5900
[2017-03-18 13:41:53,136] At least one sockets was closed by the remote. Sleeping 1s...
universe-fTUNkh-0 | [Sat Mar 18 20:41:53 UTC 2017] Waiting for /tmp/.X11-unix/X0 to be created (try 1/10)
universe-fTUNkh-0 | [Sat Mar 18 20:41:53 UTC 2017] [/usr/local/bin/sudoable-env-setup] Disabling outbound network traffic for none
universe-fTUNkh-0 | [init] [2017-03-18 20:41:53,755] Launching system_diagnostics_logger.py, recorder_logdir=/tmp/demo
universe-fTUNkh-0 | [init] [2017-03-18 20:41:53,756] Launching reward_recorder.py, recorder_logdir=/tmp/demo
universe-fTUNkh-0 | [init] [2017-03-18 20:41:53,758] Launching vnc_recorder.py, recorder_logdir=/tmp/demo
universe-fTUNkh-0 | [init] [2017-03-18 20:41:53,761] PID 53 launched with command ['sudo', '-H', '-u', 'nobody', 'DISPLAY=:0', 'DBUS_SESSION_BUS_ADDRESS=/dev/null', '/app/universe-envs/controlplane/bin/controlplane.py', '--rewarder-port=15901']
[2017-03-18 13:41:54,138] Remote closed: address=localhost:5900
[2017-03-18 13:41:54,138] Remote closed: address=localhost:15900
[2017-03-18 13:41:54,138] At least one sockets was closed by the remote. Sleeping 1s...
universe-fTUNkh-0 | [Sat Mar 18 20:41:54 UTC 2017] Waiting for /tmp/.X11-unix/X0 to be created (try 2/10)
[2017-03-18 13:41:55,139] Remote closed: address=localhost:15900
[2017-03-18 13:41:55,139] Remote closed: address=localhost:5900
[2017-03-18 13:41:55,139] At least one sockets was closed by the remote. Sleeping 1s...
universe-fTUNkh-0 | [tigervnc]
universe-fTUNkh-0 | [tigervnc] Xvnc TigerVNC 1.7.0 - built Sep  8 2016 10:39:22
universe-fTUNkh-0 | [tigervnc] Copyright (C) 1999-2016 TigerVNC Team and many others (see README.txt)
universe-fTUNkh-0 | [tigervnc] See http://www.tigervnc.org for information on TigerVNC.
universe-fTUNkh-0 | [tigervnc] Underlying X server release 11400000, The X.Org Foundation
universe-fTUNkh-0 | [tigervnc]
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension VNC-EXTENSION
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension Generic Event Extension
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension SHAPE
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension MIT-SHM
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension XInputExtension
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension XTEST
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension BIG-REQUESTS
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension SYNC
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension XKEYBOARD
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension XC-MISC
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension XINERAMA
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension XFIXES
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension RENDER
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension RANDR
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension COMPOSITE
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension DAMAGE
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension MIT-SCREEN-SAVER
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension DOUBLE-BUFFER
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension RECORD
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension DPMS
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension X-Resource
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension XVideo
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension XVideo-MotionCompensation
universe-fTUNkh-0 | [tigervnc] Initializing built-in extension GLX
universe-fTUNkh-0 | [tigervnc]
universe-fTUNkh-0 | [tigervnc] Sat Mar 18 20:41:55 2017
universe-fTUNkh-0 | [tigervnc]  vncext:      VNC extension running!
universe-fTUNkh-0 | [tigervnc]  vncext:      Listening for VNC connections on all interface(s), port 5900
universe-fTUNkh-0 | [tigervnc]  vncext:      created VNC server for screen 0
[2017-03-18 13:41:56,141] Remote closed: address=localhost:5900
[2017-03-18 13:41:56,141] Remote closed: address=localhost:15900
[2017-03-18 13:41:56,142] At least one sockets was closed by the remote. Sleeping 1s...
universe-fTUNkh-0 | [tigervnc] [dix] Could not init font path element /usr/share/fonts/X11/Type1/, removing from list!
universe-fTUNkh-0 | [tigervnc] [dix] Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
universe-fTUNkh-0 | [tigervnc] [dix] Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
universe-fTUNkh-0 | [init] [2017-03-18 20:41:56,408] init detected end of child process 16 with exit code 0, not killed by signal
[2017-03-18 13:41:57,143] Remote closed: address=localhost:15900
[2017-03-18 13:41:57,143] At least one sockets was closed by the remote. Sleeping 1s...
universe-fTUNkh-0 | [tigervnc]
universe-fTUNkh-0 | [tigervnc] Sat Mar 18 20:41:57 2017
universe-fTUNkh-0 | [tigervnc]  Connections: accepted: <IP_ADDRESS>::42442
universe-fTUNkh-0 | [init] [2017-03-18 20:41:57,981] init detected end of child process 57 with exit code 0, not killed by signal
[2017-03-18 13:41:58,145] Remote closed: address=localhost:15900
[2017-03-18 13:41:58,145] At least one sockets was closed by the remote. Sleeping 1s...
universe-fTUNkh-0 | [nginx] 2017/03/18 20:41:58 [error] 66#66: *1 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET / HTTP/1.1", upstream: "http://<IP_ADDRESS>:15901/", host: "<IP_ADDRESS>:10003"
universe-fTUNkh-0 | [nginx] <IP_ADDRESS> - openai [18/Mar/2017:20:41:58 +0000] "GET / HTTP/1.1" 502 182 "-" "-"
universe-fTUNkh-0 | [tigervnc]
universe-fTUNkh-0 | [tigervnc] Sat Mar 18 20:41:58 2017
universe-fTUNkh-0 | [tigervnc]  Connections: closed: <IP_ADDRESS>::42442 (Clean disconnection)
universe-fTUNkh-0 | [tigervnc]  EncodeManager: Framebuffer updates: 0
universe-fTUNkh-0 | [tigervnc]  EncodeManager:   Total: 0 rects, 0 pixels
universe-fTUNkh-0 | [tigervnc]  EncodeManager:          0 B (1:-nan ratio)
universe-fTUNkh-0 | WebSocket server settings:
universe-fTUNkh-0 |   - Listen on :5898
universe-fTUNkh-0 |   - Flash security policy server
universe-fTUNkh-0 |   - No SSL/TLS support (no cert file)
universe-fTUNkh-0 |   - proxying from :5898 to localhost:5900
[2017-03-18 13:41:59,147] Using the golang VNC implementation
[2017-03-18 13:41:59,147] Using VNCSession arguments: {'subsample_level': 2, 'start_timeout': 7, 'fine_quality_level': 50, 'encoding': 'tight'}. (Customize by running "env.configure(vnc_kwargs={...})"
[2017-03-18 13:41:59,150] [0] Connecting to environment: vnc://localhost:5900 password=openai. If desired, you can manually connect a VNC viewer, such as TurboVNC. Most environments provide a convenient in-browser VNC client: http://localhost:15900/viewer/?password=openai
2017/03/18 13:41:59 I0318 13:41:59.150957 3118 gymvnc.go:417] [0:localhost:5900] opening connection to VNC server
2017/03/18 13:41:59 I0318 13:41:59.154088 3118 gymvnc.go:550] [0:localhost:5900] connection established
universe-fTUNkh-0 | [nginx] 2017/03/18 20:41:59 [info] 66#66: *1 client <IP_ADDRESS> closed keepalive connection
universe-fTUNkh-0 | [tigervnc]
universe-fTUNkh-0 | [tigervnc] Sat Mar 18 20:41:59 2017
universe-fTUNkh-0 | [tigervnc]  Connections: accepted: <IP_ADDRESS>::42480
universe-fTUNkh-0 | [tigervnc]  SConnection: Client needs protocol version 3.8
universe-fTUNkh-0 | [tigervnc]  SConnection: Client requests security type VncAuth(2)
universe-fTUNkh-0 | [tigervnc]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
universe-fTUNkh-0 | [tigervnc]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
universe-fTUNkh-0 | [nginx] 2017/03/18 20:41:59 [error] 66#66: *3 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET / HTTP/1.1", upstream: "http://<IP_ADDRESS>:15901/", host: "localhost:15900"
universe-fTUNkh-0 | [nginx] <IP_ADDRESS> - openai [18/Mar/2017:20:41:59 +0000] "GET / HTTP/1.1" 502 182 "-" "AutobahnPython/0.17.2"
[2017-03-18 13:41:59,280] [0:localhost:5900] Waiting on rewarder: failed to complete WebSocket handshake. Retry in 1s (slept 0s/7s): connection was closed uncleanly (WebSocket connection upgrade failed (502 - BadGateway))
universe-fTUNkh-0 | [nginx] 2017/03/18 20:41:59 [info] 66#66: *3 client <IP_ADDRESS> closed keepalive connection
Traceback (most recent call last):
File "openai_learn1.py", line 11, in
env.render()
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 174, in render
return self._render(mode=mode, close=close)
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 341, in _render
return self.env.render(mode, close)
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 174, in render
return self._render(mode=mode, close=close)
File "/home/sheppc/universe/universe/wrappers/render.py", line 49, in _render
return self.env.render(mode=mode, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 174, in render
return self._render(mode=mode, close=close)
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 341, in _render
return self.env.render(mode, close)
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 174, in render
return self._render(mode=mode, close=close)
File "/home/sheppc/universe/universe/envs/vnc_env.py", line 552, in _render
self.vnc_session.render(self.connection_names[0])
go_vncdriver.Error: /tmp/pip-build-1cAn3k/go-vncdriver/.build/src/github.com/openai/go-vncdriver/main.go:387: go_vncdriver was installed without OpenGL support. See https://github.com/openai/go-vncdriver for details on how debug.
[2017-03-18 13:41:59,320] Killing and removing container: id=3c87dbe4dbcf57236faec41c3197b56f80c2c786b5954c11323ba7364a36a918
[2017-03-18 13:42:00,284] [0:localhost:5900] Waiting on rewarder: failed to establish rewarder TCP connection. Retry in 3s (slept 1s/7s): Connection was refused by other side: 111: Connection refused.

RUNNING THE SAME PROGRAM A SECOND TIME (OUTPUT)

sheppc@h:~/openai$ sudo python openai_learn1.py
[2017-03-18 13:45:29,210] Making new env: flashgames.DuskDrive-v0
[2017-03-18 13:45:29,217] Writing logs to file: /tmp/universe-3489.log
[2017-03-18 13:45:29,231] Ports used: []
[2017-03-18 13:45:29,231] [0] Creating container: image=quay.io/openai/universe.flashgames:0.20.28. Run the same thing by hand as: docker run -p 5900:5900 -p 15900:15900 --cap-add SYS_ADMIN --ipc host --privileged quay.io/openai/universe.flashgames:0.20.28
[2017-03-18 13:45:30,206] Remote closed: address=localhost:5900
[2017-03-18 13:45:30,208] At least one sockets was closed by the remote. Sleeping 1s...
universe-yHIbZ4-0 | Setting VNC and rewarder password: openai
universe-yHIbZ4-0 | [Sat Mar 18 20:45:30 UTC 2017] Waiting for /tmp/.X11-unix/X0 to be created (try 1/10)
universe-yHIbZ4-0 | [tigervnc]
universe-yHIbZ4-0 | [tigervnc] Xvnc TigerVNC 1.7.0 - built Sep  8 2016 10:39:22
universe-yHIbZ4-0 | [tigervnc] Copyright (C) 1999-2016 TigerVNC Team and many others (see README.txt)
universe-yHIbZ4-0 | [tigervnc] See http://www.tigervnc.org for information on TigerVNC.
universe-yHIbZ4-0 | [tigervnc] Underlying X server release 11400000, The X.Org Foundation
universe-yHIbZ4-0 | [tigervnc]
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension VNC-EXTENSION
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension Generic Event Extension
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension SHAPE
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension MIT-SHM
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension XInputExtension
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension XTEST
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension BIG-REQUESTS
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension SYNC
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension XKEYBOARD
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension XC-MISC
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension XINERAMA
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension XFIXES
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension RENDER
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension RANDR
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension COMPOSITE
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension DAMAGE
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension MIT-SCREEN-SAVER
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension DOUBLE-BUFFER
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension RECORD
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension DPMS
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension X-Resource
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension XVideo
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension XVideo-MotionCompensation
universe-yHIbZ4-0 | [tigervnc] Initializing built-in extension GLX
universe-yHIbZ4-0 | [tigervnc]
universe-yHIbZ4-0 | [tigervnc] Sat Mar 18 20:45:30 2017
universe-yHIbZ4-0 | [tigervnc]  vncext:      VNC extension running!
universe-yHIbZ4-0 | [tigervnc]  vncext:      Listening for VNC connections on all interface(s), port 5900
universe-yHIbZ4-0 | [tigervnc]  vncext:      created VNC server for screen 0
universe-yHIbZ4-0 | [tigervnc] [dix] Could not init font path element /usr/share/fonts/X11/Type1/, removing from list!
universe-yHIbZ4-0 | [tigervnc] [dix] Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
universe-yHIbZ4-0 | [tigervnc] [dix] Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
universe-yHIbZ4-0 | [Sat Mar 18 20:45:30 UTC 2017] [/usr/local/bin/sudoable-env-setup] Disabling outbound network traffic for none
universe-yHIbZ4-0 | [init] [2017-03-18 20:45:30,306] Launching system_diagnostics_logger.py, recorder_logdir=/tmp/demo
universe-yHIbZ4-0 | [init] [2017-03-18 20:45:30,308] Launching reward_recorder.py, recorder_logdir=/tmp/demo
universe-yHIbZ4-0 | [init] [2017-03-18 20:45:30,311] Launching vnc_recorder.py, recorder_logdir=/tmp/demo
universe-yHIbZ4-0 | [init] [2017-03-18 20:45:30,339] PID 57 launched with command ['sudo', '-H', '-u', 'nobody', 'DISPLAY=:0', 'DBUS_SESSION_BUS_ADDRESS=/dev/null', '/app/universe-envs/controlplane/bin/controlplane.py', '--rewarder-port=15901']
universe-yHIbZ4-0 | [init] [2017-03-18 20:45:30,377] init detected end of child process 60 with exit code 0, not killed by signal
universe-yHIbZ4-0 | WebSocket server settings:
universe-yHIbZ4-0 |   - Listen on :5898
universe-yHIbZ4-0 |   - Flash security policy server
universe-yHIbZ4-0 |   - No SSL/TLS support (no cert file)
universe-yHIbZ4-0 |   - proxying from :5898 to localhost:5900
[2017-03-18 13:45:31,209] Remote closed: address=localhost:5900
[2017-03-18 13:45:31,210] Remote closed: address=localhost:15900
[2017-03-18 13:45:31,211] At least one sockets was closed by the remote. Sleeping 1s...
universe-yHIbZ4-0 | [tigervnc]
universe-yHIbZ4-0 | [tigervnc] Sat Mar 18 20:45:31 2017
universe-yHIbZ4-0 | [tigervnc]  Connections: accepted: <IP_ADDRESS>::42624
universe-yHIbZ4-0 | [nginx] 2017/03/18 20:45:31 [error] 66#66: *1 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET / HTTP/1.1", upstream: "http://<IP_ADDRESS>:15901/", host: "<IP_ADDRESS>:10003"
universe-yHIbZ4-0 | [nginx] <IP_ADDRESS> - openai [18/Mar/2017:20:45:31 +0000] "GET / HTTP/1.1" 502 182 "-" "-"
universe-yHIbZ4-0 | [init] [2017-03-18 20:45:31,257] init detected end of child process 17 with exit code 0, not killed by signal
[2017-03-18 13:45:32,212] Using the golang VNC implementation
[2017-03-18 13:45:32,213] Using VNCSession arguments: {'subsample_level': 2, 'start_timeout': 7, 'fine_quality_level': 50, 'encoding': 'tight'}. (Customize by running "env.configure(vnc_kwargs={...})"
universe-yHIbZ4-0 | [nginx] 2017/03/18 20:45:32 [info] 66#66: *1 client <IP_ADDRESS> closed keepalive connection
universe-yHIbZ4-0 | [tigervnc]
universe-yHIbZ4-0 | [tigervnc] Sat Mar 18 20:45:32 2017
universe-yHIbZ4-0 | [tigervnc]  Connections: closed: <IP_ADDRESS>::42624 (Clean disconnection)
universe-yHIbZ4-0 | [tigervnc]  EncodeManager: Framebuffer updates: 0
universe-yHIbZ4-0 | [tigervnc]  EncodeManager:   Total: 0 rects, 0 pixels
universe-yHIbZ4-0 | [tigervnc]  EncodeManager:          0 B (1:-nan ratio)
[2017-03-18 13:45:32,220] [0] Connecting to environment: vnc://localhost:5900 password=openai. If desired, you can manually connect a VNC viewer, such as TurboVNC. Most environments provide a convenient in-browser VNC client: http://localhost:15900/viewer/?password=openai
2017/03/18 13:45:32 I0318 13:45:32.220989 3489 gymvnc.go:417] [0:localhost:5900] opening connection to VNC server
2017/03/18 13:45:32 I0318 13:45:32.226173 3489 gymvnc.go:550] [0:localhost:5900] connection established
universe-yHIbZ4-0 | [tigervnc]  Connections: accepted: <IP_ADDRESS>::42636
universe-yHIbZ4-0 | [tigervnc]  SConnection: Client needs protocol version 3.8
universe-yHIbZ4-0 | [tigervnc]  SConnection: Client requests security type VncAuth(2)
universe-yHIbZ4-0 | [tigervnc]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
universe-yHIbZ4-0 | [tigervnc]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
Traceback (most recent call last):
File "openai_learn1.py", line 11, in
[2017-03-18 13:45:32,256] [0:localhost:5900] Waiting on rewarder: failed to complete WebSocket handshake. Retry in 1s (slept 0s/7s): connection was closed uncleanly (WebSocket connection upgrade failed (502 - BadGateway))
env.render()
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 174, in render
return self._render(mode=mode, close=close)
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 341, in _render
return self.env.render(mode, close)
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 174, in render
return self._render(mode=mode, close=close)
File "/home/sheppc/universe/universe/wrappers/render.py", line 49, in _render
return self.env.render(mode=mode, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 174, in render
return self._render(mode=mode, close=close)
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 341, in _render
return self.env.render(mode, close)
File "/usr/local/lib/python2.7/dist-packages/gym/core.py", line 174, in render
return self._render(mode=mode, close=close)
File "/home/sheppc/universe/universe/envs/vnc_env.py", line 552, in _render
self.vnc_session.render(self.connection_names[0])
go_vncdriver.Error: /tmp/pip-build-1cAn3k/go-vncdriver/.build/src/github.com/openai/go-vncdriver/main.go:387: go_vncdriver was installed without OpenGL support. See https://github.com/openai/go-vncdriver for details on how debug.
[2017-03-18 13:45:32,257] Killing and removing container: id=1f64436fd1f20f6ac9090f61cdb231109fb21c439b3be63d645a4e34c39ac974
universe-yHIbZ4-0 | [nginx] 2017/03/18 20:45:32 [error] 66#66: *3 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET / HTTP/1.1", upstream: "http://<IP_ADDRESS>:15901/", host: "localhost:15900"
universe-yHIbZ4-0 | [nginx] <IP_ADDRESS> - openai [18/Mar/2017:20:45:32 +0000] "GET / HTTP/1.1" 502 182 "-" "AutobahnPython/0.17.2"
universe-yHIbZ4-0 | [nginx] 2017/03/18 20:45:32 [info] 66#66: *3 client <IP_ADDRESS> closed keepalive connection
[2017-03-18 13:45:33,261] [0:localhost:5900] Got error, but giving up on reconnecting, since 0 already disconnected

I ran pip uninstall gym and pip install gym==0.7.4 which didn't help. It broke my DuskDrive. Trying to fix it I ran pip install gym and got gym-0.9.1.
Next I tried env = gym.make('flashgames.FormulaRacer-v0') which works.
Guess we can close this issue?


Add a muted background variant

Excellent theme, I really love it, especially the syntax theme. I've made the following color overrides. There may be other colors I'll need to change to get the contrast right. But I'd love to see an official variant with a grayer background color, to help make everything else (Lualine, syntax, etc.) stand out more.
vim.g.tokyonight_colors = {bg = '#24292e', bg_dark = '#24292e', bg_sidebar = '#15181b'}

I'm not currently planning to add any other styles to TokyoNight. You can change the styles to your liking as you are doing right now. If anything wouldn't be possible this way, do let me know. Thanks

fair enough, thanks.


No code

Hi,
Your todo was never fulfilled. Can you post the code?

Hi,
Thank you for your interest. I'll post the code no later than April 10, hopefully, sooner.

The main part of the code is available now.


Adding custom localization to webspace fails sulu:build

Q
A

Bug?
yes

New Feature?
no

Sulu Version
a3a25c6543c4c6872a45956dd1770895409be39a

Browser Version
49.0.2623.110

Actual Behavior
During build the console throws
sulu_snippet.document.snippet_initializer
          [ ] snippet path:: /cmf/snippets
        sulu_core.webspace.document_manager.webspace_initializer
          [ ] homepage: /cmf/sulu_io/contents (en)

          [Symfony\Component\Debug\Exception\ContextErrorException]
          Notice: Undefined variable: homeType

when i add custom localization to the webspace
 <name>sulu.io</name>
    <key>sulu_io</key>

    <localizations>
        <localization language="en" default="true"/>
        <localization language="pl"/>
    </localizations>

(...)

Expected Behavior
I want it to build properly?

could you please run the command with the flag -vvv and post the additional informations? maybe also take a look into the log there could be some informations which is important to find out whats happen!

@papablack You are talking about the localization directly under the webspace tag, right? They are mandatory, and also the XSD says so. Or do you talk about the optional localizations under the portal tag?

@danrot The webspace tag.

@papablack Ok, then this is a misconfiguration. You have to define the locales for the webspace, since Sulu doesn't provide any defaults here. This is also part of the schema. The only thing confusing me here is the fact that you don't get a warning about a wrong configuration file, like I did when I tried that:

Can you maybe paste your entire webspace config? There seems something else to be wrong.

`

<name>sulu.io</name>
<key>sulu_io</key>

<localizations>
    <localization language="en" default="true"/>
    <localization language="pl"/>
</localizations>

<theme>
    <key>default</key>
    <default-templates>
        <default-template type="page">default</default-template>
        <default-template type="homepage">overview</default-template>
    </default-templates>

    <error-templates>
        <error-template default="true">ClientWebsiteBundle:views:error.html.twig</error-template>
        <error-template code="404">ClientWebsiteBundle:views:error404.html.twig</error-template>
    </error-templates>
</theme>

<navigation>
    <contexts>
        <context key="main">
            <meta>
                <title lang="en">Mainnavigation</title>
                <title lang="pl">Nawigacja</title>
            </meta>
        </context>
    </contexts>
</navigation>

<portals>
    <portal>
        <name>Black Sulu</name>
        <key>black_sulu</key>
        <resource-locator>
            <strategy>tree</strategy>
        </resource-locator>

        <environments>
            <environment type="prod">
                <urls>
                    <url>{host}/{localization}</url>
                </urls>
            </environment>
            <environment type="stage">
                <urls>
                    <url>{host}/{localization}</url>
                </urls>
            </environment>
            <environment type="dev">
                <urls>
                    <url>{host}/{localization}</url>
                </urls>
            </environment>
        </environments>
    </portal>
</portals>

`

right now after I found the line throwing error and commented it out, once after it builded now build comes w/o error. It just printed out that $homeType variable is not set before printing. Now it's cool.
https://github.com/sulu/sulu/blob/1.2.0/src/Sulu/Component/Webspace/Document/Initializer/WebspaceInitializer.php#L108
I'll keep watching this problem i'll try installing it anew when i finish transleting Admin into polish then i'll contact you to give you the translation it could be useful.

Is it possible that you were using an old version of Sulu? As you've mentioned it, I remembered that there was an error regarding this variable. Can you update and see if you still get the wrong error message?
And a polish translation would be super awesome 😃 Do you know how the translation works? There is a new section in the docs about that now: http://docs.sulu.io/en/latest/developer/contributing/adding-translations.html

oh thanks it will come in handy I was going to just dig with my mad analysis skills ;). Already have translated main admin file. I'm a Senior Symfony2 Developer here in Poland. Thanks for that link it will save A LOT of my time :)

So you were about to directly translate the files in web/admin/translations? Would have been lost with the next update 😉 We were already thinking about removing these files, since having built files in a repository is not nice, as you can see it is confusing, and leads to conflicts quite often. Created an issue for that: https://github.com/sulu/sulu-standard/issues/667

no i tried to overwrite translation files from app\Resources folder

ah, ok... well, would work, but might get confusing :-) Please make sure that you translate the files in https://github.com/sulu/sulu, also in every bundle :-)

yeah, I was just trying to get it working but only when i succeed i wanted
to contribute of course. I'm going to do this with proper pull request when
i'm done. Although for now i got only the AdminBundle translated.

Pozdrawiam, Jakub Pawlik / Best regards, James Pawlik
2016-04-13 13:30 GMT+02:00 Daniel Rotter<EMAIL_ADDRESS>
ah, ok... well, would work, but might get confusing :-) Please make sure
that you translate the files in https://github.com/sulu/sulu, also in
every bundle :-)
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/sulu/sulu-standard/issues/663#issuecomment-209377803

Cool 😃 Btw, can we agree on closing this issue?

aye aye sir.

I get the same error using composer create-project sulu/sulu-minimal my-project -n command (obviously after I run bin/adminconsole sulu:build dev or prod)

 [Symfony\Component\Debug\Exception\ContextErrorException]
          Catchable Fatal Error: Argument 1 passed to Twig_Function::__construct() must be an instance of string, string given, ca
          lled in .../Sulu/Component/Webspace/Manager/Dumper/WebspaceCollectionDu
          mper.php on line 26 and defined

@iBasit Which version of twig do you have installed? There was a breaking change in a recent version, so that might be the reason. Can you try to update twig once more?

        "twig/extensions": "~1.0",

@iBasit I don't think so, have just tested it, and it works perfectly fine... And I was talking about twig/twig:
This is what is installed on my machine:
 ~/Temporary/my-project $ composer show twig/twig
name     : twig/twig
descrip. : Twig, the flexible, fast, and secure template language for PHP
keywords : templating
versions : * v2.2.0
type     : library
license  : BSD 3-clause "New" or "Revised" License (BSD-3-Clause) (OSI approved) https://spdx.org/licenses/BSD-3-Clause.html#licenseText
source   : [git] https://github.com/twigphp/Twig.git 29bb02dde09ff56291d30f7687eb8696918023af
dist     : [zip] https://api.github.com/repos/twigphp/Twig/zipball/29bb02dde09ff56291d30f7687eb8696918023af 29bb02dde09ff56291d30f7687eb8696918023af
names    : twig/twig

autoload
psr-0
Twig_ => lib/

requires
php ^7.0
symfony/polyfill-mbstring ~1.0

requires (dev)
psr/container ^1.0
symfony/debug ~2.7
symfony/phpunit-bridge ~3.2

@danrot  I have tried another go with latest version 1.5.2, but unfortunately I'm still getting the same error. Following is the twig version and also PHP version installed.
name     : twig/twig
descrip. : Twig, the flexible, fast, and secure template language for PHP
keywords : templating
versions : * v2.2.0
type     : library
license  : BSD 3-clause "New" or "Revised" License (BSD-3-Clause) (OSI approved) https://spdx.org/licenses/BSD-3-Clause.html#licenseText
source   : [git] https://github.com/twigphp/Twig.git 29bb02dde09ff56291d30f7687eb8696918023af
dist     : [zip] https://api.github.com/repos/twigphp/Twig/zipball/29bb02dde09ff56291d30f7687eb8696918023af 29bb02dde09ff56291d30f7687eb8696918023af
names    : twig/twig

autoload
psr-0
Twig_ => lib/

requires
php ^7.0
symfony/polyfill-mbstring ~1.0

requires (dev)
psr/container ^1.0
symfony/debug ~2.7
symfony/phpunit-bridge ~3.2

PHP version
PHP 5.6.27 (cli) (built: Oct 24 2016 18:47:32)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Xdebug v2.4.1, Copyright (c) 2002-2016, by Derick Rethans

error
Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException' with message 'Catchable Fatal Error: Argument 1 passed to Twig_Function::__construct() must be an instance of string, string given, called in /Users/basit/projects/sulu-test/vendor/sulu/sulu/src/Sulu/Component/Webspace/Manager/Dumper/WebspaceCollectionDumper.php on line 26 and defined' in /Users/basit/projects/sulu-test/vendor/twig/twig/lib/Twig/Function.php on line 35

@danrot found the problem. It is PHP version. If PHP version below 7.  Then you will have problem. Else it will work fine.

after fixing php version I'm getting following error now from command line
sulu_core.webspace.document_manager.webspace_initializer
          [+] homepage: [overview] /cmf/sulu_im/contents (en)

          [Symfony\Component\Debug\Exception\FatalThrowableError]
          Call to a member function getProperties() on null

@iBasit So you are saying that you have PHP 5.6 installed? Then you should actually not get Twig 2 at all. Do you maybe have different PHP versions running on your webserver and on the terminal? That could cause conflicts like that.

Ya I have upgraded to PHP 7 for sulu and it finally start running, but when I run the command line for dumping data. I still get the above error.
I have check php -v, which is following from command line.
PHP 7.0.12 (cli) (built: Oct 24 2016 18:49:11) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Xdebug v2.4.1, Copyright (c) 2002-2016, by Derick Rethans

@iBasit I think whatever error you have is not related to this issue. Would you mind creating a slack account on our website? I think it is more efficient to help you out there.


please tag it

about to use it for http://cordoval.github.io/manager-tools/ :baby:

a release has been tagged since then. https://github.com/sculpin/sculpin/releases

thanks @jrobeson :older_man:

@cordoval : well close then issue then! :)


Move InMemorySubscriber from L2 to L3 client module

Bug fix: The on_receive method in the UListener class has been updated to be asynchronous. This change resolves an issue in the request handler where responses were sent using the asynchronous send API without being awaited, resulting in failures to receive the response. By making the on_receive method asynchronous, the send API is now properly awaited, thereby fixing the response handling issue.
Moved InMemorySubscriber from L2 communication to L3 client module
Bump version to 0.2.0 for major release introducing L2 and L3

LGTM


Declare smallfile_cli.py as being Python3

Packaging smallfile on Fedora 31 gives an error without this change.

Peter, I guess it's  past time to make python3 the default.   I think smallfile still runs on python2, but at this point, python3 is available on all platforms.  The user can always override by explicitly running via a "python" command, or just run an earlier release of smallfile.
However, there are other programs that should have this change too, can you add to this PR?
# grep /usr/bin/env *.py
latency_histogram.py:#!/usr/bin/env python
smallfile_cli.py:#!/usr/bin/env python
smallfile_rsptimes_stats.py:#!/usr/bin/env python

Is there a set of tests I can use to ensure the code all works well under Python3?  I am wondering if this change should instead be to use Python2 explicitly, and then later make a change to Python3 after we have verified it works with Python3.
Packaging on RHEL 7 systems will tough when we make a change to Python3.

@portante yes there is, regtest.sh is the regression test.    But I have already tested with python3 extensively, it works.   For OpenShift, RHEL7 isn't an issue because the container will be ubi8 and will have python3.   And for anyone that cares about RHEL7, just do python smallfile_cli.py instead, that works fine, I test it, anyone can with
PYTHON_PROG=python ./regtest.sh

@bengland2, where is latency_histogram.py located in the repo?

sorry, my bad, there is no latency_histogram.py (yet), it is in my git tree not in master branch.   So You are done.


Cannot find module 'google-assistant'

I'm down to the google-auth.js step, but when I run it, I get this:
module.js:471
    throw err;
    ^

Error: Cannot find module 'google-assistant'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Assistant/google-auth.js:3:25)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

I've got all the Google Assistant libraries installed based on the instructions given in the Google Dev section. Did I miss something else?

I think you'd missed something on Step 2.
Try npm install google-assistant.

@Raddy13  Did that solve your problem? If yes, please close issue.
Mine was resolved by recompiling gprc.


added Template util for escaped strings

Current dependencies on/for this PR:

main

PR #458   👈

This comment was auto-generated by Graphite.


feat: add resource fetcher to CachingInboundEventSource

Signature change but I doubt anyone use this event source as it is not currently working well.
Expiration needs a single fetcher by secondary, So I prefered seperating the behavior in a another event source as not everyone will need this.

Maybe take a look on:
https://github.com/java-operator-sdk/java-operator-sdk/blob/7603d0374400ac804ac85c09c7b866851f2d5ad7/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/ResourceEventAware.java#L5-L5
(Used in PerResourcePollingEventSource)
This might be an interesting aspect of it, so the cleanup is called if custom resource is deleted. But the first fetching (maybe event an optional periodic fetching in the background might be some nice addition. But probably in an other PR :)

Maybe take a look on:
https://github.com/java-operator-sdk/java-operator-sdk/blob/7603d0374400ac804ac85c09c7b866851f2d5ad7/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/ResourceEventAware.java#L5-L5
(Used in PerResourcePollingEventSource)
This might be an interesting aspect of it, so the cleanup is called if custom resource is deleted.

That's already there.

But the first fetching (maybe event an optional periodic fetching in the background might be some nice addition. But probably in an other PR :)

Indeed, I make another PR but it's more complicated than it appears. Doing a period fetching will become no more than a PerResourcePolling (with inbound event on top to maybe get fresh date quicker) and it's not really what this event source should do IMHO. It should only fetch data in the cache when required and not update the cache proactively when it become stale.

Thank you! The implementation looks good to me, could you add unit tests pls?

I know you will ask for but as there wasn't yet, I secretly hope you will not :)
I think it also miss an integration test to show how to use it. Should the class be derived and start/stop overriden to start/stop a web listener and bind request to the public handle mthod. Or should it be share somehow between the operator and a web listener. I'm especially wondering how it could be integrated in a quarkus operator with quarkus rest services or websocket.

Or should it be share somehow between the operator and a web listener.

It should, I think operator should not deal at this point with servlets.

Maybe take a look on:
https://github.com/java-operator-sdk/java-operator-sdk/blob/7603d0374400ac804ac85c09c7b866851f2d5ad7/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/ResourceEventAware.java#L5-L5
(Used in PerResourcePollingEventSource)
This might be an interesting aspect of it, so the cleanup is called if custom resource is deleted.

That's already there.

Ahh nice.
Shoudn't we fetch the resource for onResourceCreated ? So the reconciliation is faster.

But the first fetching (maybe event an optional periodic fetching in the background might be some nice addition. But probably in an other PR :)

Indeed, I make another PR but it's more complicated than it appears. Doing a period fetching will become no more than a PerResourcePolling (with inbound event on top to maybe get fresh date quicker) and it's not really what this event source should do IMHO. It should only fetch data in the cache when required and not update the cache proactively when it become stale.

Ok, agree, let's  stay with the simple approach for now.

Maybe take a look on:
https://github.com/java-operator-sdk/java-operator-sdk/blob/7603d0374400ac804ac85c09c7b866851f2d5ad7/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/ResourceEventAware.java#L5-L5
(Used in PerResourcePollingEventSource)
This might be an interesting aspect of it, so the cleanup is called if custom resource is deleted.

That's already there.

Ahh nice. Shoudn't we fetch the resource for onResourceCreated (async way, so the Thread is not blocked) ? So the reconciliation is faster.

It will be fetched by the getSecondaryResources ? What would be the race condition in this case ? Will it wait for the parrallel fetch to complete ?

But the first fetching (maybe event an optional periodic fetching in the background might be some nice addition. But probably in an other PR :)

Indeed, I make another PR but it's more complicated than it appears. Doing a period fetching will become no more than a PerResourcePolling (with inbound event on top to maybe get fresh date quicker) and it's not really what this event source should do IMHO. It should only fetch data in the cache when required and not update the cache proactively when it become stale.

Ok, agree, let's stay with the simple approach for now.

@metacosm this LGTM, pls take a look if you will find some time.

@scrocquesel could you rebase this to the next branch? and target next with the PR. next contains the next minor release with new features, main is usually there for patching.


How about making a decode lib?

Great works! I learned a lot from this lib. Right now, I am trying to make apng from a png list. However, I encountered some problems. I would like to know your implement, could you enlighten me?

I had the same requirement a while ago, feel free to take a look at https://github.com/ray007/apng-as.js

@ray007 good work, but the code is hard to understand. Could you tell me If I just put 4 bytes of sequence number ahead of IDAT chunk to make it as an fdAT chunk then assemble them to an apng, why is this apng broken? Does IDAT chunk needs more treatment?

Sorry, I put in enough effort to get the assembling working a couple years ago, but I do not know enough about png to answer your question.

I know what I did wrong:

fcTL should share sequence number with fdAT
pay attention to img width and frame width.( I set the dimension wrong)

For the following, I used the same thoughts with author to write an encode approach. See here: apng-handler


MathJax_SVG_glyphs missing xmlns

mathjax-node-page outputs a big svg element at the very end of an input (X)HTML file that contains a defs with @id=MathJax_SVG_glyphs. The svg does not have an @xmlns attribute set, and this seems to be preventing browsers (or ePub readers, which is my ultimate output destination) from being able to use the definitions. If I add xmlns="http://www.w3.org/2000/svg" to that final svg element then I get the desired result. I can't figure out what adds that svg, so I'm not able to submit a pull request on my own to fix the problem, unfortunately.

Thanks for the report. I remember running into the same problem elsewhere and vaguely recollect a jsdom serialization issue. Will have to find time to check.
FWIW be sure to test support for a global SVG element in epub3 reading systems -- some RSs do not handle them well (though my latest tests indicate that all major RSs are ok now).

Having good luck so far with the major ones. Rasterization for Kindle is a different ballgame, unfortunately. (This is all work for the PreTeXt project, btw. Right now it's easy to find the one svg missing its @xmlns and add it using sed, but it will be great to have this fixed when you have a chance to find the source of the problem.)

@mitchkeller I cannot reproduce this on master. Could you give it a try (the code on master has not yet been released).

Oh, nevermind. I see it.

It looks like a jsdom serialization issue. Adding the namespace as an attribute seems to work.


Improve download display for end users

https://github.com/huggingface/huggingface_hub/blob/3ae8d53cd0bd2be11ba531674e01186ed5eee2ef/src/huggingface_hub/file_download.py#L990
Users of my project are suggesting that the downloads better highlight a) size of the download b) where it is being stored.
I think some the size information is partially being shown but the location could also be highlighted.
Here's the discussion: https://github.com/rsxdalv/tts-generation-webui/discussions/186

Hey @rsxdalv, I am not sure where/how you would prefer to have this information. At the moment:

hf_hub_download returns the path to the cached file
snapshot_download returns the path to the cached folder
downloading a huge file displays a progress bar with the remaining time + file size:

decoder_model_merged.onnx:   3%|███▋                                                                                | 21.0M/655M [01:26<35:37, 297kB/s]

at INFO level, we log the URL

downloading https://huggingface.co/gpt2/resolve/11c5a3d5811f50298f278a704980280950aedb10/README.md to /home/wauplin/.cache/huggingface/hub/tmpnjup4c8c

at DEBUG level, we have more logs: symlink creation, moving files,...

About cache management, the best resource we have to understand how it works and how to configure it is this guide.

Please let me know if you have a more precise suggestion on what to add/what to change. Thank you in advance!

Thank you for the detailed response! It's a great usage of log levels, and perhaps enabling users access to these would already give them the full awareness they are looking for.
If I was to go by the original post I received, I would ask - would it make sense to add:
Saved to ...

when using INFO?
I understand that this information is API accessible but here's what I'm stacked up against: newer models, such as Bark, have fully embraced the hub and have this code backed into them. Getting this information would require changing the model's code. Meanwhile, if I want to support a pipeline of functions, I'm bound to have multiple models (i.e. generation + upscaling).

Sorry I reread the original and noticed that there's the file path as well. In this case, INFO should be all I need, great!

Ah, great to hear! I was about to dig again into to look at what I could change but let's not change anything then. Ok for you to close the issue now?

Tell you what, I will close but if there's someone else or if I have a problem I will reopen.
Thank you!

Yes sure, feel free to reopen any time! :hugs:


feat: filter events by profile places

Description :sparkles:

Add ability to filter events by locations that are in the profile.

Issues :bug:
Closes :no_good_woman:
PT-1203:
Related :handshake:
Testing :alembic:
Automated tests :gear:
yarn test EventsPage
Manual testing :construction_worker_man:
Screenshots :camera_flash:

Additional notes :spiral_notepad:

Codecov Report

Merging #222 (aa43bd6) into master (f998336) will increase coverage by 0.21%.
The diff coverage is 97.61%.

@@            Coverage Diff             @@
##           master     #222      +/-   ##
==========================================
+ Coverage   78.83%   79.05%   +0.21%
==========================================
  Files         223      224       +1
  Lines        4097     4139      +42
  Branches     1252     1260       +8
==========================================
+ Hits         3230     3272      +42
  Misses        840      840
  Partials       27       27

Impacted Files
Coverage Δ

src/hooks/useProfilePlaces.ts
96.66% <96.66%> (ø)

src/domain/events/EventsPage.tsx
93.24% <100.00%> (+2.92%)
:arrow_up:

Continue to review full report at Codecov.

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


rule(macro root_dir): correct macro to exactly match the /root dir and not other with just /root as a prefix

What type of PR is this?
/kind bug
/kind rule-update
Any specific area of the project related to this PR?
/area rules

What this PR does / why we need it:
:point_right: #1141
Which issue(s) this PR fixes:
Fixes #1141
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
rule(macro `root_dir`): correct macro to exactly match the `/root` dir and not other with just `/root` as a prefix

/milestone 0.24.0

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign mstemm
You can assign the PR to them by writing /assign @mstemm in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/cc @Kaizhe

LGTM label has been added.  Git tree hash: 3d2ea93ad566ca65f80c0a8368e5bde2617d3fef

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz, leodido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [fntlnz,leodido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/hold

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign fntlnz
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign fntlnz
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign fntlnz
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Requested change added by https://github.com/falcosecurity/falco/pull/1279/commits/5f0d1b832a0a6b689050a96938b3b9ef8b24cadb
/hold cancel
Pls @Kaizhe review this again. Thanks in advance

Change requested applied by https://github.com/falcosecurity/falco/pull/1279/commits/5f0d1b832a0a6b689050a96938b3b9ef8b24cadb
Please review again
/hold cancel
Thanks!

LGTM label has been added.  Git tree hash: 35335c202f492ebad59b38f842556ffe256ed5c4

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Kaizhe
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [Kaizhe]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Kaizhe, leodido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [Kaizhe,leodido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Can't add any pre/post actions

I don't see any buttons to add actions.
Linux, Unity 2018.4

Might be a dumb question, but have you added some/all of the build actions (https://github.com/Chaser324/unity-build-actions) to your project?

Oops, i didn't realize they are placed in other project. Thanks!


fast market cancel pending - stuck orders how to remove them

fast market cancel pending - stuck orders how to remove them.
Its possible to get pesky stuck orders... which did not return in a callback to move on....
NT8 makes no effort to deal with these...
there are 2 in this screen shot

Super renko 2 tick at the NQ open  -obviously untradeable - but simply a soak test.  produced 2 stuck orders on chart

So to deal with these...
#1 to remove from realtime view
#2 to remove from the DB so they are gone without an account reset
#2 is easist in fact..

"#2 is easist in fact.."
Agreed.
My "lets not play around and get something done" aggressive soak testing" adds about 100MB to the NT8 db per day and sometimes 2-10 hung orders.
How many hours to you need to give up your machine to do a reset on that DB each day?
Dont know, cant give up the hours of machine time for reset so just delete it and replace.
I have decided that when I have time I will create a very small version of the db I like with trading hours templates I use etc and then copy it to a changed name as a ready Archived version.
When just heavy testing will take place copy the real db to a temp holding name and copy test version db Archive in to be used as the db during testing.   At end of test delete the 120MB db and copy back the production version

When orders hang in a 'throw away' testing sim account db I just add another sim account to that db to test against to hung orders can be sure to not impact testing

Yep agreed,. i got some code that monitors for Stuck orders and deals with them from within an AddOn class


[Enhancement] Modify the sampling strategy for histogram statistics

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

[FE PR Coverage Check]
:disappointed: fail : 25 / 79 (31.65%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/BinaryPredicateStatisticCalculator.java
0
1
00.00%
[58]

:large_blue_circle:
com/starrocks/statistic/HistogramStatisticsCollectJob.java
0
38
00.00%
[43, 44, 45, 46, 64, 65, 66, 68, 69, 70, 71, 73, 79, 80, 81, 82, 84, 85, 86, 88, 104, 106, 108, 109, 111, 112, 113, 114, 116, 119, 120, 122, 123, 125, 128, 129, 130, 132]

:large_blue_circle:
com/starrocks/statistic/StatisticExecutor.java
1
11
09.09%
[139, 140, 142, 143, 144, 145, 147, 148, 149, 150]

:large_blue_circle:
com/starrocks/sql/analyzer/AnalyzeStmtAnalyzer.java
3
6
50.00%
[196, 197, 198]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ColumnHistogramStatsCacheLoader.java
6
8
75.00%
[131, 166]

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/Histogram.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/statistic/StatisticsMetaManager.java
6
6
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 53 / 79 (67.09%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/BinaryPredicateStatisticCalculator.java
0
1
00.00%
[58]

:large_blue_circle:
com/starrocks/statistic/StatisticExecutor.java
1
11
09.09%
[139, 140, 142, 143, 144, 145, 147, 148, 149, 150]

:large_blue_circle:
com/starrocks/sql/analyzer/AnalyzeStmtAnalyzer.java
3
6
50.00%
[196, 197, 198]

:large_blue_circle:
com/starrocks/statistic/HistogramStatisticsCollectJob.java
28
38
73.68%
[64, 65, 66, 68, 69, 70, 71, 73, 112, 114]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ColumnHistogramStatsCacheLoader.java
6
8
75.00%
[131, 166]

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/Histogram.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/statistic/StatisticsMetaManager.java
6
6
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 55 / 81 (67.90%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/BinaryPredicateStatisticCalculator.java
0
1
00.00%
[58]

:large_blue_circle:
com/starrocks/statistic/StatisticExecutor.java
1
11
09.09%
[139, 140, 142, 143, 144, 145, 147, 148, 149, 150]

:large_blue_circle:
com/starrocks/sql/analyzer/AnalyzeStmtAnalyzer.java
3
6
50.00%
[196, 197, 198]

:large_blue_circle:
com/starrocks/statistic/HistogramStatisticsCollectJob.java
24
34
70.59%
[59, 60, 61, 63, 64, 65, 66, 68, 107, 109]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ColumnHistogramStatsCacheLoader.java
11
13
84.62%
[131, 166]

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/util/DateUtils.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/Histogram.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/statistic/StatisticsMetaManager.java
6
6
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 50 / 77 (64.94%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/BinaryPredicateStatisticCalculator.java
0
1
00.00%
[58]

:large_blue_circle:
com/starrocks/statistic/StatisticExecutor.java
1
11
09.09%
[139, 140, 142, 143, 144, 145, 147, 148, 149, 150]

:large_blue_circle:
com/starrocks/sql/analyzer/AnalyzeStmtAnalyzer.java
3
6
50.00%
[196, 197, 198]

:large_blue_circle:
com/starrocks/statistic/HistogramStatisticsCollectJob.java
24
34
70.59%
[59, 60, 61, 63, 64, 65, 66, 68, 107, 109]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ColumnHistogramStatsCacheLoader.java
11
14
78.57%
[79, 132, 167]

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/util/DateUtils.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/Histogram.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/statistic/StatisticsMetaManager.java
6
6
100.00%
[]

run starrocks_admit_test

run starrocks_be_unittest


Getting jibberish when using LANG_SWEDISH

Hi, which files are neccessary for the OCR to work with Swedish? I downloaded the swe... file but it seems it doesn't work. Do I need the whole /tessdata folder with every language - or is it enough to just use a couple of them?

@mikasjoman I'm really sorry for not replying but I'm traveling in Costa Rica and it makes me a bit difficult to connect to the internet 😢 But I will be working ASAP or when I'm already at home. Best regards. Pura Vida!! :costa_rica: ✌

Hi - any progress on this? Do you know if there is any other way to do OCR with react native that makes the Swedish ÅÄÖ characters come out? I am trying to help my immigrant wife study medical Swedish, and she needs my app to be able to learn faster.

Hi @mikasjoman
I just released a new version that implements tess-two 6.2.0. I have also updated the documentation with the correct version of the trained data files because I found it could be one of the causes of the problem.
Please try with<EMAIL_ADDRESS>and let me know if it solves this issue. :v:

@mikasjoman answering to your question "Do I need the whole /tessdata folder with every language - or is it enough to just use a couple of them?"
You just need the ".traineddata" files of the langs that you would like to use.
Also for this question check if you're not scaling or resizing your image because it could prevents a good text output quality. For more information about this check #11

Since this issue hasn't had activity in a while I close it. In the same way if someone believes that the solutions raised don't meet the requirement, feel free to reopen


Add Lightbox Feature for Viewing Full-Size QRZ.com Profile Images on Add QSO Page

What Feature is Missing?
I believe the ability to view a QRZ.com profile image in full size when adding a QSO would be great. Currently, the profile image displayed on the Add QSO page is a bit small, which is understandable due to the limited space on the webpage. However, it would be useful if users could click on the image to enlarge it, without needing to right-click and open it in a new tab. A "lightbox" effect would allow users to click on the image to view it in its full resolution within the same page, and then easily dismiss the enlarged view by clicking outside the image or pressing the escape key.
This can be achieved by implementing a lightbox-style functionality, where the thumbnail is clickable, and an overlay with the full-size image appears, providing a seamless and user-friendly experience. This approach is used widely in modern web applications for displaying images and offers an elegant way to avoid opening new browser tabs.
Why is This Feature Important?
This feature would greatly improve the usability and user experience of Wavelog, particularly for users who wish to see QRZ.com profile images in greater detail when managing their QSO entries. Instead of going through the extra steps of right-clicking and opening a new tab for a larger view, users would have a more convenient, intuitive way to quickly view and dismiss the full-size image.
In addition, this enhances the visual presentation of Wavelog and makes it more user-friendly for hams who value efficiency when managing QSOs.
Is This Feature Personal or Beneficial to Others as Well?
This feature would be beneficial to the broader Wavelog community. Many users likely want to see full-size QRZ.com profile images without the hassle of opening a new tab, which interrupts the flow of adding or editing QSOs. The lightbox functionality is a common and familiar pattern used across the web, and implementing it in Wavelog would enhance the experience for all users who manage QSOs and reference QRZ.com profiles during logging.

to make sure i understand your feature request correct: you like to get a "enlarge" button on the image??
Have you seen the little "globe" with the QRZ-Logo next to the callsign (See screenshot)?
A single click (left mouse key) on it opens the whole qrz-page of the user - in a new Tab. Very convenient, because there's much more information than only a picture.

Thanks for your response. No, I'm not suggesting an "enlarge" button. The functionality I’m referring to is demonstrated at the Lightbox2 Demo Page. It allows the image to quickly open in full scale and then close just as easily without needing to leave the Wavelog page.
Yes, I’ve seen the globe icon and use it frequently to look up QRZ.com info. However, that process involves a click to open the QRZ.com page in a new tab, another click to enlarge the profile image, and then two more clicks to return to Wavelog. In a CW QSO, I don’t have time to go through all of that.
The QSO logging page is a perfect use case where lightbox excels, providing a quick and easy way for the user to view the profile image without multiple steps.

ok. tbh: it's kind of "enlarging" but with cosmetics.
imho nothing urgent, just a little adjustment to make Wavelog look a bit more shiny.
tnx for the idea.

@besynnerlig
See the linked PR which solves your request :)

@besynnerlig
See the linked PR which solves your request :)

Thank you so much for the quick action and the PR! I really appreciate how swiftly you addressed the request. It’s great to see how responsive the Wavelog team is, and I’m excited to see the feature in action. Your effort in making this improvement is truly appreciated!

Spread the word ;)
So we (or u) can close this issue?!

Yes! Thanks!


xcpEngine v1.2.3 incorrectly shows "v1.2.1" as ouput of "xcpEngine -v"

I pulled xcpEngine v1.2.3 from docker hub (using singularity pull) but it shows an incorrect version number.
Singularity xcpengine_latest.sif:~> xcpEngine -v
Received options: -v
xcpEngine-v1.2.1

When I checked at the current repo it looks like there is an incorrect version number at:
https://github.com/PennBBL/xcpEngine/blob/master/core/VERSION

Hi, following up on this as this - this is one of the errors that I'm getting using that same container:
Current processing step:
getting data from fmriprep directory
····································································
cp: cannot stat '/data/DNU/liza/data/XXY/Nifti/derivatives/fmriprep/sub-NDARINV8XENUGU9/ses-v01/func/sub-NDARINV8XENUGU9_ses-v01_task-rest_desc-confounds_regressors.tsv': No such file or directory

I thought that this was resolved with v1.2.3 (to be compatible with the latest fMRIPrep naming conventions), but I noticed that the actual version of the aforementioned container is still 1.2.1.
Thank you for your help!

Hi @ulloaa and @llevitis
Thank you very much!
@ulloaa , the version as reported on the docker image is correct. We have made correction in the script
@llevitis, yes v1.2.3 is compatible with LTS , I expect the current docker or singularity image to pick *task-rest_desc-confounds_timeseries.tsv  not  *regressors.tsv

This issue has been resolved once the new container was pulled. Thank you!


spline ui #213 update node version to support m1

fixes #213

node v16.9.1 is available for m1 and seems to be causing no issues.
I am not sure if the node update could cause any other problems for the project?


keydown function conflict

Hi all
an addition I made to increase clicker compatibility worked well but may conflict with accessibility features. I've commented on this in the previous commit https://github.com/thexerteproject/xerteonlinetoolkits/commit/3edf6802617037661d54b1187180256fa4ae1ddd but hoping to discuss with someone to see if there is a solution that works in a way that maintains both features.

I think this is affecting other pages too - yesterday I was testing a new page I've just finished and was changing the page on accident when I was trying to change the option I had selected in a MCQ when using keyboard controls. So it probably affects all similar pages - quiz, mcq etc.

Yes sorry Fay I should have been clearer was just using the button nav as an example. Quick fix is to remove or comment out the key 38 and 40 detection but would be good if we could work out a way to keep both features e.g. only use those keys for page navigation when no other buttons have focus.

Perhaps config via url params to define navigation keys


When a collection is updated with an existing collection name, raises an Exception

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

Fixes #343

Test plan
How are these changes tested?
Added three api._modify  tests:

Update with a new name
Update with new metadata
Update with a name of an existing collection

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

Here goes my first PR, sorry.
I just added the poor man's unique constraint  implemented in create_collection.

Thank you so much! Will take a look.

Not urgent, but a note for later:
modify() should be a method owned by the client object rather than the collection object.
Perhaps modify metadata() but not modify its own id since the client object is managing list of collection objects.

Closing in favor of #519


Argument passed to selector

Would be great if one selector can receive one object with the values of the text fields.

Yes this would be great.  hint hint

agreed


Should ___vite_plugin_ssr__pageContext end up in the resulting HTML?

Trying to minimize my bundle and noticed the resulting HTML files after build contain a large data object for this plugin, is this supposed to happen or do I have my config set up wrong? Thanks!
   <script>       window.___vite_plugin_ssr__pageContext = {             [ .... ]       };     </script>

Yes

it is really necessary ? it increases a lot the page size ...

It is.


packaging: Debian packaging is broken yet again

Current debian install rules to not take care to install the correct version.h that pretty much make the whole -dev package unusable.
@texane Just to remember, I'll try to dive and fix it when I have a spare minute.

I quote:

Do we really need to duplicate all the file installation rules in debian/rules? I suggest we do as much of the installation as possible with CMakeLists.txt, so that debian/rules would do as much as possible automatically.
Is there any rationale for building both debug and release builds of stlink when packaging?

I agree. we need to use the install target of cmake.
We building a package we should only build release.

Use of cmake install would be better in terms of maintenance.
I am not sure how to tell cmake where to install
adapt debian/*.install files to copy from cmake install dir, instead of from debian/tmp
or you can manage to install to debain/tmp with cmake
cmake should handle multiarch library paths
Just that tests depends on debug build. The build stage calls make all and all depends on release. The tests stage calls make test and test depends on debug. This is why both where build. I think automated tests where a good thing and should run, but you can disable it by add override_dh_auto_tests: to debian/rules, if you want.

You can tell cmake to install into DESTDIR with make install. See https://cmake.org/cmake/help/v3.0/variable/CMAKE_INSTALL_PREFIX.html

@OsterlaD As @texane noted, you can just add DESTDIR= make install. In debian rules you don't have to mention this, as default debian stuff gets the job done already. Basically:
override_dh_auto_configure:
        dh_auto_configure -- \
        -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)

Is the only thing required and the only thing that I keep around my projects. dpkg does the rest automatically.
@texane For my projects (See http://github.com/nekromant/aura) I add tests for production builds as well, but only those that don't require hardware connected by default. They are just not installed during the 'make install' phase. If dpkg-buildpackage won't find any tests it just won't run any, and since we have a CI I really think we can safely skip tests for packaging.

@nekromant i'm @xor-gate :=) not @texane :D

I thought about this way too.
dh_auto_build will call make all, which calls cmake at its own.
This is why dh_auto_configure has no effect.
So I removed code from dh_auto_configure.
There is no make install.

We could add make install  to the toplevel Makefile which just calls make install in the release build

Sounds good. Maybe I have some time to try it later on.

@xor-gate I'll give it a proper try tomorrow.

#484 use of make install
Lintian has some suggestions

rename package to libstlink1, but that conflicts cmake libstlink look-up
move lib links to dev pkg

I would like to add a postinst script to libstlink to reload udev rules.

I think this is now completely resolved?

@xor-gate This is more like optional polishing. Postinst would be nice.
As for lib links, AFAIK I've done that already.

If you guys don't mind I will close this for now, as this topic was used mostly for discussion. When there specific are debian-related thinks need to be fixed we can open new issues. Thanks all for your effort!

Finally closed by #485.


AVIF format status

Hey there! Just wanted to quickly check in on the status of AVIF. Would you be interested in any contributions to get it into the library?
image supports some AVIF files, which makes it a better option for a general, inclusive use case, particularly when interacting with user images directly. However, this library benefits a lot from hindsight, and I adore the comfy API!
AVIF has some issues with portability if you use the reference implementation, but rav1e might help there. (strong name!)

Encoding: Taken care of with rav1e :)
Decoding: This is a bit harder! Seems to require mp4parse which can have difficulties with some niche files. I'm unaware of alternatives here.

It's also worth considering that image doesn't yet support 10-bit AVIF.

Yes, AVIF support would be greatly appreciated. It was originally planned to be after the initial stable release (1.0), but obviously there is no harm in getting it in RIL before so.

thank you for the super helpful description! i'll take these into consideration :)


gdal: 2.2.4 -> 2.3.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/gdal/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdal2tiles.py-wrapped -h’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdal2tiles.py-wrapped --help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdal2tiles.py -h’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdal2tiles.py --help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdalident.py-wrapped -h’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdalident.py-wrapped --help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdalident.py-wrapped help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalident.py -h’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalident.py --help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalident.py help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.mkgraticule.py-wrapped help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/mkgraticule.py help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalsrsinfo help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/ogrinfo help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/testepsg -h’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/testepsg --help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/testepsg help’ got 0 exit code
ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdal-config --version’ and found version 2.3.0
found 2.3.0 with grep in /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0
directory tree listing: https://gist.github.com/b6bcad3891a98e65991899121540cc85
du listing: https://gist.github.com/f89d55b943a68b1550b8eff3f204f27f

meta.description for gdal is: '"Translator library for raster geospatial data formats"'.
cc @marcweber for testing.

Success on x86_64-linux (full log)
Attempted: gdal
Partial log (click to expand)
shrinking /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/lib/python2.7/site-packages/osgeo/_gdalconst.so
shrinking /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/lib/python2.7/site-packages/osgeo/_gdal.so
shrinking /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/lib/python2.7/site-packages/osgeo/_gdal_array.so
shrinking /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/lib/python2.7/site-packages/osgeo/_ogr.so
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/lib  /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin
patching script interpreter paths in /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0
/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdal-config: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0...
/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0

Success on x86_64-darwin (full log)
Attempted: gdal
Partial log (click to expand)
wrapping `/nix/store/6ak0h00s8zb0k8hk95pshz21ab6mn0qz-gdal-2.3.0/bin/mkgraticule.py'...
wrapping `/nix/store/6ak0h00s8zb0k8hk95pshz21ab6mn0qz-gdal-2.3.0/bin/ogrmerge.py'...
wrapping `/nix/store/6ak0h00s8zb0k8hk95pshz21ab6mn0qz-gdal-2.3.0/bin/pct2rgb.py'...
wrapping `/nix/store/6ak0h00s8zb0k8hk95pshz21ab6mn0qz-gdal-2.3.0/bin/rgb2pct.py'...
glibPreFixupPhase
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/6ak0h00s8zb0k8hk95pshz21ab6mn0qz-gdal-2.3.0/lib  /nix/store/6ak0h00s8zb0k8hk95pshz21ab6mn0qz-gdal-2.3.0/bin
patching script interpreter paths in /nix/store/6ak0h00s8zb0k8hk95pshz21ab6mn0qz-gdal-2.3.0
/nix/store/6ak0h00s8zb0k8hk95pshz21ab6mn0qz-gdal-2.3.0/bin/gdal-config: interpreter directive changed from "/bin/sh" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/sh"

Failure on aarch64-linux (full log)
Attempted: gdal
Partial log (click to expand)
               ^~~~
/build/hdf-4.2.13/hdf/src/hfile.h:491:15: error: unknown type name 'int32'
     HDFLIBAPI int32 HDget_special_info
               ^~~~~
/build/hdf-4.2.13/hdf/src/tbbt.h:219:36: error: unknown type name 'VOIDP'
                 (TBBT_TREE * tree, VOIDP key, TBBT_NODE ** pp);
                                    ^~~~~
building of '/nix/store/4fd2fv1lzqnkxhp2gx9mwc70iacygh1z-hdf-4.2.13.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/36lsg9j46x21i92xdvqv3q32hm4g88gg-gdal-2.3.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/36lsg9j46x21i92xdvqv3q32hm4g88gg-gdal-2.3.0.drv' failed


Read bio from db in user profile page

depends on #120

Update:
I am closing this issue for the following reasons:

Masterbots Search branch is no longer part of the current path. See more in develop-based branches about the ICL path instead

Update:
I am closing this issue for the following reasons:

Masterbots Search branch is no longer part of the current path. See more in develop-based branches about the ICL path instead


Attempting to set imageView of a UITableViewCell

Not sure if this is a bug or I am missing something in my code.   When I set the imageView object of a UITableViewCell nothing happens.
cell.imageView?.setFAIconWithName(FAType.FAGithub, textColor: UIColor.blackColor())
Thanks for your assistance

I overcame this issue by setting the frame size before setting the icon
cell.imageView?.frame.size = CGSize(width: 30, height: 30)`

@stevenlevin
Works for me! Thanks!


Attempt to calculate the remainder with a divisor of zero for MOD32 in interpreter

Details
In the implementation of MOD32, it checks whether the 64-bit source value  is zero. However, during the modulus computation, the source is casted to 32-bit, which could still be zero, e.g., 0xffff0000. According to the kernel ebpf standard, we should check the modulo by zero by checking the nullness of the 32-bit source value.
https://github.com/torvalds/linux/blob/610a9b8f49fbcf1100716370d3b5f6f884a2835a/Documentation/bpf/standardization/instruction-set.rst?plain=1#L246-L251

If execution would result in modulo by zero, for BPF_ALU64 the value of
the destination register is unchanged whereas for BPF_ALU the upper
32 bits of the destination register are zeroed.

The current implementation of MOD32_IMM and MOD32_REG lacks the check to the lower 32 bits of source value.
https://github.com/qmonnet/rbpf/blob/4812c52fe1009ee1e3c2307662d175bdd07b5c71/src/interpreter.rs#L230-L233
The following PoC program would cause the attempt to calculate the remainder with a divisor of zero panic in the interpreter:
lddw r1, 0x100000000
mod32 r0, r1
exit

Result:
attempt to calculate the remainder with a divisor of zero
thread '' panicked at 'attempt to calculate the remainder with a divisor of zero', src/interpreter.rs:235:47
stack backtrace:
...
   3: rbpf::interpreter::execute_program
             at ./src/interpreter.rs:235:47
   4: rbpf::EbpfVmMbuff::execute_program
             at ./src/lib.rs:300:9
   5: rbpf::EbpfVmRaw::execute_program
             at ./src/lib.rs:1221:9
   6: rbpf::EbpfVmNoData::execute_program
             at ./src/lib.rs:1581:9

Suggestion
Check nullness of 32-bit casted source value before modulus

Good catch, thank you!


When upgrading pip, don't warn there's a new version of pip available

Fixes https://github.com/actions/setup-python/issues/233.
I often see "errors" like this when testing Python 3.10:

https://github.com/bridgecrewio/checkov/actions/runs/1325650057

WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available. You should consider upgrading via the '/opt/hostedtoolcache/Python/3.10.0/x64/bin/python -m pip install --upgrade pip' command.

Several problems here:

It's a warning, but shown as an error ("2 errors" in screenshot).

The "error" doesn't fail the build (this is actually a good thing, but still confusing).

There's nothing I can actually do about this, it happens during actions/setup-python.

False warnings mean people start to ignore real warnings.

And ironically it warns to upgrade pip at the same time it is actually upgrading pip!

Let's disable the warning/error using:
  --disable-pip-version-check
                              Don't periodically check PyPI to determine whether a new version of pip is available for
                              download. Implied with --no-index.

Local test, first install an old version and then test the install command:
Before
$ python -m pip install pip==21.2.3

Collecting pip==21.2.3
  Using cached pip-21.2.3-py3-none-any.whl (1.6 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.2.4
    Uninstalling pip-21.2.4:
      Successfully uninstalled pip-21.2.4
Successfully installed pip-21.2.3
$ python -m pip install --ignore-installed pip --no-warn-script-location
Collecting pip
  Using cached pip-21.2.4-py3-none-any.whl (1.6 MB)
Installing collected packages: pip
Successfully installed pip-21.2.4
WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available.
You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.9/bin/python3 -m pip install --upgrade pip' command.

After
$ python -m pip install pip==21.2.3

Collecting pip==21.2.3
  Using cached pip-21.2.3-py3-none-any.whl (1.6 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.2.4
    Uninstalling pip-21.2.4:
      Successfully uninstalled pip-21.2.4
Successfully installed pip-21.2.3
$ python -m pip install --ignore-installed pip --disable-pip-version-check --no-warn-script-location
Collecting pip
  Using cached pip-21.2.4-py3-none-any.whl (1.6 MB)
Installing collected packages: pip
Successfully installed pip-21.2.4

We've successfully rebuilt the following Python versions:

3.11.0-alpha.1
3.10.0
3.9.6
3.8.12
3.8.10
3.8.6

Can you rebuilt also 3.9.7 please?

Hugo pointed me to this issue today, as I encountered this problem in a CI run for Python3.5-based project.
I know I know, while Python 3.5 is eol upstream, distros still support it for years to come.


Bug Selecting multiple shortcouts

In version 0.2 when you select several shortcouts and one of them is a windows app shortcout and  try to add them the program does strange things, sometimes it adds them as a subgroup but when you are editing the group and you select the subgroup it fails showing only one icon and throwing an exception.
PS: I love your work

I can't exactly reproduce this currently.
To confirm, this happens when you drag and drop/select multiple shortcuts with one being a windows app store shortcut into the application.

I can't exactly reproduce this currently.
To confirm, this happens when you drag and drop/select multiple shortcuts with one being a windows app store shortcut into the application.

I have done some tests and I have realized that the problem only occurs with games, applications such as spotify or others from the microsoft store work without problems but in the games they do not work. Maybe it's because these games are downloaded from the xbox application.

I will look into that right away.

Found the issue and will be fixed in the next update

Found the issue and will be fixed in the next update


Add jinzhongjia/LspUI.nvim

Checklist:

[x] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] It's not already on the list.
[x] The title of the pull request is Add/Update/Remove `username/repo`  when adding a new plugin.
[x] The description doesn't start with A Neovim plugin for... or A plugin for..., and doesn't end with ... for Neovim.
[ ] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized).

Thanks for the PR! The changes you've made don't adhere to the checklist, I've deselected the item(s) that need to be fixed.

I don't understand the meaning of unchecking the number of items, and the description does not mention that it is a plugin for neovim


An algorithm to identify functional groups in organic molecules

Maybe interesting to have in rdkit:
https://jcheminf.springeropen.com/articles/10.1186/s13321-017-0225-z

Agreed, that is an interesting paper

Very interesting, that would be great to have it.
BR, guillaume
2017-07-28 5:52 GMT+02:00 Greg Landrum<EMAIL_ADDRESS>
Agreed, that is an interesting paper
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rdkit/rdkit/issues/1512#issuecomment-318551300, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABIbYtM6LRKXa9rP9H7JXLnir2azFg5bks5sSVsXgaJpZM4OmCPy
.

Resolved by #1813

thanks a lot!


Missing CMake option for PB_FIELD_32BIT ?

I have a need for an app that requires PB_FIELD_32BIT to be set.  Since we used the nanopb as a static library that would imply we need to enable that would set the option and adjust the static library "public" definitions flags to also set the PB_FIELD_32BIT, does that make sense?
I can do the work to add the CMake option and the target_compile_definitions(), etc, but I am basically just trying to see if I miss something.

I think it would be excessive to have CMake wrappers for each build option nanopb has. There is probably some other way to directly specify compilation options for CMake, but I don't know how it works.

I have been playing on this and create a patch to set:
+        target_compile_definitions(protobuf-nanopb PUBLIC
+            PB_FIELD_32BIT
         )

when doing such a change when someone include nanopb target as a link element, the flags automatically move to the application linking with the library as well, so the application would do something like:
target_link_libraries(myapp PRIVATE nanopb::protobuf-nanopb)

And that would ensure the app aldo get the -DPB_FIELD_32BIT added.
Next thing I am missing is having this flag as an option in the conan recipe, so that one can turn it on in a conan profile, so that it gets set in cmake and then gets set in the gcc flags chain of application linking with nanopb.
If you do not want to spend time on this, will you be open to receive a PR about it once I am completed?

I would not implement all flags, but the work would give the road for people to add more flags as they need basically.

I'm not against it in principle. For builds on high-powered systems (where CMake & Conan would be more common as build systems), PB_FIELD_32BIT might even be a sensible default option.


Use select_related to optimize "view full index" page of a source.

Previously, the "view full inventory" link on NewCantus was very slow to load (~30s). This is because the queries are fetching the office, feast, and genre descriptions for each chant. To fix this we can use select_related to fetch the related office, feast, and genre objects.
Fixes #872

Adding metrics here:
On develop (locally):

source 123617 loads in 1 min 30s
18600 queries
This branch:
Source 123617 loads in 5 seconds
6 queries


WIP: Feature/adding uitests to pull requests

Damn, i wasnt finished with this branch, but thats okay.

Final commit here:
https://github.com/covid19risk/covidwatch-ios/pull/99

I’ll make my WIP more clear next time. I wasn’t ready for this to go either. The uitests fail frequently and I was trying to figure out how bad it is.


i think that the member variable locked in QNode need declare as volatile

like that
public class QNode {
    volatile boolean locked = false;
}

@fengshuu
I think you are right as otherwise it should get stuck in while(m.locked) Thread.yield(); loop.
However on running it, both with and without volatile, observed no difference. Maybe this because the while-loop is not busy check, but with Thread.yield(). So every time the thread is resumed, it performs the memory access.
It is nice to think about think about multithread sometimes, thanks for your suggestion.


Too many redirections in Sign Up

Hi, I found a error while working on ORCID authentication. I'm working on v1.0.3 but It occurss too in last release.
Expected behaviour: Fill fields in sign_up page and successfull login
Actual behaviour: Too many redirections after sign up (user is created in db but not redirecto to plans)
Steps to reproduce: Sign up in dmproadmap/users/sign_up

@andresf01 sorry, I don't understand, are you trying to:

Login via ORCID ->
The system tells you your ORCID login is not known and asks you to ->
Link your existing account or
Create a new account
You create a new account and this logs you in but ->
Your new account is not linked to the ORCID you used?

Sorry, the problem is that if I want to sign up via dmproadmap/users/sign_up route, application has too many redirections, although user is registered in database.

@andresf01 I cannot replicate this, would you be able to share some Rails logs? That may give us some clues.

@vyruss sure, https://codeshare.io/5QAk7R

@andresf01 we spotted what was going wrong and #1400 should fix it

@vyruss Sign up is working now, issue could be close


Minor links and definition hints

Fix links in FAQ
Add 'what are push notifications' hints

I'll merge w/o review this since it just has minor bugfixes and push notification hints which were agreed upon here


rewrite callers of passwd ohai plugin

Context is as part of https://chef.github.io/chef-rfc/rfc103-disable-passwd-and-sessions-plugins.html we'll be disabling passwd by default, so we need a better way to access the user's uid.


qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""

I meet a problem described below when I run it on my macbook air m1.
Code
import pandas as pd
from pandasgui import show
df = pd.DataFrame({'a':[1,2,3], 'b':[4,5,6], 'c':[7,8,9]})
show(df)

Error Traceback
PandasGUI INFO — pandasgui.gui — Opening PandasGUI...
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

Environment
OS: Mac OS 11.4
Python: 3.8
IDE: PyCharm
Package versions
ipython==7.25.0
ipython-genutils==0.2.0
jupyter==1.0.0
jupyter-client==6.1.12
jupyter-console==6.4.0
jupyter-core==4.7.1
jupyter-server==1.10.1
jupyterlab==3.0.16
jupyterlab-pygments==0.1.2
jupyterlab-server==2.6.1
jupyterlab-widgets==1.0.0
notebook==6.4.0
pandasgui==0.2.12
plotly==5.1.0
PyQt5==5.15.4
PyQt5-Qt5==5.15.2
PyQt5-sip==12.9.0
PyQtWebEngine==5.15.4
PyQtWebEngine-Qt5==5.15.2

Please try pip installing either opencv-python-headless or opencv-python. Per these links:
https://stackoverflow.com/a/60276314/3841261
https://stackoverflow.com/a/60285850/3841261
If that works, that dependency can be added to this project, exclusively for Macs.