Re-worked setup.py to avoid the need for separate/non-standard build commands

This PR closes #2481 by standardising the build/develop/install process used by iris' setup.
This change is necessary if we ever want pip install scitools-iris to function correctly (without the need for extra python setup.py pyke_rules/std_names calls).
I've tested this quite extensively on a python3 environment on OSX using both the source repository and a build sdist.

For my own record as much as anything else:
python setup.py pyke_rules continues to behave as expected:
(iris_dev) pelson@~/dev/scitools/iris> python
Python 2.7.11 |Continuum Analytics, Inc.| (default, Dec  6 2015, 18:57:58)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>>
(iris_dev) pelson@~/dev/scitools/iris> rm -rf lib/iris/fileformats/_pyke_rules/compiled_krb
(iris_dev) pelson@~/dev/scitools/iris> python setup.py pyke_rules
running pyke_rules
writing [iris.fileformats._pyke_rules.compiled_krb]/fc_rules_cf_fc.py
writing [iris.fileformats._pyke_rules.compiled_krb]/compiled_pyke_files.py
(iris_dev) pelson@~/dev/scitools/iris> ll lib/iris/fileformats/_pyke_rules/compiled_krb
total 400
-rw-r--r--  1 pelson  staff   83375  2 Nov 11:50 fc_rules_cf_fc.pyc
-rw-r--r--  1 pelson  staff  110014  2 Nov 11:50 fc_rules_cf_fc.py
-rw-r--r--  1 pelson  staff     445  2 Nov 11:50 compiled_pyke_files.py
-rw-r--r--  1 pelson  staff     176  2 Nov 11:50 __init__.pyc
-rw-r--r--  1 pelson  staff       0  2 Nov 11:50 __init__.py

python setup.py install is doing the right thing:
(iris_dev) pelson@~/dev/scitools/iris> rm -rf build; rm -rf lib/iris/fileformats/_pyke_rules/comp* lib/iris/std_names.py
(iris_dev) pelson@~/dev/scitools/iris> pip uninstall -y iris
Uninstalling Iris-2.0a0:
  Successfully uninstalled Iris-2.0a0
(iris_dev) pelson@~/dev/scitools/iris> python setup.py install > build.log 2>&1

(iris_dev) pelson@~/dev/scitools/iris> cat build.log | grep -v tests | grep -v palette
running install
running bdist_egg
running egg_info
writing lib/Iris.egg-info/PKG-INFO
writing top-level names to lib/Iris.egg-info/top_level.txt
writing dependency_links to lib/Iris.egg-info/dependency_links.txt
writing pbr to lib/Iris.egg-info/pbr.json
reading manifest file 'lib/Iris.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '__pycache__' found anywhere in distribution
writing manifest file 'lib/Iris.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.5-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/iris
copying lib/iris/__init__.py -> build/lib/iris
copying lib/iris/_concatenate.py -> build/lib/iris
copying lib/iris/_constraints.py -> build/lib/iris
copying lib/iris/_cube_coord_common.py -> build/lib/iris
copying lib/iris/_data_manager.py -> build/lib/iris
copying lib/iris/_deprecation.py -> build/lib/iris
copying lib/iris/_lazy_data.py -> build/lib/iris
copying lib/iris/_merge.py -> build/lib/iris
copying lib/iris/aux_factory.py -> build/lib/iris
copying lib/iris/config.py -> build/lib/iris
copying lib/iris/coord_categorisation.py -> build/lib/iris
copying lib/iris/coord_systems.py -> build/lib/iris
copying lib/iris/coords.py -> build/lib/iris
copying lib/iris/cube.py -> build/lib/iris
copying lib/iris/exceptions.py -> build/lib/iris
copying lib/iris/iterate.py -> build/lib/iris
copying lib/iris/pandas.py -> build/lib/iris
copying lib/iris/plot.py -> build/lib/iris
copying lib/iris/quickplot.py -> build/lib/iris
copying lib/iris/symbols.py -> build/lib/iris
copying lib/iris/time.py -> build/lib/iris
copying lib/iris/util.py -> build/lib/iris
creating build/lib/iris/analysis
copying lib/iris/analysis/__init__.py -> build/lib/iris/analysis
copying lib/iris/analysis/_area_weighted.py -> build/lib/iris/analysis
copying lib/iris/analysis/_interpolation.py -> build/lib/iris/analysis
copying lib/iris/analysis/_regrid.py -> build/lib/iris/analysis
copying lib/iris/analysis/_scipy_interpolate.py -> build/lib/iris/analysis
copying lib/iris/analysis/calculus.py -> build/lib/iris/analysis
copying lib/iris/analysis/cartography.py -> build/lib/iris/analysis
copying lib/iris/analysis/geometry.py -> build/lib/iris/analysis
copying lib/iris/analysis/maths.py -> build/lib/iris/analysis
copying lib/iris/analysis/stats.py -> build/lib/iris/analysis
copying lib/iris/analysis/trajectory.py -> build/lib/iris/analysis
creating build/lib/iris/experimental
copying lib/iris/experimental/__init__.py -> build/lib/iris/experimental
copying lib/iris/experimental/animate.py -> build/lib/iris/experimental
copying lib/iris/experimental/concatenate.py -> build/lib/iris/experimental
copying lib/iris/experimental/equalise_cubes.py -> build/lib/iris/experimental
copying lib/iris/experimental/raster.py -> build/lib/iris/experimental
copying lib/iris/experimental/regrid.py -> build/lib/iris/experimental
copying lib/iris/experimental/regrid_conservative.py -> build/lib/iris/experimental
copying lib/iris/experimental/stratify.py -> build/lib/iris/experimental
copying lib/iris/experimental/ugrid.py -> build/lib/iris/experimental
copying lib/iris/experimental/um.py -> build/lib/iris/experimental
creating build/lib/iris/fileformats
copying lib/iris/fileformats/__init__.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/_ff.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/_ff_cross_references.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/_pp_lbproc_pairs.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/_structured_array_identification.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/abf.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/cf.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/dot.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/name.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/name_loaders.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/netcdf.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/nimrod.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/nimrod_load_rules.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/pp.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/pp_load_rules.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/pp_save_rules.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/rules.py -> build/lib/iris/fileformats
copying lib/iris/fileformats/um_cf_map.py -> build/lib/iris/fileformats
creating build/lib/iris/io
copying lib/iris/io/__init__.py -> build/lib/iris/io
copying lib/iris/io/format_picker.py -> build/lib/iris/io
creating build/lib/iris/fileformats/_pyke_rules
copying lib/iris/fileformats/_pyke_rules/__init__.py -> build/lib/iris/fileformats/_pyke_rules
creating build/lib/iris/fileformats/um
copying lib/iris/fileformats/um/__init__.py -> build/lib/iris/fileformats/um
copying lib/iris/fileformats/um/_fast_load.py -> build/lib/iris/fileformats/um
copying lib/iris/fileformats/um/_fast_load_structured_fields.py -> build/lib/iris/fileformats/um
copying lib/iris/fileformats/um/_ff_replacement.py -> build/lib/iris/fileformats/um
copying lib/iris/fileformats/um/_optimal_array_structuring.py -> build/lib/iris/fileformats/um
creating build/lib/iris/etc
copying lib/iris/etc/site.cfg -> build/lib/iris/etc
copying lib/iris/etc/site.cfg.template -> build/lib/iris/etc
copying lib/iris/fileformats/_pyke_rules/fc_rules_cf.krb -> build/lib/iris/fileformats/_pyke_rules
/Users/pelson/miniconda/envs/iris_dev/bin/python tools/generate_std_names.py etc/cf-standard-name-table.xml build/lib/iris/std_names.py
/Users/pelson/miniconda/envs/iris_dev/bin/python -c import os; from pyke import knowledge_engine; from pyke.target_pkg import target_pkg; target_pkg.load = lambda *args, **kwargs: None; os.chdir(os.path.join('build/lib', 'iris', 'fileformats', '_pyke_rules')); knowledge_engine.engine('')
writing [compiled_krb]/fc_rules_cf_fc.py
writing [compiled_krb]/compiled_pyke_files.py
creating build/bdist.macosx-10.5-x86_64
creating build/bdist.macosx-10.5-x86_64/egg
creating build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/_concatenate.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/_constraints.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/_cube_coord_common.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/_data_manager.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/_deprecation.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/_lazy_data.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/_merge.py -> build/bdist.macosx-10.5-x86_64/egg/iris
creating build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/_area_weighted.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/_interpolation.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/_regrid.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/_scipy_interpolate.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/calculus.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/cartography.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/geometry.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/maths.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/stats.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/analysis/trajectory.py -> build/bdist.macosx-10.5-x86_64/egg/iris/analysis
copying build/lib/iris/aux_factory.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/config.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/coord_categorisation.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/coord_systems.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/coords.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/COPYING -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/COPYING.LESSER -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/cube.py -> build/bdist.macosx-10.5-x86_64/egg/iris
creating build/bdist.macosx-10.5-x86_64/egg/iris/etc
copying build/lib/iris/etc/site.cfg -> build/bdist.macosx-10.5-x86_64/egg/iris/etc
copying build/lib/iris/etc/site.cfg.template -> build/bdist.macosx-10.5-x86_64/egg/iris/etc
copying build/lib/iris/exceptions.py -> build/bdist.macosx-10.5-x86_64/egg/iris
creating build/bdist.macosx-10.5-x86_64/egg/iris/experimental
copying build/lib/iris/experimental/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/iris/experimental
copying build/lib/iris/experimental/animate.py -> build/bdist.macosx-10.5-x86_64/egg/iris/experimental
copying build/lib/iris/experimental/concatenate.py -> build/bdist.macosx-10.5-x86_64/egg/iris/experimental
copying build/lib/iris/experimental/equalise_cubes.py -> build/bdist.macosx-10.5-x86_64/egg/iris/experimental
copying build/lib/iris/experimental/raster.py -> build/bdist.macosx-10.5-x86_64/egg/iris/experimental
copying build/lib/iris/experimental/regrid.py -> build/bdist.macosx-10.5-x86_64/egg/iris/experimental
copying build/lib/iris/experimental/regrid_conservative.py -> build/bdist.macosx-10.5-x86_64/egg/iris/experimental
copying build/lib/iris/experimental/stratify.py -> build/bdist.macosx-10.5-x86_64/egg/iris/experimental
copying build/lib/iris/experimental/ugrid.py -> build/bdist.macosx-10.5-x86_64/egg/iris/experimental
copying build/lib/iris/experimental/um.py -> build/bdist.macosx-10.5-x86_64/egg/iris/experimental
creating build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/_ff.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/_ff_cross_references.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/_pp_lbproc_pairs.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
creating build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/_pyke_rules
copying build/lib/iris/fileformats/_pyke_rules/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/_pyke_rules
copying build/lib/iris/fileformats/_pyke_rules/fc_rules_cf.krb -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/_pyke_rules
copying build/lib/iris/fileformats/_structured_array_identification.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/abf.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/cf.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/dot.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/name.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/name_loaders.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/netcdf.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/nimrod.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/nimrod_load_rules.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/pp.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/pp_load_rules.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/pp_save_rules.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
copying build/lib/iris/fileformats/rules.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
creating build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um
copying build/lib/iris/fileformats/um/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um
copying build/lib/iris/fileformats/um/_fast_load.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um
copying build/lib/iris/fileformats/um/_fast_load_structured_fields.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um
copying build/lib/iris/fileformats/um/_ff_replacement.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um
copying build/lib/iris/fileformats/um/_optimal_array_structuring.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um
copying build/lib/iris/fileformats/um_cf_map.py -> build/bdist.macosx-10.5-x86_64/egg/iris/fileformats
creating build/bdist.macosx-10.5-x86_64/egg/iris/io
copying build/lib/iris/io/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/iris/io
copying build/lib/iris/io/format_picker.py -> build/bdist.macosx-10.5-x86_64/egg/iris/io
copying build/lib/iris/iterate.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/pandas.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/plot.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/quickplot.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/std_names.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/symbols.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/time.py -> build/bdist.macosx-10.5-x86_64/egg/iris
copying build/lib/iris/util.py -> build/bdist.macosx-10.5-x86_64/egg/iris
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/_concatenate.py to _concatenate.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/_constraints.py to _constraints.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/_cube_coord_common.py to _cube_coord_common.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/_data_manager.py to _data_manager.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/_deprecation.py to _deprecation.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/_lazy_data.py to _lazy_data.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/_merge.py to _merge.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/_area_weighted.py to _area_weighted.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/_interpolation.py to _interpolation.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/_regrid.py to _regrid.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/_scipy_interpolate.py to _scipy_interpolate.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/calculus.py to calculus.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/cartography.py to cartography.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/geometry.py to geometry.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/maths.py to maths.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/stats.py to stats.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/analysis/trajectory.py to trajectory.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/aux_factory.py to aux_factory.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/config.py to config.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/coord_categorisation.py to coord_categorisation.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/coord_systems.py to coord_systems.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/coords.py to coords.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/cube.py to cube.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/exceptions.py to exceptions.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/experimental/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/experimental/animate.py to animate.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/experimental/concatenate.py to concatenate.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/experimental/equalise_cubes.py to equalise_cubes.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/experimental/raster.py to raster.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/experimental/regrid.py to regrid.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/experimental/regrid_conservative.py to regrid_conservative.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/experimental/stratify.py to stratify.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/experimental/ugrid.py to ugrid.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/experimental/um.py to um.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/_ff.py to _ff.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/_ff_cross_references.py to _ff_cross_references.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/_pp_lbproc_pairs.py to _pp_lbproc_pairs.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/_pyke_rules/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/_structured_array_identification.py to _structured_array_identification.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/abf.py to abf.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/cf.py to cf.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/dot.py to dot.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/name.py to name.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/name_loaders.py to name_loaders.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/netcdf.py to netcdf.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/nimrod.py to nimrod.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/nimrod_load_rules.py to nimrod_load_rules.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/pp.py to pp.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/pp_load_rules.py to pp_load_rules.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/pp_save_rules.py to pp_save_rules.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/rules.py to rules.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um/_fast_load.py to _fast_load.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um/_fast_load_structured_fields.py to _fast_load_structured_fields.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um/_ff_replacement.py to _ff_replacement.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um/_optimal_array_structuring.py to _optimal_array_structuring.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/fileformats/um_cf_map.py to um_cf_map.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/io/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/io/format_picker.py to format_picker.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/iterate.py to iterate.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/pandas.py to pandas.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/plot.py to plot.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/quickplot.py to quickplot.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/std_names.py to std_names.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/symbols.py to symbols.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/time.py to time.pyc
byte-compiling build/bdist.macosx-10.5-x86_64/egg/iris/util.py to util.pyc
creating build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying lib/Iris.egg-info/PKG-INFO -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying lib/Iris.egg-info/SOURCES.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying lib/Iris.egg-info/dependency_links.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying lib/Iris.egg-info/not-zip-safe -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying lib/Iris.egg-info/pbr.json -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying lib/Iris.egg-info/top_level.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
creating 'dist/Iris-2.0a0-py2.7.egg' and adding 'build/bdist.macosx-10.5-x86_64/egg' to it
removing 'build/bdist.macosx-10.5-x86_64/egg' (and everything under it)
Processing Iris-2.0a0-py2.7.egg
creating /Users/pelson/miniconda/envs/iris_dev/lib/python2.7/site-packages/Iris-2.0a0-py2.7.egg
Extracting Iris-2.0a0-py2.7.egg to /Users/pelson/miniconda/envs/iris_dev/lib/python2.7/site-packages
Adding Iris 2.0a0 to easy-install.pth file

