SSLError when requests deportesweb.madrid.es

ssl.SSLEOFError: EOF occurred in violation of protocol   when requests deportesweb.madrid.es
Reproduction Steps
Python 3.5.2 (default, Sep 14 2017, 22:51:06)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> s = requests.Session()
>>> s.get("https://deportesweb.madrid.es/deportesWeb/Login", verify=False)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 560, in urlopen
    body=body, headers=headers)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 787, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 252, in connect
    ssl_version=resolved_ssl_version)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 305, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.5/ssl.py", line 377, in wrap_socket
    _context=self)
  File "/usr/lib/python3.5/ssl.py", line 752, in __init__
    self.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 988, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 633, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:645)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 589, in urlopen
    raise SSLError(e)
requests.packages.urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:645)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 447, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:645)

System Information
$ python3 -m requests.help
/usr/bin/python3: No module named requests.help
$ python3 --version
Python 3.5.2
$ python3 -c "import requests; print (requests.__version__)"
2.9.1
$ uname -a
Linux yamato 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

https://www.ssllabs.com/ssltest/analyze.html?d=deportesweb.madrid.es&hideResults=on
Second try
$ sudo pip3 install -U requests
Collecting requests
  Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
    100% |████████████████████████████████| 92kB 270kB/s
Collecting urllib3<1.23,>=1.21.1 (from requests)
  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
    100% |████████████████████████████████| 133kB 193kB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests)
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 305kB/s
Collecting idna<2.7,>=2.5 (from requests)
  Downloading idna-2.6-py2.py3-none-any.whl (56kB)
    100% |████████████████████████████████| 61kB 562kB/s
Collecting certifi>=2017.4.17 (from requests)
  Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
    100% |████████████████████████████████| 337kB 93kB/s
Installing collected packages: urllib3, chardet, idna, certifi, requests
  Found existing installation: urllib3 1.13.1
    Uninstalling urllib3-1.13.1:
      Successfully uninstalled urllib3-1.13.1
  Found existing installation: chardet 2.3.0
    Uninstalling chardet-2.3.0:
      Successfully uninstalled chardet-2.3.0
  Found existing installation: idna 2.0
    Uninstalling idna-2.0:
      Successfully uninstalled idna-2.0
  Found existing installation: requests 2.9.1
    Uninstalling requests-2.9.1:
      Successfully uninstalled requests-2.9.1
Successfully installed certifi-2017.11.5 chardet-3.0.4 idna-2.6 requests-2.18.4 urllib3-1.22
 $ python3 -c "import requests; print (requests.__version__)"
2.18.4
$ python3 -m requests.help
{
  "chardet": {
    "version": "3.0.4"
  },
  "cryptography": {
    "version": ""
  },
  "idna": {
    "version": "2.6"
  },
  "implementation": {
    "name": "CPython",
    "version": "3.5.2"
  },
  "platform": {
    "release": "4.4.0-53-generic",
    "system": "Linux"
  },
  "pyOpenSSL": {
    "openssl_version": "",
    "version": null
  },
  "requests": {
    "version": "2.18.4"
  },
  "system_ssl": {
    "version": "1000207f"
  },
  "urllib3": {
    "version": "1.22"
  },
  "using_pyopenssl": false
}
$ python3
Python 3.5.2 (default, Sep 14 2017, 22:51:06)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> s = requests.Session()
>>> s.get("https://deportesweb.madrid.es/deportesWeb/Login", verify=False)
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 850, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 326, in connect
    ssl_context=context)
  File "/usr/local/lib/python3.5/dist-packages/urllib3/util/ssl_.py", line 329, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.5/ssl.py", line 377, in wrap_socket
    _context=self)
  File "/usr/lib/python3.5/ssl.py", line 752, in __init__
    self.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 988, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 633, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:645)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/requests/adapters.py", line 440, in send
    timeout=timeout
  File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.5/dist-packages/urllib3/util/retry.py", line 388, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='deportesweb.madrid.es', port=443): Max retries exceeded with url: /deportesWeb/Login (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:645)'),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 521, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/requests/adapters.py", line 506, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='deportesweb.madrid.es', port=443): Max retries exceeded with url: /deportesWeb/Login (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:645)'),))

Third try
$ sudo pip3 install -U pyopenssl
Collecting pyopenssl
  Downloading pyOpenSSL-17.3.0-py2.py3-none-any.whl (51kB)
    100% |████████████████████████████████| 51kB 1.1MB/s
Collecting cryptography>=1.9 (from pyopenssl)
  Downloading cryptography-2.1.3-cp35-cp35m-manylinux1_x86_64.whl (2.2MB)
    100% |████████████████████████████████| 2.2MB 242kB/s
Collecting six>=1.5.2 (from pyopenssl)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting cffi>=1.7; platform_python_implementation != "PyPy" (from cryptography>=1.9->pyopenssl)
  Downloading cffi-1.11.2-cp35-cp35m-manylinux1_x86_64.whl (419kB)
    100% |████████████████████████████████| 419kB 1.3MB/s
Collecting asn1crypto>=0.21.0 (from cryptography>=1.9->pyopenssl)
  Downloading asn1crypto-0.23.0-py2.py3-none-any.whl (99kB)
    100% |████████████████████████████████| 102kB 3.7MB/s
Requirement already up-to-date: idna>=2.1 in /usr/local/lib/python3.5/dist-packages (from cryptography>=1.9->pyopenssl)
Collecting pycparser (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=1.9->pyopenssl)
  Downloading pycparser-2.18.tar.gz (245kB)
    100% |████████████████████████████████| 256kB 1.6MB/s
Installing collected packages: six, pycparser, cffi, asn1crypto, cryptography, pyopenssl
  Found existing installation: six 1.10.0
    Uninstalling six-1.10.0:
      Successfully uninstalled six-1.10.0
  Running setup.py install for pycparser ... done
  Found existing installation: cryptography 1.2.3
    Uninstalling cryptography-1.2.3:
      Successfully uninstalled cryptography-1.2.3
