Azure Deploy Failure for Minimal instance - using Azure Deploy Button

Deployment errors for Minimal environment
4 issues encountered using Azure Deploy Button

controller-vm-rvizle-ScriptProcessor Error

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "VMExtensionProvisioningError",\r\n "message": "VM has reported a failure when processing extension 'install_moodle'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=1\n[stdout]\n\n[stderr]\norce-yes install php php-cli php-curl php-zip\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \nW: --force-yes is deprecated, use one of the options starting with --allow instead.\n+ sudo apt-get -y update\n+ sudo apt-get install -y --force-yes graphviz aspell php-common php-soap php-json php-redis\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \nW: --force-yes is deprecated, use one of the options starting with --allow instead.\n+ sudo apt-get install -y --force-yes php-bcmath php-gd php-xmlrpc php-intl php-xml php-bz2 php-pear php-mbstring php-dev mcrypt\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \nW: --force-yes is deprecated, use one of the options starting with --allow instead.\n++ get_php_version\n++ '[' -z '' ']'\n+++ /usr/bin/cut -c 1,2,3\n+++ /usr/bin/php -r 'echo PHP_VERSION;'\n++ _PHPVER=7.0\n++ echo 7.0\n+ PhpVer=7.0\n+ '[' mssql = mysql ']'\n+ '[' mssql = mssql ']'\n+ sudo apt-get install -y libapache2-mod-php\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \n+ install_php_mssql_driver\n+ apt-key add -\n+ /usr/bin/curl https://packages.microsoft.com/keys/microsoft.asc\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r100 983 100 983 0 0 1488 0 --:--:-- --:--:-- --:--:-- 1489\n+ /usr/bin/curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r100 79 100 79 0 0 332 0 --:--:-- --:--:-- --:--:-- 331\n+ sudo apt-get update\n+ sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools unixodbc-dev -y\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \n+ echo 'export PATH=\"$PATH:/opt/mssql-tools/bin\"'\n+ echo 'export PATH=\"$PATH:/opt/mssql-tools/bin\"'\n+ source /root/.bashrc\n++ '[' -z '' ']'\n++ return\n++ sed -e 's|.:\\s||'\n++ grep 'Loaded Configuration'\n++ php --ini\n+ /usr/bin/pear config-set php_ini /etc/php/7.0/cli/php.ini system\n+ /usr/bin/pecl install sqlsrv\n\"."\r\n }\r\n ]\r\n }\r\n}"}]}

