Install fails with aws-sam-translator error

cfn-lint version: latest
Install fails with aws-sam-translator error
Collecting aws-sam-translator>=1.9.0 (from cfn-lint)
Using cached https://files.pythonhosted.org/packages/3d/6c/9ae54e75977fe6284723af19b4c5ef8ef48fac2263d5808f2d091f5adcf6/aws-sam-translator-1.10.0.tar.gz
Complete output from command python setup.py egg_info:
c:\program files (x86)\python35-32\lib\distutils\dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
error in aws-sam-translator setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected ',' or end-of-list in enum34~=1.1; python_version<"3.4" at ; python_version<"3.4"
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\dhermle\AppData\Local\Temp\pip-install-76adngxs\aws-sam-translator\
Installing on windows with Python 3.7 installed.  Fails using pip and manual install from downloaded files.

What version were you upgrading from or is this a fresh install?  Also can you tell me what version of setuptools you have from pip?

Thanks for the nudge in the right direction.  Running "pip install --upgrade setuptools" allowed me to successfully complete the install.


Problems in WPF apps that use Fody Costura for merging assemblies into main executable

Adding any of the icon packs NuGets to a WPF application that uses Fody Costura results in the following:

XAML editor underlines all resources (even the ones from local assembly) with error saying "An item with the same key has already been added".
Code compiles fine, but an exception is thrown on app startup, with the same message as above.

Adding the MahApps.Metro.IconPacks NuGet to Costura's ExcludeAssemblies has no effect. The error goes away only when either Costura is disabled or IconPacks NuGet is removed from project.
Is there a way to fix this problem and be able to use the icon packs together with Fody Costura?

@aleksander-oven Which version of IconPacks are you using? By the way, the IconPacks browser uses Fody Costura and has no problems with this. Latest version of Fody Costura on the dev branch is v3.1.4
https://github.com/MahApps/MahApps.Metro.IconPacks/blob/4c1fde8d3c5a438275bf9d92e2b177cd83e79d14/src/paket.lock#L5-L6

I'm on Fody Costura v3.1.4. As for the MahApps.Metro.IconPacks, its v2.3.0.
I'm actually glad to hear about the browser! It means the problem must be related to something else. What bothers me is that I can't understand which resource key the error is talking about. In XAML editor, even the references to commands are underlined as errors. Basically every named resource that is defined in the main project.

After trying the Costura + MahApps.Metro.IconPacks in a brand new WPF project, I can conclude that it indeed works without any problems. I'll now try slowly re-adding everything step by step and see where the problem reappears. I apologize for raising the issue here.

@aleksander-oven you're welcome!


15 add spending pie chart

I assume as you closed this PR it's not ready for merging?

Tagging #1 in this PR as feature being created sounds like #1

Yeah sorry about that, we are still adding a few features to the page and cleaning up code. We should be done next week then we will submit the pull request. This is what the page looks like currently

you should keep your PR open as you work on it so people can give you feedback

@Andze do you still want to merge this?


I can't install aws-sam-cli (sam init helloworld) using python 3.6 and pip3.6 or pip

