설치 중 Java 환경 변수 문제

관련 패키지 설치 중 pip install -r requirements.txt 을 진행하다가 에러가 있어 이슈에 남깁니다.
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "C:\Users\arsen\AppData\Local\Temp\pip-build-o7lrh0uz\JPype1-py3\setup.py", line 448, in <module>
        config = WindowsJDKFinder()
      File "C:\Users\arsen\AppData\Local\Temp\pip-build-o7lrh0uz\JPype1-py3\setup.py", line 192, in __init__
        java_home = self.find_jdk_home()
      File "C:\Users\arsen\AppData\Local\Temp\pip-build-o7lrh0uz\JPype1-py3\setup.py", line 244, in find_jdk_home
        raise NoJDKError(visited_folders)
    __main__.NoJDKError: No JDK found

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\arsen\AppData\Local\Temp\pip-build-o7lrh0uz\JPype1-py3\setup.py", line 468, in <module>
        .format('\n'.join(ex.possible_homes)))
    RuntimeError: No Java/JDK could be found. I looked in the following directories:

    Please check that you have it installed.

    If you have and the destination is not in the above list, please find out where your java's home is, set your JAVA_HOME environment variable to that path and retry the installation.
    If this still fails please open a ticket or create a pull request with a fix on github: https://github.com/tcalmant/jpype/
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\arsen\AppData\Local\Temp\pip-build-o7lrh0uz\JPype1-py3\

개인적으로 저의 PC의 Java 환경변수를 적절하게 설정하지 못해 발생한 것 같다는 생각이 듭니다
JAVA_HOME 환경변수를 추가하고 pip install -r requirements.txt 하였지만 같은 에러 발생나네요
구글링 중 비슷한 내용을 발견해서 링크 걸어둡니다 https://github.com/konlpy/konlpy/issues/20

이슈로 제기해주신대로 에러는 JAVA_HOME 환경문제가 맞는 것으로 보입니다.
(JAVA_HOME) "No Java/JDK could be found. Please check that you have it installed."
JAVA_HOME 환경변수 설정이 제대로 되어있는지, 한번 더 확인을 해주셔야할 것으로 보입니다.
제가 Mac OS만을 사용해서, 윈도우에 맞게 셋팅하는 방법에 대해서는 구체적으로 말씀을 드릴 수가 없네요..!

네, 윈도우10, 64비트 환경에서 설치하고 있습니다.
윈도우에서는 설치가 생각보다 꽤 까다롭네요 ~
아직 설치 완료는 못했지만, 현재까지 중간 정리 해봅니다.

파이썬3 설치는 32비트가 아닌 64비트으로 설치
JAVA_HOME 환경변수 설정
scipy 설치 중 UnicodeDecodeError; utf-8... 발생

http://jrr.kr/439 참고

위 링크를 통해 다음 진행이 되는 것 같았으나 scipy 또 다른 에러 발생

(venv_workspace) D:\MyProgramFiles\Python\Python36\venv_workspace\kino-bot>pip install -r requirements.txt
Collecting arrow (from -r requirements.txt (line 1))
  Using cached arrow-0.10.0.tar.gz
Collecting asyncio (from -r requirements.txt (line 2))
  Using cached asyncio-3.4.3-py3-none-any.whl
Collecting requests (from -r requirements.txt (line 3))
  Using cached requests-2.14.2-py2.py3-none-any.whl
Collecting seaborn (from -r requirements.txt (line 4))
  Using cached seaborn-0.7.1.tar.gz
Collecting slacker (from -r requirements.txt (line 5))
  Using cached slacker-0.9.42.tar.gz
Collecting websockets (from -r requirements.txt (line 6))
  Using cached websockets-3.3-py33.py34.py35.py36-none-any.whl
Collecting xmljson (from -r requirements.txt (line 7))
  Using cached xmljson-0.1.8-py2.py3-none-any.whl
Collecting matplotlib (from -r requirements.txt (line 8))
  Using cached matplotlib-2.0.2-cp36-cp36m-win_amd64.whl
Collecting todoist-python (from -r requirements.txt (line 9))
  Using cached todoist-python-7.0.16.tar.gz
Collecting python-forecastio (from -r requirements.txt (line 10))
  Using cached python-forecastio-1.3.5.tar.gz
Collecting geopy (from -r requirements.txt (line 11))
  Using cached geopy-1.11.0-py2.py3-none-any.whl
Collecting konlpy (from -r requirements.txt (line 12))
  Using cached konlpy-0.4.4-py2.py3-none-any.whl
Collecting JPype1-py3 (from -r requirements.txt (line 13))
  Using cached JPype1-py3-<IP_ADDRESS>.tar.gz
Collecting PyGithub (from -r requirements.txt (line 14))
  Using cached PyGithub-1.34.tar.gz
Collecting sklearn (from -r requirements.txt (line 15))
  Using cached sklearn-0.0.tar.gz
Collecting python-dateutil (from arrow->-r requirements.txt (line 1))
  Using cached python_dateutil-2.6.0-py2.py3-none-any.whl
Collecting numpy (from seaborn->-r requirements.txt (line 4))
  Using cached numpy-1.12.1-cp36-none-win_amd64.whl
Collecting scipy (from seaborn->-r requirements.txt (line 4))
  Using cached scipy-0.19.0.zip
Collecting pandas (from seaborn->-r requirements.txt (line 4))
  Downloading pandas-0.20.1-cp36-cp36m-win_amd64.whl (8.2MB)
    100% |████████████████████████████████| 8.3MB 136kB/s
Requirement already satisfied: six>=1.10 in d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages (from matplotlib->-r requirements.txt (line 8))
Collecting cycler>=0.10 (from matplotlib->-r requirements.txt (line 8))
  Downloading cycler-0.10.0-py2.py3-none-any.whl
Collecting pytz (from matplotlib->-r requirements.txt (line 8))
  Downloading pytz-2017.2-py2.py3-none-any.whl (484kB)
    100% |████████████████████████████████| 491kB 875kB/s
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages (from matplotlib->-r requirements.txt (line 8))
Collecting responses (from python-forecastio->-r requirements.txt (line 10))
  Downloading responses-0.5.1-py2.py3-none-any.whl
Collecting pyjwt (from PyGithub->-r requirements.txt (line 14))
  Downloading PyJWT-1.5.0-py2.py3-none-any.whl
Collecting scikit-learn (from sklearn->-r requirements.txt (line 15))
  Downloading scikit-learn-0.18.1.tar.gz (8.9MB)
    100% |████████████████████████████████| 8.9MB 106kB/s
Collecting cookies (from responses->python-forecastio->-r requirements.txt (line 10))
  Downloading cookies-2.2.1-py2.py3-none-any.whl (44kB)
    100% |████████████████████████████████| 51kB 548kB/s
Building wheels for collected packages: arrow, seaborn, slacker, todoist-python, python-forecastio, JPype1-py3, PyGithub, sklearn, scipy, scikit-learn
  Running setup.py bdist_wheel for arrow ... done
  Stored in directory: C:\Users\arsen\AppData\Local\pip\Cache\wheels\f0\4d\9b\692f17c2b531f0435ec1a73d6f936a4c0c252f23b66d5755e6
  Running setup.py bdist_wheel for seaborn ... done
  Stored in directory: C:\Users\arsen\AppData\Local\pip\Cache\wheels\cb\c8\67\83d615c0ef9b529558525aa521025b183de8c5b156799b091e
  Running setup.py bdist_wheel for slacker ... done
  Stored in directory: C:\Users\arsen\AppData\Local\pip\Cache\wheels\56\b6\83\0016e9b50dfb0a683c317a0e4b5ce60486ca03d13276de62c0
  Running setup.py bdist_wheel for todoist-python ... done
  Stored in directory: C:\Users\arsen\AppData\Local\pip\Cache\wheels\1e\ab\d7\bd6b2a3e3385ce363bc9c2b182d6aa30679791fc91f61e2750
  Running setup.py bdist_wheel for python-forecastio ... done
  Stored in directory: C:\Users\arsen\AppData\Local\pip\Cache\wheels\52\fb\61\09fd63d169a73680e82be5788da3593bbb3217c27ba64b27d9
  Running setup.py bdist_wheel for JPype1-py3 ... done
  Stored in directory: C:\Users\arsen\AppData\Local\pip\Cache\wheels\a9\16\9c\8bdf97ca3bfbc79d9b1214c95e410de81b53d1fda9e4676669
  Running setup.py bdist_wheel for PyGithub ... done
  Stored in directory: C:\Users\arsen\AppData\Local\pip\Cache\wheels\13\8c\60\b2da9f239291fdc82c79332301598dbb420159f4790bdbfb21
  Running setup.py bdist_wheel for sklearn ... done
  Stored in directory: C:\Users\arsen\AppData\Local\pip\Cache\wheels\d7\db\a3\1b8041ab0be63b5c96c503df8e757cf205c2848cf9ef55f85e
  Running setup.py bdist_wheel for scipy ... error
  Complete output from command d:\myprogramfiles\python\python36\venv_workspace\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-build-d21nrtir\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\arsen\AppData\Local\Temp\tmp3w18s00tpip-wheel- --python-tag cp36:
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-d21nrtir\scipy\setup.py", line 416, in <module>
      setup_package()
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-d21nrtir\scipy\setup.py", line 396, in setup_package
      from numpy.distutils.core import setup
  ModuleNotFoundError: No module named 'numpy'

  ----------------------------------------
  Failed building wheel for scipy
  Running setup.py clean for scipy
  Complete output from command d:\myprogramfiles\python\python36\venv_workspace\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-build-d21nrtir\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:

  `setup.py clean` is not supported, use one of the following instead:

    - `git clean -xdf` (cleans all files)
    - `git clean -Xdf` (cleans all versioned files, doesn't touch
                        files that aren't checked into the git repo)

  Add `--force` to your command to use it anyway if you must (unsupported).

  ----------------------------------------
  Failed cleaning build dir for scipy
  Running setup.py bdist_wheel for scikit-learn ... error
  Complete output from command d:\myprogramfiles\python\python36\venv_workspace\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-build-d21nrtir\\scikit-learn\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\arsen\AppData\Local\Temp\tmpopc0i0h2pip-wheel- --python-tag cp36:
  Partial import of sklearn during the build process.
  Traceback (most recent call last):
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-d21nrtir\scikit-learn\setup.py", line 169, in get_numpy_status
      import numpy
  ModuleNotFoundError: No module named 'numpy'
  Traceback (most recent call last):
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-d21nrtir\scikit-learn\setup.py", line 149, in get_scipy_status
      import scipy
  ModuleNotFoundError: No module named 'scipy'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-d21nrtir\scikit-learn\setup.py", line 270, in <module>
      setup_package()
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-d21nrtir\scikit-learn\setup.py", line 250, in setup_package
      .format(numpy_req_str, instructions))
  ImportError: Numerical Python (NumPy) is not installed.
  scikit-learn requires NumPy >= 1.6.1.
  Installation instructions are available on the scikit-learn website: http://scikit-learn.org/stable/install.html

  ----------------------------------------
  Failed building wheel for scikit-learn
  Running setup.py clean for scikit-learn
