text:
请教关于python调用demo的时候，识别的结果很差

回答的结果是['百必苦之说苦是苦苦之之苦是苦之之之此苦之苦之之之此此之之苦苦之谷谷此之谷此苦之之谷此谷苦谷之之谷苦之谷此是苦之谷此是苦之之苦三之谷此谷苦之之谷此之果苦之之谷故苦之谷此苦],但是实际语音并不是这个
谢谢！

从您描述的，看不出啥来，建议先在魔搭在线上测一下你这段语音的识别结果
地址：speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch

看一下audioFs参数是否准确，另外就是个人测试发现带上wav头貌似效果好很多

source: gharchive/issue

authors: SWHL White-Friday woilan1314

repo: RapidAI/RapidASR

license: MIT

license_type: permissive

license_source: github-api


text:
Warning messages on import

When importing with import BackgroundService from 'react-native-background-actions'; , metro shows the following warnings :

new NativeEventEmitter() was called with a non-null argument without the required addListener method.

new NativeEventEmitter() was called with a non-null argument without the required removeListeners method.

I use react-native v0.66.0 and react-native-background-actions v2.6.4

It works, thank you.


text:
add dependency on docs, and missing action

Solve dependency issue and add missing action.

https://github.com/RasaHQ/financial-demo/issues/59

Thanks for submitting a pull request 🚀 @Ghostvv will take a look at it as soon as possible ✨

Thanks for adding the dependency! You don't need to list utter actions in the actions list though; see comment on the issue

Since this is a Rasa bug, I'm approving the PR with just the spacy update - thanks for adding this 👍

source: gharchive/pull-request

authors: henry-hz melindaloubser1 sara-tagger

repo: RasaHQ/financial-demo


text:
Unable to install rasa development version --ERROR: No matching distribution found for rasa-sdk~=1.4.0 (from -r requirements.txt (line 39))

I was trying to install the rasa development verion on ubuntu 16.04 LTS.
Python version is python 3.6.5
When I run pip install -r requirements.txt , I get the following error:
ERROR: Could not find a version that satisfies the requirement rasa-sdk~=1.4.0 (from -r requirements.txt (line 39)) (from versions: 1.0.0rc3, 1.0.0rc4, 1.0.0, 1.1.0, 1.1.1, 1.2.0, 1.3.0a1, 1.3.0, 1.3.1, 1.3.2, 1.3.3)
ERROR: No matching distribution found for rasa-sdk~=1.4.0 (from -r requirements.txt (line 39))
Please help.

Thanks for the question, our Github issue board is for bugs and feature requests only, though 😕
Please ask this question in the forum✨
If you were describing a bug, please create a report and fill out the template.

repo: RasaHQ/rasa


text:
Installation process fails with dependencies errors

https://rasa.com/docs/rasa/installation/ step-by-step installation procedure fails with dependencies errors if you just copy the pip3 command and you don't add "--use-feature=2020-resolver" to pip3 command. After adding "--use-feature=2020-resolver" to pip3 command installation finishes correctly:
debian@debian:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
debian@debian:~$ python3 -V
Python 3.7.3
debian@debian:~$ pip3 -V
pip 20.2.4 from /home/debian/venv/lib/python3.7/site-packages/pip (python 3.7)
debian@debian:~$ python3 -m venv ./venv
debian@debian:~$ source ./venv/bin/activate
(venv) debian@debian:~$ pip3 install -U pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/cb/28/91f26bd088ce8e22169032100d4260614fc3da435025ff389ef1d396a433/pip-20.2.4-py2.py3-none-any.whl (1.5MB)
100% |████████████████████████████████| 1.5MB 223kB/s
Installing collected packages: pip
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
Successfully installed pip-20.2.4
(venv) debian@debian:~$ pip3 install rasa
Collecting rasa
Downloading rasa-2.1.1-py3-none-any.whl (647 kB)
|████████████████████████████████| 647 kB 2.2 MB/s
Collecting joblib<0.16.0,>=0.15.1
Downloading joblib-0.15.1-py3-none-any.whl (298 kB)
|████████████████████████████████| 298 kB 4.6 MB/s
Collecting prompt-toolkit<3.0,>=2.0
Downloading prompt_toolkit-2.0.10-py3-none-any.whl (340 kB)
|████████████████████████████████| 340 kB 4.5 MB/s
Collecting SQLAlchemy<1.4.0,>=1.3.3
Downloading SQLAlchemy-1.3.20-cp37-cp37m-manylinux2010_x86_64.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 4.4 MB/s
Collecting terminaltables<3.2.0,>=3.1.0
Downloading terminaltables-3.1.0.tar.gz (12 kB)
Collecting psycopg2-binary<2.9.0,>=2.8.2
Downloading psycopg2_binary-2.8.6-cp37-cp37m-manylinux1_x86_64.whl (3.0 MB)
|████████████████████████████████| 3.0 MB 4.5 MB/s
Collecting ujson<4.0,>=1.35
Downloading ujson-3.2.0-cp37-cp37m-manylinux1_x86_64.whl (179 kB)
|████████████████████████████████| 179 kB 4.6 MB/s
Collecting python-dateutil<2.9,>=2.8
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
|████████████████████████████████| 227 kB 4.5 MB/s
Collecting oauth2client==4.1.3
Downloading oauth2client-4.1.3-py2.py3-none-any.whl (98 kB)
|████████████████████████████████| 98 kB 2.5 MB/s
Collecting kafka-python<3.0,>=1.4
Downloading kafka_python-2.0.2-py2.py3-none-any.whl (246 kB)
|████████████████████████████████| 246 kB 4.4 MB/s
Collecting PyJWT<1.8,>=1.7
Downloading PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting slackclient<3.0.0,>=2.0.0
Downloading slackclient-2.9.3-py2.py3-none-any.whl (96 kB)
|████████████████████████████████| 96 kB 2.2 MB/s
Collecting requests<3.0,>=2.23
Downloading requests-2.25.0-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 2.5 MB/s
Collecting twilio<6.46,>=6.26
Downloading twilio-6.45.4.tar.gz (457 kB)
|████████████████████████████████| 457 kB 4.2 MB/s
Collecting sentry-sdk<0.20.0,>=0.17.0
Downloading sentry_sdk-0.19.4-py2.py3-none-any.whl (128 kB)
|████████████████████████████████| 128 kB 4.3 MB/s
Collecting sanic<21.0.0,>=19.12.2
Downloading sanic-20.9.1-py3-none-any.whl (79 kB)
|████████████████████████████████| 79 kB 2.6 MB/s
Collecting python-socketio<4.7,>=4.4
Downloading python_socketio-4.6.0-py2.py3-none-any.whl (51 kB)
|████████████████████████████████| 51 kB 208 kB/s
Collecting setuptools>=41.0.0
Downloading setuptools-50.3.2-py3-none-any.whl (785 kB)
|████████████████████████████████| 785 kB 4.2 MB/s
Collecting attrs<20.3,>=19.3
Downloading attrs-20.2.0-py2.py3-none-any.whl (48 kB)
|████████████████████████████████| 48 kB 2.0 MB/s
Collecting jsonschema<3.3,>=3.2
Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 1.7 MB/s
Collecting mattermostwrapper<2.3,>=2.2
Downloading mattermostwrapper-2.2.tar.gz (2.5 kB)
Collecting questionary<1.6.0,>=1.5.1
Downloading questionary-1.5.2-py3-none-any.whl (26 kB)
Collecting tensorflow_hub<0.10,>=0.9
Downloading tensorflow_hub-0.9.0-py2.py3-none-any.whl (103 kB)
|████████████████████████████████| 103 kB 5.0 MB/s
Collecting tensorflow-estimator<2.4,>=2.3
Downloading tensorflow_estimator-2.3.0-py2.py3-none-any.whl (459 kB)
|████████████████████████████████| 459 kB 4.4 MB/s
Collecting python-engineio<3.14,>=3.11
Downloading python_engineio-3.13.2-py2.py3-none-any.whl (50 kB)
|████████████████████████████████| 50 kB 2.2 MB/s
Collecting packaging<21.0,>=20.0
Downloading packaging-20.4-py2.py3-none-any.whl (37 kB)
Collecting regex<2020.10,>=2020.6
Downloading regex-2020.9.27-cp37-cp37m-manylinux2010_x86_64.whl (662 kB)
|████████████████████████████████| 662 kB 3.9 MB/s
Collecting tensorflow-text<2.4,>=2.3; sys_platform != "win32"
Downloading tensorflow_text-2.3.0-cp37-cp37m-manylinux1_x86_64.whl (2.6 MB)
|████████████████████████████████| 2.6 MB 4.4 MB/s
Collecting pydot<1.5,>=1.4
Downloading pydot-1.4.1-py2.py3-none-any.whl (19 kB)
Collecting colorclass<2.3,>=2.2
Downloading colorclass-2.2.0.tar.gz (17 kB)
Collecting sklearn-crfsuite<0.4,>=0.3
Downloading sklearn_crfsuite-0.3.6-py2.py3-none-any.whl (12 kB)
Collecting apscheduler<3.7,>=3.6
Downloading APScheduler-3.6.3-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 1.9 MB/s
Collecting redis<4.0,>=3.4
Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB)
|████████████████████████████████| 72 kB 271 kB/s
Collecting tqdm<4.51,>=4.31
Downloading tqdm-4.50.2-py2.py3-none-any.whl (70 kB)
|████████████████████████████████| 70 kB 2.7 MB/s
Collecting aio-pika<7.0.0,>=6.7.1
Downloading aio_pika-6.7.1-py3-none-any.whl (41 kB)
|████████████████████████████████| 41 kB 313 kB/s
Collecting python-telegram-bot<13.0,>=11.1
Downloading python_telegram_bot-12.8-py2.py3-none-any.whl (375 kB)
|████████████████████████████████| 375 kB 4.3 MB/s
Collecting sanic-cors<0.11.0,>=0.10.0b1
Downloading Sanic_Cors-0.10.0.post3-py2.py3-none-any.whl (17 kB)
Collecting ruamel.yaml<0.17.0,>=0.16.5
Downloading ruamel.yaml-0.16.12-py2.py3-none-any.whl (111 kB)
|████████████████████████████████| 111 kB 4.8 MB/s
Collecting pymongo[srv,tls]<3.11,>=3.8
Downloading pymongo-3.10.1-cp37-cp37m-manylinux2014_x86_64.whl (462 kB)
|████████████████████████████████| 462 kB 4.4 MB/s
Collecting boto3<2.0,>=1.12
Downloading boto3-1.16.25-py2.py3-none-any.whl (129 kB)
|████████████████████████████████| 129 kB 4.4 MB/s
Collecting coloredlogs<15,>=10
Downloading coloredlogs-14.0-py2.py3-none-any.whl (43 kB)
|████████████████████████████████| 43 kB 956 kB/s
Collecting matplotlib<3.4,>=3.1
Downloading matplotlib-3.3.3-cp37-cp37m-manylinux1_x86_64.whl (11.6 MB)
|████████████████████████████████| 11.6 MB 4.4 MB/s
Collecting jsonpickle<1.5,>=1.3
Downloading jsonpickle-1.4.1-py2.py3-none-any.whl (36 kB)
Collecting rasa-sdk<3.0.0,>=2.1.0
Downloading rasa_sdk-2.1.2-py3-none-any.whl (42 kB)
|████████████████████████████████| 42 kB 617 kB/s
Collecting pytz<2021.0,>=2019.1
Downloading pytz-2020.4-py2.py3-none-any.whl (509 kB)
|████████████████████████████████| 509 kB 4.4 MB/s
Collecting scipy<2.0.0,>=1.4.1
Downloading scipy-1.5.4-cp37-cp37m-manylinux1_x86_64.whl (25.9 MB)
|████████████████████████████████| 25.9 MB 4.5 MB/s
Collecting numpy<2.0,>=1.16
Downloading numpy-1.19.4-cp37-cp37m-manylinux2010_x86_64.whl (14.5 MB)
|████████████████████████████████| 14.5 MB 5.0 MB/s
Collecting aiohttp<3.7,>=3.6
Downloading aiohttp-3.6.3-cp37-cp37m-manylinux1_x86_64.whl (1.2 MB)
|████████████████████████████████| 1.2 MB 4.2 MB/s
Collecting rocketchat_API<1.10.0,>=0.6.31
Downloading rocketchat_API-1.9.1-py3-none-any.whl (9.8 kB)
Collecting tensorflow-probability<0.12,>=0.11
Downloading tensorflow_probability-0.11.1-py2.py3-none-any.whl (4.3 MB)
|████████████████████████████████| 4.3 MB 4.1 MB/s
Collecting sanic-jwt<1.5.0,>=1.3.2
Downloading sanic-jwt-1.4.1.tar.gz (19 kB)
Collecting webexteamssdk<1.7.0,>=1.1.1
Downloading webexteamssdk-1.6-py3-none-any.whl (113 kB)
|████████████████████████████████| 113 kB 4.5 MB/s
Collecting async_generator<1.11,>=1.10
Downloading async_generator-1.10-py3-none-any.whl (18 kB)
Collecting absl-py<0.11,>=0.9
Downloading absl_py-0.10.0-py3-none-any.whl (127 kB)
|████████████████████████████████| 127 kB 4.5 MB/s
Collecting scikit-learn<0.24,>=0.22
Downloading scikit_learn-0.23.2-cp37-cp37m-manylinux1_x86_64.whl (6.8 MB)
|████████████████████████████████| 6.8 MB 4.4 MB/s
Collecting multidict<5.0,>=4.6
Downloading multidict-4.7.6-cp37-cp37m-manylinux1_x86_64.whl (149 kB)
|████████████████████████████████| 149 kB 4.7 MB/s
Collecting fbmessenger<6.1.0,>=6.0.0
Downloading fbmessenger-6.0.0-py2.py3-none-any.whl (11 kB)
Collecting tensorflow-addons<=0.12,>=0.10
Downloading tensorflow_addons-0.11.2-cp37-cp37m-manylinux2010_x86_64.whl (1.1 MB)
|████████████████████████████████| 1.1 MB 4.2 MB/s
Collecting networkx<2.6,>=2.4
Downloading networkx-2.5-py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 4.1 MB/s
Collecting pykwalify<1.8.0,>=1.7.0
Downloading pykwalify-1.7.0-py2.py3-none-any.whl (40 kB)
|████████████████████████████████| 40 kB 2.0 MB/s
Collecting tensorflow<2.4,>=2.3
Downloading tensorflow-2.3.1-cp37-cp37m-manylinux2010_x86_64.whl (320.4 MB)
|████████████████████████████████| 320.4 MB 32 kB/s
Collecting cloudpickle<1.5,>=1.2
Downloading cloudpickle-1.4.1-py3-none-any.whl (26 kB)
Collecting colorhash<1.1.0,>=1.0.2
Downloading colorhash-1.0.2-py2.py3-none-any.whl (6.0 kB)
Collecting six>=1.9.0
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting wcwidth
Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting httplib2>=0.9.1
Downloading httplib2-0.18.1-py3-none-any.whl (95 kB)
|████████████████████████████████| 95 kB 1.7 MB/s
Collecting pyasn1-modules>=0.0.5
Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
|████████████████████████████████| 155 kB 4.6 MB/s
Collecting pyasn1>=0.1.7
Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
|████████████████████████████████| 77 kB 2.2 MB/s
Collecting rsa>=3.1.4
Downloading rsa-4.6-py3-none-any.whl (47 kB)
|████████████████████████████████| 47 kB 1.7 MB/s
Collecting certifi>=2017.4.17
Downloading certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
|████████████████████████████████| 155 kB 4.4 MB/s
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
|████████████████████████████████| 136 kB 4.6 MB/s
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 2.0 MB/s
Collecting chardet<4,>=3.0.2
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 3.2 MB/s
Collecting aiofiles>=0.3.0
Downloading aiofiles-0.6.0-py3-none-any.whl (11 kB)
Collecting uvloop>=0.5.3; sys_platform != "win32" and implementation_name == "cpython"
Downloading uvloop-0.14.0-cp37-cp37m-manylinux2010_x86_64.whl (3.8 MB)
|████████████████████████████████| 3.8 MB 463 kB/s
Collecting httpx==0.15.4
Downloading httpx-0.15.4-py3-none-any.whl (65 kB)
|████████████████████████████████| 65 kB 1.4 MB/s
Collecting websockets<9.0,>=8.1
Downloading websockets-8.1-cp37-cp37m-manylinux2010_x86_64.whl (79 kB)
|████████████████████████████████| 79 kB 2.4 MB/s
Collecting httptools>=0.0.10
Downloading httptools-0.1.1-cp37-cp37m-manylinux1_x86_64.whl (217 kB)
|████████████████████████████████| 217 kB 4.6 MB/s
Collecting importlib-metadata; python_version < "3.8"
Downloading importlib_metadata-3.1.0-py2.py3-none-any.whl (9.3 kB)
Collecting pyrsistent>=0.14.0
Downloading pyrsistent-0.17.3.tar.gz (106 kB)
|████████████████████████████████| 106 kB 4.6 MB/s
Collecting protobuf>=3.8.0
Downloading protobuf-3.14.0-cp37-cp37m-manylinux1_x86_64.whl (1.0 MB)
|████████████████████████████████| 1.0 MB 3.9 MB/s
Collecting pyparsing>=2.0.2
Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
|████████████████████████████████| 67 kB 2.1 MB/s
Collecting python-crfsuite>=0.8.3
Downloading python_crfsuite-0.9.7-cp37-cp37m-manylinux1_x86_64.whl (743 kB)
|████████████████████████████████| 743 kB 3.8 MB/s
Collecting tabulate
Downloading tabulate-0.8.7-py3-none-any.whl (24 kB)
Collecting tzlocal>=1.2
Downloading tzlocal-2.1-py2.py3-none-any.whl (16 kB)
Collecting yarl
Downloading yarl-1.6.3-cp37-cp37m-manylinux2014_x86_64.whl (294 kB)
|████████████████████████████████| 294 kB 4.6 MB/s
Collecting aiormq<4,>=3.2.3
Downloading aiormq-3.3.1-py3-none-any.whl (28 kB)
Collecting cryptography
Downloading cryptography-3.2.1-cp35-abi3-manylinux2010_x86_64.whl (2.6 MB)
|████████████████████████████████| 2.6 MB 4.1 MB/s
Collecting tornado>=5.1
Downloading tornado-6.1-cp37-cp37m-manylinux2010_x86_64.whl (428 kB)
|████████████████████████████████| 428 kB 4.0 MB/s
Collecting decorator>=4.4.0
Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting sanic-plugins-framework>=0.9.0
Downloading Sanic_Plugins_Framework-0.9.4.post1-py2.py3-none-any.whl (23 kB)
Collecting ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.9"
Downloading ruamel.yaml.clib-0.2.2-cp37-cp37m-manylinux1_x86_64.whl (547 kB)
|████████████████████████████████| 547 kB 4.5 MB/s
Collecting dnspython<2.0.0,>=1.16.0; extra == "srv"
Downloading dnspython-1.16.0-py2.py3-none-any.whl (188 kB)
|████████████████████████████████| 188 kB 4.4 MB/s
Collecting botocore<1.20.0,>=1.19.25
Downloading botocore-1.19.25-py2.py3-none-any.whl (6.9 MB)
|████████████████████████████████| 6.9 MB 4.1 MB/s
Collecting jmespath<1.0.0,>=0.7.1
Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting s3transfer<0.4.0,>=0.3.0
Downloading s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
|████████████████████████████████| 69 kB 2.0 MB/s
Collecting humanfriendly>=7.1
Downloading humanfriendly-8.2-py2.py3-none-any.whl (86 kB)
|████████████████████████████████| 86 kB 1.8 MB/s
Collecting cycler>=0.10
Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting kiwisolver>=1.0.1
Downloading kiwisolver-1.3.1-cp37-cp37m-manylinux1_x86_64.whl (1.1 MB)
|████████████████████████████████| 1.1 MB 4.2 MB/s
Collecting pillow>=6.2.0
Downloading Pillow-8.0.1-cp37-cp37m-manylinux1_x86_64.whl (2.2 MB)
|████████████████████████████████| 2.2 MB 4.2 MB/s
Collecting async-timeout<4.0,>=3.0
Downloading async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting gast>=0.3.2
Downloading gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting dm-tree
Downloading dm_tree-0.1.5-cp37-cp37m-manylinux1_x86_64.whl (294 kB)
|████████████████████████████████| 294 kB 4.5 MB/s
Collecting future
Downloading future-0.18.2.tar.gz (829 kB)
|████████████████████████████████| 829 kB 4.4 MB/s
Collecting requests-toolbelt
Downloading requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
|████████████████████████████████| 54 kB 1.1 MB/s
Collecting threadpoolctl>=2.0.0
Downloading threadpoolctl-2.1.0-py3-none-any.whl (12 kB)
Collecting typeguard>=2.7
Downloading typeguard-2.10.0-py3-none-any.whl (16 kB)
Collecting PyYAML>=3.11
Downloading PyYAML-5.3.1.tar.gz (269 kB)
|████████████████████████████████| 269 kB 4.5 MB/s
Collecting docopt>=0.6.2
Downloading docopt-0.6.2.tar.gz (25 kB)
Collecting wheel>=0.26
Downloading wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting h5py<2.11.0,>=2.10.0
Downloading h5py-2.10.0-cp37-cp37m-manylinux1_x86_64.whl (2.9 MB)
|████████████████████████████████| 2.9 MB 4.2 MB/s
Collecting keras-preprocessing<1.2,>=1.1.1
Downloading Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
|████████████████████████████████| 42 kB 587 kB/s
Collecting opt-einsum>=2.3.2
Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
|████████████████████████████████| 65 kB 1.2 MB/s
Collecting tensorboard<3,>=2.3.0
Downloading tensorboard-2.4.0-py3-none-any.whl (10.6 MB)
|████████████████████████████████| 10.6 MB 4.3 MB/s
Collecting wrapt>=1.11.1
Downloading wrapt-1.12.1.tar.gz (27 kB)
Collecting termcolor>=1.1.0
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting astunparse==1.6.3
Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting grpcio>=1.8.6
Downloading grpcio-1.33.2-cp37-cp37m-manylinux2014_x86_64.whl (3.8 MB)
|████████████████████████████████| 3.8 MB 3.9 MB/s
Collecting google-pasta>=0.1.8
Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB 2.1 MB/s
Collecting httpcore==0.11.*
Downloading httpcore-0.11.1-py3-none-any.whl (52 kB)
|████████████████████████████████| 52 kB 744 kB/s
Collecting sniffio
Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting rfc3986[idna2008]<2,>=1.3
Downloading rfc3986-1.4.0-py2.py3-none-any.whl (31 kB)
Collecting zipp>=0.5
Downloading zipp-3.4.0-py3-none-any.whl (5.2 kB)
Collecting typing-extensions>=3.7.4; python_version < "3.8"
Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Collecting pamqp==2.3.0
Downloading pamqp-2.3.0-py2.py3-none-any.whl (28 kB)
Collecting cffi!=1.11.3,>=1.8
Downloading cffi-1.14.4-cp37-cp37m-manylinux1_x86_64.whl (402 kB)
|████████████████████████████████| 402 kB 4.3 MB/s
Collecting tensorboard-plugin-wit>=1.6.0
Downloading tensorboard_plugin_wit-1.7.0-py3-none-any.whl (779 kB)
|████████████████████████████████| 779 kB 4.2 MB/s
Collecting google-auth-oauthlib<0.5,>=0.4.1
Downloading google_auth_oauthlib-0.4.2-py2.py3-none-any.whl (18 kB)
Collecting werkzeug>=0.11.15
Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
|████████████████████████████████| 298 kB 4.1 MB/s
Collecting markdown>=2.6.8
Downloading Markdown-3.3.3-py3-none-any.whl (96 kB)
|████████████████████████████████| 96 kB 1.6 MB/s
Collecting google-auth<2,>=1.6.3
Downloading google_auth-1.23.0-py2.py3-none-any.whl (114 kB)
|████████████████████████████████| 114 kB 3.6 MB/s
Collecting h11<0.10,>=0.8
Downloading h11-0.9.0-py2.py3-none-any.whl (53 kB)
|████████████████████████████████| 53 kB 849 kB/s
Collecting pycparser
Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
|████████████████████████████████| 112 kB 4.8 MB/s
Collecting requests-oauthlib>=0.7.0
Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting cachetools<5.0,>=2.0.0
Downloading cachetools-4.1.1-py3-none-any.whl (10 kB)
Collecting oauthlib>=3.0.0
Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
|████████████████████████████████| 147 kB 4.6 MB/s
Using legacy 'setup.py install' for terminaltables, since package 'wheel' is not installed.
Using legacy 'setup.py install' for twilio, since package 'wheel' is not installed.
Using legacy 'setup.py install' for mattermostwrapper, since package 'wheel' is not installed.
Using legacy 'setup.py install' for colorclass, since package 'wheel' is not installed.
Using legacy 'setup.py install' for sanic-jwt, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pyrsistent, since package 'wheel' is not installed.
Using legacy 'setup.py install' for future, since package 'wheel' is not installed.
Using legacy 'setup.py install' for PyYAML, since package 'wheel' is not installed.
Using legacy 'setup.py install' for docopt, since package 'wheel' is not installed.
Using legacy 'setup.py install' for wrapt, since package 'wheel' is not installed.
Using legacy 'setup.py install' for termcolor, since package 'wheel' is not installed.
Installing collected packages: joblib, six, wcwidth, prompt-toolkit, SQLAlchemy, terminaltables, psycopg2-binary, ujson, python-dateutil, httplib2, pyasn1, pyasn1-modules, rsa, oauth2client, kafka-python, PyJWT, multidict, chardet, attrs, async-timeout, typing-extensions, idna, yarl, aiohttp, slackclient, certifi, urllib3, requests, pytz, twilio, sentry-sdk, aiofiles, uvloop, h11, sniffio, httpcore, rfc3986, httpx, websockets, httptools, sanic, python-engineio, python-socketio, setuptools, zipp, importlib-metadata, pyrsistent, jsonschema, mattermostwrapper, questionary, protobuf, numpy, tensorflow-hub, tensorflow-estimator, pyparsing, packaging, regex, wheel, h5py, gast, keras-preprocessing, opt-einsum, tensorboard-plugin-wit, cachetools, google-auth, oauthlib, requests-oauthlib, google-auth-oauthlib, werkzeug, absl-py, markdown, grpcio, tensorboard, wrapt, termcolor, astunparse, google-pasta, tensorflow, tensorflow-text, pydot, colorclass, python-crfsuite, tabulate, tqdm, sklearn-crfsuite, tzlocal, apscheduler, redis, pamqp, aiormq, aio-pika, pycparser, cffi, cryptography, tornado, decorator, python-telegram-bot, sanic-plugins-framework, sanic-cors, ruamel.yaml.clib, ruamel.yaml, dnspython, pymongo, jmespath, botocore, s3transfer, boto3, humanfriendly, coloredlogs, cycler, kiwisolver, pillow, matplotlib, jsonpickle, rasa-sdk, scipy, rocketchat-API, cloudpickle, dm-tree, tensorflow-probability, sanic-jwt, future, requests-toolbelt, webexteamssdk, async-generator, threadpoolctl, scikit-learn, fbmessenger, typeguard, tensorflow-addons, networkx, PyYAML, docopt, pykwalify, colorhash, rasa
Running setup.py install for terminaltables ... done
Running setup.py install for twilio ... done
Attempting uninstall: setuptools
Found existing installation: setuptools 40.8.0
Uninstalling setuptools-40.8.0:
Successfully uninstalled setuptools-40.8.0
Running setup.py install for pyrsistent ... done
Running setup.py install for mattermostwrapper ... done
Running setup.py install for wrapt ... done
Running setup.py install for termcolor ... done
Running setup.py install for colorclass ... done
Running setup.py install for sanic-jwt ... done
Running setup.py install for future ... done
Running setup.py install for PyYAML ... done
Running setup.py install for docopt ... done
**ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
aiohttp 3.6.3 requires yarl<1.6.0,>=1.0, but you'll have yarl 1.6.3 which is incompatible.
sanic 20.9.1 requires multidict==5.0.0, but you'll have multidict 4.7.6 which is incompatible.
tensorflow 2.3.1 requires gast==0.3.3, but you'll have gast 0.4.0 which is incompatible.
tensorflow 2.3.1 requires numpy<1.19.0,>=1.16.0, but you'll have numpy 1.19.4 which is incompatible.**
Successfully installed PyJWT-1.7.1 PyYAML-5.3.1 SQLAlchemy-1.3.20 absl-py-0.10.0 aio-pika-6.7.1 aiofiles-0.6.0 aiohttp-3.6.3 aiormq-3.3.1 apscheduler-3.6.3 astunparse-1.6.3 async-generator-1.10 async-timeout-3.0.1 attrs-20.2.0 boto3-1.16.25 botocore-1.19.25 cachetools-4.1.1 certifi-2020.11.8 cffi-1.14.4 chardet-3.0.4 cloudpickle-1.4.1 colorclass-2.2.0 coloredlogs-14.0 colorhash-1.0.2 cryptography-3.2.1 cycler-0.10.0 decorator-4.4.2 dm-tree-0.1.5 dnspython-1.16.0 docopt-0.6.2 fbmessenger-6.0.0 future-0.18.2 gast-0.4.0 google-auth-1.23.0 google-auth-oauthlib-0.4.2 google-pasta-0.2.0 grpcio-1.33.2 h11-0.9.0 h5py-2.10.0 httpcore-0.11.1 httplib2-0.18.1 httptools-0.1.1 httpx-0.15.4 humanfriendly-8.2 idna-2.10 importlib-metadata-3.1.0 jmespath-0.10.0 joblib-0.15.1 jsonpickle-1.4.1 jsonschema-3.2.0 kafka-python-2.0.2 keras-preprocessing-1.1.2 kiwisolver-1.3.1 markdown-3.3.3 matplotlib-3.3.3 mattermostwrapper-2.2 multidict-4.7.6 networkx-2.5 numpy-1.19.4 oauth2client-4.1.3 oauthlib-3.1.0 opt-einsum-3.3.0 packaging-20.4 pamqp-2.3.0 pillow-8.0.1 prompt-toolkit-2.0.10 protobuf-3.14.0 psycopg2-binary-2.8.6 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 pydot-1.4.1 pykwalify-1.7.0 pymongo-3.10.1 pyparsing-2.4.7 pyrsistent-0.17.3 python-crfsuite-0.9.7 python-dateutil-2.8.1 python-engineio-3.13.2 python-socketio-4.6.0 python-telegram-bot-12.8 pytz-2020.4 questionary-1.5.2 rasa-2.1.1 rasa-sdk-2.1.2 redis-3.5.3 regex-2020.9.27 requests-2.25.0 requests-oauthlib-1.3.0 requests-toolbelt-0.9.1 rfc3986-1.4.0 rocketchat-API-1.9.1 rsa-4.6 ruamel.yaml-0.16.12 ruamel.yaml.clib-0.2.2 s3transfer-0.3.3 sanic-20.9.1 sanic-cors-0.10.0.post3 sanic-jwt-1.4.1 sanic-plugins-framework-0.9.4.post1 scikit-learn-0.23.2 scipy-1.5.4 sentry-sdk-0.19.4 setuptools-50.3.2 six-1.15.0 sklearn-crfsuite-0.3.6 slackclient-2.9.3 sniffio-1.2.0 tabulate-0.8.7 tensorboard-2.4.0 tensorboard-plugin-wit-1.7.0 tensorflow-2.3.1 tensorflow-addons-0.11.2 tensorflow-estimator-2.3.0 tensorflow-hub-0.9.0 tensorflow-probability-0.11.1 tensorflow-text-2.3.0 termcolor-1.1.0 terminaltables-3.1.0 threadpoolctl-2.1.0 tornado-6.1 tqdm-4.50.2 twilio-6.45.4 typeguard-2.10.0 typing-extensions-3.7.4.3 tzlocal-2.1 ujson-3.2.0 urllib3-1.26.2 uvloop-0.14.0 wcwidth-0.2.5 webexteamssdk-1.6 websockets-8.1 werkzeug-1.0.1 wheel-0.35.1 wrapt-1.12.1 yarl-1.6.3 zipp-3.4.0