Installed /Users/pelson/miniconda/envs/iris_dev/lib/python2.7/site-packages/Iris-2.0a0-py2.7.egg
Processing dependencies for Iris==2.0a0
Finished processing dependencies for Iris==2.0a0

To confirm:
(iris_dev) pelson@~/dev/scitools/iris> ll lib/iris/fileformats/_pyke_rules/com*
ls: lib/iris/fileformats/_pyke_rules/com*: No such file or directory
(iris_dev) pelson@~/dev/scitools/iris> ll /Users/pelson/miniconda/envs/iris_dev/lib/python2.7/site-packages/Iris-2.0a0-py2.7.egg/iris/fileformats/_pyke_rules/com*
ls: /Users/pelson/miniconda/envs/iris_dev/lib/python2.7/site-packages/Iris-2.0a0-py2.7.egg/iris/fileformats/_pyke_rules/com*: No such file or directory

Oh... well, at least I can reproduce the problem.... 😉

Woops. Looks like it is being put in the CWD:
(iris_dev) pelson@~/dev/scitools/iris> ll compiled_krb
total 224
-rw-r--r--  1 pelson  staff       0  2 Nov 12:08 __init__.py
-rw-r--r--  1 pelson  staff  110053  2 Nov 12:09 fc_rules_cf_fc.py
-rw-r--r--  1 pelson  staff     455  2 Nov 12:09 compiled_pyke_files.py

Yeah, the problem appears to be with the python setup.py install ... and it might also be linked to the fact that the tests are running against the installed version not the source version, so python setup.py pyke_rules is doing nothing.

yup, it puts it in the cwd!

Bing. Found it 🔥 🚒  - where pyke puts the compiled files depends on the cwd at import time, not at run time!
Fix incoming.

There are loads of tests being skipped in this PR ⚠ looks like test data isn't being found.

Thanks for the pointer. This will be because our MANIFEST.in hasn't been tested before! 😱
I'll get on to fixing that now - I suspect we are simply missing the config file...

So - think I've found the issue. We try to put a config in build/lib-*/iris/etc/site.cfg, but really we should be putting it into the source and then installing it.
Latest commit does this.

Okay, I'll take a peek at your latest changes now that the tests are all passing ...

Tests still seem to be skipping. I'm digging now...

@pelson The site.cfg was included in the old setup.py explicitly under package_data ... shouldn't the MANIFEST.in now reflect this with recursive-include lib/iris/etc *.txt *.cfg ?

Just discovered that too. Thanks @bjlittle.

Let's see how that does... 😄