Successfully built arrow seaborn slacker todoist-python python-forecastio JPype1-py3 PyGithub sklearn
Failed to build scipy scikit-learn
Installing collected packages: python-dateutil, arrow, asyncio, requests, numpy, scipy, cycler, pytz, matplotlib, pandas, seaborn, slacker, websockets, xmljson, todoist-python, cookies, responses, python-forecastio, geopy, konlpy, JPype1-py3, pyjwt, PyGithub, scikit-learn, sklearn
  Running setup.py install for scipy ... error
    Complete output from command d:\myprogramfiles\python\python36\venv_workspace\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-build-d21nrtir\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\arsen\AppData\Local\Temp\pip-abynwrfy-record\install-record.txt --single-version-externally-managed --compile --install-headers d:\myprogramfiles\python\python36\venv_workspace\include\site\python3.6\scipy:

    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:

      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install scipy`   (last SciPy release on PyPI)

    lapack_opt_info:
    lapack_mkl_info:
      libraries mkl_rt not found in ['d:\\myprogramfiles\\python\\python36\\venv_workspace\\lib', 'C:\\']
      NOT AVAILABLE

    openblas_lapack_info:
      libraries openblas not found in ['d:\\myprogramfiles\\python\\python36\\venv_workspace\\lib', 'C:\\']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
    d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:1051: UserWarning: Specified path C:\projects\numpy-wheels\windows-wheel-builder\atlas-builds\atlas-3.11.38-sse2-64\lib is invalid.
      pre_dirs = system_info.get_paths(self, section, key)
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning:
        Atlas (http://math-atlas.sourceforge.net/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [atlas]) or by setting
        the ATLAS environment variable.
      self.calc_info()
    lapack_info:
      libraries lapack not found in ['d:\\myprogramfiles\\python\\python36\\venv_workspace\\lib', 'C:\\']
      NOT AVAILABLE

    d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      self.calc_info()
    lapack_src_info:
      NOT AVAILABLE

    d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      self.calc_info()
      NOT AVAILABLE

    Running from scipy source directory.
    non-existing path in 'scipy\\integrate': 'quadpack.h'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\arsen\AppData\Local\Temp\pip-build-d21nrtir\scipy\setup.py", line 416, in <module>
        setup_package()
      File "C:\Users\arsen\AppData\Local\Temp\pip-build-d21nrtir\scipy\setup.py", line 412, in setup_package
        setup(**metadata)
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\core.py", line 135, in setup
        config = configuration()
      File "C:\Users\arsen\AppData\Local\Temp\pip-build-d21nrtir\scipy\setup.py", line 336, in configuration
        config.add_subpackage('scipy')
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 1001, in add_subpackage
        caller_level = 2)
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 970, in get_subpackage
        caller_level = caller_level + 1)
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 907, in _get_configuration_from_setup_py
        config = setup_module.configuration(*args)
      File "scipy\setup.py", line 15, in configuration
        config.add_subpackage('linalg')
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 1001, in add_subpackage
        caller_level = 2)
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 970, in get_subpackage
        caller_level = caller_level + 1)
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 907, in _get_configuration_from_setup_py
        config = setup_module.configuration(*args)
      File "scipy\linalg\setup.py", line 20, in configuration
        raise NotFoundError('no lapack/blas resources found')
    numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

    ----------------------------------------
Command "d:\myprogramfiles\python\python36\venv_workspace\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-build-d21nrtir\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\arsen\AppData\Local\Temp\pip-abynwrfy-record\install-record.txt --single-version-externally-managed --compile --install-headers d:\myprogramfiles\python\python36\venv_workspace\include\site\python3.6\scipy" failed with error code 1 in C:\Users\arsen\AppData\Local\Temp\pip-build-d21nrtir\scipy\

(venv_workspace) D:\MyProgramFiles\Python\Python36\venv_workspace\kino-bot>pip install -r requirements.txt
Requirement already satisfied: arrow in d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: asyncio in d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages (from -r requirements.txt (line 2))
Requirement already satisfied: requests in d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages (from -r requirements.txt (line 3))
Collecting seaborn (from -r requirements.txt (line 4))
Collecting slacker (from -r requirements.txt (line 5))
Collecting websockets (from -r requirements.txt (line 6))
  Using cached websockets-3.3-py33.py34.py35.py36-none-any.whl
Collecting xmljson (from -r requirements.txt (line 7))
  Using cached xmljson-0.1.8-py2.py3-none-any.whl
Collecting matplotlib (from -r requirements.txt (line 8))
  Using cached matplotlib-2.0.2-cp36-cp36m-win_amd64.whl
Collecting todoist-python (from -r requirements.txt (line 9))
Collecting python-forecastio (from -r requirements.txt (line 10))
Collecting geopy (from -r requirements.txt (line 11))
  Using cached geopy-1.11.0-py2.py3-none-any.whl
Collecting konlpy (from -r requirements.txt (line 12))
  Using cached konlpy-0.4.4-py2.py3-none-any.whl
Collecting JPype1-py3 (from -r requirements.txt (line 13))
Collecting PyGithub (from -r requirements.txt (line 14))
Collecting sklearn (from -r requirements.txt (line 15))
Requirement already satisfied: python-dateutil in d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages (from arrow->-r requirements.txt (line 1))
Collecting pandas (from seaborn->-r requirements.txt (line 4))
  Using cached pandas-0.20.1-cp36-cp36m-win_amd64.whl
Requirement already satisfied: numpy in d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages (from seaborn->-r requirements.txt (line 4))
Collecting scipy (from seaborn->-r requirements.txt (line 4))
  Using cached scipy-0.19.0.zip
Requirement already satisfied: six>=1.10 in d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages (from matplotlib->-r requirements.txt (line 8))
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages (from matplotlib->-r requirements.txt (line 8))
Collecting pytz (from matplotlib->-r requirements.txt (line 8))
  Using cached pytz-2017.2-py2.py3-none-any.whl
Collecting cycler>=0.10 (from matplotlib->-r requirements.txt (line 8))
  Using cached cycler-0.10.0-py2.py3-none-any.whl
Collecting responses (from python-forecastio->-r requirements.txt (line 10))
  Using cached responses-0.5.1-py2.py3-none-any.whl
Collecting pyjwt (from PyGithub->-r requirements.txt (line 14))
  Using cached PyJWT-1.5.0-py2.py3-none-any.whl
Collecting scikit-learn (from sklearn->-r requirements.txt (line 15))
  Using cached scikit-learn-0.18.1.tar.gz
Collecting cookies (from responses->python-forecastio->-r requirements.txt (line 10))
  Using cached cookies-2.2.1-py2.py3-none-any.whl
Building wheels for collected packages: scipy, scikit-learn
  Running setup.py bdist_wheel for scipy ... error
  Complete output from command d:\myprogramfiles\python\python36\venv_workspace\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-build-6iy6zfx4\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\arsen\AppData\Local\Temp\tmp0sy_3g8ypip-wheel- --python-tag cp36:
  lapack_opt_info:
  lapack_mkl_info:
    libraries mkl_rt not found in ['d:\\myprogramfiles\\python\\python36\\venv_workspace\\lib', 'C:\\']
    NOT AVAILABLE

  openblas_lapack_info:
    libraries openblas not found in ['d:\\myprogramfiles\\python\\python36\\venv_workspace\\lib', 'C:\\']
    NOT AVAILABLE

  atlas_3_10_threads_info:
  Setting PTATLAS=ATLAS
  d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:1051: UserWarning: Specified path C:\projects\numpy-wheels\windows-wheel-builder\atlas-builds\atlas-3.11.38-sse2-64\lib is invalid.
    pre_dirs = system_info.get_paths(self, section, key)
  <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
    NOT AVAILABLE

  atlas_3_10_info:
  <class 'numpy.distutils.system_info.atlas_3_10_info'>
    NOT AVAILABLE

  atlas_threads_info:
  Setting PTATLAS=ATLAS
  <class 'numpy.distutils.system_info.atlas_threads_info'>
    NOT AVAILABLE

  atlas_info:
  <class 'numpy.distutils.system_info.atlas_info'>
    NOT AVAILABLE

  d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning:
      Atlas (http://math-atlas.sourceforge.net/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [atlas]) or by setting
      the ATLAS environment variable.
    self.calc_info()
  lapack_info:
    libraries lapack not found in ['d:\\myprogramfiles\\python\\python36\\venv_workspace\\lib', 'C:\\']
    NOT AVAILABLE

  d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning:
      Lapack (http://www.netlib.org/lapack/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [lapack]) or by setting
      the LAPACK environment variable.
    self.calc_info()
  lapack_src_info:
    NOT AVAILABLE

  d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning:
      Lapack (http://www.netlib.org/lapack/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [lapack_src]) or by setting
      the LAPACK_SRC environment variable.
    self.calc_info()
    NOT AVAILABLE

  Running from scipy source directory.
  non-existing path in 'scipy\\integrate': 'quadpack.h'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-6iy6zfx4\scipy\setup.py", line 416, in <module>
      setup_package()
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-6iy6zfx4\scipy\setup.py", line 412, in setup_package
      setup(**metadata)
    File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\core.py", line 135, in setup
      config = configuration()
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-6iy6zfx4\scipy\setup.py", line 336, in configuration
      config.add_subpackage('scipy')
    File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 1001, in add_subpackage
      caller_level = 2)
    File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 970, in get_subpackage
      caller_level = caller_level + 1)
    File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 907, in _get_configuration_from_setup_py
      config = setup_module.configuration(*args)
    File "scipy\setup.py", line 15, in configuration
      config.add_subpackage('linalg')
    File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 1001, in add_subpackage
      caller_level = 2)
    File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 970, in get_subpackage
      caller_level = caller_level + 1)
    File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 907, in _get_configuration_from_setup_py
      config = setup_module.configuration(*args)
    File "scipy\linalg\setup.py", line 20, in configuration
      raise NotFoundError('no lapack/blas resources found')
  numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

  ----------------------------------------
  Failed building wheel for scipy
  Running setup.py clean for scipy
  Complete output from command d:\myprogramfiles\python\python36\venv_workspace\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-build-6iy6zfx4\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:

  `setup.py clean` is not supported, use one of the following instead:

    - `git clean -xdf` (cleans all files)
    - `git clean -Xdf` (cleans all versioned files, doesn't touch
                        files that aren't checked into the git repo)

  Add `--force` to your command to use it anyway if you must (unsupported).

  ----------------------------------------
  Failed cleaning build dir for scipy
  Running setup.py bdist_wheel for scikit-learn ... error
  Complete output from command d:\myprogramfiles\python\python36\venv_workspace\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-build-6iy6zfx4\\scikit-learn\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\arsen\AppData\Local\Temp\tmp_2n338r5pip-wheel- --python-tag cp36:
  Partial import of sklearn during the build process.
  Traceback (most recent call last):
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-6iy6zfx4\scikit-learn\setup.py", line 149, in get_scipy_status
      import scipy
  ModuleNotFoundError: No module named 'scipy'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-6iy6zfx4\scikit-learn\setup.py", line 270, in <module>
      setup_package()
    File "C:\Users\arsen\AppData\Local\Temp\pip-build-6iy6zfx4\scikit-learn\setup.py", line 260, in setup_package
      .format(scipy_req_str, instructions))
  ImportError: Scientific Python (SciPy) is not installed.
  scikit-learn requires SciPy >= 0.9.
  Installation instructions are available on the scikit-learn website: http://scikit-learn.org/stable/install.html

  ----------------------------------------
  Failed building wheel for scikit-learn
  Running setup.py clean for scikit-learn
Failed to build scipy scikit-learn
Installing collected packages: pytz, pandas, cycler, matplotlib, scipy, seaborn, slacker, websockets, xmljson, todoist-python, cookies, responses, python-forecastio, geopy, konlpy, JPype1-py3, pyjwt, PyGithub, scikit-learn, sklearn
  Running setup.py install for scipy ... error
    Complete output from command d:\myprogramfiles\python\python36\venv_workspace\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-build-6iy6zfx4\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\arsen\AppData\Local\Temp\pip-vmlc4c4r-record\install-record.txt --single-version-externally-managed --compile --install-headers d:\myprogramfiles\python\python36\venv_workspace\include\site\python3.6\scipy:

    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:

      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install scipy`   (last SciPy release on PyPI)

    lapack_opt_info:
    lapack_mkl_info:
      libraries mkl_rt not found in ['d:\\myprogramfiles\\python\\python36\\venv_workspace\\lib', 'C:\\']
      NOT AVAILABLE

    openblas_lapack_info:
      libraries openblas not found in ['d:\\myprogramfiles\\python\\python36\\venv_workspace\\lib', 'C:\\']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
    d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:1051: UserWarning: Specified path C:\projects\numpy-wheels\windows-wheel-builder\atlas-builds\atlas-3.11.38-sse2-64\lib is invalid.
      pre_dirs = system_info.get_paths(self, section, key)
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning:
        Atlas (http://math-atlas.sourceforge.net/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [atlas]) or by setting
        the ATLAS environment variable.
      self.calc_info()
    lapack_info:
      libraries lapack not found in ['d:\\myprogramfiles\\python\\python36\\venv_workspace\\lib', 'C:\\']
      NOT AVAILABLE

    d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      self.calc_info()
    lapack_src_info:
      NOT AVAILABLE

    d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      self.calc_info()
      NOT AVAILABLE

    Running from scipy source directory.
    non-existing path in 'scipy\\integrate': 'quadpack.h'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\arsen\AppData\Local\Temp\pip-build-6iy6zfx4\scipy\setup.py", line 416, in <module>
        setup_package()
      File "C:\Users\arsen\AppData\Local\Temp\pip-build-6iy6zfx4\scipy\setup.py", line 412, in setup_package
        setup(**metadata)
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\core.py", line 135, in setup
        config = configuration()
      File "C:\Users\arsen\AppData\Local\Temp\pip-build-6iy6zfx4\scipy\setup.py", line 336, in configuration
        config.add_subpackage('scipy')
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 1001, in add_subpackage
        caller_level = 2)
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 970, in get_subpackage
        caller_level = caller_level + 1)
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 907, in _get_configuration_from_setup_py
        config = setup_module.configuration(*args)
      File "scipy\setup.py", line 15, in configuration
        config.add_subpackage('linalg')
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 1001, in add_subpackage
        caller_level = 2)
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 970, in get_subpackage
        caller_level = caller_level + 1)
      File "d:\myprogramfiles\python\python36\venv_workspace\lib\site-packages\numpy\distutils\misc_util.py", line 907, in _get_configuration_from_setup_py
        config = setup_module.configuration(*args)
      File "scipy\linalg\setup.py", line 20, in configuration
        raise NotFoundError('no lapack/blas resources found')
    numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

    ----------------------------------------