Adding the recommedation "--use-feature=2020-resolver" to pip3 command solves the issue:
pip3 install rasa --use-feature=2020-resolver

Thanks for raising this issue, @samsucik will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

I just installed rasa==2.1.2 using pip==20.3 in a clean venv using Python 3.8.6, and I'm not getting any error.
❯ pip install rasa
Collecting rasa
  Using cached rasa-2.1.2-py3-none-any.whl (647 kB)
Requirement already satisfied: setuptools>=41.0.0 in /Users/tobias/.pyenv/versions/3.8.6/envs/pip-test/lib/python3.8/site-packages (from rasa) (50.3.2)
Collecting absl-py<0.11,>=0.9
  Using cached absl_py-0.10.0-py3-none-any.whl (127 kB)
Collecting aio-pika<7.0.0,>=6.7.1
  Using cached aio_pika-6.7.1-py3-none-any.whl (41 kB)
Collecting aiohttp<3.7,>=3.6
  Using cached aiohttp-3.6.3-cp38-cp38-macosx_10_15_x86_64.whl
Collecting aiormq<4,>=3.2.3
  Using cached aiormq-3.3.1-py3-none-any.whl (28 kB)
Collecting apscheduler<3.7,>=3.6
  Using cached APScheduler-3.6.3-py2.py3-none-any.whl (58 kB)
