Cannot use Azure Python SDK

Hello All,
I'm having some difficulty running the azure SDK and am hoping someone here might have a suggestion.
I have started from scratch with a fresh install of Visual Studio 2017 Community and am successful in installing the azure package, but when I try to run a sample that creates a resource group, I get an error that says "Exception User-Unhandled ModuleNotFoundError: No module named 'azure.common'" on this line of code:
from azure.common.credentials import ServicePrincipalCredentials
Also, when I close VS and open it again, all packages that I had installed disappear out of the environment and any pip command after that cause this error:
An unexpected error occurred
Build: 3.0.17114.1
System.InvalidOperationException: Operation cannot be started because the environment is not configured...
I can't clear this any other way but reinstalling VS. I have been able to repeat this over and over.
Any suggestions on how I can get a working installation would be greatly appreciated. Thanks.

Which version of Python is this using, and is it CPython or Anaconda?  Can you post a screenshot that includes your Python Environments window?

@huguesv  When I installed Visual Studio 2017 Community, I chose to install the Python workload which installs CPython version 3.6.0. Not sure how to paste a screenshot into this comment box.

You can paste the bitmap currently in your clipboard by hitting CTRL-V in the comment box.
I created a new VM and installed Community, with Python workload, which installs Python 3.6 (64-bit).
When I install 'azure', it prompts me to elevate, which I accept. Then it fails to install, while processing pywin32-ctypes. I'm not seeing any "environment is not configured..." errors in VS after that though.
----- Installing 'azure' -----
Collecting azure
  Downloading azure-2.0.0-py2.py3-none-any.whl
Collecting azure-datalake-store~=0.0.9 (from azure)
  Downloading azure-datalake-store-0.0.9.tar.gz (47kB)
Collecting azure-mgmt~=1.0.0 (from azure)
  Downloading azure_mgmt-1.0.0-py2.py3-none-any.whl
Collecting azure-storage~=0.34.2 (from azure)
  Downloading azure_storage-0.34.2-py2.py3-none-any.whl (187kB)
Collecting azure-servicebus~=0.21.1 (from azure)
  Downloading azure_servicebus-0.21.1-py2.py3-none-any.whl
Collecting azure-servicemanagement-legacy~=0.20.6 (from azure)
  Downloading azure_servicemanagement_legacy-0.20.6-py2.py3-none-any.whl (78kB)
Collecting azure-batch~=3.0.0 (from azure)
  Downloading azure_batch-3.0.0-py2.py3-none-any.whl (281kB)
Collecting azure-servicefabric~=5.6.130 (from azure)
  Downloading azure_servicefabric-5.6.130-py2.py3-none-any.whl (283kB)
Collecting azure-keyvault~=0.3.3 (from azure)
  Downloading azure_keyvault-0.3.3-py2.py3-none-any.whl (68kB)
Collecting azure-graphrbac~=0.30.0 (from azure)
  Downloading azure_graphrbac-0.30.0-py2.py3-none-any.whl (43kB)
Collecting cffi (from azure-datalake-store~=0.0.9->azure)
  Downloading cffi-1.10.0-cp36-cp36m-win_amd64.whl (160kB)
Collecting adal>=0.4.2 (from azure-datalake-store~=0.0.9->azure)
  Downloading adal-0.4.5-py2.py3-none-any.whl (49kB)
Collecting msrest~=0.4.5 (from azure-datalake-store~=0.0.9->azure)
  Downloading msrest-0.4.8-py2.py3-none-any.whl
Collecting azure-mgmt-logic~=2.1.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_logic-2.1.0-py2.py3-none-any.whl (139kB)
Collecting azure-mgmt-trafficmanager~=0.30.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_trafficmanager-0.30.0-py2.py3-none-any.whl
Collecting azure-mgmt-devtestlabs~=2.0.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_devtestlabs-2.0.0-py2.py3-none-any.whl (182kB)
Collecting azure-mgmt-network~=1.0.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_network-1.0.0-py2.py3-none-any.whl (818kB)
Collecting azure-mgmt-cdn~=0.30.3 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_cdn-0.30.3-py2.py3-none-any.whl (49kB)
Collecting azure-mgmt-redis~=4.1.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_redis-4.1.0-py2.py3-none-any.whl
Collecting azure-mgmt-keyvault~=0.31.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_keyvault-0.31.0-py2.py3-none-any.whl
Collecting azure-mgmt-iothub~=0.2.2 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_iothub-0.2.2-py2.py3-none-any.whl
Collecting azure-mgmt-rdbms~=0.1.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_rdbms-0.1.0-py2.py3-none-any.whl (79kB)
Collecting azure-mgmt-cognitiveservices~=1.0.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_cognitiveservices-1.0.0-py2.py3-none-any.whl
Collecting azure-mgmt-resource~=1.1.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_resource-1.1.0-py2.py3-none-any.whl (301kB)
Collecting azure-mgmt-sql~=0.5.1 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_sql-0.5.1-py2.py3-none-any.whl (85kB)
Collecting azure-mgmt-documentdb~=0.1.3 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_documentdb-0.1.3-py2.py3-none-any.whl
Collecting azure-mgmt-monitor~=0.2.1 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_monitor-0.2.1-py2.py3-none-any.whl (62kB)
Collecting azure-mgmt-compute~=1.0.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_compute-1.0.0-py2.py3-none-any.whl (379kB)
Collecting azure-mgmt-containerregistry~=0.2.1 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_containerregistry-0.2.1-py2.py3-none-any.whl
Collecting azure-mgmt-authorization~=0.30.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_authorization-0.30.0-py2.py3-none-any.whl
Collecting azure-mgmt-web~=0.32.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_web-0.32.0-py2.py3-none-any.whl (257kB)
Collecting azure-mgmt-batch~=4.0.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_batch-4.0.0-py2.py3-none-any.whl
Collecting azure-mgmt-storage~=1.0.0 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_storage-1.0.0-py2.py3-none-any.whl (61kB)
Collecting azure-mgmt-datalake-analytics~=0.1.4 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_datalake_analytics-0.1.4-py2.py3-none-any.whl (113kB)
Collecting azure-mgmt-datalake-store~=0.1.4 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_datalake_store-0.1.4-py2.py3-none-any.whl
Collecting azure-mgmt-scheduler~=1.1.2 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_scheduler-1.1.2-py2.py3-none-any.whl (41kB)
Collecting azure-mgmt-dns~=1.0.1 (from azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_dns-1.0.1-py2.py3-none-any.whl
Collecting cryptography (from azure-storage~=0.34.2->azure)
  Downloading cryptography-1.8.1-cp36-cp36m-win_amd64.whl (1.3MB)
Collecting python-dateutil (from azure-storage~=0.34.2->azure)
  Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB)
Collecting requests (from azure-storage~=0.34.2->azure)
  Downloading requests-2.14.2-py2.py3-none-any.whl (560kB)
Collecting azure-nspkg>=2.0.0 (from azure-storage~=0.34.2->azure)
  Downloading azure_nspkg-2.0.0-py2.py3-none-any.whl
Collecting azure-common>=1.1.5 (from azure-storage~=0.34.2->azure)
  Downloading azure_common-1.1.6-py2.py3-none-any.whl
Collecting msrestazure~=0.4.7 (from azure-batch~=3.0.0->azure)
  Downloading msrestazure-0.4.7-py2.py3-none-any.whl
Collecting pycparser (from cffi->azure-datalake-store~=0.0.9->azure)
  Downloading pycparser-2.17.tar.gz (231kB)
Collecting PyJWT>=1.0.0 (from adal>=0.4.2->azure-datalake-store~=0.0.9->azure)
  Downloading PyJWT-1.5.0-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from msrest~=0.4.5->azure-datalake-store~=0.0.9->azure)
  Downloading certifi-2017.4.17-py2.py3-none-any.whl (375kB)
Collecting isodate>=0.5.4 (from msrest~=0.4.5->azure-datalake-store~=0.0.9->azure)
  Downloading isodate-0.5.4.tar.gz
Collecting requests-oauthlib>=0.5.0 (from msrest~=0.4.5->azure-datalake-store~=0.0.9->azure)
  Downloading requests_oauthlib-0.8.0-py2.py3-none-any.whl
Collecting azure-mgmt-nspkg>=2.0.0 (from azure-mgmt-logic~=2.1.0->azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_nspkg-2.0.0-py2.py3-none-any.whl
Collecting azure-mgmt-datalake-nspkg>=2.0.0 (from azure-mgmt-datalake-analytics~=0.1.4->azure-mgmt~=1.0.0->azure)
  Downloading azure_mgmt_datalake_nspkg-2.0.0-py2.py3-none-any.whl
Collecting idna>=2.1 (from cryptography->azure-storage~=0.34.2->azure)
  Downloading idna-2.5-py2.py3-none-any.whl (55kB)
Collecting six>=1.4.1 (from cryptography->azure-storage~=0.34.2->azure)
  Downloading six-1.10.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=11.3 in c:\program files\python36\lib\site-packages (from cryptography->azure-storage~=0.34.2->azure)
Collecting packaging (from cryptography->azure-storage~=0.34.2->azure)
  Downloading packaging-16.8-py2.py3-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography->azure-storage~=0.34.2->azure)
  Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97kB)
Collecting keyring>=5.6 (from msrestazure~=0.4.7->azure-batch~=3.0.0->azure)
  Downloading keyring-10.3.2-py2.py3-none-any.whl
Collecting oauthlib>=0.6.2 (from requests-oauthlib>=0.5.0->msrest~=0.4.5->azure-datalake-store~=0.0.9->azure)
  Downloading oauthlib-2.0.2.tar.gz (125kB)
Collecting pyparsing (from packaging->cryptography->azure-storage~=0.34.2->azure)
  Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
Collecting pywin32-ctypes; sys_platform == "win32" (from keyring>=5.6->msrestazure~=0.4.7->azure-batch~=3.0.0->azure)
  Downloading pywin32-ctypes-0.1.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\huvalo\AppData\Local\Temp\pip-build-7w4q35bl\pywin32-ctypes\setup.py", line 7, in <module>
        os.path.join(HERE, 'VERSION')).read().strip()
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\huvalo\\AppData\\Local\\Temp\\pip-build-7w4q35bl\\pywin32-ctypes\\VERSION'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\huvalo\AppData\Local\Temp\pip-build-7w4q35bl\pywin32-ctypes\
----- Failed to install 'azure' -----

I filed a bug on the install issue to https://github.com/Azure/msrestazure-for-python/issues/25.
@davidmu1 it doesn't look like that's what you were encountering, though. It may be best to uninstall Python (via VS installer?), cleanup the leftovers from the install dir in c:\program files\python36 and then install it again.
When you install azure, please paste everything you get in the output window.