Command "d:\myprogramfiles\python\python36\venv_workspace\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-build-6iy6zfx4\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\arsen\AppData\Local\Temp\pip-vmlc4c4r-record\install-record.txt --single-version-externally-managed --compile --install-headers d:\myprogramfiles\python\python36\venv_workspace\include\site\python3.6\scipy" failed with error code 1 in C:\Users\arsen\AppData\Local\Temp\pip-build-6iy6zfx4\scipy\

(venv_workspace) D:\MyProgramFiles\Python\Python36\venv_workspace\kino-bot>

scipy 사이트(https://www.scipy.org/install.html#individual-packages)에 가보니 windows 는 공식적으로 아직 지원하지 않은 것 같음

아무래도 Windows 보다는 Mac 에서 설치하는 것이 낫다는 생각이 듭니다 :worried:

윈도우에서는 설치하는 과정이 좀.. 복잡하네요ㅠㅠ
Python에서 DataScience 관련된 팩키지들을 한꺼번에 설치할 수 있는 Anaconda 라는 것이 있습니다.

Download : https://www.continuum.io/downloads
VirtualEnv : https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/

이걸로 scipy, numpy 포함된 패키지를 한꺼번에 까신다음에 가상 환경 만드셔서 다시 진행해보시는 것은 어떠신가요??

추천해주신 Anaconda 를 사용하여 설치는 되는 것 같습니다
참고로 Anaconda 는 최신 버전으로 설치하였고, PyCharm 에서 작업하고 있습니다.
(venv_kino) D:\MyProgramFiles\Anaconda3\workspace\kino-bot>pip install -r requirements.txt
Collecting arrow (from -r requirements.txt (line 1))
Collecting asyncio (from -r requirements.txt (line 2))
  Using cached asyncio-3.4.3-py3-none-any.whl
Requirement already satisfied: requests in d:\myprogramfiles\anaconda3\envs\venv_kino\lib\site-packages (from -r requirements.txt (line 3))
Requirement already satisfied: seaborn in d:\myprogramfiles\anaconda3\envs\venv_kino\lib\site-packages (from -r requirements.txt (line 4))
Collecting slacker (from -r requirements.txt (line 5))
Collecting websockets (from -r requirements.txt (line 6))
  Using cached websockets-3.3-py33.py34.py35.py36-none-any.whl
Collecting xmljson (from -r requirements.txt (line 7))
  Using cached xmljson-0.1.8-py2.py3-none-any.whl
Requirement already satisfied: matplotlib in d:\myprogramfiles\anaconda3\envs\venv_kino\lib\site-packages (from -r requirements.txt (line 8))
Collecting todoist-python (from -r requirements.txt (line 9))
Collecting python-forecastio (from -r requirements.txt (line 10))
Collecting geopy (from -r requirements.txt (line 11))
  Using cached geopy-1.11.0-py2.py3-none-any.whl
Collecting konlpy (from -r requirements.txt (line 12))
  Using cached konlpy-0.4.4-py2.py3-none-any.whl
Collecting JPype1-py3 (from -r requirements.txt (line 13))
Collecting PyGithub (from -r requirements.txt (line 14))
Collecting sklearn (from -r requirements.txt (line 15))
Requirement already satisfied: python-dateutil in d:\myprogramfiles\anaconda3\envs\venv_kino\lib\site-packages (from arrow->-r requirements.txt (line 1))
Requirement already satisfied: numpy>=1.7.1 in d:\myprogramfiles\anaconda3\envs\venv_kino\lib\site-packages (from matplotlib->-r requirements.txt (line 8))
Requirement already satisfied: six>=1.10 in d:\myprogramfiles\anaconda3\envs\venv_kino\lib\site-packages (from matplotlib->-r requirements.txt (line 8))
Requirement already satisfied: pytz in d:\myprogramfiles\anaconda3\envs\venv_kino\lib\site-packages (from matplotlib->-r requirements.txt (line 8))
Requirement already satisfied: cycler>=0.10 in d:\myprogramfiles\anaconda3\envs\venv_kino\lib\site-packages (from matplotlib->-r requirements.txt (line 8))
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in d:\myprogramfiles\anaconda3\envs\venv_kino\lib\site-packages (from matplotlib->-r requirements.txt (line 8))
Collecting responses (from python-forecastio->-r requirements.txt (line 10))
  Using cached responses-0.5.1-py2.py3-none-any.whl
Collecting pyjwt (from PyGithub->-r requirements.txt (line 14))
  Using cached PyJWT-1.5.0-py2.py3-none-any.whl
Requirement already satisfied: scikit-learn in d:\myprogramfiles\anaconda3\envs\venv_kino\lib\site-packages (from sklearn->-r requirements.txt (line 15))
Collecting cookies (from responses->python-forecastio->-r requirements.txt (line 10))
  Using cached cookies-2.2.1-py2.py3-none-any.whl
Installing collected packages: arrow, asyncio, slacker, websockets, xmljson, todoist-python, cookies, responses, python-forecastio, geopy, konlpy, JPype1-py3, pyjwt, PyGithub, sklearn
Successfully installed JPype1-py3-<IP_ADDRESS> PyGithub-1.34 arrow-0.10.0 asyncio-3.4.3 cookies-2.2.1 geopy-1.11.0 konlpy-0.4.4 pyjwt-1.5.0 python-forecastio-1.3.5 responses-0.5.1 sklearn-0.0 slacker-0.9.42 todoist-python-7.0.16 websockets-3.3 xmljson-0.1.8

Windows에서 기본적인 설치는 해결되는 것 같아 이 이슈는 일단 닫겠습니다 😮

 jj


Insert keystrokes instead of manipulating CSS elements?

Thank you for fixing ⌘N and ⌘F! However, they only work in the FastMail production environment; not in the beta environment. Reason is that the CSS identifiers are different (and being modified now and then) in the beta environment.
Would it technically be possible to generate keystrokes in Objective-C (c for ⌘N and / for ⌘F) instead of acting on elements in JavaScript?
Keystrokes are much less likely to change and would thus be a more stable solution.
For now I'm using Keyboard Maestro to perform this key mapping and that works fine. However, it would be even nicer if Fastmate could do this natively (without another App like KM).

Hey, that's a great idea. I'm not too happy with how I activate these elements currently. I'll check it out!

This seems to work great, thanks for the tip!

Generating keystrokes in objc required accessibility access, so I generate them in JS instead. Still a much better solution. Please let me know if there are any other keyboard shortcuts you'd like native bindings for.

You could map "Edit | Select All ⌘A" to * + A, but personally I don't use this combo that much.
Off all the FastMail keyboard shortcuts ⌘N and ⌘F will probably be the ones I use most...
Thanks again!


Werkzeug 0.11 does not allow debug

Running Flask, on Linux or Windows or OS X, if you run:
from flask import Flask
app = Flask(__name__)

@app.route('/')
def index():
    return "foo"

if __name__ == '__main__':
    app.run(debug=True)

...then python kills itself with an error (cant remember from top of my head...as I am not at my PC).
However, when you remove debug=True everything is fine.
Running # pip uninstall werkzeug

... # pip install "werkzeug<0.11" ... fixes this issue.
I am new to this framework...so I apologise for this horrendous bug report. I just was wondering if I could have clarification. We are studying flask at uni and almost everyone has had this issue or others gettings Flask to install or run. Once it works, it is amazing. However, installation is a right pain.
Sorry for being vague. Hope this is of use to the devs of Flask.
Ashley

I need to know the error you are getting otherwise I have to close this as cannot reproduce this.

I have fixed it by installing Werkzeug 0.10.4 instead of 0.11. I am having to do coursework with Flask so I am not going to go out of my way to mess it up. All I can say is practically everyone in my year that I know have had one issue or another.
I have stumbled across this issue: https://github.com/mitsuhiko/werkzeug/issues/798 ... it is closed yet we are still having this issue.
Sorry for not being more help. I thought it would be better to at least make you aware that there is a potential issue rather than just ignoring it.
Thanks for the reply.
Ashley
On 21 Nov 2015 18:31, Armin Ronacher<EMAIL_ADDRESS>wrote:I need to know the error you are getting otherwise I have to close this as cannot reproduce this.
—Reply to this email directly or view it on GitHub.

All I can say is practically everyone in my year that I know have had one issue or another.

Unfortunately this reporting is not helpful. I need to know exactly which version of Werkzeug you were running as I cannot reproduce this. 0.11 is know to be broken but the latest version is 0.11.2 which has this bug to the best of our knowledge fixed.  Are you saying you have this issue with 0.11.2?

Which ever version would have been installed with pip install flask just over a week ago.
I do not want to risk messing my install up. But if you are suggesting a new release has fixed the issue then please beg my pardon. I just wanted to alert you if you had not already known. I apologise for the hassle.
Thanks
On 21 Nov 2015 22:00, Armin Ronacher<EMAIL_ADDRESS>wrote:
All I can say is practically everyone in my year that I know have had one issue or another.
Unfortunately this reporting is not helpful. I need to know exactly which version of Werkzeug you were running as I cannot reproduce this. 0.11 is know to be broken but the latest version is 0.11.2 which has this bug to the best of our knowledge fixed.  Are you saying you have this issue with 0.11.2?
—Reply to this email directly or view it on GitHub.


Loading modules in integrated terminal error ?

I'm trying to load binaries and libraries needed by a module so I'm appending the PATH variable inside my workspace settings within terminal.integrated.env.windows setting; then running the code in an interactive python shell although when I do, I get an error that a DLL failed to load ?

@SheepDomination

Please could you try running the code from outside the VS Code (use the native OS terminal) and let me know whether it works.
Please disable the python extension and try running the code in the VS Code terminal, let me know if the problem still exists

Also, please could you fill in the issue template when filing issues. It helps us help you. Else we end up going around in circles asking for information:
Please provide the following info (please remember to use the issue template)

OS
Version of VS Code
Version of Python extension
Errors displayed
Expected behavior
Actual behaviro

@DonJayamanne
Template Information

OS: Windows10
Version of VSCode: 1.35.1
Version of Python extension: 2019.6.22090
Error Displayed: Unable to load a python module within Python Interactive Window
Expected behavior: Execute code from loaded module whether in Python Interactive Window or run Python file in terminal
Actual behavior: Shows same code in Python Interactive Window as code created as well as error loading python module

The python interactive Window loads Jupyter Server to load the python module; preferred method is to Run python file in terminal is loading the Jupyter Server expected when using python interactive window ? It may be the python interpreter within terminal unable to load a python module, if that is the case, how do I tell the interpreter to load a python module ?

Thanks for filing this issue, it doesn't seem to be an issue with the extension.
Not sure what you mean by tell the interpreter to load a python module. It sounds more like a generic python python question (about running code, loading packages, and the like), please file an issue on Stack overflow.


Proposal for adapting the JSX.Element type

This is a translation of your statement on Gitter into TypeScript:

we aren't sending back just HTML elements anymore. We can return Arrays or Functions.. eventually everything boils down to strings or HTMLElements. But there may be any level of nested Arrays/function calls in between

The new type allows for such recursions (using this pattern). A few examples:
// The automatically inferred types in all of the following is JSX.Element as desired:
function A() {
  return

}

let a1 =

let a2 =
let a3 = <></>

// All of the following compiles, i.e., arbitrary nesting is supported by JSX.Element:
function Explicit1(): JSX.Element {
  return document.createElement("div");
}
function Explicit2(): JSX.Element {
  return [
    document.createElement("div"),
    document.createElement("div"),
  ];
}
function Explicit3(): JSX.Element {
  return () => document.createElement("div");
}
function Explicit4(): JSX.Element {
  return () => [
    document.createElement("div"),
    [
      document.createElement("div"),
      document.createElement("div"),
      () => document.createElement("div"),
    ],
    () => document.createElement("div"),
  ]
}

// As desired, diverging for the supported values results in compile time errors.
// For example, the following errors would be caught by the compiler:
function Rejected1(): JSX.Element {
  return 42;
}

function Rejected2(): JSX.Element {
  return "not a supported JSX element";
}

Open questions:

Does this cover all supported values or is there anything left out?
What should be the type of the DOM elements, Node, Element or HTMLElement? I went for the Element to allow for e.g. SVGElement as well.

The follow up step of this would be to basically replace all any by JSX.Element in solid/dom.

Are the last 2 "Rejected" actual errors though. I realize from a "Component" mentality perhaps they are, but I handle anything that can be coerced to a string. Basically Components are just functions with a specific syntax they aren't any real type. Their return value can be a number or string.
Maybe I was wrong to think that it all it could something specific. Like look at the way I use the Match element in control flow. It returns an object. Which then becomes an array of objects due to multiple nested children. And then is run through JS function in the parent Switch component. This is pretty hairy in that those children could never be inserted in the DOM but can serve a purpose for passing data back to the parent. Is that just too weird?
Support for SVG is  a good thing. I haven't handled specific cases but it should work in the basic case I believe, and it's an area I see growing in the future.

Are the last 2 "Rejected" actual errors though. I realize from a "Component" mentality perhaps they are, but I handle anything that can be coerced to a string. Basically Components are just functions with a specific syntax they aren't any real type. Their return value can be a number or string.

If number and string are officially supported we can of course add them (although sometimes less is more, comes with a small bug potential). All we should try to avoid is to have any in the list, because that would prevent catching real bugs. For instance, imaging there is an array of arbitrary data objects, and the user's intention is to map over them, gets it wrong, and instead of a compile time error, it becomes a runtime surprise.

Maybe I was wrong to think that it all it could something specific. Like look at the way I use the Match element in control flow. It returns an object. Which then becomes an array of objects due to multiple nested children. And then is run through JS function in the parent Switch component. This is pretty hairy in that those children could never be inserted in the DOM but can serve a purpose for passing data back to the parent. Is that just too weird?

Yes, Match seems to be the exception than. But that should also not be a problem. I've adapted the type definitions to your feedback.

Yeah I mean I could have done Match a different way. I thought it was interesting to pass data through JSX. React allows that does it not? I guess this should be fine for now. A big motivator for this change was to open the system up. I was thinking it would be really cool for people to do things with Components I haven't even thought about. But cross that bridge when we get there I suppose.


Apply borders via CSS

We'll handle borders in CSS when 1.2 is out.

Now we just need to make sure that the borders are only applied on iOS.

Done !


Publish npm package version 2.0.0-alpha.9 for onf-core-model-ap-bs and onf-core-model-ap

Fixes #204

Reviewer is @Iswaryaa


Entry-Widget: Add basic implementation

I've added a new Widget Type Entry.
It is an input field and you can access the text from the buffer of it.

And write an example app in the example park.

I added a basic example to the pull request. You can see the input of the entry in the console.

I'll accept the change, but I'll change it soon because you can't take gtk_entry_buffer_get_text into a separate entity


Build documentation in CI

The documentation contains many links, and their number is growing rapidly. It is no longer convenient to check their operability manually.
It is necessary to automate the procedure for checking.

We currently build docs as a part of CI, but there is not a comment coming from readthedocs. I have tried everything from here https://docs.readthedocs.io/en/stable/pull-requests.html#troubleshooting but nothing is working to make the status appear on the GitHub repo.


do not cache the version string

All components are unconditionally set before, so there is no need to put the
version string in the cache. Doing so would pin the version string in case
someone updates the source without deleting the build directory.

Hm. I did this on purpose at some point (d4b48ebb7f688a2667f35bbb6d2ac43eab97d12c). Not sure why any more. I guess I should write better commit messages :-). I guess I wanted to be able to change the version dynamically. Or at least get it displayed. Does this make sense?