Requirement already satisfied: setuptools>=41.0.0 in /Users/tobias/.pyenv/versions/3.8.6/envs/pip-test/lib/python3.8/site-packages (from rasa) (50.3.2)
Collecting async_generator<1.11,>=1.10
  Using cached async_generator-1.10-py3-none-any.whl (18 kB)
Collecting async-timeout<4.0,>=3.0
  Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting attrs<20.3,>=19.3
  Using cached attrs-20.2.0-py2.py3-none-any.whl (48 kB)
Collecting boto3<2.0,>=1.12
  Using cached boto3-1.16.26-py2.py3-none-any.whl (129 kB)
Collecting botocore<1.20.0,>=1.19.26
  Using cached botocore-1.19.26-py2.py3-none-any.whl (6.9 MB)
Collecting chardet<4.0,>=2.0
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting cloudpickle<1.5,>=1.2
  Using cached cloudpickle-1.4.1-py3-none-any.whl (26 kB)
Collecting colorclass<2.3,>=2.2
  Using cached colorclass-2.2.0-py3-none-any.whl
Collecting coloredlogs<15,>=10
  Using cached coloredlogs-14.0-py2.py3-none-any.whl (43 kB)
Collecting colorhash<1.1.0,>=1.0.2
  Using cached colorhash-1.0.2-py2.py3-none-any.whl (6.0 kB)
Collecting fbmessenger<6.1.0,>=6.0.0
  Using cached fbmessenger-6.0.0-py2.py3-none-any.whl (11 kB)
Collecting humanfriendly>=7.1
  Using cached humanfriendly-9.0-py2.py3-none-any.whl (86 kB)
Collecting jmespath<1.0.0,>=0.7.1
  Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting joblib<0.16.0,>=0.15.1
  Using cached joblib-0.15.1-py3-none-any.whl (298 kB)
Collecting jsonpickle<1.5,>=1.3
  Using cached jsonpickle-1.4.2-py2.py3-none-any.whl (36 kB)
Collecting jsonschema<3.3,>=3.2
  Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Requirement already satisfied: setuptools>=41.0.0 in /Users/tobias/.pyenv/versions/3.8.6/envs/pip-test/lib/python3.8/site-packages (from rasa) (50.3.2)
Collecting kafka-python<3.0,>=1.4
  Using cached kafka_python-2.0.2-py2.py3-none-any.whl (246 kB)
Collecting matplotlib<3.4,>=3.1
  Using cached matplotlib-3.3.3-cp38-cp38-macosx_10_9_x86_64.whl (8.5 MB)
Collecting cycler>=0.10
  Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl (61 kB)
Collecting mattermostwrapper<2.3,>=2.2
  Using cached mattermostwrapper-2.2-py3-none-any.whl
Collecting multidict<5.0,>=4.6
  Using cached multidict-4.7.6-cp38-cp38-macosx_10_14_x86_64.whl (48 kB)
Collecting networkx<2.6,>=2.4
  Using cached networkx-2.5-py3-none-any.whl (1.6 MB)
Collecting decorator>=4.3.0
  Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting numpy<2.0,>=1.16
  Downloading numpy-1.19.4-cp38-cp38-macosx_10_9_x86_64.whl (15.3 MB)
     |████████████████████████████████| 15.3 MB 6.5 MB/s
Collecting oauth2client==4.1.3
  Using cached oauth2client-4.1.3-py2.py3-none-any.whl (98 kB)
Collecting httplib2>=0.9.1
  Using cached httplib2-0.18.1-py3-none-any.whl (95 kB)
Collecting packaging<21.0,>=20.0
  Using cached packaging-20.7-py2.py3-none-any.whl (35 kB)
