text:
install of requirements fails

what did i do wrong?
git clone https://github.com/Arzaroth/CelestiaSunrise.git
Nach »CelestiaSunrise« wird geklont
remote: Counting objects: 491, done.
remote: Total 491 (delta 0), reused 0 (delta 0), pack-reused 491
Objekte werden empfangen: 100% (491/491), 152.80 KiB | 0 bytes/s, done.
Unterschiede werden aufgelöst: 100% (327/327), done.
Verbundenheit wird überprüft … Fertig.
amon@c18:~$ cd CelestiaSunrise/
amon@c18:~/CelestiaSunrise$ sudo pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): docopt==0.6.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
Downloading/unpacking RapidXml==1.0.6 (from -r requirements.txt (line 2))
Downloading RapidXml-1.0.6.tar.gz
Running setup.py (path:/tmp/pip_build_root/RapidXml/setup.py) egg_info for package RapidXml
no previously-included directories found matching 'test'

Requirement already satisfied (use --upgrade to upgrade): six==1.9.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3))
Installing collected packages: RapidXml
Running setup.py install for RapidXml
building '_rapidxml' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -Irapidxml/c_ext/inc/ -Irapidxml/c_ext/inc/rapidxml-1.13/ -I/usr/include/python2.7 -c rapidxml/c_ext/src/common.cpp -o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/common.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
rapidxml/c_ext/src/common.cpp:10:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
#include <Python.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/RapidXml/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-OSyI5G-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/rapidxml
copying rapidxml/rapidxml.py -> build/lib.linux-x86_64-2.7/rapidxml
copying rapidxml/init.py -> build/lib.linux-x86_64-2.7/rapidxml
running build_ext
building '_rapidxml' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/rapidxml
creating build/temp.linux-x86_64-2.7/rapidxml/c_ext
creating build/temp.linux-x86_64-2.7/rapidxml/c_ext/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -Irapidxml/c_ext/inc/ -Irapidxml/c_ext/inc/rapidxml-1.13/ -I/usr/include/python2.7 -c rapidxml/c_ext/src/common.cpp -o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/common.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
rapidxml/c_ext/src/common.cpp:10:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
#include <Python.h>
                ^

compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/RapidXml/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-OSyI5G-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/RapidXml
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in
load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/dist-packages/pip/init.py", line 235, in main
return command.main(cmd_args)
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 42: ordinal not in range(128)

Python development headers are missing. If your distrib is apt-based:
sudo apt-get install python-dev
yum-based:
sudo yum install python-devel
And so on...

oh, silly me ^^

pip is okay now install still fails:
sudo pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): docopt==0.6.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
Downloading/unpacking RapidXml==1.0.6 (from -r requirements.txt (line 2))
Downloading RapidXml-1.0.6.tar.gz
Running setup.py (path:/tmp/pip_build_root/RapidXml/setup.py) egg_info for package RapidXml
no previously-included directories found matching 'test'

Requirement already satisfied (use --upgrade to upgrade): six==1.9.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3))
Installing collected packages: RapidXml
Found existing installation: RapidXml 1.0.7
Uninstalling RapidXml:
Successfully uninstalled RapidXml
Running setup.py install for RapidXml
building '_rapidxml' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -Irapidxml/c_ext/inc/ -Irapidxml/c_ext/inc/rapidxml-1.13/ -I/usr/include/python2.7 -c rapidxml/c_ext/src/common.cpp -o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/common.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -Irapidxml/c_ext/inc/ -Irapidxml/c_ext/inc/rapidxml-1.13/ -I/usr/include/python2.7 -c rapidxml/c_ext/src/rapidxml_module.cpp -o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/rapidxml_module.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
rapidxml/c_ext/src/rapidxml_module.cpp: In function ‘void init_rapidxml()’:
rapidxml/c_ext/src/rapidxml_module.cpp:105:57: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
NULL, NULL);
^
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -Irapidxml/c_ext/inc/ -Irapidxml/c_ext/inc/rapidxml-1.13/ -I/usr/include/python2.7 -c rapidxml/c_ext/src/base_object.cpp -o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/base_object.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
rapidxml/c_ext/src/base_object.cpp:194:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
};
^
rapidxml/c_ext/src/base_object.cpp:194:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
rapidxml/c_ext/src/base_object.cpp:194:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
rapidxml/c_ext/src/base_object.cpp:194:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
rapidxml/c_ext/src/base_object.cpp:194:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
rapidxml/c_ext/src/base_object.cpp:194:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -Irapidxml/c_ext/inc/ -Irapidxml/c_ext/inc/rapidxml-1.13/ -I/usr/include/python2.7 -c rapidxml/c_ext/src/node_object.cpp -o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/node_object.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
rapidxml/c_ext/src/node_object.cpp:475:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
};
^
rapidxml/c_ext/src/node_object.cpp:475:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
rapidxml/c_ext/src/node_object.cpp:475:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
rapidxml/c_ext/src/node_object.cpp:475:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -Irapidxml/c_ext/inc/ -Irapidxml/c_ext/inc/rapidxml-1.13/ -I/usr/include/python2.7 -c rapidxml/c_ext/src/attribute_object.cpp -o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/attribute_object.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -Irapidxml/c_ext/inc/ -Irapidxml/c_ext/inc/rapidxml-1.13/ -I/usr/include/python2.7 -c rapidxml/c_ext/src/document_object.cpp -o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/document_object.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -Irapidxml/c_ext/inc/ -Irapidxml/c_ext/inc/rapidxml-1.13/ -I/usr/include/python2.7 -c rapidxml/c_ext/src/nodeiterator_object.cpp -o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/nodeiterator_object.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -Irapidxml/c_ext/inc/ -Irapidxml/c_ext/inc/rapidxml-1.13/ -I/usr/include/python2.7 -c rapidxml/c_ext/src/attributeiterator_object.cpp -o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/attributeiterator_object.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/common.o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/rapidxml_module.o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/base_object.o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/node_object.o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/attribute_object.o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/document_object.o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/nodeiterator_object.o build/temp.linux-x86_64-2.7/rapidxml/c_ext/src/attributeiterator_object.o -o build/lib.linux-x86_64-2.7/_rapidxml.so
no previously-included directories found matching 'test'

Successfully installed RapidXml
Cleaning up...
amon@c18:~/CelestiaSunrise$ python3.4 setup.py install --user
running install
running bdist_egg
running egg_info
writing requirements to CelestiaSunrise.egg-info/requires.txt
writing top-level names to CelestiaSunrise.egg-info/top_level.txt
writing CelestiaSunrise.egg-info/PKG-INFO
writing dependency_links to CelestiaSunrise.egg-info/dependency_links.txt
reading manifest file 'CelestiaSunrise.egg-info/SOURCES.txt'
writing manifest file 'CelestiaSunrise.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/src
creating build/bdist.linux-x86_64/egg/src/utility
copying build/lib/src/utility/defaultordereddict.py -> build/bdist.linux-x86_64/egg/src/utility
copying build/lib/src/utility/xxtea.py -> build/bdist.linux-x86_64/egg/src/utility
copying build/lib/src/utility/utility.py -> build/bdist.linux-x86_64/egg/src/utility
copying build/lib/src/utility/init.py -> build/bdist.linux-x86_64/egg/src/utility
copying build/lib/src/utility/enum.py -> build/bdist.linux-x86_64/egg/src/utility
copying build/lib/src/utility/gluid.py -> build/bdist.linux-x86_64/egg/src/utility
copying build/lib/src/utility/tkvardescriptor.py -> build/bdist.linux-x86_64/egg/src/utility
creating build/bdist.linux-x86_64/egg/src/xml
copying build/lib/src/xml/init.py -> build/bdist.linux-x86_64/egg/src/xml
copying build/lib/src/xml/xmlhandler.py -> build/bdist.linux-x86_64/egg/src/xml
copying build/lib/src/init.py -> build/bdist.linux-x86_64/egg/src
creating build/bdist.linux-x86_64/egg/src/shell
copying build/lib/src/shell/ponyshell.py -> build/bdist.linux-x86_64/egg/src/shell
copying build/lib/src/shell/set.py -> build/bdist.linux-x86_64/egg/src/shell
copying build/lib/src/shell/docopt_utils.py -> build/bdist.linux-x86_64/egg/src/shell
copying build/lib/src/shell/init.py -> build/bdist.linux-x86_64/egg/src/shell
copying build/lib/src/shell/show.py -> build/bdist.linux-x86_64/egg/src/shell
copying build/lib/src/savemanager.py -> build/bdist.linux-x86_64/egg/src
creating build/bdist.linux-x86_64/egg/src/gui
copying build/lib/src/gui/poniesframe.py -> build/bdist.linux-x86_64/egg/src/gui
copying build/lib/src/gui/scrollframe.py -> build/bdist.linux-x86_64/egg/src/gui
copying build/lib/src/gui/ponygui.py -> build/bdist.linux-x86_64/egg/src/gui
copying build/lib/src/gui/init.py -> build/bdist.linux-x86_64/egg/src/gui
copying build/lib/src/gui/loading.py -> build/bdist.linux-x86_64/egg/src/gui
copying build/lib/src/gui/currenciesframe.py -> build/bdist.linux-x86_64/egg/src/gui
copying build/lib/src/gui/basegui.py -> build/bdist.linux-x86_64/egg/src/gui
copying build/lib/src/gui/zonesframe.py -> build/bdist.linux-x86_64/egg/src/gui
copying build/lib/src/gui/missingponiesframe.py -> build/bdist.linux-x86_64/egg/src/gui
copying build/lib/src/gui/gui.py -> build/bdist.linux-x86_64/egg/src/gui
byte-compiling build/bdist.linux-x86_64/egg/src/utility/defaultordereddict.py to defaultordereddict.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/utility/xxtea.py to xxtea.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/utility/utility.py to utility.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/utility/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/utility/enum.py to enum.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/utility/gluid.py to gluid.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/utility/tkvardescriptor.py to tkvardescriptor.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/xml/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/xml/xmlhandler.py to xmlhandler.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/shell/ponyshell.py to ponyshell.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/shell/set.py to set.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/shell/docopt_utils.py to docopt_utils.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/shell/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/shell/show.py to show.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/savemanager.py to savemanager.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/gui/poniesframe.py to poniesframe.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/gui/scrollframe.py to scrollframe.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/gui/ponygui.py to ponygui.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/gui/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/gui/loading.py to loading.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/gui/currenciesframe.py to currenciesframe.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/gui/basegui.py to basegui.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/gui/zonesframe.py to zonesframe.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/gui/missingponiesframe.py to missingponiesframe.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/src/gui/gui.py to gui.cpython-34.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.4/CelestiaSunrise.py -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/CelestiaSunrise.py to 755
copying CelestiaSunrise.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying CelestiaSunrise.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying CelestiaSunrise.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying CelestiaSunrise.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying CelestiaSunrise.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/CelestiaSunrise-v1.1.0-py3.4.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing CelestiaSunrise-v1.1.0-py3.4.egg
Removing /home/amon/.local/lib/python3.4/site-packages/CelestiaSunrise-v1.1.0-py3.4.egg
Copying CelestiaSunrise-v1.1.0-py3.4.egg to /home/amon/.local/lib/python3.4/site-packages
CelestiaSunrise v1.1.0 is already the active version in easy-install.pth
Installing CelestiaSunrise.py script to /home/amon/.local/bin
Installed /home/amon/.local/lib/python3.4/site-packages/CelestiaSunrise-v1.1.0-py3.4.egg
Processing dependencies for CelestiaSunrise==v1.1.0
Searching for RapidXml==1.0.6
Reading https://pypi.python.org/simple/RapidXml/
Best match: RapidXml 1.0.6
Downloading https://pypi.python.org/packages/source/R/RapidXml/RapidXml-1.0.6.tar.gz#md5=f1039f6848f9e2bfed01410d1ee9f39a
Processing RapidXml-1.0.6.tar.gz
Writing /tmp/easy_install-ulxd3x5r/RapidXml-1.0.6/setup.cfg
Running RapidXml-1.0.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ulxd3x5r/RapidXml-1.0.6/egg-dist-tmp-j58zmk59
no previously-included directories found matching 'test'
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
rapidxml/c_ext/src/common.cpp:10:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
#include <Python.h>
^
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