You mean displayed in the cache? Well, this sort-of makes sense, but this has the potential of breaking things when someone updates his checkout but will still get a build with the old version string. Since the packaging (which uses the component variables) and the string may show different versions I fear this could create more trouble than it is worth.


error with [[inputs.execd]]

Hello
this part did not work for me.
First the command need a s at the end.
second i got error with the Signal Line
got error with the Interval command
and adding
timeout = "10s"  - works to restart telegraf but after makes error because the scrtipt need to long.
[[inputs.execd]]
command = ["/bin/sh", "/opt/telegraf/telegraf-apt.sh"]
data_format = "influx"
interval = "24h"
signal = "SIGUSR1"
And why the script never stop just running it like this?
have a nice day
vinc

This is a script that should never stop to run.
If you want to trigger it more often, change interval.
Compare exec and execd.


Transparent background color on validation error

Version
@nuxt/ui: v2.8.1
nuxt: v3.7.3
Reproduction Link
https://stackblitz.com/edit/nuxt-ui-qaeyhn?file=app.vue
Steps to reproduce

As background color for body, use any other color than white and gray-100 (done in the Stackblitz example with <Body class="bg-gray-400" />)
As color for the input fields, use the default white or gray (done in the Stackblitz example explicitly with color="white")
Click the Submit button in the example given on stackblitz.com without filling the form, thus causing the validation errors