Collecting pamqp==2.3.0
  Using cached pamqp-2.3.0-py2.py3-none-any.whl (28 kB)
Collecting pillow>=6.2.0
  Using cached Pillow-8.0.1-cp38-cp38-macosx_10_10_x86_64.whl (2.2 MB)
Collecting prompt-toolkit<3.0,>=2.0
  Using cached prompt_toolkit-2.0.10-py3-none-any.whl (340 kB)
Collecting psycopg2-binary<2.9.0,>=2.8.2
  Using cached psycopg2_binary-2.8.6-cp38-cp38-macosx_10_9_x86_64.macosx_10_9_intel.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.5 MB)
Collecting pyasn1>=0.1.7
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyasn1-modules>=0.0.5
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting pydot<1.5,>=1.4
  Using cached pydot-1.4.1-py2.py3-none-any.whl (19 kB)
Collecting PyJWT<1.8,>=1.7
  Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting pykwalify<1.8.0,>=1.7.0
  Using cached pykwalify-1.7.0-py2.py3-none-any.whl (40 kB)
Collecting docopt>=0.6.2
  Using cached docopt-0.6.2-py2.py3-none-any.whl
Collecting pymongo[srv,tls]<3.11,>=3.8
  Using cached pymongo-3.10.1-cp38-cp38-macosx_10_9_x86_64.whl (351 kB)