@huguesv I appreciate the response. I have completely uninstalled and deleted all folders involved with VS and Python several times and get the same condition each time. I am able to successfully install the azure package, but am not able to run code because of azure.common module not being found. Are you able to run code after installing the package? It seems as if the module path isn't being set correctly, but I'm not sure what I would do on my end to prevent that.
This is the output from installing the package:
----- Installing 'azure' -----
Collecting azure
Using cached azure-2.0.0-py2.py3-none-any.whl
Collecting azure-storage~=0.34.2 (from azure)
Using cached azure_storage-0.34.2-py2.py3-none-any.whl
Collecting azure-servicebus~=0.21.1 (from azure)
Using cached azure_servicebus-0.21.1-py2.py3-none-any.whl
Collecting azure-datalake-store~=0.0.9 (from azure)
Using cached azure-datalake-store-0.0.9.tar.gz
Collecting azure-graphrbac~=0.30.0 (from azure)
Using cached azure_graphrbac-0.30.0-py2.py3-none-any.whl
Collecting azure-mgmt~=1.0.0 (from azure)
Using cached azure_mgmt-1.0.0-py2.py3-none-any.whl
Collecting azure-servicefabric~=5.6.130 (from azure)
Using cached azure_servicefabric-5.6.130-py2.py3-none-any.whl
Collecting azure-servicemanagement-legacy~=0.20.6 (from azure)
Using cached azure_servicemanagement_legacy-0.20.6-py2.py3-none-any.whl
Collecting azure-batch~=3.0.0 (from azure)
Using cached azure_batch-3.0.0-py2.py3-none-any.whl
Collecting azure-keyvault~=0.3.3 (from azure)
Using cached azure_keyvault-0.3.3-py2.py3-none-any.whl
Collecting azure-nspkg>=2.0.0 (from azure-storage~=0.34.2->azure)
Using cached azure_nspkg-2.0.0-py2.py3-none-any.whl
Collecting azure-common>=1.1.5 (from azure-storage~=0.34.2->azure)
Using cached azure_common-1.1.6-py2.py3-none-any.whl
Collecting requests (from azure-storage~=0.34.2->azure)
Using cached requests-2.14.2-py2.py3-none-any.whl
Collecting python-dateutil (from azure-storage~=0.34.2->azure)
Using cached python_dateutil-2.6.0-py2.py3-none-any.whl
Collecting cryptography (from azure-storage~=0.34.2->azure)
Downloading cryptography-1.8.2-cp36-cp36m-win_amd64.whl (1.3MB)
Collecting cffi (from azure-datalake-store~=0.0.9->azure)
Using cached cffi-1.10.0-cp36-cp36m-win_amd64.whl
Collecting adal>=0.4.2 (from azure-datalake-store~=0.0.9->azure)
Using cached adal-0.4.5-py2.py3-none-any.whl
Collecting msrest~=0.4.5 (from azure-datalake-store~=0.0.9->azure)
Using cached msrest-0.4.8-py2.py3-none-any.whl
Requirement already satisfied: msrestazure~=0.4.7 in c:\users\davidmu\appdata\roaming\python\python36\site-packages (from azure-graphrbac~=0.30.0->azure)
Collecting azure-mgmt-documentdb~=0.1.3 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_documentdb-0.1.3-py2.py3-none-any.whl
Collecting azure-mgmt-logic~=2.1.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_logic-2.1.0-py2.py3-none-any.whl
Collecting azure-mgmt-dns~=1.0.1 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_dns-1.0.1-py2.py3-none-any.whl
Collecting azure-mgmt-resource~=1.1.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_resource-1.1.0-py2.py3-none-any.whl
Collecting azure-mgmt-network~=1.0.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_network-1.0.0-py2.py3-none-any.whl
Collecting azure-mgmt-monitor~=0.2.1 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_monitor-0.2.1-py2.py3-none-any.whl
Collecting azure-mgmt-sql~=0.5.1 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_sql-0.5.1-py2.py3-none-any.whl
Collecting azure-mgmt-redis~=4.1.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_redis-4.1.0-py2.py3-none-any.whl
Collecting azure-mgmt-iothub~=0.2.2 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_iothub-0.2.2-py2.py3-none-any.whl
Collecting azure-mgmt-devtestlabs~=2.0.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_devtestlabs-2.0.0-py2.py3-none-any.whl
Collecting azure-mgmt-cognitiveservices~=1.0.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_cognitiveservices-1.0.0-py2.py3-none-any.whl
Collecting azure-mgmt-web~=0.32.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_web-0.32.0-py2.py3-none-any.whl
Collecting azure-mgmt-trafficmanager~=0.30.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_trafficmanager-0.30.0-py2.py3-none-any.whl
Collecting azure-mgmt-containerregistry~=0.2.1 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_containerregistry-0.2.1-py2.py3-none-any.whl
Collecting azure-mgmt-batch~=4.0.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_batch-4.0.0-py2.py3-none-any.whl
Collecting azure-mgmt-datalake-store~=0.1.4 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_datalake_store-0.1.4-py2.py3-none-any.whl
Collecting azure-mgmt-cdn~=0.30.3 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_cdn-0.30.3-py2.py3-none-any.whl
Collecting azure-mgmt-storage~=1.0.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_storage-1.0.0-py2.py3-none-any.whl
Collecting azure-mgmt-authorization~=0.30.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_authorization-0.30.0-py2.py3-none-any.whl
Collecting azure-mgmt-datalake-analytics~=0.1.4 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_datalake_analytics-0.1.4-py2.py3-none-any.whl
Collecting azure-mgmt-rdbms~=0.1.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_rdbms-0.1.0-py2.py3-none-any.whl
Collecting azure-mgmt-scheduler~=1.1.2 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_scheduler-1.1.2-py2.py3-none-any.whl
Collecting azure-mgmt-compute~=1.0.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_compute-1.0.0-py2.py3-none-any.whl
Collecting azure-mgmt-keyvault~=0.31.0 (from azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_keyvault-0.31.0-py2.py3-none-any.whl
Requirement already satisfied: six>=1.5 in c:\program files\python36\lib\site-packages (from python-dateutil->azure-storage~=0.34.2->azure)
Collecting idna>=2.1 (from cryptography->azure-storage~=0.34.2->azure)
Using cached idna-2.5-py2.py3-none-any.whl
Requirement already satisfied: packaging in c:\program files\python36\lib\site-packages (from cryptography->azure-storage~=0.34.2->azure)
Requirement already satisfied: setuptools>=11.3 in c:\program files\python36\lib\site-packages (from cryptography->azure-storage~=0.34.2->azure)
Collecting asn1crypto>=0.21.0 (from cryptography->azure-storage~=0.34.2->azure)
Using cached asn1crypto-0.22.0-py2.py3-none-any.whl
Collecting pycparser (from cffi->azure-datalake-store~=0.0.9->azure)
Using cached pycparser-2.17.tar.gz
Collecting PyJWT>=1.0.0 (from adal>=0.4.2->azure-datalake-store~=0.0.9->azure)
Using cached PyJWT-1.5.0-py2.py3-none-any.whl
Collecting requests-oauthlib>=0.5.0 (from msrest~=0.4.5->azure-datalake-store~=0.0.9->azure)
Using cached requests_oauthlib-0.8.0-py2.py3-none-any.whl
Collecting isodate>=0.5.4 (from msrest~=0.4.5->azure-datalake-store~=0.0.9->azure)
Using cached isodate-0.5.4.tar.gz
Collecting certifi>=2017.4.17 (from msrest~=0.4.5->azure-datalake-store~=0.0.9->azure)
Using cached certifi-2017.4.17-py2.py3-none-any.whl
Collecting keyring>=5.6 (from msrestazure~=0.4.7->azure-graphrbac~=0.30.0->azure)
Using cached keyring-10.3.2-py2.py3-none-any.whl
Collecting azure-mgmt-nspkg>=2.0.0 (from azure-mgmt-documentdb~=0.1.3->azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_nspkg-2.0.0-py2.py3-none-any.whl
Collecting azure-mgmt-datalake-nspkg>=2.0.0 (from azure-mgmt-datalake-store~=0.1.4->azure-mgmt~=1.0.0->azure)
Using cached azure_mgmt_datalake_nspkg-2.0.0-py2.py3-none-any.whl
Requirement already satisfied: pyparsing in c:\program files\python36\lib\site-packages (from packaging->cryptography->azure-storage~=0.34.2->azure)
Requirement already satisfied: appdirs>=1.4.0 in c:\program files\python36\lib\site-packages (from setuptools>=11.3->cryptography->azure-storage~=0.34.2->azure)
Collecting oauthlib>=0.6.2 (from requests-oauthlib>=0.5.0->msrest~=0.4.5->azure-datalake-store~=0.0.9->azure)
Using cached oauthlib-2.0.2.tar.gz
Collecting pywin32-ctypes; sys_platform == "win32" (from keyring>=5.6->msrestazure~=0.4.7->azure-graphrbac~=0.30.0->azure)
Downloading pywin32-ctypes-0.1.1.tar.gz
Installing collected packages: azure-nspkg, azure-common, requests, python-dateutil, idna, pycparser, cffi, asn1crypto, cryptography, azure-storage, azure-servicebus, PyJWT, adal, oauthlib, requests-oauthlib, isodate, certifi, msrest, azure-datalake-store, azure-graphrbac, azure-mgmt-nspkg, azure-mgmt-documentdb, azure-mgmt-logic, azure-mgmt-dns, azure-mgmt-resource, azure-mgmt-network, azure-mgmt-monitor, azure-mgmt-sql, azure-mgmt-redis, azure-mgmt-iothub, azure-mgmt-devtestlabs, azure-mgmt-cognitiveservices, azure-mgmt-web, azure-mgmt-trafficmanager, azure-mgmt-containerregistry, azure-mgmt-batch, azure-mgmt-datalake-nspkg, azure-mgmt-datalake-store, azure-mgmt-cdn, azure-mgmt-storage, azure-mgmt-authorization, azure-mgmt-datalake-analytics, azure-mgmt-rdbms, azure-mgmt-scheduler, azure-mgmt-compute, azure-mgmt-keyvault, azure-mgmt, azure-servicefabric, azure-servicemanagement-legacy, azure-batch, azure-keyvault, azure, pywin32-ctypes, keyring
Running setup.py install for pycparser: started
Running setup.py install for pycparser: finished with status 'done'
Running setup.py install for oauthlib: started
Running setup.py install for oauthlib: finished with status 'done'
Running setup.py install for isodate: started
Running setup.py install for isodate: finished with status 'done'
Running setup.py install for azure-datalake-store: started
Running setup.py install for azure-datalake-store: finished with status 'done'
Running setup.py install for pywin32-ctypes: started
Running setup.py install for pywin32-ctypes: finished with status 'done'
Successfully installed PyJWT-1.5.0 adal-0.4.5 asn1crypto-0.22.0 azure-2.0.0 azure-batch-3.0.0 azure-common-1.1.6 azure-datalake-store-0.0.9 azure-graphrbac-0.30.0 azure-keyvault-0.3.3 azure-mgmt-1.0.0 azure-mgmt-authorization-0.30.0 azure-mgmt-batch-4.0.0 azure-mgmt-cdn-0.30.3 azure-mgmt-cognitiveservices-1.0.0 azure-mgmt-compute-1.0.0 azure-mgmt-containerregistry-0.2.1 azure-mgmt-datalake-analytics-0.1.4 azure-mgmt-datalake-nspkg-2.0.0 azure-mgmt-datalake-store-0.1.4 azure-mgmt-devtestlabs-2.0.0 azure-mgmt-dns-1.0.1 azure-mgmt-documentdb-0.1.3 azure-mgmt-iothub-0.2.2 azure-mgmt-keyvault-0.31.0 azure-mgmt-logic-2.1.0 azure-mgmt-monitor-0.2.1 azure-mgmt-network-1.0.0 azure-mgmt-nspkg-2.0.0 azure-mgmt-rdbms-0.1.0 azure-mgmt-redis-4.1.0 azure-mgmt-resource-1.1.0 azure-mgmt-scheduler-1.1.2 azure-mgmt-sql-0.5.1 azure-mgmt-storage-1.0.0 azure-mgmt-trafficmanager-0.30.0 azure-mgmt-web-0.32.0 azure-nspkg-2.0.0 azure-servicebus-0.21.1 azure-servicefabric-5.6.130 azure-servicemanagement-legacy-0.20.6 azure-storage-0.34.2 certifi-2017.4.17 cffi-1.10.0 cryptography-1.8.2 idna-2.5 isodate-0.5.4 keyring-10.3.2 msrest-0.4.8 oauthlib-2.0.2 pycparser-2.17 python-dateutil-2.6.0 pywin32-ctypes-0.1.1 requests-2.14.2 requests-oauthlib-0.8.0
----- Successfully installed 'azure' -----
Here is the code that I'm trying to run (removed ad tenant and subscription information), the azure.common not found error is flagged on the first line of code:
from azure.common.credentials import ServicePrincipalCredentials
from azure.mgmt.resource import ResourceManagementClient
SUBSCRIPTION_ID = ''
GROUP_NAME = 'myResourceGroup'
def get_credentials():
credentials = ServicePrincipalCredentials(
client_id = '',
secret = '',
tenant = ''
)
return credentials
def create_resource_group(credentials, resource_group_client):
resource_group_params = {
'location':LOCATION
}
resource_group_creation = resource_group_client.resource_groups.create_or_update(
GROUP_NAME,
resource_group_params
)
if name == "main":
credentials = get_credentials()
resource_group_client = ResourceManagementClient(
    credentials,
    SUBSCRIPTION_ID
)

create_resource_group(
    credentials,
    resource_group_client
)
input('The resource group was created. Press enter to continue...')

Thanks,
David

We might need @lmazuel to look at this one. He just updated the Azure SDK release, and so it's possible something changed really recently.

I was able to import azure.common just fine after I worked around the installation bug (by installing an older version of keyring first before installing azure).

I don't see any issues with importing, but a run time error occurs saying the module can't be found.

The code is definitely correct, I see no reason for an issue. :( Do you have an actual stacktrace in a console?
Side note: keyring is fixed, it was "one day bug" on PyPI

@lmazuel Nothing appearing in the console. Here is what I get when I drill down in the Exception User-Unhandled popup window:

 __exception_info	{'exception': ModuleNotFoundError(...common'",), 'exception_type': <class 'ModuleNotFoundError'>, 'message': "No module named 'az...e.common'"}	dict

  items()

  [0]	('exception', ModuleNotFoundError(...common'",))	tuple
  [0]	'exception'	str

  [1]	ModuleNotFoundError("No module named 'azure.common'",)	ModuleNotFoundError

  args	("No module named 'az...e.common'",)	tuple
  [0]	"No module named 'azure.common'"	str
  msg	"No module named 'azure.common'"	str
  name	'azure.common'	str
  path	None	NoneType

  [1]	('exception_type', <class 'ModuleNotFoundError'>)	tuple

  [2]	('message', "No module named 'az...e.common'")	tuple

  ['exception']	ModuleNotFoundError("No module named 'azure.common'",)	ModuleNotFoundError

  args	("No module named 'az...e.common'",)	tuple
  [0]	"No module named 'azure.common'"	str
  msg	"No module named 'azure.common'"	str
  name	'azure.common'	str
  path	None	NoneType

  ['exception_type']	<class 'ModuleNotFoundError'>	type
  args	<attribute 'args' of 'BaseException' objects>	getset_descriptor
  msg	<member 'msg' of 'ImportError' objects>	member_descriptor
  name	<member 'name' of 'ImportError' objects>	member_descriptor
  path	<member 'path' of 'ImportError' objects>	member_descriptor
  with_traceback	<method 'with_traceback' of 'BaseException' objects>	method_descriptor
  ['message']	"No module named 'azure.common'"	str

Luckily, the ModuleNotFoundError has a very specific meaning - the azure/common directory could not be found.
Could you attach a directory listing of your virtual environment/site-packages folder?

Directory: C:\program files\python36\lib\site-packages\azure

Mode                LastWriteTime         Length Name

d-----        5/26/2017   8:43 AM                batch
d-----        5/26/2017   8:39 AM                common
d-----        5/26/2017   8:40 AM                datalake
d-----        5/26/2017   8:40 AM                graphrbac
d-----        5/26/2017   8:43 AM                keyvault
d-----        5/26/2017   8:42 AM                mgmt
d-----        5/26/2017   8:40 AM                servicebus
d-----        5/26/2017   8:42 AM                servicefabric
d-----        5/26/2017   8:42 AM                servicemanagement
d-----        5/26/2017   8:40 AM                storage
d-----        5/26/2017   8:39 AM                pycache
-a----        5/26/2017   8:37 AM              3 init.py

Did you by any chance name your test program azure.py ?

Laurent was able to help me solve the problem. Being new to Python in Visual Studio, I didn't realize that I needed to create a virtual environment first and install the azure package there. All working now. Thanks for the help all!


Add RST Linter (DOCtor-RST) to the CI config

Q
A

Bug fix?
no

New feature?
no

Tickets

License
MIT

Symfony Docs use it, would be great to reuse it here as well
TODO

[x] Add more rules

Seems it was pretty useful looking at the changes diff :)

More automation to mess up less stuff - love it - thank you Victor!


Move J8 HelloWorld to first

Move appengine-helloworld to first
Remove module from pom.xml where intellij was helping

@dpebot merge on green


chore: Update domain in Backstage catalog

This pull request introduces updates to the Backstage catalog-info.yaml file to ensure the repository's metadata is current and accurate.
Summary of Changes

Updated the repository description in catalog-info.yaml.
Added a workflow to check the correctness of the catalog-info.yaml file.

Actions Required

Review and Confirm Data: Please verify the accuracy and completeness of the changes made to the catalog-info.yaml file.
Provide Correct Description: Ensure that the repository description in the catalog-info.yaml file is accurate and up-to-date.
Repository Archival: If you determine that this repository is no longer needed, please archive it or contact devops to do it for you.

Your timely review and action on these points will help maintain the integrity and organization of our project repositories.
Thank you!

@MaxymVlasov there is no such domain like open-source

@JacekPietrasSpotOn would be nice to have a list of domains them, and who part of which domain

@MaxymVlasov
There are sadly multiple sources of truth:

https://docs.google.com/spreadsheets/d/1dZTg_ckbSZ0EmoM5FNV0vZkwvNwFKTD_5SCrnez1ld4/edit#gid=2099335506
in this document on other sheets there are people

you can also check it in charthop:
https://app.charthop.com/spoton/sheet?columns=name%2Cdomain%2Csubdomain&sort=name&total=sum&filter=name%3A"Maciej Marzęta"

better diagrams are available there:
https://lucid.app/lucidchart/f68922e0-72b3-49f5-8036-04d41b08d380/edit?invitationId=inv_358d5776-bcaa-40cb-af60-09014bd64c09&referringApp=slack&page=oE.mxJ6M4ONv#


chore: run with vite ⚡

⚠ will break ⚠
Overview
I was in search of a simple and flexible drawer component that would be easy to use. After exploring various options, I came across this fantastic project. However, I encountered some challenges with modern repositories using Vite, so I decided to migrate this project to ensure compatibility with Vite.
Key Enhancements

TailwindCSS Support: I added support for classNames, making it easier to integrate with TailwindCSS for styling.
React Portals: Instead of rendering the component within the React tree node, I implemented support for React Portals, allowing the drawer to be rendered outside of the React tree.

These actions + some other small stuff, enhance flexibility and improves layout management.
Running the Project Locally
To run this project locally, follow these steps:
Clone the repository.
Install the required packages by running:
yarn

Start the development server with:
yarn dev

To create a production build with ES module support, use:
yarn build

Thanks Reza for you PR,
I will check it in a few days as I'm busy right now.
Your work is appreciated 😄🙏.


Add basic support for copying cells and rows

This plugin is wonderful!
It would be great to be able to highlight and copy/paste the output from the AgGrid to other programs.
It looks like the fancy cell highlighting, copying, and exporting controls are locked down to ag-grid-enterprise. Example of what I mean here: https://plnkr.co/edit/lM3OtCQxpJdapHQt?preview
I did a little bit of digging on this and found these options (https://www.ag-grid.com/angular-data-grid/cell-text-selection/) which do work.
However, they really only work well for copying one cell at a time. Selecting and copying in to a spreadsheet was ugly.
So I found a couple more options:

Setting editable: true on the columns allows double-clicking to highlight the whole cell, and then I can copy paste individual cells fine.
Using the gridApi, you can fetch selected rows and headers. I've added some buttons to copy that data to the clipboard.

This should be considered a draft or suggestion. I've never worked with React before and I feel this could be implemented better.
For one, I think the controls I added would probably look better in the top left of the table, rather than underneath it.
And two, the settings could be tied in with React's state management, rather than getElementById etc.
I started trying to implement these controls more properly in TableControls.tsx, but realized pretty quickly that I don't know React enough to know how to call the gridApi from there.
I didn't want to sink too much time learning the proper way of doing things without seeing if this sort of feature was something you might want.
Please let me know what you think and I'd be happy to brush this up.

Some other ideas I have:

Bind keyboard shortcuts like Ctrl+A and Ctrl+C.
A setting to copy NULL values as either "NULL" or "".
A setting to toggle pagination on and off.

fantastic idea! and Im also really happy that you thought enough of the project to contribute. Thank you.
I will grab some time after work this week to checkout your branch and play with this idea.
I could definitely see value in al 3 of these potential scenarios:

export / copy the entire result set regardless of pagination / selections
export / copy individually selected rows / a page of rows
the ability to copy and single cell value easily

Lets see what we can do. Im also not super married to the AgGrid if there is a better replacement we could explore that path too. I had mostly picked AgGrid because it seemed pretty robust for how easy it was to integrate.
Thanks again, Ill respond back after ive had some time to tinker with this.

Hey there,
Sorry for the delay on this, but I took look at your PR and tinkered a bit with the AG Grid and I have merged some changes that implement the following

the ability to multi select rows within the ag grid
once a non-zero number of rows are selected the user can export or copy the rows to their clipboard
the export / copy action can optionally include the header row or not
supported formats include, CSV, TAB and JSON for now.

When you get some time, give it a test drive and let me know what you think. Im definitely open to other suggestions.
Here is a screenshot of the new options:

~Nick

This works perfect for me! Thank you so much!


Add support for base 4.16

Can this be merged and a new release made on hackage so we can build flat against ghc-9.2?


Sticker size limiter

I'm trying to make the sticker smaller but can't find where is the
variable that set the minimum size. Any help?
Thanks for your work!

I'm also looking for that

The variable is in MultiTouchListener.java just edit the minimumScale value for another lower number.
//implementation 'ja.burhanrashid52:photoeditor:0.4.0'
implementation project(':photoeditor')


Change breakpoint of docs' .nav-link from SM to XS

PR fix mobile state (544px - 767px) of v4-alpha website header
Before header state (544px):

Before header state, when user open/close mobile menu by button (on screen less than 544px) & then rotate device screen to horizontal mode (that more than 544px):

And after PR it will be (544px):

Duplicate of #18729.


Better error message for typed deps from a TOML file.

put this in your version catalog TOML:
test-containers = { module = "org.testcontainers:testcontainers", version.ref = "testContainers" }
test-containers-junit = { module= "org.testcontainers:junit-jupiter", version.ref="testContainers" }

Expected Behavior
Error message with more detail and a suggested remediation.
org.gradle.api.InvalidUserDataException: Cannot generate accessors for test because it contains both aliases and groups of the same name: [containers]
> Cannot generate accessors for test because it contains both aliases and groups of the same name: [containers]
[test-containers] conflicts with [test-containers-junit], add a suffix to [test-containers] to avoid this issue.
E.g. change [test-containers] to [test-containers-mysuffix]

Current Behavior
you will get this error:
org.gradle.api.InvalidUserDataException: Cannot generate accessors for test because it contains both aliases and groups of the same name: [containers]
> Cannot generate accessors for test because it contains both aliases and groups of the same name: [containers]

I just ran into the same issue:
commons-logging = { module = "commons-logging:commons-logging", version = "1.1.1"}
commons-logging-api = { module = "commons-logging:commons-logging-api", version = "1.1.1"}
> Cannot generate accessors for commons because it contains both aliases and groups of the same name: [logging]

I do not understand why having these, seemingly unique, alias names leads to conflicting accessors being generated, and why in this case it's "logging".
I predict that the users will run into this issue a lot, and it will be confusing to them. Having a better error message is one thing, bu the algorithm itself seems to be confusing.

I would like to push for this to go even further, and actually allow this sort of declaration. Adding a suffix is okay, but it makes the name of the alias and the name of the module differ, which is a little annoying. I know that this has already been considered, but I want to make sure that it is revisited at some point to try and get it working.


[Bug]: Code Blocks no longer work with typedoc 0.23.28

Plugin
@knodes/typedoc-plugin-code-blocks
Typedoc plugin(s) version(s)
<EMAIL_ADDRESS>Typedoc version
0.23.28
Describe the problem
TypeDoc can't expand code blocks anymore. Instead, when I run typedoc, I get an error repeated many times (once for each @codeblock):

error [@knodes/typedoc-plugin-code-blocks]: MarkdownCodeBlocks ⇒ In "FILE/PATH.md:r:c (in expansion of @codeblock)", failed to render code block from PAGE NAME: TypeError: Cannot read properties of undefined (reading 'GitHub').

The docs do build, but none of the @codeblocks are expanded and just appear in the docs as plain text.
I think the problem is that the plugin imports RepositoryType from typedoc, but typedoc no longer exports such a member… This is just a guess, however, and I'm struggling to find an older version of Typedoc that does export RepositoryType…
What did you expected ?
I was expecting the @codeblocks to be expanded correctly in the docs, as was the case with older versions.
I did consider using an older version to get this to work, but then I end up unable to use kindSortOrder, navigationLinks and sidebarLinks and I can't find a combination of versions for this plugin and TypeDoc where everything work correctly…

Confirmed, a fix is in progress.

Indeed, this export was removed since 0.23.16. Update PR is open

Please try out the version 0.23.2 and tell me if it works ! Cheers !

Yes, everything is back to normal and I can now have the sidebar and navigation links as well as working code blocks!
Thank you very much for this :)


Laravel 5.6 Support

Is there any plan to add support for Laravel 5.6 for this package?

Added #18 for this


Patch URLs not working.

Hi, it appears the patch URLs are no longer responding. I'm guessing this is some sort of image box change?

Spot checked a few of the links and they appear to work for me.
Can you link a few that you have issues with?

Hmm you appear to be right, I'm able to access on my phone. Looks like it's something locally! I should have checked that first, my apologies!


TimePicker

This issue was imported from Closure Library's previous home at http://closure-library.googlecode.com
The link to the original issue is:
https://code.google.com/p/closure-library/issues/detail?id=238

UI is maintenance, no new features

Is there any update about a time picker?
I really need one for the google blockly project.


Updated Evidently info Observability

Updated Evidently description in the Observability list
Signed-off-by: Dasha Maliugina<EMAIL_ADDRESS>

Thank you for your contribution!


Error when trying to use

Hey there,
When I try to use the urlEncodedString piece of the String extension in the swift3 branch, I get the error Abstract class Foundation._SwiftNSCharacterSet does not implement method mutableCopyWithZone:; it must be implemented in subclasses.

That's a known problem with Swift 3 right now. Currently, Foundation.CharacterSet will break when you try to remove characters from the CharacterSet. It is not a bug with Swifter, and should be resolved when Swift 3 beta is updated down the line. You can read more about it on rdar://26880260.
Since it is not a Swifter bug, the only solution is to wait for Apple to fix Foundation.CharacterSet.

The latest Swift betas have fixed this. I am now closing this issue.


[enhancement]: Xcode@5 to not add the -worskpace parameter by default

Task name
Xcode@5
Describe your feature request here
When testing Swift packages, it can be done using xcodebuild as if the Package.swift was an .xcodeproj, without specifying any workspace or project. The Xcode@5 is adding the -workspace argument with a default value, which makes impossible to use the task for testing packages.
It would be nice to have a way to disable it, or just avoid setting it by default, and forcing the user to specify either the workspace or the project (if needed).

Hi @borjasantos-diez thanks for reporting! We are working on more prioritized issues at the moment but will get back to this one soon.

Any ETA for this?


Make Navbar Menu Relatively Positioned Instead of Absolutely Positioned

What
Make the dropdown menu in layout_super_navigation_header relatively positioned instead of absolutely positioned.
More details

Restructure the HTML to support this change and remove classes/rules that are no longer used. Remove the margin addition from layout-super-navigation-header.js.

Move the buttons and links into a container which is absolutely positioned. This button container has a parent container that is the same width of the page content
Move the menus outside of the button container into their own containers.
Change the menus to be relatively positioned instead of absolutely positioned
Remove the unneeded rules and classes now that the menus are relatively positioned instead of absolutely positioned

Remove the resize listener

Why
In the previous implementation of the navbar, the absolute positioning was required for mobile layout. In this current implementation however we can make the positioning of the navbar relative without affecting the page layout. On live currently when the navbar is opened, a margin of the height of the navbar is added to the bottom of the layout_super_navigation_header to push the content of the page down below the menu. This basically simulates what the styling would be if the menu was relatively positioned anyway. This was a change I would have made with the other navbar changes (https://github.com/alphagov/govuk_publishing_components/pull/3058) but due to time constraints it was decided to split this work out.
Aside from the absolute positioning not being necessary anymore there are issues that these changes fix:

the padding on either side of the navbar on some tablet viewport sizes being incorrect
the padding of the search menu on tablet viewports being incorrect
when CSS is disabled, there is no longer excess margin between the navbar and the content of the page
restores the bottom border to the search menu

And also means we no longer need to keep listening out for resize events to make sure the layout of the menu is correct.
Relevant Trello Cards

https://trello.com/c/os3bpX19/188-navbar-pushes-down-page-content-if-javascript-is-enabled-and-the-stylesheet-fails-to-load
https://trello.com/c/RC9CYHtm/1573-navbar-has-some-layout-issues-on-android-devices-s

Relevant Issues

https://github.com/alphagov/govuk_publishing_components/issues/3194
https://github.com/alphagov/govuk_publishing_components/issues/3192
https://github.com/alphagov/govuk_publishing_components/issues/3087

Visual Changes
With Styles Turned On, Tablet Viewport
Before

After

With Styles Turned Off
Before

After

Will squash the HTML commits, they are separated for clarity.

Thanks for addressing my comments @patrickpatrickpatrick 👍
@MartinJJones Would you be okay to check if the bugs you raised on the navbar recently are fixed by this PR?

Nice work!, @hannalaakso will take a look at this today and check if the navbar bugs are fixed by this change as well

Nice work on this, I tested the changes locally and this PR will fix the related issues 👍
After checking Percy, I noticed a couple of things that could be worth further investigation.
Menu and search buttons overlap when the viewport width is <769px

Change to the flow of menu items
The visual change shown in Percy looks good to me, in that all menu items will now appear on the same line.
However, we may run into some accessibility/usability issues for users who Zoom in. The screenshot below shows an example of the menu bar zoomed in to 300% (based on the govuk accessibility statement)

It is also worth noting that there appears to be existing accessibility/usability issues with the current menu bar, which this PR also fixes, although not directly in the scope of the changes required.

Before
After

when zoomed in 300% on the live site, and you click the Menu button, you can no longer click the Menu button again as it is hidden behind "Topics"
With the changes in this PR, the Menu button is always visible:

@patrickpatrickpatrick @hannalaakso The changes look good to me, I've also approved the 2 visual regression test flagged in Percy.
The issues I reported are fixed, I tested the new menu layout in the latest versions of Chrome, Firefox and Safari, and also tested on IE11 in Browserstack which all worked great 👍
I've not tested the changes using any AssistiveTechnologies however, so I've held off approving the PR just in case you still need to do more testing.


Allow modifying dataset zarr-dir if there is no image yet

ref https://github.com/fractal-analytics-platform/fractal-web/issues/441#issuecomment-2051225917

When is the zarr_dir something the user can modify?
My first-level take-away: Before there are any entries in the image list, it can be modified. Afterwards, it's not something the user can change anymore

At least in fractal server 2.0.0a4, I can still modify it after creation, even if there are images in the image list already.
(have not tested 2.0.0a5 yet though!)

At least in fractal server 2.0.0a4, I can still modify it after creation, even if there are images in the image list already.
(have not tested 2.0.0a5 yet though!)

This is part of an open PR (https://github.com/fractal-analytics-platform/fractal-server/pull/1367), where we forbid modifying zarr-dir. We will update the PR based on this new issue.


linux-tegra_5.10.bb: fix sign_bootimg

This matches the behavior in classes/image_types_cboot.bbclass whereby the signed kernel image is copied over the top of the original unsigned kernel image.

Thanks @Lexmark-chad ... give me a couple of days, as I think there are other spots that might need similar fixes, and I'd like to have those ready to go in around the same time this gets merged.


Failed to resolve component: PDF

[Vue warn]: Failed to resolve component: PDF
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
  at <CourseContent key=0 chapters= {is_loading: true, list: Array(0)} course-enrolled=true >
  at <CourseViewPage id="master-laravel-for-beginners" onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy(Object) {check_course_enrolled: ƒ, get_course_details: ƒ, get_course_lessons: ƒ, get_related_courses: ƒ, …} > >
  at <RouterView>
  at <CoursesPage onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy(Object) {…} > >
  at <RouterView>
  at <App>

to fix your trouble check this solution click
maybe this will solve your problem.


DNS error httpx.ConnectError: [Errno -3] Temporary failure in name resolution while executing Agent

i am using NLSQLTableQueryEngine and QueryEngineTool  when the orchestrator assigns task to sql agent error :
httpx.ConnectError: [Errno -3] Temporary failure in name resolution
SQL_query_engine = NLSQLTableQueryEngine(
    sql_database=sql_database
)

query_engine_tools = QueryEngineTool(
        query_engine=SQL_query_engine,
        metadata=ToolMetadata(
            name="sql",
            description=(
                "sql query agent: genrates sql from natural language and executes sql query on the connected database"
                "Use a detailed plain text question as input to the tool."
            ),
        ),
    )

# create our multi-agent framework components
message_queue = SimpleMessageQueue(port=8025)
tool_service = ToolService(
    message_queue=message_queue,
    tools=[query_engine_tools],
    running=True,
    step_interval=0.5,
    port=8026,
)

control_plane = ControlPlaneServer(
    message_queue=message_queue,
    orchestrator=AgentOrchestrator(llm=OpenAI()),
    port=8027
)

meta_tool = MetaServiceTool(
    tool_metadata=query_engine_tools.metadata,
    message_queue=message_queue,
    tool_service_name=tool_service.service_name,
)
worker1 = FunctionCallingAgentWorker.from_tools(
    [meta_tool],
    llm=OpenAI(),
)
agent1 = worker1.as_agent()
agent_server_1 = AgentService(
    agent=agent1,
    message_queue=message_queue,
    description="Used to answer questions over sql database ",
    service_name="SQL_Agent",
    port=8004
)
from llama_agents import ServerLauncher, CallableMessageConsumer

# Additional human consumer
def handle_result(message) -> None:
    print(f"Got result:", message.data)

human_consumer = CallableMessageConsumer(
    handler=handle_result, message_type="human"
)

# Define Launcher
launcher = ServerLauncher(
    [agent_server_1, tool_service],
    control_plane,
    message_queue,
    additional_consumers=[human_consumer],
)

# Launch it!
launcher.launch_servers()

terminal
None
INFO:llama_agents.message_queues.simple - Launching message queue server at <IP_ADDRESS>:8025
INFO:     Started server process [301115]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8025 (Press CTRL+C to quit)
INFO:llama_agents.control_plane.server - Launching control plane server at <IP_ADDRESS>:8027
INFO:     Started server process [301115]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8027 (Press CTRL+C to quit)
INFO:llama_agents.message_queues.simple - Consumer ControlPlaneServer-f6fe054b-28a6-4585-ada0-949ef7655d93: control_plane has been registered.
INFO:     <IP_ADDRESS>:46104 - "POST /register_consumer HTTP/1.1" 200 OK
INFO:llama_agents.message_queues.simple - Consumer AgentService-6369e39c-a8c6-4c60-a28f-8f27ec2b2c9c: SQL_Agent has been registered.
INFO:llama_agents.services.agent - Launching SQL_Agent server at None:8004
INFO:     Started server process [301115]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8004 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:40788 - "POST /services/register HTTP/1.1" 200 OK
INFO:llama_agents.message_queues.simple - Consumer ToolService-6b4fd213-9dca-40c1-8b99-e0eada49b2c3: default_tool_service has been registered.
INFO:llama_agents.services.tool - Launching tool service server at None:8026
INFO:     Started server process [301115]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     <IP_ADDRESS>:40798 - "POST /services/register HTTP/1.1" 200 OK
INFO:     Uvicorn running on http://<IP_ADDRESS>:8026 (Press CTRL+C to quit)
INFO:llama_agents.message_queues.simple - Consumer c992bf67-2004-4900-94bb-2390a78d8b4f: human has been registered.
INFO:     <IP_ADDRESS>:47914 - "GET /services HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:37948 - "GET /services/default_tool_service HTTP/1.1" 200 OK
INFO:llama_agents.message_queues.base - Publishing message to 'human' with action 'completed_task'
INFO:     <IP_ADDRESS>:37964 - "POST /tasks HTTP/1.1" 200 OK
Got result: {'task_id': 'a18274cc-6152-4f42-ab4e-ec63d975d8ec', 'history': [{'role': <MessageRole.USER: 'user'>, 'content': 'hello', 'additional_kwargs': {}}], 'result': 'Hello! How can I assist you today?'}
INFO:llama_agents.message_queues.simple - Successfully published message 'human' to consumer.
INFO:     <IP_ADDRESS>:37982 - "GET /services HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:37984 - "GET /tasks HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:37988 - "GET /services/default_tool_service HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:54834 - "GET /services HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:54840 - "GET /services HTTP/1.1" 200 OK

INFO:     <IP_ADDRESS>:43110 - "GET /services/default_tool_service HTTP/1.1" 200 OK
INFO:llama_agents.message_queues.base - Publishing message to 'SQL_Agent' with action 'new_task'
INFO:     <IP_ADDRESS>:43072 - "POST /tasks HTTP/1.1" 200 OK
Task exception was never retrieved
future: <Task finished name='Task-4' coro=<SimpleMessageQueue.processing_loop() done, defined at /{path}/venv/lib/python3.10/site-packages/llama_agents/message_queues/simple.py:272> exception=ConnectError('[Errno -3] Temporary failure in name resolution')>

{traceback}
  File "{path}/venv/lib/python3.10/site-packages/httpx/_transports/default.py", line 372, in handle_async_request
    with map_httpcore_exceptions():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/{path}/venv/lib/python3.10/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
    raise mapped_exc(message) from exc

httpx.ConnectError: [Errno -3] Temporary failure in name resolution
INFO:     <IP_ADDRESS>:50654 - "GET /services HTTP/1.1" 200 OK

Seems unrelated to using a sql database?
Not 100% sure how to debug this one. Probably need to make the message queue have a bit better error handling

One thing I would try first is to see if passing query_engine_tools (I think btw, this should be singular as opposed to plural?) to the agent directly. And see if you are able to use the agent with the tool before putting it in the ToolService.
SQL_query_engine = NLSQLTableQueryEngine(
    sql_database=sql_database
)

query_engine_tools = QueryEngineTool(
        query_engine=SQL_query_engine,
        metadata=ToolMetadata(
            name="sql",
            description=(
                "sql query agent: genrates sql from natural language and executes sql query on the connected database"
                "Use a detailed plain text question as input to the tool."
            ),
        ),
    )

worker_direct = FunctionCallingAgentWorker.from_tools(
    [query_engine_tools],
    llm=OpenAI(),
)
agent_direct = worker_direct.as_agent()
agent_direct.chat(...)

@nerdai i am able to successfully execute on a juypter notebook  the problem arised when i was working to integrate with Django i made sure

@nerdai I am able to successfully execute the using the launch_single function in a Jupyter notebook. However, I encounter a problem when trying to integrate it with the Django backend server.
problem was only when the SQL_AGENT was called if agent was not called llm gave perfect response on server as well ,
ill try the approach presented above and report  back
Also, When calling launch_single while running the Django server, I faced an issue due to asynchronous execution:
ValueError: signal only works in main thread of the main interpreter

p.s.thanks for the built-in CLI tool it is clean amazing

Ohhhh that awesome monitor CLI tool was built by none other than @logan-markewich -- he deserves all of the credit of anything good and cool around here (seriously!)

ValueError: signal only works in main thread of the main interpreter

@milovate I get same error when i was trying to test llama-agent with FastAPI. Were you able to solve the issue ?

We've done a major refactor, and I don't think this issue is relevant anymore


TypeError: 'NoneType' object has no attribute 'getitem'

I can install other things (e.g. requests) but when installing feedparser I see this:
(mithcast)bash-3.2$ pipenv install feedparser
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 610, in install
    new_name = proper_case(old_name)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 499, in proper_case
    return parse_download_fname(collected[-1])[0]
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 270, in parse_download_fname
    name = r['name']
TypeError: 'NoneType' object has no attribute '__getitem__'

Thanks for opening this ticket @edsu, could you provide your current Pipfile and the version of pipenv you're using?

Sorry @edsu, I'm looking at this again and this is definitely an incarnation of #90 that has since been patched in 3.2.6. The code in the stacktrace no longer exists. Please update your version of pipenv but feel free to reopen this if you're still experiencing a problem.

Thanks, upgrading fixed it! Thanks for all your work on pipenv, lovin' it.


Cache header in refreshExpiredIdToken breaks Cloudflare Workers

Unfortunately, Cloudflare Workers do not support setting the cache header on requests. Because of this, when attempting to refresh tokens within my Next.js application deployed using next-on-pages, I get the following error:
Error: The 'cache' field on 'RequestInitializerDict' is not implemented.
    at w (__next-on-pages-dist__/chunks/18809.js:2:301)
    at f (__next-on-pages-dist__/functions/middleware.func.js:1:38647)
    at le (__next-on-pages-dist__/functions/middleware.func.js:1:39831)
    at __next-on-pages-dist__/functions/middleware.func.js:1:74663
    at M (__next-on-pages-dist__/functions/middleware.func.js:1:39596)
    at async se (__next-on-pages-dist__/functions/middleware.func.js:8:4387)
    at async Module.<anonymous> (__next-on-pages-dist__/functions/middleware.func.js:22:76050)
    at async j (bundledWorker-0.5543014657482794.mjs:311:13)
    at async w.runRouteMiddleware (bundledWorker-0.5543014657482794.mjs:386:13)
    at async w.checkRoute (bundledWorker-0.5543014657482794.mjs:425:69)

I believe this is caused by setting a cache header in this line: https://github.com/awinogrodzki/next-firebase-auth-edge/blob/main/src/auth/index.ts#L98
I've not yet confirmed this is the root cause of the issue, but am attempting to do so by removing this line in a forked version of the package here: https://github.com/AlecKriebel/next-firebase-auth-edge/commit/f3874e280266374fdc562dec9ac24c22c760fb3d and will report back with results.
I recognize this is a really unfortunate issue with Cloudflare workers, but having support for this, possibly through a new boolean config parameter, would be amazing!

Hey @AlecKriebel!
Thank you for reporting and testing the issue. If it turns out to be cache header problem, let me know and we'll figure something out.

Confirmed.
I've removed the cache header from this package here: https://github.com/AlecKriebel/next-firebase-auth-edge/commit/f3874e280266374fdc562dec9ac24c22c760fb3d and pulled that into my application.
Before (with an auth token that has expired):
curl --location 'https://d470c050.starter-c0a.pages.dev/api/orgs' \
--header 'Cookie: AuthToken=<REDACTED>; AuthToken.sig=Xu3E0UleEqepu9AgEzPk7LTUxhY'

Internal Server Error

With the updated next-firebase-auth-edge without the cache header (with an auth token that has expired):
url --location 'https://627ffbd3.starter-c0a.pages.dev/api/orgs' \
--header 'Cookie: AuthToken=<REDACTED>; AuthToken.sig=Xu3E0UleEqepu9AgEzPk7LTUxhY'

[{"id":"0o3gdDGhNrNCmiKdJoGfx","name":"yeet2","plan":"free","stripeCustomerId":"cus_OMQMul0lx3PEv8","createdAt":"2023-07-16T06:39:04.000Z","updatedAt":"2023-07-16T06:39:04.000Z"},{"id":"mIc7ES0QUXy3_9kyCQLmF","name":"yeet","plan":"paid","stripeCustomerId":"cus_OMMMISs9J7Xrle","createdAt":"2023-07-17T05:34:57.000Z","updatedAt":"2023-07-17T05:34:57.000Z"},{"id":"HjfJ6oA37bZE4BsRbstex","name":"test2","plan":"free","stripeCustomerId":null,"createdAt":"2023-07-19T15:40:00.000Z","updatedAt":"2023-07-19T15:40:00.000Z"},{"id":"RiXfwHYjHwveKgmb_qnQf","name":"test","plan":"free","stripeCustomerId":null,"createdAt":"2023-07-17T05:04:52.000Z","updatedAt":"2023-07-17T05:04:52.000Z"},{"id":"3z9lxG0C72tQbN2pe6faX","name":"can-you-see","plan":"free","stripeCustomerId":null,"createdAt":"2023-07-19T05:26:55.000Z","updatedAt":"2023-07-19T05:26:55.000Z"},{"id":"iPiKtEdSK0hDEorvExbX-","name":"aleckriebel-gmail","plan":"free","stripeCustomerId":null,"createdAt":"2023-07-23T12:59:24.000Z","updatedAt":"2023-07-23T12:59:24.000Z"},{"id":"IBKChEazBEXlQyvOPZK0G","name":"aleckriebel","plan":"free","stripeCustomerId":null,"createdAt":"2023-07-23T12:57:15.000Z","updatedAt":"2023-07-23T12:57:15.000Z"}]

You can reproduce this by:

Getting an auth cookie by signing in at https://starter-c0a.pages.dev/
Waiting an hour for the token to expire
Using those cookies (both AuthToken and AuthToken.sig) to do a GET against https://d470c050.starter-c0a.pages.dev/api/orgs => should 500 internal server error
Using those cookies (both AuthToken and AuthToken.sig) to do a GET against https://627ffbd3.starter-c0a.pages.dev/api/orgs (this version has the cache header removed) => should 200 success

@awinogrodzki I'd be more than happy to write a PR for whatever the fix needs to be, but wanted to see if you had any suggestions before I get to writing. Would adding a new boolean property onto CreateAuthMiddlewareOptions to control if this header gets set or not make sense?

I can confirm the same error with cache header on cloudflare next-on-pages:
[mf:inf] GET /app 200 OK (167ms)
ApolloError: The 'cache' field on 'RequestInitializerDict' is not implemented.
    at new s (__next-on-pages-dist__/functions/app.func.js:170:157)
    at __next-on-pages-dist__/functions/app.func.js:170:38037
    at R (__next-on-pages-dist__/functions/app.func.js:176:34140)
    at __next-on-pages-dist__/functions/app.func.js:176:34066
    at new Promise (<anonymous>)
    at Object.then (__next-on-pages-dist__/functions/app.func.js:176:34033)
    at Object.error (__next-on-pages-dist__/functions/app.func.js:176:34150)
    at A (__next-on-pages-dist__/functions/app.func.js:355:1919)
    at O (__next-on-pages-dist__/functions/app.func.js:355:2282)
    at U.error (__next-on-pages-dist__/functions/app.func.js:355:2844) {
  name: ApolloError,
  graphQLErrors: Array(0),
  protocolErrors: Array(0),
  clientErrors: Array(0),
  networkError: Error: The 'cache' field on 'RequestInitializerDict' is not implemented.
    at globalThis.fetch (m…
  ...
}

I worked around it for now using pnpm patch next-firebase-auth-edge to modify the source.

Hey @Enalmada @AlecKriebel,
I initially set cache: no-store header to disable Next.js cache when refreshing tokens, but turns out it's not needed.
According to https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating cache is disabled automatically just by setting Content-Type header.
Fix was released in<EMAIL_ADDRESS>

Thanks so much @awinogrodzki!


Changelog

Added back from pre-v1 and updated with messages found on the GitHub releases page and the tulip-control-discuss mailing list.

To be sure that I understand your proposed format, for each entry, it is
## VERSION
DATE (as YYYY-MM-DD)

...arbitrary text, copied mostly or fully from the announcement email for VERSION...

The first (i.e. oldest) several entries do not follow this format.

There is a practice used in other projects to have someone sign the entry for a changelog, using a line of the form
Frodo Baggins<EMAIL_ADDRESS>Fri, 29 Jul 1110 10:12:48 -0400

Arguments for:

there is one person to contact about the release; of course, other humans can be consulted, but that particular person is a best guess for first contact.
the signature creates some context about the time of release: who updated the changelog and what was the timestamp. These details can be hard to discover later.

Arguments against:

there might be some confusion about that person's role in making the version; e.g., others might have contributed substantially, but there names might be missed compared to the person who updates the changelog.
exposing personal email addresses can be excessive to some contributors; after all, we have instead project-level mailing lists etc.

This pull request is good and ready to merge, but I will wait for 7 hours in case anyone wants to comment on my above comments.

Regarding person identities, I generally favor the simplest format possible, because it is mainly consulted by users who quickly skim it, or run into an unexpected new problem. For more information, they will most likely look at the commit history and come to the issue tracker.
About including a single person name: multiple persons can commit different parts of a single changelog message, so that would lead to a list of names. The version tag author is assumed to be the person who uploaded the release, etc.
I am opposed to listing emails in a changelong.
In dd, I am using a slight refinement of this format, with a list of general changes, followed by "API:" and a hierarchical list of changes, structured per subpackage, module, function, class, method, etc., so that I won't have to repeat dot-separated names like tulip.spec.form.GRSpec.__init__ changed, and tulip.spec.form.GRSpec.__or__ changed, etc.
Yes, the proposed format is
## version identifier
YYYY-MM-DD
``

I would omit the date (I do so in `dd`), but I included it only for practical reasons, i.e., as a reference that doesn't need one to go to the GitHub releases page or issue a git command to list tags that match `v*` with their dates.

For the oldest entries, I kept them mostly as they are, to let us decide how we want them formatted. They appear to record some history that may be in the commit history. In general, we can later go back and attempt to fill the missing entries, and also reformat the first entry.

Thanks for your arguments. I support them all for TuLiP, but I want to emphasize that including the date is important.


inconsistent ids for images and reports

Hi I download the data you provided from https://stanfordaimi.azurewebsites.net/datasets/521d0d11-7c3c-45ef-8b99-a49cd70cba2c
It contains ~130 patient reports (impressions) with CT scans. And it seems the images ids and the patient ids are not matched. Could you provide more detail on how to match the images and report?

@ZepengHuo Any word on approximately how much longer the data privacy review will take? Even having access to a small sample of the complete dataset will be helpful.

@tim-the-baker hello, we just received approval from Secondary Data Use Committee. The final stretch is to settle down on DUA. Probably within a moth

@ZepengHuo Thank you for the update! I look forward to it.


Message "Corrupted block database detected" after every restart

Hi, I have installed defi wallet version 2.1.3 on Ubuntu 18.04. I already created a wallet and started some liquidity mining. Generally everything works fine but I get an error message "Corrupted block database detected" an every restart.
After restarting the app starts syncing from Block 0 what takes some minutes. After the complete sync everything is fine.
I guess its also not intended that the app synchronizes completely after every restart. I would expect the sync only the missing blocks in my database. (It looks like the similar issue: https://github.com/DeFiCh/app/issues/106)
Btw. the app consumes around 4-5GB ram, I guess this could also be optimized in the future?
Thanks

Hello,
I have the same problem running on Windows 10. Every time I open the DefApp I get "Corrupt block database detected. Please restart with reindex..."). It was running without a problem previously, but a couple of days ago the issue occurred the first time. Since them it occurs every time I open the App. I also tried to uninstall, delete all App folders and reinstall, but I get the same problem again (also without restoring my wallet). For me the reindexing take some hours, probably I'm running the App on an older PC with only 4 GB Ram available. Any suggestions for a fix?

Hi UserMaxL,
my assumption is in fact that the issue has something to do with RAM. As I already noticed the app is very memory consuming (4-5GB). I also noticed, when you close the app, the process consumes even more memory for some seconds  (more than 6GB) before dying. I am also very close to the limit of my PC RAM, so maybe this issue occurs if the app runs out of memory.
Hopefully the DefiChain experts will help us soon.

Yes, I'm running the App on two PCs and on one I have the reindex issue on the other McAfee seems to block App (can't see wallets anymore) :-D

Hi, I followed some advise from the telegram group and it seems choosing the Re-Index Option in the App settings fixed the issue. (but took very long).

Yes re-indexing always helps, but it's not the solution.
Some investigation confirmed my assumption that it is memory issue. The last error in my debug.log is "Error: Out of memory. Terminating." while dumping mempool. But I think it is not normal that the app consumes another 4GB while terminating additionally to the 5GB during running. That is more than 9GB in total.
At defichain.com you can read memory requirement is 2GB, so definitely something should be optimized.

Hi @marathom @UserMaxL , thanks for your feedback. I agree the app should not be constantly restarting, please give us time to investigate this issue.

Hi, I increased my swap file to 8GB (I have 12GB RAM), now the mempool dump finished properly (but also with a lot of memory consumption). Now restart works without re-indexing, but after start a huge amount of memory (about 11GB) is consumed. After finishing sync the memory goes back to normal

Hi @marathom @UserMaxL , appreciate the discussion, could you send your app logs please? The team needs to further investigate this.

Hi Bella, unfortunately the logs were shortened, so the previous error messages are gone. The only associated error message I detected was "Error: Out of memory. Terminating."
As I already mentioned, this issue is only a one-time issue during the very first synchronization (and could be reproduced easily). After this first complete blockchain sync, when terminating, the app (the process "defi-init") wants to dump the mempool. But this dump consumes a huge amount of memory. When the memory runs out, the database corrupts somehow and the app must restart with the re-indexing always. But if the operating system (in my case Ubuntu 18.04) has enough memory to manage the correct mempool dump, the issue disappears. Now my app is running smoothly.

Hi @marathom , thanks for the reply, the team is currently investigating this issue. Glad that your app is running smoothly!

Hi Team,
I got a similar issue with the 2.1.4  Version now. I could use functions like DEX or LM but it does not show my balance and the app reindexes every time I open. It also does not allow me to import a wallet. Whenever I want to load the back up it restarts the app.  What could I do ? Thanks in advance

Hi @lukefue
maybe its also a memory issue on your machine. The app must have the chance to dump the mempool one time, that it does when you close the app. But this consumes a lot of memory (more than 10GB RAM on my machine). If the memory runs out, the dump fails and the app has to be re-indexed after restart. So try to increase your memory or at least your swap file, maybe this helps

Okay yeah it worked briefly, thank you. I was able to put in my 24 words and I got an old account back. but somehow funds from LM are missing. I think I only wrote down the word seed of the first wallet but my funds might be on a different one. However I made frequent back ups that were suggested, can I also restore an old wallet with one of those backups? with the extended private masterkey?
Really appriciate your help thank you @marathom

@lukefue Sorry but I don't have experience in wallet backup. Maybe you should contact official support.

@izzycsy Here are the app logs, I hope it works like that, I did not had to zip them, because it is a text document. I also think that might be the reason why importing the back up does not work. Those are also text documents. What type is the back up supposed to be?

app logs corrupted blockdatabasse.log
`

@lukefue , well received. Yes, for wallet backup it is .txt format.

@lukefue , thanks for your feedback. Yes, for wallet backup it is .txt format. I'd like to understand your issue further. You mentioned that when you wanted to load a wallet backup, the app restarts, what was the error? Do you have a screenshot?
It's a good habit to create wallet backups, however I'm unsure if you can restore without your mnemonic seed, it's crucial that you keep it safe 😣

@izzycsy , here are the app logs after reindex. It is anempty white screen. When I close and open the app again I have to reindex again. Btw. memory consumption grows and is really high.
As a result I cannot try to import the wallet and enter mnemonic seed. I have the seed! However, it seems that the adress on which the dfi were and the coins for LM- Mining do not show up. That is why I hope the back up can help me to restore them again.
Thank you for your help!
app logs after reindex.log

Okay managed to enter my mnemonic seed. When I try to open the backup I recieve this . @izzycsy

@lukefue thank you for the explanation & screenshots. I've forwarded your issue to the team for investigation. Please give us time. Thank you for your understanding.

@izzycsy Quick update: App was running over night and when I woke up funds were back and app is now running smoothly with normal memory consumption.  Only thing is that my Adress is gone which I used to recieve token from and when I create a new one it says " not saved by seed phrase". How can I do that ?

I have the same issue with version 2.1.5
App Logs.log

I have the same issue with version 2.1.5
App Logs.log

@lukefue it possibly means your address won't be saved by the mnemonic seed, hence you should backup wallet often and not rely only on the seed. In the future, should you need to restore wallet, restore via your mnemonic seed followed by import latest wallet backup.

@lukefue it possibly means your address won't be saved by the mnemonic seed, hence you should backup wallet often and not rely only on the seed. In the future, should you need to restore wallet, restore via your mnemonic seed followed by import latest wallet backup.

Hi @UserMaxL @marathom @lukefue , update v2.1.6 is out https://defichain.com/downloads/.
Do give a thumbs up to this comment if your issue has been resolved, otherwise, you may reopen this issue w new information (include screenshots) and your app logs. Thank you.

Hi @UserMaxL @marathom @lukefue , update v2.1.6 is out https://defichain.com/downloads/.
Do give a thumbs up to this comment if your issue has been resolved, otherwise, you may reopen this issue w new information (include screenshots) and your app logs. Thank you.

Hi @lukefue , regarding the issue Warning: Not saved by seed phrase, I'll link you to https://github.com/DeFiCh/app/issues/220 which we can further discuss on the problem. Let’s keep this thread related to what the original author opened. Thank you for your understanding.

Hi @lukefue , regarding the issue Warning: Not saved by seed phrase, I'll link you to https://github.com/DeFiCh/app/issues/220 which we can further discuss on the problem. Let’s keep this thread related to what the original author opened. Thank you for your understanding.

Hi @izzycsy , solved for me. Thanks!

Hi @izzycsy , solved for me. Thanks!

I downloaded version 2.1.10 right now. The problem is not solved yet, the app (Process: defid) consumes lot more ram memory, so I even cannot re-sync my app.

I downloaded version 2.1.10 right now. The problem is not solved yet, the app (Process: defid) consumes lot more ram memory, so I even cannot re-sync my app.

Btw., I made a completely fresh installation on a new linux distribution (Ubuntu 20.04). Here the memory issue is not present. The defid process consumes about 500MB all the time during sync. After wallet import, everything works fine.

Btw., I made a completely fresh installation on a new linux distribution (Ubuntu 20.04). Here the memory issue is not present. The defid process consumes about 500MB all the time during sync. After wallet import, everything works fine.

Hi @marathom , thanks for the feedback, the team will investigate. Could you send you app logs please?

Hi @marathom , thanks for the feedback, the team will investigate. Could you send you app logs please?

Hi @salomonkarsten, as I understood you are facing this issue as well. May I know if you're on v2.1.10? Please send your app config & binary log if possible, app log was well received. Thank you.

Hi @salomonkarsten, as I understood you are facing this issue as well. May I know if you're on v2.1.10? Please send your app config & binary log if possible, app log was well received. Thank you.

Hi @marathom , I've seen your comment at issue Update Button > Corrupted Blockchain file https://github.com/DeFiCh/app/issues/316. We would like to keep same issues in one thread, will keep you update there. Thank you.

Hi @marathom , I've seen your comment at issue Update Button > Corrupted Blockchain file https://github.com/DeFiCh/app/issues/316. We would like to keep same issues in one thread, will keep you update there. Thank you.


libRCTARKit.a not found

If follow the steps for "mostly automatic installation", I get the following error:
*** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: undefined is not an object (evaluating 'i.getCameraPosition')', reason: 'Unhandled JS Exception: undefined is not an object (evaluating 'i.getCamera..., stack:
If I follow the steps for "manual installation" and add libRCTARKit.a to the 'Link Binary With Libraries' configuration, I get the error:
'no such file or directory: (...)/Build/Products/Release-iphoneos/libRCTARKit.a''.
I pulled down the RCTARKit.xcodeproj and it looks like libRCTARKit.a has the error 'React/RCTBridgeModule.h' file not found

Have you tried updating your iOS and xCode versions to the Beta Releases?

hi @aurodatateam and others, i am facing this same problem too. "Library not found for -IRCTARKit" . latest iOS 11 and Xcode 9.

solved by manually adding the library and making sure source control was disabled.

I solved by creating a new project with react-native init. It turns out it doesn't work with create react native apps that have been ejected

cool! suggest you close issue

hello. I have the same problem with you.
after founded this solution, I created a new project with react-native init.
but I still can't find libRCTARKit.a in my project folder.


trace looks like it's supported but it's not

I think trace snuck into the code base as a half-supported idea (presumably matrix trace) at some point.  It is included in matrixSquareReductionOperators which makes it not trigger a warning when a nimbleFunction is defined, but it then fails in compilation.  Flagging this as an issue so we can do a more thorough check and potentially clean it up.

I'm simply removing it from matrixSquareReductionOperators. No mention of trace appears in the manual.


acceptance criteria

acceptance criteria

[ ] upon visiting the site for the first time, you are presented with a homepage

[ ] includes a list of any existing blog posts, including the title, post author, and publication date

[ ] upon clicking a blog post, you are rerouted to a page dedicated to the blog post, showing the title, contents, author's username, and date of publication

[ ] below, any comments made on the post are listed, showing the comment text, the commenter's username, and the creation date

[ ] header navigation links for home, dashboard, & to log in / sign-up
[ ] clicking the homepage navbar link takes you to the homepage
[ ] clicking either other navbar link takes you to the login / sign-up page

[ ] on the login / sign-up page, you are presented with a panel to log in or sign up

[ ] when signing up, you are required to choose a username and password

[ ] upon clicking the sign-up button, the credentials are saved to the database & you are redirected to the homepage, now logged in

[ ] when logging in, you will in the appropriate username & password fields

[ ] upon clicking the login button, the credentials are compared to the database, and you are logged in if there is a match
[ ] if the credentials do not match, an error modal pops up informing the user the login data was incorrect (do not specify what was incorrect)

[ ] in both the above cases, the passwords should be hashed using bcrypt

[ ] after logging in, the login / sign-up link in the navbar is replaced with a 'log out' button

[ ] the session is set to save a 'logged_in' state, & a 'user_id' state, and to expire after an hour
[ ] upon clicking the log out button, your session is destroyed & you are redirected to the homepage, with the log out button once again replaced with log in / sign-up

[ ] after logging in, the dashboard link in the navbar takes you to a dashboard page, listing any blog posts you've made, alongside a button to create a new blog post

[ ] upon clicking the button to create a new blog post, you are redirected to a site where you can construct a new blog post

[ ] you are prompted to enter a title & contents for your new post
[ ] upon clicking the button to publish the blog post, the new blog post is saved to the database, and you are redirected back to your dashboard, which will now also have the new blog post listed

[ ] upon clicking on a blog post listed on your dashboard, you are taken to a page similar to that for creating a new blog post, except the default values for the title & contents are those of the already-existing post

[ ] the 'publish' button is replaced with an 'update' button, which updates the contents of the blog post with any changes you've made, before redirecting you back to the dashboard
[ ] there is also a button which allows you to delete the blog post, using a confirmation modal to confirm that you want to delete it

[ ] if you confirm yes, the blog post is wiped from the database, and you are redirected back to your dashboard, where the deleted blog post should no longer be visible

[ ] after logging in, upon visiting a blog post from the homepage, there should be a box allowing you to post a new comment between the post contents & the comment list

[ ] after filling out the comment text field & clicking the 'add comment' button, the comment is added to the database and the page is refreshed to show the new comment having been added

model setup;

[ ] FILL IN LATER

other requirements

[ ] deployed to heroku
[ ] files follow MVC paradigm
[ ] repository contains README file with, at the very least, a description, screenshot, and link to heroku application

model setup;

[ ] user

[ ] id (int, auto-increment)
[ ] username (varchar, not null)
[ ] password (hashed, varchar, not null)

[ ] blog post

[ ] id (int, auto-increment)
[ ] title (varchar, not null)
[ ] content (varchar, not null)
[ ] date (date, uses blog post's creation date)
[ ] user_id (int, not null, foreign key referring to user's 'id' field)

[ ] comment

[ ] id (int, auto-increment)
[ ] content (varchar, not null)
[ ] date (date, uses comment's creation date)
[ ] user_id (int, not null, foreign key referring to user's 'id' field)
[ ] post_id (int, not null, foreign key referring to parent post's 'id' field)

other requirements

[ ] deployed to heroku
[ ] files follow MVC paradigm
[ ] repository contains README file with, at the very least, a description, screenshot, and link to heroku application


"file" materialization : add more export formats

Currently, dremio's documentation only mentions parquet tables,
but as read in the sources, CTAS allows for undocumented options :
CREATE TABLE xxx STORE AS (format options) [WITH SINGLE WRITER] AS SELECT yyy
where format options can be :
- type => 'json', prettyPrint => false
- type => 'text', fieldDelimiter => ',', lineDelimiter => '\r\n'
- type => 'parquet', outputExtension => 'myparquet'

to investigate : are these memory tables ? how long do they persist ?
- type => 'arrow'
to investigate :
SELECT * FROM TABLE(pds/vds path (type => 'excel', extractHeader => true, hasMergedCells => true, xls => true))
can we export as excel ?

input : excel
public String sheet;
public boolean extractHeader;
public boolean hasMergedCells;
public boolean xls; /** true if we are reading .xls, false if it's .xlsx */

output : text
public String lineDelimiter = "\n";
public char fieldDelimiter = '\u0000';
public char quote = '"';
public char escape = '"';
public char comment = '#';
public boolean skipFirstLine = false;
public boolean extractHeader = false;
public boolean autoGenerateColumnNames = false;
public boolean trimHeader = true;

output : json
public String outputExtension = "json";
public boolean prettyPrint = true;

Except excel input format, other ones are all available for ouput. So I should figure out how to make dbt models format aware. This would allow users to choose model data format. dbt sould be able to use sql dremio extensions to silently decorate create table (in adh hoc materialization) and select from (in an overridden builtins.source/ref macro). but is it worth adding this feature ?

done


Dumpling freezes on "Loading saves from storage_mlc01:/usr/save/..." with Wii Sports Club

As mentioned in the issue title, Dumpling consistently freezes when trying to dump my Wii Sports Club disc.
This doesn't seem to be due to an issue with the disc itself, but the freeze occurs whenever it says "Loading saves from storage_mlc01:/usr/save/...". I'm calling it a freeze, because the screen won't update after 20 minutes of letting my Wii U sit there.
I already tried deleting the Game's update and save data, which didn't have an impact.
I'm loading dumpling via the web exploit without any prior CFW or Environment loaded.
Any help is appreciated!

Running the game again to create new save data, after deleting the update data, seemed to have helped.


Why do I copy and paste it twice?

Did you find a solution to this Tammy zting? Is there a work aound for pasting twice?


Add the ability to change axis properties for Performance Diagram

Describe the Task
Provide support for setting xtlab_size, ytlab_size, xlab_size, and ylab_size (requested by Ho Chun at EMC) (matplotlib implementation for the plot type)
Time Estimate
~2 days
Sub-Issues
Consider breaking the task down into sub-issues.

[ ] ~1 day to implement changes in Matplotlib
[ ] ~1 day create tests to verify that the plot replicates the original and that axis properties result in desired changes

Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) Minna Win
[ ] Select scientist(s) Tara Jensen

Labels

[x] Select component(s)
[x] Select priority
[x] Select requestor(s)

Projects and Milestone

[ ] Review projects and select relevant Repository and Organization ones
[ ] Select milestone

Define Related Issue(s)
Consider the impact to the other METplus components.

[ ] METplus, MET, METdatadb, METviewer, METexpress, METcalcpy, METplotpy

Task Checklist
See the METplus Workflow for details.

[x] Complete the issue definition above.
[ ] Fork this repository or create a branch of develop.
Branch name:  feature_<Issue Number>_<Description>
[ ] Complete the task and verify your changes.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop and link the pull request to this issue.
Pull request: feature <Issue Number> <Description>
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

This has been incorporated into Issue #20


chore: add openapi 3.1 spec for public api

Addresses issue #3383. Targets OpenAPI 3.1.0 as that's the most recent, and it appears to be the only version that supports DELETE with a request body.  Also added spectral to the github test pipeline to lint the spec to ensure it's valid.
Swagger utilizing this spec can be seen in browser here: https://validator.swagger.io/?url=https://raw.githubusercontent.com/ollama/ollama/ef7c6cb43aa8cc8c38a4e51d4d7e78b66e08a5c1/specs/openapi-3.1.yaml#/models/getModels
Redoc visualization here: https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/ollama/ollama/ef7c6cb43aa8cc8c38a4e51d4d7e78b66e08a5c1/specs/openapi-3.1.yaml#tag/generate

If this gets merged, we might consider using some tools like widdershins and Redocusaurus to dynamically generate API documentation from the OpenAPI spec itself.
This approach would give developers a single location to document the API, and we can be relatively assured that it'll stay up to date and third party clients will be able to integrate with the API without needing hand-coded integrations.

Hi @JerrettDavis thank you so much for this PR. It's much appreciated – something we'd love to have and keep up to date in the future. However, today, it would be really hard to keep this up to date with new API changes and so it would be best to hold off until then.


i18n(fr): update api-reference.mdx

Description (required)

Apply changes from #8943 to French translation of api-reference.mdx
Reword a few sentences to make reading easier.

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
reference/api-reference.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Compatibility w/ macOS 10.15 Catalina

So I didn't notice anything listed as 32-bit in my Mojave system report, so I pulled the trigger and did a clean install of macOS 10.15 Catalina. I'm certainI have all the listed dependencies installed via HomeBrew and went to process a film. Unfortunately I'm receiving an error immediately -- see below:
$ transcode-video --target big --no-auto-burn /path/to/movie/file.mkv --verbose
transcode-video 0.25.2
Copyright (c) 2013-2019 Don Melton
Processing: /path/to/movie/file.mkv...
Scanning media title 1 with HandBrakeCLI...
HandBrake 1.2.2 found...
/usr/local/bin/transcode-video: scanning media title 1 failed

No log file is generated in the working directory. Any ideas? Is this a Catalina issue?

@seventhaxis Unknown whether it's a Catalina-specific problem yet.
But why are you placing the --verbose option after the input file name? That's not going to work. The input file name(s) always come at the end of the command line.

@seventhaxis Also, can you try this command:
transcode-video --dry-run /path/to/movie/file.mkv

Then copy the the HandBrakeCLI command that's printed out and execute that?
That way we can determine whether the problem is with transcode-video or HandBrakeCLI.
Thanks.

But why are you placing the --verbose option after the input file name?

@donmelton So I get the same with --dry-run it seems.
$ transcode-video --dry-run /path/to/movie.mkv
/usr/local/bin/transcode-video: scanning media title 1 failed

$ transcode-video --dry-run --verbose /path/to/movie.mkv
Copyright (c) 2013-2019 Don Melton
Processing: /path/to/movie.mkv...
Scanning media title 1 with HandBrakeCLI...
HandBrake 1.2.2 found...
/usr/local/bin/transcode-video: scanning media title 1 failed

@seventhaxis LOL! OK, now that I've spilled some of my coffee laughing at that... :)
Let's see if HandBrakeCLI is also failing if you call it directly. Try this command:
HandBrakeCLI --title 0 --scan --previews 2:0 --input  /path/to/movie.mkv

...and let me know what happens. Thanks!

$ HandBrakeCLI --title 0 --scan --previews 2:0 --input  /path/to/movie.mkv
[12:17:11] hb_init: starting libhb thread
[12:17:11] thread 70000d99a000 started ("libhb")
HandBrake 1.2.2<PHONE_NUMBER>) - Darwin x86_64 - https://handbrake.fr
12 CPUs detected
Opening /path/to/movie.mkv...
[12:17:11] CPU: Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
[12:17:11]  - Intel microarchitecture Kaby Lake
[12:17:11]  - logical processor count: 12
[12:17:11] hb_scan: path=/path/to/movie.mkv, title_index=0
[1]    18128 segmentation fault  HandBrakeCLI --title 0 --scan --previews 2:0 --input

Really appreciate you troubleshooting this Don.

@seventhaxis No problem! OK, so HandBrakeCLI is crashing. Maybe you can try re-downloading and re-installing it?

Ah, no dice after uninstalling/reinstalling Handbrake (v1.2.2) via HomeBrew.

@seventhaxis Ouch! OK, I recommend you open an issue on HandBrake itself here:
https://github.com/HandBrake/HandBrake/issues
Because honestly I don't know how to proceed. Sorry about that. :(

Thanks @donmelton. Closing for now.
Will reopen and follow up as new information is released or an update is provided for HandBrakeCLI.
https://github.com/HandBrake/HandBrake/issues/2364

@seventhaxis Re-opening this to ask you how you installed HandBrakeCLI. Did you download the binary from the website or did you use Homebrew to install it? Because, based on other information I received today, it looks like the Homebrew version has problems on Catalina.

@donmelton Hah yeah my issue over there got the exact same response. I removed the HomeBrew version and manually installed it. When executing a dry run I get the following:
$ transcode-video --dry-run /path/to/movie.mkv
HandBrakeCLI --input=/path/to/movie.mkv --output=movie.mkv --markers --encoder=x264 --crop=0:0:0:0 --auto-anamorphic --encoder-profile=high --encoder-level=4.0 --quality=1 --audio=1,1 --aencoder=ac3,ca_aac --mixdown=,stereo --encopts=vbv-maxrate=6000:vbv-bufsize=12000:crf-max=25:qpmax=34

Seems good, so I tried the transcoding process again and it's working as expected!

As always, you da man!

@seventhaxis Thanks and no problem, sir! :)


Comment in example identifies a method that I cannot find anywhere

Description
Locate this comment:
// Don't rely on the file.FileName as it is only metadata that can be manipulated by the end-user
// Take a look at the Utilities.IsFileValid method that takes an IFormFile and validates its signature within the AllowedFileSignatures
I'd love to use Utilities.IsFileValid. I've searched all of the .net documentation and cannot yet find a match. Perhaps a wild goose chase? Perhaps a misspelling?
Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/static-files?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/static-files.md
Document ID
3fec6e08-fc99-7a5c-796f-3f2347cad891
Article author
@Rick-Anderson

It's in the sample app cross-linked by the article just above where that remark appears ...
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/static-files/samples/8.x/StaticFileAuth/Utilities.cs


possibility of changing environment variables in flatnote

Hello, I have been trying to change the development variables of the addon “Flatnotes” for a couple of days and I have not succeeded.
I need to be able to change :
“FLATNOTES_AUTH_TYPE”.
“FLATNOTES_PASSWORD=changeMe!”
For more security when entering my notes.
In the webui configuration only the port appears as configurable

This docker will not allow me to add jq, so I do not know how to do this.
You can easily download this repo's code, copy the entire flatnotes folder into \homeassistant\addons\
If you refresh your addon store, you will see a local copy of flatnotes . Then go into config.json and make any change you wish. Refresh addon store and install.

Completed with commit #a4fc127 . Uninstall and reinstall the addon. Not tested, but should work


Create a basic HistGBR Model for EIA-923 fuel price imputation

It's been a while since I played with scikit-learn, and I need to re-familiarize myself with the tools and methods for composing these moving parts together, in the context of the EIA-923 fuel price imputations. I'm sure some of this is super basic and I just don't understand how it works.
Tasks / Issues

[x] Figure out how to pass both sample_weight and model hyper parameters into the cross validation.
[ ] Given pattern of missingness... are there existing CV iterators that can keep us from training on inappropriate data? e.g. GroupShuffleSplit if we need to isolate different values of plant_id_eia from each other.
[ ] Create a more expansive original dataframe with frc_eia923, coalmine_eia923 and plants_entity_eia values.
[ ] Allow NA values in categorical columns to pass through the OrdinalEncoder so this HistGBR model can access them.
[ ] Are there any additional pre-processing steps required besides encoding the categorical values?
[ ] Characterize the pattern of missing fuel_cost_per_mmbtu values in the frc_eia923 table. Are they correlated in time? By plant? Within states? Only in certain fuel types?
[ ] How can the feature labels be propagated through the pipeline such that it doesn't raise warnings?
[ ] How does one interpret the test_score that comes out of the cross validation process? There are lots of options to choose from for scoring, and some of them cause errors. The default (whatever it is) seems to yield values indistinguishable from zero, when the model does an okay job of predicting fuel prices by fuel group.
[ ] Figure out some metric to compare new model results against the groupby + weighted_median, and coarse grained EIA API results (state, month, fuel_group).

Hyperparameters and sample_weight
The hyperparameter grid and sample weights are inserted at different steps in the process.
The hyperparameter space to explore is defined within GridSearchCV:
# Define hyperparameter space to search:
grid = GridSearchCV(
    pipe,
    param_grid={
        "hist_gbr__max_depth": [3, 5, 7],
        "hist_gbr__max_leaf_nodes": [7, 15, 31],
        "hist_gbr__learning_rate": [0.1, 0.3, 0.9],
    },
    cv=KFold(n_splits=4, shuffle=True, random_state=0),
    n_jobs=-1,
)

While model fitting parameters that  are uniform across that whole search space are passed in during the fit() step:
# Weight samples by `sample_weight` during training.
result = grid.fit(
    X=frc_train_test[cat_cols+num_cols],
    y=frc_target,
    hist_gbr__sample_weight=sample_weight,
)

Splitting by plant_id_eia or other criteria
It looks like GroupShuffleSplit can be used to partition the test/train data on whatever ID column you want, to avoid overlap when necessary, like this, with the gss_split generator swapping in for e.g. KFold
gss = GroupShuffleSplit(test_size=0.2, n_splits=5, random_state=0)
# Split based on Plant ID to avoid plant information leaking between test / training
gss_split = gss.split(frc_train_test, groups=frc_train_test["plant_id_eia"])
param_grid = {
    "hist_gbr__max_depth": [3, 5, 7],
    "hist_gbr__max_leaf_nodes": [7, 15, 31],
    "hist_gbr__learning_rate": [0.1, 0.3, 0.9],
}
# Define hyperparameter space to search:
grid = GridSearchCV(pipe, param_grid=param_grid, cv=gss_split, n_jobs=-1)


Render problem with gallery demo

Some render (I think) issues occur while using the gallery demo app downloaded from Google Play (not complied by me)
Shrine demo doesn't show cards while scrolling. While using the Animation demo the text and logos in the app turns into weird characters. For a better understanding I have uploaded a video https://youtu.be/5yhP94L-AGo

It is Android 5.0.2 and the phone is Turkcell T 60 which is a mock up version of ZTE Blade S6

Thanks for the update. We believe we have a fix that will be included in the next release of the app.

There is a triangle like in #17507, but at the end it also looks a bit like #17716.

@HansMuller I tested in my app and I can confirm that is fixed!

@riterrani I am very pleased to hear that! I will pass your comment along to the Skia team.

Duplicate of #17507