Hi,
I tried with python 3.6 but I have new issues:
root@neuberfran:/home/neuberfran# pip3.6 install --user aws-sam-cli
Collecting aws-sam-cli
Downloading https://files.pythonhosted.org/packages/5b/af/a26ebaa72183ff2ad1655e89d8477ebf6e92c1f03cf15c97224887d358d8/aws-sam-cli-0.5.0.tar.gz (162kB)
100% |████████████████████████████████| 163kB 1.5MB/s
Collecting six~=1.11.0 (from aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting click~=6.7 (from aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
Collecting enum34~=1.1.6 (from aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/af/42/cb9355df32c69b553e72a2e28daee25d1611d2c0d9c272aa1d34204205b2/enum34-1.1.6-py3-none-any.whl
Collecting Flask~=1.0.2 (from aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl
Collecting boto3~=1.5 (from aws-sam-cli)
Downloading https://files.pythonhosted.org/packages/d0/10/fa502e2f1e995e007af3ef1c3ab647a5679990c57ad4d168e25279ca7913/boto3-1.7.63-py2.py3-none-any.whl (128kB)
100% |████████████████████████████████| 133kB 1.8MB/s
Collecting PyYAML~=3.12 (from aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz
Collecting cookiecutter~=1.6.0 (from aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/16/99/1ca3a75978270288354f419e9166666801cf7e7d8df984de44a7d5d8b8d0/cookiecutter-1.6.0-py2.py3-none-any.whl
Collecting aws-sam-translator==1.6.0 (from aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/f6/49/9055710c7c12bf2022661d7402b53047dcd8fe5e5c0b03ee3600993ca66d/aws-sam-translator-1.6.0.tar.gz
Collecting docker>=3.3.0 (from aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/a5/64/8c0a5d22e70257e6b7ef7f14b577f99f0b9b1560c604f87856d0db80d151/docker-3.4.1-py2.py3-none-any.whl
Collecting dateparser~=0.7 (from aws-sam-cli)
Downloading https://files.pythonhosted.org/packages/ac/9e/1aa87c0c59f9731820bfd20a8b148d97b315530c2c92d1fb300328c8c42f/dateparser-0.7.0-py2.py3-none-any.whl (357kB)
100% |████████████████████████████████| 358kB 4.5MB/s
Collecting python-dateutil~=2.6 (from aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl
Collecting Werkzeug>=0.14 (from Flask~=1.0.2->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl
Collecting Jinja2>=2.10 (from Flask~=1.0.2->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting itsdangerous>=0.24 (from Flask~=1.0.2->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz
Collecting botocore<1.11.0,>=1.10.63 (from boto3~=1.5->aws-sam-cli)
Downloading https://files.pythonhosted.org/packages/57/59/a1221949de618cda560017c9db004d88cc51a5956f6a778f42d54cd190d3/botocore-1.10.63-py2.py3-none-any.whl (4.4MB)
100% |████████████████████████████████| 4.4MB 4.1MB/s
Collecting jmespath<1.0.0,>=0.7.1 (from boto3~=1.5->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl
Collecting s3transfer<0.2.0,>=0.1.10 (from boto3~=1.5->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl
Collecting whichcraft>=0.4.0 (from cookiecutter~=1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/60/8a/5c52e30e11672f7e3aa61f348ddae443d122bcd96bc8b785ac76dbae944b/whichcraft-0.4.1-py2.py3-none-any.whl
Collecting poyo>=0.1.0 (from cookiecutter~=1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/ea/6c/62c76c12015f6a1849446fb73da59be1229312c54d6d05068275e52bf29f/poyo-0.4.1-py2.py3-none-any.whl
Collecting requests>=2.18.0 (from cookiecutter~=1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Collecting future>=0.15.2 (from cookiecutter~=1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-0.16.0.tar.gz
Collecting binaryornot>=0.2.0 (from cookiecutter~=1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/24/7e/f7b6f453e6481d1e233540262ccbfcf89adcd43606f44a028d7f5fae5eb2/binaryornot-0.4.4-py2.py3-none-any.whl
Collecting jinja2-time>=0.1.0 (from cookiecutter~=1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/6a/a1/d44fa38306ffa34a7e1af09632b158e13ec89670ce491f8a15af3ebcb4e4/jinja2_time-0.2.0-py2.py3-none-any.whl
Collecting jsonschema~=2.6 (from aws-sam-translator==1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting docker-pycreds>=0.3.0 (from docker>=3.3.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/ea/bf/7e70aeebc40407fbdb96fa9f79fc8e4722ea889a99378303e3bcc73f4ab5/docker_pycreds-0.3.0-py2.py3-none-any.whl
Collecting websocket-client>=0.32.0 (from docker>=3.3.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/8a/a1/72ef9aa26cfe1a75cee09fc1957e4723add9de098c15719416a1ee89386b/websocket_client-0.48.0-py2.py3-none-any.whl
Collecting regex (from dateparser~=0.7->aws-sam-cli)
Downloading https://files.pythonhosted.org/packages/9f/79/adbe79373ec3c56ae61670bbed30609fe4a9b6af835478fa12bf8795cdec/regex-2018.07.11.tar.gz (628kB)
100% |████████████████████████████████| 634kB 4.9MB/s
Collecting pytz (from dateparser~=0.7->aws-sam-cli)
Downloading https://files.pythonhosted.org/packages/30/4e/27c34b62430286c6d59177a0842ed90dc789ce5d1ed740887653b898779a/pytz-2018.5-py2.py3-none-any.whl (510kB)
100% |████████████████████████████████| 512kB 4.5MB/s
Collecting tzlocal (from dateparser~=0.7->aws-sam-cli)
Downloading https://files.pythonhosted.org/packages/cb/89/e3687d3ed99bc882793f82634e9824e62499fdfdc4b1ae39e211c5b05017/tzlocal-1.5.1.tar.gz
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python3/dist-packages (from Jinja2>=2.10->Flask~=1.0.2->aws-sam-cli) (0.23)
Collecting docutils>=0.10 (from botocore<1.11.0,>=1.10.63->boto3~=1.5->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/36/fa/08e9e6e0e3cbd1d362c3bbee8d01d0aedb2155c4ac112b19ef3cae8eed8d/docutils-0.14-py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.18.0->cookiecutter~=1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5 (from requests>=2.18.0->cookiecutter~=1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting urllib3<1.24,>=1.21.1 (from requests>=2.18.0->cookiecutter~=1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests>=2.18.0->cookiecutter~=1.6.0->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
Collecting arrow (from jinja2-time>=0.1.0->cookiecutter~=1.6.0->aws-sam-cli)
Building wheels for collected packages: aws-sam-cli, PyYAML, aws-sam-translator, itsdangerous, future, regex, tzlocal
Running setup.py bdist_wheel for aws-sam-cli ... done
Stored in directory: /root/.cache/pip/wheels/bd/5e/5c/101058de2bac26bcaca161b098cc538cd69acbd2916cfe759a
Running setup.py bdist_wheel for PyYAML ... done
Stored in directory: /root/.cache/pip/wheels/ad/da/0c/74eb680767247273e2cf2723482cb9c924fe70af57c334513f
Running setup.py bdist_wheel for aws-sam-translator ... done
Stored in directory: /root/.cache/pip/wheels/e9/41/73/71b8e3b2a3c6eeb7c5403ae1df6bf2896e31f2a3b20fad444d
Running setup.py bdist_wheel for itsdangerous ... done
Stored in directory: /root/.cache/pip/wheels/2c/4a/61/5599631c1554768c6290b08c02c72d7317910374ca602ff1e5
Running setup.py bdist_wheel for future ... done
Stored in directory: /root/.cache/pip/wheels/bf/c9/a3/c538d90ef17cf7823fa51fc701a7a7a910a80f6a405bf15b1a
Running setup.py bdist_wheel for regex ... error
Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-install-hkjl39na/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-6lr8a20o --python-tag cp36:
/usr/lib/python3/dist-packages/setuptools/dist.py:285: UserWarning: Normalizing '2018.07.11' to '2018.7.11'
normalized_version,
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
copying regex_3/regex.py -> build/lib.linux-x86_64-3.6
copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.6
copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.6
running build_ext
building '_regex' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/regex_3
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.6/regex_3/_regex.o
regex_3/_regex.c:46:20: fatal error: Python.h: Arquivo ou diretório não encontrado
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Failed building wheel for regex
Running setup.py clean for regex
Running setup.py bdist_wheel for tzlocal ... done
Stored in directory: /root/.cache/pip/wheels/15/ae/df/a67bf1ed84e9bf230187d36d8dcfd30072bea0236cb059ed91
Successfully built aws-sam-cli PyYAML aws-sam-translator itsdangerous future tzlocal
Failed to build regex
Installing collected packages: six, click, enum34, Werkzeug, Jinja2, itsdangerous, Flask, docutils, jmespath, python-dateutil, botocore, s3transfer, boto3, PyYAML, whichcraft, poyo, chardet, idna, urllib3, certifi, requests, future, binaryornot, arrow, jinja2-time, cookiecutter, jsonschema, aws-sam-translator, docker-pycreds, websocket-client, docker, regex, pytz, tzlocal, dateparser, aws-sam-cli
The script flask is installed in '/root/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script chardetect is installed in '/root/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The scripts futurize and pasteurize are installed in '/root/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script cookiecutter is installed in '/root/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script jsonschema is installed in '/root/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for regex ... error
Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-install-hkjl39na/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-tsjrmjoh/install-record.txt --single-version-externally-managed --compile --user --prefix=:
/usr/lib/python3/dist-packages/setuptools/dist.py:285: UserWarning: Normalizing '2018.07.11' to '2018.7.11'
normalized_version,
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
copying regex_3/regex.py -> build/lib.linux-x86_64-3.6
copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.6
copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.6
running build_ext
building '_regex' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/regex_3
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.6/regex_3/_regex.o
regex_3/_regex.c:46:20: fatal error: Python.h: Arquivo ou diretório não encontrado
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-install-hkjl39na/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-tsjrmjoh/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-hkjl39na/regex/
root@neuberfran:/home/neuberfran# sam
O programa 'sam' não está instalado no momento. Você pode instalá-lo digitando:
apt install simon
root@neuberfran:/home/neuberfran# sam --version
O programa 'sam' não está instalado no momento. Você pode instalá-lo digitando:
apt install simon
root@neuberfran:/home/neuberfran# python --version
Python 3.5.3+
root@neuberfran:/home/neuberfran# pip --version
pip 18.0 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)
root@neuberfran:/home/neuberfran# pip install --user aws-sam-cli
Collecting aws-sam-cli
Requirement already satisfied: enum34~=1.1.6 in /root/.local/lib/python3.6/site-packages (from aws-sam-cli) (1.1.6)
Requirement already satisfied: cookiecutter~=1.6.0 in /root/.local/lib/python3.6/site-packages (from aws-sam-cli) (1.6.0)
Requirement already satisfied: aws-sam-translator==1.6.0 in /root/.local/lib/python3.6/site-packages (from aws-sam-cli) (1.6.0)
Requirement already satisfied: docker>=3.3.0 in /root/.local/lib/python3.6/site-packages (from aws-sam-cli) (3.4.1)
Requirement already satisfied: six~=1.11.0 in /root/.local/lib/python3.6/site-packages (from aws-sam-cli) (1.11.0)
Collecting dateparser~=0.7 (from aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/ac/9e/1aa87c0c59f9731820bfd20a8b148d97b315530c2c92d1fb300328c8c42f/dateparser-0.7.0-py2.py3-none-any.whl
Requirement already satisfied: Flask~=1.0.2 in /root/.local/lib/python3.6/site-packages (from aws-sam-cli) (1.0.2)
Requirement already satisfied: click~=6.7 in /root/.local/lib/python3.6/site-packages (from aws-sam-cli) (6.7)
Requirement already satisfied: python-dateutil~=2.6 in /root/.local/lib/python3.6/site-packages (from aws-sam-cli) (2.7.3)
Requirement already satisfied: PyYAML~=3.12 in /root/.local/lib/python3.6/site-packages (from aws-sam-cli) (3.13)
Requirement already satisfied: boto3~=1.5 in /root/.local/lib/python3.6/site-packages (from aws-sam-cli) (1.7.63)
Requirement already satisfied: jinja2>=2.7 in /root/.local/lib/python3.6/site-packages (from cookiecutter~=1.6.0->aws-sam-cli) (2.10)
Requirement already satisfied: whichcraft>=0.4.0 in /root/.local/lib/python3.6/site-packages (from cookiecutter~=1.6.0->aws-sam-cli) (0.4.1)
Requirement already satisfied: binaryornot>=0.2.0 in /root/.local/lib/python3.6/site-packages (from cookiecutter~=1.6.0->aws-sam-cli) (0.4.4)
Requirement already satisfied: jinja2-time>=0.1.0 in /root/.local/lib/python3.6/site-packages (from cookiecutter~=1.6.0->aws-sam-cli) (0.2.0)
Requirement already satisfied: requests>=2.18.0 in /root/.local/lib/python3.6/site-packages (from cookiecutter~=1.6.0->aws-sam-cli) (2.19.1)
Requirement already satisfied: future>=0.15.2 in /root/.local/lib/python3.6/site-packages (from cookiecutter~=1.6.0->aws-sam-cli) (0.16.0)
Requirement already satisfied: poyo>=0.1.0 in /root/.local/lib/python3.6/site-packages (from cookiecutter~=1.6.0->aws-sam-cli) (0.4.1)
Requirement already satisfied: jsonschema~=2.6 in /root/.local/lib/python3.6/site-packages (from aws-sam-translator==1.6.0->aws-sam-cli) (2.6.0)
Requirement already satisfied: websocket-client>=0.32.0 in /root/.local/lib/python3.6/site-packages (from docker>=3.3.0->aws-sam-cli) (0.48.0)
Requirement already satisfied: docker-pycreds>=0.3.0 in /root/.local/lib/python3.6/site-packages (from docker>=3.3.0->aws-sam-cli) (0.3.0)
Collecting tzlocal (from dateparser~=0.7->aws-sam-cli)
Collecting regex (from dateparser~=0.7->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/9f/79/adbe79373ec3c56ae61670bbed30609fe4a9b6af835478fa12bf8795cdec/regex-2018.07.11.tar.gz
Collecting pytz (from dateparser~=0.7->aws-sam-cli)
Using cached https://files.pythonhosted.org/packages/30/4e/27c34b62430286c6d59177a0842ed90dc789ce5d1ed740887653b898779a/pytz-2018.5-py2.py3-none-any.whl
Requirement already satisfied: Werkzeug>=0.14 in /root/.local/lib/python3.6/site-packages (from Flask~=1.0.2->aws-sam-cli) (0.14.1)
Requirement already satisfied: itsdangerous>=0.24 in /root/.local/lib/python3.6/site-packages (from Flask~=1.0.2->aws-sam-cli) (0.24)
Requirement already satisfied: botocore<1.11.0,>=1.10.63 in /root/.local/lib/python3.6/site-packages (from boto3~=1.5->aws-sam-cli) (1.10.63)
Requirement already satisfied: s3transfer<0.2.0,>=0.1.10 in /root/.local/lib/python3.6/site-packages (from boto3~=1.5->aws-sam-cli) (0.1.13)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /root/.local/lib/python3.6/site-packages (from boto3~=1.5->aws-sam-cli) (0.9.3)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python3/dist-packages (from jinja2>=2.7->cookiecutter~=1.6.0->aws-sam-cli) (0.23)
Requirement already satisfied: chardet>=3.0.2 in /root/.local/lib/python3.6/site-packages (from binaryornot>=0.2.0->cookiecutter~=1.6.0->aws-sam-cli) (3.0.4)
Requirement already satisfied: arrow in /root/.local/lib/python3.6/site-packages (from jinja2-time>=0.1.0->cookiecutter~=1.6.0->aws-sam-cli) (0.12.1)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in /root/.local/lib/python3.6/site-packages (from requests>=2.18.0->cookiecutter~=1.6.0->aws-sam-cli) (1.23)
Requirement already satisfied: idna<2.8,>=2.5 in /root/.local/lib/python3.6/site-packages (from requests>=2.18.0->cookiecutter~=1.6.0->aws-sam-cli) (2.7)
Requirement already satisfied: certifi>=2017.4.17 in /root/.local/lib/python3.6/site-packages (from requests>=2.18.0->cookiecutter~=1.6.0->aws-sam-cli) (2018.4.16)
Requirement already satisfied: docutils>=0.10 in /root/.local/lib/python3.6/site-packages (from botocore<1.11.0,>=1.10.63->boto3~=1.5->aws-sam-cli) (0.14)
Building wheels for collected packages: regex
Running setup.py bdist_wheel for regex ... error
Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-install-6jo0g90q/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-riwm722a --python-tag cp36:
/usr/lib/python3/dist-packages/setuptools/dist.py:285: UserWarning: Normalizing '2018.07.11' to '2018.7.11'
normalized_version,
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
copying regex_3/regex.py -> build/lib.linux-x86_64-3.6
copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.6
copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.6
running build_ext
building '_regex' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/regex_3
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.6/regex_3/_regex.o
regex_3/_regex.c:46:20: fatal error: Python.h: Arquivo ou diretório não encontrado
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Failed building wheel for regex
Running setup.py clean for regex
Failed to build regex
Installing collected packages: pytz, tzlocal, regex, dateparser, aws-sam-cli
Running setup.py install for regex ... error
Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-install-6jo0g90q/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-38oya2ua/install-record.txt --single-version-externally-managed --compile --user --prefix=:
/usr/lib/python3/dist-packages/setuptools/dist.py:285: UserWarning: Normalizing '2018.07.11' to '2018.7.11'
normalized_version,
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
copying regex_3/regex.py -> build/lib.linux-x86_64-3.6
copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.6
copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.6
running build_ext
building '_regex' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/regex_3
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.6/regex_3/_regex.o
regex_3/_regex.c:46:20: fatal error: Python.h: Arquivo ou diretório não encontrado
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-install-6jo0g90q/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-38oya2ua/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-6jo0g90q/regex/
root@neuberfran:/home/neuberfran#

root@neuberfran:/home/neuberfran# echo $PATH
/root/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/go/bin:/bin:/root/go/bin:/bin:root/.local/bin:/bin

This is an issue with your system:
regex_3/_regex.c:46:20: fatal error: Python.h: Arquivo ou diretório não encontrado
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Here is a solution for others: https://stackoverflow.com/questions/26053982/setup-script-exited-with-error-command-x86-64-linux-gnu-gcc-failed-with-exit
Closing as this is a system error on your machine.

Hi,
I need one more help
I can only use sam --version after these two commands below:
export PATH=$PATH:$USER_BASE_PATH/bin
exec "$SHELL"
How to solve this? (pls)

new issue: today


Update repository after transfer

See https://github.com/senzing-garage/garage-roadmap/issues/3

Pull requests:

https://github.com/senzing-garage/senzing-with-chatgpt-notebook/pull/9


Per level dungeon rarity and custom level support

I noticed you already added custom level support in the dev branch after I made this (at least that's what I think the levelOverrides does) but maybe this could serve as some inspiration for an alternative way of approaching it?
Support for adding dungeons to custom levels and having dungeon rarity on a per level basis.
// Adding a custom level with rarity
customDungeon.levels.AddLevel("Aquatis", 300);
// Adding a level without the rarity argument uses the default rarity instead
customDungeon.levels.AddLevel(LevelTypes.All);
// You can get the level and set the rarity (using AddLevel would also overwrite it)
customDungeon.levels.GetLevel(LevelTypes.AssuranceLevel).rarity = 50;
// Removing the level
customDungeon.levels.RemoveLevel("Aquatis");

After adding this I realized this is only half the story since it seems like you don't get direct access to CustomDungeon but adding support for it should be trivial if you think this is something you want! For instance
var levels = new LethalLib.Modules.Dungeon.CustomDungeonLevels();
levels.AddLevel("Aquatis", 300);
levels.AddLevel(LevelTypes.All);

LethalLib.Modules.Dungeon.AddDungeon(dungeon, levels);

I think this is fine to close now (instead of never), since LL doesn't even do this anymore, this is a job for LLL


Compiler error message when calling a member directly on the returned Json object

Got this error message, so I dutifully follow this.
Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible.
Processing of message 'al/createPackage' failed with error: 'This program location is thought to be unreachable.'
Steps to reproduce:
Use a Json object as return type of a functon an call a member directly on the return.
First screenshot is the function, second how I tried to use it. (I know, no error handling here)

This is also already fixed. Thanks for reporting.


fix: do not use cache in client-admin application

Fixes #39

Description

Checklist

[ ] npm test passes
[ ] npm run build works
[ ] tests are included
[ ] documentation is changed or added

I love this. Generally for the next days we will be able to try out URQL client in admin while still keeping offix and Apollo on volunteer side

I love this and how enclosed the client actually is now. Generally for the next days we will be able to try out URQL client in admin while still keeping offix and Apollo on volunteer side. Amazing work

By URQL client, you mean this client https://github.com/FormidableLabs/urql?

Yep.. Do not want to bring it now but we will.l need to explore differences, developer experience etc.

Merged thanks. I'll open an issue later on apollo-client side. Thanks for the review.


NPEs with iframe for pwa in v2.7.9

Issue Summary
We have a PWA that adds MathJax.js (v2.7.9) and its dependent files to the cache. If we're using this app inside an iframe, we get null pointer exceptions like this one:
TypeError: Cannot read property 'Init' of undefined
at Object.Message (https://app.diagrams.net/math/MathJax.js:19)
at Function.execute (https://app.diagrams.net/math/MathJax.js:19)
at cb (https://app.diagrams.net/math/MathJax.js:19)
at Object.Process (https://app.diagrams.net/math/MathJax.js:19)
at Object.call (https://app.diagrams.net/math/MathJax.js:19)
at Function.WAITEXECUTE (https://app.diagrams.net/math/MathJax.js:19)
at cb (https://app.diagrams.net/math/MathJax.js:19)
at Object.Process (https://app.diagrams.net/math/MathJax.js:19)
at Object.call (https://app.diagrams.net/math/MathJax.js:19)
at Function.WAITEXECUTE (https://app.diagrams.net/math/MathJax.js:19)
Is this a known issue? What could be causing this? My understanding is that MathJax.Message.Init should be initialized at this point in time (or any asynchronous code in MathJax.js).
Steps to Reproduce:
Not sure how to reproduce. It seems to be more frequent inside iframes. App is at https://app.diagrams.net
Technical details:

MathJax Version: 2.7.9
Client OS: Mac OS X 11.0.1
Browser: Chrome 87.0.4580.88

Supporting information:

https://app.diagrams.net

The error message is peculiar, certainly.  I don't know if it actually refers to the MathJax.Message.Init() function, as there are lots of Init functions, and it could be referring to one of those.  I don't see how the Message object could have been created without its Init function.
The structure of the message suggests that it may be occurring during the loading of one of MathJax's components (like the loading of the input or output Jax the first time it is used).

Does the problem occur for both SVG and HTML output?
Have you tried using the CommonHTML rather than HTML-CSS output jax?
When you say the application is in an iframe, do you mean that https://app.diagrams.net itself is running in the iframe, or that you are calling MathJax on material that is inside an iframe?
Can you run MathJax.Messagse.Log() in the browser console when this happens and see if there are any error messages there?

You might consider loading MathJax from a combined configuration file and see if that helps.  From the app.min.js file, I see a function Editor.initMath that would need to be altered to do that.  You might consider changing it to
    Editor.initMath = function(a, b) {
        a = null != a ? a : DRAW_MATH_URL + "/MathJax.js?config=TeX-MML-AM_" + ("html" == urlParams["math-output"] ? "HTMLorMML" : "SVG") + '-full';
        Editor.mathJaxQueue = [];
        Editor.doMathJaxRender = function(a) {
            window.setTimeout(function() {
                "hidden" != a.style.visibility && MathJax.Hub.Queue(["Typeset",
                MathJax.Hub, a])
            }, 0)
        };
        var e = null != urlParams["math-font"] ? decodeURIComponent(urlParams["math-font"]) : "TeX";
        b = null != b ? b : {
            "HTML-CSS": {
                availableFonts: [e],
                imageFont: null
            },
            SVG: {
                font: e,
                useFontCache: !1
            },
            tex2jax: {
                ignoreClass: "mxCellEditor"
            },
            asciimath2jax: {
                ignoreClass: "mxCellEditor"
            }
        };
       ... // etc.
    };

Those are my initial thoughts.  See if any of those help.

Turns out we called initMath twice in some specific case. Thanks for your pointers, they helped us to resolve the issue (and the combined configuration file is better, anyway).

Glad you were able to work it out.  Thanks for letting us know.


HTTP protocol not working

Describe the bug
I have an older purifier (AC3829/10) which most likely did not support COAP (don't know if there is a firmware update available).
Therefore I tested the HTTP protocol and found at least two bugs.
The first one happens directly when doing the Http Request, because the time is past as string and not as integer.
Line 74 of lib/http.js: options.aliveTimeout should most likely be this.aliveTimeout
After fixing that, most states are not updated because of incorrect mapping.
Line 74 of main.js: AirPurifier.getMapping is used in all cases (COAP and HTTP). For HTTP it should be AirHttpPurifier.getMapping. Even changing this in the source returns only very few states (e.g. pm25). Most others are still "(null)" (e.g. temp).
To Reproduce
Steps to reproduce the behavior:

Just start the adapter in Http Mode

Expected behavior
Connection is established and correct values are returned.
Versions:

Adapter version: 1.0.1

Can you then please provide a debug log ... maybe we can then add missing mappings? We do not own such devices, so if you like a fix you need to provid eway more data

Sure,
here are the relevant lines from the log after fixing the two other mentioned issues, which are repeated every 30 seconds:
2022-12-22 12:49:29.478 - debug: philips-air.0 (2975518) STATUS: {"om":"0","pwr":"0","cl":false,"aqil":100,"uil":"0","dt":0,"dtrs":0,"mode":"A","func":"PH","rhset":50,"rh":41,"temp":26,"pm25":2,"iaql":1,"aqit":4,"ddp":"0","err":49408,"wl":0}
2022-12-22 12:49:29.654 - silly: philips-air.0 (2975518) States user redis pmessage philips-air.0.control.*/philips-air.0.control.mode:{"val":"A","ack":true,"ts":1671709769568,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671663984044}
2022-12-22 12:49:29.654 - debug: philips-air.0 (2975518) State change: {"val":"A","ack":true,"ts":1671709769568,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671663984044}
2022-12-22 12:49:59.479 - debug: philips-air.0 (2975518) Syncing...
And here is a screenshots of the corresponding states:
If you need any additional information or if you have a new version which I should test, just let me know.
Btw. switching power on/off by setting the control.power state works.

Am 22.12.2022 um 09:24 schrieb Ingo Fischer @.***>:
Can you then please provide a debug log ... maybe we can then add missing mappings? We do not own such devices, so if you like a fix you need to provid eway more data
—
Reply to this email directly, view it on GitHub https://github.com/iobroker-community-adapters/ioBroker.philips-air/issues/62#issuecomment-1362547207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGIOUPPDPTQ7LBZZN5M6ESTWOQF3TANCNFSM6AAAAAATGEHL2I.
You are receiving this because you authored the thread.

Please try GitHub version. I think I found the issue

Great, many thanks! This looks much better.
In the log you just find some type mismatch messages.
Still some states are not set (e.g. the filter states, which are returned by this model). Here is a screenshot of the states:

Am 22.12.2022 um 16:22 schrieb Ingo Fischer @.***>:
Please try GitHub version. I think I found the issue
—
Reply to this email directly, view it on GitHub https://github.com/iobroker-community-adapters/ioBroker.philips-air/issues/62#issuecomment-1362967466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGIOUPK6RXJIODV5YVI6SQDWORW4RANCNFSM6AAAAAATGEHL2I.
You are receiving this because you authored the thread.

Which log? Which screenshot? Email attachements are not added to the GitHub iossue - please add yourself!

(And please add a full debug log)

Sorry, the screenshot was attached in the e-mail (which I understand came not through), but I forgot the log. No I try to add both through the web page.

Here is the log:
2022-12-22 23:17:09.177  - info: host.iobroker instance system.adapter.philips-air.0 started with pid 4111390
2022-12-22 23:17:10.161  - debug: philips-air.0 (4111390) Redis Objects: Use Redis connection: <IP_ADDRESS>:9001
2022-12-22 23:17:10.240  - debug: philips-air.0 (4111390) Objects client ready ... initialize now
2022-12-22 23:17:10.240  - debug: philips-air.0 (4111390) Objects create System PubSub Client
2022-12-22 23:17:10.241  - debug: philips-air.0 (4111390) Objects create User PubSub Client
2022-12-22 23:17:10.464  - debug: philips-air.0 (4111390) Objects client initialize lua scripts
2022-12-22 23:17:10.472  - debug: philips-air.0 (4111390) Objects connected to redis: <IP_ADDRESS>:9001
2022-12-22 23:17:10.473  - silly: philips-air.0 (4111390) redis psubscribe cfg.o.system.user.*
2022-12-22 23:17:10.548  - silly: philips-air.0 (4111390) redis psubscribe cfg.o.enum.*
2022-12-22 23:17:10.550  - silly: philips-air.0 (4111390) objectDB connected
2022-12-22 23:17:10.551  - debug: philips-air.0 (4111390) Redis States: Use Redis connection: <IP_ADDRESS>:9000
2022-12-22 23:17:10.640  - debug: philips-air.0 (4111390) States create System PubSub Client
2022-12-22 23:17:10.641  - debug: philips-air.0 (4111390) States create User PubSub Client
2022-12-22 23:17:10.836  - debug: philips-air.0 (4111390) States connected to redis: <IP_ADDRESS>:9000
2022-12-22 23:17:10.836  - silly: philips-air.0 (4111390) statesDB connected
2022-12-22 23:17:11.240  - debug: philips-air.0 (4111390) Plugin sentry Initialize Plugin (enabled=true)
2022-12-22 23:17:11.242  - info: philips-air.0 (4111390) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
2022-12-22 23:17:11.357  - info: philips-air.0 (4111390) starting. Version 1.0.2 (non-npm: iobroker-community-adapters/ioBroker.philips-air) in /opt/iobroker/node_modules/iobroker.philips-air, node: v16.18.1, js-controller: 4.0.23
2022-12-22 23:17:11.402  - silly: philips-air.0 (4111390) States system redis pmessage system.adapter.philips-air.0.logLevel/system.adapter.philips-air.0.logLevel:{"val":"silly","ack":true,"ts":1671747431383,"q":0,"from":"system.adapter.philips-air.0","lc":1671236709622}
2022-12-22 23:17:11.419  - debug: philips-air.0 (4111390) start with <IP_ADDRESS> {"host":"<IP_ADDRESS>","aliveTimeout":"30000","reconnectInterval":"30000","protocol":"http"}
2022-12-22 23:17:11.420  - debug: philips-air.0 (4111390) started
2022-12-22 23:17:11.421  - debug: philips-air.0 (4111390) Syncing...
2022-12-22 23:17:13.143  - debug: philips-air.0 (4111390) Update client key: �^��n��}y�m<�M6�M}�m{��}��]��~
2022-12-22 23:17:13.145  - debug: philips-air.0 (4111390) connected
2022-12-22 23:17:13.146  - debug: philips-air.0 (4111390) STATUS: {"fanSpeed":"0","power":false,"childLock":"","lightBrightness":"100","buttonLight":false,"timerHours":"0","timerMinutes":"0","mode":"allergen","function":"humidification","targetHumidity":"50","humidity":"41","temperature":"26","pm25":"4","allergenIndex":"4","airQualityNotificationThreshold":"4","usedIndex":"iai","error":"no water","waterLevel":"0"}
2022-12-22 23:17:13.189  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.fanSpeed:{"val":"0","ack":true,"ts":1671747433188,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407628}
2022-12-22 23:17:13.189  - debug: philips-air.0 (4111390) State change: {"val":"0","ack":true,"ts":1671747433188,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407628}
2022-12-22 23:17:13.232  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.power:{"val":false,"ack":true,"ts":1671747433231,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407671}
2022-12-22 23:17:13.233  - debug: philips-air.0 (4111390) State change: {"val":false,"ack":true,"ts":1671747433231,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407671}
2022-12-22 23:17:13.234  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.mode:{"val":"allergen","ack":true,"ts":1671747433233,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407719}
2022-12-22 23:17:13.234  - debug: philips-air.0 (4111390) State change: {"val":"allergen","ack":true,"ts":1671747433233,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407719}
2022-12-22 23:17:13.235  - info: philips-air.0 (4111390) State value to set for "philips-air.0.control.targetHumidity" has to be type "number" but received type "string"
2022-12-22 23:17:13.236  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.targetHumidity:{"val":"50","ack":true,"ts":1671747433235,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407724}
2022-12-22 23:17:13.236  - debug: philips-air.0 (4111390) State change: {"val":"50","ack":true,"ts":1671747433235,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407724}
2022-12-22 23:17:13.280  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.function:{"val":true,"ack":true,"ts":1671747433279,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407767}
2022-12-22 23:17:13.281  - debug: philips-air.0 (4111390) State change: {"val":true,"ack":true,"ts":1671747433279,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407767}
2022-12-22 23:17:13.281  - info: philips-air.0 (4111390) State value to set for "philips-air.0.control.lightBrightness" has to be type "number" but received type "string"
2022-12-22 23:17:13.282  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.lightBrightness:{"val":"100","ack":true,"ts":1671747433281,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407770}
2022-12-22 23:17:13.282  - debug: philips-air.0 (4111390) State change: {"val":"100","ack":true,"ts":1671747433281,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407770}
2022-12-22 23:17:13.324  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.usedIndex:{"val":"iai","ack":true,"ts":1671747433323,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407816}
2022-12-22 23:17:13.325  - debug: philips-air.0 (4111390) State change: {"val":"iai","ack":true,"ts":1671747433323,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407816}
2022-12-22 23:17:13.327  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.buttonLight:{"val":false,"ack":true,"ts":1671747433326,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407859}
2022-12-22 23:17:13.332  - debug: philips-air.0 (4111390) State change: {"val":false,"ack":true,"ts":1671747433326,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407859}
2022-12-22 23:17:13.332  - info: philips-air.0 (4111390) State value to set for "philips-air.0.control.timerHours" has to be type "number" but received type "string"
2022-12-22 23:17:13.333  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.timerHours:{"val":"0","ack":true,"ts":1671747433333,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407862}
2022-12-22 23:17:13.333  - debug: philips-air.0 (4111390) State change: {"val":"0","ack":true,"ts":1671747433333,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407862}
2022-12-22 23:17:13.334  - info: philips-air.0 (4111390) State value to set for "philips-air.0.control.childLock" has to be type "boolean" but received type "string"
2022-12-22 23:17:13.335  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.childLock:{"val":"","ack":true,"ts":1671747433334,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407908}
2022-12-22 23:17:13.335  - debug: philips-air.0 (4111390) State change: {"val":"","ack":true,"ts":1671747433334,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407908}
2022-12-22 23:17:13.335  - info: philips-air.0 (4111390) State value to set for "philips-air.0.control.airQualityNotificationThreshold" has to be type "number" but received type "string"
2022-12-22 23:17:13.336  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.airQualityNotificationThreshold:{"val":"4","ack":true,"ts":1671747433336,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407963}
2022-12-22 23:17:13.336  - debug: philips-air.0 (4111390) State change: {"val":"4","ack":true,"ts":1671747433336,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407963}
2022-12-22 23:17:13.337  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.humidity" has to be type "number" but received type "string"
2022-12-22 23:17:13.380  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.allergenIndex" has to be type "number" but received type "string"
2022-12-22 23:17:13.428  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.temperature" has to be type "number" but received type "string"
2022-12-22 23:17:13.472  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.waterLevel" has to be type "number" but received type "string"
2022-12-22 23:17:13.516  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.pm25" has to be type "number" but received type "string"
2022-12-22 23:17:13.560  - info: philips-air.0 (4111390) State value to set for "philips-air.0.status.timerMinutes" has to be type "number" but received type "string"
2022-12-22 23:17:43.147  - debug: philips-air.0 (4111390) Syncing...
2022-12-22 23:17:43.256  - debug: philips-air.0 (4111390) STATUS: {"fanSpeed":"0","power":false,"childLock":"","lightBrightness":"100","buttonLight":false,"timerHours":"0","timerMinutes":"0","mode":"allergen","function":"humidification","targetHumidity":"50","humidity":"41","temperature":"26","pm25":"4","allergenIndex":"4","airQualityNotificationThreshold":"4","usedIndex":"iai","error":"no water","waterLevel":"0"}
2022-12-22 23:17:43.258  - silly: philips-air.0 (4111390) States user redis pmessage philips-air.0.control.*/philips-air.0.control.fanSpeed:{"val":"0","ack":true,"ts":1671747463257,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407628}

Ok, I weill check the type stuff, but the filter infos are not contained in the data returned from the device, so yes the states (that are always created) stay null

Beside of the getStatus() call, there is a getFilters() call, which would return the filter status. This is of course more of a feature request....

Ahh this might be a difference between Coap and HTTP ... will check

@tukey42 Try GitHub version again please and post debug log in any case!
HTTP is now requesting Firmware, Wifi and Filters also

Wow, great, it seems, that at least all states I like to see are now set. Many thanks!
Here is again a screenshot and the log:
2022-12-23 13:18:42.787  - info: host.iobroker instance system.adapter.philips-air.0 started with pid 626762
2022-12-23 13:18:44.055  - debug: philips-air.0 (626762) Redis Objects: Use Redis connection: <IP_ADDRESS>:9001
2022-12-23 13:18:44.147  - debug: philips-air.0 (626762) Objects client ready ... initialize now
2022-12-23 13:18:44.147  - debug: philips-air.0 (626762) Objects create System PubSub Client
2022-12-23 13:18:44.148  - debug: philips-air.0 (626762) Objects create User PubSub Client
2022-12-23 13:18:44.360  - debug: philips-air.0 (626762) Objects client initialize lua scripts
2022-12-23 13:18:44.372  - debug: philips-air.0 (626762) Objects connected to redis: <IP_ADDRESS>:9001
2022-12-23 13:18:44.373  - silly: philips-air.0 (626762) redis psubscribe cfg.o.system.user.*
2022-12-23 13:18:44.439  - silly: philips-air.0 (626762) redis psubscribe cfg.o.enum.*
2022-12-23 13:18:44.441  - silly: philips-air.0 (626762) objectDB connected
2022-12-23 13:18:44.443  - debug: philips-air.0 (626762) Redis States: Use Redis connection: <IP_ADDRESS>:9000
2022-12-23 13:18:44.542  - debug: philips-air.0 (626762) States create System PubSub Client
2022-12-23 13:18:44.542  - debug: philips-air.0 (626762) States create User PubSub Client
2022-12-23 13:18:44.728  - debug: philips-air.0 (626762) States connected to redis: <IP_ADDRESS>:9000
2022-12-23 13:18:44.728  - silly: philips-air.0 (626762) statesDB connected
2022-12-23 13:18:45.106  - debug: philips-air.0 (626762) Plugin sentry Initialize Plugin (enabled=true)
2022-12-23 13:18:45.108  - info: philips-air.0 (626762) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
2022-12-23 13:18:45.238  - info: philips-air.0 (626762) starting. Version 1.0.2 (non-npm: iobroker-community-adapters/ioBroker.philips-air) in /opt/iobroker/node_modules/iobroker.philips-air, node: v16.18.1, js-controller: 4.0.23
2022-12-23 13:18:45.255  - silly: philips-air.0 (626762) States system redis pmessage system.adapter.philips-air.0.logLevel/system.adapter.philips-air.0.logLevel:{"val":"silly","ack":true,"ts":1671797925252,"q":0,"from":"system.adapter.philips-air.0","lc":1671236709622}
2022-12-23 13:18:45.264  - debug: philips-air.0 (626762) start with <IP_ADDRESS> {"host":"<IP_ADDRESS>","aliveTimeout":"30000","reconnectInterval":"30000","protocol":"http"}
2022-12-23 13:18:45.264  - debug: philips-air.0 (626762) started
2022-12-23 13:18:45.267  - debug: philips-air.0 (626762) Syncing...
2022-12-23 13:18:47.001  - debug: philips-air.0 (626762) Update client key: �^��n��}y�m<�M6�M}�m{��}��]��~
2022-12-23 13:18:47.042  - debug: philips-air.0 (626762) connected
2022-12-23 13:18:47.042  - debug: philips-air.0 (626762) STATUS: {"fanSpeed":"0","power":false,"childLock":"","lightBrightness":"100","buttonLight":false,"timerHours":"0","timerMinutes":"0","mode":"allergen","function":"humidification","targetHumidity":"50","humidity":"42","temperature":"26","pm25":"9","allergenIndex":"3","airQualityNotificationThreshold":"4","usedIndex":"iai","error":"no water","waterLevel":"0"}
2022-12-23 13:18:47.063  - debug: philips-air.0 (626762) STATUS: {"version":"15","upgrade":"","state":"idle","progress":0,"statusmsg":"","mandatory":false,"name":"AC3829_10"}
2022-12-23 13:18:47.066  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.fanSpeed:{"val":"0","ack":true,"ts":1671797927065,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407628}
2022-12-23 13:18:47.067  - debug: philips-air.0 (626762) State change: {"val":"0","ack":true,"ts":1671797927065,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407628}
2022-12-23 13:18:47.096  - debug: philips-air.0 (626762) STATUS: {"hepaFilterType":"NanoProtect Filter Series 3 (FY2422)","activeCarbonFilterType":"NanoProtect Filter AC (FY2420)","preFilterCleanInHours":"69","hepaFilterReplaceInHours":"4147","activeCarbonFilterReplaceInHours":"4147","wickFilterReplaceInHours":"4147"}
2022-12-23 13:18:47.123  - debug: philips-air.0 (626762) STATUS: {"ssid":"IoT","password":"","protection":"wpa-2","ipaddress":"<IP_ADDRESS>","netmask":"<IP_ADDRESS>","gateway":"<IP_ADDRESS>","dhcp":true,"macaddress":"e8:c1:d7:01:54:03","cppid":"e8c1d7fffe015403"}
2022-12-23 13:18:47.127  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.power:{"val":false,"ack":true,"ts":1671797927124,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407671}
2022-12-23 13:18:47.127  - debug: philips-air.0 (626762) State change: {"val":false,"ack":true,"ts":1671797927124,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407671}
2022-12-23 13:18:47.142  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.mode:{"val":"allergen","ack":true,"ts":1671797927141,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407719}
2022-12-23 13:18:47.142  - debug: philips-air.0 (626762) State change: {"val":"allergen","ack":true,"ts":1671797927141,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407719}
2022-12-23 13:18:47.187  - info: philips-air.0 (626762) State value to set for "philips-air.0.control.targetHumidity" has to be type "number" but received type "string"
2022-12-23 13:18:47.190  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.targetHumidity:{"val":"50","ack":true,"ts":1671797927188,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407724}
2022-12-23 13:18:47.190  - debug: philips-air.0 (626762) State change: {"val":"50","ack":true,"ts":1671797927188,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407724}
2022-12-23 13:18:47.191  - info: philips-air.0 (626762) State value to set for "philips-air.0.filter.preFilterCleanInHours" has to be type "number" but received type "string"
2022-12-23 13:18:47.193  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.function:{"val":true,"ack":true,"ts":1671797927193,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407767}
2022-12-23 13:18:47.194  - debug: philips-air.0 (626762) State change: {"val":true,"ack":true,"ts":1671797927193,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407767}
2022-12-23 13:18:47.194  - info: philips-air.0 (626762) State value to set for "philips-air.0.filter.hepaFilterReplaceInHours" has to be type "number" but received type "string"
2022-12-23 13:18:47.195  - info: philips-air.0 (626762) State value to set for "philips-air.0.control.lightBrightness" has to be type "number" but received type "string"
2022-12-23 13:18:47.197  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.lightBrightness:{"val":"100","ack":true,"ts":1671797927196,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407770}
2022-12-23 13:18:47.198  - debug: philips-air.0 (626762) State change: {"val":"100","ack":true,"ts":1671797927196,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407770}
2022-12-23 13:18:47.198  - info: philips-air.0 (626762) State value to set for "philips-air.0.filter.activeCarbonFilterReplaceInHours" has to be type "number" but received type "string"
2022-12-23 13:18:47.201  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.usedIndex:{"val":"iai","ack":true,"ts":1671797927200,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407816}
2022-12-23 13:18:47.201  - debug: philips-air.0 (626762) State change: {"val":"iai","ack":true,"ts":1671797927200,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407816}
2022-12-23 13:18:47.201  - info: philips-air.0 (626762) State value to set for "philips-air.0.filter.wickFilterReplaceInHours" has to be type "number" but received type "string"
2022-12-23 13:18:47.203  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.buttonLight:{"val":false,"ack":true,"ts":1671797927202,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407859}
2022-12-23 13:18:47.205  - debug: philips-air.0 (626762) State change: {"val":false,"ack":true,"ts":1671797927202,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407859}
2022-12-23 13:18:47.252  - info: philips-air.0 (626762) State value to set for "philips-air.0.control.timerHours" has to be type "number" but received type "string"
2022-12-23 13:18:47.253  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.timerHours:{"val":"0","ack":true,"ts":1671797927252,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407862}
2022-12-23 13:18:47.253  - debug: philips-air.0 (626762) State change: {"val":"0","ack":true,"ts":1671797927252,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407862}
2022-12-23 13:18:47.296  - info: philips-air.0 (626762) State value to set for "philips-air.0.control.childLock" has to be type "boolean" but received type "string"
2022-12-23 13:18:47.297  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.childLock:{"val":"","ack":true,"ts":1671797927296,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407908}
2022-12-23 13:18:47.297  - debug: philips-air.0 (626762) State change: {"val":"","ack":true,"ts":1671797927296,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407908}
2022-12-23 13:18:47.344  - info: philips-air.0 (626762) State value to set for "philips-air.0.control.airQualityNotificationThreshold" has to be type "number" but received type "string"
2022-12-23 13:18:47.345  - silly: philips-air.0 (626762) States user redis pmessage philips-air.0.control.*/philips-air.0.control.airQualityNotificationThreshold:{"val":"4","ack":true,"ts":1671797927344,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407963}
2022-12-23 13:18:47.345  - debug: philips-air.0 (626762) State change: {"val":"4","ack":true,"ts":1671797927344,"q":0,"from":"system.adapter.philips-air.0","user":"system.user.admin","lc":1671747407963}
2022-12-23 13:18:47.392  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.humidity" has to be type "number" but received type "string"
2022-12-23 13:18:47.436  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.allergenIndex" has to be type "number" but received type "string"
2022-12-23 13:18:47.480  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.temperature" has to be type "number" but received type "string"
2022-12-23 13:18:47.528  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.waterLevel" has to be type "number" but received type "string"
2022-12-23 13:18:47.576  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.pm25" has to be type "number" but received type "string"
2022-12-23 13:18:47.624  - info: philips-air.0 (626762) State value to set for "philips-air.0.status.timerMinutes" has to be type "number" but received type "string"
2022-12-23 13:19:17.131  - debug: philips-air.0 (626762) Syncing...

Released as 1.0.3


Replace cgo dependency with getconf invocation

This change removes the cgo dependency from prometheus/procfs, which is
used in prometheus/client_golang. As this is the only cgo dependency in
all prometheus components** (prometheus server, *_exporter, etc.),
removing this dependency has been considered more important than
preventing an external system call during program initialization.
In the rare case that either the getconf call or the value parsing
fails, the library falls back to the de-facto standard CLK_TCK value of
100. For the even rarer case that a different value is used on a system,
a warning is printed to stderr.
@juliusv @discordianfish
** I'll replace the proc/stat parser in node_exporter with a call to this library.

A bit nervous about someone missing the stderr output if they use only glog files (or similar) for their logs, but I guess it's better than panicking, and should only happen in the super-rare case where getconf is not available AND 100 is not the actual HZ value.
:+1: unless someone has a better idea :)

One additional concern: shelling out when loading this library prevents any application using the Go Prometheus client library from running with security frameworks/settings which prevent forking. Those users would either have to relax their security (increasing risk of being exploited by someone forking a shell through a vulnerability) or manually change the library code.
Then again, I think this would mainly lead to the forking to fail in a way that will be returned as a Go error, in which case the default will simply be used (like when using rlimits to prevent forking). But it's possible that some frameworks will hard-kill the process if it tries to do any syscalls which it isn't allowed to do.
If that ever does become an issue, we could still make this all configurable via a flag or environment variable (using flags in libs doesn't seem to be a no-no, given that glog does it).

So I did some research and first all all, the situation is super confusing.
I finally found out how the kernel communicates the rate to the userland: http://article.gmane.org/gmane.linux.kernel/38936 (assuming this didn't change again).
ps also isn't using sysconf at all. The code comments there sound like it's a compile-time macro which means if we build our prometheus services on a system with different clock rate than on the systems the services will run on, our calculation breaks: https://github.com/mmalecki/procps/blob/master/proc/sysinfo.c#L93
But I just compile a little c programm and verified that it in fact calls a function at runtime.
What's contributing to the confusion is that there are multiple CLK_TCK timers, some seem deprecated other not so..
Anyways, it seems on kernels >= 2.4.0, the right way to use get the clock rate is by looking at the ELF note section, whether via the sysconf stuff or directly. Using sysconf seems to be more compatible since it's a posix function and the ELF stuff is linux specific, so I would propose we:

with CGO=1, we use sysconf as we did before
with CGO=0 on linux we use debug/elf(?) to read the clock from prometheus' own ELF
with CGO=0 on other systems, we just use a hardcoded value of 100 and print a warning

Okay another idea to throw in here:
https://github.com/davecheney/junk/blob/master/clock/examples/processtime/main.go
That uses the CLOCK_GETTIME syscall. But that again would only work on linux.

We can probably just ignore non-linux systems for procfs for now. AFAIK the BSDs have all removed it by now and osx never had it.

Superseded by #4.


[FEATURE REQUEST] Custom DDS loader

Is your feature request related to a problem? Please describe.

DDS files are currently converted via ImageMagick. Writing a custom loader would completely cut that dependency.

Describe the solution you'd like

Pure Go implementation of a DDS loader.

Describe alternatives you've considered
There exists a Go DDS library with several forks (e.g. https://github.com/robroyd/dds), but none support the encoding/compression HD2 uses.
Additional context
Common format info for HD2 DDS files:

FOURCC == "DX10"
Implementation may be based on ImageMagick (https://github.com/ImageMagick/ImageMagick/blob/main/coders/dds.c#L2663)

Done d1559091878f95e403b804c255913eb68e326728


charts: Bump chart version so we get it released

We want to release again because now we do have the gh-page
published.

Merging since it's a fairly straightforward change.


[NNPA] A rewrite pattern to get dim directly from a zTensor without unstickification.

This patch is to add a rewriting pattern that removes zhigh.unstick when getting dimensions.
For example, the following code
%0 = "zhigh.Unstick"(%arg0) : (tensor<?x?x?xf16, #zhigh.layout<{dataLayout = "3D"}>>) -> tensor<?x?x?xf32>
%1 = "onnx.Dim"(%0) {axis = 1 : si64}: (tensor<?x?x?xf32>) -> tensor<1xi64>

will be replace by
"onnx.Dim"(%arg0) {axis = 1 : si64} : (tensor<?x?x?xf16, #zhigh.layout<{dataLayout = "3D"}>>)

where the dimension is obtained directly from a zTensor without unstickifying the zTensor.

Jenkins Linux amd64 Build #13521 [push] Get dim directly from zT... started at 20:54

Jenkins Linux s390x Build #13548 [push] Get dim directly from zT... started at 21:54

Jenkins Linux ppc64le Build #12545 [push] Get dim directly from zT... started at 22:00

Jenkins Linux amd64 Build #13521 [push] Get dim directly from zT... failed after 58 min

Jenkins Linux ppc64le Build #12545 [push] Get dim directly from zT... passed after 1 hr 57 min


Error on missing crucial file on mismatched directory case names

if a module is in "Unimacro" in the .toml file but "unimacro" in src/  then some pretty cryptic errors are presented.   mabe some checking if the folders don't match in case to the module name?

Hmm, sorry about that. I'm very used to case-sensitive file systems, where unimacro and Unimacro are simply different names. What are the errors you see? Is this some of what was going on in #384, or is that separate?

it is something else.  of course, now when i attempted to reproduce it i can't.


error downloading arduino-language-server

Problem description
arduino_language_server (failed)
Downloading file "https://github.com/arduino/arduino-language-server/releases/download/0.7.0/arduino-language-server_0.6.0_Windows_64bit.zip"...
...taller/lua/nvim-lsp-installer/core/managers/std/init.lua:61: Failed to download file "https://github.com/arduino/arduino-language-server/releases/download/0.7.0/arduino-language-server_0.6.0_Windows_64bit.zip".
spawn: curl failed with exit code 22. curl: (22) The requested URL returned error: 404
Neovim version (>= 0.7)
0.7.0
Operating system/version
Windows
I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig

[X] Yes

Affected language servers
arduino
Actual behavior
as you can see in the link where it tries to download the server there is a discrepance between the version of the release (0.7.0) and the version in the filename (/arduino-language-server_0.6.0_Windows_64bit.zip)
Expected behavior
download the arduino-language-server
LspInstallInfo output
◍ arduino_language_server (failed)
        Downloading file "https://github.com/arduino/arduino-language-server/releases/download/0.7.0/arduino-language-server_0.6.0_Windows_64bit.zip"...
        ...taller/lua/nvim-lsp-installer/core/managers/std/init.lua:61: Failed to download file "https://github.com/arduino/arduino-language-server/releases/download/0.7.0/arduino-language-server_0.6.0_Windows_64bit.zip".
        spawn: curl failed with exit code 22. curl: (22) The requested URL returned error: 404

Installation log
[ERROR 13/07/2022 16:43:33] ...installer/lua/nvim-lsp-installer/core/installer/init.lua:79: Installation failed, name="arduino_language_server", error='...taller/lua/nvim-lsp-installer/core/managers/std/init.lua:61: Failed to download file "https://github.com/arduino/arduino-language-server/releases/download/0.7.0/arduino-language-server_0.6.0_Windows_64bit.zip".\nspawn: curl failed with exit code 22. curl: (22) The requested URL returned error: 404\r\n'
[INFO  13/07/2022 16:43:33] ...rt\nvim-lsp-installer/lua/nvim-lsp-installer/ui/init.lua:754: Installation completed server_name="arduino_language_server", success=false

Healthcheck
nvim-lsp-installer: require("nvim-lsp-installer.health").check()
========================================================================
## nvim-lsp-installer report
  - OK: neovim version >= 0.7.0
  - WARNING: **Go**: not available
  - WARNING: **cargo**: not available
  - WARNING: **luarocks**: not available
  - WARNING: **Ruby**: not available
  - WARNING: **RubyGem**: not available
  - WARNING: **Composer**: not available
  - WARNING: **PHP**: not available
  - OK: **npm**: `8.5.0`
  - OK: **node**: `v16.14.2
`
  - WARNING: **python3**: not available
  - WARNING: **pip3**: not available
  - OK: **javac**: `javac 16.0.2
`
  - OK: **java**: `openjdk version "16.0.2" 2021-07-20
`
  - WARNING: **julia**: not available
  - ERROR: **wget**: not available
  - OK: **curl**: `curl 7.83.1 (Windows) libcurl/7.83.1 Schannel
`
  - ERROR: **gzip**: not available
  - OK: **tar**: `bsdtar 3.5.2 - libarchive 3.5.2 zlib/1.2.5.f-ipp bz2lib/1.0.6
`
  - OK: **python**: `Ok`
  - OK: **pip**: `pip 21.2.4 from D:\Program Files\miniconda3\lib\site-packages\pip (python 3.10)

`
  - OK: GitHub API rate limit. Used: 9. Remaining: 4991. Limit: 5000. Reset: 13/07/2022 17:18:41.

Screenshots
No response

Hello! Woops, should be fixed in #862.


Add an P5js element

I would like a native P5js element to easily embed a P5js canvas into a hyberbook.
This can be done with the embed element, but I assume this could be fairly easy to add and should be in the spirit of other elements like the online ide and mermaid.

I also think that a P5js editor would also be a worthwhile addition. This should behave similar to the onlineide-element (https://hyperbook.openpatch.org/elements/online-ide).
So maybe we need an p5js player and an p5js editor element.

It seems that P5js will move to https://openprocessing.org. Maybe it would make sense to support the new site as well (or maybe only the new one).

I did some experiments on how to implement this feature. p5js works normally in global mode and assumes that only one sketch is present. Thus, you can call createSketch and other functions directly like so:
function setup() {
    createCanvas(1720, 200);
    background(0);
  };
function draw() {
    fill(255, 0, 0);
    circle(mouseX, mouseY, 50);
  };
}

To show multiple sketches on a page, I have found two options:

Use p5js native multiple sketch mode, which would look like this:

function sketch2(p) {
  p.setup = function () {
    p.createCanvas(1720, 200);
    p.background(0);
  };
  p.draw = function () {
    p.fill(255, 0, 0);
    p.circle(p.mouseX, p.mouseY, 50);
  };
}

Use an iframe like in the p5js documentation, which uses this component https://github.com/processing/p5.js-website/blob/main/src/components/CodeEmbed/frame.tsx. This would allow to also use the global mode, but using multiple sketches at the some time.

I prefer the iframe, because it gives us all the flexibility, but keeps writing p5js file simple.

I created an initial version, but the srcdoc of the iframe does not get interpreted correctly. #897

The element is implemented. Check out the documentation: https://hyperbook.openpatch.org/elements/p5
Happy coding :)


Update for 0.16 only

Allowing two Elm versions at once seems to be the root cause of this issue and probably many others. No one is on 0.15 anymore and if they are they can peg the old version.
Please release a patch version once merged.

There is no reason for this change. The library works with the currently stated constraints.

More specifically, what Max says above about allowing two Elm versions at once being the root cause for certain issues is wrong. See my answer on the mailing list. Consequently, there is no motivation for the change here.


Better query management [Spark]

For doing queries against Qbeast Format, we filter pushdown all the information into OTreeIndex.  In this class, we create a QuerySpec, which gives the context of the query (percentage of sampling and filters) and a QueryExecutor, which is in charge of filtering the files needed to satisfy the predicates in the spec.
In the QueryExecutor, we pass by all the revision and within each one we build a IndexStatus. This IndexStatus gathers information of the files and re-constructs the status of the index at a certain point in time. To do so, it has to call the collect() operation over the DeltaLog, which implies memory and computation resources which can drawback the reading performance.
To improve the existing implementation, we can think of different approaches:

Remove the qbeast filtering over pushdown predicates. Thanks to the stats collection of min and max over the files, Data Skipping strategy already does a great job.
Try to build the sampling algorithm over DataFrame. This would allow Qbeast-Spark to improve the access and processing of metadata, taking advantage of Spark distributed computing. We would need to build predicates that filters the Delta Log searching for those cubes that matches the weight filters.

Another possible improvement to use spark benefits it's to keep a cached df with Qbeast transformations over the Delta Log to make it more accessible. We need to explore that possibility, still just an idea.
(Similar to how Delta handles the snapshot files DataFrame).

Close it because results did not show major improvement and for implement option 2 we will need more research on Spark DataFrame.


GitHub action fed issuer without / at the end.

https://token.actions.githubusercontent.com without a slash at the end.
If you have a slash, then you get this error:
Error: : AADSTS70021: No matching federated identity record found for presented assertion. Assertion Issuer: 'https://token.actions.githubusercontent.com'. Assertion Subject: 'repo:jongio/ghazoidctest1:ref:refs/heads/main'. Assertion Audience: 'api://AzureADTokenExchange'.

Linked to issue:
https://github.com/MicrosoftDocs/azure-docs/issues/97699


current break point not updating when moveToBreak() used

Using this awesome plugin in my project works fine but needs some more improvements tho... especially when calling the moveToBreak manually the currentbreak state isn't changing i even don't see it updating inside that method... please add a line which will update the this.currentBreakpoint as well

@jaimyborgman
Thanks for notification. Fixed. Updated in 1.1.34 version.


Feature request: Add support for multiple tensor arenas

I'd like to propose a feature to allow the interpreter to use more than one tensor arena.
The use case is as follows: the platform running the interpreter has more than one memory region. Some regions are faster to access than others, but the faster regions are smaller in size than their slower counterparts. Imagine a microcontroller with 128 kB of internal SRAM but it has access to 32 MB of external RAM on a separate IC.
If you have a model that requires a tensor arena of 140 kB, it unfortunately can't use the internal SRAM because the entire arena would not fit, so the arena would need to be placed in external RAM.
It would be good if the interpreter could use both the internal SRAM and external RAM to get better inference performance. Maybe we could even make it so that we can specify which ops use which tensor arena, to allow the most often used ops to use the fast access arena.

Thank you for filing this request! This has come up in the past, and I do think it would be a great idea. It's a pretty complex feature to implement though, so I don't foresee it being tackled by the TFLM team any time soon. Choosing an optimal memory placement strategy with multiple memory segments at runtime probably requires a lot of additional context that the runtime just doesn't currently have.
I would also like to point out that it is currently possible to use two tensor arenas, but how they are used is fixed. Specifically, you can set up a persistent arena and a non-persistent arena. The non-persistent arena will be used for scratch buffers and activation tensors. The persistent arena would be used for storing any objects that need to survive beyond a single inference call, such as node data structures, resource variables, framework bookkeeping, etc. I find this most useful for memory savings in multi-model scenarios, where you can have overlapping temporary tensor arenas so long as inference is not performed concurrently.
You can configure the Interpreter this way by constructing a MicroAllocator using this create method: https://github.com/tensorflow/tflite-micro/blob/ff5c090ecac692689506e5598b0f3b8391ef6be0/tensorflow/lite/micro/micro_allocator.h#L149

Thank you for the tip! I'll look into it and evaluate how useful is this for my application.
In the case where this persistent/non-persistent split is not enough to take advantage of the available SRAM, I'd probably be willing to work on this provided there's some mentoring available, since I'm new to this codebase. Would that be of interest?

@rascani Hi, either I have misunderstood something,  i am not able to instantiate MicroAllocator as it is internal?
Do you know of any example?
Either this functionality is very relevant for me, the ESP32 S3 I use infers prohibitivey slow, to a large path because everything ends up in PSRAM, leaving the much faster SRAM unused.
I would think this would affect almost everyone trying any real deep learning on the ESP32, and I suspect the P4 will make it more common.

@andresovela , @rascani
So for the record here I have tried instantiating MicroAllocator with non-persistant and persistant allocation, problem is that either my SRAM has to be 5 MB (it isn't, i have ~250K available) or it ends up not being used. So I am trying to create a custom allocator/planner for this purpose instead. All ideas are welcome!

@andresovela , @rascani Basically, my attempts did not make much progress because of how TF lite micro always, ends up with a huge reallocallocation which I am not able to effect. I have som proposals in #2675. As the P4 is coming now, a host of opportunities for inferring real deep learning models are just on the verge of being viable.


run populate command fails

Nice example effort. Thank you.
There is no node_modules/babel/ folder after npm install. Run populate is trying to reference it.
`Alains-MacBook-Pro-4:graphql-mongodb-example-master klik$ npm run populate

<EMAIL_ADDRESS>populate /Users/klik/projects/graphql-mongodb-example-master
babel-node.js scripts/populationScript.es6

sh: babel-node.js: command not found
npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/klik/.nvm/versions/node/v6.2.1/bin/node" "/Users/klik/.nvm/versions/node/v6.2.1/bin/npm" "run" "populate"
npm ERR! node v6.2.1
npm ERR! npm  v3.9.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>populate: babel-node.js scripts/populationScript.es6
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>populate script 'babel-node.js scripts/populationScript.es6'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the graphql-mongodb-example package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     babel-node.js scripts/populationScript.es6
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs graphql-mongodb-example
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls graphql-mongodb-example
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/klik/projects/graphql-mongodb-example-master/npm-debug.log
Alains-MacBook-Pro-4:graphql-mongodb-example-master klik$`

Sorry for the delay, I have tried few installation in few Linux distribution and it works perfectly. Maybe it's a Mac issue.
npm install
[...]
<EMAIL_ADDRESS>node_modules/babel-relay-plugin
├──<EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> mcastro@mariocastro  /tmp/graphql-mongodb-example   master  npm run populate

><EMAIL_ADDRESS>populate /tmp/graphql-mongodb-example
> node_modules/babel/bin/babel-node.js scripts/populationScript.es6

576a71e48d3152984f31d8a3
 mcastro@mariocastro  /tmp/graphql-mongodb-example   master  npm start

><EMAIL_ADDRESS>start /tmp/graphql-mongodb-example
> node_modules/babel/bin/babel-node.js server.es6

Server listening at 9000

@sayden What did you do to fix this? I'm having the same issue.

@Sburke0708 actually I mentioned that I don't have this issue, maybe it's because I'm not using a Mac computer and I don't have any to try

It worked seamlessly for me on a mac.

@aarmand After running npm install, try running the following:
To populate:
>  node .\node_modules\babel\bin\babel-node.js .\scripts\populationScript.es6
To run the server:
> node .\node_modules\babel\bin\babel-node.js .\server.es6

@pmahmud Thanks. Started over. ran npm install. Then tried your populate script. Output below. I tried re-running with your read me instruction, got same error.  So looks like its not being read, maybe? Tried to see if the .es6 extension is being read in babel-node but could not confirm. I am thinking that is it.
klik:graphql-mongodb-example klik$ node .\node_modules\babel\bin\babel-node.js .\scripts\populationScript.es6
module.js:442
    throw err;
    ^

Error: Cannot find module '/Users/klik/Projects/graphql-mongodb-example/.node_modulesbabelbinbabel-node.js'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Function.Module.runMain (module.js:575:10)
    at startup (node.js:160:18)
    at node.js:456:3
klik:graphql-mongodb-example klik$ node ./node_modules/babel/bin/babel-node.js ./scripts/populationScript.es6
/Users/klik/Projects/graphql-mongodb-example/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126
      if (!option) this.log.error("Unknown option: " + alias + "." + key, ReferenceError);
                           ^

TypeError: Cannot read property 'error' of undefined
    at OptionManager.mergeOptions (/Users/klik/Projects/graphql-mongodb-example/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126:28)
    at OptionManager.addConfig (/Users/klik/Projects/graphql-mongodb-example/node_modules/babel-core/lib/transformation/file/options/option-manager.js:107:10)
    at OptionManager.findConfigs (/Users/klik/Projects/graphql-mongodb-example/node_modules/babel-core/lib/transformation/file/options/option-manager.js:168:35)
    at OptionManager.init (/Users/klik/Projects/graphql-mongodb-example/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:12)
    at compile (/Users/klik/Projects/graphql-mongodb-example/node_modules/babel-core/lib/api/register/node.js:117:22)
    at normalLoader (/Users/klik/Projects/graphql-mongodb-example/node_modules/babel-core/lib/api/register/node.js:199:14)
    at Object.require.extensions.(anonymous function) [as .es6] (/Users/klik/Projects/graphql-mongodb-example/node_modules/babel-core/lib/api/register/node.js:216:7)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)

@aarmand , it seems you are using unix, in that case try replacing the backslashes with slash like this:
> node ./node_modules/babel/bin/babel-node.js ./scripts/populationScript.es6
This assumes that you are in the graphql-mongodb-example folder and already ran npm install command and have babel-node.js inside the path: 'node_modules/babel/bin/'.
If you look closely at the error line:
Error: Cannot find module '/Users/klik/Projects/graphql-mongodb-example/.node_modulesbabelbinbabel-node.js'
This is not a valid path and I assume backslashes are the problem here:
/.node_modulesbabelbinbabel-node.js

using mac, el capitan. If you look above \ failed so switched to / and it ran but gave the errors we are discussing.

@aarmand There are other ways to solve this, but here is a naive one:
copy populationScript.es6 from scripts folder and paste inside node_modules/babel/bin/ folder and run:
> node ./babel-node.js ./populationScript.es6

@pmahmud that didnt work. This is totally to figure out what is possibly causing this issue that no one else has so dont feel pressed. Im thinking that since your project doesnt have a .babelrc file in it,  the options manager is erroring out when it doesnt find it. I know there are other ways to do set babelrc options so maybe this should not affect it. Definite side project to learn something to run this down.

@pmahmud maybe has something to do with this. https://github.com/CrabDude/babel-node-debug/issues/7. Lots has happened with babel since you build this.

@aarmand, @sayden is the author. I am guessing that is not related. Your error log says it cannot find babel-node at your machine. Meaning maybe the path is wrong or it was not installed properly.

I also got the same issue while running on windows machine.None of the solutions worked out.Any help is appreciated.

@sudheerj In the case of Windows is probably a problem of paths. Scripts that you can find in package.json are *nix like paths that use "/" for the tree.
Windows uses "" (backslashes) so those script must be rewritten to work in Windows machines.
I'm sorry but I don't have any windows platform on hand right now

Thanks Sayden.I installed babel plugins globally and changed the script paths as below.It worked fine after that.
"scripts": {
"start": "babel-node server.es6",
"populate": "babel-node scripts/populationScript.es6"
}


Writing multiple scenarios in a feature file

Current behavior

I'm currently unsure about how to write implementations for features that have multiple scenarios. In other tools like jest-cucumber, I'm familiar with the ability to scope the implementation to the scenario you're currently on.
Desired behavior
For example, if my feature was the following:
// ViewAllSpots.feature

Feature:  View all study spots

  I want to see study spots

  Scenario: View all study spots in Toronto by default
    Given I'm on the main page
    And location is disabled
    When the page loads
    Then I should see the map of Toronto with at least one spot displayed

  Scenario: View spots based on my location
    Given I'm on the main page
    And location is enabled
    And I'm in San Francisco
    When the page loads
    Then I should see the map of San Francisco with at least one spot displayed

Then I imagine my implementation would look something like this:
/// <reference types="cypress" />

import {
  Given, Then, When, Scenario
} from "cypress-cucumber-preprocessor/steps";
import { MainPage } from "../../pageObjects/main/mainPage";

let mainPage = new MainPage();

Scenario('View all study spots in Toronto by default', () => {
  Given(`I'm on the main page`, () => {
    mainPage.load();
  })

  And('location is disabled', () => {
    browser.disableLocation();
   })

  When('the page loads', () => {
    mainPage.waitUntilLoaded();
  })

  Then(`I should see the map of Toronto with at least one study spot displayed`, () => {
    let city = mainPage.getCurrentCityOnMap();
    expect(city).to.eq('Toronto');

    let spots = mainPage.getCurrentStudySpotsInViewOnMap();
    expect(spots.its.length).to.be.greaterThan(0);
  })
})

Scenario('View spots based on my location', () => {
  ...
  // scenario implementation with slightly different
  // behavior, but still cohesive and related to the
  // feature
})

I understand there's a tagging feature, but I'm unsure if that could be used to address this problem semantically. Curious about others' thoughts on this.

Hello
You can write your feature like this :
// ViewAllSpots.feature

Feature:  View all study spots
  I want to see study spots

  Background: Before Each
    Given I'm on the main page

  Scenario: View all study spots in Toronto by default
    When location is disabled
    And the page loads
    Then I should see the map of Toronto with at least one spot displayed

  Scenario: View spots based on my location
    When location is enabled
    And I'm in San Francisco
    And the page loads
    Then I should see the map of San Francisco with at least one spot displayed

All the Given can be a And or But. Same for When and Then.
import {
  Given, Then, When
} from "cypress-cucumber-preprocessor/steps";
import { MainPage } from "../../pageObjects/main/mainPage";

let mainPage = new MainPage();

Given(/^I'm on the main page$/, () => {
mainPage.load();
})

Given(/^location is (enabled|disabled)$/, (Status) => {
    if (Status == "disabled") {
    browser.disableLocation();
    }else{
    browser.enableLocation()
    }
})

When(/^the page loads$/, () => {
mainPage.waitUntilLoaded();
})

Then(/^I should see the map of Toronto with at least one study spot displayed$/, () => {
let city = mainPage.getCurrentCityOnMap();
expect(city).to.eq('Toronto');

let spots = mainPage.getCurrentStudySpotsInViewOnMap();
expect(spots.its.length).to.be.greaterThan(0);
})

Hello @stemmlerjs , I'm not sure if the Scenario syntax is available in cucumberjs (couldn't find it here https://github.com/cucumber/cucumber-js/blob/main/docs/support_files/api_reference.md ),  but it seems great!
For similar reasons, we've done a similar thing but driven by convention, we called it "nonGlobalStepDefinitions". If you set that to true in your preprocessor configuration then you get a folder for step definitions that's scoped to a related feature file. It's not exactly 1:1 to what you are proposing, because the step definitions will still be reused between different scenarios of the same feature file, but it gets you close.
You can see an example here:
https://github.com/TheBrainFamily/cypress-cucumber-example/tree/master/cypress/integration/socialNetworks
And there is more in our README if you look for nonGlobalStepDefinitions
@nicoaugereau thanks for your help, although I think Khalil was asking about something slightly different so I've decided to send my reply as well. :-)

Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.
Read more about the transfer of ownership here.
The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so.

what if we have a situation where we need to have more than one given statement & each given statement has a diff code implementation, just like this:
// ViewAllSpots.feature
Feature:  View all study spots
I want to see study spots
Scenario: View all study spots in Toronto by default
Given I'm on the main page
And location is disabled
When the page loads
Then I should see the map of Toronto with at least one spot displayed
Scenario: View spots based on my location
Given I'm on the admin page
And location is enabled
And I'm in San Francisco
When the page loads
Then I should see the map of San Francisco with at least one spot displayed
I noticed cypress automatically makes the first given thesame for the rest given, more like it can only run a given statement in a single feature


chore(vc): update iron-verifiable-credentials to version 0.14.0

Feature Request
the iron-verifiable-credentials library has a new release 0.14.0 which introduces significant breaking changes, thus simply upgrading the version catalog entry is not enough.
this may very well result in a partial or full re-write of our Jws2020 implementation!
Which Areas Would Be Affected?
Jws2020 implementation
Why Is the Feature Desired?
Solution Proposal
They dropped the high-level VC api, so we need to investigate the new API, adapt the impl, all tests and fixtures.
Alternatively, we could drop the use of the library, and re-implement the functionality in EDC.

In the Technical Committers' meeting of April 3, 2024 it was decided to perform the upgrade to 0.14.0 of iron-verifiable-credentials to gain access to new features like selective disclosure, VC DataModel V2 and support for new signature suites.


Additional ideas for validation when applying CustomBuilder resource

These ideas stemmed from accepting  our initial pass at improving validation in #11
CustomBuilder resource:

Seems a little weird that baseBuilderImage can be left blank
Same thing for

  store:
    image:

ServiceAccount resource:

Validate that the names of the git or registry secrets specified are known to kpack

I generally think we shouldn't let users reference the names of resources that have not yet been declared to avoid potential confusion down the road

Image resource:

Validate that names of the service account and builder referenced are known to kpack

I generally think we shouldn't let users reference the names of resources that have not yet been declared to avoid potential confusion down the road

@mgibson1121 There are a couple of disparate validation ideas in this. Do you mind breaking them into separate issues?

Split the validation ideas around not being able to reference names for resources that do not exist yet into a different story: #255

CustomBuilder.spec.baseBuilderImage and CustomBuilder.spec.store.image are no longer properties on the CustomBuilder. They are replaced with references to stack and  store respectively.
The CustomBuilder validates the presence of stack and store. The Stack resource validates that all its fields are present and valid and the Store resource validates that it has images and they are valid.
I think that satisfies this issue. We can reopen if we missed something?


Suspend a user/Prevent user from logging in due to suspended account (admin privilege)

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe how to intend to go about adding this feature
Describe the approach you will take in adding this feature.
Additional context
Add any other context or screenshots about the feature request here.

I will take this. I will use the accesscontrol package
accesscontrol : provides role and attribute-based access control.


[TextField] Replace a custom selection with text

In the situation where someone clicks on a mention, we may have a replacement such as MessageReplacement(start: 5, extent: 10, text: "@John Wick"). Clicking on that, we would want to replace the characters from 5-10 with "@John Wick" and set the cursor to one space after this.
With a regular TextField, we would do this via setting the value property (https://api.flutter.dev/flutter/services/TextEditingValue-class.html)

I'm going to close this because it seems like the goal can be accomplished on the app side.


Version = "1.9.0" in 1.9.1

Just downloaded release 1.9.1 and it has var Version = "1.9.0";exports.Version = Version;

Are you sure? I just ran npm i oidc-client and I see in ~/dist/oidc-client.js:
/***/ "./version.js":
/*!********************!*\
  !*** ./version.js ***!
  \********************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
var Version = "1.9.1";exports.Version = Version;

/***/ }),

I was looking at the ZIP downloaded from https://github.com/IdentityModel/oidc-client-js/archive/1.9.1.zip

maybe i didn't push the label correctly

ok, i recreated the label. please try again?

Yes, looks good now.