Collecting dnspython<2.0.0,>=1.16.0
  Using cached dnspython-1.16.0-py2.py3-none-any.whl (188 kB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting pyrsistent>=0.14.0
  Using cached pyrsistent-0.17.3-cp38-cp38-macosx_10_15_x86_64.whl
Collecting python-dateutil<2.9,>=2.8
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting python-engineio<3.14,>=3.11
  Using cached python_engineio-3.13.2-py2.py3-none-any.whl (50 kB)
Collecting python-socketio<4.7,>=4.4
  Using cached python_socketio-4.6.1-py2.py3-none-any.whl (51 kB)
Collecting python-telegram-bot<13.0,>=11.1
  Using cached python_telegram_bot-12.8-py2.py3-none-any.whl (375 kB)
Collecting certifi
  Using cached certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
Collecting cryptography
  Using cached cryptography-3.2.1-cp35-abi3-macosx_10_10_x86_64.whl (1.8 MB)
Collecting cffi!=1.11.3,>=1.8
  Using cached cffi-1.14.4-cp38-cp38-macosx_10_9_x86_64.whl (176 kB)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting pytz<2021.0,>=2019.1
  Using cached pytz-2020.4-py2.py3-none-any.whl (509 kB)
Collecting PyYAML>=3.11
  Using cached PyYAML-5.3.1-cp38-cp38-macosx_10_15_x86_64.whl
Collecting questionary<1.6.0,>=1.5.1
  Using cached questionary-1.5.2-py3-none-any.whl (26 kB)
Collecting rasa-sdk<3.0.0,>=2.1.0
  Using cached rasa_sdk-2.1.2-py3-none-any.whl (42 kB)
Collecting redis<4.0,>=3.4
  Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting regex<2020.10,>=2020.6
  Using cached regex-2020.9.27-cp38-cp38-macosx_10_15_x86_64.whl
Collecting requests<3.0,>=2.23
  Using cached requests-2.25.0-py2.py3-none-any.whl (61 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting rocketchat_API<1.10.0,>=0.6.31
  Using cached rocketchat_API-1.9.1-py3-none-any.whl (9.8 kB)
Collecting rsa>=3.1.4
  Using cached rsa-4.6-py3-none-any.whl (47 kB)
Collecting ruamel.yaml<0.17.0,>=0.16.5
  Using cached ruamel.yaml-0.16.12-py2.py3-none-any.whl (111 kB)
Collecting ruamel.yaml.clib>=0.1.2
  Using cached ruamel.yaml.clib-0.2.2-cp38-cp38-macosx_10_9_x86_64.whl (149 kB)
Collecting s3transfer<0.4.0,>=0.3.0
  Using cached s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
Collecting sanic<21.0.0,>=19.12.2
  Downloading sanic-20.9.1-py3-none-any.whl (79 kB)
     |████████████████████████████████| 79 kB 7.9 MB/s
  Using cached sanic-20.9.0-py3-none-any.whl (79 kB)
Collecting aiofiles>=0.3.0
  Using cached aiofiles-0.6.0-py3-none-any.whl (11 kB)
Collecting httptools>=0.0.10
  Using cached httptools-0.1.1-cp38-cp38-macosx_10_13_x86_64.whl (102 kB)
Collecting httpx==0.15.4
  Using cached httpx-0.15.4-py3-none-any.whl (65 kB)
Collecting httpcore==0.11.*
  Using cached httpcore-0.11.1-py3-none-any.whl (52 kB)
Collecting h11<0.10,>=0.8
  Using cached h11-0.9.0-py2.py3-none-any.whl (53 kB)
Collecting rfc3986[idna2008]<2,>=1.3
  Using cached rfc3986-1.4.0-py2.py3-none-any.whl (31 kB)
Collecting sanic-cors<0.11.0,>=0.10.0b1
  Using cached Sanic_Cors-0.10.0.post3-py2.py3-none-any.whl (17 kB)
Collecting sanic-jwt<1.5.0,>=1.3.2
  Using cached sanic_jwt-1.4.1-py3-none-any.whl
Collecting sanic-plugins-framework>=0.9.0
  Using cached Sanic_Plugins_Framework-0.9.4.post1-py2.py3-none-any.whl (23 kB)
Requirement already satisfied: setuptools>=41.0.0 in /Users/tobias/.pyenv/versions/3.8.6/envs/pip-test/lib/python3.8/site-packages (from rasa) (50.3.2)
Collecting scikit-learn<0.24,>=0.22
  Using cached scikit_learn-0.23.2-cp38-cp38-macosx_10_9_x86_64.whl (7.2 MB)
Collecting scipy<2.0.0,>=1.4.1
  Using cached scipy-1.5.4-cp38-cp38-macosx_10_9_x86_64.whl (29.0 MB)
Collecting sentry-sdk<0.20.0,>=0.17.0
  Using cached sentry_sdk-0.19.4-py2.py3-none-any.whl (128 kB)
Collecting six
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting sklearn-crfsuite<0.4,>=0.3
  Using cached sklearn_crfsuite-0.3.6-py2.py3-none-any.whl (12 kB)
Collecting python-crfsuite>=0.8.3
  Using cached python_crfsuite-0.9.7-cp38-cp38-macosx_10_13_x86_64.whl (186 kB)
Collecting slackclient<3.0.0,>=2.0.0
  Using cached slackclient-2.9.3-py2.py3-none-any.whl (96 kB)
Collecting sniffio
  Using cached sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting SQLAlchemy<1.4.0,>=1.3.3
  Using cached SQLAlchemy-1.3.20-cp38-cp38-macosx_10_14_x86_64.whl (1.2 MB)
Collecting tabulate
  Using cached tabulate-0.8.7-py3-none-any.whl (24 kB)
Collecting tensorflow<2.4,>=2.3
  Using cached tensorflow-2.3.1-cp38-cp38-macosx_10_14_x86_64.whl (165.2 MB)
Requirement already satisfied: wheel>=0.26 in /Users/tobias/.pyenv/versions/3.8.6/envs/pip-test/lib/python3.8/site-packages (from tensorflow<2.4,>=2.3->rasa) (0.35.1)
Collecting astunparse==1.6.3
  Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Requirement already satisfied: wheel>=0.26 in /Users/tobias/.pyenv/versions/3.8.6/envs/pip-test/lib/python3.8/site-packages (from tensorflow<2.4,>=2.3->rasa) (0.35.1)
Collecting gast==0.3.3
  Using cached gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
Collecting google-pasta>=0.1.8
  Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
Collecting grpcio>=1.8.6
  Using cached grpcio-1.33.2-cp38-cp38-macosx_10_9_x86_64.whl (3.4 MB)
Collecting h5py<2.11.0,>=2.10.0
  Using cached h5py-2.10.0-cp38-cp38-macosx_10_9_x86_64.whl (3.0 MB)
Collecting keras-preprocessing<1.2,>=1.1.1
  Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
Collecting numpy<2.0,>=1.16
  Using cached numpy-1.18.5-cp38-cp38-macosx_10_9_x86_64.whl (15.1 MB)
Collecting opt-einsum>=2.3.2
  Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
Collecting protobuf>=3.9.2
  Using cached protobuf-3.14.0-cp38-cp38-macosx_10_9_x86_64.whl (1.0 MB)
Collecting tensorboard<3,>=2.3.0
  Using cached tensorboard-2.4.0-py3-none-any.whl (10.6 MB)
Requirement already satisfied: wheel>=0.26 in /Users/tobias/.pyenv/versions/3.8.6/envs/pip-test/lib/python3.8/site-packages (from tensorflow<2.4,>=2.3->rasa) (0.35.1)
Requirement already satisfied: setuptools>=41.0.0 in /Users/tobias/.pyenv/versions/3.8.6/envs/pip-test/lib/python3.8/site-packages (from rasa) (50.3.2)
Collecting google-auth<2,>=1.6.3
  Using cached google_auth-1.23.0-py2.py3-none-any.whl (114 kB)
Requirement already satisfied: setuptools>=41.0.0 in /Users/tobias/.pyenv/versions/3.8.6/envs/pip-test/lib/python3.8/site-packages (from rasa) (50.3.2)
Collecting cachetools<5.0,>=2.0.0
  Using cached cachetools-4.1.1-py3-none-any.whl (10 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
  Using cached google_auth_oauthlib-0.4.2-py2.py3-none-any.whl (18 kB)
Collecting markdown>=2.6.8
  Using cached Markdown-3.3.3-py3-none-any.whl (96 kB)
Collecting requests-oauthlib>=0.7.0
  Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting oauthlib>=3.0.0
  Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Collecting tensorboard-plugin-wit>=1.6.0
  Using cached tensorboard_plugin_wit-1.7.0-py3-none-any.whl (779 kB)
Collecting tensorflow-addons<=0.12,>=0.10
  Using cached tensorflow_addons-0.11.2-cp38-cp38-macosx_10_13_x86_64.whl (613 kB)
Collecting tensorflow-estimator<2.4,>=2.3
  Using cached tensorflow_estimator-2.3.0-py2.py3-none-any.whl (459 kB)
Collecting tensorflow_hub<0.10,>=0.9
  Using cached tensorflow_hub-0.9.0-py2.py3-none-any.whl (103 kB)
Collecting tensorflow-probability<0.12,>=0.11
  Using cached tensorflow_probability-0.11.1-py2.py3-none-any.whl (4.3 MB)
Collecting dm-tree
  Using cached dm_tree-0.1.5-cp38-cp38-macosx_10_14_x86_64.whl (95 kB)
Collecting tensorflow-text<2.4,>=2.3
  Using cached tensorflow_text-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl (2.2 MB)
Collecting termcolor>=1.1.0
  Using cached termcolor-1.1.0-py3-none-any.whl
Collecting terminaltables<3.2.0,>=3.1.0
  Using cached terminaltables-3.1.0-py3-none-any.whl
Collecting threadpoolctl>=2.0.0
  Using cached threadpoolctl-2.1.0-py3-none-any.whl (12 kB)
Collecting tornado>=5.1
  Using cached tornado-6.1-cp38-cp38-macosx_10_9_x86_64.whl (416 kB)
Collecting tqdm<4.51,>=4.31
  Using cached tqdm-4.50.2-py2.py3-none-any.whl (70 kB)
Collecting twilio<6.46,>=6.26
  Using cached twilio-6.45.4-py2.py3-none-any.whl
Collecting typeguard>=2.7
  Using cached typeguard-2.10.0-py3-none-any.whl (16 kB)
Collecting tzlocal>=1.2
  Using cached tzlocal-2.1-py2.py3-none-any.whl (16 kB)
Collecting ujson<4.0,>=1.35
  Using cached ujson-3.2.0-cp38-cp38-macosx_10_14_x86_64.whl (45 kB)
Collecting urllib3<1.27,>=1.25.4
  Using cached urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
Collecting uvloop>=0.5.3
  Using cached uvloop-0.14.0-cp38-cp38-macosx_10_11_x86_64.whl (1.5 MB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting webexteamssdk<1.7.0,>=1.1.1
  Using cached webexteamssdk-1.6-py3-none-any.whl (113 kB)
Collecting future
  Using cached future-0.18.2-py3-none-any.whl
Collecting requests-toolbelt
  Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Collecting websockets<9.0,>=8.1
  Downloading websockets-8.1-cp38-cp38-macosx_10_9_x86_64.whl (64 kB)
     |████████████████████████████████| 64 kB 4.6 MB/s
Collecting werkzeug>=0.11.15
  Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting wrapt>=1.11.1
  Using cached wrapt-1.12.1-cp38-cp38-macosx_10_15_x86_64.whl
Collecting yarl
  Using cached yarl-1.5.1-cp38-cp38-macosx_10_14_x86_64.whl (128 kB)
Installing collected packages: urllib3, sniffio, rfc3986, pyasn1, idna, h11, chardet, certifi, six, rsa, requests, pyasn1-modules, oauthlib, httpcore, cachetools, websockets, uvloop, ujson, requests-oauthlib, multidict, httpx, httptools, google-auth, aiofiles, werkzeug, tensorboard-plugin-wit, sanic, python-dateutil, pycparser, protobuf, numpy, markdown, jmespath, grpcio, google-auth-oauthlib, absl-py, yarl, wrapt, wcwidth, termcolor, tensorflow-estimator, tensorboard, sanic-plugins-framework, pytz, pamqp, opt-einsum, keras-preprocessing, humanfriendly, h5py, google-pasta, gast, cffi, botocore, attrs, async-timeout, astunparse, tzlocal, typeguard, tqdm, tornado, threadpoolctl, tensorflow, tabulate, scipy, sanic-cors, s3transfer, ruamel.yaml.clib, requests-toolbelt, PyYAML, python-engineio, python-crfsuite, pyrsistent, pyparsing, pymongo, PyJWT, prompt-toolkit, pillow, kiwisolver, joblib, httplib2, future, docopt, dnspython, dm-tree, decorator, cycler, cryptography, coloredlogs, cloudpickle, aiormq, aiohttp, webexteamssdk, twilio, terminaltables, tensorflow-text, tensorflow-probability, tensorflow-hub, tensorflow-addons, SQLAlchemy, slackclient, sklearn-crfsuite, sentry-sdk, scikit-learn, sanic-jwt, ruamel.yaml, rocketchat-API, regex, redis, rasa-sdk, questionary, python-telegram-bot, python-socketio, pykwalify, pydot, psycopg2-binary, packaging, oauth2client, networkx, mattermostwrapper, matplotlib, kafka-python, jsonschema, jsonpickle, fbmessenger, colorhash, colorclass, boto3, async-generator, apscheduler, aio-pika, rasa
Successfully installed PyJWT-1.7.1 PyYAML-5.3.1 SQLAlchemy-1.3.20 absl-py-0.10.0 aio-pika-6.7.1 aiofiles-0.6.0 aiohttp-3.6.3 aiormq-3.3.1 apscheduler-3.6.3 astunparse-1.6.3 async-generator-1.10 async-timeout-3.0.1 attrs-20.2.0 boto3-1.16.26 botocore-1.19.26 cachetools-4.1.1 certifi-2020.11.8 cffi-1.14.4 chardet-3.0.4 cloudpickle-1.4.1 colorclass-2.2.0 coloredlogs-14.0 colorhash-1.0.2 cryptography-3.2.1 cycler-0.10.0 decorator-4.4.2 dm-tree-0.1.5 dnspython-1.16.0 docopt-0.6.2 fbmessenger-6.0.0 future-0.18.2 gast-0.3.3 google-auth-1.23.0 google-auth-oauthlib-0.4.2 google-pasta-0.2.0 grpcio-1.33.2 h11-0.9.0 h5py-2.10.0 httpcore-0.11.1 httplib2-0.18.1 httptools-0.1.1 httpx-0.15.4 humanfriendly-9.0 idna-2.10 jmespath-0.10.0 joblib-0.15.1 jsonpickle-1.4.2 jsonschema-3.2.0 kafka-python-2.0.2 keras-preprocessing-1.1.2 kiwisolver-1.3.1 markdown-3.3.3 matplotlib-3.3.3 mattermostwrapper-2.2 multidict-4.7.6 networkx-2.5 numpy-1.18.5 oauth2client-4.1.3 oauthlib-3.1.0 opt-einsum-3.3.0 packaging-20.7 pamqp-2.3.0 pillow-8.0.1 prompt-toolkit-2.0.10 protobuf-3.14.0 psycopg2-binary-2.8.6 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 pydot-1.4.1 pykwalify-1.7.0 pymongo-3.10.1 pyparsing-2.4.7 pyrsistent-0.17.3 python-crfsuite-0.9.7 python-dateutil-2.8.1 python-engineio-3.13.2 python-socketio-4.6.1 python-telegram-bot-12.8 pytz-2020.4 questionary-1.5.2 rasa-2.1.2 rasa-sdk-2.1.2 redis-3.5.3 regex-2020.9.27 requests-2.25.0 requests-oauthlib-1.3.0 requests-toolbelt-0.9.1 rfc3986-1.4.0 rocketchat-API-1.9.1 rsa-4.6 ruamel.yaml-0.16.12 ruamel.yaml.clib-0.2.2 s3transfer-0.3.3 sanic-20.9.0 sanic-cors-0.10.0.post3 sanic-jwt-1.4.1 sanic-plugins-framework-0.9.4.post1 scikit-learn-0.23.2 scipy-1.5.4 sentry-sdk-0.19.4 six-1.15.0 sklearn-crfsuite-0.3.6 slackclient-2.9.3 sniffio-1.2.0 tabulate-0.8.7 tensorboard-2.4.0 tensorboard-plugin-wit-1.7.0 tensorflow-2.3.1 tensorflow-addons-0.11.2 tensorflow-estimator-2.3.0 tensorflow-hub-0.9.0 tensorflow-probability-0.11.1 tensorflow-text-2.3.0 termcolor-1.1.0 terminaltables-3.1.0 threadpoolctl-2.1.0 tornado-6.1 tqdm-4.50.2 twilio-6.45.4 typeguard-2.10.0 tzlocal-2.1 ujson-3.2.0 urllib3-1.26.2 uvloop-0.14.0 wcwidth-0.2.5 webexteamssdk-1.6 websockets-8.1 werkzeug-1.0.1 wrapt-1.12.1 yarl-1.5.1
❯ pip check
No broken requirements found.

@earroyoh This issue arises as pip is not able to resolve conflicts properly when not using the new dependency resolver (--use-feature=2020-resolve). This is caused by the existing dependencies on your machine. I'd recommend to install rasa in a clean virtual env (e.g. venv)

authors: earroyoh sara-tagger wochinge


text:
Unset the default values for num_threads and finetuning_epoch_fraction to None in order  to fix cases when CLI defaults override the data from config.

Proposed changes:

fix #10409

I unset the default values to fix this because in this case:

the default config is being used anyway
it makes it possible to still use CLI --num-threads and --epoch-fraction to override the values

Status (please check what you already did):

[x] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

Sorry if my description wasn't clear there. What I mean is then when I use the CLI, the cli_parameters dict is not empty but populated with the defaults even though I don't pass any arguments in the command line. The new tests do not cover that case - we'd need to test rasa train there

@ka-bu could you check it again?
I did another fix, and now I basically updated the default values and made sure --num-threads and --epoch-fraction can still be used to override the values coming from the config.
We don't have any tests for CLI arguments extraction, so in this case I extended the previously created test to make sure that in case nothing is extracted (= no extra arguments for rasa train specified) the default config is being used.

authors: alwx ka-bu


text:
optionally name stories generated from interactive learning

Proposed changes:

...Fixes #3411

Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog
[x] reformat files using black (please check Readme for instructions)

@erohmensing does this look good?

Thanks for the PR, we'll give it a review as soon as possible.

Hi @chidauri, this looks like it will still write each story under the same name (with different numbers) rather than a different name for each story. My original idea would be that whenever you would finish a story and decide to write another, it would ask you for a name, and then that would be stored and used when all the stories were outputted. However, since the output comes from one long tracker that is separated on restart events, I'm not sure if there is actually a clean way to do this.
TL;DR - this isn't the solution, but I'm not sure there really is a clean solution to this. Happy to discuss further though (maybe on the issue would be more appropriate). WDYT?

No worries. I think I'll close this issue, too. Hope you continue to contribute after your exams though, thank you for the work you put into this!

authors: chidauri erohmensing msamogh


text:
add automated memory leak tests

Proposed changes:

fix https://github.com/RasaHQ/rasa/issues/7827
add two checks to detect memory leaks during training:

for the training of the core policies
for the training of the NLU components

add new marker  category_performance which runs the memory leak tests as separate job of the python test suite

You can find different plots here
Status (please check what you already did):

[x] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

It's not passing yet, but would be great to get some feedback @joejuzl @twerkmeister . To be honest I somewhat doubt the the sense of running this on infrastructure which we don't control.

To be honest I somewhat doubt the the sense of running this on infrastructure which we don't control.

This is why I would opt for a simple threshold. If memory usage is higher than expected on any infrastructure it indicates a problem. Also if any of our test jobs go over 4gb they are going to fail anyway - so we should catch it earlier.

Will look into it tomorrow morning!

@wochinge I think this is a great additional testing tool 🥇 ! Will have to think about implications and possible edge cases a bit more, but I think this is a really good start for catching memory leaks. I assume we will add additional cases and tweaks over time.
Only one limitation came to my mind so far. Afaik the memory profiler only concerns itself with the main memory of the machine, but not the graphics card memory. So if you run this on a machine with the necessary hardware and software for our neural network models, these might get pushed on the graphics card and you won't see that memory with the profiler. I think this is not a concern for the ci infrastructure, but if we want it to work in a similar fashion across all sorts of machines, this could be a pitfall. If we care about this, you could possibly set some config / env variable in the tests that would force models onto the CPU thus making them visible to the profiler.

Just ran make test-performance locally on my Laptop. It worked and took about 9 minutes which seems in line with the 11min it took on the ci infrastructure

Wondering whether we should have real data for the nlu case? Maybe a very small subset of multiwoz? I think this would cover some additional ground when components are susceptible to leaks with regards to number of different words or patterns in the data.

authors: joejuzl twerkmeister wochinge


text:
How to send carousel in facebook using actions.

Hi, i need help with this problem, i can't send carousel just buttons with type of postback.

will this PR solve your problem? https://github.com/RasaHQ/rasa_core/pull/1477/

license_source: bigquery


text:
Consider port overrides when constructing server URLs

Proposed changes:
I found that when using the cmdline channel, a possible port override passed to serve_application will not be considered as the hardcoded URL that is already formatted with the default port is being passed here: https://github.com/RasaHQ/rasa_core/blob/a26dd755492a0c3d3516229967b38bf8930e8179/rasa_core/run.py#L209
creating a possible mismatch between listener and caller. Instead, always consider possible port overrides when passing the server URL.
Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

Thanks for the fix :+1:


text:
Fix recursive example

params.id comes back as string when you navigate

Thanks!

repo: ReactTraining/react-router

license: mit


text:
Have ArrayObservable.create return an Empty or ScalarObservable if possible.

This could then be used in from and fromArray so the resulting Observable performed better in various operations.

... alternatively, we could have ArrayObservable use the _isScalar and value properties as used in #279 once that lands.

repo: ReactiveX/RxJS


text:
Type definition complains for some operators with union type

For example, signature of Observable.of is defined as below
Rx.Observable.of(value, [scheduler])
and declaration is like below, accepts value or scheduler with union type definition.
static of<T>(...array: (T | Scheduler)[]): Observable<T>
which makes eventually type inference confusions like

since array now contains value:T and scheduler:Scheduler both.
While this doesn't hurt functionality at all, would be better to have way to suppress these type of complains.

I will prepare PR resolves this issue partially as starting point.


text:
Compile TS to native JS modules

RxJS version: 5.4.3
Code to reproduce:
<script type="module">
import * as Rx from './node_modules/rxjs/Rx.js'
</script>

Expected behavior: There should be a way to load RxJS via native JS module
Actual behavior: Can't access Rx when using JS modules (error: require is not defined)

This one requires build target for ES2015 modules, which we started include in https://github.com/ReactiveX/rxjs/pull/2804 . I think there'll be still some churns to actually able to use it but please give it a shot with 5.5 b.

I tried again with RxJS 5.5.0 and the only thing that is missing are js extensions in import statements. Without them I get 404 errors.

I configured the server to rewrite urls to include the extension and it works! Another problem that remains is that typescript can't find typings for the imports.

@kwonoj  I tried the newer esm2015 build. But for native browser support you can't omit the file extension '.js' on import statements. AFAIK this won't be added as compile step to tsc. So there is the option to post-process the built files, or to add the extension everywhere in the source ts files. This looks ugly or unfamiliar, but I think people are doing this already.

From my experience the typings files should be emitted together with JS in the same directory

I am not using native modules at this moment so bit unclear things to me, please share details if you don't mind.

about extension
: is this meaning you can't import esm as native module? or it's another enhancement to be added?
typings
: what does this exactly mean with native module import environments?

about extension

Take a look at the file @reactivex/rxjs/dist/esm2015/Observable.js. All the imports there should have .js extensions. Otherwise importing Observable into your app will fail with 404 error (e.g. ./util/root should be ./util/root.js). I worked around that by setting up URL rewriting in apache/nginx.

typings

Example code:
import {Observable} from '../node_modules/@reactivex/rxjs/dist/esm2015/Observable.js'

The detected type of Observable is any. It should work if the declarations from /dist/typings were also copied to /dist/esm2015.
It seems that tsc will only look at "typings" in package.json when importing a module using CJS/Node syntax (import "@reactivex/rxjs" without mentioning node_modules or subpath)

/cc @jasonaden for visibility. Seems this requires postprocessing script.

I think it would make more sense if such script was implemented as part of build process in typescript itself after all 🤔

Maybe worth to ask tsc team as issue? (Or already there is?)

To quote myself

AFAIK this won't be added as compile step to tsc.

I actually went to tsc first b/c I thought that's their fault, but from reading the issues I got the feeling they don't want to do that. BUT ... from their replies, I also got the feeling that they didn't quite get what the users wanted and thought 'user fault' too early. An issue raised by RxJS would be treated differently.
I don't think that they can get away with compiling to esm2015 but not supporting the browser import loader.  I mean the browser loader is by far more important than the node module resolution algo and rollup and the rest of them together.
And AFAIK the browser agreed on that they only accept fully qualified names (in the end: URLs) as module names.

Let's sum up all the ES module quirks again:

Imports must include .js extensions, because they are basically relative urls that the browser will use to download scripts.
Imports of other libraries must use relative path (../node_modules/some-lib/dist/lib.js instead of just some-lib)
Typings (.d.ts files) should be in the same directory that the js files are. "typings" property of package.json is used only when importing a library using node syntax (using only the package name as the path, so it doesn't work with ES modules)

(3) is actually the default behavior of TS. (1) and (2) would need a post processing script if TS wont implement it.
Post processing script pseudo code:
for (every Import statement) {

    if (Import points to other package) {

        path = find_relative_path_to('node_modules') + path
        path += read('package.json')['main'] // read main property from module's package.json

    }

    if (path points to directory) { path += '/index.js' }
    else { path += '.js' }

}

Friendly ping.
Any progress on this? What direction will Rx go?
/Cc @benlesh you asked me for a link to this issue.

@kaste We do not have dedicated plan / progress for this at this moment, as we haven't deeply explored which way we'll go.

🔮

@kwonoj browser support for native modules is pretty good and once FF 60 is out, it will be natively supported everywhere. According to caniuse.com, the current browser support is 68% of all browsers and versions in use, and once FF gets it it will be around 72%, which is pretty major and I am sure it will jump up closer to 80% very soon, meaning a lot of companies will jump over to it.
I am aware TS could do a lot of the job here, but it would really be handy if the esm2015 output would follow the valid ESM specs sooner ;).

v6 exports esm / esm2015 altogether, while mjs is not there but it's not stable so out of scope for this issue I believe.

@matthewp in pkg, it have _esm2015 and _esm5 and package.json speficies each in module / es2015 field: https://unpkg.com/rxjs@6.3.2/package.json , https://unpkg.com/rxjs@6.3.2/_esm2015/ https://unpkg.com/rxjs@6.3.2/_esm5/

I don't see a module bundle in v6.

Not sure if I understood this correctly, do you expect some other formats then esm output itself?

Ok, I didn't see those folders.  I see them now. Looking at them, they still omit the .js extension, so they are not loadable in a browser. I think this issue should be reopened.

@matthewp uh, I see. Actually this issue itself is bit more broad (it was moment we have esm5 only) https://github.com/ReactiveX/rxjs/issues/3858 is right scoped one, but locked due to old issues. Probably we just need file new one instead.

I think this is the right scoped one, right? The OP is showing an example of use in the browser.

authors: Draccoz kaste kwonoj matthewp phaux

repo: ReactiveX/rxjs


text:
serialize-javascript

1 serialize-javascript vulnerability found in yarn.lock 3 days ago
Remediation
Upgrade serialize-javascript to version 2.1.1 or later. For example:
serialize-javascript@^2.1.1:
  version "2.1.1"

Always verify the validity and compatibility of suggestions with your codebase.
Details
GHSA-h9rv-jmmf-4pgx
moderate severity
Vulnerable versions: < 2.1.1
Patched version: 2.1.1
regular expressions Cross-Site Scripting (XSS) vulnerability
Impact
Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It does not properly mitigate against unsafe characters in serialized regular expressions.
This vulnerability is not affected on Node.js environment since Node.js's implementation of RegExp.prototype.toString() backslash-escapes all forward slashes in regular expressions.
If serialized data of regular expression objects are used in an environment other than Node.js, it is affected by this vulnerability.
Patches
This was patched in v2.1.1.

Alert raised via Dependabot, but it isn't able to create an auto update due to dependencies.

Closed in #57

authors: kjacobsen mderriey

repo: Readify/telstra-purple-signatures


text:
Self-hosted plausible.io

Does this project provide integration with the self-hosted solution?

Absolutely it does!
Take a look at the Configuration section of the README. You just need to set PLAUSIBLE_DOMAIN to the hostname of your Plausible instance, and everything else should work as expected.

authors: RealOrangeOne eracle

repo: RealOrangeOne/django-plausible


text:
Problems encountered during localization

Describe the feature you'd like
There are parts of the items with names and functions that seem incomprehensible to me, even when I try to search the web for the concepts behind them.

Can you briefly explain the concept of prometheum? Is it promethium?
How Atomic Forge works? In other formulations, the first material appears to be used as a raw material, while the subsequent material is used as the part being processed. How Heisenberg compensators and overcharged crystals are laser-engraved into prometheum in Atomic Forge?
As I am not a native English speaker, I apologize for any difficulty in understanding and rudeness.

Describe alternatives you've considered
No response
Additional context
No response

Hi, thanks for reaching out and sorry for the late reply.
The prometheum is a fantasy material I made up (or read somewhere and used the name, not sure here). It is basically just a made up name for a lategame material. It's intended to be somewhat magic, intelligent and high tech. It's unbreakable and highly efficient.
And yes, the atomic forge basically laser-engraves things. It basically just combines things using lasers and a lot of energy

Feel free to close this issue if this clears things up

authors: CHN-YunRu Rearth

repo: Rearth/Oritech


text:
TopDockWin titlebar management

The titlebars for TopDockWins don't currently follow a consistent convention.
Change so

If the TWD only has 1 docked window, that becomes the title bar.
If the TWD has multiple docked windows, it has a generic title bar.

A consistent convention has been implemented via
bc11156f0eab0de16d61b9996237e650573b6880 and further fixed in 8f861b898d9b8c9550c7973eeafd56d4694c2321

repo: Reavenk/PrecisionDock


text:
Profile "Playing" is not showing multiple instances anymore

When i had multiple instances of Visual Studio open it used to show each file under my profile activities, but now it only shows one.
Does discord modified how it works?

Most likely, yes. Discord shows only one instance of the application.
I checked on other applications, and I also can only one instance.

@Reavert i tested with multiple instances of VSCode and it does show all of the, i have 4 instances of Visual Studio 2022 (preview) open but it shows only one.

You see preview of two different extensions that you have installed. This is not "multiple instances" of the same extension.
The first extension is from the Crawl developer, the second is from leonardssh.
This extensions have different names, icons, and most importantly, the Discord application ID, which they use to interact with Discord.
That's why you see them.

repo: Reavert/VisualStudioDiscordRPC


text:
Fix/business mailto

Describe your PR
Business result card, "report or update" should be a single mailto: link with underline
Related to #
Fixes #
Pages/Interfaces that will change
/businesses
Screenshots / video of changes
Drop some screenshots of the before and after of your work here. Better yet, take a screen recording using a tool like Loom

Steps to test

go to /businesses
make sure the links in each card is one link not separate

Additional notes

must've branched off a feature branch BRB

repo: Rebuild-Black-Business/RBB-Website


text:
recastai is not a constructor

Hi,
returns recastai is not a constructor for nodejs v6.10.2. didn't test with other versions.. please check
const recastai = require('recastai');
const client = new recastai(config.recast);

Hello @gururajmbhandarkar
You just have to edit the following line:
const recastai = require('recastai');
by
const recastai = require('recastai').default;
I already modified the wiki and the README.md
Thanks for your feedback!

Works fine now ! Cheers :) 👍

repo: RecastAI/SDK-NodeJS


text:
Air Quality Prediction By ML

Tech stacks used :-

numpy
pandas
matplotlib
seaborn
scikit-learn
shap
joblib
chardet
Dataset :-
global air pollution dataset.csv

@sanjay-kv Can you please assign me this issue under gssoc.
90% work is already done.

@sanjay-kv Hey please assign me this issue.

repo: Recode-Hive/machine-learning-repos


text:
Can I create multiple lines of row without any HTML/Markdown tags?

Hello,
When I was using the Multiple lines of row option, I found this feature can only be used with HTML/Markdown tags:
| A   | B     |
| --- | ----- |
| 1   | - 2   | \
|     | - 3   |

But when I was using it without any HTML/Markdown tags like #2:
| A   | B   |
| --- | --- |
| 1   | 2   | \
|     | 3   |

The parsed HTML is:

      A
      B

      1

2 3

There is only one
  tag but I think it should be two
 like this:

      A
      B

      1

2

3

Is this a designed feature or just a bug? Thank you.

Thanks for the report. Multi-line rows intend to call markdown-it API, having ParserBlock parse the cells for simplicity. Thus it cannot generate multi-line row without tags inside.
And, because single line-break doesn't split the paragraph in native markdown-it, the example you given above should be parsed as:

A
B

1

2
3

No colspan and one paragraph only. To create two paragraphs with colspan 2, it should be:
| A   | B        ||
| --- | --- | --- |
| 1   | 2        || \
|     |          || \
|     | 3        ||

Multi-line line-breaks are badly handled in current version (v3.2.3), and I may not fix this version since develop branch (will be v4.0.0) has this issue solved. You can test if it works as expected.

Thanks for your reply. I just found that I need to turn on the breaks option of markdown-it to create multiple lines of row without any tags or blank rows.
Also, although the colspan="2" situation cannot pass the test case, it does not cause any visual side effects if the border-collapse: collapse; style is added to the bordered table.
So my problem solved in current version (v3.2.3). Thank you very much!


text:
[WIP] feat(mirror): mirror operator catalogs

Signed-off-by: Eric Stroczynski ericstroczynski@gmail.com

You can test these commands out now. For diff:
make build
mkdir foo
cp testdata/configs/latest/bundle-config.yaml foo/
./bin/oc-bundle create diff --dir foo

You should see a bunch of blobs in foo/src/v2/estroz/test-catalog.
For full, just replace diff with full in the above command sequence. You should see even more blobs in that directory.

Blocking on #29 so a latest diff can be performed from metadata.

repo: RedHatGov/bundle


text:
Models & Connectors

Is in possible to demonstrate the use of models and connectors.  The documentation begins to explain, however, it would be nice to see a simple illustration.

Thanks for getting in touch, yes the documentation is a bit weak there.
I'm going to continue using the example of Accounts module,
Accounts connects to a MYSQL database, for that I'm gonna use sequelize.js
modules/accounts/modules/connector.js

// This is not a complete example
export const accountsDB = new Sequelize('database', 'username', 'password', {
  host: 'localhost',
  dialect: 'mysql',
});

modules/accounts/modules/accounts.model.js
import { accountsDB } from './connector.js'

var Project = accountsDB.define(accounts,  {
  firstname: Sequelize.STRING,
  lastname: Sequelize.STRING
})

modules/accounts/modules/index.js
import './accounts.model.js';
import { accountsDB } from './sequelize';

// Here you want to export your models,
export const models = () => {
   return {
      accountModels: accountsDB,
   }
}

What I've tried to achieve here is that we export all of the models from index.js, sequelizes confuses this slighted my making both the connector and the model the same object.
I hope that helps let me know if you have any questions :)

Two questions:
1). Should this
modules/accounts/modules/...
become this,
modules/accounts/models/...
2). Is this how the models are exposed?
modules/accounts/index.js
export * from './schema'
export * from './resolvers'
export * from './models'