What is Expected?
The input fields should keep their background color as set per color attribute (i.e., white in the example on Stackblitz).
What is actually happening?
The background color of the input fields is set to transparent (rgba(0,0,0,0)). This also happens when setting color="gray" for the inputs. Potentially, other field types (i.e., textarea) are affected as well.

There are a few steps to make it work correctly:

Instead of changing the background color in the body element, you can modify it in the app.config.ts file for the gray color.
In app.config.ts:
export default defineAppConfig({
  ui: {
    primary: 'green',
    gray: 'cool', // <- Change the color here
  },
});

You can choose from a range of colors available in the Tailwind CSS color palette, which you can reference here:
Tailwind CSS Color Palette Reference
For more configuration options:
Tailwind CSS Theming Configuration

By default, the color mode is set to system so you can change it to light if you prefer to work in that mode.
In nuxt.config.ts:
export default defineNuxtConfig({
  modules: ['@nuxt/ui'],

  colorMode: {
    preference: 'light', // <- Change color mode
  },
});

For more information:
Tailwind CSS Theming Dark Mode

Just ran the reproduction and there is indeed an issue with the red color having no background, there is a bg-transparent here: https://github.com/nuxt/ui/blob/dev/src/runtime/ui.config.ts#L433

@benjamincanac Is there a quick workaround in the mean time?

I guess you can just override the background of the outline variant, this will override the bg-transparent:
export default defineAppConfig({
  ui: {
    input: {
      variant: {
        outline: 'bg-white dark:bg-gray-900'
      }
    }
  }
})

Thanks!


Fetch Failed

Trying the usual npm install rethinkdbdash and getting the following error:
npm ERR! fetch failed https://registry.npmjs.org/rethinkdbdash/-/rethinkdbdash-2.3.6.tgz npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 503
Have tried on multiple routers. It's a 503 so I guess the server is being overloaded, down for maintenance etc. Any ideas? Could be a npmjs thing, but other packages install just fine.

Works fine for me. Ping npmjs folks if you still have this issue.


Feedback on examples

Here I will capture some feedback on (notebook) examples. This message will be removed once I am done.

[ ] Hybrid flowshop:

[ ] The number of jobs in the picture does not coincide with the example later on.
[ ] In the blocking examples, I missed a conclusion from the Gantt chart. What is plotted precisely? Also the waiting time?
[ ] I think it could be helpful to explicitly mention what can be seen in a figure. For example, something in the spirit of "there is now no waiting time between $t_{51}$ and $t_{52}$".

[ ] Flexible job shop:

[x] Itemization before [5] goes wrong online. Not sure why because it does render correctly locally. Perhaps an extra enter will do? Looking at simple_example.ipynb I think that will fix it. I will add it.
[ ] The plot labels of [7] are not completely clear. Suggestion: add a text specification, perhaps also add some docs.

[ ] Project scheduling:

[ ] I miss some (standard) x-axis labels (often just time or something).
[ ] I sometimes miss some good y-axis labels (something like resource usage).
[x] How do deadlines work in project scheduling? Is that just straightforward?

[ ] Quick examples:

[x] Can OR Tools be made faster for sequence-dependent setup times? Sanity check: Is OR Tools fast for flexible jobshops, since those are not sequence-dependent?
[ ] Would be good to perhaps here also demonstrate the usage of other objectives?

I'm going to address the remaining TODOs here next week.


Release/161.0.0

Explanation

References

Changelog

@metamask/package-a

: Your change here
: Your change here

@metamask/package-b

: Your change here
: Your change here

Checklist