needed phython3.4-dev as well. program now runs.

repo: Arzaroth/CelestiaSunrise


text:
[SGTM Docs] Dynamodb docs

Summary

add documentation on dynamodb tables that SGTM uses

Asana tasks:
https://app.asana.com/0/1149418478823393/1207031348655582/f
Relevant deployment:
CC: @suzyng83209 @harshita-gupta @prebeta @michael-huang87
Test Plan
Risks
Pull Request: https://github.com/Asana/SGTM/pull/167
Pull Request synchronized with Asana task

I'm happy to add the docs edit into #166 once #167 merges!

source: gharchive/pull-request

repo: Asana/SGTM

license: MIT

license_type: permissive

license_source: github-api


text:
Revert "Add preset json for MSI GS63 laptop."

Reverts Askannz/msi-perkeyrgb#5

Ignore that.

repo: Askannz/msi-perkeyrgb


text:
Blum autoclicker problem

Error when playing blum game:
Error occurred during start game: 0, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url=URL('https://game-domain.blum.codes/api/v1/game/play')

Thanks for the work!

this function will be stopped for now.
please download the new update

source: gharchive/issue


text:
Implement SSIDDI

Summary

[1] Add the SSIDDI model and all its components to ssiddi.py

Codecov Report

Merging #77 (9460fd6) into main (424b440) will increase coverage by 0.70%.
The diff coverage is 98.83%.

@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
+ Coverage   94.41%   95.12%   +0.70%
==========================================
  Files          29       30       +1
  Lines         985     1189     +204
==========================================
+ Hits          930     1131     +201
- Misses         55       58       +3

Impacted Files
Coverage Δ

chemicalx/models/ssiddi.py
98.75% <98.73%> (-1.25%)
:arrow_down:

tests/unit/test_models.py
100.00% <100.00%> (ø)

chemicalx/models/deepdds.py
97.43% <0.00%> (-2.57%)
:arrow_down:

chemicalx/pipeline.py
87.67% <0.00%> (-0.91%)
:arrow_down:

chemicalx/models/caster.py
100.00% <0.00%> (ø)

chemicalx/loss.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

@cthoyt and @YuWVandy Refactored this one, added tests, documentation etc.

repo: AstraZeneca/chemicalx


text:
Upgrade jwk-to-pem to address timing attack

Fixes #215

Our release notes are here: https://github.com/Brightspace/node-jwk-to-pem/releases
You should probably investigate the 2.0 bump:

[MAJOR] All PEM output is now in PKCS#8 format

Here is the full diff between 1.2.6 and 2.0.2: https://github.com/Brightspace/node-jwk-to-pem/compare/v1.2.6...master

@j3parker - Thank you so much for the pull request!
When this PR is merged in, I'll update the downstream node-on-fhir repository accordingly.

Quick question:  What's the timeframe for this being published to NPM?

I can today and will ping you @awatson1978

New version 2.0.7 published @awatson1978

repo: Asymmetrik/node-fhir-server-core


text:
#1501 : Docs updated with working example

I did a PR with updated documentation but made a mistake in the example.

by the way is the flush needed? because this event already runs inside the flush

If i don't flush it it doesn't seem to send the position through, so i flush it before i "flush" the remove event.

OK, if so, figured it was not necessary ;)


text:
Clean up dead code and refactor state

Lots of dead code, and state is currently a bit messy. For a production release we need to go through and make sure we've cleared any dead files, dead code, consolidated everything as tightly as possible.

As per dev this is done

authors: lalalune saddamjit

repo: AtlasFoundation/AvatarCreator


text:
Document colStart parameter to rangeFromLineNumber

Apparently when this got added back in v3.2.0 the documentation was never updated.

Can anyone think of a better way to show the default value?

LGTM, merge at will

authors: Arcanemagus steelbrain

repo: AtomLinter/atom-linter

license: mit

license_source: bigquery


text:
Object.activate is deprecated.

AtomLinter v0.X.Y API has been deprecated. Please refer to the Linter docs to update and the latest API: https://github.com/AtomLinter/Linter/wiki/Migrating-to-the-new-API
Object.activate (/home/moimael/.atom/packages/linter/lib/main.coffee:57:8)
Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:240:19)
<unknown> (/usr/share/atom/resources/app.asar/src/package.js:221:30)
Package.measure (/usr/share/atom/resources/app.asar/src/package.js:165:15)
Package.activate (/usr/share/atom/resources/app.asar/src/package.js:213:14)
PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:452:21)

+1

+1

Ref: https://github.com/AtomLinter/linter-pep8/issues/17

@steelbrain I'm sorry for being dumb, but that ref doesn't actually help me get linter-pep8 to work. I understand that there was a rewrite, it does however appear to have been released, but under the 'linter' package - which I have, so I'm unsure what I should do to resolve this.

Hahahaha, I was just linking two issues, The actual work is being done here https://github.com/AtomLinter/linter-pep8/pull/20

phew! Thank you so much! :D

authors: ashwin31 jaskinn moimael steelbrain


text:
New feature: add login with google option

Please assign me the task to add login/signup option with google option via choosing google account.

Go ahead @bhaskarkumar1 , make sure to fetch the repo before making a PR

thank you @AtriSukul1508, for asssigning this task  I will work  on it.

@bhaskarkumar1 what's the update?

anyone not working on this issue please assign me this issue i want to work in this issue

@AtriSukul1508 ,please assign it to me.I will update you on my progress every 2weeks.I already created an issue on it,#170.Here is the link,https://github.com/AtriSukul1508/Njack_Hack_It_Out-Tur1ng-/issues/170


text:
FII-030 - Display the Inline files on the File inspector - UI impleme…

…ntation (LEAN-920)

Can one of the admins verify this patch?

authors: asouqi atyponci


text:
Scalar Markets

Implement scalar market type

Added to create market modal (and confirmed working) in bad716a1db4559adc5ae34eca6a5da0c05e2c497.  Market + reporting pages still need prettying up, so leaving this open for now.

Prettying up is ongoing, but has reached a sane and more-or-less usable form as of 0547dcf55211b51dd6214bccd679aff3abaa38dd.

repo: AugurProject/augur


text:
Inform user multiple transactions might be needed

There are a few places the UI needs to inform the user multiple transactions might be needed.

[x] Trading Order Form. simulate trade will give number of fills, need to tell user 1-N transactions might be needed.

[x] All Modals that allow the user to ... All like redeem all or claim all need to inform user if there are multiple of transactions needed.

This was added -- will all be re-tested with onboarding / trading / etc design qa.

authors: bthaile pgebheim


text:
Create a new common button for the Redesigned UI