Thanks for the quick response.

Yes that was a typo sorry,

models are exposed like this, like your first example
modules/accounts/index.js

export * from './schema'
export * from './resolvers'
export * from './models'

I've tried to abstract away the connector, if that makes sense but if you can think of a reason I need to expose that too let me know.

I'm going to close this issue now, let me know if you have any more questions :)

repo: RedLeap/GraphQL


text:
chore: test smoke tests on Windows

What/Why/How?
Add Windows and NodeJS 20 smoke environments.
Reference
Further evolvement of https://github.com/Redocly/redocly-cli/pull/1166
Testing
Screenshots (optional)
Check yourself

[x] Code is linted
[ ] Tested with redoc/reference-docs/workflows
[ ] All new/updated code is covered with tests

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

Maybe it is reasonable to have telemetry for windows OS system in future?

authors: SmoliyY tatomyr

repo: Redocly/redocly-cli


text:
Create GeminiGame.zh-cn.json

revised on 15 April 2022

Thanks for your contribution!

authors: cristianwj petriw

repo: ReentryGame/Languages


text:
Is there a possibility to set auto generated backing fields?

Lets assume I want to set a read only property with the name Path. The compiler generates a backing field name with something like:
k__BackingField
of course these brackets can't be used to set the field using dynamic coding. Do you have some code conventions that allow me to set that backing field?