controllerTemplate
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "DeploymentFailed",\r\n "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",\r\n "details": [\r\n {\r\n "code": "Conflict",\r\n "message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'install_moodle'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=1\\n[stdout]\\n\\n[stderr]\\norce-yes install php php-cli php-curl php-zip\\ndebconf: unable to initialize frontend: Dialog\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\ndebconf: falling back to frontend: Readline\\ndebconf: unable to initialize frontend: Readline\\ndebconf: (This frontend requires a controlling tty.)\\ndebconf: falling back to frontend: Teletype\\ndpkg-preconfigure: unable to re-open stdin: \\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\n+ sudo apt-get -y update\\n+ sudo apt-get install -y --force-yes graphviz aspell php-common php-soap php-json php-redis\\ndebconf: unable to initialize frontend: Dialog\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\ndebconf: falling back to frontend: Readline\\ndebconf: unable to initialize frontend: Readline\\ndebconf: (This frontend requires a controlling tty.)\\ndebconf: falling back to frontend: Teletype\\ndpkg-preconfigure: unable to re-open stdin: \\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\n+ sudo apt-get install -y --force-yes php-bcmath php-gd php-xmlrpc php-intl php-xml php-bz2 php-pear php-mbstring php-dev mcrypt\\ndebconf: unable to initialize frontend: Dialog\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\ndebconf: falling back to frontend: Readline\\ndebconf: unable to initialize frontend: Readline\\ndebconf: (This frontend requires a controlling tty.)\\ndebconf: falling back to frontend: Teletype\\ndpkg-preconfigure: unable to re-open stdin: \\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\n++ get_php_version\\n++ '[' -z '' ']'\\n+++ /usr/bin/cut -c 1,2,3\\n+++ /usr/bin/php -r 'echo PHP_VERSION;'\\n++ _PHPVER=7.0\\n++ echo 7.0\\n+ PhpVer=7.0\\n+ '[' mssql = mysql ']'\\n+ '[' mssql = mssql ']'\\n+ sudo apt-get install -y libapache2-mod-php\\ndebconf: unable to initialize frontend: Dialog\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\ndebconf: falling back to frontend: Readline\\ndebconf: unable to initialize frontend: Readline\\ndebconf: (This frontend requires a controlling tty.)\\ndebconf: falling back to frontend: Teletype\\ndpkg-preconfigure: unable to re-open stdin: \\n+ install_php_mssql_driver\\n+ apt-key add -\\n+ /usr/bin/curl https://packages.microsoft.com/keys/microsoft.asc\\n % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r100 983 100 983 0 0 1488 0 --:--:-- --:--:-- --:--:-- 1489\\n+ /usr/bin/curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list\\n % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\r100 79 100 79 0 0 332 0 --:--:-- --:--:-- --:--:-- 331\\n+ sudo apt-get update\\n+ sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools unixodbc-dev -y\\ndebconf: unable to initialize frontend: Dialog\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\ndebconf: falling back to frontend: Readline\\ndebconf: unable to initialize frontend: Readline\\ndebconf: (This frontend requires a controlling tty.)\\ndebconf: falling back to frontend: Teletype\\ndpkg-preconfigure: unable to re-open stdin: \\n+ echo 'export PATH=\\\"$PATH:/opt/mssql-tools/bin\\\"'\\n+ echo 'export PATH=\\\"$PATH:/opt/mssql-tools/bin\\\"'\\n+ source /root/.bashrc\\n++ '[' -z '' ']'\\n++ return\\n++ sed -e 's|.:\\\\s||'\\n++ grep 'Loaded Configuration'\\n++ php --ini\\n+ /usr/bin/pear config-set php_ini /etc/php/7.0/cli/php.ini system\\n+ /usr/bin/pecl install sqlsrv\\n\\\".\"\r\n }\r\n ]\r\n }\r\n}"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}

mainTemplate
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "DeploymentFailed",\r\n "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",\r\n "details": [\r\n {\r\n "code": "Conflict",\r\n "message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"DeploymentFailed\",\r\n \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"Conflict\",\r\n \"message\": \"{\\r\\n \\\"status\\\": \\\"Failed\\\",\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"ResourceDeploymentFailure\\\",\\r\\n \\\"message\\\": \\\"The resource operation completed with terminal provisioning state 'Failed'.\\\",\\r\\n \\\"details\\\": [\\r\\n {\\r\\n \\\"code\\\": \\\"VMExtensionProvisioningError\\\",\\r\\n \\\"message\\\": \\\"VM has reported a failure when processing extension 'install_moodle'. Error message: \\\\\\\"Enable failed: failed to execute command: command terminated with exit status=1\\\\n[stdout]\\\\n\\\\n[stderr]\\\\norce-yes install php php-cli php-curl php-zip\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ sudo apt-get -y update\\\\n+ sudo apt-get install -y --force-yes graphviz aspell php-common php-soap php-json php-redis\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ sudo apt-get install -y --force-yes php-bcmath php-gd php-xmlrpc php-intl php-xml php-bz2 php-pear php-mbstring php-dev mcrypt\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n++ get_php_version\\\\n++ '[' -z '' ']'\\\\n+++ /usr/bin/cut -c 1,2,3\\\\n+++ /usr/bin/php -r 'echo PHP_VERSION;'\\\\n++ _PHPVER=7.0\\\\n++ echo 7.0\\\\n+ PhpVer=7.0\\\\n+ '[' mssql = mysql ']'\\\\n+ '[' mssql = mssql ']'\\\\n+ sudo apt-get install -y libapache2-mod-php\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ install_php_mssql_driver\\\\n+ apt-key add -\\\\n+ /usr/bin/curl https://packages.microsoft.com/keys/microsoft.asc\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\n Dload Upload Total Spent Left Speed\\\\n\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r100 983 100 983 0 0 1488 0 --:--:-- --:--:-- --:--:-- 1489\\\\n+ /usr/bin/curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\n Dload Upload Total Spent Left Speed\\\\n\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r100 79 100 79 0 0 332 0 --:--:-- --:--:-- --:--:-- 331\\\\n+ sudo apt-get update\\\\n+ sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools unixodbc-dev -y\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ echo 'export PATH=\\\\\\\"$PATH:/opt/mssql-tools/bin\\\\\\\"'\\\\n+ echo 'export PATH=\\\\\\\"$PATH:/opt/mssql-tools/bin\\\\\\\"'\\\\n+ source /root/.bashrc\\\\n++ '[' -z '' ']'\\\\n++ return\\\\n++ sed -e 's|.:\\\\\\\\s||'\\\\n++ grep 'Loaded Configuration'\\\\n++ php --ini\\\\n+ /usr/bin/pear config-set php_ini /etc/php/7.0/cli/php.ini system\\\\n+ /usr/bin/pecl install sqlsrv\\\\n\\\\\\\".\\\"\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}

4.MainTemplate
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "DeploymentFailed",\r\n "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",\r\n "details": [\r\n {\r\n "code": "Conflict",\r\n "message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"DeploymentFailed\",\r\n \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"Conflict\",\r\n \"message\": \"{\\r\\n \\\"status\\\": \\\"Failed\\\",\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"ResourceDeploymentFailure\\\",\\r\\n \\\"message\\\": \\\"The resource operation completed with terminal provisioning state 'Failed'.\\\",\\r\\n \\\"details\\\": [\\r\\n {\\r\\n \\\"code\\\": \\\"DeploymentFailed\\\",\\r\\n \\\"message\\\": \\\"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.\\\",\\r\\n \\\"details\\\": [\\r\\n {\\r\\n \\\"code\\\": \\\"Conflict\\\",\\r\\n \\\"message\\\": \\\"{\\\\r\\\\n \\\\\\\"status\\\\\\\": \\\\\\\"Failed\\\\\\\",\\\\r\\\\n \\\\\\\"error\\\\\\\": {\\\\r\\\\n \\\\\\\"code\\\\\\\": \\\\\\\"ResourceDeploymentFailure\\\\\\\",\\\\r\\\\n \\\\\\\"message\\\\\\\": \\\\\\\"The resource operation completed with terminal provisioning state 'Failed'.\\\\\\\",\\\\r\\\\n \\\\\\\"details\\\\\\\": [\\\\r\\\\n {\\\\r\\\\n \\\\\\\"code\\\\\\\": \\\\\\\"VMExtensionProvisioningError\\\\\\\",\\\\r\\\\n \\\\\\\"message\\\\\\\": \\\\\\\"VM has reported a failure when processing extension 'install_moodle'. Error message: \\\\\\\\\\\\\\\"Enable failed: failed to execute command: command terminated with exit status=1\\\\\\\\n[stdout]\\\\\\\\n\\\\\\\\n[stderr]\\\\\\\\norce-yes install php php-cli php-curl php-zip\\\\\\\\ndebconf: unable to initialize frontend: Dialog\\\\\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\\\\\ndebconf: falling back to frontend: Readline\\\\\\\\ndebconf: unable to initialize frontend: Readline\\\\\\\\ndebconf: (This frontend requires a controlling tty.)\\\\\\\\ndebconf: falling back to frontend: Teletype\\\\\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\\\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\\\\\n+ sudo apt-get -y update\\\\\\\\n+ sudo apt-get install -y --force-yes graphviz aspell php-common php-soap php-json php-redis\\\\\\\\ndebconf: unable to initialize frontend: Dialog\\\\\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\\\\\ndebconf: falling back to frontend: Readline\\\\\\\\ndebconf: unable to initialize frontend: Readline\\\\\\\\ndebconf: (This frontend requires a controlling tty.)\\\\\\\\ndebconf: falling back to frontend: Teletype\\\\\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\\\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\\\\\n+ sudo apt-get install -y --force-yes php-bcmath php-gd php-xmlrpc php-intl php-xml php-bz2 php-pear php-mbstring php-dev mcrypt\\\\\\\\ndebconf: unable to initialize frontend: Dialog\\\\\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\\\\\ndebconf: falling back to frontend: Readline\\\\\\\\ndebconf: unable to initialize frontend: Readline\\\\\\\\ndebconf: (This frontend requires a controlling tty.)\\\\\\\\ndebconf: falling back to frontend: Teletype\\\\\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\\\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\\\\\n++ get_php_version\\\\\\\\n++ '[' -z '' ']'\\\\\\\\n+++ /usr/bin/cut -c 1,2,3\\\\\\\\n+++ /usr/bin/php -r 'echo PHP_VERSION;'\\\\\\\\n++ _PHPVER=7.0\\\\\\\\n++ echo 7.0\\\\\\\\n+ PhpVer=7.0\\\\\\\\n+ '[' mssql = mysql ']'\\\\\\\\n+ '[' mssql = mssql ']'\\\\\\\\n+ sudo apt-get install -y libapache2-mod-php\\\\\\\\ndebconf: unable to initialize frontend: Dialog\\\\\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\\\\\ndebconf: falling back to frontend: Readline\\\\\\\\ndebconf: unable to initialize frontend: Readline\\\\\\\\ndebconf: (This frontend requires a controlling tty.)\\\\\\\\ndebconf: falling back to frontend: Teletype\\\\\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\\\\\n+ install_php_mssql_driver\\\\\\\\n+ apt-key add -\\\\\\\\n+ /usr/bin/curl https://packages.microsoft.com/keys/microsoft.asc\\\\\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\\\\\n Dload Upload Total Spent Left Speed\\\\\\\\n\\\\\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\\\\\r100 983 100 983 0 0 1488 0 --:--:-- --:--:-- --:--:-- 1489\\\\\\\\n+ /usr/bin/curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list\\\\\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\\\\\n Dload Upload Total Spent Left Speed\\\\\\\\n\\\\\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\\\\\r100 79 100 79 0 0 332 0 --:--:-- --:--:-- --:--:-- 331\\\\\\\\n+ sudo apt-get update\\\\\\\\n+ sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools unixodbc-dev -y\\\\\\\\ndebconf: unable to initialize frontend: Dialog\\\\\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\\\\\ndebconf: falling back to frontend: Readline\\\\\\\\ndebconf: unable to initialize frontend: Readline\\\\\\\\ndebconf: (This frontend requires a controlling tty.)\\\\\\\\ndebconf: falling back to frontend: Teletype\\\\\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\\\\\n+ echo 'export PATH=\\\\\\\\\\\\\\\"$PATH:/opt/mssql-tools/bin\\\\\\\\\\\\\\\"'\\\\\\\\n+ echo 'export PATH=\\\\\\\\\\\\\\\"$PATH:/opt/mssql-tools/bin\\\\\\\\\\\\\\\"'\\\\\\\\n+ source /root/.bashrc\\\\\\\\n++ '[' -z '' ']'\\\\\\\\n++ return\\\\\\\\n++ sed -e 's|.:\\\\\\\\\\\\\\\\s||'\\\\\\\\n++ grep 'Loaded Configuration'\\\\\\\\n++ php --ini\\\\\\\\n+ /usr/bin/pear config-set php_ini /etc/php/7.0/cli/php.ini system\\\\\\\\n+ /usr/bin/pecl install sqlsrv\\\\\\\\n\\\\\\\\\\\\\\\".\\\\\\\"\\\\r\\\\n }\\\\r\\\\n ]\\\\r\\\\n }\\\\r\\\\n}\\\"\\r\\n }\\r\\n ]\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}

+1

Small/Midsize and Large Deployments failing with the below
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"NotFound","message":"{\r\n "error": {\r\n "code": "NotFound",\r\n "message": "Resource /subscriptions/e9cdd77e-46ed-446f-a8d2-eed62887fded/resourceGroups/moodle6-rg/providers/Microsoft.Network/networkInterfaces/|providers|Microsoft.Compute|virtualMachineScaleSets|vmss-ojuxj2|virtualMachines|0|networkInterfaces|vmssnic not found.",\r\n "details": []\r\n }\r\n}"}]}

I cannot reproduce this failure. What region are you deploying to?

West Europe. Let me try with South Central
On Thu, 28 Mar 2019 at 19:03, Ross Gardler<EMAIL_ADDRESS>wrote:

I cannot reproduce this failure. What region are you deploying to?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Azure/Moodle/issues/167#issuecomment-477705861, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGMLLfCH_zlTuGZ-SMyWk-2_MnVO6N8Kks5vbQIKgaJpZM4bSXFY
.

Same issue with Minimal at least
{ "id": "/subscriptions/e9cdd77e-46ed-446f-a8d2-eed62887fded/resourceGroups/moodle7-rg/providers/Microsoft.Resources/deployments/Microsoft.Template/operations/11DA14E2121276B1", "operationId": "11DA14E2121276B1", "properties": { "provisioningOperation": "Create", "provisioningState": "Failed", "timestamp": "2019-03-29T06:38:07.4080989Z", "duration": "PT8M42.8733794S", "trackingId": "944220b5-7a51-461d-b806-d6fc7a5828a9", "serviceRequestId": "ea6d10d7-cbe0-4004-8ae9-0dc4701dacbe", "statusCode": "Conflict", "statusMessage": { "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.", "details": [ { "code": "Conflict", "message": "{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "DeploymentFailed",\r\n "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",\r\n "details": [\r\n {\r\n "code": "Conflict",\r\n "message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"DeploymentFailed\",\r\n \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"Conflict\",\r\n \"message\": \"{\\r\\n \\\"status\\\": \\\"Failed\\\",\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"ResourceDeploymentFailure\\\",\\r\\n \\\"message\\\": \\\"The resource operation completed with terminal provisioning state 'Failed'.\\\",\\r\\n \\\"details\\\": [\\r\\n {\\r\\n \\\"code\\\": \\\"VMExtensionProvisioningError\\\",\\r\\n \\\"message\\\": \\\"VM has reported a failure when processing extension 'install_moodle'. Error message: \\\\\\\"Enable failed: failed to execute command: command terminated with exit status=1\\\\n[stdout]\\\\n\\\\n[stderr]\\\\norce-yes install php php-cli php-curl php-zip\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ sudo apt-get -y update\\\\n+ sudo apt-get install -y --force-yes graphviz aspell php-common php-soap php-json php-redis\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ sudo apt-get install -y --force-yes php-bcmath php-gd php-xmlrpc php-intl php-xml php-bz2 php-pear php-mbstring php-dev mcrypt\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n++ get_php_version\\\\n++ '[' -z '' ']'\\\\n+++ /usr/bin/cut -c 1,2,3\\\\n+++ /usr/bin/php -r 'echo PHP_VERSION;'\\\\n++ _PHPVER=7.0\\\\n++ echo 7.0\\\\n+ PhpVer=7.0\\\\n+ '[' mssql = mysql ']'\\\\n+ '[' mssql = mssql ']'\\\\n+ sudo apt-get install -y libapache2-mod-php\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ install_php_mssql_driver\\\\n+ apt-key add -\\\\n+ /usr/bin/curl https://packages.microsoft.com/keys/microsoft.asc\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\n Dload Upload Total Spent Left Speed\\\\n\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0\\\\r100 983 100 983 0 0 667 0 0:00:01 0:00:01 --:--:-- 667\\\\n+ /usr/bin/curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\n Dload Upload Total Spent Left Speed\\\\n\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r100 79 100 79 0 0 300 0 --:--:-- --:--:-- --:--:-- 301\\\\n+ sudo apt-get update\\\\n+ sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools unixodbc-dev -y\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ echo 'export PATH=\\\\\\\"$PATH:/opt/mssql-tools/bin\\\\\\\"'\\\\n+ echo 'export PATH=\\\\\\\"$PATH:/opt/mssql-tools/bin\\\\\\\"'\\\\n+ source /root/.bashrc\\\\n++ '[' -z '' ']'\\\\n++ return\\\\n++ sed -e 's|.:\\\\\\\\s||'\\\\n++ grep 'Loaded Configuration'\\\\n++ php --ini\\\\n+ /usr/bin/pear config-set php_ini /etc/php/7.0/cli/php.ini system\\\\n+ /usr/bin/pecl install sqlsrv\\\\n\\\\\\\".\\\"\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}" } ] } ] } }, "targetResource": { "id": "/subscriptions/e9cdd77e-46ed-446f-a8d2-eed62887fded/resourceGroups/moodle7-rg/providers/Microsoft.Resources/deployments/mainTemplate", "resourceType": "Microsoft.Resources/deployments", "resourceName": "mainTemplate" }, "request": { "content": { "properties": { "mode": "Incremental", "parameters": { "_artifactsLocation": { "value": "https://raw.githubusercontent.com/Azure/Moodle/master/" }, "_artifactsLocationSasToken": { "value": "" }, "redisDeploySwitch": { "value": false }, "sshPublicKey": { "value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCt3yW5mtiIvAwLry9wpgzPlVBgd52MWj6LL5iXaIExvmXslZfW3U4m4FahGps4wB4N8ZZefwBE669E8pl8eIIBNWCSCcX69KoldhJ/JrP25TfjaR/Vr+SLZqMa7wjJszlv3p+yIvbrBTSW4pw7agnDUlZY0ugaVh1+FPoLugZAJe+TaytCljxEf+EbJrRTSaxuC0ozl5kch6/0VhC/r9SgJrTM0YFsODdkvFhBVTpoJ+AWFiSxj053RiHDYgifaeNRMf7kdg7RLxEosT2PvMA1v0M6nUKo2r5Vw1UP7BeRUr8VT0ePPqFDoX2q6CjZHVtVZmrqqB4aFJag3m7Us6UGweAXNyNcLQDGhaoNWp7s5A23LxQxTO+5mPVd3QyTo+U5EDtu1+0HjYHbEM5PFHhsRxTXVjnnQt4VZBb24MYWo2y8isXccd3MKNktJwUq8jZsEzEfLPgvlEvZ5ZolDjj25DboeIW0S49UQ0Cmz8vLjDBENpUo/VjHYgBzC9mboBqdO4eqICTqoVXTekJDLAMs8yOwT2orrnv1FlgC2hpVWUS5lFuz9najf9+OfkxqGLUgqeyuNnQVyXNsTI1PD4GMdS4l/Np1YKpihajcmsVm25+F7m11LupexSGbxiQBaf72AclgL2oa19PV1FgCHagqSn/Gfy3zw1AhArPrU5NKxQ==" }, "autoscaleVmSku": { "value": "Standard_DS1_v2" }, "enableAccelNwForOtherVmsSwitch": { "value": false }, "dbServerType": { "value": "mssql" }, "fileServerDiskCount": { "value": 2 }, "fileServerDiskSize": { "value": 32 } }, "templateLink": { "uri": "https://raw.githubusercontent.com/Azure/Moodle/master/azuredeploy.json" } } } }, "response": { "content": { "status": "Failed", "error": { "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.", "details": [ { "code": "Conflict", "message": "{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "DeploymentFailed",\r\n "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",\r\n "details": [\r\n {\r\n "code": "Conflict",\r\n "message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"DeploymentFailed\",\r\n \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"Conflict\",\r\n \"message\": \"{\\r\\n \\\"status\\\": \\\"Failed\\\",\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"ResourceDeploymentFailure\\\",\\r\\n \\\"message\\\": \\\"The resource operation completed with terminal provisioning state 'Failed'.\\\",\\r\\n \\\"details\\\": [\\r\\n {\\r\\n \\\"code\\\": \\\"VMExtensionProvisioningError\\\",\\r\\n \\\"message\\\": \\\"VM has reported a failure when processing extension 'install_moodle'. Error message: \\\\\\\"Enable failed: failed to execute command: command terminated with exit status=1\\\\n[stdout]\\\\n\\\\n[stderr]\\\\norce-yes install php php-cli php-curl php-zip\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ sudo apt-get -y update\\\\n+ sudo apt-get install -y --force-yes graphviz aspell php-common php-soap php-json php-redis\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ sudo apt-get install -y --force-yes php-bcmath php-gd php-xmlrpc php-intl php-xml php-bz2 php-pear php-mbstring php-dev mcrypt\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n++ get_php_version\\\\n++ '[' -z '' ']'\\\\n+++ /usr/bin/cut -c 1,2,3\\\\n+++ /usr/bin/php -r 'echo PHP_VERSION;'\\\\n++ _PHPVER=7.0\\\\n++ echo 7.0\\\\n+ PhpVer=7.0\\\\n+ '[' mssql = mysql ']'\\\\n+ '[' mssql = mssql ']'\\\\n+ sudo apt-get install -y libapache2-mod-php\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ install_php_mssql_driver\\\\n+ apt-key add -\\\\n+ /usr/bin/curl https://packages.microsoft.com/keys/microsoft.asc\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\n Dload Upload Total Spent Left Speed\\\\n\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0\\\\r100 983 100 983 0 0 667 0 0:00:01 0:00:01 --:--:-- 667\\\\n+ /usr/bin/curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\n Dload Upload Total Spent Left Speed\\\\n\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r100 79 100 79 0 0 300 0 --:--:-- --:--:-- --:--:-- 301\\\\n+ sudo apt-get update\\\\n+ sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools unixodbc-dev -y\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ echo 'export PATH=\\\\\\\"$PATH:/opt/mssql-tools/bin\\\\\\\"'\\\\n+ echo 'export PATH=\\\\\\\"$PATH:/opt/mssql-tools/bin\\\\\\\"'\\\\n+ source /root/.bashrc\\\\n++ '[' -z '' ']'\\\\n++ return\\\\n++ sed -e 's|.:\\\\\\\\s||'\\\\n++ grep 'Loaded Configuration'\\\\n++ php --ini\\\\n+ /usr/bin/pear config-set php_ini /etc/php/7.0/cli/php.ini system\\\\n+ /usr/bin/pecl install sqlsrv\\\\n\\\\\\\".\\\"\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}" } ] } } } }}