This is the first issue to be tracked in the overall refactor effort discussed here: https://github.com/AugurProject/augur/issues/941
The goal will be to implement a common button component for the new redesigned buttons look and feel in away that is droppable into current designs without needing to individually style each button or creating new buttons and extending a pre-defined class.
For example, instead of our current method that looks like this:
<button
            className={classNames(Styles["TradingWrapper__button--submit"], {
              [Styles.long]: selectedNav === BUY,
              [Styles.short]: selectedNav === SELL,
              [Styles.disabled]: !s.trade || !s.trade.limitPrice
            })}
            onClick={e => {
              e.preventDefault();
              market.onSubmitPlaceTrade(
                s.trade,
                selectedOutcome.id,
                (err, tradeGroupID) => {
                  // onSent/onFailed CB
                  if (!err) {
                    this.clearOrderForm();
                  }
                },
                res => {
                  if (s.doNotCreateOrders && res.res !== res.sharesToFill)
                    handleFilledOnly(res.tradeInProgress);
                  // onComplete CB
                },
                s.doNotCreateOrders
              );
            }}
          >
            Place {selectedNav === BUY ? "Buy" : "Sell"} Order
          </button>

we would instead target a situation where we could do this:
{selectedNav === BUY ?
  <BuyButton action={submitTradeAction} text="Place Buy Order" /> :
  <SellButton action={submitTradeAction} text="Place Sell Order />
}

This way it's easier to reuse these buttons. All the CSS would be contained within BuyButton or SellButton already. May also simply  have a:
<OrderButton type={selectedNav} action={submitTradeAction} />

where type would dictate BUY or SELL and that would change the text.

@JohnDanz Is this still in progress? If not move to backlog or close if done

authors: JohnDanz bthaile


text:
Implement key import from geth keystore

Export is implemented, but not import.

+1

What is the timeline on key import?

Whenever I get a break from putting out fires -- should be the next day or two!

Implemented in f8670d589cfd6ff95681e5f24d0bab58b8b095f0.

authors: SilentCicero tinybike

repo: AugurProject/keythereum


text:
DbCodec is not recursively applied

First of all, I am not a scala expert so it might be I am missing something obvious here.
I assumed the following would work (embedding values in entities)
@Table(H2DbType, SqlNameMapper.CamelToSnakeCase)
case class Company(
    name: String,
    address: Address,
) derives DbCodec

case class Address(
    street: String,
    city: String,
    zipCode: String,
    country: String
) derives DbCodec

object repo extends Repo[Company, Company, String]

transact(cp):
    repo.insert(company)

but the address does not get "expanded" in the geneerated insert statement
Column "ADDRESS" not found; SQL statement:
INSERT INTO company (name, address) VALUES (?, ?, ?, ?, ?, ?, ?)

again - if I am missing something obvious, I apologize, in that case consider this issue a suggestion for documentation

Hi, nested / embedded entities are not supported. I added a FAQ section to the readme in the linked MR, please review and let me know what you think.
Cheers,

The PR looks great and provides an alternative solution and you kind of answered my follow up question: whether this is a design decision or a technical limitation.
It seems like its the former and I want to ask: do you see this feature at some point in the library? would you accept pull requests?

do you see this feature at some point in the library

I am biased against it; although I do agree it is a nice face-level developer experience, there's a lot of complexity introduced that can confuse users. For example, what if users want to make a table that embeds the same type multiple times?
@Table(H2DbType, SqlNameMapper.CamelToSnakeCase)
case class Triangle(
    pointA: Point,
    pointB: Point,
    pointC: Point
) derives DbCodec

case class Point(
    x: Int,
    y: Int
) derives DbCodec

How would we handle the column naming?
Or what about embeddings within embeddings within embeddings (etc)? (hard to reason about)
Or what about when a class is embedded in multiple entity classes, but you refactor the column name for just one of those tables? (hard to maintain).
For example see the hibernate docs on Embeddable: https://docs.jboss.org/hibernate/orm/6.5/userguide/html_single/Hibernate_User_Guide.html#embeddables
I think that, since SQL itself does not support embeddings, we should not try to make entity tables appear like they're object-oriented.

hey @AugustNagro , I wanna be a little bit annoying here because I think this feature would play very nicely with the overall design of your library.
Think about this scenario
case class Persisted[T](
  @Id id: Long,
  company: Company // as above
)

object CompanyRepo extends Repo[Company, Persisted[Company], String]

now, the elegant solution here is to not having to redefine your entire entity as a creator, but rather compose the repo requirements. even in a generic way, useable throughout the whole app.
I want to briefly address the other issues you mentioned, just for the sake of completeness

embedding within embeddings - why not? domain modeling with case classes does this all the time no?
multiple embeddings in one class - well, the lib does not shy away from annotations, I think it could be qualified (prefixed) somehow
as for the refactoring scenario, well that would be your responsiblity as developer

I completely understand you, as maintainer, not wanting to open that can of worms but imho the above scenario makes a strong case for this feature

hey @AugustNagro , I wanna be a little bit annoying here because I think this feature would play very nicely with the overall design of your library.

No worries, and I appreciate the feedback.. I'll do my best to be open minded and continue thinking about this usecase, especially in conjunction with adding UDT,  JSON, & XML support.
There's definitely pros to supporting embeddings, which is why Hibernate and others do so. Like you say, Persisted[T] would scrap the boilerplate when defining Entity/EntityBuilder pairs. I do like that example a lot.
The downside is that it is a BIG feature to do right, and it's bringing us a lot closer to ORM-territory.
So, I think the requirements would be:

We need to switch to using column names instead of integer positions when building case classes from ResultSets as described in this issue: https://github.com/AugustNagro/magnum/issues/2
Figure out how would this feature interact with UDTs. Would we want separate annotations, like @embed and @udt?
We should explore ideas on implementing XML & JSON deserialization support as a prerequisite so they can work together harmoniously. https://github.com/AugustNagro/magnum/issues/27
Need to support a prefix parameter like @embed(prefix = "point_a") for when a user embeds the same type multiple times. If prefix is not used, the user should receive a compile-time error with a helpful message.

I can help conceptually as I do not consider myself a proficient scala library developer.
Few points of feedback:

I think there should be 1 embed annotation. maybe udt could be a parameter on that annotation (type name or boolean flag if derived from the class name). alt: an @Embeddableannotation similar to @Table where these options can be specified (if the dialect imported supports it)
the prefix would be great. I think the "attributeoverrides" in hibernate are pure boilerplate as in 99% of all cases you just want a prefix for your cols. In my opinion you could consider automatically adding a prefix derived from the field name. Again this is 99% what I do with multiple embeddables in hibernate
If UDTs and Arrays, and, following from that, Arrays of UDTs are supported magnum would be able to support a lot of "aggregate" datastructures out of the box, such as an user with his phonenumbers. From a lib-user perspective that would be awesome, but I see your concerns about the scope of this lib.

I thank you for spending a few thoughts on this. I feel like this feature would be a win for the library without completely landing in orm land (with one-to-manies, lazy loading, etc...).
Furthermore, I want to add that "repo" is, at least to me, a high level concept. an abstraction that allows interaction with the database without knowing too much about the database. currently it feels more like a "dao" which is closer to db (again, imho).
This change, I'd say, would move us closer to "repo" as it can handle scala models as you would design them (more or less) without thinking in "rows".

repo: AugustNagro/magnum


text:
There should be a text area to add comments for fields that are check boxes

A user should be able to add comments about why a particular vehicle is bad/red/etc...

We decided to go in a different direction so everything has text boxes instead of checkmarks.

repo: AutoInspectors/AutoInspectorsApp


text:
"undefined Projects" when organization has no projects

When an organization has no projects, its dashboard shows a wrong message:

Should say "No projects", or something like that. No "undefined"

It should say the {organization name} Projects, like this:

I made a new organization locally but I couldn't recreate it showing "undefined".

authors: MrPrecise strazdinsg

repo: AutoPacker-OSS/autopacker


text:
docs: include tutorial for online experiment

Description

resolves #395

add the documentation from the user cookiecutter
Type of change
Delete as appropriate:

docs: Documentation only changes

Questions (Optional)
Not exactly a jupiter notebook tutorial. Describes the process of setting up and AutoRA workflow + Firebase Website in a way so they can be used together.
Remarks (Optional)
The cookiecutter basic example will be updated accordingly additionally (this works as an example and gets a closed loop running, but is not updated with some recent changes in the packages)

The testing_zone gets created on the fly with the help of a create react app template. This template can also be used outside of the user cookiecutter.

repo: AutoResearch/autora


text:
Allow comments in Taipy GUI pages definiton