No, unfortunately we currently do not support the setting of automatically generated backing fields through the dynamic API.
Using some code from this StackOverflow answer, and the API I marked deprecated (seemed more like an accidental exposure of an internal API), you could do something like this:
private string GetBackingFieldName(string propertyName)
{
    return string.Format("<{0}>k__BackingField", propertyName);
}

private FieldInfo GetBackingField(object obj, string propertyName)
{
    return obj.GetType().GetField(GetBackingFieldName(propertyName), BindingFlags.Instance | BindingFlags.NonPublic);
}

// ....

GetBackingField(obj, "Path").ToIProperty().SetValue(obj, "NewValue", null);

But I think you've already figured that out, and I don't think that converting to IProperty adds much value for you.
I'm not sure if I would be willing to add searching for an auto generated backing field when no setter on a property is found, need to think about the implications when adding that.

you could make it configurable in the AsDynamic() extension. e. g. AsDynamic(bool fallbackToPropertyBackingFields)

This seems like a good addition. The whole hard coding k__BackingField is a hack, but then again, this whole project is a happy hack! 😆

authors: TFTomSun davidebbo jvandertil

repo: ReflectionMagic/ReflectionMagic


text:
refactor: move Action table manager methods to metaclass

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Describe the purpose of this pull request.
To have the Action table manager use the metaclass methods.
Describe how this was implemented.
Remove do_select_all(), _do_delete(), and _do_insert_action() methods.  Remove pypubsub message subscriptions from the Action table manager.
Describe any particular area(s) reviewers should focus on.
None
Provide any other pertinent information.
Closes #538
Pull Request Checklist

Code Style

[ ] Code is following code style guidelines.

Static Checks

[ ] Failing static checks are only applicable to code outside the scope of
this PR.

Tests

[ ] At least one test for all newly created functions/methods?

Chores

[ ] Problem areas outside the scope of this PR have an # ISSUE: comment
decorating the code block.  These # ISSUE: comments are automatically
converted to issues on successful merge.  Alternatively, you can manually
raise an issue for each problem area you identify.

This will be accomplished by making the changes associated with each method for all classes rather than all changes for each class.

repo: ReliaQualAssociates/ramstk


text:
Fix validations where unresolved Tokens cause errors, upgrade CDK, upgrade dependencies

Fixes multiple validation errors for unresolved tokens. I incorrectly followed poor validation patterns. Because CDK may return a Token 1 validations need to be skipped in the event that an input is an unresolved Token. While this doesn't validate the later value will be correct it's the best we can do and follows the AWS Design Guidelines for CDK Constructs 2

This resolved #169 and #167

repo: RenovoSolutions/cdk-library-aws-sso


text:
Revert "Fix navigation"

Reverts ReproNim/repronim.org#14

Backing out after web meeting discussion.


text:
Exception

I try to package the mod and the nit throws me this exception.

Found the issue and built it now it works all I added was :
            var stagedFilesDir = Path.Combine(project.OutputPath, "Staging", project.Name, "Mining");             Directory.CreateDirectory(stagedFilesDir); in the Packager.cs

repo: ResaloliPT/HydroModTool


text:
无法运行定时任务

在配置站点以后，运行定时任务会导致webui进不去，只能够重启，以下为异常日志：
异常消息：‘Trying to access array offset on value of type null’
异常代码：‘0’
异常文件：‘/reseed-puppy/app/admin/controller/system/Crontab.php’
异常行号：‘48’
请求url：‘/admin/system.crontab/index?page=1&limit=15’
请求方法：‘GET’
请求参数：‘array ( 'page' => '1', 'limit' => '15', )’
请求IP：‘172.29.4.1’
通过vi查看Crontab.php48行代码为：‘$response['data']['list'][$key]['download_name'] = $result['name'];’

以下为创建时的compose：
version: "3"
services:
heimdall:
image: szzhoubanxian/reseed-puppy:latest
container_name: reseed-puppy
volumes:
- /share/Container/reseed-puppy/mysql:/var/lib/mysql
- /share/Container/transmission/config/torrents:/tr
- /share/Container/qbittorrent/config/qBittorrent/BT_backup:/qb
environment:
- PUID=0
- PGID=0
- TZ=Asia/Shanghai
ports:
- 1919:1919
restart: unless-stopped
networks:
reseed-puppy:
name: reseed-puppy
driver: bridge

repo: Reseed-Puppy/Reseed-Puppy


text:
Optimize model run listing

[x] Remove unnecessary aliases
[x] Remove ground truth aggregate computation and rely on ModelRun's ground_truth field instead
[x] Short-circuit matching Region lookup (not in hot path)
[x] Remove caching infrastructure since this branch should obviate it
[x] Add denormalized fields to ModelRun for caching expensive summary statistics
[x] Add method to compute the new fields on a single ModelRun
[x] Add function to compute the new fields on all ModelRuns (mostly for use during migration)
[x] Call computation function in all places where data might change

As of 8d72baf, total response time of all queries for the model run listing endpoint is down to tens of ms:

Quite a few further optimizations are possible.

We only need to compute the aggregate bounding box and time range when filters change, not when a new page of results is requested.
We could also cache the properties of model runs that require joins/subqueries against other model runs, but that would likely require much more complicated invalidation logic. If the cardinality of model runs stays in the hundreds, this isn't worth doing.
We could index certain fields of model runs, but again that won't be necessary if the number of model runs is on the order of hundreds.
We could switch to cursor-based pagination, but that would have negligible impact until there are far more model runs in the database.

The thing remaining to do on this issue is to add the calls to the stats computation method in any of the places we need to.

This is ready for review. It contains a breaking change for model runs that are created through the REST API rather than processed via the ModelRunUpload pathway. Namely, once all data underneath a model run has been added, it is the clients' responsibility to POST to the new /api/model-runs/{id}/finalization/ endpoint, which will ensure all the relevant stats are computed and saved on the model run.

This is ready for review. It contains a breaking change for model runs that are created through the REST API rather than processed via the ModelRunUpload pathway. Namely, once all data underneath a model run has been added, it is the clients' responsibility to POST to the new /api/model-runs/{id}/finalization/ endpoint, which will ensure all the relevant stats are computed and saved on the model run.

Sorry, I missed this message @zachmullen. I'll take a look at this

@mvandenburgh what were you doing when you ran that test? Is there a stack trace associated?

@mvandenburgh what were you doing when you ran that test? Is there a stack trace associated?