I have reproduced this failure in West EU and am investigating.

Hi! Any update on this? Yesterday we tried to deploy the minimal instance in West Europe and it failed. It seems that some roles that run on the controller VM failed to be installed.
Thanks for the effort!

Hi - any update on this? Facing the same issue while deploying to South East Asia using the smallest instance.
The Small / Mid level template however is failing to deploy the VMSS with a weird error; {"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"NotFound","message":"{\r\n "error": {\r\n "code": "NotFound",\r\n "message": "Resource /subscriptions/bd1b0346-3fb9-4dba-a46b-7818ad514764/resourceGroups/todelta/providers/Microsoft.Network/networkInterfaces/|providers|Microsoft.Compute|virtualMachineScaleSets|vmss-4ldbtn|virtualMachines|0|networkInterfaces|vmssnic not found.",\r\n "details": []\r\n }\r\n}"}]}

Any updates on this? I am also experiencing this on Southeast Asia with the small/mid template

same error for southeast/asia
{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"code": "Conflict",
"message": "{\r\n  "status": "Failed",\r\n  "error": {\r\n    "code": "ResourceDeploymentFailure",\r\n    "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n    "details": [\r\n      {\r\n        "code": "VMExtensionProvisioningError",\r\n        "message": "VM has reported a failure when processing extension 'install_moodle'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=1\n[stdout]\n\n[stderr]\ned, use one of the options starting with --allow instead.\n+ sudo apt-get -y --force-yes install php php-cli php-curl php-zip\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \nW: --force-yes is deprecated, use one of the options starting with --allow instead.\n+ sudo apt-get -y update\n+ sudo apt-get install -y --force-yes graphviz aspell php-common php-soap php-json php-redis\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \nW: --force-yes is deprecated, use one of the options starting with --allow instead.\n+ sudo apt-get install -y --force-yes php-bcmath php-gd php-xmlrpc php-intl php-xml php-bz2 php-pear php-mbstring php-dev mcrypt\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \nW: --force-yes is deprecated, use one of the options starting with --allow instead.\n++ get_php_version\n++ '[' -z '' ']'\n+++ /usr/bin/cut -c 1,2,3\n+++ /usr/bin/php -r 'echo PHP_VERSION;'\n++ _PHPVER=7.0\n++ echo 7.0\n+ PhpVer=7.0\n+ '[' mssql = mysql ']'\n+ '[' mssql = mssql ']'\n+ sudo apt-get install -y libapache2-mod-php\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \n+ install_php_mssql_driver\n+ apt-key add -\n+ /usr/bin/curl https://packages.microsoft.com/keys/microsoft.asc\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   983  100   983    0     0   5296      0 --:--:-- --:--:-- --:--:--  5313\n+ /usr/bin/curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100    79  100    79    0     0   1255      0 --:--:-- --:--:-- --:--:--  1274\n+ sudo apt-get update\n+ sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools unixodbc-dev -y\ndebconf: unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\ndebconf: falling back to frontend: Readline\ndebconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype\ndpkg-preconfigure: unable to re-open stdin: \n+ echo 'export PATH=\"$PATH:/opt/mssql-tools/bin\"'\n+ echo 'export PATH=\"$PATH:/opt/mssql-tools/bin\"'\n+ source /root/.bashrc\n++ '[' -z '' ']'\n++ return\n++ sed -e 's|.:\\s||'\n++ grep 'Loaded Configuration'\n++ php --ini\n+ /usr/bin/pear config-set php_ini /etc/php/7.0/cli/php.ini system\n+ /usr/bin/pecl install sqlsrv\n\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot "\r\n      }\r\n    ]\r\n  }\r\n}"
}
]
}
]
}
}