Successfully installed asn1crypto-0.23.0 cffi-1.11.2 cryptography-2.1.3 pycparser-2.18 pyopenssl-17.3.0 six-1.11.0
$ python3
Python 3.5.2 (default, Sep 14 2017, 22:51:06)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> s = requests.Session()
>>> s.get("https://deportesweb.madrid.es/deportesWeb/Login", verify=False)
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/urllib3/contrib/pyopenssl.py", line 441, in wrap_socket
    cnx.do_handshake()
  File "/usr/local/lib/python3.5/dist-packages/OpenSSL/SSL.py", line 1716, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/local/lib/python3.5/dist-packages/OpenSSL/SSL.py", line 1449, in _raise_ssl_error
    raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 850, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 326, in connect
    ssl_context=context)
  File "/usr/local/lib/python3.5/dist-packages/urllib3/util/ssl_.py", line 329, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/local/lib/python3.5/dist-packages/urllib3/contrib/pyopenssl.py", line 448, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/requests/adapters.py", line 440, in send
    timeout=timeout
  File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.5/dist-packages/urllib3/util/retry.py", line 388, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='deportesweb.madrid.es', port=443): Max retries exceeded with url: /deportesWeb/Login (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 521, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.5/dist-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/requests/adapters.py", line 506, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='deportesweb.madrid.es', port=443): Max retries exceeded with url: /deportesWeb/Login (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')",),))

It's an error on deportesweb.madrid.es side.
$  wget https://deportesweb.madrid.es/deportesWeb/Login

--2017-11-07 09:20:51--  https://deportesweb.madrid.es/deportesWeb/Login
Resolving deportesweb.madrid.es... <IP_ADDRESS>
Connecting to deportesweb.madrid.es|<IP_ADDRESS>|:443... connected.
Unable to establish SSL connection.

Thanks, but is there any way to avoid this issiue? you can connect without problems from a normal browser like firefox, chrome, etc

What if you don't use a proxy? It still does not work here even with --no-check-certificate
$ wget --no-check-certificate https://deportesweb.madrid.es/deportesWeb/Login
--2017-11-07 11:47:10--  https://deportesweb.madrid.es/deportesWeb/Login
Resolving deportesweb.madrid.es... <IP_ADDRESS>
Connecting to deportesweb.madrid.es|<IP_ADDRESS>|:443... connected.
Unable to establish SSL connection.

Without proxy:
$ wget --no-check-certificate https://deportesweb.madrid.es/deportesWeb/Login
converted 'https://deportesweb.madrid.es/deportesWeb/Login' (ANSI_X3.4-1968) -> 'https://deportesweb.madrid.es/deportesWeb/Login' (UTF-8)
--2017-11-07 11:58:50--  https://deportesweb.madrid.es/deportesWeb/Login
Resolving deportesweb.madrid.es (deportesweb.madrid.es)... <IP_ADDRESS>
Connecting to deportesweb.madrid.es (deportesweb.madrid.es)|<IP_ADDRESS>|:443... connected.
WARNING: The certificate of 'deportesweb.madrid.es' is not trusted.
WARNING: The certificate of 'deportesweb.madrid.es' hasn't got a known issuer.
HTTP request sent, awaiting response... 200 OK
Length: 10058 (9.8K) [text/html]
Saving to: 'Login.1'

Login.1                              100%[=====================================================================>]   9.82K  --.-KB/s   in 0.001s

2017-11-07 11:58:52 (10.5 MB/s) - 'Login.1' saved [10058/10058]

I have tried that https://lukasa.co.uk/2017/02/Configuring_TLS_With_Requests/ but it isn't worked

This server is a complete tire fire, and the humane thing would be to have it taken out the back and put down. In this case it seems to be seeing cipher suites it doesn't recognise and literally shutting the handshake down, instead of selecting the one it knows it can handle. This is awful behaviour.
Regardless, you can fix it by tweaking CIPHERS in your code to just be 'RSA+3DES:!aNULL:!eNULL:!MD5'. This is a godawful configuration, but it'll work.

Thanks, but with:
import requests
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.ssl_ import create_urllib3_context
import ssl

CIPHERS = 'RSA+3DES:!aNULL:!eNULL:!MD5'

class DESAdapter(HTTPAdapter):
    def init_poolmanager(self, *args, **kwargs):
        context = create_urllib3_context(ciphers=CIPHERS)
        kwargs['ssl_context'] = context
        return super(DESAdapter, self).init_poolmanager(*args, **kwargs)

    def proxy_manager_for(self, *args, **kwargs):
        context = create_urllib3_context(ciphers=CIPHERS)
        kwargs['ssl_context'] = context
        return super(DESAdapter, self).proxy_manager_for(*args, **kwargs)

s = requests.Session()
s.mount('https://deportesweb.madrid.es', DESAdapter())
r = s.get('https://deportesweb.madrid.es/deportesWeb/Login', verify=False)
print (r.text)

I get:
$ python3 ej.py
Traceback (most recent call last):
  File "ej.py", line 20, in <module>
    s.mount('https://deportesweb.madrid.es', DESAdapter())
  File "/usr/local/lib/python3.5/dist-packages/requests/adapters.py", line 126, in __init__
    self.init_poolmanager(pool_connections, pool_maxsize, block=pool_block)
  File "ej.py", line 10, in init_poolmanager
    context = create_urllib3_context(ciphers=CIPHERS)
  File "/usr/local/lib/python3.5/dist-packages/urllib3/util/ssl_.py", line 272, in create_urllib3_context
    context.set_ciphers(ciphers or DEFAULT_CIPHERS)
  File "/usr/local/lib/python3.5/dist-packages/urllib3/contrib/pyopenssl.py", line 409, in set_ciphers
    self._ctx.set_cipher_list(ciphers)
  File "/usr/local/lib/python3.5/dist-packages/OpenSSL/SSL.py", line 1051, in set_cipher_list
    _lib.SSL_CTX_set_cipher_list(self._context, cipher_list) == 1
  File "/usr/local/lib/python3.5/dist-packages/OpenSSL/_util.py", line 67, in openssl_assert
    exception_from_error_queue(error)
  File "/usr/local/lib/python3.5/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_set_cipher_list', 'no cipher match')]

What's the output of running this shell command: openssl ciphers RSA+3DES:!aNULL:!eNULL:!MD5

$ openssl ciphers RSA+3DES:\!aNULL:\!eNULL:\!MD5
DES-CBC3-SHA

Hrm. Is that the same OpenSSL your Python is compiled against?

I think so:
$ python -c "import ssl; print(ssl.OPENSSL_VERSION)"
OpenSSL 1.0.2g  1 Mar 2016
$ openssl version
OpenSSL 1.0.2g  1 Mar 2016

but I check the code in other computer and works, so it is sure that te problem is my local configuration.

That's very perplexing. The cipher suite string appears to work fine for the command line, but for some reason the Python code is rejecting it: I have no idea why.

What is the openssl version on the other computer?

In where it's working:
$ python3 -c "import ssl; print(ssl.OPENSSL_VERSION)"
OpenSSL 1.0.1t  3 May 2016
$ openssl version
OpenSSL 1.0.1t  3 May 2016


It's hard to D&D nodes from scene tree to VS sheet

Operating system or device - Godot version:
Ubuntu 16.04 72748d1363d090f33d5ca6b9c00142b5e8f7d78f
Issue description (what happened, and what was expected):
It's possible to drag and drop nodes from scene tree to visual script board.
Unfortunately there is problem with context switching. While for me relatively fast drag always works fine,  it seems on other devices it's very hard to drag node on VS sheet.  I was talking about this with @TheoXD here: https://github.com/godotengine/godot/issues/6075#issuecomment-238337278 He was surprised it's even possible, and he have real problems with doing this, so it's probably somehow resolution/fps/system dependent.
I think context should be switched only when 'mouse_press_up' event occurs inside scene tree tab.

I think context should be switched only when 'mouse_press_up' event occurs  inside scene tree tab.

I'm on Windows 10 but I doubt it's OS related.

I tested on a b276d92c8a63887df011032bc95d98bbb9c51c70  It's solved now. You can drag drop to have list of object methods, or hold ctrl to put the reference to object itself :+1:


now using blessed module files

running go test seemed to work, welcome to Go 1.13

GO 1.13 gang rise up


An unknown FastCGI error occurred: Python 3.7 +Djangorestframework

When attempting to use Python 3.7 with my Djangorestframework API, I get a 500 error with the message, "An unknown FastCGI error occurred". I have no problems with Python 3.4 -- works like a charm. Here is my web.config:

Another user was trying to use Python 3.7 and had to go back to 3.6:
https://github.com/microsoft/PTVS/issues/5450
The Python install location, and virtual environment location if you use one, may be significant. Different location may have different permissions and IIS may not be able to access it.
Note that we've stopped supporting wfastcgi some time ago. The recommendation is now to use HttpPlatformHandler IIS Module: https://www.iis.net/downloads/microsoft/httpplatformhandler
There is some example web.config for using it at https://docs.microsoft.com/en-us/visualstudio/python/configure-web-apps-for-iis-windows?view=vs-2019#configure-the-httpplatform-handler
This blog entry may also be useful for using HttpPlatformHandler with Django: https://prashanthmadi.github.io/2016/11/15/django-app-with-httpplatformhandler-in-azure-app-services-windows-new.html

Issue for resolve after changing the project path.  Thank you...…………..

Now the issue with Django Admin page login. When I am logging  with my user name and password The IIS server not giving permission


Defect: Build failure on Fedora 32, using gcc 10.0.1

[ X] I am reporting a bug others will be able to reproduce and not asking a question or requesting a new feature.

System information including:

OpenCoarrays Version: Latest from git master
Fortran Compiler: gfortran 10.0.1
C compiler used for building lib: gcc 10.0.1
Installation method: Manual following instructions in install.md
All flags & options passed to the installer
Output of uname -a:  Linux quasar 5.6.8-300.fc32.x86_64 #1 SMP Wed Apr 29 19:01:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
MPI library being used: mpich-3.3.2-4.fc32.x86_64
Machine architecture and number of physical cores: x86_64 6 physical cores
Version of CMake: 3.17.2  pre-installed from Fedora package

To help us debug your issue please explain:
What you were trying to do (and why)
Trying to Build OpenCoarrays to test it.
--- snip ---
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jerry/dev/buildcaf/OpenCoarrays/build
[$ make
Scanning dependencies of target caf_mpi_static
[  1%] Building C object src/mpi/CMakeFiles/caf_mpi_static.dir/mpi_caf.c.o
gcc: error: unrecognized command-line option ‘-fexceptions -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GLIBCXX_ASSERTIONS’
make[2]: *** [src/mpi/CMakeFiles/caf_mpi_static.dir/build.make:83: src/mpi/CMakeFiles/caf_mpi_static.dir/mpi_caf.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:828: src/mpi/CMakeFiles/caf_mpi_static.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
What happened (include command output, screenshots, logs, etc.)
After invoking cmake ....:
[jerry@quasar build]$ rm -rf ./*
[jerry@quasar build]$ export FC=gfortran
[jerry@quasar build]$ export CC=gcc
[jerry@quasar build]$ cmake .. -DCMAKE_INSTALL_PREFIX=/home/jerry/dev/usr
---snip ---
OpenCoarrays
""""""""""""
Build Type: Release
Version: 2.8.0-10-g964360c

-- Build from git repository detected
-- Running with CMake from: /usr/bin/cmake
-- Current source dir (for OpenCoarrays): /home/jerry/dev/buildcaf/OpenCoarrays
-- The C compiler identification is GNU 10.0.1
-- The Fortran compiler identification is GNU 10.0.1
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran - works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 - yes
-- Building OpenCoarrays version: 2.8.0-10-g964360c
-- Building for target architecture: x86_64
-- Performing Test Check_Simple_Coarray_Fortran_Source_Compiles
-- Performing Test Check_Simple_Coarray_Fortran_Source_Compiles - Failed
-- Found MPI_C: /usr/lib64/mpich/lib/libmpi.so (found version "3.1")
-- Found MPI_Fortran: /usr/lib64/mpich/lib/libmpifort.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- MPI runtime and compile time environments appear to be consistent
-- Performing Test MPI_C_COMPILES
-- Performing Test MPI_C_COMPILES - Success
-- Performing Test MPI_Fortran_MODULE_COMPILES
-- Performing Test MPI_Fortran_MODULE_COMPILES - Success
-- Performing Test MPI_Fortran_INCLUDE_COMPILES
-- Performing Test MPI_Fortran_INCLUDE_COMPILES - Success
-- Looking for alloca.h
-- Looking for alloca.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for SIGKILL
-- Looking for SIGKILL - found
-- Looking for include files mpi.h, mpi-ext.h
-- Looking for include files mpi.h, mpi-ext.h - not found
-- Looking for MPIX_ERR_PROC_FAILED
-- Looking for MPIX_ERR_PROC_FAILED - found
-- Looking for MPIX_ERR_REVOKED
-- Looking for MPIX_ERR_REVOKED - found
-- Looking for MPIX_Comm_failure_ack
-- Looking for MPIX_Comm_failure_ack - found
-- Looking for MPIX_Comm_failure_get_acked
-- Looking for MPIX_Comm_failure_get_acked - found
-- Looking for MPIX_Comm_shrink
-- Looking for MPIX_Comm_shrink - found
-- Looking for MPIX_Comm_agree
-- Looking for MPIX_Comm_agree - found
-- The MPI implementation appears to have the experimental features for ULFM
that will allow you to build OpenCoarrays with failed images support. However,
ULFM support did not make it into the MPI-4 standard, and it is known to
trigger some bugs. Because of this we have disabled it by default. You may
add the -DCAF_ENABLE_FAILED_IMAGES:BOOL=ON CMake flag or edit the value
with ccmake or cmake-gui if you would like to experiment with failed images.
-- Looking for include file mpi.h
-- Looking for include file mpi.h - found
-- Looking for I_MPI_VERSION
-- Looking for I_MPI_VERSION - not found
-- Performing Test HAVE_ERROR_STOP_IN_PURE
-- Performing Test HAVE_ERROR_STOP_IN_PURE - Success
-- Performing Test HAVE_VARIABLE_STOP_CODE
-- Performing Test HAVE_VARIABLE_STOP_CODE - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jerry/dev/buildcaf/OpenCoarrays/build
What you expected to happen
make in build directory should complete with no errors.
Step-by-step reproduction instructions to reproduce the error/bug
See above, followed instructions per install.md at github.

@jerryd  thanks for reporting this.  Could you post the date that shows when you run gfortran --version?   Do you know if this issue is specific to Fedora?  I'll try to reproduce the problem on Ubuntu using the latest master branch of the GCC repository.  I see that you have MPICH 3.1 installed.  Most of my experience is with MPICH 3.2, although I think 3.1 should work.   Could you try installing MPICH 3.2?  In case it helps, the OpenCoarrays installer can build MPICh for your with a command like ./install.sh -p mpich -j 6 -i <desired-instlallation-path>.

@jerryd I just noticed that GCC 10.1 released last week so I'll test with the 10.1 release instead of testing with the GCC master branch.  I'll be testing on Lubuntu with MPICH 3.2.  If the build succeeds for me and the tests pass, then I'll try MPICH 3.1 to see if I can reproduce this issue.  If that doesn't reproduce it, then it could be Fedora-specific, in which case I probably can't be of assistance, but maybe someone else can.

@jerryd arrrgh... scratch that.  Now I see that it hasn't actually released.  There is a release candidate.  I'll build the release candidate if it's easy to figure out the appropriate git tag.  Otherwise, I'll build the master branch.

@jerryd my installation succeeded on Lubuntu 19.10 with the following commands:
./install.sh -p gcc -b master -j 2 -i /usr/local/Cellar/gnu/10.0.1
export PATH=/usr/local/Cellar/gnu/10.0.1/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/Cellar/gnu/10.0.1/bin:$LD_LIBRARY_PATH
time ./install.sh -j 6 -r /usr/local/Cellar/

Please try the above for me.  Feel free to change the installation paths.  If the above doesn't work for you, then the issue is most likely related to the issue is most likely Fedora-specific.  Note that the last step above will install MPICH 3.2 if it doesn't find an MPICH 3.2 or later in your PATH.  After installing MPICH, it will install OpenCoarrays.

FYI, gcc 10.1.0 was released today, and caf 2.8.0 compiles & runs fine with mpich 3.3.2.
Note that mpich was compiled with gcc-10 and FFLAGS=-fallow-argument-mismatch, see https://gcc.gnu.org/gcc-10/porting_to.html).
No regression either on https://github.com/uhhpctools/caf-testsuite.

Thanks, @neok-m4700.   Also, just FYI, the OpenCoarrays installer is able to build MPICH (./install.sh -p mpich) and it applies the FFLAGS=-fallow-argument-mismatch flag when it detects GCC versions >= 10 in the block of code at line 41 in prerequisites/build-functions/build_and_intall.sh.
@jerryd I'll close this.  If you're still encountering difficulties, feel free to reopen it.

This bug is very real.  Let me explain.  If someone follows the instructions here:
https://github.com/sourceryinstitute/OpenCoarrays/blob/master/INSTALL.md
the instructions fail. I have duplicated the failure on Fedora 31 on a completely different machine.  The steps given are:
mkdir opencoarrays-build
cd opencoarrays-build
export FC=/path/to/gfortran
export CC=/path/to/gcc
cmake /path/to/OpenCoarrays/source
-DCMAKE_INSTALL_PREFIX=/path/to/desired/installation/location
make
make test # optional; verify build works
make install
The result is identical to what I have decribed previously:
$ make
Scanning dependencies of target caf_mpi_static
[  1%] Building C object src/mpi/CMakeFiles/caf_mpi_static.dir/mpi_caf.c.o
gcc: error: unrecognized command line option ‘-fexceptions -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GLIBCXX_ASSERTIONS’
make[2]: *** [src/mpi/CMakeFiles/caf_mpi_static.dir/build.make:83: src/mpi/CMakeFiles/caf_mpi_static.dir/mpi_caf.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:826: src/mpi/CMakeFiles/caf_mpi_static.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
gcc version is 9.3.1
gfortran version 9.3.1
cmake version 3.17.2
So either the instructions should be changed or the associated cmake configuration files fixed. (suggest this issue be reopened)

Hi, can you please post the build output with -DCMAKE_VERBOSE_MAKEFILE=ON added to the cmake command ?

Confirmed the fix for #706 also fixed my issues here. Thanks much!


Add liberty file for GF180 PDK

This requires open_pdks and Volare for gf180. Volare should be out soon this week!

No need to add the lib file anymore.


How to run Selenium after applying fingerprint.json stored in the local folder

The fingerprint.json file is already stored in the local directory through the fingerprint switcher. Is there any way to apply this?

Dear @sergerdn
I am a beginner. can you help?
Question 1
My file (fingerprint.json - generated by fingerprint switcher) starts with {"canvas... blah blah ~
but the file generated with the code above starts with {"valid":true,"plugins".. blah blah~
Is there any problem if I apply fingerprints that are different like this?
Question 2
It seems to be the code to enter the profile path before launching the browser.
const profileDirectory = path.join(os.tmpdir(), ".profile-cookies-test");
By the way, where should I enter the path to the fingerprint.json file stored in the local directory?

Closed due to lack of activity.


Adjust precise of variables

Describe the bug
I am using cvxpy to solve a quadratic programming, I wonder whether there is anyway to limit the variable to 7 decimals, currently there are too many decimals. Idealy, I think I should get the same result when I choose sum_squares(x) and norm(x,2) as the objective function, but I got different results currently.  I think this may because the precise of the variables.
Version

OS: Windows
CVXPY Version:  1.3.0

Additional context
Add any other context about the problem here.

The solution is only accurate up to a certain number of decimals.  So for example if the sum_squares(x) solution gives 1.457858 and the norm(x,2) solution gives 1.458201 we consider those the same solution. If you want to hear more you can post the output with problem.solve(verbose=True).

Thank you so much for the elaboration, is there any way to adjust the precision. Also, I try to solve the problem using Gurobi and Mosek (with the same objective and constraints), and I get different answers with them.

That's interesting to hear. Could you post examples of answers that are different? How big is the difference numerically?

Sure, I print out the result.
Here is the result using MOSEK:

Here is the result using GUROBI:

The value of the objective function differs by about 0.0001, but I set the accuracy of the objective function to be 10^(-6).
Also, at the last line from the screenshoot, "pos error" is the reflection of the variables (I have about 700 variables in the optimization problem).
From this actually you can see that the values of the variables returned by these two solvers differ a lot. The values of variables are from 0-500, this are a part of constraints I have.
Hope I have explained my confusion clearly. If there is anything unclear, please let me know.

There is no such thing as setting the accuracy of the objective to anything, at least not in Mosek and not really in any solver. The termination criteria are more involved than that. Every solution you get is always to some extent approximate. You may also have a very flat problem where there are many almost equally optimal points. We didn't see full log outputs of the solvers, either.
These outputs you share do not indicate any obvious issue. It seems like both solvers give you pretty much the same objective. I suggest you check your problem and full log output using sections 8.1, 8.2 from https://docs.mosek.com/latest/pythonapi/debugging-tutorials.html and if that doesn't help/resolve the doubts then please contact Mosek for example via https://groups.google.com/g/mosek or directly write to support and we will take it from there.

Thank you for your suggection. I checked the manual you mentioned.
Here I have one thought for my case: whether it is possible to set the variable to keep 3 or 4 decimals, since I check the solusions of the variebles, say it is a vector [x1,x2,x3,x4,x5,.......,xn]. At the beginning, the solusions of x using GUROBI and MOSEK return the similar values (differ by about 0.00001). However, when I check x_200 and x_500, the difference can be about 0.6 and 0.8.
Is there anyway that I can round the variables and keep 4 decimals. I carefully read the manual https://www.cvxpy.org/tutorial/advanced/index.html#sensitivity-analysis-and-gradients but I did not find a way to do that.
Thank you again.

Also, isn't that said strictly convex quadratic programming problems are supposed to have analytical solutions?

Thank you for your suggection. I checked the manual you mentioned. Here I have one thought for my case: whether it is possible to set the variable to keep 3 or 4 decimals, since I check the solusions of the variebles, say it is a vector [x1,x2,x3,x4,x5,.......,xn]. At the beginning, the solusions of x using GUROBI and MOSEK return the similar values (differ by about 0.00001). However, when I check x_200 and x_500, the difference can be about 0.6 and 0.8. Is there anyway that I can round the variables and keep 4 decimals. I carefully read the manual https://www.cvxpy.org/tutorial/advanced/index.html#sensitivity-analysis-and-gradients but I did not find a way to do that. Thank you again.

Do I understand correctly, that you want to quantize the inputs to step values of 1e-4 ?

Thank you for your suggection. I checked the manual you mentioned. Here I have one thought for my case: whether it is possible to set the variable to keep 3 or 4 decimals, since I check the solusions of the variebles, say it is a vector [x1,x2,x3,x4,x5,.......,xn]. At the beginning, the solusions of x using GUROBI and MOSEK return the similar values (differ by about 0.00001). However, when I check x_200 and x_500, the difference can be about 0.6 and 0.8. Is there anyway that I can round the variables and keep 4 decimals. I carefully read the manual https://www.cvxpy.org/tutorial/advanced/index.html#sensitivity-analysis-and-gradients but I did not find a way to do that. Thank you again.

Do I understand correctly, that you want to quantize the inputs to step values of 1e-4 ?

I want to have a try to round the variables. Let's say that x = cp.Varieble(200), is there anyway to make x keep 4 decimals during the entire process of the optimization? The the expected result is that when I print v.values, all the data will have no more than 4 decimals.

I suggest you post the complete log output from using one or more solvers, not just the final part (use verbose=True)

But variables are binary number when they are computed. Are you trying to speed up execution by using 16 bits instead of 64? I doubt it would make any difference. Decimals points are a figment of base-10 which is just how values are presented on your screen, the algorithm itself knows nothing about it, you have to apply integer constraints on the problem itself
On Sunday, February 12, 2023 at 03:14:40 PM PST, Ximeng @.***> wrote:
Thank you for your suggection. I checked the manual you mentioned. Here I have one thought for my case: whether it is possible to set the variable to keep 3 or 4 decimals, since I check the solusions of the variebles, say it is a vector [x1,x2,x3,x4,x5,.......,xn]. At the beginning, the solusions of x using GUROBI and MOSEK return the similar values (differ by about 0.00001). However, when I check x_200 and x_500, the difference can be about 0.6 and 0.8. Is there anyway that I can round the variables and keep 4 decimals. I carefully read the manual https://www.cvxpy.org/tutorial/advanced/index.html#sensitivity-analysis-and-gradients but I did not find a way to do that. Thank you again.
Do I understand correctly, that you want to quantize the inputs to step values of 1e-4 ?
I want to have a try to round the variables. Let's say that x = cp.Varieble(200), is there anyway to make x keep 4 decimals during the entire process of the optimization? The the expected result is that when I print v.values, all the data will have no more than 4 decimals.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Thank you so much for the respond. I think I somehow understand how the algorithms work. I will close this issue.


javadoc manual testing fix for listBlobsHierarchy

Description
resolves #35690

API change check
API changes are not detected in this pull request.


add example showing how to push to official NuGet

Summary
On the donet nuget push command, there's currently only an example showing how to push to a custom push source. This adds an example showing how to push to the official NuGet server.

The key in the example is not my real API key. It is just the same made up key as in one of the other existing examples.

The key in the example is not my real API key. It is just the same made up key as in one of the other existing examples.

Yes I saw it in the existing example just after I wrote my comment, then I deleted it, but GitHub was already sent it by email I think 😄

Yes I saw it in the existing example just after I wrote my comment, then I deleted it, but GitHub was already sent it by email I think 😄

Ah I see. Yes, I saw the email and went onto GH to reply, but was confused as to why I couldn't find your comment anywhere...


monitor another account id

Please make sure that you have checked the boxes:

[ ] Pease review the Troubleshooting doc for additional details regarding your issue.
[ ] Review the Quickstart guide
[ ] Search for both open and closed issues regarding the problem you are experiencing
[ ] For permissions issues (Access Denied and credential related errors), please refer to the requisite docs before submitting an issue:
AWS, GCP, OpenStack, GitHub

Description of issue:
<Please replace this line with a description of the issue you are experiencing. Please use Markdown to wrap all code for readability.>

Hello,
I have security monkey installed on one account id, and i want to monitor another account id.
Since i´ve created the "security monkey" role on the second account id, i keep receiving the error about permission.
I only need to create the security monkey role and give the trust relationship permission on the first account ?
Thanks a lot.

Please review the quickstart guide referenced above in the checkboxes for instructions on how to set this up.


Jd/fix semicolon inconsistency

@kdayday I will close this, after reviewing with @daniel-thom many of these corrections are actually correct use cases.


Is there any change that tauri-egui will support multiple windows for wry?

In egui we can use like containers so can we make the wry to open directly in the container so that we can use multiple webview windows as this is not possible in original tauri 😞
So like is there any support for using wry in the containers 😶🌫

Not yet but maybe in the future, see https://github.com/tauri-apps/wry/issues/677


🐛 [FIREBASE_DYNAMIC_LINKS]  Property 'utmParametersDictionary' not found on object of type 'FIRDynamicLink *'

Bug report
Describe the bug
Semantic Issue (Xcode): Property 'utmParametersDictionary' not found on object of type 'FIRDynamicLink *'
Steps to reproduce
Run on IOS simulator device (ios 15.4)
Steps to reproduce the behavior:

add  firebase_dynamic_links: ^4.1.1 to pubspec.yaml
Run your app
See error or incorrect behavior

Expected behavior
Build succeed
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.2.1 21D62 darwin-x64, locale fr-FR)
    • Flutter version 2.10.3 at /Users/jeremydormevil/SDK/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (3 weeks ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/jeremydormevil/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 59.0.1
    • Dart plugin version 202.8531

[✓] VS Code (version 1.63.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • iPhone 13 (mobile) • B600E2B4-2836-491E-A776-5825C6EE4CCE • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 99.0.4844.83

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Changing current working directory to: /Users/jeremydormevil/Projects/CodireaProjects/Yanazik/yanazik
Dart SDK 2.16.1
Flutter SDK 2.10.3
yanazik 0.1.0+6

dependencies:
- android_intent 2.0.2 [flutter platform meta]
- another_flushbar 1.10.28 [flutter]
- auto_size_text 3.0.0 [flutter]
- chewie 1.3.1 [cupertino_icons flutter provider video_player wakelock very_good_analysis]
- cupertino_icons 1.0.4
- email_validator 2.0.1
- equatable 2.0.3 [collection meta]
- firebase_analytics 9.1.2 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_core 1.13.1 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.5.3 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_dynamic_links 4.1.1 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- flutter 0.0.0 [characters collection material_color_utilities meta typed_data vector_math sky_engine]
- flutter_bloc 8.0.1 [flutter bloc provider]
- flutter_secure_storage 5.0.2 [meta flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows]
- flutter_svg 1.0.3 [flutter meta path_drawing vector_math xml]
- font_awesome_flutter 10.1.0 [flutter]
- google_fonts 2.3.1 [flutter http path_provider crypto]
- http 0.13.4 [async http_parser meta path]
- jwt_decoder 2.0.1
- provider 6.0.2 [collection flutter nested]
- responsive_framework 0.1.7 [flutter collection]
- url_launcher 6.0.20 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- video_player 2.3.0 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph typed_data]
- integration_test 0.0.0 [flutter flutter_driver flutter_test path vm_service archive async boolean_selector characters charcode clock collection crypto fake_async file matcher material_color_utilities meta source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api typed_data vector_math webdriver]
- test 1.19.5 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core]

transitive dependencies:
- _fe_analyzer_shared 31.0.0 [meta]
- analyzer 2.8.0 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.1.6 [crypto path]
- args 2.3.0
- async 2.8.2 [collection meta]
- bloc 8.0.3 [meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.0
- charcode 1.3.1
- cli_util 0.3.5 [meta path]
- clock 1.1.0
- collection 1.15.0
- convert 3.0.1 [typed_data]
- coverage 1.0.3 [args logging package_config path source_maps stack_trace vm_service]
- crypto 3.0.1 [collection typed_data]
- csslib 0.17.1 [source_span]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase_analytics_platform_interface 3.1.1 [firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.4.0+8 [firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_core_platform_interface 4.2.5 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.6.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.2.1 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_dynamic_links_platform_interface 0.2.2+1 [firebase_core flutter meta plugin_platform_interface]
- flutter_driver 0.0.0 [file flutter flutter_test fuchsia_remote_debug_protocol path meta vm_service webdriver archive async boolean_selector characters charcode clock collection crypto matcher material_color_utilities platform process source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api typed_data vector_math]
- flutter_secure_storage_linux 1.1.0 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_macos 1.1.0 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_platform_interface 1.0.0 [flutter plugin_platform_interface]
- flutter_secure_storage_web 1.0.2 [flutter flutter_web_plugins flutter_secure_storage_platform_interface js]
- flutter_secure_storage_windows 1.1.2 [flutter flutter_secure_storage_platform_interface]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta typed_data vector_math]
- frontend_server_client 2.1.2 [async path]
- fuchsia_remote_debug_protocol 0.0.0 [process vm_service file meta path platform]
- glob 2.0.2 [async collection file path string_scanner]
- html 0.15.0 [csslib source_span]
- http_multi_server 3.2.0 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- io 1.0.3 [meta path string_scanner]
- js 0.6.3
- logging 1.0.2
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.3
- meta 1.7.0
- mime 1.0.1
- nested 1.0.0 [flutter]
- node_preamble 2.0.1
- package_config 2.0.2 [path]
- path 1.8.0
- path_drawing 1.0.0 [vector_math meta path_parsing flutter]
- path_parsing 1.0.0 [vector_math meta]
- path_provider 2.0.9 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- path_provider_android 2.0.12 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.8 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.5 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.5 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.3 [flutter platform plugin_platform_interface]
- path_provider_windows 2.0.5 [ffi flutter path path_provider_platform_interface win32]
- petitparser 4.4.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.4 [file path platform]
- pub_semver 2.1.1 [collection meta]
- shelf 1.2.0 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 3.0.0 [path shelf shelf_static]
- shelf_static 1.1.0 [convert http_parser mime path shelf]
- shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_map_stack_trace 2.1.0 [path stack_trace source_maps]
- source_maps 0.10.10 [source_span]
- source_span 1.8.1 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- sync_http 0.3.0
- term_glyph 1.2.0
- test_api 0.4.8 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- test_core 0.4.9 [analyzer async args boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api]
- typed_data 1.3.0 [collection]
- url_launcher_android 6.0.15 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.15 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.0 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.0 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.0.5 [flutter plugin_platform_interface]
- url_launcher_web 2.0.9 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.0 [flutter url_launcher_platform_interface]
- vector_math 2.1.1
- very_good_analysis 2.4.0
- video_player_android 2.3.2 [flutter video_player_platform_interface]
- video_player_avfoundation 2.3.1 [flutter video_player_platform_interface]
- video_player_platform_interface 5.1.1 [flutter plugin_platform_interface]
- video_player_web 2.0.7 [flutter flutter_web_plugins video_player_platform_interface]
- vm_service 7.5.0
- wakelock 0.6.1+2 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows]
- wakelock_macos 0.4.0 [flutter flutter_web_plugins wakelock_platform_interface]
- wakelock_platform_interface 0.3.0 [flutter meta]
- wakelock_web 0.4.0 [flutter flutter_web_plugins js wakelock_platform_interface]
- wakelock_windows 0.2.0 [flutter wakelock_platform_interface win32]
- watcher 1.0.1 [async path]
- web_socket_channel 2.1.0 [async crypto stream_channel]
- webdriver 3.0.0 [archive matcher path stack_trace sync_http]
- webkit_inspection_protocol 1.0.0 [logging]
- win32 2.4.4 [ffi]
- xdg_directories 0.2.0+1 [meta path process]
- xml 5.3.1 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

Simply when i add and run the app.
But I found where the problem came from and the solution. It was because i didn't have the appropriate Firebase sdk version so to solve the issue i just had to update it to at least Firebase sdk version 7.70 in my podfile


Version check in pre gen hook is not being run

Hi,
this is a follow-up to our gitter conversation about the version check that @pydanny added recently.
Unfortunately pre_gen_project hooks in Cookiecutter are being run after the context is fully populated. This template uses now in one of the context variables and hence breaks for Cookiecutter older than 1.4.0.
ccdj [raphael@hackebook ccdj]$ cookiecutter -V
Cookiecutter 1.3.0 from /Users/raphael/.virtualenvs/ccdj/lib/python3.5/site-packages (Python 3.5)

ccdj [raphael@hackebook ccdj]$ cookiecutter gh:pydanny/cookiecutter-django
Cloning into 'cookiecutter-django'...
remote: Counting objects: 5892, done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 5892 (delta 43), reused 7 (delta 7), pack-reused 5801
Receiving objects: 100% (5892/5892), 2.52 MiB | 1.49 MiB/s, done.
Resolving deltas: 100% (3698/3698), done.
Checking connectivity... done.
project_name [project_name]: poyo
project_slug [poyo]:
author_name [Your Name]: Raphael
email<EMAIL_ADDRESS>description [A short description of the project.]: Nope
domain_name [example.com]:
version [0.1.0]:
timezone [UTC]:
Traceback (most recent call last):
  File "/Users/raphael/.virtualenvs/ccdj/bin/cookiecutter", line 11, in <module>
    sys.exit(main())
...
jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'now'.

After reflecting on it, and trying it myself, you are correct. Yet the number of requests for help is dropping. Here are some thoughts/ideas:

In Cookiecutter core, add a _cookiecutter_version setting in cookiecutter.json that specifies the minimum Cookiecutter version
Don't worry about it. The number of help requests for this is rapidly dropping. Maybe this isn't a big deal afterall.

I was hoping to have a requirements field in the new context format, if any of the declared dependencies is missing, exit gracefully without generating the project.
No, it's definitely not a big problem (I never get any emails. Doubt anyone knows I'm working on Cookiecutter 😉 )

I never get any emails.

You don't have them enabled in your GitHub profile (wise choice btw).

@jayfk, I do get github notifications for https://github.com/audreyr/cookiecutter. But I'm not on the collaborator team for cookiecutter-django, where it seems to be more common for people to ask questions and report issues.
I rarely get any emails to my personal email address though.

Yeah, I know.
I think @pydanny was referring to personal emails he gets to the address listed on his GitHub profile (not notifications). That's why I mentioned it.

But I'm not on the collaborator team for cookiecutter-django, where it seems to be more common for people to ask questions and report issues.

I'll make sure to keep an eye on that and point people in the right direction when I see something like that.

Right. I'd personally not respond to emails when there's a GitHub issue tracker and a Gitter room.
We are volunteers and there's no point in solving problems multiple times, so anything that helps users from the community should be discussed in the public, IMHO.

Let's nuke that code.


attached server list not being persisted between restarts

connect to a local mongodb instance
restart vscode
note that the connection was not persisted, have to connect again

you can use the azure-account credentials to persist the connection strings

Fixed in #20


No Orientation property for BaseParts

This is intended. The Orientation property is not serialized because it’s derived from the CFrame of the part, which similarly results in the Position property being unavailable.


Splunk

Changes
Enables splunk logging
How to test
Unfortunately needs to be deployed to pre-prod to test
Who can test
@dhilton

Problem with hashes
In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:


Clicking a number while in note mode does not remove it from the selected square.

When a square is selected with a number x in as a note, when x is pressed while in note mode, x should be removed.

It also makes the number darker, so presumably it is stacking a copy on top...?


release(version): v1.4.0

Coverage decreased (-0.6%) to 99.435% when pulling 0420cd0d5ef8de9e0f7c5a7323ab969507d02027 on next into 77c61fccd5e9369cca4f3dfa67317ad1a35adb02 on master.


AzureClient: Add JUnit reporting option to Azure End-to-end Tests

Description
Similar to other E2E tests in the FF repo, it would be nice to have JUnit reports output from the Azure End-to-end test suite. With this change, setting FLUID_TEST_REPORT=1 causes tests to output a nyc/junit-report.xml file.
Additionally, mocha-test-setup adds the ability for us to easily plug in a test logger (e.g. ff-internal/aria-logger) for better log output reporting. I added getTestLogger as the logger for AzureClient when the mockLogger is not defined. As far as I can tell, there is currently no usage of MockLogger in these tests, so this shouldn't change anything. In the future, we can use a mix-in to output to both as needed, I think.

Both changes make sense. Please run the tests locally before merging this PR, if you have not done so already. Im not anticipating anything bad, but just to be sure.

Yep! I did so both with FLUID_TEST_REPORT=1 and without. FLUID_TEST_REPORT=1 output the expected XML, and without looked the exact same as before the change to my eyes.


Python bindings implemented

Looks like a couple people have requested python bindings. I came here to do the same a couple days ago, and figured I'd give it a try myself.
I've managed to implement bindings for CascadedCompressor and CascadedDecompressor at https://github.com/carsonswope/py-nvcomp. I plan to implement the other high-level compressor types at some point as well.
It's my first time writing c++ bindings for python, so I'd appreciate a code review from anyone who has a bit more experience. Specifically I wonder if I'm correctly passing void* and other CUDA types between python and c++? I'm sort of assuming the pointers will all be 64-bit, which is okay because I think CUDA only runs on 64-bit?
Also, I'm happy to integrate my code into this repo, just would need some guidance on where to put it, etc.
Cheers!

Hey @kkraus14 thanks for taking a look..
Per your suggestion, I re-implemented the bindings using Cython and pushed the changes up to my repo. It's definitely much cleaner now than when using the Python C API - just reads like some simple boilerplate now instead of a huge mess of C. Although I'm still a little unsure about how I'm casting python numbers to c pointers.

Although I'm still a little unsure about how I'm casting python numbers to c pointers.

Generally the approach I've seen is to do Python integer --> uintptr_t --> void *. In a library I help to maintain, we do this like so:

Get the Python integer representing a pointer as a uintptr_t: https://github.com/rapidsai/rmm/blob/branch-0.20/python/rmm/_lib/device_buffer.pyx#L257
Convert the uintptr_t to a void *: https://github.com/rapidsai/rmm/blob/branch-0.20/python/rmm/_lib/device_buffer.pyx#L475

Rather than exposing that as the top level Python API, I'd suggest allowing objects that expose the __cuda_array_interface__ protocol (https://numba.pydata.org/numba-doc/dev/cuda/cuda_array_interface.html) or possibly the __dlpack__ protocol in the future (https://data-apis.org/array-api/latest/design_topics/data_interchange.html). Then under the hood we could handle converting things as necessary into actual void * pointers.

Okay, that makes sense.
What do you suggest for, for example, the out_bytes argument to CascadedCompressor.compress_async. From my testing, it will accept either a device or host pointer (page locked or not): https://github.com/NVIDIA/nvcomp/blob/9ff05699c87cce9568f019d555cbb3677593ed1c/include/nvcomp.hpp#L110
Should the corresponding function in the .pyx file check which interface the out_bytes argument implements (__array_interface__ or __cuda_array_interface__)?

Still interested in this topic

I think we can close this as binding are now available in kvikio: https://github.com/rapidsai/kvikio/pull/24


can't deny location permission twice

Steps to reproduce
1-run with patrol develop --target integration_test/local_test.dart --verbose
In the first dialog, deny permission works, in the second it does not work, but the allow part works.
Actual results
final isPermissionDialogVisible = await $.native.isPermissionDialogVisible();
expect(isPermissionDialogVisible, true);
await $.native.denyPermission();

await $.pumpAndSettle();

expect($(LocaleKeys.ENABLE_LOCATION.tr()), findsOneWidget);
await Future.delayed(Duration(seconds: 1));

await $(LocaleKeys.ENABLE_LOCATION.tr()).tap(
  settlePolicy: SettlePolicy.noSettle,
);

//deny permission again
await $.native.isPermissionDialogVisible();

await $.native.denyPermission();  //  Here it works if we allow location instead of deny.

Logs

Logs
<!-- Patrol (native): isPermissionDialogVisible() started
        Patrol (native): isPermissionDialogVisible() succeeded
        Patrol (native): denyPermission() started
Patrol (native): denyPermission() failed
        ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
        The following PatrolActionException was thrown running a test:
        Patrol action failed: GrpcError: denyPermission() failed with code NOT_FOUND (selector button to
        deny permission found nothing)

        When the exception was thrown, this was the stack:
        #0      NativeAutomator._wrapRequest (package:patrol/src/native/native_automator.dart:236:7)
        <asynchronous suspension>
        #1      NativeAutomator.denyPermission (package:patrol/src/native/native_automator.dart:775:5)
        <asynchronous suspension>
        #2      main.<anonymous closure> (file:///Users/fatihpc/NewsAppFrontend/integration_test/local_screen_test.dart:36:5)
        <asynchronous suspension>
        #3      patrolTest.<anonymous closure> (package:patrol/src/common.dart:129:7)
        <asynchronous suspension>
        #4      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:170:15)
        <asynchronous suspension>
        #5      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:986:5)
        <asynchronous suspension>

        The test description was:
          Local screen test -->

Patrol version
patrol: ^2.2.1
Patrol Doctor output

Patrol Doctor output
<!-- Patrol CLI version: 2.1.2-->

Flutter Doctor output

Flutter Doctor output
<!-- [✓] Flutter (Channel stable, 3.10.6, on macOS 13.4.1 22F770820d darwin-arm64 (Rosetta), locale tr-TR)
    • Flutter version 3.10.6 on channel stable at /Users/fatihpc/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (6 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/fatihpc/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.80.1)
    • VS Code at /Users/fatihpc/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 14 (API 34) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 13.4.1 22F770820d darwin-arm64 (Rosetta)
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 116.0.5845.110

[✓] Network resources
    • All expected network resources are available.

• No issues found! -->

I hit the same issue. I also tried tapping on "Don't allow" when denying the location permission the second time:
$.native.tap(Selector(text: "Don't allow"));
But, that did not work.
Patrol folks, any idea?

This looks like a duplicate of #1647, can you confirm?

We refuse in the application, then we want to get the location information again by pressing the button without leaving the application, we cannot refuse again.

Closing because no minimal, reproducible sample was provided.
Feel free to open a new issue with all the required information provided.


Display laravel 5.1 errors

Hi all,
Please, how could I display errors using this nice package ?

Hi @AEK-BKF, it should work out of the box if you follow along with the instructions in the README, any specific spot you are having trouble with? Make sure you're controller is returning something like this when you have errors:
return redirect()->back()->withInput()->withErrors($validation);


map ufuncs and dunder ops

Uses the same transform pattern for df.ak + a or func(df.ak), to make them more similar to apply and ak.func (str, etc) patterns.

(this will need some follow-up documentation and examples, but first I'll do the str dunders)


[Feature request] Merge configurations?

Correct me if I'm wrong, but right now if you set a custom "clients" in preference, it overrides the default config rather than merging them together. Would it make sense if that configs are merged?

It would make sense to merge the configs. Perhaps we should discuss how LSP should ship its default settings:

Popular configurations, enabled by default
Popular configurations, disabled by default
No configurations, but a link to documentation?

Also, should we do a merge of complete setting blocks (as will be done for project-specific settings) or even merge individual settings when a client is present in user preferences?

I would say popular configuration, disabled by default as it is very likely that a user does not have the servers all installed. As far as I know, the key client of the user settings will overwrite the same key LSP.sublime-settings. So we may need two keys, default_clients and user_clients.

I'd definitely be interested in having a language-specific package (in my case, PHP) which would set up the clients for the language as well as all the other pieces (such as installing the actual servers). This would need support for adding items to the clients object; this might already be possible, I haven't checked that yet.

Adding a guide configuration step would help language-specific configuration (#4) as well.
I suggest LSP doesn't get into the business of installing the servers (imagine the support requests coming in here!), but do the following:

Move all default configs into default_clients as suggested by @randy3k, all disabled
If a document is opened with a syntax only present in default_clients, we prompt the user if they want to enable the configuration: "never", "always" or "only in this project".
If the user chooses to enable the package, we show installation / configuration instructions (the way SublimeLinter plugins do).

A language-specific package could further automate this, with some risk of getting out of date with LSP's configuration.


New BREAD tries to call a non-existing method in my model class

Version information

Laravel: v5.7
Voyager: v1.1
PHP: 7.2.10
Database: Mysql 8.0.12

Description
I have a post model that include the usual fields like what use it belongs to, text, title, image etc.
And whenever I try to edit a brand new BREAD entry, as in the model entry I get an error like this:
Call to undefined method App\Post::getTranslationsOf()
Which is obviusly not the correct method as I haven't implemented it. The multilingual config is in it's default and other BREAD works fine. It seems to get stuck at a simple "title" text part, trying to call a non existing method.
Steps To Reproduce

Create new BREAD without changing anything in the BREAD settings
Go to the new BREAD section and try to edit an entry.
See error

Additional information
Here is what my model class looks like:
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Post extends Model
{
    public function user()
    {
        return $this-> belongsTo('App\User');
    }
}

Here is the migration of said model:
Schema::create('posts', function (Blueprint $table) {
            $table->increments('id');
            $table->text('title');
            $table->longText('text');
            $table->string('header_image');
            $table->string('slug')->unique();
            $table->integer('user_id')->unsigned()->index()->nullable();
            $table->foreign('user_id')->references('id')->on('users');
            $table->timestamps();
        });

Same problem here. In my case, I create my table in the Voyager Panel and still not including the relationship in the model, it returns the same error when I try to create a new post. Any solutions for your cases ?

because posts is custom voyager view under vendor directory.
see: https://github.com/the-control-group/voyager/blob/1.1/resources/views/posts/edit-add.blade.php .
I having tried yet but copying this view https://github.com/the-control-group/voyager/blob/1.1/resources/views/bread/edit-add.blade.php to resources/views/posts/edit-add.blade.php may fix this problem.

You can just override that view and
@include('voyager::bread.edit-add')

But use the correct path, as mentioned in our docs.
@semiherdogan thats not the correct path.

Closing as solutions are provided above.


Building flashlight for CPU backend can't find libsycl.so

Question
I am trying to build flashlight from source by following the installation description for CPU back-end on Ubuntu 20.04.2. I have been able to resolve other build issues by referring internet elsewhere. However, I continue to get the below error and am unable to find any solution.

/usr/bin/ld: cannot find -lsycl

Additional Context

I am using g++-9
The build command is as below:

cmake .. -DCMAKE_BUILD_TYPE=Release -DFL_BACKEND=CPU -DDNNL_DIR=/opt/intel/oneapi/dnnl/latest/lib/cmake/dnnl -DTBB_DIR=/opt/intel/oneapi/tbb/latest/lib/cmake/tbb -DFL_LIBRARIES_USE_KENLM=FALSE -DFL_BUILD_TESTS=FALSE -DFL_BUILD_APP_ASR=TRUE

I do see that the library libsycl.so is available in /opt/intel/oneapi/compiler/latest/linux/lib but not sure how to pick that library up, exporting LD_LIBRARY_PATH does not help
Additionally I see libOpenCL.so as well in the same path but does not seem to getting referenced from here presently

The error regarding OpenCL went away after running the following command:
sudo apt install ocl-icd-opencl-dev
Tried to use the bundled compiler at /opt/intel/oneapi/compiler/latest/linux/bin/clang++ but that compiler seems very old

cc @jacobkahn @xuqiantong @vineelpratap


Claimer Class and Examples

I created new 'Claimer class' with common code.
I also created 2 examples: Diamond-claimer and Tree-claimer using this class.
I wait for your opinion and if you like it, I will continue to another scripts

Wow!
Great job! If possible, can you give me a few days to wrap my head around all the changes? This definitely looks like the way we should be going, my only concern is that some scripts are setup slightly differently than others, so we might need to incorporate some more settings.
One example, Blum & Vertus force the proxy on, and maybe another script (that requires the user-agent adding to work well) only enables the proxy if it's set to a user-defined IP, or something like that.

I have created the class with only common functions.
However, If some script need change any these function, you will be able to override this function in child class.

I'm loving this method, much better than what I had in mind! I made some changes so far:
Two extra parameters to wether we will force the Proxy (Blum etc), and if we need to force to prompt for a User Agent (Hexacore). Then the user has the option to set a per account user agent if they wish.
I also rewrote a good few of the core functions to improve the moving to elements and clicking etc
As launch_iframe is in the core file, and generally the same for each game (it's the find_link that changes) I deleted it from the game files.
I'm just doing some final testing and will push it, although Tree looks to be having some issues that will need fixing, but are unrelated to the changes.

Perfect. Wainting for updates


Add BLE transport

smpclient implements the BLE transport, so should smpmgr

smpclient has BLE integration tests so it's OK to add this now.

Closed by #28


GHC version in artifact name

This is needed to prevent artifact from one GHC version clobbering another.

bors merge

bors merge

bors r+

bors merge

bors merge


Added PlaceholderAPI support

Available placeholders:
%showdown_<format>_elo%
%showdown_<format>_wins%
%showdown_<format>_losses%
%showdown_<format>_winrate%
<format> has to be replaced with the (case insensitive) format name, for example %showdown_ubers_elo%.
If the player doesn't have a profile, the default value of 0 is used for the wins, losses and winrate, while for the elo the ELO_FLOOR value is displayed.
I also did some clean-up, I hope you don't mind!
Great plugin ^^

Much appreciated. Very glad to see another developer interested in my project, let alone improve it. I will review it when I'm home from work.

Thanks for the merge, good luck with the development!


Feature/upgrade to marionette v3

This resolves #139

This PR needs to adapt to the new features of Mn v3 as well.
Application now manages _isDestroyed and has an isDestroyed
Additionally Application has a region API that should most likely be utilized by the component.

Other thing.. now this lib will depend on Marionette v3 which is probably documented in the readme?  I suspect there are other things it extends now as well?

Can you explain what you mean by "suspect there are other things it extends now as well"?

Sorry commenting while childrening.  Docs probably say "extends Marionette.Object" somewhere..  Or something like it


chore: release 4.8.0

:robot: I have created a release *beep* *boop*
4.8.0 (2023-02-22)
Features

add ramda helper for handlebars (eff77fd)

Bug Fixes

cannot require nanoid@4 (9d7c643)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mili-project-manager/mili/releases/tag/v4.8.0 :sunflower:


employeeNumber is missing.

Hi Rob,
There is something missing in the current version. Declaration of employeenumber is not there anymore. If I copy it from the original script from Helge then is works again.
I've copied this from the Helge script:    $employeeNumber = Get-Random -Minimum 100000 -Maximum 1000000
And the second issue is that the scripts only loops in the lastname "foreach loop".
Here is something not correct ;)
# Sex & name
$i = 0
if ($i -lt $userCount)
{
    foreach ($firstname in $firstNames)
{
    foreach ($lastname in $lastnames)
    {
    $Fname = $firstname.Firstname
    $Lname = $lastName.Lastname

Best regards, Jeroen.

I had to add the line below into the "user variables" or the creation of the variable $sAMAccountName fails and the whole script fails...
$employeeNumber = 1
I assume in Helge's version, as mentioned above by JeroenTielen, has a randomer instead of a incremental...

Please merge this issue! This threw me off as well. Thanks!

Merged. Totally didnt forget about this repo at all. Better late than never! 😇 Thanks for the fix @bunchc


Exit phantom with non-zero status code if it has clientside errors

If you have client side errors, PhantomJS will exit with a 0 error code, and not run your tests.  This will exit PhantomJS with an error code of 6 so that you do not get false positives.
Fixes #40

What happens if there are unhandled exceptions during tests?

It will fail the test, but shouldn't that be the desired behavior?

Yes, it should. I'll merge in the next couple of days. Thanks for this.

@billyvg, published as v1.3.0 just now. Sorry it took so long.


Handle Father Panel size inside nested Panel Group

I was doing some nested panels. But I needed to handle the father's panel size inside the nested Panel Group.
<PanelGroup direction="horizontal">
  <Panel>
  {/* Stuff in here */}
  </Panel>
  <Panel id="father">
    <PanelGroup direction="vertical">
      <Panel id={child}>
      </Panel>
      <PanelResizeHandle/>
      <Panel id={child}>
      </Panel>
    </PanelGroup>
  </Panel>
</PanelGroup>

Could the Panel with ID child handle the resize of the father panel too?

You can do this using the panel group onLayout prop or the panel onResize prop. (You can listen to size changes and pass them down as props or context to your nested components.)


Exception occurred processing WSGI script :: ImportError: No module named 'subdomains'

I am running an app in apache2 with wsgi, but I am getting this error:
mod_wsgi (pid=26904): Exception occurred processing WSGI script '/var/www/multidb/multidb/wsgi.py'.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/core/handlers/wsgi.py", line 170, in call
self.load_middleware()
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 50, in load_middleware
mw_class = import_string(middleware_path)
File "/usr/lib/python3/dist-packages/django/utils/module_loading.py", line 26, in import_string
module = import_module(module_path)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 944, in _find_and_load_unlocked
File "", line 222, in _call_with_frames_removed
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 956, in _find_and_load_unlocked
ImportError: No module named 'subdomains'
this is my middleware:
MIDDLEWARE_CLASSES = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'subdomains.middleware.SubdomainURLRoutingMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
I have installed django-subdomains using pip, and it's available in site-packages.

@adarshdeep-kamboj stackoverflow is better for such type of questions. I suppose, that you've installed django-subdomains for python2, but tried to import it from python3.


IDynamicRecord: A non typed way to Read files

The current implementation only support reading runtime records
We need a way to write non typed records (generic CSV for example)

I will move this for 4.0
Because will be better to use a lambda based approach and play with ExpandoObject and dynamic
https://gist.github.com/MarcosMeli/a9db0b7f11de0d072609


Update npm dependencies

What needs to happen?
Need to update npm dependencies and fix build errors
Why should we do this?
Prevent issues with dependencies
When does this need to get done?
Fall 2022

#364 updates everything to node 16


Add code example to verify webhook signature

We have information on how to verify a signature in PHP but do not provide more code examples, please provide one and share here so we can publish it to the dev docs.

Hi @Agathe-Brusset, here is a Golang example:
// signature - a header sent by MailerSend, please refer to your framework
// or Go manual on how to read the Signature header

// requestContent - please refer to your framework or Go manual on how to read the request content
// secret - a slice of bytes containing your webhook signing secret

hasher := hmac.New(sha256.New, secret)

hasher.Write(requestContent)
generatedSignature := hasher.Sum(nil)

return hmac.Equal(generatedSignature, signature)


Allow optional skipping the oauth verifier

Optionally (defaulting to the spec-correct function) allow the skipping of the oauth_verifier to deal with non-spec-compliant oauth providers. SmugMug is such a provider. Some references to this can be found at http://www.dgrin.com/archive/index.php/t-212289.html (dgrin.com is smugmug's forum)
Thanks,
-George

Thank you!


How to show only y2 labels value?

i have 'data1' in line chart y axis and 'data2' in bar chart
but
data: {
..
labels: true
}
it show both labels .
how to show only 'data2' labels ?
thank you

Hi there!
We try to keep the issue queue clear for specific code-related problems with C3,
Could you please try asking your question on either the Google Group
or Gitter instead?
Thank you!


Refactor config

Current coverage is 54.18% (diff: 76.42%)

Merging #61 into master will increase coverage by 16.42%

@@             master        #61   diff @@
==========================================
  Files            10         14     +4
  Lines           429        537   +108
  Methods          56         66    +10
  Messages          0          0
  Branches         58         73    +15
==========================================
+ Hits            162        291   +129
+ Misses          267        246    -21
  Partials          0          0

Powered by Codecov. Last update b9de7bf...616941d


Light Commands via topic

🎉 Light Commands
Summary
Added a user command to control light properties:
ign topic -t /world/default/light_config -m Light -p "name: 'pointlight', diffuse: {r: 1.0, g: 0.0, b: 0.0, a: 1.0}, specular: {r: 1.0, g: 0.0, b: 0.0, a: 1.0}"

Added a light controller to control a specific light's properties:
ign topic -t /light/left_light_source/light_config -m Light -p "diffuse: {r: 1.0, g: 0.0, b: 0.0. a: 0.0}"

Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Ignore the review request,
Trying to fix the DCO caused a bunch of new error. I'm currently trying to revert the changes.

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-01-24-citadel-edifice-fortress/1241/1


Stop using protocol-relative URLs

Doesn't work with file: protocol
it's now a anti-pattern

Coverage remained the same at 98.667% when pulling a3a7d6405c0c5d06a3de47bb7a540a28e10bbdc3 on jimmywarting:patch-1 into 21ff3189572acec068d692fe626499a45fd113dc on FormidableLabs:master.


C#: Calling Get to get method causes crash on exit.

Tested versions
v4.3.dev.mono.custom_build [17e7f85c0]
System information
Godot v4.3.dev.mono (17e7f85c0) - Windows 10.0.22621 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4090 (NVIDIA; <IP_ADDRESS>01) - 13th Gen Intel(R) Core(TM) i7-13700F (24 Threads)
Issue description
Calling GodotObject.Get to get method will return Callable, but it will cause crash on exit.
Create a Node scene and add code:
using Godot;

public partial class Main : Node
{
    public void Foo() { }

    public override void _Ready()
    {
        var callable = Get("Foo");
        GD.Print(callable); // prints Node(Main.cs)::Foo
    }
}

Run, and the engine will crash on exit:
ERROR: Trying to unreference a SafeRefCount which is already zero is wrong and a symptom of it being misused.
Upon a SafeRefCount reaching zero any object whose lifetime is tied to it, as well as the ref count itself, must be destroyed.
Moreover, to guarantee that, no multiple threads should be racing to do the final unreferencing to zero.
   at: (C:\Users\zaevi\source\Godot\godot-source\core/templates/safe_refcount.h:190)

================================================================
CrashHandlerException: Program crashed
Engine version: Godot Engine v4.3.dev.mono.custom_build (17e7f85c06366b427e5068c5b3e2940e27ff5f1d)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[0] SafeRefCount::_check_unref_safety (C:\Users\zaevi\source\Godot\godot-source\core\templates\safe_refcount.h:187)
[1] SafeRefCount::_check_unref_safety (C:\Users\zaevi\source\Godot\godot-source\core\templates\safe_refcount.h:187)
[2] SafeRefCount::unref (C:\Users\zaevi\source\Godot\godot-source\core\templates\safe_refcount.h:207)
[3] StringName::unref (C:\Users\zaevi\source\Godot\godot-source\core\string\string_name.cpp:122)
[4] StringName::~StringName (C:\Users\zaevi\source\Godot\godot-source\core\string\string_name.h:195)
[5] Callable::~Callable (C:\Users\zaevi\source\Godot\godot-source\core\variant\callable.cpp:384)
[6] Callable::`scalar deleting destructor'
[7] Variant::_clear_internal (C:\Users\zaevi\source\Godot\godot-source\core\variant\variant.cpp:1374)
[8] Variant::clear (C:\Users\zaevi\source\Godot\godot-source\core\variant\variant.h:305)
[9] Variant::~Variant (C:\Users\zaevi\source\Godot\godot-source\core\variant\variant.h:802)
[10] Variant::`scalar deleting destructor'
[11] godotsharp_variant_destroy (C:\Users\zaevi\source\Godot\godot-source\modules\mono\glue\runtime_interop.cpp:983)
[12] <couldn't map PC to fn name>
-- END OF BACKTRACE --
================================================================

Calling _check_unref_safety needs DEV_ENABLED defined, so it only crashes with dev_build=yes. But this suggests that there are issues related to StringName.
Steps to reproduce
See above.
Minimal reproduction project (MRP)
N/A

Nice catch! It also happens to signals. It's likely because we're using the same StringName provided in the Get method to construct the godot_callable/godot_signal and we end up freeing the StringName twice.
https://github.com/godotengine/godot/blob/17e7f85c06366b427e5068c5b3e2940e27ff5f1d/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/CSharpInstanceBridge.cs#L94-L108


Adaptive cards v1.1 - iconUrl in action.openUrl do not work for "selectAction" on a column

Excited about the new Adaptive cards v1.1. Thanks to the team for the great useful features. I'm trying to use one of the most useful one for our project the "iconUrl".
The "iconUrl" works great when included in the "Actions" "action.openUrl" but I'm unable to see the icon image when used on a Column. Below is the sample code.
{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"type": "AdaptiveCard",
	"version": "1.1",
	"body": [
		{
			"type": "ColumnSet",
			"columns": [
				{
					"type": "Column",
					"items": [
						{
							"type": "TextBlock",
							"text": "Column 1"
						}
					],
					"selectAction": {
						"type": "Action.OpenUrl",
                        "iconUrl": "http://adaptivecards.io/content/cats/1.png",
						"title": "cool link",
						"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
					}
				}
		    ]
		}
	],
    "actions":[
        {
            "type": "Action.OpenUrl",
            "iconUrl": "http://adaptivecards.io/content/cats/1.png",
            "title": "cool link",
            "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
        }
    ]
}

Can you specify which platform(s) you are seeing this issue?

Hey @sravanthialuri
selectActions do NOT show any visuals. They are purely touch targets. The title property can be used for accessibility purposes (screen readers, tooltips, etc), but the iconUrl is not used by design. It is only seen in buttons within the actions array (just as title is really only seen in buttons).
If you need an image, you can add an Image element.
If that doesn't work for your scenario, let us know why! Closing this for now. Thanks!


Support generic types in glib::object_subclass

Support generic types in glib::object_subclass and glib::object_interface macros.

What would be the use case here?

Well, code reuse. Let's say, I want to write a generic widget once and re-use it in a different contexts.


Error of selecting residue

Hello,
I specify the residues to select as instruction :
--theozyme_resnums 23A,88A,124A,129A
However, I receive this error while running identify_fragments.py . What could be the issue and how could I fix it ?
Traceback (most recent call last):
File "/home/nthpham/applications/riff_diff_protflow/identify_fragments.py", line 1613, in
main(args)
File "/home/nthpham/applications/riff_diff_protflow/identify_fragments.py", line 1273, in main
theozyme_residue = theozyme[0][chain][resnum]
~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/home/nthpham/applications/ProtFlow/protflow_env/lib/python3.11/site-packages/Bio/PDB/Chain.py", line 113, in getitem
return Entity.getitem(self, id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/nthpham/applications/ProtFlow/protflow_env/lib/python3.11/site-packages/Bio/PDB/Entity.py", line 65, in getitem
return self.child_dict[id]
~~~~~~~~~~~~~~~^^^^
KeyError: (' ', 23, ' ')

Hi,
can you upload your PDB somewhere? Are you sure there is a residue 23 on chain A?
I'll add an error message if the residue is not present.
Cheers

Yes, I have residue on chain A. It seems that I can't attach pdb file here. So I just sent you the pdb file to your email.
Best


Add a periodic job for building master golang

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mkumatag
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:

OWNERS [mkumatag]

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

@mkumatag: Updated the job-config configmap in namespace prow at cluster default using the following files:

key build-golang-periodics.yaml using file config/jobs/periodic/golang/build-golang-periodics.yaml

In response to this:

Job for building golang master every 3hrs and push to COS and commit a PR into https://github.com/ppc64le-cloud/builds repo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


What to do when iframe isn´t working: X-Frame-Options

My iframes are empty, because sites like google uses X-Frame-Options.
My idea was to use onclick="window.open
But this seems not to work with colorbox.

You can't iframe a website that disallows iframing, so I would say don't use Colorbox for those links.

Isn´t it possible to combine javascript popup (onclick=widow.open) with your plugin?
That would output the same as iframe, i think. Couldn´t find anything like that in Faq section.

I don't understand how you would be using them together.  Colorbox and window.open are unrelated things (Colorbox operates within the current window, window.open creates a new window).


Is it possible to connect the Pickup Calendar with a Google Calendar?

I don't know if this is possible in the future. I would love to be able to sync the pick up calendar to my google calendar. Not a critical need by any means but a nice bonus if it happens. Thanks for everything!

@designbygia do you think this sort of syncing with calendars would be beneficial for our users? If so, I think it is possible :)

@edwinthinks Yes, it would be very helpful!

@designbygia sounds good! I've put this into the spreadsheet with project initiatives. We'll likely create another issue for this.


Fix for #323 Workflows not provisioning correctly

We were experiencing this issue again for another site where the workflow subscriptions weren't correctly provisioned, now fixed by copying CreatedBySPD property definition value when creating the subscription

Hi Matt,
Thanks for your contribution, the PR has been merged.


clean up editor controls

As noticed in #663 we have some UI elements on the editor that don't work (left over from before the redesign). These need to be hidden or removed.

Fixed by #671


Add antenna selection to GNSS API

Is your enhancement proposal related to a problem? Please describe.
Some GNSS modules have the ability to switch between multiple antennas (internal vs external, etc). It would be good if the API supported a way to adjust and report back which antenna was used.
Describe the solution you'd like
Change the gnss_info struct to something like:
/** GNSS info data structure */
struct gnss_info {
	...
	/** The index of the antenna used */
	uint8_t antenna_index;
};

If a device only has a single antenna, antenna_index would always be set to 0. This data can be parsed by the GNSS callback.
Add a function like:
int gnss_set_antenna(const struct device *dev, uint8_t antenna_index);

To set which antenna is being used.
Describe alternatives you've considered
An out of tree driver for this specific radio, but this still would require changes to the zephyr code anyway.
Additional context
Example module is Quectel LC86G, which supports an internal antenna (mounted directly on the module) or an external antenna connected to a pin on the module. Setting the antenna type is done through a command like:
$PQTMCFGANTENNA,W,0,0*7E

And the radio sends out regular messages like the following which contain the antenna selection status:
$PQTMANTENNASTATUS,3,1,2,1*52

I agree that it seems like a good fit for the devicetree, but unfortunately yes, it is something that I would need to adjust at runtime. In my case, the user can select which antenna they want to used based on the device location/installation method. It may also be the case that the device can try both antennae to see if one can get a better fix than the other.

We will need to enumerate the antennas, binding index 0 to a specific antenna, like 0=internal, 1=external0, ...
a dts schema like
```
```
gnss {
        antennas {
                internal@0 {
                };
                external@1 {
                };
        };
};
```
`
```````