Sorry, that lacked context - here's the full stack trace (happens on the /api/model-runs/ endpoint)
more than one row returned by a subquery used as an expression
Traceback (most recent call last):
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/backends/utils.py", line 105, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.CardinalityViolation: more than one row returned by a subquery used as an expression

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/ninja/operation.py", line 104, in run
    result = self.view_func(request, **values)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/ninja/pagination.py", line 146, in view_with_pagination
    result[paginator.items_attribute] = list(result[paginator.items_attribute])
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/models/query.py", line 400, in __iter__
    self._fetch_all()
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/models/query.py", line 1928, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/models/query.py", line 91, in __iter__
    results = compiler.execute_sql(
              ^^^^^^^^^^^^^^^^^^^^^
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
    cursor.execute(sql, params)
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/debug_toolbar/panels/sql/tracking.py", line 235, in execute
    return self._record(super().execute, sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/debug_toolbar/panels/sql/tracking.py", line 160, in _record
    return method(sql, params)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/backends/utils.py", line 122, in execute
    return super().execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in execute
    return self._execute_with_wrappers(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers
    return executor(sql, params, many, context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/backends/utils.py", line 100, in _execute
    with self.db.wrap_database_errors:
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/home/local/KHQ/michael.vandenburgh/.cache/pypoetry/virtualenvs/rdwatch-r8XUgLGN-py3.11/lib/python3.11/site-packages/django/db/backends/utils.py", line 105, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django.db.utils.ProgrammingError: more than one row returned by a subquery used as an expression

Internal Server Error: /api/model-runs/
[18/Nov/2024 10:37:30] "GET /api/model-runs/?groundtruth=false&page=1 HTTP/1.1" 500 4208

Ok so it seems like this started happening after I ran the loadGroundTruth script. I dropped my database and reran it on main, and I am getting this error there as well. So it seems unrelated to this PR.

Ok, makes sense. I was scratching my head trying to figure out how my changes could have caused that 😅

authors: mvandenburgh zachmullen

repo: ResonantGeoData/RD-WATCH


text:
Orphan objects deletion on POST requests and RKMappingResult passed to fetch requests

In reference to issue https://github.com/RestKit/RestKit/issues/1859
The changes let you delete orphans on POST requests just like it already happens for GET requests.
I've also added an RKMappingResult parameter that is passed to the fetch request blocks to have a more granular control to build the correct predicate.

Closing due to lack of test coverage.

repo: RestKit/RestKit


text:
Type error when exporting photos library

Installed with pipe and updated to osxphotos, version 0.58.0
Simply exporting the system library using:
osxphotos export /Volumes/MediaDrive/export/
produces  the following crash:
osxphotos crash log
Created: 2023-03-09 11:17:50.776507
osxphotos version: 0.58.0
Platform: macOS-13.2.1-x86_64-i386-64bit
Python version: 3.10.8 (main, Oct 13 2022, 10:17:43) [Clang 14.0.0 (clang-1400.0.29.102)]
sys.argv: ['/Users/ian/.local/bin/osxphotos', 'export', '/Volumes/MediaDrive/export/']
CRASH_DATA:
locals: {'ctx': <click.core.Context object at 0x10cb9c940>, 'cli_obj': <osxphotos.cli.cli.CLI_Obj object at 0x10cb9e410>, 'db': '/Users/ian/Pictures/System.photoslibrary', 'photos_library': (), 'add_exported_to_album': None, 'add_missing_to_album': None, 'add_skipped_to_album': None, 'added_after': None, 'added_before': None, 'added_in_last': None, 'album': (), 'album_keyword': False, 'alt_copy': False, 'append': False, 'beta': False, 'burst': False, 'cleanup': False, 'cloudasset': False, 'config_only': False, 'convert_to_jpeg': False, 'current_name': False, 'deleted': False, 'deleted_only': False, 'description': (), 'description_template': None, 'directory': None, 'download_missing': False, 'duplicate': False, 'edited': False, 'edited_suffix': '_edited', 'exif': (), 'exiftool': False, 'exiftool_merge_keywords': False, 'exiftool_merge_persons': False, 'exiftool_option': (), 'exiftool_path': None, 'export_as_hardlink': False, 'export_by_date': False, 'exportdb': None, 'external_edit': False, 'favorite': False, 'favorite_rating': False, 'filename_template': None, 'finder_tag_keywords': False, 'finder_tag_template': (), 'folder': (), 'force_update': False, 'from_date': None, 'from_time': None, 'has_comment': False, 'has_likes': False, 'has_raw': False, 'hdr': False, 'hidden': False, 'ignore_case': False, 'ignore_date_modified': False, 'ignore_signature': False, 'in_album': False, 'incloud': False, 'is_reference': False, 'jpeg_ext': None, 'jpeg_quality': 1.0, 'keep': (), 'keyword': (), 'keyword_template': (), 'label': (), 'limit': None, 'live': False, 'load_config': None, 'location': False, 'max_size': None, 'min_size': None, 'missing': False, 'name': (), 'no_comment': False, 'no_description': False, 'no_keyword': False, 'no_likes': False, 'no_location': False, 'no_place': False, 'no_progress': False, 'no_title': False, 'not_burst': False, 'not_cloudasset': False, 'not_edited': False, 'not_favorite': False, 'not_hdr': False, 'not_hidden': False, 'not_in_album': False, 'not_incloud': False, 'not_live': False, 'not_missing': False, 'not_panorama': False, 'not_portrait': False, 'not_reference': False, 'not_screenshot': False, 'not_selfie': False, 'not_shared': False, 'not_slow_mo': False, 'not_time_lapse': False, 'only_movies': False, 'only_new': False, 'only_photos': False, 'original_suffix': '', 'overwrite': False, 'panorama': False, 'person': (), 'person_keyword': False, 'place': (), 'portrait': False, 'post_command': (), 'post_function': (), 'preview': False, 'preview_if_missing': False, 'preview_suffix': 'preview', 'print_template': (), 'query_eval': (), 'query_function': (), 'ramdb': False, 'regex': (), 'replace_keywords': False, 'report': None, 'retry': 0, 'save_config': None, 'screenshot': False, 'selected': False, 'selfie': False, 'shared': False, 'sidecar_drop_ext': False, 'skip_bursts': False, 'skip_edited': False, 'skip_live': False, 'skip_original_if_edited': False, 'skip_raw': False, 'skip_uuid_from_file': None, 'slow_mo': False, 'strip': False, 'theme': None, 'time_lapse': False, 'timestamp': False, 'title': (), 'tmpdir': None, 'to_date': None, 'to_time': None, 'touch_file': False, 'update': False, 'update_errors': False, 'use_photokit': False, 'use_photos_export': False, 'uti': None, 'uuid': (), 'uuid_from_file': None, 'xattr_template': (), 'year': (), 'verbose': <function noop at 0x114ec7130>, 'verbose_flag': 0, 'locals': {...}, 'cfg': <osxphotos.configoptions.ConfigOptions object at 0x11542ef80>, 'exclusive_options': [('burst', 'not_burst'), ('cloudasset', 'not_cloudasset'), ('deleted', 'deleted_only'), ('description', 'no_description'), ('edited', 'not_edited'), ('export_as_hardlink', 'convert_to_jpeg'), ('export_as_hardlink', 'download_missing'), ('export_as_hardlink', 'exiftool'), ('export_by_date', 'directory'), ('favorite', 'not_favorite'), ('has_comment', 'no_comment'), ('has_likes', 'no_likes'), ('hdr', 'not_hdr'), ('hidden', 'not_hidden'), ('in_album', 'not_in_album'), ('incloud', 'not_incloud'), ('is_reference', 'not_reference'), ('keyword', 'no_keyword'), ('live', 'not_live'), ('location', 'no_location'), ('missing', 'not_missing'), ('only_photos', 'only_movies'), ('panorama', 'not_panorama'), ('place', 'no_place'), ('portrait', 'not_portrait'), ('screenshot', 'not_screenshot'), ('selfie', 'not_selfie'), ('shared', 'not_shared'), ('skip_edited', 'skip_original_if_edited'), ('slow_mo', 'not_slow_mo'), ('time_lapse', 'not_time_lapse'), ('title', 'no_title')], 'dependent_options': [('append', 'report'), ('exiftool_merge_keywords', ('exiftool', 'sidecar')), ('exiftool_merge_persons', ('exiftool', 'sidecar')), ('exiftool_option', 'exiftool'), ('favorite_rating', ('exiftool', 'sidecar')), ('ignore_signature', ('update', 'force_update')), ('jpeg_quality', 'convert_to_jpeg'), ('keep', 'cleanup'), ('missing', ('download_missing', 'use_photos_export')), ('only_new', ('update', 'force_update')), ('update_errors', 'update')], 'report_writer': <osxphotos.cli.report_writer.ReportWriterNoOp object at 0x11542e110>, 'export_edited': True, 'export_bursts': True, 'export_live': True, 'export_raw': True, 'photos': True, 'movies': True, 'cli_db': None, 'export_db_path': '/Volumes/MediaDrive/export/.osxphotos_export.db', 'other_db_files': [], 'export_db': <osxphotos.export_db.ExportDB object at 0x11542dc90>, 'fileutil': <class 'osxphotos.fileutil.FileUtil'>, 'upgraded': (), 'dest': '/Volumes/MediaDrive/export', 'dry_run': False, 'sidecar': (), 'skip_uuid': (), 'missing_bursts': (True,), 'burst_photos': True}
osxphotos version: 0.58.0
Error: unsupported operand type(s) for +: 'NoneType' and 'float'
Traceback (most recent call last):
File "/Users/ian/.local/pipx/venvs/osxphotos/lib/python3.10/site-packages/osxphotos/crash_reporter.py", line 36, in wrapped
return func(*args, **kwargs)
File "/Users/ian/.local/pipx/venvs/osxphotos/lib/python3.10/site-packages/osxphotos/cli/export.py", line 1351, in export
photosdb = osxphotos.PhotosDB(
File "/Users/ian/.local/pipx/venvs/osxphotos/lib/python3.10/site-packages/osxphotos/photosdb/photosdb.py", line 373, in init
self._process_database5()
File "/Users/ian/.local/pipx/venvs/osxphotos/lib/python3.10/site-packages/osxphotos/photosdb/photosdb.py", line 2017, in _process_database5
imagedate = datetime.fromtimestamp(row[5] + TIME_DELTA)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'float'

@all-contributors please add @ianmmoir for bug

@ianmmoir Try upgrading to version 0.58.1 and see if that fixes the error.
Note that your export command will export all photos to a single directory as you've not specified an output directory (--directory) or used --export-by-date

This resolves the issue for me. Thanks for the speedy resolution!

authors: RhetTbull ianmmoir

repo: RhetTbull/osxphotos


text:
#bug replace datetime.date by datetime on line 801 of photosdb.py

There is a bug on python 3.8 for line 801 of file photosdb.py :datetime.date should be a simple datetime
#self._dbphotos[uuid]["imageDate"] = datetime.date(1970, 1, 1)
self._dbphotos[uuid]["imageDate"] = datetime(1970, 1, 1)

See : https://stackoverflow.com/questions/62536615/mac-os-photos-programatic-access-to-the-recently-deleted-photos-folder

@romainjouin I just pushed a fix in v0.29.29
I'll keep this issue open until I add a test -- test suite should have caught this.
In reading your stackoverflow question, I see you're trying to access photos that are in the "Recently deleted items" or trash folder.  osxphotos does not currently provide access to those because no one has ever requested it. I will open a new issue to add this feature.  I don't think it'll be terribly difficult but may take a week or two as I only work on this project as a hobby in my spare time.
As for getting access to favorites, you can do this via the PhotoInfo object:
photosdb = osxphotos.PhotosDB()
photos = photosdb.photos()
favorites = [p for p in photos if p.favorite]

Add test case for photo with invalid time

authors: RhetTbull romainjouin


text:
Get broadcast recipients

Hey there everyone.
Is there an API to get a broadcast list recipients (the contacts of the list)?
I tried with GetGroupMetaData but it didn't return anything.
I know it's possible because it's available on whatsapp web. Maybe we can get this data with a custom query?
Thanks!

I didn't figure out how to capture brodcast recipients, but was able to "gather" this from ack events (delivery and read confirmation).

I didn't figure out how to capture brodcast recipients, but was able to "gather" this from ack events (delivery and read confirmation).

Example JID:   1623673422@broadcast
func (wac *Conn) GetBroadcastMetaData(jid string) (<-chan string, error) { 	data := []interface{}{"query", "contact", jid} 	return wac.writeJson(data) }

repo: Rhymen/go-whatsapp


text:
[Bug] 退出直播頁使應用閃退

Bug 描述
昨天更新完出現的問題，通過左上角「左箭頭」退出直播頁回到主頁面時整個應用會直接閃退。通過「歷史記錄」嘗試跳轉到另一個播放頁也會閃退。播放視頻沒有這個問題。
复现问题的步骤
1. 打開應用
2. 將默認播放模式設置爲「全窗口」
3. 進入任意直播，在全窗口模式下播放
4. 點擊左上角「X」鍵退出全窗口
5. 點擊左上角「左箭頭」鍵退出播放頁
6. 應用閃退

预期行为
正常退出
截图
No response
应用来源

[X] Microsoft Store
[ ] Github
[ ] 其它

其它来源
No response
系统版本

[ ] Windows 10 1809 (Build 17763)
[ ] Windows 10 1903 (Build 18362)
[ ] Windows 10 1909 (Build 18363)
[ ] Windows 10 2004 (Build 19041)
[ ] Windows 10 20H2 (Build 19042)
[ ] Windows 10 21H1 (Build 19043)
[X] Windows 11 21H2 (Build 22000)
[ ] 其它 (需注明)

其它系统版本
No response
运行设备
桌面/平板或笔记本
日志记录
No response
备注
在簡體中文和繁體中文模式都會出現
人人为我，我为人人
No response

與 https://github.com/Richasy/Bili.Uwp/issues/1359 重複

與 https://github.com/Richasy/Bili.Uwp/issues/1359 重複


text:
[Bug] 专栏无法看

Bug 描述
点进专栏会显示刷新，点了刷新但没用
复现问题的步骤
1.打开应用
2.谁便找一个专栏
3.点进去显示刷新
4.点击刷新按钮后无用

预期行为
点进专栏正常加载
截图

应用来源

[ ] Microsoft Store
[X] Github
[ ] 其它

其它来源
No response
系统版本

[ ] Windows 10 1809 (Build 17763)
[ ] Windows 10 1903 (Build 18362)
[ ] Windows 10 1909 (Build 18363)
[ ] Windows 10 2004 (Build 19041)
[ ] Windows 10 20H2 (Build 19042)
[ ] Windows 10 21H1 (Build 19043)
[ ] Windows 11 21H2 (Build 22000)
[x] 其它 (需注明)

其它系统版本
Windows 11 22H2（Build 25169.1000）
运行设备
桌面/台式机
日志记录

[ ]
applog.2022-07-30.log

备注
No response
人人为我，我为人人
No response

从报错来看是个网络问题，你开网络代理了？

从报错来看是个网络问题，你开网络代理了？

没有，设置是显示关闭的


text:
Labels as an array?

We never brought it up but our arch had a good point; some folks are moving away from the concept of tags/labels as key/value pairs since, as a user when you're looking for a metric, you may start searching by "mysql" and don't really care if it has a key of "role" or "system_type", whatever. Should we allow for the DataDog model wherein you just have an array of strings associated with a measurement? If you want a key/value pair, just include a separator.

Coming from Prometheus, the model where's it's just a simple list for labels is a downgrade as in practice there's always an implicit key in there. Trying to extract that back out is hard, and the generic ways of doing it are basically local conventions for turning it into key-value pairs (e.g https://www.robustperception.io/extracting-full-labels-from-consul-tags/).
It's also a general principle that you always know what your label names are and what they mean. Metrics have structure, they're not something you technically should be grepping.

It's a general principle for a developer to know your label names and what they mean but what about the user? If you're brand new to the system, you will always start by grepping and that's a perfectly valid use case. After you learn the layout you can use the full keys and values to get to your data quicker.
And splitting tags is a pain and usually specific, but is it something we want to enforce in a spec just because most, but not all, systems follow this convention? How would DD join OpenMetrics if we didn't accommodate their use case?

And splitting tags is a pain and usually specific, but is it something we want to enforce in a spec just because most, but not all, systems follow this convention?

Yes, it defeats most of the usefulness and power of labels.

How would DD join OpenMetrics if we didn't accommodate their use case?

DataDog supports key-value labels, and as it stands their agent can ingest the Prometheus text format. I don't forsee a problem there.

authors: brian-brazil manolama

repo: RichiH/OpenMetrics


text:
Mung the name of the generated Program class

It's quite common for users to put their code in a class called Program, which conflicts with the class generated by Consolo.
Consolo should "salt" the class name so that it won't conflict with anything the user might write.
Investigate whether a file-scoped could be used here.

Fixed in 0.9.9: the namespace of the generated file has a .g suffix which should hopefully prevent collisions

repo: Richiban/Consolo