@pelson Infact, if that works then we should really change it to be recursive-include lib/iris/etc *.cfg and drop the *.txt as the lib/iris/etc/*.txt rules have now all been removed as a result of the v2.0.0 deprecation purge

Looks like it has done the trick. @dkillick, would you mind casting your eye over this and giving it a 👍  once happy.
I'll leave it to @bjlittle to do the actual merge.

if that works then we should really change it to be recursive-include lib/iris/etc *.cfg and drop the .txt as the lib/iris/etc/.txt rules have now all been removed

There are a bunch of palettes that are .txt too...

@pelson @dkillick LGTM 👍

OK. I've got some follow-on work for setup.py anyway, so let's go with this. @dkillick - if you have things you'd like me to change, I'd be more than happy to address in a follow-up PR.
@bjlittle - please merge when happy. 👍

Whoop! Awesome @pelson !

@pelson @bjlittle to be clear, my "changes requested" status on this PR was only related to the tests being skipped. Seeing as that issue was fixed earlier, I'm completely happy this was merged :+1:


Create YAMLs for multicluster gating

This PR generates 3 YAMLs.  These don't need to be released necessarily unless that is desirable.  They are used as part of the automated testing process.

Part of a larger body of work started here: https://github.com/istio/istio/pull/4815

@sdake: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
6f8d4508c1b51ca2b2216e94fc3d7ca81ce9fc3d
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

unit tests are failing in envoyv2:
I0411 02:24:36.648] === RUN   Test_watcher_retrieveAZ/retrieves_an_AZ_and_calls_for_a_reload
I0411 02:24:36.648] 2018-04-11T02:24:36.641488Z	warn	watching random encounters an error no such file or directory
I0411 02:24:36.648] 2018-04-11T02:24:36.641953Z	info	Proxy availability zone: az1
I0411 02:24:36.648] === RUN   Test_watcher_retrieveAZ/retries_if_it_receives_an_error
I0411 02:24:36.649] 2018-04-11T02:24:36.642437Z	info	Unable to retrieve availability zone from pilot: Get http://<IP_ADDRESS>:42348/v1/az/istio-proxy/ingress~ip~id~domain: 301 response missing Location header
I0411 02:24:36.649] 2018-04-11T02:24:36.642638Z	info	Proxy availability zone: az1
I0411 02:24:36.649] === RUN   Test_watcher_retrieveAZ/retries_if_it_receives_non_200_status_from_pilot
I0411 02:24:36.649] 2018-04-11T02:24:36.643068Z	info	Received 500 status from pilot when retrieving availability zone:
... skipping 985 lines ...
I0411 02:34:48.302] rip    0x45d321
I0411 02:34:48.302] rflags 0x286
I0411 02:34:48.302] cs     0x33
I0411 02:34:48.303] fs     0x0
I0411 02:34:48.303] gs     0x0
I0411 02:34:48.303] *** Test killed with quit: ran too long (10m0s).
I0411 02:34:48.303] FAIL	istio.io/istio/pilot/pkg/proxy/envoy/v2	600.216s

looks like the test locks up - resulting in a timeout.

/test istio-unit-tests

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: costinm
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [costinm]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add download helper for data files

There's quite a few directories to create and files to download/extract, and this script makes it easier to get everything set up. For convenience I also created and included a 6.5MB tar.bz of the flower captions.

Hi! Thanks for the PR. I haven't tested running the script but I am merging it anyway. I hope you tried training and generating images after running the script. Please make the corresponding changes in README as well, for downloading the data.

Also, please move the flowers_text_c10.tar.bz2 to Data/ .

Sure, I'll prepare a new PR for that shortly!


about the RPY

Hi,
Thanks for providing a good simulation. I just checked the RPY control, found only Y works, RP not. So I just wonder whether it's code like this, or there is some bug?

Hello Wukong,
Thanks for reaching me.
I mainly focus on the so-called Top-Down pushing and grasping, so RP are fixed by default, in the Environment class.
See here
https://github.com/ElectronicElephant/pybullet_ur5_robotiq/blob/4356e143a1e91f75e6fd1c71693a0a7475a2f0bd/env.py#L199
Just comment out this line, and RP will work.
If you have more questions, feel free to contact me. Please don't forget to give me a star, if you like. 😆

It works now after I did as you just said. I need to check the code by myself actually. Thanks!


Add in a lookuptable thumbnail function

Add in a way to call the existing function for a singleband lookuptable from the dataset assembler class.

What do you think, @jeremyh? Want me to weave the two functions into a single meta function with two code paths?

Coverage decreased (-0.1%) to 87.045% when pulling 4045426ea499a549d8c80003636bfd65ff26c039 on add-lut-thumbnail into 79425c92f7057637886dbf0e33385d66a5f73988 on eodatasets3.

Bike shedding... should it be write_thumbnail_singleband or write_thumbnail_single_band to have consistent naming style? (we have, for example self.write_measurements_odc_xarray() elsewhere)

Bike shedding... should it be write_thumbnail_singleband or write_thumbnail_single_band to have consistent naming style? (we have, for example self.write_measurements_odc_xarray() elsewhere)

I think singleband is a single word... keeping it as it is ;-)

Install pre-commit Alex!


Overwrite param added to copyItem + minor bugfix and improvements

Added overwrite param to copyItem from local to remote, fixed an issue with file upload on dropbox that wouldnt work for people in non UTC timezones. made filebased upload for dropbox not read file data into memory, let URLSession stream from the disk instead

Thank you @skela It will be merged after Travis passing


sub_lowk option for P_II

Straightforward addition.  And unit tests.
Pinging @elisachisari.

@jablazek would you be able to add a slightly more descriptive comment on what needs doing here? I'm going through the issues and I'm not sure what this one is about.

The quadratic terms in biasing and IA have nonzero k->0 contributions to P(k). These are typically subtracted and absorbed into shot/shape noise. However, for numerical reasons, it is usually better to leave them in when transforming to correlation functions (otherwise, the k->inf contributions that come from subtracting a constant cause problems in the bessel transform). But for fourier space analyses and theory curves, we want to have the option to subtract these pieces. FAST-PT can do this with a few extra lines of code.


FilledInterpolation reborn

This takes the work of @AndyGreenwell, fixes merge conflicts, optimizes the code, and adds some tests.

Ref #27

Since @tlycken indicated that all he wanted from #27 were some tests, and this has them, I'm merging. Thanks, @AndyGreenwell!


librsync: 2.3.1 -> 2.3.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/librsync/librsync/releases.
meta.description for librsync is: "Implementation of the rsync remote-delta algorithm"
meta.homepage for librsync is: "http://librsync.sourceforge.net/"
meta.changelog for librsync is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/xqswy3wh8358si12xihj0mhmq5l9pr1l-librsync-2.3.2/bin/rdiff passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 2.3.2 with grep in /nix/store/xqswy3wh8358si12xihj0mhmq5l9pr1l-librsync-2.3.2

found 2.3.2 in filename of file in /nix/store/xqswy3wh8358si12xihj0mhmq5l9pr1l-librsync-2.3.2

directory tree listing: https://gist.github.com/41c55b38d42b951c096e3a5bb77e5d88

du listing: https://gist.github.com/beec632591af3d7202e8d5623b4b7d0e

Rebuild report (if merged into master) (click to expand)

27 total rebuild path(s)

7 package rebuild(s)

7 x86_64-linux rebuild(s)
7 i686-linux rebuild(s)
6 x86_64-darwin rebuild(s)
7 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
burp
dar
deja-dup
duplicity
duply
librsync
rdiff-backup

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xqswy3wh8358si12xihj0mhmq5l9pr1l-librsync-2.3.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A librsync https://github.com/r-ryantm/nixpkgs/archive/89fb8850e0f0aa87c440442a6ac19fbc8439b550.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xqswy3wh8358si12xihj0mhmq5l9pr1l-librsync-2.3.2
ls -la /nix/store/xqswy3wh8358si12xihj0mhmq5l9pr1l-librsync-2.3.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

7 packages built:

burp
dar
deja-dup
duplicity
duply
librsync
rdiff-backup (rdiff_backup)

Maintainer pings

Result of nixpkgs-review pr 119125 run on x86_64-darwin 1

1 package failed to build:

dar

5 packages built:

burp
duplicity
duply
librsync
rdiff-backup

Result of nixpkgs-review pr 119125 at 89fb8850 run on aarch64-linux 1

7 packages built successfully:

burp
dar
deja-dup
duplicity
duply
librsync
rdiff-backup


For now, quota is handled by the Check call.

This change is

Does that mean istio/proxy not need to make a separate Quota() call?

For this week only. We're doing this so we can get end-to-end functionality
up and running without having to add the quota call into the proxy.
Ultimately, the proxy will need to make the call though.
On Wed, Feb 1, 2017 at 10:54 AM, Wayne Zhang<EMAIL_ADDRESS>wrote:

Does that mean istio/proxy not need to make a separate Quota() call?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/mixer/pull/220#issuecomment-276746238, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVucHRRlUilfmzgFjlqRWM9SNS4defA6ks5rYNTkgaJpZM4L0PiX
.

Addressed feedback, and fixed some issues in the canonical adapter testing code.


Option to save without file extensions

I have been wanting to add the option to save without file extension.

I figured out how to do save file without file extension recently with GuiFileDialogState by just checking if item was focused
and overwriting if a file if so and otherwise taking text input from text box of file dialog.


Multiple changes

Use the correct emoji IDs from our server and I'll approve 👍

Sorry to keep asking for changes but can you change ~setup to /setup

Sorry to keep asking for changes but can you change ~setup to /setup

sure i can do that


feat: add alerts to errors we want to monitor

Adds two alerts / error logs:

Unexpected errors during the sponsoredCall
Transaction relay attempts despite reached relay limit

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 5 (80.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.1%) to 88.83%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/middleware/logger.middleware.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/middleware/logger.middleware.ts
1
13.33%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
290

Relevant Lines:
316

💛  - Coveralls


Fix binary character in java version

Fixes #2750

This is just the failing test for now

Fix is added

@tbroyer after a talk with @LaurentGoderre I decided to take a stab at adding a negative matcher and updated things here; do the results match with what you're expecting to see now?


Call to __build_result_from_ts (et all?) causes ValueError when imported SBML model names species "Time"

Specifically, the call:
df.set_index('Time')
Causes an exception in Pandas, as it will find two Columns named "Time".
The example SBML model attached has a model with id="s23" and name="Time".
ExampleSBML.zip
A Data Handler is initialized with both "Time" and "[Time]"
After running the time course, the resulting DataFrame has two columns with "Time" as its label.
When Basico tries to set the index to time, Pandas generates a ValueError.

Are you running run_time_course_with_output(['Time', '[Time]']) that succeeds here. since the error message comes from __build_result_from_ts the time series object is being used, that one will have the species name without the brackets. And it would not be using the data handler.
But yes, the lookup by DisplayName only will fail if the name is not unique. I can add a method that goes through all model elements disambiguating elements with the same name.

@CodeByDrescher
I've released 0.76 that avoids this issue:

basico will no longer try to set the index, and instead issue a warning Duplicate column names in time series consider using use_sbml_id=True, or running ensure_unique_names()
the new function ensure_unique_names()  appends a count to the name ensuring uniqueness

This release avoids the exception you encountered, though it would return a dataframe where multiple columns would have the same name. You could avoid that by calling ensure_unique_names, or using the flag on import:
>>> import_sbml("BIOMD0000000465_url.xml", ensure_unique_names=True)
>>> get_species("Time")
         compartment       type    unit  initial_concentration  ...            key sbml_id transition_time  display_name
name                                                            ...
Time (1)        Cell  reactions  nmol/l                    0.0  ...  Metabolite_25     s23             0.0      Time (1)

[1 rows x 15 columns]

this has been resolved


Coloring each structure(more than 1) with differents color (unique stage)

Hi,
my name is Adrián and I post this question because I would want to color different pdb's (around 4) in the same stage with different colors (all of his atoms contained in the pdb). The result that I want is each structure be different compared the others.  I tried the next (but when I display the structures each of them are colored with rainbow colors not each structure wtih a different color):
for (i = 0; i < pdbs.length; i++) {
stage.loadFile(path_to_dir + pdbs + ".pdb", { backgroundColor: 'white' }).then(function (o) {
o.addRepresentation("cartoon", {
color: "random",
sele: "protein"
})
});
Best regards,
Adrián.

You want the "uniform" colorScheme and a list of colors to cycle through
var colorList = ['red', 'orange', '#ff00ff']
var nColors = colorList.length

Then when adding your representation use something like this to cycle through them:
for (i = 0; i < pdbs.length; i++) {
  stage.loadFile(path_to_dir + pdbs + ".pdb", { backgroundColor: 'white' }).then(function (o) {
    o.addRepresentation("cartoon", {
      colorScheme: "uniform",
      color: colorList[ i % nColors ],
      sele: "protein"
    })
  });
}

Hi,
first of all thank you for the answer. I tried to insert the code that you explain above but the result that I have is that all the structures were colored with the same color. I will do some tests to try discover how give to every structure his color.
Thank you,
Adrián.

Oops, that's because the i variable is updated by the loop code. You need to capture its value in a function call or a closure, e.g.
var structures = ["rcsb://1crn", "rcsb://1ajx", "rcsb://2vts", "rcsb://2vta"]

var colors = ["cyan", "red", "green", "blue"]

function createCartoon(path, color) {
  return stage.loadFile(structures[i]).then(function(o) {
    o.addRepresentation("cartoon", {
      colorScheme: "uniform",
      color: color,
      sele: "protein"
    })
    return o
  })
}

for (var i = 0; i < structures.length; i++) {
    var color = colors[ i % colors.length ]
    createCartoon(structures[i], color)
}

NB: Those return statements in createCartoon mean you get back a promise that resolves to the component, in case you need to capture it and do anything else with it

https://codepen.io/fludlow/pen/PLpEOQ

Oh perfect! Now works!
Thank you so much!


Browser Steps gives "Response object is not subscriptable" when theres a configuration error - improve error handling

Discussed in https://github.com/dgtlmoon/changedetection.io/discussions/1813

Originally posted by FhenrisGit September 25, 2023
Describe the bug
If I try to use Browser Steps, It doesn't work and I have a popup :
'Response" object is not subscriptable
Version
0.45.2
To Reproduce
Steps to reproduce the behavior:

Go to Browser Steps
Click on "click here to start"
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

Windows 10
Chrome
Version 116.0.5845.188

Smartphone (please complete the following information):

No

Additional context
Docker install on TrueNas Scale, using browserless-chrome

             if step_operation == 'Goto site':
+              #  if browsersteps_sessions[browsersteps_session_id] != 200:
+              #      return make_response("Browser Steps failed to connect to Playwright correctly.\n\n"+browsersteps_sessions[browsersteps_session_id].data.decode('utf8'), 401)
+

something like this, the problem is when browser steps cant connect to playwright, it doesnt cleanly report the situation/exception (cant resolve hostname, etc)

        try:
            browsersteps_start_session['browser'] = io_interface_context.chromium.connect_over_cdp(
                os.getenv('PLAYWRIGHT_DRIVER_URL', '') + keepalive)
        except Exception as e:
            if 'ECONNREFUSED' in str(e):
                return make_response('Unable to start the Playwright Browser session, is it running?', 401)
            else:
                return make_response(str(e), 401)

probably this stuff is not catching

Hi,
I got the same error with the version v0.45.5.
How do I fix it?

I'm trying to use v0.45.4 by cleared the cache, but encountered the same issue!

With the current v<IP_ADDRESS>, this error is persist.
New error occurred:
page closed =========================== logs =========================== navigating to "https://portal.website.com/login", waiting until "load" ============================================================

network error?

I don't think so.
With trial and error, I was able to find a working version: v0.45.3.
By the way, the URL is password-protected.

With the latest version, It still giving the same error along with the new error.

I am experiencing the same error. Freshly pulled from project

This is probably because of some updates in browserless/chrome. For me it works locally (with some minor issues that I'm not sure are related) like this:

variable:  -e PLAYWRIGHT_DRIVER_URL="ws://browserless:3000/" where browserless is the ip or host of your browserless chrome
using latest version of browserless/chrome

Also having this issue using the same environmental variable as @techc0de.
Running the latest docker container on both ends (ChangeDetection and Playwright) as of today.

Its often because the network (your container, container hostname of the chrome browser etc) is configured wrong


compiler cannot cope with schema that contains byte order mark

Summary
a schema.json file extracted from the aws appsync console contains a BOM which confuses the apollo-compiler:
Failed to parse GraphQL schema introspection query from `***/schema.json`: Use JsonReader.setLenient(true) to accept malformed JSON at path $

see the schema.json in schema.zip.
Description
i realise that (1) the compiler largely hands off parsing to moshi and (2) moshi has a lenient flag i could possibly use to suppress it, but (a) i cannot use (2) since i am using the apollo-client-maven-plugin which does not expose this flag and (b) it's not malformed json it's a standard BOM that prefixes the json file contents (and which i want to be parsed without leniency).
i think the correct fix is for com.apollographql.apollo.compiler.parser.Schema#JsonReader.locateSchemaRootNode() to skip any byte order mark before finding the beginning of the json object.
Version
apollo-compiler-1.2.3.

There was a debate in Moshi regarding this issue as well, and it looks like issue should be fixed on the client side:

Implementations MUST NOT add a byte order mark to the beginning of a JSON text. In the interests of interoperability, implementations that parse JSON texts MAY ignore the presence of a byte order mark rather than treating it as an error.

Merged.


get token from callback_context

Take the token from the callback_context added in https://github.com/plotly/dash/pull/3051
Fix get_username called inside a background callback.

I changed to have the token from the request cookies first since this is also called from other routes. Also moved the flask context check to allow the function to be called from celery. Fix https://github.com/plotly/dekn/issues/8953
@michaelbabyn Can you have a look again? Thank you.

@T4rk1n is this good to merge?

@T4rk1n is this good to merge?

Yes, just need to test it works with the latest dash version.

Tested and working on de5


[HOLD #37788][Simplified Collect][Taxes] Create WorkspaceTaxesSettingsCustomTaxName

Implement this section of the Simplified Collect: Taxes doc
cc @kosmydel @filip-solecki

held

Hi! I am Filip from SWM and I'd like to work on this issue!

@luacmartins Am I assigned to this issue? Because I reviewed the PR

Closing this issue to keep it all in https://github.com/Expensify/App/issues/37788


Show bottombar once it's hidden

Hey all,
I've set the behaviour on shy inside a coordinatorlayout.
Once the toolbar is hidden after i scroll down, it won't pop back up after a i click on an item when a new fragment is added. Any suggestions?
Thanks in advance.

Got it.
bottomBar.animate().translationY(0);


onLocalMediaStreamCreated Type not found error. ^v1.5

Please check onLocalMediaStreamCreated function type definition in  @types/amazon-connect-streams": "^1.4.12.
I've checked that that 1.5v package has this function in compiled file but type does not.
My package installed:   "amazon-connect-streams": "^2.15.0",

Thank you for the call out. We'll add it back on the next Streams release.


Update schema version after recent PRs

The schema version needs to updated following the recent PRs made by @turbomam
Also, new artifacts need be generated by running make all. I'll do this ...

Done.


Zoom feature bindable to a joystick button.

Hey, I'm using the OpenXR toolkit 1.1.3 with Reverb G2 in MSFS and I have to say that its absolutely fantastic. What great work!
Here is my idea, I was playing around with the "Zoom" function in the System tab of the Toolkit, and I actually found it MUCH better for zooming in slightly on the gauges than MSFS's built in VR  "Cockpit Focus" or whatever they call it that tries to "zoom" in VR by moving your head around the cockpit in the direction you are looking. Obviously its not designed for that as its a menu setting but it made me think.
The toolkit zoom felt very similar to the DCS VR zoom which just gives you bionic eyes and allows you to zoom in on any gauges without having to move your head closer. One of the things it offers as well above the stock MSFS focus functionality is the ability to zoom in on stuff outside of the cockpit, which can be really useful when looking for airfields or other aircraft etc.
Do you think it would be possible to add a "VR Zoom" joystick binding section to the companion app, and then have a "VR Zoom Factor" setting within the onscreen toolkit. Then whenever that joystick binding is held it goes to that zoom setting? Have the VR zoom factor set up like the current zoom setting so its fully customisable and you can tweak the zoom amount to your liking. I think it would be so much easier for glancing own at gauges then the current MSFS implementation.
Anyway thanks again for all the work, great stuff!

You can sort of do that today through the command line tool- you can use whatever tools that works for your joystick and invoke the command line tool to change the zoom. It's not properly documented on our website but you can really about it here:
https://forums.flightsimulator.com/t/openxr-toolkit-upscaling-world-scale-hand-tracking-release-thread/493924/2059

Thanks for the tip, although taking a look at it, it looks like its beyond my ability at least for the moment. I would be great to see something integrated into the base software in the future. I'll have another look tomorrow and see if I can figure it out.
Thanks

This is the best you're going to get though. There are too many different kinds of joystick etc out there, and were not going to do support for all of them. This method is generic so that it can be used with any joystick, keyboard, gaming mouse, voice command.
I suggest you ask on that forum, some people will be able to guide you I'm sure!


[Snackbar] Assert that displayed data changed before hide/show

Aim to fix https://github.com/callemall/material-ui/issues/2018.

(Oups, I was deleting my branches)


Fritz!Box 7362 SL - guest WiFi switch disabled

First!
Great job, the addon is supercool!
But is it possible that the model 7362 SL is not featuring the guest wifi feature?
The switch is grey in my hassio ui
I mean, time ago i used the same model and a homebridge plugin for exact the same (unfortunatly without the port control) feature and it was possible to remote the guest wifi switch
thx a lot

Could you please verify that the following two settings are enabled on your router:

You might also try to restart your router and home assistant afterwards.
Otherwise you should post your home assistant log so we can see what's logged by the component.

this answer was super fast! :)
everything enabled, i try the restarts after some long download parts ^^
thx meanwhile

Ok,
the restarting in any kind of sort didn't brought the solution.
Also I'm able to enable/disable the Port things, the connection should be ok.
I'm super sorry
I've no idea how to do get correct LOG
I tried with a total log by using the setting ui and filtered by hand some Guest Wifi words:
`[SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)]
[parameters: ('service_registered', '{"domain": "device_tracker", "service": "see"}', 'LOCAL', '2019-11-26 21:16:00.459602', '2019-11-26 21:24:00.994964', '6997787f03c743f1a32cef3f4c92e166', None)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2019-11-26 22:24:01 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback async_track_utc_time_change..pattern_time_change_listener(<Event time_c....006556+01:00>) at /usr/src/homeassistant/homeassistant/helpers/event.py:435
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 444, in pattern_time_change_listener
calculate_next(now)
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 428, in calculate_next
localized_now, matching_seconds, matching_minutes, matching_hours
File "/usr/src/homeassistant/homeassistant/util/dt.py", line 256, in find_next_time_expression_time
raise ValueError("Cannot find a next time: Time expression never " "matches!")
ValueError: Cannot find a next time: Time expression never matches!
2019-11-26 22:24:01 ERROR (MainThread) [custom_components.fritzbox_tools.switch] Could not get Guest Wifi state
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/fritzconnection/fritzconnection.py", line 460, in _get_action
service = self.services[service_name]
KeyError: 'WLANConfiguration:3'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/fritzbox_tools/switch.py", line 327, in _async_fetch_update
status = self.fritzbox_tools.connection.call_action('WLANConfiguration:3', 'GetInfo')['NewStatus']
File "/usr/local/lib/python3.7/site-packages/fritzconnection/fritzconnection.py", line 489, in call_action
action = self._get_action(service_name, action_name)
File "/usr/local/lib/python3.7/site-packages/fritzconnection/fritzconnection.py", line 462, in _get_action
raise ServiceError('Unknown Service: ' + service_name)
fritzconnection.fritzconnection.ServiceError: Unknown Service: WLANConfiguration:3
2019-11-26 22:24:01 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (sqlite3.DatabaseError) database disk image is malformed
[SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)]
[parameters: ('call_service', '{"domain": "group", "service": "set", "service_data": {"object_id": "all_scripts", "name": "all scripts", "visible": false, "entities": ["script.1573 ... (32 characters truncated) ... 0", "script.1560523511290", "script.1560505134064", "script.1564604012962", "script.1564603110142", "script.1574798449695", "script.1560532858680"]}}', 'LOCAL', '2019-11-26 21:16:00.545448', '2019-11-26 21:24:01.038260', '14f1e8c2acd446d785593981ac96121a', None)]
(Background on this error at: http://sqlalche.me/e/4xp6)
2019-11-26 22:24:01 ERROR (Recorder) [homeassistant.components.recorder] Error saving event: <Event call_service[L]: domain=group, service=set, service_data=object_id=all_scripts, name=all scripts, visible=False, entities=['script.1573079015162', 'script.1573074474530', 'script.1560523511290', 'script.1560505134064', 'script.1564604012962', 'script.1564603110142', 'script.1574798449695', 'script.1560532858680']>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1249, in _execute_context
cursor, statement, parameters, context
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 580, in do_execute
cursor.execute(statement, parameters)
sqlite3.DatabaseError: database disk image is malformed`

I think I know your issue @upwindanderl :
Your router has only 2.4Ghz and therefore only has 2 networks (main and guest) and not three.
I will create a pull request tomorrow.
Thanks for all of your information.

Your router has only 2.4Ghz and therefore only has 2 networks (main and guest) and not three.

Jep, looks like that's the issue.

I will create a pull request tomorrow.

How do you want to tackle it? Try 3 and fallback two 2 or could we do something smarter? :thinking_face:
Btw @upwindanderl, it looks like your database is somehow broken. I would stop HA, rename the sql file in your config directory and start HA afterwards. This way a new sqlite database should be created.
Btw2: You also find your logs in the config directory in the file home-assistant.log :wink:

How do you want to tackle it? Try 3 and fallback two 2 or could we do something smarter? :thinking_face:

Simply ask how many Wifi networks there are.

@upwindanderl:
Could you try to install my Pullrequest?
If you need help:
Just click on https://github.com/AaronDavidSchneider/ha-fritzbox-tools/tree/fix_24_guest?files=1
And replace the files in your custom_component folder by those ones.
Thanks

yeah!
thanks a lot :) ... the adaption was not sufficient right now
The wifi button is still grey
maybe this helps?!
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/fritzconnection/fritzconnection.py", line 460, in _get_action
service = self.services[service_name]
KeyError: 'WLANConfiguration:3'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/fritzbox_tools/switch.py", line 327, in _async_fetch_update
status = self.fritzbox_tools.connection.call_action('WLANConfiguration:3', 'GetInfo')['NewStatus']
File "/usr/local/lib/python3.7/site-packages/fritzconnection/fritzconnection.py", line 489, in call_action
action = self._get_action(service_name, action_name)
File "/usr/local/lib/python3.7/site-packages/fritzconnection/fritzconnection.py", line 462, in _get_action
raise ServiceError('Unknown Service: ' + service_name)
fritzconnection.fritzconnection.ServiceError: Unknown Service: WLANConfiguration:3
2019-11-27 22:27:03 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Unable to reach bridge <IP_ADDRESS> ()
2019-11-27 22:27:12 ERROR (MainThread) [homeassistant.components.switch] Setup of platform alexa_media is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2019-11-27 22:27:13 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback async_track_utc_time_change..pattern_time_change_listener(<Event time_c....042903+01:00>) at /usr/src/homeassistant/homeassistant/helpers/event.py:435
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 444, in pattern_time_change_listener
calculate_next(now)

@mammuth
Hey Max.... got this info about my broken sqlite and did your suggestion on cleaning up by "removing" the old sqlite
The next HA start tooks quite a good long time but the super huge error list on my logfile is still there.... about 6MB only sqlite3.DatabaseError
Just before you mentioned it i thought this is normal

@upwindanderl: are you sure that you used the correct branch? You need to use the files from the fix_24_guest branch.
Because it looks like my fix didn't apply.

@upwindanderl: are you sure that you used the correct branch? You need to use the files from the fix_24_guest branch.
Because it looks like my fix didn't apply.

i guess ^^
i hope!
i followed your link and did a overwrite with these sources:
https://github.com/AaronDavidSchneider/ha-fritzbox-tools/tree/fix_24_guest/custom_components/fritzbox_tools
especially your few hours old " switch.py" but also the other ones
i double checked by having a look on the timestamp
afterwards i did two time a restart and it's still this problem that the switch is grey

Ok that's strange.
Maybe we get more insight with the information from http://ip-of-fritzbox:49000/tr64desc.xml.
could you check for the snippet in the response that looks like this:
urn:dslforum-org:service:WLANConfiguration:3urn:WLANConfiguration-com:serviceId:WLANConfiguration3/upnp/control/wlanconfig3/upnp/control/wlanconfig3/wlanconfigSCPD.xml

you only have the same services for WLANConfiguration:2 and WLANConfiguration:1, don't you?

Hey @upwindanderl: I think I found the reason to why my fix wasn't working before. Could you try the new lines of code?
https://github.com/AaronDavidSchneider/ha-fritzbox-tools/tree/fix_24_guest/custom_components/fritzbox_tools
If they don't work, could you please parse the response from http://ip-of-fritzbox:49000/tr64desc.xml (see above).
Thanks!

sorry for answering so late!
your latest fix now works like charm!!!
Perfect and thank you for helping me out with my superold FB :)


Use UIPickerview instead of custom dropdown menu

Read somewhere that [using] UIPickerview is the right way to go to implement [dropdown menu] according to Apple's Human Interface Guidelines.
This makes sense because iOS browsers use UIPickerView to render dropdown controls on web pages.

no longer relevant, issue was created for an old design


BIGTOP-4026: Fix Ranger Puppet Script for PostgreSQL

Description of PR
Remove the postgres dependency from the Puppet script and add it to the rpm spec and deb control files. This avoids the issue of being unable to install pg when running the Puppet script on Ubuntu due to different package names.
https://github.com/apache/bigtop/pull/1197
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
[ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

@JiaLiangC My bad, my comment was incomplete. After applying the current PR, pg_ctl initdb is executed before installing ranger-admin. But postgresql is installed as Ranger's dependency, so there is no executable when the command above is executed. As its result, applying the Ranger manifest fails as follows.
$ ./docker-hadoop.sh -d -dcp -C config_ubuntu-22.04.yaml -F docker-compose-cgroupv2.yml -G -L -k hdfs,hbase,ranger -s ranger -c 1

...

Error: Could not find command '/usr/bin/pg_ctl'
Error: /Stage[main]/Ranger::Admin/Exec[initdb]/returns: change from 'notrun' to ['0'] failed: Could not find command '/usr/bin/pg_ctl'

So we have to reorganize the Puppet manifest, not only removing package declarations. The steps are supposed to be:

install python and ranger-admin (and postgres as its dependency)
run initdb after ensuring 1 is finished
startup postgres ensuring 2 is finished
put install.properties ensuring 1 is finished
run setup.sh ensuring 3 and 4 are finished

In addition, the directory layout of postgres seems to differ between rpm- and deb-based systems.
For example, pg_ctl doesn't seem to be located in /usr/bin, but /usr/lib/postgresql/$VERSION/bin on Debian/Ubuntu.
Also, the database directory currently specified in the Puppet manifest (/var/lib/pgsql/data) probably doesn't work on deb-based systems due to the directory permission.

@sekikn
I appreciate your explanation. Due to network isolation issues in the test environment, my understanding of this part of the code is insufficient, and the testing has been limited. I have reconfigured the test environment and am currently in the process of fixing and testing it.

@sekikn
This PR fixed the code for packaging Ranger deb, and it can be successfully installed and started on Ubuntu 22, but the unit test failed.
https://github.com/apache/bigtop/pull/1201
Code Logic:
1.PostgreSQL on Ubuntu 22 doesn't need to be initialized, it's automatically initialized after installation.
2.The logic to change the PostgreSQL password was added because PostgreSQL 14, installed on Ubuntu 22, cannot be accessed without a password.
3.The default location for the JDBC driver installed in Ubuntu is /usr/share/java/postgresql-jdbc.jar, so it's necessary to create a symbolic link and keep it consistent with the configuration
I tested the packaging of Ranger on a machine running Ubuntu 22, and manually installed it, but the same error was still reported.
This error is very strange, and there's no starting point to resolve it. I spent a lot of time on testing but couldn't solve it.
I compared the deb packaging files one by one with the bin package after Ranger compilation, and there was no missing part. It seems that the error might not be related to Ranger packaging, and might be related to the operating system instead.
So, I'm stuck here, I wonder if you could help me out with this issue.
`SEVERE: Mapped exception to response: 500 (Internal Server Error)
javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body writer for Java class java.util.ArrayList, and Java type java.util.List<org.apache.ranger.plugin.model.RangerServiceDef>, and MIME media type application/json was not found.
    at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:284)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:582)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337)
    at org.apache.ranger.security.web.filter.RangerSecurityContextFormationFilter.doFilter(RangerSecurityContextFormationFilter.java:142)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java`

Thank you so much for the detailed investigation @JiaLiangC. I'll take a look though it may take some time.


Implement database schema upgrades

We need a tool to manage the DB schema.
Alembic is the official tool for this, with Flask-SQLAlchemy a potentially useful helper.

Done in 0.4.0


Unwanted and very strict dependency illuminate/database

Subject of the issue
Describe your issue here.
Your environment

Q
A

Bug?
yes

New Feature?
no

Framework
Laravel / Lumen

Framework version
any

Package version
1.2.y

PHP version
7.2+

Information
composer.json has an unneccesary dependency of illuminate/database with very strict version rules (only latest versions of egacy Laravel versions). According to my tests, whis dependency is not required in project root, because it not directly used from this package

The very strict dependency was added due to dependabot security alerts. But when the dependency is not used, I totally agree to remove it


rename .blurScale to .apertureScale in dof options

.blurScale was in fact a scale factor applied to the circle of
confusion, which makes it indeed a "blur scale".
However, it can also be seen as an aperture scale factor,
which I think is more useful because it makes it more obvious that it
can be used to set the DoF blur independently from the camera settings.

closing because I got confused with a wrong comment -- will do a better one next.


Support parsing mqtt nested json payload into attributes

Description:
Often mqtt messages with json payloads are far too long to be directly set as status.
This PR uses flatten_json to intuitively handle parsing long nested json payloads into attributes.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#4911
For example to use the following payload:
drachenhorst/dafang2/status {"Uptime":" 15:42:25 up 15 days, 20:12,  0 users,  load average: 3.32, 3.44, 3.48", "RTSP-Server":"running", "IR-Cut":"off", "Wifi":{"SSID":"MyNet", "Bitrate":"72.2 Mb/s", "SignalLevel":"64%", "Linkquality":"96%", "NoiseLevel":"0%"}, "LEDs":{"Blue":"off", "Yellow":"on", "Infrared":"off"}}
Can easily achieved by:
Example entry for configuration.yaml (if applicable):
  - platform: mqtt
    state_topic: "dafang/status"
    value_template: '{{ value_json["RTSP-Server"] }}'
    name: "DaFang"
    json_attributes:
      - RTSP-Server
      - Uptime
      - IR-Cut
      - Wifi.SSID
      - Wifi.Bitrate
      - Wifi.SignalLevel
      - Wifi.Linkquality
      - Wifi.NoiseLevel
      - LEDs.Blue
      - LEDs.Yellow
      - LEDs.Infrared

Checklist:

[x] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

@OttoWinter Why do you think that this would intruduce a weird behaviour or even a breaking change? On the contrary, non-nested jsons continue working as before and the behaviour is much more intuitive than all the template stuff.
Of course you could already define a bunch of sensors for each key, that lead to some poor lad creating 38! mqtt sensors https://community.home-assistant.io/t/missing-data-from-a-mqtt-sensor/19697/3

We're not going to flatten JSON. We're going to show the data as is.

There are 1000s of use cases which would want not flattened JSON. If you want to flatten JSON, just write a custom component that listens to MQTT updates.

@balloob Of course the original unflattened payload should continue to exist for those use cases. I see the temporary flattening just as a way to elegantly access the nested attributes. Or how would you extract nested json_attributes without a massive amount of sensor definition overhead?

Or how would you extract nested json_attributes without a massive amount of sensor definition overhead?

This is not a problem that Home Assistant should solve. You can just make a big template or you can just write your own custom component.

@balloob I hate to disagree. Easily making available sensor measurements is absolutely essential to all home automation systems.
Of course I can and will use this as my own custom component, but as you see in the linked use cases above that problem frequently comes up and the current approach of defining every measurement as one sensor and extracting the value with templates is very powerful but incurs massive configuration overhead.
If you have a generic & simple template solution in mind please enlighten me.
Nevertheless, in general the resulting layers of templates are a major source of complexity and frustration for new home assistant users, for an essential feature that should just work out of the box.


Reverish of: disable signup in staging e638a8a

git revert sha was not possible because version must go up.
I have made the logical(as per me) manual revert.

This would work, although I'd rather fix forward on the app side, as discussed in slack.


[bug] Something wrong with dev branch

Something went wrong when I use this extension after I move to the dev branch

environmen info:
python: 3.10.10
torch: 2.0.1+cu118
xformers: 0.0.20
gradio: 3.39.0
extra info:
ComfUI still work properly on http://<IP_ADDRESS>:8189/, the only problem is the tab on webui was broken

We likely have a couple incompatibility issues with the next version of the webui indeed. I started looking into it, we have to rewrite some of the monkey patching. It's a lot of complexity, so I think we should consider dropping support for 1.5.1 when 1.6.0 or 1.6.1 goes live.

They renamed the html ids for txt2img elements from *_txt2txt_* to *_txt2img_* in webui==1.6.0, which the code explicitly relies on to be able to programatically click on them. I won't mention it to them because I'm pretty sure auto won't revert it.


[master] Automated Bump DC/OS UI v2.123.0

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (required)
DCOS-56348 DCOS-56382 DCOS-14972 DCOS-55633 DCOS-43441 DCOS-56244
Related tickets (optional)

DCOS-56348 DCOS-56382 DCOS-14972 DCOS-55633 DCOS-43441 DCOS-56244
Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

Please update CHANGES.md file and apply Ready for Review Label.
* Updated DC/OS UI to [master+v2.123.0](https://github.com/dcos/dcos-ui/releases/tag/master+v2.123.0)

You can edit CHANGES.md directly here: https://github.com/mesosphere/dcos/edit/dcos-ui/bump/2019-07-16-09-23-15/master+v2.123.0/CHANGES.md?pr=%2Fdcos%2Fdcos%2Fpull%2F5869

@mesosphere-mergebot label [Ready for Review]

@mesosphere-mergebot override-status teamcity/dcos/test/terraform/aws/onprem/static/group4  https://jira.mesosphere.com/browse/DCOS-56525

@mesosphere-mergebot override-status teamcity/dcos/test/terraform/aws/onprem/static/group4 https://jira.mesosphere.com/browse/DCOS-56525

I did this "just" to keep track of the infra instability. Submitted the check for re-run so that we get its feedback.

Updated DC/OS UI to master+v2.123.0

Let's also add a full stop to the end of this sentence, please.

there is a new release anyway -> creating new bump.
@jgehrcke bump script updated 👍

@mesosphere-mergebot label [Work in Progress]

Superseeded by #5886


Fix scaling of pipelines on overview (#73)

Hi! First of all, thanks for this contribution!
Second, this now anchors the divs to each other. Making them stick, so when the screen is large, they get elongated. Meaning the span and widen.
I honestly think that that doesn't look so good. A better option is to make the divs re-arrange on larger screens so they take up the place, but do that without changing the size of the dive, but re-arranging themselves.
This is how it looks like now on wider view mode:

What do you think @michelvocks?

I'm by no means good at front-end stuff, but what I'm talking about is basically and auto-balancing css grid. There are a couple of articles about it around, if you don't happen to know that stuff, it's a great learning opportunity. :) Good luck! 👍

I am also by no means a front-end guy! Was just looking for a ‘quick win’ while in some downtime. I just looked for a quick solution using the UI framework already in-place. Probably a good thing to know so I will look into a better solution soon.

Codecov Report

Merging #128 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #128   +/-   ##
=======================================
  Coverage   63.46%   63.46%
=======================================
  Files          24       24
  Lines        2116     2116
=======================================
  Hits         1343     1343
  Misses        618      618
  Partials      155      155

Continue to review full report at Codecov.

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

@Skarlso let me know what you think of this latest change.

@speza excellent!! It works lovely. :)

@speza Thanks a lot for your contribution. This is really cool! ❤


Add Interval Control for Data Sending

Description: Add the ability to configure the interval at which each simulated device sends data (e.g., every 5 seconds).

#6


Update MarkCommand Sequence Diagram

Added a rectangle to represent constructor of Command result

Codecov Report
Base: 71.39% // Head: 65.32% // Decreases project coverage by -6.07% :warning:

Coverage data is based on head (b607308) compared to base (942328f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #117      +/-   ##
============================================
- Coverage     71.39%   65.32%   -6.08%
- Complexity      445      484      +39
============================================
  Files            81       91      +10
  Lines          1367     1638     +271
  Branches        141      181      +40
============================================
+ Hits            976     1070      +94
- Misses          355      516     +161
- Partials         36       52      +16

Impacted Files
Coverage Δ

...c/main/java/jeryl/fyp/logic/parser/ParserUtil.java
51.94% <0.00%> (-45.62%)
:arrow_down:

src/main/java/jeryl/fyp/model/student/Student.java
80.32% <0.00%> (-17.50%)
:arrow_down:

.../java/jeryl/fyp/logic/parser/FypManagerParser.java
85.00% <0.00%> (-15.00%)
:arrow_down:

src/main/java/jeryl/fyp/model/ModelManager.java
90.47% <0.00%> (-5.61%)
:arrow_down:

src/main/java/jeryl/fyp/model/FypManager.java
81.08% <0.00%> (-4.64%)
:arrow_down:

...ain/java/jeryl/fyp/storage/JsonAdaptedStudent.java
96.92% <0.00%> (-3.08%)
:arrow_down:

src/main/java/jeryl/fyp/model/Model.java
100.00% <0.00%> (ø)

src/main/java/jeryl/fyp/ui/StudentCard.java
0.00% <0.00%> (ø)

...va/jeryl/fyp/logic/parser/DeleteCommandParser.java

...n/java/jeryl/fyp/logic/commands/DeleteCommand.java

... and 19 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Hi @JordanChua, I think you might have mixed up the alternative 1's pros and cons for your explanation of MarkCommand in the DG. Might want to change that too!

Hi @JordanChua, I think you might have mixed up the alternative 1's pros and cons for your explanation of MarkCommand in the DG. Might want to change that too!

I have updated it!


Handle blank databases during install.

Fixes #331.

I'm testing a fix for #333 at the moment, I'll circle back to this one once that's done.


Enhanced fan-out for Kinesis streams?

Hi, I'm looking to set up Enhanced Fan-Out for some Lambda stream consumers we're creating with SST.
Per the docs, it looks like I should be able to specify a consumer ARN (as returned to a RegisterStreamConsumer command send with the stream's ARN).
Here's what this looks like in the Console UI:

However, aws-cdk-lib/aws-lambda-event-sources:KinesisEventSource (which we're creating and passing to our Function constructor to set up our Lambda as a stream consumer) doesn't take any arguments that look like this consumer ARN.. Is there another way to specify this subscription that does take such a consumer ARN?
Side note: other docs show how to manually subscribe to a stream by sending SubscribeToShard commands every 5 minutes with the consumer ARN and a shard ID. I struggle to see how this could be used to trigger a Lambda; it seems to be independent of Lambda triggers, and intended for long-lived processes that need to consume a stream.

Can you post this on #help on Discord and we'll take a look?

Thanks @jayair, my teammates figured this out based on this example so we should be good to go!
In case anyone comes across this, I'll note that EventSourceMapping seems to take our SST Function construct for its target argument, so this CDK approach works without much fuss.


Updated actionsheets.md

Added pictures as well as sample implementation for ActionSheetConfig()

If you would rather have a slower gif or change the UI of the phones, please let me know!


7 separate program into several modules

I think this looks good.

I think this looks good.

Sweet, but you have to approve it with your review. Normally I would create the Pull Request and ask you for a review -- maaybe that's the problem?

Oh sorry, you already merged it! Thanks!


Additional Test Cases for GradeSchool given a same student add twice to different grade

Currently the test case does not test the above scenario.

Given student A add to specific grade. E.g., Student A add to grade 2. And student B add to grade2
When  student A is add again into different grade E.g., Student A add to grade 3
Expected to see roster where Student A is in grade 3, and Student B in grade 2.

The GradeSchool exercise exists in many other track language, and this this use case is not tested across other tracks.

Suggested to add more test case as follow:

// adding more test case
  it ('adding more students to the same grade and move same student to different grade for promotions', () => {
    gradeSchool.addStudent('Paul', 2)
    gradeSchool.addStudent('Blair', 2)
    gradeSchool.addStudent('James', 2)
    gradeSchool.addStudent('Paul', 3)

    const expectedDb = new Map(
      Object.entries({ 2: ['Blair', 'James'], 3: ['Paul'] })
    )
    expect(gradeSchool.studentRoster()).toEqual(expectedDb)
  })

Let me know how to get started on reviewing this issue?

Are you maybe looking at an older version of the tests? When I look at the current version I already see a test case for adding the same student twice in different grades: https://github.com/exercism/javascript/blob/da0d8b294701a3adf7723455a92146058978a2bb/exercises/practice/grade-school/grade-school.spec.js#L80

What happen with Blair and James, when Paul move to grade 3?
** Expect, Blair and James should still be in grade 2

I've seen solution that wipe the entire grade 2, when Paul move from grade 2 to 3.

That case is not covered in the current test case.

@andsus Ah ok, I got the point now.
The list of test cases for this exercise originate in another repository: https://github.com/exercism/problem-specifications
While it is possible to add extra test just for JavaScript, it is best to fix the shared content so all tracks benefit. Currently someone is in the process of fixing the grade school test cases, https://github.com/exercism/problem-specifications/pull/1837. I left them a note regarding your input.

Closing this as the person working on the grade school fixes confirmed they will incorporate your feedback.


Preview has trouble with fenced code

This doesn't look right.

That seems to be using the wrong Markdown preview (i.e. not the GitHub one which would show Markdown (GitHub) Preview). How are you activating it?

Yah, you're right. I was going to Markdown / Preview in the status bar menu, but should've been going to Markdown (GitHub) / Preview.
One odd thing is that the language picker in the status bar only shows "Markdown", though the gear shows both "Markdown" and "Markdown (GitHub)"

Yah, you're right. I was going to Markdown / Preview in the status bar menu, but should've been going to Markdown (GitHub) / Preview.

Yup :+1:

Guess this is a non-issue, other than that it was easy to confuse. It seems the keyboard shortcut picks the right one.

Yeh, it does.

One odd thing is that the language picker in the status bar only shows "Markdown", though the gear shows both "Markdown" and "Markdown (GitHub)".

Yeh, I can see that being a little confusing but that's because this is an extension of the Markdown bundle rather than a completely new implementation.


feat: adds create_workbook_from_template

Changes

Adds a Workbook and Template classes
Adds create_workbook_from_template

Remaining work

[ ] Add appropriate typings
[ ] Determine if publishing should be exposed as a param or enabled by default
[ ] Add tests

Additional ask from Pacific Fusion: Can they also add a custom workbook title when creating from template?


Backup compression

The backup and compression process seems not to be optimal.
We have the following problem:

Original MongoDB database size is +9 GB
+50 GB .bson files are created
A .tar +50 GB is created
A Gzip / Bzip / Xzip +15 GB file is generated
Once completed, de process delete temporary files

In our case, files take up  more than 115 GB (50 + 50 + 15 GB) are created temporarily.
Is there a way to optimize this? For example:

Skip the intermediate step of generating the .tar file (directly generating .tar.gz)
Directly generating the compressed backup mongodump --gzip or mongodump | gzip

I can see where this is happening due to the functions involved with compression being performed after the backup. Yes this deserves some optimizations. I will think about how to accomplish this and put something together in coming weeks.

Just did some cursory investigations on this.
I'm having problems getting a pipe command to work properly, doesn't look like it's well supported.
Only collections are supported to send to stdout/pipe.
mongodump --gzip --archive=/path does seem to work but only for gzip no other compression options (type, compression size) are available. I tried to set --archive-path=- to attempt to pipe but no luck. If you (or other users of image!) have any pointers or any successes with being able to get piping to work I can integrate this in, otherwise I'll sit and think about this more for a while to see how to further optimize this. Regardless I can cut down some of the files by merging a few of the functions together.

The weeks go by so quickly it seems! See version 2.0.0 . This eliminates the temp files, changes the way that compression is performed although Mongo only will support GZ compression. The suffix of the backup for MongoDB is now .archive and if compressed will be .archivegz - Images are already on Docker Hub..

Tomorrow (i think) i'll be able to try it.
Thank you!

I confirm that this solution works! Now backup takes 20min and 2.7GB of space.
Backup can be restored using:
mongorestore --host="<server>" --port=<port> --gzip --archive=/backup/file.archivegz
Good Job!

Right on! Glad it's worked out.


Feature/16999778 rebase cell type heatmap api

Superseded by https://github.com/ebi-gene-expression-group/atlas-web-single-cell/pull/197.


Update RBAC API version to v1 from v1beta1

This commit removes "rbac.authorization.k8s.io/v1beta1=true" from "--runtime-config" option as well.
Fixes #955

Codecov Report

Merging #1020 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1020   +/-   ##
=======================================
  Coverage   34.91%   34.91%
=======================================
  Files          59       59
  Lines        4159     4159
=======================================
  Hits         1452     1452
  Misses       2545     2545
  Partials      162      162

Continue to review full report at Codecov.

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

Looks good, but have you tested these changes by creating a cluster? If you did, do you mind running the conformance tests? (You can use Heptio Sonobuoy Scanner for this)

/assign

@danielfm Thank you for the reviewing. I haven't tested it yet, so I'll do it and try to use Heptio Sonobuoy Scanner, then let you know.

@danielfm I've tested this change on Heptio Sonobuoy Scanner and got all tests passed.
https://scanner.heptio.com/53ee9a2b02a11117e7cb1cfbd9fc753b/diagnostics/

But before this test, I got a problem about kubernetes-dashboard, I couldn't start it with the following error:
➜ kubectl --kubeconfig=kubeconfig -n kube-system logs kubernetes-dashboard-7f46664f8f-qkc9q
2017/11/22 17:51:22 Using in-cluster config to connect to apiserver
2017/11/22 17:51:22 Starting overwatch
2017/11/22 17:51:22 Using service account token for csrf signing
2017/11/22 17:51:22 No request provided. Skipping authorization
2017/11/22 17:51:22 Successful initial request to the apiserver, version: v1.8.2+coreos.0
2017/11/22 17:51:22 New synchronizer has been registered: kubernetes-dashboard-key-holder-kube-system. Starting
2017/11/22 17:51:22 Initializing secret synchronizer synchronously using secret kubernetes-dashboard-key-holder from namespace kube-system
2017/11/22 17:51:22 Initializing JWE encryption key from synchronized object
2017/11/22 17:51:22 Creating in-cluster Heapster client
2017/11/22 17:51:22 Serving securely on HTTPS port: 8443
2017/11/22 17:51:22 open /certs/dashboard.crt: no such file or directory

I believe this error is NOT caused by my change, but I'm not sure.
So I tested without kubernetes-dashboard.
Please let me know if I need more test or anything else.
Thanks!

I believe this error is NOT caused by my change, but I'm not sure.
So I tested without kubernetes-dashboard.

Looks like it.
/lgtm

@dragon3 @danielfm  The kubernetes-dashboard fails sometimes due to a error in the init-container.Until the dashboard version 1.8 it's out (~2 weeks) it can be quickly fixed by deleting the pod.


Move minimal supported Python version to 3.10 / 3.11

What's needed?
In README there is sentence:
For arm64 only Python 3.8 is supported (due to some dependencies that only support 3.8).
These dependencies was an xgboost package that I've build locally, since we wanted to have gpu support for our nvidia jetson xaviar nx edge controllers
Actually these dependencies were never used anywhere.
It is not build and needed now.
Proposed solution
We should drop this  until we have more time or the gpu priority increases.
Then we could move to python 3.10.
Python 3.10 is the latest python supported by tensorflow.
Use cases
No response
Alternatives and workarounds
No response
Additional context
No response

Actually, locally, on all my Linux systems, I am having Python 3.11 installed. Despite a few issues today I had in getting this repo built, I managed to succeed, using Python 3.11. Maybe we can run the tests against 3.10 as well as 3.11 and support both?

Oh,  I thought we were already supporting python 3.11.  I guess we need to add that to the CI first, then.

Oh, I thought we were already supporting python 3.11. I guess we need to add that to the CI first, then.

NB: It's on CI now.

I renamed this issue because I think it was not about supporting Python 3.10 (which was already supported) but to make it the minimum supported Python version (so we can use more modern features in the SDK itself). I also updated it to Python 3.11, as eventually Tensorflow should support it.
Still, I would be very careful about doing this move, as once it is done there is no (easy) way back. Things I would have in mind before doing this:

Check we'll really never, ever need to use a compiled package that it is only supported in Python 3.8 (either because we won't use the package or because it can be compiled with Python 3.10 / 3.11 too).

Check the current supported version in the latest Ubuntu LTS (and probably other popular distros). This is a nice to have, but I think making it work out of the box in a Ubuntu LTS is a nice feature. If we decide against this, we have to be conscious people might need to compile their own Python to use the SDK.

I also don't think we need to do this in v0.18.0, so we might consider moving it to a future milestone.

I updated this issue again, adding current blockers to move to Python 3.11. I removed moving to Python 3.10 as an option because I think is too much effort to move to 3.10 first and shortly after to 3.11 again (I assume the blockers will be lifted sooner than later, but we can reconsider if that doesn't end up happening).

The current tensorflow is compatible with Python3.11, at least it is installable in Python 3.11. It seems like some issues remain with supporting CUDA.
Can we do some testing to see if it is enough for what we need? It would be awesome to make the jump to 3.11, also for all the background task stuff having task groups and exception groups would make everything much easier.

Now the issue in tensorflow is closed, there is one comment saying cuda is supported. Someone complains there are no binary wheels for mac M1, but I guess that shouldn't be a stopper for us.

I added a link a web that shows major libraries compatibility with 3.11. It's not perfect because then a project specifies an open ended python version support (like we do), it's not 100% sure it really works, but in general it should: https://observablehq.com/d/eb336fc983fcdf52


Standard Webpage for the Website.

@kanishkaa24 I have asked to create a complete Website with Javascript, Bootstrap, and Html


display only issuer,subject common name

Description
display only issuer,subject common name
Usage
$ s3heck x509 -f ./data/cert.pem --issuer --subject --validity --dns
Certificate [1]
  Issuer: R3
  Subject: kanywst.top
  Validity:
    NotBefore: 2023-03-31 13:32:00 +0000 UTC
    NotAfter: 2023-06-29 13:31:59 +0000 UTC
  X509v3 extensions
    X509v3 Subject Alternative Name: kanywst.top, tbow.kanywst.top
Certificate [2]
  Issuer: ISRG Root X1
  Subject: R3
  Validity:
    NotBefore: 2020-09-04 00:00:00 +0000 UTC
    NotAfter: 2025-09-15 16:00:00 +0000 UTC
  X509v3 extensions
    X509v3 Subject Alternative Name:
Certificate [3]
  Issuer: DST Root CA X3
  Subject: ISRG Root X1
  Validity:
    NotBefore: 2021-01-20 19:14:03 +0000 UTC
    NotAfter: 2024-09-30 18:14:03 +0000 UTC
  X509v3 extensions
    X509v3 Subject Alternative Name:

fix version


Rmarkdown package not included

nextflow run main.nf -profile test
exited with:
[c2/126003] Submitted process > output_documentation
ERROR ~ Error executing process > 'output_documentation'
Caused by:
Process output_documentation terminated with an error exit status (1)
Command executed:
markdown_to_html.r output.md results_description.html
Command exit status:
1
Command output:
(empty)
Command error:
Loading required package: markdown
Warning in install.packages("markdown", dependencies = TRUE, repos = "http://cloud.r-project.org/") :
'lib = "/home/zeth/anaconda3/lib/R/library"' is not writable
Error in install.packages("markdown", dependencies = TRUE, repos = "http://cloud.r-project.org/") :
unable to install packages
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
there is no package called ‘markdown’
Execution halted
I solved it locally by installing the R markdown package. This should be defined in the dependencies.

Ah, I expect that this was due to me not running it with the docker profile.
Then I shall update the run command specified here ;)