This issue was created from a legacy rejected PR for the reasons described below.
This was proposed by @PolicarpoBatistaUliana on December 1st, 2023.
This was rejected for the time being because, as indicated in the original PR, this would impact the Markdown syntax badly enough not to maintain the original purpose of the syntax, and potentially break legacy code.
It is a valuable feature however, and we want to make sure we capture the original idea and proposal.
Here is what @PolicarpoBatistaUliana wrote at the time:
The included _comment.py python file contain two rotins that allow the use of comentes in Taipy pages strings  that using Markdown codes.
For HTML codes the comments are made using / *    * / delimiters, for Markdown
we define the same but including the use of a like python comment given by "/#" delimiter
Two types of comments are allowed inside of the string that define the page Markdown code::
A- Line-ending comment: /# XXXX  =>  Need be used in the end of the line or in a complete line. All words before /# will be removed
B- Comment inserted: / * XXXX  * /    =>  Can be used inside the code. 	                                                                    Only the text  / * XXXX  * /   will be removed
Example of the new use comments in Taipe pages definition:
page_login ="""
/ * The Taipy page beginning  here,  to get 3 new lines use \n to do this:* /  \n\n\n
/# In the line below the msg1[1] contain "Username or Email"
/#presented in 8 idioms:
/#
/# "Username or Email" message,  in 8 idioms:
<|{msg1[Idioma_sel.id / number of selected idiom =1 to 8 * /]}|text|raw|>\n
/#
/#This Markdown get  the user name
<|{UserName}|input|> \n
/#
/# "Inform Password" message, in 8 idions:
<|{msg2[Idioma_sel.id]/ Password /}|text|raw|>:\n
/#
/#This Markdown get  the Password:
<|{PassWord}|input|> \n
/# We need a way to hide the letters
/# when the user enters this value!
/#
/#This Markdown creat a Login button:
<|msg3[Idioma_sel.id+1]/ button caption: "Login" in 8 idioMs * /}|button|active|
on_action=confirma_login / * python rotine that react to the button press action /|>\n
/# We need define a rotine in python to use this UserName and PassWord values:
/# def  confirma_login(state):
/#      print("nome User=",state.UserName );
/#      print("senha=",state.PassWord );
/#
/ * The Taipy page finish here, with this  3'', the use of new line is optional * / \n
"""
OBS: I use /"space"  because /* and /  (/"no-space"  and   *"no-space"/ ) is given problem in it chat...
The same page with  Markdown code, after the comments be removed:
page_login ="""
\n\n\n
<|{msg1[Idioma_sel.id]}|text|raw|>\n
<|{UserName}|input|> \n
<|{msg2[Idioma_sel.id]}|text|raw|>:\n
<|{PassWord}|input|> \n
<|msg3[Idioma_sel.id+1]}|
button|active|on_action=confirma_login|>\n
"""
Observation: Whiteout comment is a more clean code, but hard to undusted
this msg1 to msg3 meaning, and the Idioma_sel use,  and that
confirma_login is a python function name....
Another benefit of this scheme is the possibility of disabling parts of the code for testing purposes.
I believe this is a very positive feature and nothing is lost with it, with the fact that you can post comments and can easy disabling code parts whitout lost of information.
If the user don't want comments, he  just don't use it...
Now, if this improvement is accepted, it is necessary to modify the documentation to show this new possibility of making comments in Taipy.
I can help do this if necessary....
Best Regards
Dr. Policarpo Yoshin Ulianov.
poliyu77@gmail.com
PS: I did basic tests with about 15 types of pages on Linux Debian 11 and Windows 10, with Python 3.11 and this scheme worked well. I believe it shouldn't cause any problems as it's a very simple routine that just removes comments, but it would be interesting for you to test it a little better.

The documentation was updated with this commit to indicate how comments can be integrated in Markdown pages without extending or breaking the Markdown syntax.
There is no code change to expect with respect to this feature.

repo: Avaiga/taipy


text:
Changing ContentControl Content produces binding errors

Repro:
https://github.com/wieslawsoltes/Draw2D/blob/453320c81b602a954aed65efb01eff77132689e8/src/Core2D.Avalonia/Views/MainView.xaml#L123-L165
Version: 0.5.1-build3602-alpha
Debug output:
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Core2D.Avalonia.Views.Style.DrawStyleView"."DataContext": "Could not find CLR property 'SelectionStyle' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'ClearSelectionOnClean' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.Slider"."Value": "Could not find CLR property 'HitTestRadius' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.TextBox"."Text": "Could not find CLR property 'HitTestRadius' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'ConnectPoints' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.Slider"."Value": "Could not find CLR property 'ConnectTestRadius' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.TextBox"."Text": "Could not find CLR property 'ConnectTestRadius' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'DisconnectPoints' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.Slider"."Value": "Could not find CLR property 'DisconnectTestRadius' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.TextBox"."Text": "Could not find CLR property 'DisconnectTestRadius' on 'Core2D.Editor.Tools.GuideToolSettings'"

DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'SplitIntersections' on 'Core2D.Editor.Tools.PolyLineToolSettings'"

DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'ConnectPoints' on 'Core2D.Editor.Tools.ScribbleToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.Slider"."Value": "Could not find CLR property 'HitTestRadius' on 'Core2D.Editor.Tools.ScribbleToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.TextBox"."Text": "Could not find CLR property 'HitTestRadius' on 'Core2D.Editor.Tools.ScribbleToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.DropDown"."Items": "Could not find CLR property 'Tools' on 'Core2D.Editor.Tools.ScribbleToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.DropDown"."SelectedItem": "Could not find CLR property 'CurrentTool' on 'Core2D.Editor.Tools.ScribbleToolSettings'"

DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'Simplify' on 'Core2D.Editor.Tools.RectangleToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.Slider"."Value": "Could not find CLR property 'Epsilon' on 'Core2D.Editor.Tools.RectangleToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.TextBox"."Text": "Could not find CLR property 'Epsilon' on 'Core2D.Editor.Tools.RectangleToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'IsFilled' on 'Core2D.Editor.Tools.RectangleToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'IsClosed' on 'Core2D.Editor.Tools.RectangleToolSettings'"

DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'ConnectPoints' on 'Core2D.Editor.Tools.ScribbleToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.Slider"."Value": "Could not find CLR property 'HitTestRadius' on 'Core2D.Editor.Tools.ScribbleToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.TextBox"."Text": "Could not find CLR property 'HitTestRadius' on 'Core2D.Editor.Tools.ScribbleToolSettings'"

DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'Simplify' on 'Core2D.Editor.Tools.PathToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.Slider"."Value": "Could not find CLR property 'Epsilon' on 'Core2D.Editor.Tools.PathToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.TextBox"."Text": "Could not find CLR property 'Epsilon' on 'Core2D.Editor.Tools.PathToolSettings'"

DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'IsFilled' on 'Core2D.Editor.Tools.QuadraticBezierToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'IsClosed' on 'Core2D.Editor.Tools.QuadraticBezierToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.DropDown"."Items": "Could not find CLR property 'Tools' on 'Core2D.Editor.Tools.QuadraticBezierToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.DropDown"."SelectedItem": "Could not find CLR property 'CurrentTool' on 'Core2D.Editor.Tools.QuadraticBezierToolSettings'"

DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'SplitIntersections' on 'Core2D.Editor.Tools.PointToolSettings'"

DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.CheckBox"."IsChecked": "Could not find CLR property 'ConnectPoints' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.Slider"."Value": "Could not find CLR property 'HitTestRadius' on 'Core2D.Editor.Tools.GuideToolSettings'"
DEFAULT_APPNAME Error: 0 : Binding: Error in binding to "Avalonia.Controls.TextBox"."Text": "Could not find CLR property 'HitTestRadius' on 'Core2D.Editor.Tools.GuideToolSettings'"

The issue may be related to fact that controls are attached to visual tree before previous ones are detached, in WPF first Unloaded is called than Loaded, in Avalonia first AttachedToVisualTree is called and than DetachedFromVisualTree
Demonstration: https://files.gitter.im/AvaloniaUI/Avalonia/GFT0/2017-08-20_17-09-11.mp4

Repro for previous comment:
<Window x:Class="AvaloniaDemo.MainWindow"
        xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:AvaloniaDemo;assembly=AvaloniaDemo"
        UseLayoutRounding="True"
        Title="AvaloniaDemo" Height="640" Width="640">
    <TabControl>
        <TabItem Header="Tab1">
            <local:MyBorder Name="myBorder1"/>
        </TabItem>
        <TabItem Header="Tab2">
            <local:MyBorder Name="myBorder2"/>
        </TabItem>
        <TabItem Header="Tab3">
            <local:MyBorder Name="myBorder3"/>
        </TabItem>
    </TabControl>
</Window>

using System.Diagnostics;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;

namespace AvaloniaDemo
{
    public class MyBorder : Border
    {
        public MyBorder()
        {
            AttachedToVisualTree += MyBorder_AttachedToVisualTree;
            DetachedFromVisualTree += MyBorder_DetachedFromVisualTree;
        }

        private void MyBorder_AttachedToVisualTree(object sender, VisualTreeAttachmentEventArgs e)
        {
            Debug.WriteLine($"AttachedToVisualTree: {this.Name}");
        }

        private void MyBorder_DetachedFromVisualTree(object sender, VisualTreeAttachmentEventArgs e)
        {
            Debug.WriteLine($"DetachedFromVisualTree: {this.Name}");
        }
    }

    public class MainWindow : Window
    {
        public MainWindow()
        {
            this.InitializeComponent();
            this.AttachDevTools();
        }

        private void InitializeComponent()
        {
            AvaloniaXamlLoader.Load(this);
        }
    }
}

I have now also seen this happen, has anyone got any clues on this? It appears the new datacontext is briefly applied to the old datatemplate. In one case a shared child of the old and new datacontext had fields bound to sliders reset to 0 on change,  I've so far failed to reproduce this in a simple repro.

This is still an issue, I wonder if it also contributes to the visual delays when changing DataContext on complex layouts.

authors: ahopper wieslawsoltes

repo: AvaloniaUI/Avalonia


text:
Avalonia.Markup.Xaml.XamlLoadException: No precompiled XAML found after Trim enabled

Describe the bug
The program throws the exception after the trim is enabled:

Application:
LauncherX.Avalonia.exe CoreCLR Version: 7.0.923.32018 .NET Version: 7.0.9
Description: The process was terminated due to an unhandled exception. Exception
Info: Avalonia.Markup.Xaml.XamlLoadException: No precompiled XAML found for
avares://LauncherX.Avalonia/Assets/Language/zh_cn.axaml (baseUri:
avares://LauncherX.Avalonia/), make sure to specify x:Class and include your
XAML file as AvaloniaResource at
Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(IServiceProvider sp, Uri uri, Uri
baseUri) in /_/src/Markup/Avalonia.Markup.Xaml/AvaloniaXamlLoader.cs:line 114 at
Avalonia.Markup.Xaml.Styling.ResourceInclude.get_Loaded() in
/_/src/Markup/Avalonia.Markup.Xaml/Styling/ResourceInclude.cs:line 53 at
Avalonia.Markup.Xaml.Styling.ResourceInclude.Avalonia.Controls.IResourceProvider.AddOwner(IResourceHost
owner) in /_/src/Markup/Avalonia.Markup.Xaml/Styling/ResourceInclude.cs:line 89
at
Avalonia.Controls.ResourceDictionary.<get_MergedDictionaries>b__20_0(IResourceProvider
x) in /_/src/Avalonia.Base/Controls/ResourceDictionary.cs:line 79 at
Avalonia.Collections.AvaloniaListExtensions.<>c__DisplayClass0_0`1.<ForEachItem>b__0(Int32
_, T i) in /_/src/Avalonia.Base/Collections/AvaloniaListExtensions.cs:line 44 at
Avalonia.Collections.AvaloniaListExtensions.<>c__DisplayClass1_0`1.<ForEachItem>g__Add|0(Int32
index, IList items) in
/_/src/Avalonia.Base/Collections/AvaloniaListExtensions.cs:line 81 at
Avalonia.Collections.AvaloniaListExtensions.<>c__DisplayClass1_0`1.<ForEachItem>b__2(Object
_, NotifyCollectionChangedEventArgs e) in
/_/src/Avalonia.Base/Collections/AvaloniaListExtensions.cs:line 98 at
Avalonia.Collections.AvaloniaList`1.NotifyAdd(T item, Int32 index) in
/_/src/Avalonia.Base/Collections/AvaloniaList.cs:line 700 at
Avalonia.Collections.AvaloniaList`1.Add(T item) in
/_/src/Avalonia.Base/Collections/AvaloniaList.cs:line 205 at
LauncherX.Avalonia.UI.Theme.ThemeX.SetLanguage(LauncherLanguage) in
C:\Users\luoli\Documents\GitHub\LauncherX.Avalonia\LauncherX.Avalonia\UI\Theme\ThemeX.axaml.cs:line
107 at
LauncherX.Avalonia.Models.Managers.UIManager.SelectedLauncherLanguageOnOnValueChanged(Object
, EventArgs) in
C:\Users\luoli\Documents\GitHub\LauncherX.Avalonia\LauncherX.Avalonia\Models\Managers\UIManager.cs:line
247 at LauncherX.Avalonia.Models.Managers.UIManager..ctor() in
C:\Users\luoli\Documents\GitHub\LauncherX.Avalonia\LauncherX.Avalonia\Models\Managers\UIManager.cs:line
122 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments,
Signature sig, Boolean isConstructor) at
System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args,
BindingFlags invokeAttr) at
System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder
binder, Object[] parameters, CultureInfo culture) at
Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite
constructorCallSite, RuntimeResolverContext context) at
Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite
callSite, TArgument argument) at
Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite
callSite, RuntimeResolverContext context) at
Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite
callSite, TArgument argument) at
Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite
callSite, ServiceProviderEngineScope scope) at
Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type
serviceType) at
System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2
valueFactory) at
Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type
serviceType, ServiceProviderEngineScope serviceProviderEngineScope) at
Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type
serviceType) at
Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider
provider, Type serviceType) at
Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider
provider) at
LauncherX.Avalonia.Class.Helper.FontHelper.get_FontFamilyFromSettings() in
C:\Users\luoli\Documents\GitHub\LauncherX.Avalonia\LauncherX.Avalonia\Class\Helper\FontHelper.cs:line
15 at LauncherX.Avalonia.App.Initialize() in
C:\Users\luoli\Documents\GitHub\LauncherX.Avalonia\LauncherX.Avalonia\App.axaml.cs:line
141 at Avalonia.AppBuilder.SetupUnsafe() in
/_/src/Avalonia.Controls/AppBuilder.cs:line 321 at Avalonia.AppBuilder.Setup()
in /_/src/Avalonia.Controls/AppBuilder.cs:line 303 at
Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime) in
/_/src/Avalonia.Controls/AppBuilder.cs:line 187 at
Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder
builder, String[] args, ShutdownMode shutdownMode) in
/_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line
219 at LauncherX.Avalonia.Program.Main(String[]) in
C:\Users\luoli\Documents\GitHub\LauncherX.Avalonia\LauncherX.Avalonia\Program.cs:line
24 at LauncherX.Avalonia.Program.<Main>(String[])

Desktop (please complete the following information):

OS: Windows 11 22H2
Version: 11.0.0

that means normally that any dll you require was trimmed by the compiler. Add the needed dlls to your roots.xml file. Read about trimming issues in NET.

Not a bug, expect behavior. StyleInclude/ResourceInclude from C# code uses reflection to load xaml files. You either need to update trimming rules to ignore these assemblies, or use StyleInclude/ResourceInclude only from XAML cose.

@timunie @maxkatz6  I'm trying to update the ResourcesDictionary during the runtime. Are there any alternative ways to achieve this? If not, what info should be included in the rd.xml?

Not a bug, expect behavior. StyleInclude/ResourceInclude from C# code uses reflection to load xaml files. You either need to update trimming rules to ignore these assemblies, or use StyleInclude/ResourceInclude only from XAML cose.

@maxkatz6 can you give any more details on how to surgically target the XAML loading code? I am using Avalonia.FuncUI in F# and really only have 1 GUI DLL and ignoring the GUI library seems like its gonna make the whole trimming exercise moot.
Also I am new to the details of trimming roots and tried to target the function where the XAML is loaded (App.Initialize) but that was no good and that function isn't even dynamically executed so probably a foreseeable result. Seems I need to somehow target some code generated for the styles file?

@laolarou726

I'm trying to update the ResourcesDictionary during the runtime

You mean, trying to add dynamically resource dictionary to the MergedResources?
Aside from option above, you also can add x:Class to your XAML file. Something like it was also possible in WPF: https://stackoverflow.com/questions/92100/is-it-possible-to-set-code-behind-a-resource-dictionary-in-wpf-for-event-handling
This way you can access your resources by type name, instead of style/resource includes.

Thank you! I ended up trying both options for kicks and the result is basically the same in terms of size. I must misunderstand how trimming works. I kinda expected it to leave all referenced DLLs from a rooted DLL in tact but I guess it doesn't?

I kinda expected it to leave all referenced DLLs from a rooted DLL in tact but I guess it doesn't?

No, TrimmerRootAssembly only leave specified assembly from being trimmed, without rooting references. If you need - you can add more TrimmerRootAssembly per each reference. But normally it's not needed.


text:
The LocalizedControlType is 'none' for customized UserControl on Windows

Describe the bug
The LocalizedControlType is 'none' for customized UserControl on Windows, please see the below screenshot.

To Reproduce

Build and run the attached the GetStartedApp.zip.
Use inspect.exe to check the above sample application, click on the OK button.

GetStartedApp.zip
Expected behavior
The LocalizedControlType is a valid value, but got none.
Avalonia version
11.1.0
OS
Windows
Additional context
No response

UserControl should have AutomationControlType=Custom set on them.

Avalonia automation is missing UserControlAutomationPeer class as it seems. It should be added, and UserControl should return it from the OnCreateAutomationPeer method.

Hi @maxkatz6, any plan for the fix of this issue?

@jane-mao help wanted label means a PR is welcome. So if you want to give it a go, you're welcome to do so.

authors: jane-mao maxkatz6 timunie


text:
ReactiveCommand System.InvalidOperationException: Call from invalid thread

Hello!
I have an application with a simple view which contains only a button
<Button Command={Binding TestCommand}/>

The TestCommand property of the DataContext is a
TestCommand = ReactiveCommand.Create(() => {});

The AppBuilder inside Main method looks like this.
...
var context = new ApplicationContext();
AppBuilder
  .Configure(app)
  .UsePlatformDetect()
  .UseReactiveUI()
  .Start<MainWindow>(() => context);  // The problem is here.

With this code, when i click the button my application crashes  with
System.InvalidOperationException: Call from invalid thread

I can fix this by changing AppBuilder chain with
...
  .Start<MainWindow>(() => new ApplicationContext());

However, I really would like to create ApplicationContext before calling the AppBuilder. Can I actually do this?

What is ApplicationContext and what does .Start<MainWindow>(() => context); do?

I have uploaded the Application which reproduces the error -
https://github.com/stdcall/Avalonia-Hello

Ive not had chance to look at your example, but its highly likely you need to initialise ReactiveUI, add UseReactiveUI() to your appbuilder (where it says UsePlatformDetect).

You shouldn't use any Avalonia APIs before either SetupWithoutStarting or Start<TWindow> is called on AppBuilder. The same goes for RxUI, since it needs to use Avalonia's synchronization primitives which are not available before setup.

@stdcall In addition, I'd like to mention that writing such code at the beginning of your Main method will likely do the trick:
public void Main(string[] args)
{
    RxApp.MainThreadScheduler = AvaloniaScheduler.Instance; // Interesting line of code!
    var context = new ApplicationContext();
    AppBuilder
        .Configure(app)
        .UsePlatformDetect()
        .Start<MainWindow>(() => context);
}

That UseReactiveUI method actually initializes the ReactiveUI main thread scheduler using a static instance of the AvaloniaScheduler. Why are you getting that InvalidOperationException? 'Cause you are trying to create your ReactiveUI ViewModel when things haven't been initialized yet. So, if you initialize the schedulers by hangs, the exception will go away.
But I'd not recommend you doing so - let the fameworks initialize the things for you.
So this is the best way for you to go:
.Start<MainWindow>(() => new ApplicationContext());

authors: danwalmsley grokys kekekeks stdcall worldbeater


text:
Line rendering issue

When using two lines one pixel apart from one another, they affect each others' colors even though the stroke thickness is 1 pixel.
Before and after changing a line's stroke color:

I only changed the top line in this case, but the one directly under it changes color as well (and the one under that also slightly changes)
This is really annoying because I need exact colors for each y coordinate and them affecting one another when they have no reason to seems to be unintentional
The xaml:
<Line StartPoint="0,335" EndPoint="512,335" Stroke="#C3000000" IsVisible="{Binding IsMessageBoxVisible}" ZIndex="2"/>
<Line StartPoint="0,336" EndPoint="512,336" Stroke="#35000000" IsVisible="{Binding IsMessageBoxVisible}" ZIndex="2"/>
<Line StartPoint="0,337" EndPoint="512,337" Stroke="#7C000000" IsVisible="{Binding IsMessageBoxVisible}" ZIndex="2"/>

Related to: #199
Needs implementation of RenderOptions. EdgeMode

authors: Gillibald Kermalis


text:
Create partial image of my app

I'm currently using System.Windows.Controls.Image in my WPF app to create images of parts of my app.
Can I do the same using Avalonia?
var image = new System.Windows.Controls.Image{
     Width= tabContent.Width,
     Strech = Strech.Uniform,
     Source = tabContent.RenderTargetBitmap()
}
RenderOptions.SetBitmapScallingMode(image,BitmapScallingMode.Fant);

using (RenderTargetBitmap bitmap = new RenderTargetBitmap(
  new PixelSize((int)control.Bounds.Width, (int)control.Bounds.Height),
  new Vector(96,96)))
{
  bitmap.Render(control);
  bitmap.Save("image.png");
}

Completely missed that. Thanks for the help!

authors: Jmales kekekeks


text:
[macOS] BeginResizeDrag fails

Resizing Window with HasSystemDecorations="False" is impossible
I reported an issue a year ago about macOS being able to resize under this condition while Windows couldn't (#2397). This got fixed at some point and the window can't be resized anymore, consistently with Windows.
Now BeginResizeDrag fails silently, making it impossible to resize windows with HasSystemDecorations="False". There is no exception. #3835 also seems to only have issues with resizing, and only with decorations disabled, however here it doesn't work no matter the value of decorations.
macOS 10.13 / cibuild0006821

@mat1jaczyyy BeginResizeDrag is a noop on osx...
https://github.com/AvaloniaUI/Avalonia/blob/master/native/Avalonia.Native/src/OSX/window.mm#L274
I believe its because osx keeps a resizing border... what was the last version it did work?

@danwalmsley We've previously had a managed implementation. What happened to it?

I can't access cibuilds prior to 6492, but I have 6058 cached locally. Resizing works on 6058, but not 6492, so it was broken sometime in between those builds.

working on a fix,

@danwalmsley What's the state of this?

@danwalmsley What's the state of this?

Just checked how Qt handles it.
It doesn't support it as well.
https://bugreports.qt.io/browse/QTBUG-88218

I believe SystemDecorations=None can be resized now on macOS. But BeginResizeDrag is not implemented there.

Trying to fix this for https://github.com/wieslawsoltes/Dock. Can't seem to make it work to resize a borderless window, so I think this is still relevant


text:
Feature request: text-shadow property

Is your feature request related to a problem? Please describe.
Right now it's not possible to implement text with a shadow, unless you define second text block with some offset.
Describe the solution you'd like
TextShadows similarly how we have BoxShadows
Describe alternatives you've considered
Drop shadow for any type of geometry - https://github.com/AvaloniaUI/Avalonia/issues/6207
Additional context
It seems even in Skia we have to render text twice manually, but at least we can do it on lower level. #1 #2
UPD:
For now it's not that hard to implement simple shadow support with a custom text block control
https://gist.github.com/maxkatz6/24be64ceb9e0b395caa11a69c725658a

CC @kekekeks @Gillibald

TextShadow requires a shader that is applied per GlyphRun. Should be trivial to implement once we get context.PushLayer(new LayerProperties{ Effect = new DropShadow()}) or similar

Pushing layer per run might be rather costly especially with CPU rendering. We should check how Chrome handles that.

You will push a layer per DropShadow instance so normally you will push that layer in the context of a TextLayout.Draw etc.

Yes, but each layer is essentially a draw-to-texture operation. So it's cheaper to draw the entire text a second time with an offset.
Also note that text has to drop shadow as a whole, which I suspect might cause issues with your approach if text runs have different colors.

Yes, text can be blurred via mask filters, see https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/graphics/skiasharp/effects/mask-filters.
I think that doesn't involve a render-to-texture step.

It's possible now with <TextBlock Effect="blur( ... )" />

authors: Gillibald kekekeks maxkatz6


text:
🛑 Minecraft.net website is down

In 8412641, Minecraft.net website (https://www.minecraft.net/en-us) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Minecraft.net website is back up in f7bdfd5 after 8 minutes.

repo: AventiumSoftworks/helios-status-page


text:
Custom SequencingPolicy cannot be configured programmatically

Basic information

Axon Framework version: 4.6.1 (works as expected in 4.5.x)
JDK version:  17
Complete executable reproducer if available (e.g. GitHub Repo):

Steps to reproduce

Register a custom sequencing policy for an event processor, e.g. using Spring as follows:
@Autowired
 fun configureFirestoreSequencingPolicy(config: EventProcessingConfigurer) {
        config.registerSequencingPolicy("my-processing-group") {
            PropertySequencingPolicy
              .builder(UserOperationEvent::class.java, String::class.java)
              .propertyName(UserOperationEvent::aggregateId.name)
              .fallbackSequencingPolicy(SequentialPerAggregatePolicy())
              .build()
     }
 }

Expected behaviour

The sequencing policy should be used for alle events within that processing group.
Actual behaviour

The default SequentialPerAggregatePolicyis used instead.

There's a chance this predicament occurs through the new versions of Spring, @maverick1601. So, a wiring order that's adjusted.
We've slowly been shifting users to abandon the @Autowired method approach of configuration in favor of the ConfigurerModul to battle this ordering issue more consistently.
So, you can try something like this in your application perhaps?
@Bean
fun configureSequencingPolicy(processingGroup: String) = ConfigurerModule { configurer: Configurer ->
    configurer.eventProcessing()
        .registerSequencingPolicy(processingGroup) {
            PropertySequencingPolicy
                .builder(UserOperationEvent::class.java, String::class.java)
                .propertyName(UserOperationEvent::aggregateId.name)
                .fallbackSequencingPolicy(SequentialPerAggregatePolicy())
                .build()
        }
}

Do let us know if the predicament persists.

Doesn't work, first of all because the processingGroup string cannot be auto-wired. But even if I skip that parameter and hard-code the processingGroup as part of the registerSequencingPolicy call, it doesn't work.

That's curious, as I can get it to work locally just fine.
Not the processingGroup wiring, but overriding a processing group's SequencingPolicy through a ConfigurerModule, that is.
What I did notice is that if you have any configuration for a processing group in a *.properties file, it'll set the default SequencingPolicy from the properties file for you.
Hence, setting anything else than the sequencePolicy bean name will already override a default registered SequencingPolicy on the EventProcessingConfigurer.
I'll check whether this is identical to AF 4.5.x because if it is, then we'd have a feature change.
Now, to your predicament, I thus don't seem able to reproduce it. Can you provide a small sample project for me so I can better understand your setup?
start.axoniq.io would be great to do that in, I think.

Okay, it works, I've copied the code from your example for the ConfigurerModuleback to may configuration w/o replacing the reference to the firestoreSequencingPolicybean, so that was my fault.
ConfigurerModule works on both versions!
Is there any documentation on how to switch from Autowired-configs to ConfigurerModule, apart from the code snippet that you provided.

Sadly enough, we do not, @maverick1601...
We have on the backlog to better explain the configuration on its own, which currently isn't in place.
Further on this, we will not focus on this immediately, as we're looking into a revamped Reference Guide (into more of a UserGuide) as we speak.
Spending time on a page for the Reference Guide that'll be obsolete soon is not necessarily the best use of our time.
So, in short, the snippet I've shared would be the way to go.
But, if you want to have some template for your users, I'd regard the following as sufficient:
@Bean
public ConfigurerModule myConfigurerModule() {
    return configurer -> {
        // Move configuration task from `@Autowired` method to this spot.
    };
}

I hope the above helps you somewhat, @maverick1601.
And, my apologies for not having this on the Reference Guide at the moment...

Returning to the issue, I think the predicament is solved.
As such, I will close this ticket.
If there are any follow-up questions concerning the topic, feel free to comment below.

Thanks @smcvb and sorry for the inconvenience and confusion I caused with that issue.

No worries! Your input is much appreciated. :-)
At the very least, somebody who encounters a similar issue might hit this topic, finding a solution to their problem.

repo: AxonFramework/AxonFramework


text:
Bugfix 807 backport

Backport of a fix done in the 4.0 release to 3.4.x.
The main difference is that a null payload is returned for unknown events, instead of an UnknownSerializedType. This only happens in cases where unknown types are explicitly skipped.

Thanks for adding the JavaSerializer, looks good. Will merge this for now.

authors: abuijze smcvb


text:
機能追加／対応サイト追加をするたびに拡張機能が無効化されてしまう

現象
タイトル通り。
条件
manifest.json に記述するサイトが増えるたびにユーザーに承認を取らないといけないので発生する

Chrome系

※Chromeの場合、右上にエラーとして内容が出るのでなんとかなるものの、Vivaldiの場合通知が来ないので簡単には気付けない
原因

Chromeのせい（←おい）

対策（暫定）
*://*.nicovideo.jp/* を指定して次バージョンリリースを試す。ChromeWebStoreの審査どうなるかな......

permissions 付けてみた
リリース後確認

v2.2.1, v2.2.2で問題なさそうだったのでclose

repo: AyumuNekozuki/niconico-darkmode


text:
Warsong Balance Changes

Currently, warsong roster is generally seen as weak and only heroes, elite squad and azerite engines are favoured. Horde was seen as weak even when grom mistakenly started at level 8, which goes to show how far they are behind now.
We should buff warsong remaining roster so they have more options and feel good to match up against NE team.
Units to look at:

Blademasters
Raiders
Axethrowers
Potentially casters, so warsong isn't SO reliant on fighting alongside Frostwolf for sustain. This would also begin to address some gripes about FW being "support faction" only.

Note that we'll probably do this in a minor version following the lumber removal version (it stays in the Next column, as a minor version is still part of the same overarching major version).

Can we keep this open for now, would like some feedback from players to see if the changes made are enough or more are needed. Although could just do a new ticket too if that is preferable?

Can we keep this open for now, would like some feedback from players to see if the changes made are enough or more are needed. Although could just do a new ticket too if that is preferable?

No, we should restrict Issues to things that can be completed through our own action rather than relying on external forces.
For your purposes I recommend opening a post in player-feedback on Discord. I did the same thing with plague removal and lumber removal.

authors: YakaryBovine vampirika

repo: AzerothWarsLR/WarcraftLegacies


text:
Azure B2C - Single Sign On for multiple C# WebForms (no mvc)

Hi,
I am trying to find some samples for Azure B2C - Single Sign On for multiple C# WebForms 4.7.2 (no MVC).
Please refer me to the correct place.
Thanks a lot.

Just add OWIN to your WebForms then follow the MVC example to configure the OWIN start up.
https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-devquickstarts-web-dotnet-susi#install-owin
Cheers,
H

Hi,
Thanks for your note.
I tried calling a MVC application from C# Web Forms and it doesn't work.
Please share any sample application.
Thanks.

authors: IyyappanAmirthalingam hxhieu


text:
Stop playing the audio before the end of the text and do not generate the complete text.

Please provide us with the following information:

This issue is for a: (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Use javascript sample -> Click on record -> say "Tell me a long history" or another input to get a larger response -> The audio will stop in the middle of audio and the text will not generate complete text

Any log messages given by the failure

In the console will appear: {
"type": "response.content_part.done",
"event_id": "event_AEnf0tlKz1cUHJPbRnBCR",
"response_id": "resp_AEnepctGRAxjngM5HsEZd",
"item_id": "item_AEnepHVWZY51yDgcnjDt8",
"output_index": 0,
"content_index": 0,
"content": {
"type": "audio",
"transcript": "Once upon a magical autumn evening, a lone leaf clung to a branch high in an ancient oak tree. The leaf, whose name was Rusty, was adorned in vibrant hues of red and orange. Rusty had watched the days grow shorter and the winds grow crisper, knowing it was nearly time for the grand adventure.\n\nEvery autumn, the leaves of the great oak would take flight on the wind, swirling and dancing through the air, to explore the wide world beyond their tree. Rusty had been dreaming of this journey since he was a bud in the spring.\n\n"Hold on tight!" the wind howled playfully, shaking the branches with a gust.\n\nRusty quivered with excitement and a hint of nervousness. "I'm ready!" he called back, feeling the wind's cool embrace.\n\nWith one final breath, the wind swept through, and Rusty let go, soaring into the sky. He twisted and"
},
"part": {
"type": "audio",
"transcript": "Once upon a magical autumn evening, a lone leaf clung to a branch high in an ancient oak tree. The leaf, whose name was Rusty, was adorned in vibrant hues of red and orange. Rusty had watched the days grow shorter and the winds grow crisper, knowing it was nearly time for the grand adventure.\n\nEvery autumn, the leaves of the great oak would take flight on the wind, swirling and dancing through the air, to explore the wide world beyond their tree. Rusty had been dreaming of this journey since he was a bud in the spring.\n\n"Hold on tight!" the wind howled playfully, shaking the branches with a gust.\n\nRusty quivered with excitement and a hint of nervousness. "I'm ready!" he called back, feeling the wind's cool embrace.\n\nWith one final breath, the wind swept through, and Rusty let go, soaring into the sky. He twisted and"
}
}
main.ts:102 {
"type": "response.output_item.done",
"event_id": "event_AEnf0RwRyJF4hQK4XWtuL",
"response_id": "resp_AEnepctGRAxjngM5HsEZd",
"output_index": 0,
"item": {
"id": "item_AEnepHVWZY51yDgcnjDt8",
"object": "realtime.item",
"type": "message",
"status": "incomplete",
"role": "assistant",
"content": [
{
"type": "audio",
"transcript": "Once upon a magical autumn evening, a lone leaf clung to a branch high in an ancient oak tree. The leaf, whose name was Rusty, was adorned in vibrant hues of red and orange. Rusty had watched the days grow shorter and the winds grow crisper, knowing it was nearly time for the grand adventure.\n\nEvery autumn, the leaves of the great oak would take flight on the wind, swirling and dancing through the air, to explore the wide world beyond their tree. Rusty had been dreaming of this journey since he was a bud in the spring.\n\n"Hold on tight!" the wind howled playfully, shaking the branches with a gust.\n\nRusty quivered with excitement and a hint of nervousness. "I'm ready!" he called back, feeling the wind's cool embrace.\n\nWith one final breath, the wind swept through, and Rusty let go, soaring into the sky. He twisted and"
}
]
}
}
main.ts:102 response.done

Expected/desired behavior

Generate completed text and speak all text

OS and Version?

Windows 11

Versions

0.0.0

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Thanks, @AnderRedna! I've confirmed with the AOAI service team that this is a known, tracked issue with the current model deployment -- output audio and transcripts can be "cut off" midway, often along with a supplementary error message containing the rather cryptic "Response parsing interrupted" detail in the payload. The problem reproduces readily independently of client (including the playground) and occurs right around the 1200-1400 token mark.
This problem will be addressed ASAP with a deployment fix. In the interim, limiting response output (resuming across responses is fine) is the best workaround.

Thanks for the response!
How can i limite response output?
Im currently using the js sample.

As silly as it sounds, the model is surprisingly receptive to being asked (via user input, be it audio or text) to keep it short. E.g. here's some incremental output for the long story using the interactive .NET sample (applicable everywhere):
 >>> USER: Give me the first two sentences of a long story.

Oh, I guess it was a bit too short! Let's shift gears and expand a bit.

Once upon a time, in a mystical forest shrouded in mist, there was an ancient oak tree that whispered secrets of the past to those who listened closely. Legends spoke of a hidden portal within its roots that could transport one to realms beyond imagination.
 <<< Start of speech detected
 <<< End of speech detected
 >>> USER: Give me the next two sentences.

Many had tried to find it, but only the pure of heart and those daring enough to seek the unknown could uncover its secrets. The forest was alive with the hum of magic, and the air buzzed with tales waiting to be told.
 <<< Start of speech detected
 <<< End of speech detected
 <<< Start of speech detected
 <<< End of speech detected
 >>> USER:
 >>> USER: the next two.

One day, a curious young adventurer named Elara, driven by tales of this enchanted portal, set forth on a journey to uncover its mysteries. With a heart full of wonder and a spirit unyielding, she ventured into the depths of the forest, guided by the whispers of the ancient oak. Little did she know, her quest would lead her to discoveries beyond her wildest dreams.

@trrwilson Is this bug fixed now?

authors: AnderRedna trrwilson zmssp

repo: Azure-Samples/aoai-realtime-audio-sdk


text:
Updating Go Sample for 2021-06-01 SDK Release

The Go sample has been updated for the 2021-06-01 release of the IoT Central SDK. The sample has been updated to validate system-assigned managed identity, check that the invalid SKU of "S1" throws a failure, and validate regional locations (i.e., "eastus") instead of geographies.

Looks good!
(I've updated PR description).

authors: chgennar gansvv


text:
Invalid Template Deployment

InvalidTemplateDeployment
Hi I just performed all the step required which are:

Create a new folder and switch to it in the terminal
azd auth login
azd init -t azure-search-openai-demo
In the data folder i changed to my documents (PDF).
In the file infra/main.parameters I changed from AZURE_SEARCH_SERVICE_SKU=standard to AZURE_SEARCH_SERVICE_SKU=basic as i need basic version of cognitive search.
Finally I am running azd up and it is throwing InvalidTemplateDeployement.

This issue is for a: (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I just did all the basic steps which were on repo.

Any log messages given by the failure

Attached screenshot already, but still the text message is:

ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is 'ff48d46b-13d3-4d1d-969b-52da9abbd296'. See inner errors for details.
FlagMustBeSetForRestore: An existing resource with ID '/subscriptions/19866297-20c6-4921-b541-e867aeda8d3f/resourceGroups/rg-Tenders-GPT-Bot-dev/providers/Microsoft.CognitiveServices/accounts/cog-mt66akh7fgwb4' has been soft-deleted. To restore the resource, you must specify 'restore' to be 'true' in the property. If you don't want to restore existing resource, please purge it first.
InvalidTemplateDeployment: The template deployment 'formrecognizer' is not valid according to the validation procedure. The tracking id is 'cc971759-8174-4151-ba43-ddd6b865c623'. See inner errors for details.
FlagMustBeSetForRestore: An existing resource with ID '/subscriptions/19866297-20c6-4921-b541-e867aeda8d3f/resourceGroups/rg-Tenders-GPT-Bot-dev/providers/Microsoft.CognitiveServices/accounts/cog-fr-mt66akh7fgwb4' has been soft-deleted. To restore the resource, you must specify 'restore' to be 'true' in the property. If you don't want to restore existing resource, please purge it first.

Expected/desired behavior

I have used this repo thrice for creating 3 different bots and it worked everytime before.

OS and Version?

Windows 10

azd version?
azd version 1.1.0
Mention any other details that might be useful

In the file infra/main.parameters I changed from AZURE_SEARCH_SERVICE_SKU=standard to AZURE_SEARCH_SERVICE_SKU=basic as i need basic version of cognitive search.

Thanks! We'll be in touch soon.

Did you previously deploy this template and take it down? Can you go into Azure Portal and look to see if you have any soft-deleted Cognitive Services accounts that need purging? That's what the error message seems to indicate.

authors: pamelafox prakhargurawa

repo: Azure-Samples/azure-search-openai-demo


text:
Add missing env vars needed for GPT4v deployment

Purpose
This PR adds missing azd output variables that are needed for CI/CD that has GPT-4-vision enabled.
Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Set up azd pipeline config after setting up a gpt-4v deployment.

Ooh, I realize our PRs now require approval by reviewers with write access. Fancy! Added Matt.


text:
Trouble signing in

What does this error say? I tired jumbling the ids but can't get the right combination. Can you help me with this?

Issue resolved. It was my mistake.

repo: Azure-Samples/billing-dotnet-usage-api


text:
Where is the C# Unity SpeechBotConnector sample for Windows or Android?

I've downloaded the .ZIP file and cannot locate this sample. Could someone please advise as to where it is in the folder? Thank you.

The Unity project that's tied to the quickstart does not have a SpeechBotConnectorSample scene nor script. Instead, there is a SampleDialogServiceConnector scene. The script that's in the project does not mention a place to insert the bot ID. I believe the respective Unity project was not attached to this sample.

Hi - it's me again :) I've done a bit more snooping around.
Using the SampleDialogServiceConnector scene, I opened the DialogServiceConnectorSample script that's included in the project. This script can work using a bot created with the bot framework. However the script itself needs to be modified. These two teeny tiny modifications.

On line 22, add public string botID
On line 127, the botID previously added needs to be added to the config. Therefore, the line should look like this: dialogServiceConfig = BotFrameworkConfig.FromSubscription(subscriptionKey, region, botID);

Back over in the README.md (https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/csharp/unity/VirtualAssistantPreview/), the scene name should be changed to SampleDialogServiceConnector. The script we reference needs to be changed to DialogServiceConnectorSample.cs. We would also need to add in 'Replace Bot ID with the bot Microsoft App ID' in the bullet point that talks about the Canvas GameObject.
Now, the only thing about the Microsoft App ID is that I'm unsure where to find it in Azure portal. I found mine for my QnA bot by downloading the bot source code from the Azure portal and opening the appsettings.json file. It's the first line of the file. I'll keep looking around in the portal though to see where the ID is. I can confirm it's not on the Overview page as that page only provides the Subscription ID.
In any case, I hope that helps!

Not the most intuitive place to find it but the Microsoft App ID is in the Azure Portal's Web App Bot resource in Settings.

Hi @aprilspeight, we created an internal item on our backlog tracking the work of improving these samples to make them easier to consume and navigate.

authors: aprilspeight glecaros


text:
Cognitive does not exsist error.

Hello. I am using Unity to make an app for iOS, Android and StandAlone PC.
I made an Unity project and imported Microsoft.CognitiveServices.Speech.1.13.0.unitypackage to use STT and TTS.
There is no problem for building Android and StandAlone PC by setting on Unity but,
for building iOS, it makes some errors even though I set the build setting to ARM64.
The most represent error is that Cognitive does not exsist in the namespace Microsoft.
In this site : https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/quickstarts/setup-platform?tabs=unity%2Cmacos%2Cjre%2Cbrowser&pivots=programming-language-csharp
It says the unitypackage supports iOS ARM32 and 64 but it makes some error.
How can I solve this problem??

@3Park Thanks for question, did you check the instructions here: https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/quickstart/csharp/unity/from-microphone#build-and-run-the-sample-for-ios-platform ? Specifically Under Project > Assets > SpeechSDK > Plugins > iOS, check that Microsoft.CognitiveServices.Speech.csharp.dll target is enabled for Editor and iOS platforms.

oh, I will check it. thanks

@3Park Let us know if you still see the issue, if not the issue closes soon

Closing the issue, let us know if more info is needed.


text:
Change dotnet-core to dotnet

dotnet-core is not an allowed product name - https://review.learn.microsoft.com/en-us/help/platform/metadata-taxonomies?branch=main#product

@MaximRouiller Can you merge this?


text:
Flask ライブラリバージョンのアップデート (2.3.2 から 3.0.2)

内容

Flask ライブラリのメジャーバージョンアップデート (2.3.2 から 3.0.2)

詳細

requirements.txt の変更

テストケース

ライブラリ | 必須要件 | テストケース | テスト結果

元々の PR

https://github.com/Azure-Samples/jp-azureopenai-samples/pull/126

@suzukiyuhsuke さん
コンフリクト解消しました。

repo: Azure-Samples/jp-azureopenai-samples


text:
Hack: make eastus2euap non-zonal due to Azure capacity issues

Which issue this PR addresses:
Forces eastus2euap to non-zonal so our e2es successfully run against it.
Azure currently has capacity issues in eastus2euap AZ1, so force non-zonal so we don't provision across zones.

Will this change be mirrored to the installer (https://github.com/openshift/ARO-Installer/blob/19fed938beae727d0ff6b8a0ab599f5ad21a9847/pkg/installer/generateconfig.go#L108) as well?

authors: bennerv tsatam

repo: Azure/ARO-RP


text:
docs: release notes for 20230712.0 VHD

What type of PR is this?
/kind documentation

What this PR does / why we need it:
Release notes for weekly VHD release
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build 5578668924

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall First build on aganeshkumar/releasenotes_20230712 at 61.542%

Totals

Change from base Build 5578520655:
61.5%

Covered Lines:
2570

Relevant Lines:
4176

💛  - Coveralls

repo: Azure/AgentBaker


text:
fix: allow more dependency PRs to be open

What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR sets bigger limits for PR carting and branch creation to allow Renovate to create all the PRs for the deps with discovered new version
Which issue(s) this PR fixes:
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build 10168428238
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.005%

Totals

Change from base Build 10154574535:
0.0%

Covered Lines:
2564

Relevant Lines:
3611

💛  - Coveralls

authors: coveralls djsly


text:
refactor: configure kubelet serving certificate rotation label at runtime

What type of PR is this?

What this PR does / why we need it:
this PR moves the logic which adds the special kubernetes.azure.com/kubelet-serving-ca=cluster label out of agentbaker and directly into provisioning scripts - this is primarily to ensure that we preserve this functionality when using scriptless, and there is no agentbakersvc
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

is it safe to remove the equivalent logic from baker.go files? Or do we still need it there as well

is it safe to remove the equivalent logic from baker.go files? Or do we still need it there as well

we need to keep it in there for now since we can't release everything at once for windows (they need to create a new script package before we can start calling new functions from within the primary CSE scripts)
I'll follow-up and remove that logic once windows has everything released


text:
Split CSE/Packer scripts and add Mariner

This pull request splits cse_helpers.sh, cse_install.sh, and tool_installs.sh into subscripts. Each of those scripts still contain the common functions, and anything that is distro specific has moved to a *_ubuntu.sh and *_mariner.sh subscript.
When deploying the scripts, CSE and Packer will copy the common scripts as normal, and will copy the correct distribution's scripts, and rename them to *_distro.sh.
Wherever these scripts were sourced to set their functions in the environment, they now also source the *_distro.sh versions.

This is a continuation of Pull https://github.com/Azure/AgentBaker/pull/594, but from a local branch instead of a fork so that the pipeline tests can run automatically.

can you add a few unit tests in pkg/agent/baker_test.go for Mariner pools?

can you add a few unit tests in pkg/agent/baker_test.go for Mariner pools?

+1

authors: eriksywu hbeberman xuto2