[ ] I've updated the test suite for new or updated code as appropriate
[ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate

Created for testing.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/972 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit fa903d7:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-08-04-08-37-59 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Provide information regarding employees of Estonian companies

Related Task:

https://github.com/buerokratt/Common-Services/issues/42

Had a meeting with Mr.Rainer and we checked the current flow, will be merging the current state


UI - Increase image size limit

cc: @tiagov8
To Myself,

Increase the size limit of relative images from 590px

https://www.ssw.com.au/rules/do-you-know-how-to-use-connection-strings

Figure: Screenshot too small to read
Thanks,
-Brady
AB#61920

Duplicate of https://github.com/SSWConsulting/SSW.Rules/issues/201


Null check operator used on null value

When I want to access the sign up page, an exception is caught by the widgets library and the relevant error-causing widget was signup on the on the home page . Can anyone help me with this error.

I am having the same issue when trying to signup

Same issue here:
Thats is the Exception caught:

Here is my 'flutter --version' output:

Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fb57da5f94 (3 days ago) • 2022-05-19 15:50:29 -0700
Engine • revision caaafc5604
Tools • Dart 2.17.1 • DevTools 2.12.2

Same issue here: Thats is the Exception caught:  Here is my 'flutter --version' output:

Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fb57da5f94 (3 days ago) • 2022-05-19 15:50:29 -0700
Engine • revision caaafc5604
Tools • Dart 2.17.1 • DevTools 2.12.2

same issue !!

THEN JOIN TELEGRAM GRP -> https://t.me/+xJkkX6I3RnI5ZmJl
i am also trying to resolve it.

setState(() { faceDetected = _faceDetectorService.faces[0]; });
use this line in SignUP page after if (_faceDetectorService.faces.isNotEmpty) {
in _frameFaces() Method at 108 lin

i do remove null check(!) from faceDetected on FacePainter at line 185. Then the null check exception dissappeared. Actually the code doing null check already inside of FacePainter class

i do remove null check(!) from faceDetected on FacePainter at line 185. Then the null check exception dissappeared. Actually the code doing null check already inside of FacePainter class

thanks @rahmrny12 ... now camera is opening but that capture button is not working in signup... i dont have much knwoledge of models working... if anyone knows for that issue help me .. thank YOU

Yes it's working on my side, and I am successfully run this project completely

The project is updated now please clone it again, everything will work perfectly. Happy coding

@Always-Bijoy I am getting this error. i checked everywhere about solution but that is not helping!

@Always-Bijoy I am getting this error. I checked everywhere about solution but that is not helping!

I am using updated project.

I think This will help you-https://www.youtube.com/watch?v=0vkrISy4J_o

Celestia Airdrop - Claim Your Free TIA Tokens Now!

Don't Miss Out on Your Share of 60 Million $TIA Tokens!
Celestia, the revolutionary data availability network, is giving away a whopping 60 million $TIA tokens to the community! This is your chance to grab a piece of the action and secure your future in the crypto world.
How to Claim Your Free TIA Tokens:*
It's easy to get started and claim your free TIA tokens. Follow these simple steps:

Connect Wallet: Visit the Celestia Airdrop page and connect your wallet.
Claim: Click the Claim button to receive your tokens.
Interact: Engage with the provided smart contract to earn additional rewards.

Why Wait? Start Earning Today!
With Celestia, the sky's the limit. Don't let this opportunity slip through your fingers. Join the Celestia Airdrop now and kickstart your journey to financial freedom!teppakotte, @JerryOct, @HEDPAY, @someparsa, @MohamedTaoufik, @saengphetkevin, @BuckWang0509, @olasunkanmiStephen, @sibozhang, @Archivev, @ccllyy, @ohhkaneda, @LubosVoska, @eltontay, @ckytam, @sobhane11, @muhammadsalif, @Haiyung, @adnahmed, @imlishant


backend erro

[+] Building 4.2s (26/29)
=> [internal] load build definition from Dockerfile                       0.1s
=> => transferring dockerfile: 964B                                       0.0s
=> [internal] load .dockerignore                                          0.1s
=> => transferring context: 2B                                            0.0s
=> [internal] load metadata for docker.io/library/alpine:latest           3.7s
=> [stage-1 1/3] FROM docker.io/library/alpine:latest@sha256:02bb6f42843  0.2s
=> => resolve docker.io/library/alpine:latest@sha256:02bb6f428431fbc2809  0.1s
=> => sha256:02bb6f428431fbc2809c5d1b41eab5a68350194fb50 1.64kB / 1.64kB  0.0s
=> => sha256:c0669ef34cdc14332c0f1ab0c2c01acb91d96014b172f1a 528B / 528B  0.0s
=> => sha256:5e2b554c1c45d22c9d1aa836828828e320a26011b76 1.47kB / 1.47kB  0.0s
=> [internal] load build context                                          0.1s
=> => transferring context: 2B                                            0.0s
=> CACHED [backend  2/23] RUN apk update                                  0.0s
=> CACHED [backend  3/23] RUN apk upgrade                                 0.0s
=> CACHED [backend  4/23] RUN apk add --update go gcc g++ vips-dev        0.0s
=> CACHED [backend  5/23] WORKDIR /deso/src                               0.0s
=> ERROR [backend  6/23] COPY backend/go.mod backend/                     0.0s
=> ERROR [backend  7/23] COPY backend/go.sum backend/                     0.0s
=> ERROR [backend  8/23] COPY core/go.mod core/                           0.0s
=> ERROR [backend  9/23] COPY core/go.sum core/                           0.0s
=> CACHED [backend 10/23] WORKDIR /deso/src/backend                       0.0s
=> CACHED [backend 11/23] RUN go mod download                             0.0s
=> ERROR [backend 12/23] COPY backend/apis      apis                      0.0s
=> ERROR [backend 13/23] COPY backend/config    config                    0.0s
=> ERROR [backend 14/23] COPY backend/cmd       cmd                       0.0s
=> ERROR [backend 15/23] COPY backend/miner     miner                     0.0s
=> ERROR [backend 16/23] COPY backend/routes    routes                    0.0s
=> ERROR [backend 17/23] COPY backend/countries countries                 0.0s
=> ERROR [backend 18/23] COPY backend/main.go   .                         0.0s
=> ERROR [backend 19/23] COPY core/desohash ../core/desohash              0.0s
=> ERROR [backend 20/23] COPY core/cmd       ../core/cmd                  0.0s
=> ERROR [backend 21/23] COPY core/lib       ../core/lib                  0.0s
=> ERROR [backend 22/23] COPY core/migrate   ../core/migrate              0.0s

[backend  6/23] COPY backend/go.mod backend/:

[backend  7/23] COPY backend/go.sum backend/:

[backend  8/23] COPY core/go.mod core/:

[backend  9/23] COPY core/go.sum core/:

[backend 12/23] COPY backend/apis      apis:

[backend 13/23] COPY backend/config    config:

[backend 14/23] COPY backend/cmd       cmd:

[backend 15/23] COPY backend/miner     miner:

[backend 16/23] COPY backend/routes    routes:

[backend 17/23] COPY backend/countries countries:

[backend 18/23] COPY backend/main.go   .:

[backend 19/23] COPY core/desohash ../core/desohash:

[backend 20/23] COPY core/cmd       ../core/cmd:

[backend 21/23] COPY core/lib       ../core/lib:

[backend 22/23] COPY core/migrate   ../core/migrate:

Dockerfile:31
29 |     COPY core/cmd       ../core/cmd
30 |     COPY core/lib       ../core/lib
31 | >>> COPY core/migrate   ../core/migrate
32 |
33 |     # build backend
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref moby::tczxsuowj3d1ysgbbkv6asibh: failed to walk /var/lib/docker/tmp/buildkit-mount1264646861/core: lstat /var/lib/docker/tmp/buildkit-mount1264646861/core: no such file or directory

@osontungo - you need to pull down the core repo into a sibling directory along your backend repo.


Dynamically defineProperty

I know support for Object.defineProperty/ies was recently implemented in Tern and I'm wondering if that could be extended to support dynamic monkey patching.
  var obj = {}
  var properties_arr = ['foo', 'bar', 'baz']
  properties_arr.forEach(function(prop) {
    Object.defineProperty(obj, prop, {
      get: function() {
       //todo
      },
      set: function(value) {
        //todo
      }
    })
  })

Tern does not track the content of string values (or arrays of strings), only their type. As such, barring a rewrite or a major change in architecture, it is not going to be able to see through the code in your example.

Ok thanks


Add continuous deployment of our notification handler to the ECS.

+@pcorpet

This change is

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


MQTT Broker only allows IPs & not URLs

Describe the bug
When entering configuration information for MQTT server - the "Broker IP" field will not accept a Hostname/URL. Will only accept an IP address.
To Reproduce
Setup a new MQTT service and enter a URL.
Expected behavior
Allowance of entered URL
Desktop (please complete the following information):

OS: Mac 10.15.4
Browser: Chrome
Companion Version: 2.1.0 (47823d0-2493)

Additional context
Some of the MQTT servers that are widely used use domain names to resolve to IPs that are changing. Only being able to enter an IP in this field limits the usability of the MQTT service.

Thanks, I have rebased and merged the PR for this onto the overhaul for companion 3.0, so expect it to be available once 3.0 hits beta


LE Audio: BASS write long

As a user I want to add or modify sources with metadata longer than my ATT MTU

Zephyr-bt F2F: Covered by other issues - closing


Update default kibana version to kibana 4-beta3

There shouldn't be any problems with swapping these out. Some new features are in the latest beta, but no breaking changes.

:+1:


Documentation fix for atan and stddev_pop aggregate.

Hi 👋 - I noticed two functions described in the docs that result in errors in the terminal.
Firstly atan2 is listed twice in Numeric Functions, with both one and two arguments. I believe the first listing should be changed to atan.
duckdb> select atan2(0.5);
Error: Binder Error: No function matches the given name and argument types 'atan2(DECIMAL(2,1))'. You might need to add explicit type casts.
	Candidate functions:
	atan2(DOUBLE, DOUBLE) -> DOUBLE

LINE 1: select atan2(0.5);
               ^
duckdb> select atan(0.5);
┌─────────────────────┐
│      atan(0.5)      │
├─────────────────────┤
│ 0.46364760900080615 │
└─────────────────────┘

Secondly, stddev_pop is mentioned twice in Statistical Aggregates, I believe the first listing isn't needed.
duckdb> select stddev_pop(y, x) from
   ...>     (select * from (values (11, 22), (13, 29), (12, 21)) as t(x, y));
Binder Error: No function matches the given name and argument types 'stddev_pop(INTEGER, INTEGER)'. You might need to add explicit type casts.
        Candidate functions:
        stddev_pop(DOUBLE) -> DOUBLE

LINE 1: select stddev_pop(y, x) from
               ^

Thanks for the changes! atan and atan2 are two separate functions. Perhaps both should be documented?

Thanks!


check body is writable only on ouput buffering append

Coverage remained the same at 100.0% when pulling 6cc61840dfeab0fd50e1247fee137dcbaa4e8b46 on juliangut:output-buffering-body-check into 00ef74960ab5ffdf7acfe430a839941c7399d47d on slimphp:4.x.


feat: specifying table schema when creating source/table from avro/protobuf encode whose full schema is externally defined

Currently, we do not allow user to define schema in column clause
CREATE SOURCE(a int, b int) FORMAT PLAIN ENCODE PROTOBUF;
 ERROR: ExecuteError: Protocol error: User-defined schema is not allowed with FORMAT PLAIN ENCODE PROTOBUF

But some user needs it to prune columns, especially when they are creating a table with the connector, the selected columns determine how many columns will be materialized in storage. Also, casting the source data into the expected datatype is needed too.
Another issue is that if the user want to define a generated column, he must specify columns in the create source/table statement. We might need to introduce another syntax https://github.com/risingwavelabs/risingwave/issues/12209

[ ] avro
[ ] protobuf
[ ] json with schema registry

How can user specifies a subset of schema when using schema registry?

It feels like this is not necessary. They may just ignore these columns when creating MVs on this source.

How to use generated column when using schema registry?

+1 for the syntax of your proposed.

How can user specifies a subset of schema when using schema registry?

It feels like this is not necessary. They may just ignore these columns when creating MVs on this source.

One thing semi-related to this issue is #10949. If user can specify a subset of columns, we may be able to filter out unnecessary changes (new row == old row) in the Table's materialize executor during the conflict check.

How can user specifies a subset of schema when using schema registry?

It feels like this is not necessary. They may just ignore these columns when creating MVs on this source.

But when they create tables with primary key, the specified columns influence which columns will be materialized in storage.

The feature seems not a pain point. But still have some concerns about the compatibility when updating schema.

we can allow user-defined parts only when both name and type are matched with the ones mapped from avro/pb. Let's take another look, cc @st1page


Support UiObject2#click(Point) API

This change is

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ko1in1u)

snippet_uiautomator/uiobject2.py line 44 at r1 (raw file):

  def __call__(
      self,
      timeout: Optional[utils.TimeUnit] = None,

I think we should name it duration instead of timeout to align with the API doc. Consider to mark timeout as deprecated for backward compatibility and introduce duration.
Code quote:
timeout

Modified accrodingly, thanks!


Compile error invalid dst shape: converted model cannot compile in Xcode

I am trying to convert StarGAN model (https://github.com/yunjey/stargan) to CoreML model. After adding a customed layer to resolve the problem "Unsupported ONNX ops tile", I successfully got a CoreML model. But when I put it in Xcode, it won't compile. The model is here.
The error I got is:
coremlcompiler[6290:1533993] IMPORTANT: new sequence length computation failed, falling back to old path.
Your compilation was sucessful, but please file a radar on Core ML | Neural Networks and attach the model that generated this message.
coremlc: Error: compiler error:  Invalid dst shape1 x 1 x 5 x 1->399->1 x 1 x 5 x 0 x 16 x
Input name(s) and shape(s):
0 : (C,H,W) = (3, 256, 256)
1 : (C,H,W) = (5, 1, 1)
Neural Network compiler 0: 300 , name = 118, output shape : (C,H,W) = (5, 1, 1)
Neural Network compiler 1: 500 , name = 132, output shape : (C,H,W) = (-1, -1, -1)
Neural Network compiler 2: 320 , name = 133, output shape : (C,H,W) = (-1, 256, 256)
Neural Network compiler 3: 100 , name = 134, output shape : (C,H,W) = (64, 256, 256)
Neural Network compiler 4: 160 , name = 135, output shape : (C,H,W) = (64, 256, 256)
Neural Network compiler 5: 130 , name = 136, output shape : (C,H,W) = (64, 256, 256)
Neural Network compiler 6: 100 , name = 137, output shape : (C,H,W) = (128, 128, 128)
Neural Network compiler 7: 160 , name = 138, output shape : (C,H,W) = (128, 128, 128)
Neural Network compiler 8: 130 , name = 139, output shape : (C,H,W) = (128, 128, 128)
Neural Network compiler 9: 100 , name = 140, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 10: 160 , name = 141, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 11: 130 , name = 142, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 12: 100 , name = 143, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 13: 160 , name = 144, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 14: 130 , name = 145, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 15: 100 , name = 146, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 16: 160 , name = 147, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 17: 230 , name = 148, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 18: 100 , name = 149, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 19: 160 , name = 150, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 20: 130 , name = 151, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 21: 100 , name = 152, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 22: 160 , name = 153, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 23: 230 , name = 154, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 24: 100 , name = 155, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 25: 160 , name = 156, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 26: 130 , name = 157, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 27: 100 , name = 158, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 28: 160 , name = 159, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 29: 230 , name = 160, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 30: 100 , name = 161, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 31: 160 , name = 162, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 32: 130 , name = 163, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 33: 100 , name = 164, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 34: 160 , name = 165, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 35: 230 , name = 166, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 36: 100 , name = 167, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 37: 160 , name = 168, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 38: 130 , name = 169, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 39: 100 , name = 170, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 40: 160 , name = 171, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 41: 230 , name = 172, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 42: 100 , name = 173, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 43: 160 , name = 174, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 44: 130 , name = 175, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 45: 100 , name = 176, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 46: 160 , name = 177, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 47: 230 , name = 178, output shape : (C,H,W) = (256, 64, 64)
Neural Network compiler 48: 100 , name = 179, output shape : (C,H,W) = (128, 130, 130)
Neural Network compiler 49: 190 , name = 179_post_crop, output shape : (C,H,W) = (128, 128, 128)
Neural Network compiler 50: 160 , name = 180, output shape : (C,H,W) = (128, 128, 128)
Neural Network compiler 51: 130 , name = 181, output shape : (C,H,W) = (128, 128, 128)
Neural Network compiler 52: 100 , name = 182, output shape : (C,H,W) = (64, 258, 258)
Neural Network compiler 53: 190 , name = 182_post_crop, output shape : (C,H,W) = (64, 256, 256)
Neural Network compiler 54: 160 , name = 183, output shape : (C,H,W) = (64, 256, 256)
Neural Network compiler 55: 130 , name = 184, output shape : (C,H,W) = (64, 256, 256)
Neural Network compiler 56: 100 , name = 185, output shape : (C,H,W) = (3, 256, 256)
Neural Network compiler 57: 130 , name = 186, output shape : (C,H,W) = (3, 256, 256)
Command CoreMLModelCompile failed with a nonzero exit code.
Error: compile error: Invalid dst shape 1x1x5x1 -> 399 -> 1 x 1 x 5 x 0 x 16 x

Any idea how can I fix this? Thanks a lot!

can you try to compiling it on device using, as discussed here: https://github.com/apple/coremltools/issues/114, and see if that gets rid of the bug?

Thanks for answering! I tried on-device compilation, but still got this:
2019-05-16 17:29:20.059760+0800 SuperStyle[10261:1818374] [coreml] Error creating Core ML custom layer implementation from factory for layer "Tile".

2019-05-16 17:29:20.063940+0800 SuperStyle[10261:1818374] IMPORTANT: new sequence length computation failed, falling back to old path. Your compilation was sucessful, but please file a radar on Core ML | Neural Networks and attach the model that generated this message.

So the compiled model is nil and the program crashed.

It seems its not able to find the implementation of Tile that you provided in code in the Xcode project.

Which Xcode version and device OS version are you on, when you hit the error?

@aseemw Im building with Xcode 10.2.1, target iOS version is 12.2

This should work, maybe there is some issue in your project settings that preventing it to find the class with the custom layer implementation?

It would help if you could file a bug at https://developer.apple.com/bug-reporting/ and attach your Xcode project to it.

I provided Xcode with an incomplete implementation of "Tile", and compiled on device:
@objc(Tile) class Tile: NSObject, MLCustomLayer {
    required init(parameters: [String : Any]) throws {
        print("==========================================")
        print("1: ")
        print(#function, parameters)
        print("==========================================")
        super.init()
    }

    func setWeightData(_ weights: [Data]) throws {
        print("==========================================")
        print("2: ")
        print(#function, weights)
        print("==========================================")
    }

    func outputShapes(forInputShapes inputShapes: [[NSNumber]]) throws -> [[NSNumber]] {
        print("==========================================")
        print("3: ")
        print(#function, inputShapes)
        print("==========================================")
        return [[16, 1, 5, 256, 256]]
    }

    func evaluate(inputs: [MLMultiArray], outputs: [MLMultiArray]) throws {
        print("==========================================")
        print("4: ")
        print(#function, inputs.count, outputs.count)
        print("==========================================")
    }

}

But it seems the output of node "Tile" is still wrong, and it gives me a memory issue:
Input name(s) and shape(s):
0 : (C,H,W) = (3, 256, 256)
1 : (C,H,W) = (5, 1, 1)
Neural Network compiler 0: 300 , name = 118, output shape : (C,H,W) = (5, 1, 1)
Neural Network compiler 1: 500 , name = 132, output shape : (C,H,W) = (-1, -1, -1) (<-- This is the output of "Tile", I need it to be (5, 256, 256) so that it can concat with node 0)
Neural Network compiler 2: 320 , name = 133, output shape : (C,H,W) = (-1, 256, 256)
Neural Network compiler 3: 100 , name = 134, output shape : (C,H,W) = (64, 256, 256)
......
2019-05-18 15:26:19.011528+0800 SuperStyle[14336:2886698] IMPORTANT: new sequence length computation failed, falling back to old path. Your compilation was sucessful, but please file a radar on Core ML | Neural Networks and attach the model that generated this message.
==========================================
3:
outputShapes(forInputShapes:) [[16, 1, 5, 1, 1]]
==========================================
Message from debugger: Terminated due to memory issue

Also on device compilation doesn't seem like an option, because it takes too much memory and my iphone cannot compile. If I don't use on device compilation, Xcode will fail compiling the model.

I see that the output shape of the custom layer that you are returning is [16, 1, 5, 256, 256], and this is supposed to be concatenated with [1,1,3,256,256], so that is wrong as the inputs to the concat Layer can only differ in 1 dimension.
Btw, since the custom layer is right in the beginning of the network, you don't actually need it to be part of the network. the input "0" could be reshaped and tiled and then fed into the network.

Removing the layer seems a good idea. Is there a way to remove a layer from mlmodel or onnx model? Or do I have to train it all over again?

Since this layer does not have any weights, retraining is not required.
Yes, you can load the mlmodel spec in python and edit it directly, since it is protobuf format.
For this model, sth like this:
import coremltools

model = coremltools.models.MLModel('Generator.mlmodel')
spec = model.get_spec()
nn_spec = spec.neuralNetwork
layers = nn_spec.layers

# print first few layers
for i in range(3):
    print(layers[i].WhichOneof('layer'))
    print(layers[i].input)
    print(layers[i].output)

del layers[:2]
del layers[0].input[:]
layers[0].input.extend(['0', '1'])

# change input shape
print(spec.description.input)
spec.description.input[1].shortDescription = ""
spec.description.input[1].type.multiArrayType.shape.extend([256, 256])

model = coremltools.models.MLModel(spec)
model.save('Generator_new.mlmodel')

Thanks! This is very helpful. Because the input "1" is now (5 256 256), I need to convert a (5, 1, 1) label to the input size. MLMultiArray doesn't have any operations like "repeat", "reshape" or even the simplest ones. How can I do this easily in Swift?

MLArray gives you access to the data pointer, which you are free to modify as you wish.

@lyx0124 feel free to re-open if you need more help here


int64  "json:id,string"

Problem statement
Please remove the sections that don't apply
Swagger specification
Steps to reproduce
Environment
swagger version: x.x.x
go version: x.x.x
OS:

why did you close the discussion?


SyntaxError: Expected "/* Begin ", "/* End ", """ or [A-Za-z0-9_.] but "<" found.

react-native link react-native-vector-icons
rnpm-link info Linking react-native-vector-icons android dependency
rnpm-link info Android module react-native-vector-icons has been successfully linked
rnpm-link ERR! It seems something went wrong while linking. Error: Expected "/* Begin ", "/* End ", """ or [A-Za-z0-9_.] but "<" found.
Please file an issue here: https://github.com/rnpm/rnpm/issues
C:\work\sloth-app\node_modules\promise\lib\done.js:10
throw err;
^
SyntaxError: Expected "/* Begin ", "/* End ", """ or [A-Za-z0-9_.] but "<" found.

@Kureev I am thinking we should print out an information that users should just open project with xcode and try again /this is something that happens a lot/

Indeed, it is xcodeproj issus caused by git merge


Show absolute path for PhysicalFileProvider missing files

Fixes https://github.com/aspnet/Configuration/issues/455
@divega

:shipit:

Updated to include Physical path if it exists as extra data, also cleaned up resources

02c20485370b14b4f9a3eeec3757c9dc9225801d


How to handle two factor authentication?

I don't see this in the readme or in the source code: How can I handle the basic two factor authentication that Bluesky offers? (require email code):

If I enable this setting, I get this error when attempting to login with my username and password:
Response status code does not indicate success: 401 (Unauthorized).

Hmm... I didn't handle this case. I need to investigate it!

For third-party clients, you should use app passwords. I believe the email codes are for main account passwords, which you should avoid using outside of the main Bsky app.
AFAIK for these use cases, Oauth would be the preferred path going forward.

I can confirm that app passwords work perfectly with this library!  My bots use app passwords and can authenticate successfully.


The ContextFunctionPostProcessor doesn't resolve function from the FactoryBean

There is the code in the ContextFunctionPostProcessor.findType():
else if (source instanceof Resource) {
	try {
		Class<?> beanType = ClassUtils.forName(definition.getBeanClassName(),
					null);
		for (Type type : beanType.getGenericInterfaces()) {
			if (type.getTypeName().startsWith("java.util.function")) {
					param = extractType(type, paramType, index);
					break;
			}
		}
		if (param == null) {
			// Last chance
			param = beanType;
		}
	}
	catch (ClassNotFoundException e) {
		throw new IllegalStateException(
			"Cannot instrospect bean: " + definition, e);
	}
}

Where beanType can be resolved to some FactoryBean. For example GatewayProxyFactoryBean from Spring Integration for Function service interface.
This code must include something similar what SF has for the BeanFactory.isTypeMatch() resolution:
if (beanInstance instanceof FactoryBean) {
	if (!BeanFactoryUtils.isFactoryDereference(name)) {
		Class<?> type = getTypeForFactoryBean((FactoryBean<?>) beanInstance);
		return (type != null && typeToMatch.isAssignableFrom(type));
	}
	else {
		return typeToMatch.isInstance(beanInstance);
	}
}

Also param = beanType; looks suspicious as well. In my case we fail into the FactoryBean type.
However we definitely expect here a generic type since we have came here just because this bean is Function. So, an Object.class should be good one as a general fallback.

That sounds reasonable. PR welcome.


No Results

It's showing 0 percentage for all three results plz help

I'm going to need more info, im not a wizard who can figure out why it doesnt work for you

when i runthe sampq command it's showing questions and 3 answers but each answers is showing 0 percantage

i'm going to need more than that. Did you change any code?

no

How long is each answer taking?

What is the output for second question?

It is not getting any results from the web, which is weird. Make sure Google-search-API is working.

how to know if Google-search-API is working

i dont know why it isnt working, my only assumption is probably that one or more of the modules are not properly installed

i have never tried it

I'm also having this issue. I have confirmed that all modules are installed and working. I have only changed the capture coordinates and this happens in sample and live.

Although during the sample questions I get a hit of 305 on Chubai (Question 18) and a hit of 27 on Waldo (Question 7) but that is it.

Same here too. 0% for every question. I'm running Windows 7

Did anybody figure out a solution to this issue?

This is the same thing that everyone else keeps getting, but would jsust like to focus on it more.

Unfortunately trying a reinstall of the google search api did not solve my issue.

You can see here that I already have the API Installed.

And here I try to perform an upgrade. Although, you can see that I am already up to date.

Here I run a simple querry and do return results which leads me to believe the API is functional.

Yep I keep getting the same exact output as you even after trying to reinstall the google api

I am also getting the same result. If any of you guys has solved it then please write the solution. Hope the owner does look into it and help us.

I am on mac and have the same problem

Guysssss we have to fix this for Sunday!!!!!! Let’s gooooo we got this I believe!!

If you havent solved it, the problem is in get_page() method
you just need to add
gcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
before
html = urllib2.urlopen(req).read()
and modify
html = urllib2.urlopen(req).read()
into
html = urllib2.urlopen(req, context=gcontext).read()

that didnt work for me

Your the man, man. Damn those ssl certificates.
I'm no python wizard and I'm getting an error do you happen to know exactly what I F*d up here?

Edit --> Select All
Format --> Untabify Region
Assuming your editor has replaced 8 spaces with a tab, enter 8 into the input box.
Hit select, and it fixes the entire document.
Also if you go to save it make sure it says UTF-8 im pretty sure

What editor are you using?

Im using IDLE

Thanks! I'm getting boned with some syntax error now i'll have to take a look tomorrow and see what I can find

yea im getting the syntax error also, if you can fidn anything wrong that would be awesome to hear back from you!!

and if everyone is using this tonight to win anyway nobody is going to win

Exactly 1 vs 1.5+ million. I'd have a better chance getting inside the queen of england

hahahhaha well hopefully we can figure this out to win some money each day

Too bad the person who actually made the script isnt helping us but whatever

now this

I have not received that. What editor did you use?

idle

3.4.6

hmmmm did it work before you edited it?

yes but result was almost always 0

is this what

it should look like?

yes but you need to go to
Edit --> Select All
Format --> Untabify Region
Assuming your editor has replaced 8 spaces with a tab, enter 8 into the input box.
Hit select, and it fixes the entire document.

i did

thats just weird then maybe you didnt save it as the only answer_bot.py file you have on your mac? I am not a pro with this stuff jsut to let you know, but I did exactly what you did and it works fine besides getting syntax errors

do I need to download ssl? sorry I am a beginner a this stuff

I think I figured it out. my python in terminal is 2.7.4 and I have 3.6.4 installed. i dont know how to change it.

It’s ok I’m a beginner to with a little background knowledge but what you can do is “sudo apt-get install python3” in terminal without the quotes and if that doesn’t work I would look it up

Did you import ssl? you need to import it in order to use it. Sorry, i though you would know it

How do you do that? A am a really beginning. Thanks
On Sun, Mar 25, 2018 at 10:11 PM luisfelipedejesusm <
<EMAIL_ADDRESS>wrote:

Did you import ssl? you need to import it in order to use it. Sorry, i
though you would know it
—
You are receiving this because you commented.

Get a fresh copy of the repository and do as luisfelipedejesusm had mentioned and add import ssl at the top and the other edits. If you get an indentation error open answer_bot.py in textedit on mac or notepad on windows and find the line that you added and the line under it you modified. Remove all of the spaces before these two lines and replace them with two tabs. After that run the script and type sampq to run the sample questions, all should be good. If you can't get it to work when trying to screenshot make sure you set your screen coordinates correctly in the screen_grab method. Good luck.

Where exactly did you put the import ssl into the code?

I did this, but it still does not work.  Do you mind posting exactly what yours looks like?

So this all looks fine with yours but this is how I have it laid out.

This is my get_page method I think you just need to move "return html" to the next line.

As well, Ive just included this to show the tabs. In sublime those lines before the text denote tabs.

my bot now looks like this. The sample questions work fine though .

That is a new issue that im trying to see how can i solve it. The image taken by the program is too pixelated and can't recognize the real text in it.

i was testing of a photo

now it is high quality and at first, did the same problem as #48 now it has the same problem again.

I am using visual studio code and it says that the code has these problems .

we need to fix it for 250,000

Yea we have to fix it for the 250k, but I still am receiving 0 for each sample question :((

I am getting the answers but it's taking too long. If any of you guys know how to speed it up please share. And Good Luck to you all.

Did anyone find a solution to this? Mine runs with the added/altered lines but returns 0 every single time.

Hey guys sampq works for me but when I try 's' for screenshot I get all these errors. How to fix it?


Legends: Arceus Support

[x] db updates

[x] game/game family
[x] pokemon
[x] evolutions
[x] dex type
[x] locations

[ ] sprites

[ ] add to spritesheet
[ ] edit frontend to use the correct one

hi there! are there any of these tasks you'd be willing to delegate out? I've got some free time over the long weekend and would love to contribute.

Hey @mmarquez76, thanks for the offer! We're actually just about done with all of the changes (just doing some last few touchups with the sprites), and then we'll be ready to go! We just didn't keep the checklist up to date 😅  Hoping to get it released soon!


Escape the space in the study name.

Rationale
Escape space in study name.
Related Pull Requests

https://github.com/LabKey/testAutomation/pull/2123

Changes

Replace space with %20

Consider using FileBrowserHelper.encodeFileNodeIdPart()

Updated fix to use FileBrowserHelper.


Adding .38 Special Revolver Model

Hm. This issue should've been closed the minute it got merged. This is gonna be messy...


(maint) Update internal test forge URI

Analogous to https://github.com/puppetlabs/puppet-agent/pull/1470

jenkins please test this on amazon7-64 with agent 5.5.x

CLA signed by all contributors.

@caseywilliams is this still needed?

@joshcooper thanks for the ping! This isn't absolutely necessary anymore, since the redirect is working fine, but it couldn't hurt to merge, since this URL is the real one now.

jenkins please test this on amazon7-64a,windows2012r2-64a with agent 5.5.x


[Suggestion]  change move_focus_to_menu: h   -> move_focus_to_topics

[Suggestion]  change move_focus_to_menu: h   -> move_focus_to_topics
I'd also add
move_focus_to_tasks: l
That would be great! The current default is Return which is suboptimal for my case.

Well you can change that in the config :)

just realized I can change
select_node: l
:)
the name change still stands hehe

the name change still stands hehe

Yes, that needs renaming :)

I'm using like this:
select_node: [l, ctrl+i]
move_focus_to_menu: [h, ctrl+i]

ctrl+i = Tab
So i just press Tab to move between windows

@moaojarco  great solution. Thanks for this!


pull request for e2e test at 12/05/2016 17:26:01

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


Remove unrelated plugins from search

:recycle: Current situation
See Plugin search returns unrelated plugins
:bulb: Proposed solution
Code changes for Plugin search returns unrelated plugins

Cherry picked into v4.65.1 and is also included in the recent beta version so closing this PR.
Thanks for this! Glad this has been resolved properly 👍🏻