Same issue with deploying to US West and US East with minimal install. I am now testing for other regions and with other types of install, perhaps the larger ones will work. Not sure why there should be any conflict though. I cleaned up my entire Azure account and there are no resources left over. Started the installation using the Deploy button on Github but still get this error on different resources and not only on the controller.

@UmakanthOS can we have a deeper investigation into this?

Also having the same issue, tried minimal, small and large deployment into Canada East and East US 2 but always failing with the "VM has reported a failure when processing extension 'install_moodle'" message.
The following message occurs when deploying the "controller-vm-ar77sz-ScriptProcessor"
unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)

We replaced the sku to ds2 vm instead of ds1 for  our region southeast asia
and the template was successfuly completed
Noong Mar, Hun 16, 2020, 7:08 PM, isinulat ni perreaultd <
<EMAIL_ADDRESS>ang:

Also having the same issue, tried minimal, small and large deployment into
Canada East and East US 2 but always failing with the "VM has reported a
failure when processing extension 'install_moodle'" message.
The following message occurs when deploying the
"controller-vm-ar77sz-ScriptProcessor"
unable to initialize frontend: Dialog\ndebconf: (Dialog frontend will not
work on a dumb terminal, an emacs shell buffer, or without a controlling
terminal.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Azure/Moodle/issues/167#issuecomment-644696237, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APUS2CH3V443X47Z64GEVR3RW5HEBANCNFSM4G2JOFMA
.

--
*This communication may contain confidential or privileged information,
and is intended solely for the individual or entity to whom it is
originally addressed. Any disclosure, copying, dissemination, or any action
taken in reliance to it by others, other than the intended recipient, is
strictly prohibited. The opinions, conclusions, and statements expressed in
this message are those of the sender and may not necessarily reflect the
views of the Department of Education.
*

After lots of Deploy->Fail->Retry i finally managed to deploy using the fully customizable template (not the 4 ones minimal, small, large, maximal) but i did revert back Moodle to 3.4 stable and chose West US as a datacenter. I am currently deploying another instance in Canada Center because we want it in canada. It seems i can no more try it out into Canada East because my subscription seems to have to many MySql deployment attempt...

Thank you all on your feedback here. Clearly this is not how things are supposed to work. More feedback like this is very helpful to us narrowing down the core problem.

@rgardler For you information, my deployment into Canada Central worked fine. After my successfull deployment i tried it again using the minimal deployment template where i couldnt revert back to Moodle 3.4 and it crashed again with the frontend error message. So i guess people can use the full customizable template without changing anything except moodle version and deployment will succeed

I ran a test deployment of each of the default configurations in the README in EAST US.
The results were as follows:

Minimal: Failed (same error as reported above, full report below)
Small: Succeeded
Large:
HA: Succeeded

So it would seem that there is likely a problem with the configuration of the minmal deployment. However, some users (above) have reported problems with other configurations too.

Opened a new issue before I saw this, sorry. Thanks for looking into it!
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "DeploymentFailed",\r\n "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",\r\n "details": [\r\n {\r\n "code": "Conflict",\r\n "message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"DeploymentFailed\",\r\n \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"Conflict\",\r\n \"message\": \"{\\r\\n \\\"status\\\": \\\"Failed\\\",\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"ResourceDeploymentFailure\\\",\\r\\n \\\"message\\\": \\\"The resource operation completed with terminal provisioning state 'Failed'.\\\",\\r\\n \\\"details\\\": [\\r\\n {\\r\\n \\\"code\\\": \\\"VMExtensionProvisioningError\\\",\\r\\n \\\"message\\\": \\\"VM has reported a failure when processing extension 'install_moodle'. Error message: \\\\\\\"Enable failed: failed to execute command: command terminated with exit status=1\\\\n[stdout]\\\\n\\\\n[stderr]\\\\nacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ sudo apt-get -y update\\\\n+ sudo apt-get install -y --force-yes graphviz aspell php-common php-soap php-json php-redis\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n+ sudo apt-get install -y --force-yes php-bcmath php-gd php-xmlrpc php-intl php-xml php-bz2 php-pear php-mbstring php-dev mcrypt\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nW: --force-yes is deprecated, use one of the options starting with --allow instead.\\\\n++ get_php_version\\\\n++ '[' -z '' ']'\\\\n+++ /usr/bin/cut -c 1,2,3\\\\n+++ /usr/bin/php -r 'echo PHP_VERSION;'\\\\n++ _PHPVER=7.0\\\\n++ echo 7.0\\\\n+ PhpVer=7.0\\\\n+ '[' mssql = mysql ']'\\\\n+ '[' mssql = mssql ']'\\\\n+ sudo apt-get install -y libapache2-mod-php\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ install_php_mssql_driver\\\\n+ apt-key add -\\\\n+ /usr/bin/curl https://packages.microsoft.com/keys/microsoft.asc\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\n Dload Upload Total Spent Left Speed\\\\n\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0\\\\r100 983 100 983 0 0 669 0 0:00:01 0:00:01 --:--:-- 669\\\\n+ /usr/bin/curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list\\\\n % Total % Received % Xferd Average Speed Time Time Time Current\\\\n Dload Upload Total Spent Left Speed\\\\n\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\\\\r100 79 100 79 0 0 82 0 --:--:-- --:--:-- --:--:-- 82\\\\n+ sudo apt-get update\\\\n+ sudo ACCEPT_EULA=Y apt-get install msodbcsql mssql-tools unixodbc-dev -y\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\n+ echo 'export PATH=\\\\\\\"$PATH:/opt/mssql-tools/bin\\\\\\\"'\\\\n+ echo 'export PATH=\\\\\\\"$PATH:/opt/mssql-tools/bin\\\\\\\"'\\\\n+ source /root/.bashrc\\\\n++ '[' -z '' ']'\\\\n++ return\\\\n++ sed -e 's|.:\\\\\\\\s||'\\\\n++ grep 'Loaded Configuration'\\\\n++ php --ini\\\\n+ /usr/bin/pear config-set php_ini /etc/php/7.0/cli/php.ini system\\\\n+ /usr/bin/pecl install sqlsrv\\\\n\\\\\\\"\\\\r\\\\n\\\\r\\\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot \\\"\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}

Minimal deployments have been tested with multiple deployments across EU and US datacenters. This should not be an issue anymore.


[DRAFT] validate

Fixes #TODO
Motivation

Modifications

Verification

Seems like this was superseded by #13159, which itself was made to the wrong location, as it was meant for Atlan's fork.
@tczhao when you close an issue or PR, please make sure to comment on why you did so, so that future readers who stumble upon it understand


PPA 404  Not Found Error

I get the following error while running sudo apt update on Ubuntu 20.10.
It looks like there are some files missing on the PPA?
Err:10 http://ppa.launchpad.net/boltgolt/howdy/ubuntu groovy/main DEP-11 48x48 Icons
  404  Not Found [IP: <IP_ADDRESS> 80]
.
.
.
Reading package lists... Done
E: Failed to fetch http://ppa.launchpad.net/boltgolt/howdy/ubuntu/dists/groovy/main/dep11/icons-48x48.tar  404  Not Found [IP: <IP_ADDRESS> 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Here is the contents of my sources list...
$ cd /etc/apt/sources.list.d
$ cat boltgolt-ubuntu-howdy-groovy.list
deb http://ppa.launchpad.net/boltgolt/howdy/ubuntu/ groovy main
# deb-src http://ppa.launchpad.net/boltgolt/howdy/ubuntu/ groovy main

✓ I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Ubuntu 20.10
Howdy version (sudo howdy version): Howdy 2.6.1

Seems like there are problems with the groovy release, maybe try apt update?


Subnet 9000 Replacement

[x] Replace Subnet with Avalanche L1 in content without replacing commands
[x] Modify files and folder names
[x] Reflect file name changes in the link structure across modified pages
[x] Make sure content like Subnet-EVM is untouched while replacement
[ ] Make sure the context of "Subnet = Set of Validators" is maintained throughout the docs
[ ] Modify redirects to reflect the latest changes

PS: manually update the words wherever a better context is required while making the changes.
also, the remote docs are not updated yet (specifically cross-chain folder atm).

@owenwahlgren can you approve the PR and merge?


Can't build rls with nightly from rustup

If you build the rls using the rustup rust nighty, it will build successfully, but it won't properly set up the rpath.  This causes the resulting rls to fail to run correctly on at least macOS and Windows (and possibly other platforms).

oops, wrong repo


Canonicalize missing directories

realpath does not offer emulation for the equivalent of readlink -m. Running realpath on a non-existent directory returns an empty string.
From http://www.gnu.org/software/coreutils/manual/html_node/readlink-invocation.html#readlink-invocation
‘-m’
‘--canonicalize-missing’
Activate canonicalize mode. If any component is missing or unavailable, readlink treats it as a directory.

Test suite:
http://www.delorie.com/gnu//dl/ftp.gnu.org/coreutils/coreutils-8.2.tar.gz/coreutils-8.2/tests/readlink/can-m

:+1: here, this is what I came here expecting!
Specifically, it'd be nice if the realpath mode (and specifically canonicalize_path) handled missing paths. At the moment, the behaviour is … rather strange:
$ _canonicalize_file_path blah
/current/working/directory/blah
$ _canonicalize_file_path /blah
//blah
$ _canonicalize_file_path /blah/wtf
<erroneous exit code: 1>


Add-ins: Setting up developer environment article

David, you and I had chatted about a version of this at some point, so I drafted one up. I did not add the includes on a couple tutorials/quick starts so we can compare.  Also, this PR also randomly has some edits left over from yesterday's PR bash where I added ''s to descriptions.

Docs Build status updates of commit a504ed8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/set-up-dev-environment-beforehand.md
:white_check_mark:Succeeded

docs/overview/core-concepts-office-add-ins.md
:white_check_mark:Succeeded

docs/overview/explore-with-script-lab.md
:white_check_mark:Succeeded

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded

docs/overview/office-add-ins-fundamentals.md
:white_check_mark:Succeeded

docs/overview/set-up-your-dev-environment.md
:white_check_mark:Succeeded

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-angular.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-jquery.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-react.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-vue.md
:white_check_mark:Succeeded

docs/quickstarts/onenote-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/outlook-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/powerpoint-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/project-quickstart.md
:white_check_mark:Succeeded

docs/reference/objectmodel/requirement-set-1.7/office.context.mailbox.md
:white_check_mark:Succeeded

docs/testing/sideload-office-add-ins-for-testing.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Tagging @AlexJerabek in interest of time. Alex let me know if there is anything on this that needs explanation - David and I had talked about this a while ago, so there might be missing context for you.

Docs Build status updates of commit 3549da9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/set-up-dev-environment-beforehand.md
:white_check_mark:Succeeded

docs/overview/core-concepts-office-add-ins.md
:white_check_mark:Succeeded

docs/overview/explore-with-script-lab.md
:white_check_mark:Succeeded

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded

docs/overview/office-add-ins-fundamentals.md
:white_check_mark:Succeeded

docs/overview/set-up-your-dev-environment.md
:white_check_mark:Succeeded

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-angular.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-jquery.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-react.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-vue.md
:white_check_mark:Succeeded

docs/quickstarts/onenote-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/outlook-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/powerpoint-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/project-quickstart.md
:white_check_mark:Succeeded

docs/testing/sideload-office-add-ins-for-testing.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit a001a37:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/set-up-dev-environment-beforehand.md
:white_check_mark:Succeeded

docs/overview/core-concepts-office-add-ins.md
:white_check_mark:Succeeded

docs/overview/explore-with-script-lab.md
:white_check_mark:Succeeded

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded

docs/overview/office-add-ins-fundamentals.md
:white_check_mark:Succeeded

docs/overview/set-up-your-dev-environment.md
:white_check_mark:Succeeded

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-angular.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-jquery.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-react.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-vue.md
:white_check_mark:Succeeded

docs/quickstarts/onenote-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/outlook-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/powerpoint-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/project-quickstart.md
:white_check_mark:Succeeded

docs/testing/sideload-office-add-ins-for-testing.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit a9d7961:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/set-up-dev-environment-beforehand.md
:white_check_mark:Succeeded

docs/overview/core-concepts-office-add-ins.md
:white_check_mark:Succeeded

docs/overview/explore-with-script-lab.md
:white_check_mark:Succeeded

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded

docs/overview/office-add-ins-fundamentals.md
:white_check_mark:Succeeded

docs/overview/set-up-your-dev-environment.md
:white_check_mark:Succeeded

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-angular.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-jquery.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-react.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-vue.md
:white_check_mark:Succeeded

docs/quickstarts/onenote-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/outlook-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/powerpoint-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/project-quickstart.md
:white_check_mark:Succeeded

docs/testing/sideload-office-add-ins-for-testing.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 2460d47:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/set-up-dev-environment-beforehand.md
:white_check_mark:Succeeded

docs/overview/core-concepts-office-add-ins.md
:white_check_mark:Succeeded

docs/overview/explore-with-script-lab.md
:white_check_mark:Succeeded

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded

docs/overview/office-add-ins-fundamentals.md
:white_check_mark:Succeeded

docs/overview/set-up-your-dev-environment.md
:white_check_mark:Succeeded

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-angular.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-jquery.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-react.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-vue.md
:white_check_mark:Succeeded

docs/quickstarts/onenote-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/outlook-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/powerpoint-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/project-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/word-quickstart.md
:white_check_mark:Succeeded

docs/testing/sideload-office-add-ins-for-testing.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit e28b309:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/set-up-dev-environment-beforehand.md
:white_check_mark:Succeeded

docs/overview/core-concepts-office-add-ins.md
:white_check_mark:Succeeded

docs/overview/explore-with-script-lab.md
:white_check_mark:Succeeded

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded

docs/overview/office-add-ins-fundamentals.md
:white_check_mark:Succeeded

docs/overview/set-up-your-dev-environment.md
:white_check_mark:Succeeded

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-angular.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-jquery.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-react.md
:white_check_mark:Succeeded

docs/quickstarts/excel-quickstart-vue.md
:white_check_mark:Succeeded

docs/quickstarts/onenote-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/outlook-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/powerpoint-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/project-quickstart.md
:white_check_mark:Succeeded

docs/quickstarts/word-quickstart.md
:white_check_mark:Succeeded

docs/testing/sideload-office-add-ins-for-testing.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Access token's data on client-side

Is it possible to access the values inside the token on the client-side? Like JWT do?

Oops never mind got confused about something, :coffee:


Fix/change month wrong date

I changed the branch name and because of that, I needed to create another Pull Request :(.
Original: https://github.com/airblade/stimulus-datepicker/pull/17

Thanks!
I'll do a new release soon.

It's in v1.0.2.

Thanks, @airblade!


[bug] Example code not working - Unexpected error

Lib version: "@stripe/stripe-identity-react-native": "github:stripe/stripe-identity-react-native",
not sure why this doesn't show 0.1.0 when doing npm i @stripe/stripe-identity-react-native
export function IdVerification() {
  const fetchOptions = async () => {
    const response = await createVerificationSession();
    console.log(response);
    return {
      sessionId: response.id,
      ephemeralKeySecret: response.client_secret,
      brandLogo: Image.resolveAssetSource(
        require('<path to logo>'),
      ),
    };
  };

  const {status, present, loading} = useStripeIdentity(fetchOptions);

  console.log(status, present, loading);
  const handlePress = useCallback(async () => {
    try {
      await present();
    } catch (error) {
      console.error(error);
    }
  }, [present]);

  return (
    <View style={{flex: 1, backgroundColor: Colors.background}}>
      <View style={{marginHorizontal: 10, alignItems: 'center'}}>
        <Button
          label="Begin Verification"
          backgroundColor="black"
          style={{marginTop: 20, width: 250}}
          enableShadow
          onPress={() => {
            handlePress();
          }}
        />
      </View>
    </View>
  );
}

whenever I try to start the verification, I see the sheet presented and then the error "There was an unexpected error -- try again in a few seconds". There are no logs Xcode to help diagnose the issue.

I have the same problem... and not sure how to debug it

The problem is that is seems that this library expects an ephemeral key, that is tied to a customer... but the identity verification cannot be tied to a customer. This is where the problem appears I think.
I used to pass client_secret from the verification session but seems that the package wants an ephemeral key.
Is there a clue on how to make that ephemeral key?

Received unknown parameter: verification_session when trying to make an ephemeral key for the verification session.

Hi 👋 thanks for the interest in our react native SDK! It is currently in beta and would require us to add your merchant to work, please send an email to<EMAIL_ADDRESS>with your merchant information and we'll work with you to integrate the SDK.

Close due to inactivity

(async () => {
try {
await present();
} catch (error) {
console.error(error);
}
}, [present]);

Hi, so i'm guessing it passed the beta stage right, because i am facing this error right now on iOS.
And on android the app just crashes with this error "java.lang.IllegalArgumentException: createMdcTheme requires the host context's theme to extend Theme.MaterialComponents" even after i rebuilt my devClient.
Please any advise on how to solve this?

Hi 👋 thanks for the interest in our react native SDK! It is currently in beta and would require us to add your merchant to work, please send an email to<EMAIL_ADDRESS>with your merchant information and we'll work with you to integrate the SDK.

Hi, so i'm guessing it passed the beta stage right, because i am facing this error right now on iOS.
And on android the app just crashes with this error "java.lang.IllegalArgumentException: createMdcTheme requires the host context's theme to extend Theme.MaterialComponents" even after i rebuilt my devClient.
Please any advise on how to solve this?

hi @sleekLancelot, yes now it's public and you don't need to be gated in.
Please try the latest version 0.1.8 and refer to the example app here.
For the Android issue, your app needs to use material theme because material components are used to build native UI, please refer to this section for details.


JSON object model eats up too much memory

A 30MB JSON becomes ~380MB when converted to a ballerina JSON.
Tested the same JSON with fasterxml jackson, and it consumes about ~200MB for their object model.

JSON objects are represented using BMap in runtime. Seems like our locking (BMap is thread safe), and the native-data  (used for records) takes some additional memory.
Removing those two from the BMap reduced the size of the JSON value to ~280MB.

Also tested GSON and it consume ~340MB.

As of the latest ballerina spec and implementation, JSON is same as map, thus internal representations are same as map. Therefore no further JSON-specific optimization can be done.


Update for version 1.59

Would you be so kind as to update autobet for the latest version? I would love to use autobet but unfortunately it doesn't detect my game (Social Club).

There is actually no need for autobet to detect your game (in fact, it can't), as it doesn't interact with the executables in any way.
It just takes screenshots and moves your mouse around accoordingly, so you issue is probably something different.
Would you mind sending me some more information about this issue and some logs?

Thank you for the swift response, it's stuck on initializing, as shown on the screenshot

Unfortunately, I can't send anything except this screenshot, as the zip file on the desktop is empty, and out.log wasn't generated at it's supposed place. Thank you for the assistance!

Uhmm, so, yeah, this is related to the program not starting properly (or rather, the render process throwing some error).
Could you start the program from the command line with the following flag passed --enableDevTools to enable dev tools, then, press CTRL+SHIFT+I to open the devtools and send me the errors printed in there (those should be marked red).
More detailed steps (if you need further instructions)

Open up a command promp (type in cmd in your search bar, press enter)
Change to the directory where your autobet installation (or the shortcut to it) is located using cd, e.g. cd Desktop
Run the program with the devTools flag: autobet.lnk --enableDevTools

Uncaught (in promise) Error: unable to open database file
d45666d5-b617-4d00-a3b3-dff9d7e7d801:1 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'file:///C:/Program%20Files/autobet/resources/app.asar/renderer/out/worker-javascript.js' failed to load.
at blob:file:///d45666d5-b617-4d00-a3b3-dff9d7e7d801:1:1

Is that the only issue? Because that one is actually not a problem. If so, try re-installing the program, that may fix your problem.
You are using the latest version (v1.4.0), right?

I am using 1.4.0 and I've also tried reinstalling. Maybe my gpu doesnt support Vulkan? Its an R7 240.

I don't see why not having vulkan support would be an issue. Also, I've ran autobet on really old hardware (built in 2010 or so), but those were older versions of autobet...You could try installing v1.3.1 but that one will automatically update to v1.4.0 once restarted, so this would only help us see if this is related to v1.4.0. Did you use autobet before update 1.4.0? As 1.4.0 brought new config options, there may be an issue with that

1,3,1 seems to work for me, it detects my game

So the issue is v1.4.0, could you try enabling logging to file (no extended debugging) in v1.3.1, stop the program, wait a few minutes for the update to finish (or just update manually), start up v1.4.0, wait some time, stop that and send me the logs which are stored in YOUR_DOCUMENTS_FOLDER/autobet/autobet.log (The logs are usually written on program exit)

autobet.log
Okay so it is indeed the latest version that is causing the issue, here are the logs

So I don't see a clear issue in there and I am unable to reproduce this bug, maybe try deleting the config folder (YOUR_DOCUMENTS_FOLDER/autobet). Or maybe this is a caching issue with electron. In this case, try deleting the electron directory, which is located in C:\Users\<user>\AppData\Roaming\autobet. If nothing helps, I could offer you an installer of version 1.3.1 with automatic updates disabled.

Actually, my bad, here are the latest log files, after I enabled the log to file option. Could you take a look if this is any different? Thank you so much for the help.
autobet.log
:

Nope, still nothing, I'd suggest trying to delete the cache(s), as there are no signs of errors, which is weird

I've tried deleting both cache folders, unfortunately it didn't bring any success. Could you please make an installer of 1.3.1 without auto updates? Also, is there any difference in the betting algorithm between 1.3.1 and 1.4.0?

I've added the version without automatic updates to the release section of v1.3.1.
And no, there were no changes regarding the betting algorithm in v1.4.0 made, that algorithm is the same since v1.1.0.
v1.4.0 mainly brought UI changes, a better web ui with SSL and (browser) Notification support, support for collecting historic data, plus some configuration options, so nothing, which impacts the profit, generated by this tool.
But anyways, I'm really sorry I couldn't (properly) help you with this issue and I hope that I can find a solution to this, at some point. If you find any new clues, please let me know, maybe we can find something to work with.
Cheers! :)

Thank you so much for your efforts, I'm really grateful for your assistance!


Add Rankings Display

Also makes changes to support:

Navigation page for any further additional screens
Reusable menubar, with prop for custom options on each screen
Automatically go back to the previously used display when reloading the app

TODO:

Clean up console logs
Further testing
Fix CI build/lint issues
Brainstorm additional useful screens (notably a bracket for playoffs. This is probably going to be quite difficult because FMS has really terrible code for bracket displays)


fix compile error in gcc 4.8.5.

I attempted to build cpptrace in a Centos 7 (gcc-c++ 4.8.5) environment using CMake with default parameters and encountered the following compilation errors:
cpptrace/src/symbols/symbols_with_libdwarf.cpp: 47: 24: error: cannot bind 'std::unique_ptr<cpptrace::detail::libdwarf::symbol_resolver>' lvalue to 'std: unique_ptr<cpptrace: detail::libdwarf::symbol_resolver>&&'

return resolver_object;

The code related to this error is:
https://github.com/jeremy-rifkin/cpptrace/blob/06226ee2aa6a615a63af9d73d69e522c10093dd2/src/symbols/symbols_with_libdwarf.cpp#L35-L50
It appears that line 47 transfers ownership of the object to an external entity, but in the aforementioned gcc version, there are errors related to move operations. Therefore, I added this part.
cpptrace/src/symbols/symbols_with_libdwarf. cpp: 64: 17: required from here
/usr/include/c++/4.8.2/bits/stl_iterator.h:963:37: error invalid initialization of reference of type 'std::move_iterator<std::reverse_iterator<__gnu_cxx::__normal_iterator<const cpptrace::stacktrace_frame*, std: vector<cpptrace::stacktrace_frame> >>>::reference aka cpptrace::stacktrace_frame&&' from expression of type 'std::remove_reference<const cpptrace::stacktrace_frame&>::type aka {const cpptrace::stacktrace_frame}'

return std::move(*_M_current);

The code related to this error is:
https://github.com/jeremy-rifkin/cpptrace/blob/06226ee2aa6a615a63af9d73d69e522c10093dd2/src/symbols/symbols_with_libdwarf.cpp#L53-L64
I'm not sure why it doesn't work properly on the aforementioned gcc version, so I changed the approach. At least it passed the compilation.
In summary, I tried to fix these compilation errors, and finally, it seems to be running normally.

Hi, thanks for taking the time to contribute to the project! Gcc 4.8.5 is really old, however I think it's worth supporting for the project. This is unfortunately an annoying gcc 4 bug with improper handling of automatic moves: https://godbolt.org/z/9oWdWjbf8. Unfortunately return std::move(x); will make later gcc upset over the pessimizing move. The best way to workaround this is probably with explicitly constructing the object being returned: return S{std::move(x)}.
The changes to final_trace.insert you proposed will end up copying frames instead of moving which was the intention though that's not possible due to const auto& entry in the loop above. I think if you change it to auto& entry it'll work.

First issue: As you suggested, I added an explicit construction of the return type to avoid compiler warnings.
For the second issue, the const stacktrace_frame& in the comment is actually a result of type deduction. I tried adding std::make_move_iterator as per the above code reference, as follows:
for(auto iter = std::make_move_iterator(entry.inlines.rbegin()); iter != std::make_move_iterator(entry.inlines.rend()); ++iter){
                    auto&& val = *iter;
                    final_trace.emplace_back(val);
}

Finally, the same compilation error occurred at auto& val = *iter;.
https://github.com/jeremy-rifkin/cpptrace/blob/06226ee2aa6a615a63af9d73d69e522c10093dd2/src/symbols/symbols_with_libdwarf.cpp#L53
However, note that the parameter in the function signature is const std::vector<frame_with_inlines>& trace, which is a constant reference, and its members should also not be modifiable/movable. Therefore, I haven't thought of a good way to use move semantics here.

Yeah, the const of the stacktrace_frames there is my mistake. It'd be great to fix that in this PR. Could you try the following and see if gcc 4.8.5 finds it amenable:
        std::vector<stacktrace_frame> flatten_inlines(const std::vector<frame_with_inlines>& trace) {
        std::vector<stacktrace_frame> final_trace;
        for(auto& entry : trace) {
            // most recent call first
            if(!entry.inlines.empty()) {
                // insert in reverse order
                final_trace.insert(
                    final_trace.end(),
                    std::make_move_iterator(entry.inlines.rbegin()),
                    std::make_move_iterator(entry.inlines.rend())
                );
            }
            ...
            ...
        }

I tried the code you provided, but it still fails to compile under version 4.8.5. Notably, the change removes the const qualifier before auto. However, for type deduction of auto & in this context, since it is a reference type, the cv qualifier is not ignored. The final deduced type is still const frame_with_inlines&.

Oh sorry yeah, needs to be flatten_inlines(std::vector<frame_with_inlines>& trace)

I reviewed the related code and found that the function is used only at the following location:
https://github.com/jeremy-rifkin/cpptrace/blob/06226ee2aa6a615a63af9d73d69e522c10093dd2/src/symbols/symbols_with_libdwarf.cpp#L138.
It appears that the cv qualifier can be safely removed from the parameters.


Climate set_hvac mode bug

Home Assistant release with the issue:
97.1 - issue since change to climate component in 96.0
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io under docker, Ubuntu
Component/platform:
https://www.home-assistant.io/components/climate/
https://www.home-assistant.io/components/nest/
Description of problem:
climate.set_hvac_mode does not accept hvac_mode with ' 's generated from template.
will accept
auto
but not
'auto'
similarly, cool but not 'cool'
I am storing previous state and then returning this state at a later time.
When stored, does not have 's.
This also fails directly in service call.
{
"entity_id": "climate.hallway","hvac_mode":"'auto'"
}
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
   - service: climate.set_hvac_mode
      data:
        entity_id: climate.hallway
        hvac_mode: '{{ states.input_text.nest_mode.state }}'

also tried
   - service: climate.set_hvac_mode
      data:
        entity_id: climate.hallway
        hvac_mode: "{{states('input_text.nest_mode')}}"

state of input_text.nest_mode
input_text.nest_mode | cool | min: 0 max: 100 pattern: null mode: text friendly_name: Heating/Cooling Mode
Traceback (if applicable):
Error while executing automation automation.at_home. Invalid data for call_service at pos 5: value is not allowed for dictionary value @ data['hvac_mode']
Failed to call service climate/set_hvac_mode. value is not allowed for dictionary value @ data['hvac_mode']

Additional information:

You must use data_template key in place of data key when using templates in service calls.
https://www.home-assistant.io/docs/automation/templating/#important-template-rules

ty.


Allow non-default organisation tenancy when setting up terraform

Currently, when running setup_terraform.py, it authenticates the user on Azure via the browser, when it does so, it defaults to the organisation's tenancy.
If the user has access to multiple tenancies, and the subscription the user wants to use is under one of the non-default tenancies, the user should be able to define which tenancy to use.
For example, when using BAS email to authenticate Azure, it defaults to the NERC tenancy, giving the following error:
$ ./setup_terraform.py -v -i [[REDACTED]] -s "Polar Forecasting and IceNet applications" -e $ICENET_AZENVIRONMENT -rg rg-icenet-$ICENET_AZENVIRONMENT -sa icenet$ICENET_AZENVIRONMENT -sc blob-icenet-${ICENET_AZENVIRONMENT}-terraform [[REDACTED]] [[REDACTED]]

2024-09-18 17:03:44     INFO: Successfully authenticated using: InteractiveBrowserCredential
Traceback (most recent call last):
  File "/home/bryald/git/icenet/icenet-etl/./simple_setup_terraform.py", line 176, in <module>
    main()
  File "/home/bryald/git/icenet/icenet-etl/./simple_setup_terraform.py", line 172, in main
    subscription_id, tenant_id = get_azure_ids(credential, args.azure_subscription_name)
  File "/home/bryald/git/icenet/icenet-etl/./simple_setup_terraform.py", line 63, in get_azure_ids
    return (subscription_id, tenant_id)
UnboundLocalError: local variable 'subscription_id' referenced before assignment

This is because the subscription I'm looking for is under the Turing tenancy.

maybe this will help
https://bit.ly/3XQLHlH
If you don't have the c compliator, install it.(gcc or clang)


Added mood based movie recommendation api

Description
This change adds the mood based movie recommendation api
Fixes #257
Dependencies
All the dependencies are mentioned in the scripts/Movie_Recommendation_API/requirements.txt file
Future Improvements
This is just the basic. A lot more R&D needs to be done on this.
Screenshots of relevant screens

[x] My PR follows the style guidelines of this project
[x] I have performed a self-check on my work

If changes are made in the code:

[x] I have followed the coding guidelines
[x] My changes in code generate no new warnings
[ ] My changes are breaking another fix/feature of the project
[ ] I have added test cases to show that my feature works
[x] I have added relevant screenshots in my PR

Hi @agnxsh ,
It seems that this PR was excluded in the hacktoberfest official site. Could you tell the reason?


Add lastUpdated field for universe packages.

Inherited from  #2401 Thanks @ishanchandrajoshi
This is the script created with help from @ishanchandrajoshi  :
import json
import subprocess
import os
import os.path
from datetime import datetime

def get_last_updated(filepath):
    out = subprocess.run('git log --format=%aD {} | head -1'.format(filepath), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    time = datetime.strptime(str(out.stdout.decode("utf-8")[:-1]), '%a, %d %b %Y %H:%M:%S %z')
    last_updated_time = (time.timestamp())
    return int(last_updated_time)

def get_all_package_paths(basedir):
    paths = []
    for dirpath, dirnames, filenames in os.walk(basedir):
        for filename in [f for f in filenames if f.endswith("package.json")]:
            paths.append(os.path.join(dirpath, filename))
    return paths

def run_cmd_fetch_stdout(cmd):
    # print("executing {}".format(cmd))
    out = subprocess.run(cmd, shell = True, stdout = subprocess.PIPE, stderr = subprocess.PIPE)
    result = out.stdout.decode("utf-8").rstrip()
    # print("return {}".format(result))
    return result

def main():
    paths = get_all_package_paths(os.getcwd())
    remaining = len(paths)
    for path in paths:
        with open(path, "r+") as f:
            package = json.load(f)
            if float(package.get("packagingVersion")) > 2.0:
                last_updated = get_last_updated(path)
                lines = int(run_cmd_fetch_stdout("echo $(wc -l < {})".format(path)))
                run_cmd_fetch_stdout("gsed -i -e '{}s/$/,/' {}".format(lines - 1, path))
                indent = int(run_cmd_fetch_stdout("detect-indent {} | wc -c".format(path)))
                run_cmd_fetch_stdout("""gsed -i '{}i\{}"lastUpdated": {}' {}""".format(lines, indent * " ", last_updated, path))
                remaining = remaining - 1
                if remaining % 10 == 0:
                    print("updated {}, remaining {}".format(path, remaining))
            else:
                remaining = remaining - 1

if __name__ == "__main__":
    main()

@takirala : does this field has to be set manually when adding/updating packages?

@bamarni yes that is correct.
On Wed, Oct 23, 2019 at 5:03 AM Bilal Amarni<EMAIL_ADDRESS>wrote:

@takirala https://github.com/takirala : does this field has to be set
manually when adding/updating packages?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mesosphere/universe/pull/2414?email_source=notifications&email_token=AARQY44DHIQBYDXKSEY3Z4LQQA4QRA5CNFSM4JBOLNAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECBE2OQ#issuecomment-545410362,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARQY43VEYTQO4D6VFO7EB3QQA4QRANCNFSM4JBOLNAA
.


Support expressions (at least simple ternaries)

Current behavior
Currently, a translation can only directly output a placeholder expression without further manipulation.
Expected behavior
It would be nice to be able to use expressions like "{{ n === 0 ? 'No' : n}} item{{ n ===1 ? '' : 's'}}"
Example: https://stackblitz.com/edit/angular-4q9app
What is the motivation / use case for changing the behavior?
It's a common use case to vary string depending on the number. This is supported by AngularJS/ng-translate, as well as angular-translate.
How do you think that we should implement this?
Best would be, of course, not to focus on ternary expressions only, but simply allow any meaningful parseable expression, e.g. in JS. However, these ternaries make up the most use cases (at least in our apps :-) ).

+1

+1

Found a workaround. This library (ngx-interpolation) seems to work for some additional interpolation cases, at least for Angular 9, as mentioned in it's readme. I haven't tried it with other versions though but it should work. I created a custom parser with it and overwrote the ngx-translate's default parser.
import { Injectable } from '@angular/core';
import { NgxInterpolation } from 'ngx-interpolation';
import { TranslateDefaultParser } from '@ngx-translate/core';

@Injectable()
export class NgxTranslateParser extends TranslateDefaultParser {

    constructor(
        private NgxInterpolation: NgxInterpolation
    ) {
        super();
    }

    public interpolate(expr: string | Function, params?: any): string {
        if (!params || typeof expr === 'function') {
            return super.interpolate(expr, params);
        }

        return this.NgxInterpolation.interpolate(expr, params);
    }
}

And while importing the TranslateModule, provide your custom parser.
@NgModule({
    imports: [
        TranslateModule.forRoot({
            parser: {
                provide: TranslateParser,
                useClass: NgxTranslateParser,
            },
        }),
    ],
})
export class AppModule {}


Cannot edit time values for DatePicker with precision 'minutes'

You cannot directly edit the time values for a DateInput with precision 'minutes'.  The picker will immediately close when you try to type text in the time input.
Note that the arrow keys do work, so there is some level of functionality intact there.
From client report.

Upon inspection, it turns out this is not a focus related issue as I had initially thought.
We have some logic in place to close the popover upon changing the date. When in 'date' mode, this is nice and saves a click to blur the input. However, when there is time precision, this also means the popover closes when either the date or the time part of the value changes. There doesn't seem to be a way to distinguish between changes to the date and changes to the time in the onChange event fired by the DatePicker.
I think we have a couple of solutions:
a) Lose the 'auto-close' behaviour when there is time precision, but keep it when there is just a date. Setting a date with time precision will usually require at least 2 steps, and it's problematic to close the popover between each step. This is compounded by the fact that each keyup on the time precision field also updates the date value.
b) Remove the 'auto-close' behaviour altogether. This means users will always have to click away / lose focus to hide the popover, but may be easier to reason about.

Hi Tom!
Thanks for the detailed analysis.  Let's do options a).  No need for a new option "let's just do the right thing", as you describe.


Update the Navigation link

Fixed the navigation link for question #333 which was not working properly
Format the question #333 to make it look better

Thanks @Harshal2502 for PR:)


Node Core Module Exploration - Cluster

Took a little while,  but finally released, http://bit.ly/2e7RwYM


[Sema] Improving implicit closure capture diagnostic wording

Improve diagnostic wording for implicit closure captures such as async let capture.

Resolves SR-16092.
Fixes #58351

@swift-ci Please test

@kavon Friendly ping for a review =]

@swift-ci Please test

@swift-ci please test and merge

This looks great. Thank you! Apologies for the late review.

No worries @kavon, thanks for the review!

@swift-ci Please test

@swift-ci Please test Windows Platform

@swift-ci Please test MacOS Platform


xz: release tarballs contain a backdoor (CVE-2024-3094)

Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0. Through a series of complex obfuscations, the liblzma build process extracts a prebuilt object file from a disguised test file existing in the source code, which is then used to modify specific functions in the liblzma code. This results in a modified liblzma library that can be used by any software linked against this library, intercepting and modifying the data interaction with this library.
My understanding is that the tarballs Nixpkgs currently downloads from Github are compromised.
References:

https://access.redhat.com/security/cve/CVE-2024-3094
https://www.cve.org/CVERecord?id=CVE-2024-3094
https://nvd.nist.gov/vuln/detail/CVE-2024-3094
https://www.openwall.com/lists/oss-security/2024/03/29/4

Duplicate of #300055.


rsync will be installed from github if both the mirror and default repo is unavailable

I have added an extra conditional statement to download the rsync binary from the Github repo if no other options are available.

Thanks for the PR! I left a few comments/questions.

Hopefully this latest commit fixes any outstanding issues surrounding dependency management. The script now changes the mirror directly to have tce-load manage the dependencies.

@brikis98 I have added logging and the conditional backup and restore of the original tce-load mirror. Thanks

Thanks!

:+1:


Ability to parse multiple flags in sequence

Is there a good way to track the order in which options were provided across multiple flags? e.g. a way of implementing rsync style --exclude '*' --include '*.something' where args need to be processed in the order provided and we can't just stack all the excludes and includes as separate string slices

You can either use function types or a custom type that implements the Marshaler/Unmarshaler interfaces to process the provided arguments as you want (in order).


download.download_dataset() throws [SSL: CERTIFICATE_VERIFY_FAILED] on MAC OS with python 3.6/3.7

When trying to download datasets on MAC OS using python 3.6/3.7, the system throws a [SSL: CERTIFICATE_VERIFY_FAILED].
Apparently the error comes from python 3.6 not being supplied with the now depreciated Apple-supplied OpenSSL library. It now comes with its own copy of OpenSSL 1.0.2, which does not use the MAC OS keychains by default. A quick fix is running the following command in the terminal.
/Applications/Python\ 3.6/Install\ Certificates.command
More info here: stackoverflow/urllib-and-ssl-certificate-verify-failed-error

If the error is thrown, the user will have to delete the corresponding data folder saved in "dataset_dir" (e.g. "user/.danlp/wikiann/"), otherwise the download.download_data(**kwargs) will fail (silently if verbose=false") by skipping the if statement wherein the downloading of the data is called.


Fixed memory leak issue while rendering TextBlockRenderer.

#80
Description
The AccessibilityManager in text block rendere was retaining a strong reference to the TextView even when we navigate away from the current fragment or activity. This was causing a memory leak as the memory associated with the TextView wasn't being properly released.
To fix the issue, a WeakReference to the TextView was introduced. This allows the garbage collector to reclaim memory from the TextView when it is no longer in use, preventing a memory leak. Also, a mechanism to remove the listener when the TextView is no longer in memory or when it is detached from the window was added, ensuring that we don't have any dangling listeners causing unnecessary memory retention.
In addition to this, we've identified another potential memory leak in the following places

DateInputHandler.java
TimeInputHandler.java

The problem arises from the storage of the fragment manager from the application which can potentially cause memory leaks. To mitigate this, the code has been modified to accept the fragment manager as a weak reference. This change will prevent unnecessary memory retention, further enhancing the overall performance of the application
Sample Card
https://adaptivecards.io/explorer/TextBlock.html
How Verified

The fix was first verified by building the library, ensuring that the changes made didn't cause any issues during this process.
Following that, the updated library was integrated into the application and tested. The application functioned as expected, confirming the successful resolution of the memory leak issue.

Fix was merged here: https://github.com/microsoft/Teams-AdaptiveCards-Mobile/pull/271