About cv2

Hi I am execute line
python3 TFLite_detection_webcam.py --modeldir = Sample_TFLite_model
but that result is
Traceback (most recent call last):
File "TFLite_detection_webcam.py", line 19, in
import cv2
ImportError: No module named 'cv2'
Please help me..

I have also the same issue while executing python3 TFLite_detection_webcam.py --modeldir = Sample_TFLite_model command.
Any  solutions??

This is likely because you don't have the tflite1-env environment activated. Please try closing and re-opening your terminal, then issuing:
cd tflite1
source tflite1-env/bin/activate

Then try re-running the TFLite_detection_webcam.py script. Let me know if that works!

Thanks but I was running it with tflite1-env in active. I solved the problem of cv2 by using sudo before python3 TFLite_detection_webcam.py --modeldir = Sample_TFLite_model but now I am getting this error
(tflite1-env) pi@raspberrypi:~/tflite1 $ sudo python3 TFLite_detection_webcam.py --modeldir=Sample_TFLite_model
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: compiletime version 3.4 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5
return f(*args, **kwds)
/usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: builtins.type size changed, may indicate binary incompatibility. Expected 432, got 412
return f(*args, **kwds)
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
Traceback (most recent call last):
File "TFLite_detection_webcam.py", line 119, in
interpreter = Interpreter(model_path=PATH_TO_CKPT)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/lite/python/interpreter.py", line 76, in init
_interpreter_wrapper.InterpreterWrapper_CreateWrapperCPPFromFile(
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/lazy_loader.py", line 62, in getattr
module = self._load()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/lazy_loader.py", line 45, in _load
module = importlib.import_module(self.name)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 673, in exec_module
File "", line 222, in _call_with_frames_removed
File "/usr/local/lib/python3.5/dist-packages/tensorflow/lite/python/interpreter_wrapper/tensorflow_wrap_interpreter_wrapper.py", line 28, in
_tensorflow_wrap_interpreter_wrapper = swig_import_helper()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/lite/python/interpreter_wrapper/tensorflow_wrap_interpreter_wrapper.py", line 24, in swig_import_helper
_mod = imp.load_module('_tensorflow_wrap_interpreter_wrapper', fp, pathname, description)
File "/usr/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
File "", line 693, in _load
File "", line 666, in _load_unlocked
File "", line 577, in module_from_spec
File "", line 914, in create_module
File "", line 222, in _call_with_frames_removed
ImportError: /usr/local/lib/python3.5/dist-packages/tensorflow/lite/python/interpreter_wrapper/_tensorflow_wrap_interpreter_wrapper.so: undefined symbol: _ZN6tflite12tensor_utils24NeonVectorScalarMultiplyEPKaifPf

This is likely because you don't have the tflite1-env environment activated. Please try closing and re-opening your terminal, then issuing:
cd tflite1
source tflite1-env/bin/activate

Then try re-running the TFLite_detection_webcam.py script. Let me know if that works!
I solved the cv2 problem by using sudo but now I ran into this problem. Any suggetions  would be appreciated :).
Thanks in advance :)

(tflite1-env) pi@raspberrypi:~/tflite1 $ sudo python3 TFLite_detection_webcam.py --modeldir=Sample_TFLite_model
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: compiletime version 3.4 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5
return f(*args, **kwds)
/usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: builtins.type size changed, may indicate binary incompatibility. Expected 432, got 412
return f(*args, **kwds)
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.5/dist-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
Traceback (most recent call last):
File "TFLite_detection_webcam.py", line 119, in
interpreter = Interpreter(model_path=PATH_TO_CKPT)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/lite/python/interpreter.py", line 76, in init
_interpreter_wrapper.InterpreterWrapper_CreateWrapperCPPFromFile(
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/lazy_loader.py", line 62, in getattr
module = self._load()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/lazy_loader.py", line 45, in _load
module = importlib.import_module(self.name)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 673, in exec_module
File "", line 222, in _call_with_frames_removed
File "/usr/local/lib/python3.5/dist-packages/tensorflow/lite/python/interpreter_wrapper/tensorflow_wrap_interpreter_wrapper.py", line 28, in
_tensorflow_wrap_interpreter_wrapper = swig_import_helper()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/lite/python/interpreter_wrapper/tensorflow_wrap_interpreter_wrapper.py", line 24, in swig_import_helper
_mod = imp.load_module('_tensorflow_wrap_interpreter_wrapper', fp, pathname, description)
File "/usr/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
File "", line 693, in _load
File "", line 666, in _load_unlocked
File "", line 577, in module_from_spec
File "", line 914, in create_module
File "", line 222, in _call_with_frames_removed
ImportError: /usr/local/lib/python3.5/dist-packages/tensorflow/lite/python/interpreter_wrapper/_tensorflow_wrap_interpreter_wrapper.so: undefined symbol: _ZN6tflite12tensor_utils24NeonVectorScalarMultiplyEPKaifPf

That error is a known issue with TensorFlow v1.13, please use a different version (TF v1.14 or higher)! https://github.com/tensorflow/tensorflow/issues/33671

That error is a known issue with TensorFlow v1.13, please use a different version (TF v1.14 or higher)! tensorflow/tensorflow#33671

After updating my tensorflow version to v1.14, I am still getting the same error :(

I solved cv2 problem but this new problem is occur....
ImportError: /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/lite/python/interpreter_wrapper/_tensorflow_wrap_interpreter_wrapper.so: undefined symbol: _ZN6tflite12tensor_utils24NeonVectorScalarMultiplyEPKaifPf

I solved cv2 problem but this new problem is occur....
ImportError: /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/lite/python/interpreter_wrapper/_tensorflow_wrap_interpreter_wrapper.so: undefined symbol: _ZN6tflite12tensor_utils24NeonVectorScalarMultiplyEPKaifPf

Same Problem :(

Hmm, I know that error occurs because of an issue with older versions of TensorFlow (TF v1.14 may also not be new enough). I was experiencing the same error, even when I was using TF v2.0 inside a virtual environment but still had TF v1.13 installed normally.
The only thing I can recommend at this point is completely erasing your SD card (or getting a new one), and re-installing Rasbpian from stretch. Then, restart this guide from Step 1.

Thank you for your kind reply. I will try it!

After re-installing Raspbianand following your TFlite guide, I am now getting this error at line 29:
from tflite_runtime.interpreter import Interpreter'
ImportError: No module name "tflite_runtime"

@saqibshakeel035 can you try opening Python, importing tensorflow, and checking the version?
Open a Python shell by issuing:
python

Then, import tensorflow and check the version by using:
import tensorflow as tf
tf.__version__

And let me know what it prints out as a result.

it's tensorflow-1.14.0

That error is a known issue with TensorFlow v1.13, please use a different version (TF v1.14 or higher)! tensorflow/tensorflow#33671

Having the same issue in 1.14 Python 3.5

@saqibshakeel035 and @dylankolson just want to confirm, did you completely erase your SD card and re-install Rasbpian from scratch? Also, you are working with a Raspberry Pi 3 running the Rasbpian Stretch OS, correct?
I will see if I can reproduce the error on my Pi 3 in a few days.

Yeah I completely erased the card, Re-installed Raspbian stretch using etcher.
And I am working on Raspberry Pi 3B+.
Figuring it out from last couple of days but failed :(.
I will be looking forward to your output 👍

Tep just tried again with a fresh OS install.
(tflite1-env) pi@raspberrypi:~/tflite1 $ python3 TFLite_detection_webcam.py --modeldir=Sample_TFLite_model /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint16 = np.dtype([("qint16", np.int16, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint32 = np.dtype([("qint32", np.int32, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   np_resource = np.dtype([("resource", np.ubyte, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint16 = np.dtype([("qint16", np.int16, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint32 = np.dtype([("qint32", np.int32, 1)]) /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   np_resource = np.dtype([("resource", np.ubyte, 1)]) Traceback (most recent call last):   File "TFLite_detection_webcam.py", line 119, in <module>     interpreter = Interpreter(model_path=PATH_TO_CKPT)   File "/home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/lite/python/interpreter.py", line 76, in __init__     _interpreter_wrapper.InterpreterWrapper_CreateWrapperCPPFromFile(   File "/home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/python/util/lazy_loader.py", line 62, in __getattr__     module = self._load()   File "/home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/python/util/lazy_loader.py", line 45, in _load     module = importlib.import_module(self.__name__)   File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "<frozen importlib._bootstrap>", line 986, in _gcd_import   File "<frozen importlib._bootstrap>", line 969, in _find_and_load   File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 673, in _load_unlocked   File "<frozen importlib._bootstrap_external>", line 673, in exec_module   File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed   File "/home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/lite/python/interpreter_wrapper/tensorflow_wrap_interpreter_wrapper.py", line 28, in <module>     _tensorflow_wrap_interpreter_wrapper = swig_import_helper()   File "/home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/lite/python/interpreter_wrapper/tensorflow_wrap_interpreter_wrapper.py", line 24, in swig_import_helper     _mod = imp.load_module('_tensorflow_wrap_interpreter_wrapper', fp, pathname, description)   File "/usr/lib/python3.5/imp.py", line 242, in load_module     return load_dynamic(name, filename, file)   File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic     return _load(spec)   File "<frozen importlib._bootstrap>", line 693, in _load   File "<frozen importlib._bootstrap>", line 666, in _load_unlocked   File "<frozen importlib._bootstrap>", line 577, in module_from_spec   File "<frozen importlib._bootstrap_external>", line 914, in create_module   File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed ImportError: /home/pi/tflite1/tflite1-env/lib/python3.5/site-packages/tensorflow/lite/python/interpreter_wrapper/_tensorflow_wrap_interpreter_wrapper.so: undefined symbol: _ZN6tflite12tensor_utils24NeonVectorScalarMultiplyEPKaifPf
(tflite1-env) pi@raspberrypi:~/tflite1 $ cat /etc/os-release  PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" VERSION_CODENAME=stretch ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/ SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
Raspberry Pi 3B+.
(tflite1-env) pi@raspberrypi:~/tflite1 $ python3 --version Python 3.5.3

tf.version
'1.14.0'

Hopefully something in there helps, thanks for looking!

I execute this line bash get_pi_requirements.sh
but error like this -> "THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them."

How do I update the hashes?

@saqibshakeel035 and @dylankolson just want to confirm, did you completely erase your SD card and re-install Rasbpian from scratch? Also, you are working with a Raspberry Pi 3 running the Rasbpian Stretch OS, correct?
I will see if I can reproduce the error on my Pi 3 in a few days.

Hello friend,
Hope you are doing good. Can you please tell me if you gave it a try as I am still struggling with the same problem.
Looking forward :)

Hmm, I know that error occurs because of an issue with older versions of TensorFlow (TF v1.14 may also not be new enough). I was experiencing the same error, even when I was using TF v2.0 inside a virtual environment but still had TF v1.13 installed normally.
The only thing I can recommend at this point is completely erasing your SD card (or getting a new one), and re-installing Rasbpian from scratch. Then, restart this guide from Step 1.

I have observed one more thing today that TensorFlow v.2.0 is not available for RPi 3b+ Debrain stretch  as tensorflow-2.0.0-cp35none-linux_armv7l.whl is not available. :(
When I try to install tenosrflow 2.0.0 using the following command:
**sudo pip install tensorflow-2.0.0-cp35-none-linux_armv71.whl**
It gives me the following error:
**Requirement tensorflow-2.0.0-cp35-none-linux_armv71.whl looks like a filename, but the file doesnot exist**

I have tried initially with the Raspbian-stretch and failed exactly with the above described by dylankolson error.
Today I have downloaded the OS "Raspbian Buster with desktop" from https://www.raspberrypi.org/downloads/raspbian/, installed it, then followed the step-by-step instruction from
https://github.com/EdjeElectronics/TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi/blob/master/Raspberry_Pi_Guide.md#part-1---how-to-set-up-and-run-tensorflow-lite-object-detection-models-on-the-raspberry-pi
and run the command
python3 TFLite_detection_webcam.py --modeldir=Sample_TFLite_model
SUCCESSFULLY !!!
Thank you EdjeElectronics !

I made it at the Raspberry Pi 3 B+

@vasylhiruk Thanks, I will try this tonight!

@vasylhiruk Thanks this fixed my issue and I can now run it but after a few seconds my PI seems to crash and reboot

Actually after running of the TFLite_detection_webcam.py at Raspberry Pi 3 B+ I got two issues :

endless messages
.....
corrupt JPEG data: 1 extraneous bytes before marker 0xd2
....
which I have hidden by redirecting them to the /dev/null
python3 TFLite_detection_webcam.py --modeldir=Sample_TFLite_model > /dev/null 2>&1

All bounding boxes were displaced regarding the video objects. I have adjusted them using the factors 0.7 for the Y-coordinates and 0.5 for the X-coordinates :
# Get bounding box coordinates and draw box
# Interpreter can return coordinates that are outside of image dimensions, need to force them to be within image using max() and min()
ymin = int(max(1,(boxes[i][0] * imH * 0.7)))
xmin = int(max(1,(boxes[i][1] * imW * 0.5)))
ymax = int(min(imH,(boxes[i][2] * imH * 0.7)))
xmax = int(min(imW,(boxes[i][3] * imW * 0.5)))

Thank you everyone for your involvement in this thread and getting this dumb NeonVectorScalar error figured out! TensorFlow v1.14 and lower have this error when trying to run TFLite, and unfortunately, there are no newer versions (easily) available for the Pi 3 running Raspbian Stretch.
The workaround is to uninstall regular TensorFlow and then install the TensorFlow Lite runtime provided by Google instead. Open a new terminal window, and issue the following commands:
cd tflite1
source tflite1-env/bin/activate
pip3 uninstall tensorflow
wget https://dl.google.com/coral/python/tflite_runtime-1.14.0-cp35-cp35m-linux_armv7l.whl
pip3 install tflite_runtime-1.14.0-cp35-cp35m-linux_armv7l.whl

Then, you should be able to run the TFLite_detection scripts without any issues.
I will change the get_pi_requirements.txt file so it downloads the TFLite Runtime rather than regular tensorflow if it detects that the user is running Python 3.5 (which typically means the user is on Raspbian Stretch). That way, people working through this guide on a Pi 3 with Raspbian Stretch won't run in to issues.
Hopefully the TensorFlow team will get this error sorted out, or will just upload TF v2.0 wheel files compiled for Python 3.5 and 3.7 to piwheels.org. Once they do, I'll go back in and change get_pi_requirements.txt to just use 'pip3 install tensorflow'.

Dear EdjeElectronics
I have followed your tutorials and they have been quite helpful. I am having this error when I try to run my own trained model, based on SSD fpn lite.
Please can you help out. I am using a raspberry 3B+ with a raspian buster.
The error message is pated below:
Traceback (most recent call last):
File "TFLite_detection_webcam.py", line 138, in
interpreter = Interpreter(model_path=PATH_TO_CKPT)
File "/home/pi/Projects/Python/tflite/tflite-env/lib/python3.7/site-packages/tflite_runtime/interpreter.py", line 351, in init
experimental_preserve_all_tensors))
ValueError: Didn't find op for builtin opcode 'STRIDED_SLICE' version '6'. An older version of this builtin might be supported. Are you using an old TFLite binary with a newer model?
Registration failed.


ctranspose not implemented for Vector2

I get the following error when using Romeo from the REPL:
ERROR: LoadError: LoadError: ctranspose not implemented for ImmutableArrays.Vector2{Float32}. Consider adding parentheses, e.g. A*(B*C') instead of A*B*C' to avoid explicit calculation of the transposed matrix.
 in include at ./boot.jl:249
 in include_from_node1 at ./loading.jl:128
 in include at ./boot.jl:249
 in include_from_node1 at ./loading.jl:128
 in reload_path at ./loading.jl:152
 in _require at ./loading.jl:67
 in require at ./loading.jl:52
 in showerror at ./replutil.jl
while loading /home/steve/.julia/v0.4/Romeo/src/display/renderloop.jl, in expression starting on line 31
while loading /home/steve/.julia/v0.4/Romeo/src/Romeo.jl, in expression starting on line 36

You need to update GLText to master!
2015-01-26 18:46 GMT+01:00 Steve Kelly<EMAIL_ADDRESS>
I get the following error when using Romeo from the REPL:
ERROR: LoadError: LoadError: ctranspose not implemented for ImmutableArrays.Vector2{Float32}. Consider adding parentheses, e.g. A*(BC') instead of AB*C' to avoid explicit calculation of the transposed matrix.
in include at ./boot.jl:249
in include_from_node1 at ./loading.jl:128
in include at ./boot.jl:249
in include_from_node1 at ./loading.jl:128
in reload_path at ./loading.jl:152
in _require at ./loading.jl:67
in require at ./loading.jl:52
in showerror at ./replutil.jl
while loading /home/steve/.julia/v0.4/Romeo/src/display/renderloop.jl, in expression starting on line 31
while loading /home/steve/.julia/v0.4/Romeo/src/Romeo.jl, in expression starting on line 36
—
Reply to this email directly or view it on GitHub
https://github.com/SimonDanisch/Romeo.jl/issues/1.

That seemed to work!


Change SelectForm to create options from enum

I am changing SelectForm so that a separate vector of inputs and the parsing function aren't required. Instead, the form will fill the options using the variants of the enum and will pass back an enum variant oninput.

Completes #53


favicons deleted and default icons displayed if history is cleared.

When clearing the history in Safari, reopening the browser, only the default icons are displayed.
Is this expected behaviour ? Are users meant to reload the faviconbar.backup file after clearing history ?

Sorry for the delay in responding, my daughter just started her orchestra classes again and these couple hours each week is usually where I do Faviconbar development :)
I really don't want to erase my history, so I'm going to trust you on this one.  Faviconbar stores custom icons in Safari's Local Storage, and I am guessing based on your description that it must completely clear that out when history is cleared.
The only workaround I would have is uploading the custom icons to a web server and pointing at those when choosing the icon rather than dragging it into the browser, or reloading a backup file each time you clear history.  Sorry about that :(


[OAP-1856][oap-native-sql]Remove ColumnarBHJ logic from AQE to ColumnarPlugin

In this PR, we moved out most modifications inside AQE, and put them to ColumnarPlugin.scala
Passed TPCDS tests with AQE enabled + V2
Passed TPCDS tests with DPP enabled + V1
Also tested with TPCH Q2 and Q16 with AQE is off.
put remaining modification diff as a patch in tools folder, so we can keep a track.
Fixed: https://github.com/Intel-bigdata/OAP/issues/1856

@rui-mo , this PR is to remove our modification to AQE, I have tested with TPCDS and passed UT here, can you also test all UT in your env , thanks

@zhouyuan , checked with latest spark AQE codes, remaining modification is aligned with NVIDIA's change, so when it update to 3.0.1, we won't need to change AQE file

@xuechendi all unit tests succeed in my env.

@xuechendi all unit tests succeed in my env.

Thanks!


Add man pages

@kapouer can you please close this issue

Agreed that this can be closed, if there is demand for this it's worth raising a new issue.


The link for the diskpart import command actually points to the diskshadow import command

The link for the diskpart IMPORT command actually points to the diskshadow IMPORT command.
Can someone fix this?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bca0f8f7-da0d-6340-bf63-f269be5f64d1
Version Independent ID: 39758423-e92d-d2db-88f3-260dc5a1a26a
Content: DiskPart commands
Content Source: WindowsServerDocs/administration/windows-commands/diskpart.md
Product: windows-server
Technology: storage
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Wow. That should be easy to fix, now that there are 2 separate pages named "import":

import (shadowdisk) (https://docs.microsoft.com/windows-server/administration/windows-commands/import)
import (diskpart) (https://docs.microsoft.com/windows-server/administration/windows-commands/import_1)

Going to check the changelog (History) for the TOC file and the 2 pages, just to see how long these 2 alternatives have been there.

There you go. Sorry it took me so long to find this ticket. PR #5104 is ready for perusal.


Endless spinner after creating a new Collect workspace in OldDot

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @mallenexpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1701739580190259
Action Performed:

Log into test account, ie. expensifail.com
Settings > Workspaces > click "Workspace" button in upper right
Click Select button under "Collect"

Expected Result:
New workspace to be created and page to navigate to it (or to the list of workspaces)
Actual Result:
Endless spinner shows, have to refresh page to get back to list of workspaces
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/38435837/2b7b7014-7d4c-4c89-b0f7-3bb66bbd175f

View all open jobs on GitHub

Left a comment in the thread but I cannot repro @mallenexpensify.
I'm assuming you've tried a clean sign out and cleared cache/cookies etc?

Can't repro


Improve the logic for XFF and internal/external client detection

Description:
Per the discussion in PR 2559, Envoy's logic for determining whether any given request is internal or external, and what the trusted address of the origin client is, has become very complicated. And even with this complexity, the mechanism isn't sufficiently general to cover the needs of all users.
One potential improvement would be to create a plug-in interface so Envoy users can plug in their own logic. Another would be to simplify the configuration semantics for the current functionality.

I just stumbled upon this problem while trying to figure out why my local Envoy in a Docker container allowed my curl requests to spoof the x-envoy-external-address header when having Envoy configured to act as an edge proxy. It took me a while to figure out that the problem was that the source IP of my requests :slightly_smiling_face:
For reference, the configuration I use (inspired by https://www.envoyproxy.io/docs/envoy/v1.12.0/configuration/http/http_conn_man/headers#config-http-conn-man-headers-x-forwarded-for):
static_resources:
  listeners:
    - address:
        socket_address:
          address: <IP_ADDRESS>
          port_value: 80

      filter_chains:
        - filters:
            - name: envoy.http_connection_manager
              config:
                stat_prefix: ingress_http
                codec_type: AUTO

                use_remote_address: true
                xff_num_trusted_hops: 0

                route_config:
                  name: local_route
                  virtual_hosts:
                    {
                      name: local_service,
                      domains: ["*"],

                      routes: [
                        {
                          match: { prefix: "/" },
                          route: { cluster: backend },
                        }
                      ]
                    }

                http_filters:
                  - name: envoy.router

Doing a curl request like this:
$ curl -sv -H "x-envoy-external-address: <IP_ADDRESS>" http://localhost/foo

..and the traffic dump shows that the backend request actually got the spoofed x-envoy-external-address:

We would like to put Envoy in front of all incoming HTTP traffic to our backend services. The problem is that our edge might see untrusted traffic from both internal and external IP addresses. Having read through some discussions in e.g. #2559 and #4383, it sounds like just another configuration option is not the way forward here? Not asking for a solution, just want to start a discussion about the right way to solve this problem.

I just realized that another way of solving our use-case would be if Envoy supported removing any x-forwarded-for header on an incoming request, before Envoy sets it itself. Or is this somehow possible already? I have tried using request_headers_to_remove, but that just causes the x-forwarded-for header to be completely removed from the request that the backend sees as well.

@slovdahl having stirred some waters around this, found that in the connection manager ConnectionManagerUtility::mutateRequestHeaders (which determines internal-ness of request as well) is called before the route is actually selected (and its modifiers like request_headers_to_remove could take effect). It kind of makes sense, you don't want to footgun yourself with removing XFF prematurely, and making Envoy believe the request is internal when it is in fact not.

our edge might see untrusted traffic from both internal and external IP addresses

Interesting. Sounds like you desire that internal traffic to be treated external, But with the default use_remote_address=true && xff_num_trusted_hops=0 setup used for edge router, the internal remote address will be trusted & treated as internal. If you control those internal sources, you could arrange to set XFF header on their requests, which will make the edge proxy treat them as external with those settings (Note that the XFF header sent upstream would then by default contain the original XFF that was sent + the IP of the internal source, which might have further consequences down the chain... but you can control append behavior, or use those route filters to remove).

Thanks for the insights, @robinp-tw :+1:

If you control those internal sources

Unfortunately not. In this case, all incoming requests are actual end-user browsers, some behind NAT and a public IP, and some on IP addresses considered internal by Envoy.
One thing that just occurred to me (I haven't checked yet), but could a Lua script help here in some way? :thinking:


How can I handle an ireglary closed connection ?

Could you please help us and show how to handle IO exceptions? I have taken the TelnetServer example. It is working just fine. But if I close the client by killing the client connection, I get an error thrown which I can not catch:
java.io.IOException: Connection closed by remote client
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
...
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:881)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
...
How can I catch this error, so it will not be shown in my logs. I have already handled the disconnection:
/**
 * @see io.netty.channel.ChannelInboundHandlerAdapter#channelUnregistered(io.netty.channel.ChannelHandlerContext)
 */
@Override
public void channelUnregistered(final ChannelHandlerContext ctx) throws Exception {
    final String host = ((InetSocketAddress) ctx.channel().remoteAddress()).getAddress().getHostAddress();
    final int port = ((InetSocketAddress) ctx.channel().remoteAddress()).getPort();
    System.out.println(String.format("unregistered host:%s port:%d", host, port));

    super.channelUnregistered(ctx);
}

I would be very nice if you could change the telnet server example.
Thank you very much in advice,
Maciej
relevant code: https://github.com/netty/netty/tree/master/example/src/main/java/io/netty/example/telnet

Bricks and Mortality: I have found a solution which was already there:
in TelnetServerHandler.java
@Override
public void exceptionCaught(final ChannelHandlerContext ctx, final Throwable cause) {
    // cause.printStackTrace(); THIS WAS SHOWING THE EXCEPTION
    ctx.close();
}

:+1:


Email Statistics: chart time range varies strangely with every page load

The displayed time range of the Last 24 Hours chart changes whenever I reload the page using F5, for example: 2pm-2pm -> 7pm-7pm -> 11am-11am.

This is indeed a strange behavior. The only reason, I could imagine, is that this is a side effect of reusing objects to render to the UI. This has been changed (with b4ae68a3b48fb1c7f850ee1464d7ba9b6fee1cf1) and might be fixed already.

I wasn't able to reproduce this bug locally but I still can see it on the production instance. Perhaps this a server side caching issue.

Suddenly the graph could also be completely empty. Even the freemarker rendered output doesn't contain any data allthough their should be at least 24 zeros.

63e41df1e76f7532a01252dd08139f0776be372c
Added separate transaction

It seems that the additional transaction fixed this issue.


Cannot read property 'numerator' of undefined

Steps to reproduce
$ ng new PROJECT_NAME
$ cd PROJECT_NAME
$ ng add ng-zorro-antd
What is actually happening?
Error: ./src/theme.less
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/less-loader/dist/cjs.js):
// ================================================================
.table-size(~'middle', @table-padding-vertical-md, @table-padding-horizontal-md, @table-font-size-md);
^
Cannot read property 'numerator' of undefined
Error in C:\Users\quang\Documents\PROJECT\DEMO\PROJECT-NAME\node_modules\ng-zorro-antd\table\style\size.less (line 53, column 0)
at runLoaders (C:\Users\quang\Documents\PROJECT\DEMO\PROJECT-NAME\node_modules\webpack\lib\NormalModule.js:316:20)
at C:\Users\quang\Documents\PROJECT\DEMO\PROJECT-NAME\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at C:\Users\quang\Documents\PROJECT\DEMO\PROJECT-NAME\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (C:\Users\quang\Documents\PROJECT\DEMO\PROJECT-NAME\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at Object.lessLoader (C:\Users\quang\Documents\PROJECT\DEMO\PROJECT-NAME\node_modules\less-loader\dist\index.js:57:5)

Environment
Info

ng-zorro-antd
11.0.2

Browser
Chrome

update your package.json
"devDependencies": {
"@angular-devkit/build-angular": "~0.1100.0"
}

update your package.json
"devDependencies": {
"@angular-devkit/build-angular": "~0.1100.0"
}

npm i -D<EMAIL_ADDRESS>Need "less" for version 3.x
https://github.com/ant-design/ant-design/issues/23125#issuecomment-757678485

npm i -D<EMAIL_ADDRESS>Need "less" for version 3.x
https://github.com/ant-design/ant-design/issues/23125#issuecomment-757678485

update your package.json
"devDependencies": {
"@angular-devkit/build-angular": "~0.1100.0"
}

I still get the same error

update your package.json
"devDependencies": {
"@angular-devkit/build-angular": "~0.1100.0"
}

I still get the same error

Looks like this is an issue again in Angular 11.1.1. Downgrading to 11.1.0 for Angular and using ng-zorro-antd 11.1.0 is successful.

Looks like this is an issue again in Angular 11.1.1. Downgrading to 11.1.0 for Angular and using ng-zorro-antd 11.1.0 is successful.

still error with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Hi, everyone
if you still meet this issue, plz try the following steps

if you have a custom theme.less file, plz try update it following https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/scripts/site/_site/doc/theme.less
if you have your less.js functions, plz note there is breakchange in less 4.0 https://github.com/less/less.js/pull/3573

Hi, everyone
if you still meet this issue, plz try the following steps

if you have a custom theme.less file, plz try update it following https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/scripts/site/_site/doc/theme.less
if you have your less.js functions, plz note there is breakchange in less 4.0 less/less.js#3573

for the step 1, just add the line on the top:
@import "../node_modules/ng-zorro-antd/ng-zorro-antd.less";

For me the issue was prettier had removed ( and ) it thought wasn't needed. I didn't realize this until I compared our custom theme.less with the default mentioned here.
@table-padding-vertical-md: @table-padding-vertical * 3 / 4; should be
@table-padding-vertical-md: (@table-padding-vertical * 3 / 4);

Hi, everyone
if you still meet this issue, plz try the following steps

if you have a custom theme.less file, plz try update it following https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/scripts/site/_site/doc/theme.less
if you have your less.js functions, plz note there is breakchange in less 4.0 less/less.js#3573

this issue took 4 days to solve, insted of using '../node_modules/ng-zorro-antd/ng-zorro-antd.less' you can use '../node_modules/ng-zorro-antd/src/ng-zorro-antd.css' There are various style files inside your ng-zorro-antd module, you will have to go through src folder to find ng-zorro-antd.less file.


Compilation error : Unexpected expression intern.string_intern(...)

I have this small program:
import intern
typedef Symbol = IString

relation BMethod(b1:Symbol, b2:Symbol)
relation CMethod(c1:Symbol, c2:Symbol)
relation AMethod(a1:Symbol, a2:Symbol)

CMethod(a, b) :- BMethod(string_intern("c"), b), AMethod(b, a).

while I am trying to compile it I get an error:
ddlog: Unexpected expression intern.string_intern("c") in Compile.arrangeInput.subst'
CallStack (from HasCallStack):
  error, called at src/Language/DifferentialDatalog/Compile.hs:1612:32 in differential-datalog-<IP_ADDRESS>-1kbn6LIs0fJLftbNrKD4ud:Language.DifferentialDatalog.Compile

If I alternate the relations of the body there is no compilation error and if I use the string type instead of IString also works.
I try to understand, why this error occured?

This is a bug. Thanks for reporting! Will try to fix later today.

@Argc0, the bug should be gone now, let us know if this unblocks you.

Well, when I am trying to compile the above program via ddlog compilation (ddlog -i <program>.dl --action=compile -L lib) the error still remains...and I can't explain why.

Did you pull the latest master and run stack install?
On Fri, May 3, 2019, 3:23 AM Argyro Ritsogianni<EMAIL_ADDRESS>wrote:

Well, when I am trying to compile the above program via ddlog compilation (ddlog
-i .dl --action=compile -L lib) the error still remains...and I
can't explain why.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ryzhyk/differential-datalog/issues/186#issuecomment-489050349,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB7QAP2Q5XT2QMMN5J3WZZTPTQHC5ANCNFSM4HJTHPPQ
.

In fact your example is not part of the test suite, so should definitely work:
https://github.com/ryzhyk/differential-datalog/blob/d25283527817db5f09b0b1636aed9513a6cd0aba/test/datalog_tests/simple.dl#L818

He meant "is now part of the testsuite"

I suspect he is using the released code.

If that's the case, maybe it's time to roll out v0.4 with all the recent improvements

I am so sorry, I was running "stack build" and it seems that did not change the ddlog executable.


Fix GridLayer pixelBounds computation

Map size does not change from one zoom to another, so we don't need
to scale it.
Without this change, we are creating more or less 4x tiles when
zooming in.
There are still cases where we are requesting a bit more tiles than
what I would expect, but I see it also happens on 0.7.3.
I've added a test, it passes on Firefox or Chromium, but it fails on phantomJS, not clue why, joy of headless browser… Not sure if we want to keep it or not, then.

Interesting! Did you test that on mobile devices with pinch-zoom?

                                                                                Original Message                                                                                From: Vladimir AgafonkinSent: Monday, November 23, 2015 5:05 PMTo: Leaflet/LeafletReply To: Leaflet/LeafletSubject: Re: [Leaflet] Fix GridLayer pixelBounds computation (#4040)Interesting! Did you test that on mobile devices with pinch-zoom?

—Reply to this email directly or view it on GitHub.

I tested with non round zooms on my laptop, and it works as expected. I'll do a test with mobile :)
But it you think a bit more about the logic of the algo, I think this patch makes sense. Note that I've been like two hours trying to understand why the pixelBound was not the one expected, and I was really finding the pattern "compute size" + "divide by 2 to get the half" + "scale it with the zoom difference" so logical that I was looking every where around but there :p
What we want is the pixel bounds (in pixels, so…) at the tile zoom (the final displayed zoom), and I think this pixel bounds will always be the width of the map container at the end, no?
I'm not even sure we need to compute the new center before actually.

Just tested on mobile, I see no issue.

:+1:

@yohanboniface can you check if https://github.com/Leaflet/Leaflet/pull/4156 left the tile usage the same? Is there an example for trying it?

can you check if #4156 left the tile usage the same?

No, it does not… cc @IvanSanchez

Is there an example for trying it?

You can run this test on Firefox (any browser but PhantomJS actually): https://github.com/Leaflet/Leaflet/pull/4040/files#diff-19a7d53df5d545ee8cde69a53256057cR123

I tried to make a playground example from @yohanboniface 's code.
Results:

0.7.5 (only using browser tools): 8 tiles at load, +6 tiles at zoom: http://playground-leaflet.rhcloud.com/puh/1/edit?js,output
1.0 beta 2: 8 tiles at load, +24 tiles at zoom: http://playground-leaflet.rhcloud.com/pux/2/edit?js,console,output
1.0 just before #4156: 8, +6, http://playground-leaflet.rhcloud.com/meq/1/edit?js,console,output
1.0 after #4156: 8, +24 http://playground-leaflet.rhcloud.com/pul/1/edit?js,console,output


Cannot run the example app of a plugin from IDE

Steps to Reproduce

Create a new plugin flutter create --plugin hello
Open in IDEA: cd hello; idea .

=> Would like to be able to launch the example app, but we seem to be missing a launch config, so Run/Debug is disabled.

@devoncarew any ideas on this? I guess the core issue is that the root folder doesn't have anything to run; the example subfolder does?

The main IntelliJ project would need to know about the example sub module (and perhaps the example launch config duplicated into the main .idea directory).
Re: generating an example/ sub dir in the project, that has some drawbacks esp. in terms of all the artifacts and machinery for android and ios. Generating into a parallel project would improve some things while introducing other issues. I have not been able to think of a better way to allow for quick running on the user's plugin code.

I'd like to see this fixed at the package-format-organization level. I think our "ecosystem team" should include a scope of "making packages + examples work better, especially for mobile and Flutter". We can change some assumptions of our packages and single-.packages , and if so, perhaps make higher-level layers of our stack more robust.

I'd like to see this fixed at the package-format-organization level.

Sure, we have indeed learned that the /example/ subdir approach does seem to have some drawbacks. Whether it can be fixed at by re-organizing without a similar (or larger) set of drawbacks is not given yet though.

@devoncarew if I manually add a Flutter launch config to a plugin project hello with these settings:

Name: /example/lib/main.dart
Dart : /hello/example/lib/main.dart

, then the Run/Debug actions seem to work. Specifically for this issue, couldn't we just add that to the plugin template?

@mit-mit, yup, we could - sounds like a good idea.


Don't change BOM for existing project files - fixes #2271

As mentioned in #2271, some project files have a BOM (created by VS), others don't (from Ionide/Forge), so to know what "unchanged" means, we have to probe the original file and set the encoding for writing the XML file accordingly. We only consider UTF-8 because it seems safe to assume all project files will have that.

Updated with a better way to get the bytes to compare against.
@forki What did you mean earlier with "What happens if it's 3 bytes"? If the file is shorter than what we're trying to read, FileStream.Read() will take what it can get and return the number of bytes as an integer (which we ignore). That would leave us with a byte array that is not equal to the expected BOM, and we would decide to write the project file without a BOM.

thx!


Test network deployment: Single Node

Test net deployment single node with Tendermint + BigchainDB:

[x] Deploy Kubernetes: ACS
[x]  URL to be used for Test network deployed: labs.ipdb.io
[x] Build BigchainDB Docker images from Tendermint branch.
[x] Use MongoDB images without Replica Set
[x] Add config map and secrets for MongoDB configuration.
[x] Persistent Volume for LevelDB
[x] Test POST/GET transactions

Completed all tasks, closing the ticket.


Using OIDC Well-known Endpoint

First of All, thanks for providing such a useful module :)
I use Duende Identity Server and It has "Discovery Endpoint" like many other OIDC providers. Is there anyway to use this endpoint instead of adding URL directly into nuxt.config.ts file?

Hello,
Thanks for your feedback. This feature is planned for the generic OIDC provider.
In the meantime you can get the required information by opening the metadata URL in the browser and get the URLs from there.


Several web tests flaking in presubmit, blocking rolls

https://ci.chromium.org/ui/p/flutter/builders/try/Linux linux_web_engine/2178/overview from the Dart roll attempt here https://github.com/flutter/engine/pull/41113.
If the flakes are caused by the roll, that should also be determined, but I suspect the tests are just flaking.

I think the ones popping up on Windows (chrome-dart2js-html-engine suite) are legitimate test failures from the roll. Error output here:
00:18 +331 ~18 -1: history_test.dart: MultiEntriesBrowserHistory handle user-provided url [E]
  NoSuchMethodError: method not found: '$index' on null
  ..\..\..\..\flutter\lib\web_ui\lib\src\engine\navigation\history.dart 204:52  MultiEntriesBrowserHistory.onPopState
  org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2303:9        tear.off.<fn>
  ..\..\..\..\flutter\lib\web_ui\lib\src\engine\test_embedding.dart 176:7       TestUrlStrategy._firePopStateEvent
  ..\..\..\..\flutter\lib\web_ui\lib\src\engine\test_embedding.dart 131:7       TestUrlStrategy.simulateUserTypingUrl.<fn>
  ..\..\..\..\flutter\lib\web_ui\lib\src\engine\test_embedding.dart 167:60      TestUrlStrategy._nextEventLoop.<fn>
  org-dartlang-sdk:///lib/async/zone.dart 1407:39                               StaticClosure._rootRunUnary
  org-dartlang-sdk:///lib/async/zone.dart 1307:34                               _CustomZone.runUnary
  org-dartlang-sdk:///lib/async/future_impl.dart 147:18                         _FutureListener.handleValue
  org-dartlang-sdk:///lib/async/future_impl.dart 784:36                         _Future._propagateToListeners.handleValueCallback
  org-dartlang-sdk:///lib/async/future_impl.dart 813:13                         Object._Future._propagateToListeners

The failures on Mac (safari-dart2js-canvaskit-ui) seem like a separate issue having to do with the skia-gold client:
/Volumes/Work/s/w/ir/cache/gold/goldctl imgtest init --instance flutter-engine --work-dir /Volumes/Work/s/w/ir/cache/builder/src/flutter/lib/web_ui/.dart_tool/skia_gold/safari-dart2js-canvaskit-ui/temp --commit f1fb2098cb69c78aacc887bcb706d5c5fabdfa44 --keys-file /Volumes/Work/s/w/ir/cache/builder/src/flutter/lib/web_ui/.dart_tool/skia_gold/safari-dart2js-canvaskit-ui/keys.json --failure-file /Volumes/Work/s/w/ir/cache/builder/src/flutter/lib/web_ui/.dart_tool/skia_gold/safari-dart2js-canvaskit-ui/failures.json --passfail --crs github --patchset_id f1fb2098cb69c78aacc887bcb706d5c5fabdfa44 --changelist 41113 --cis buildbucket --jobid<PHONE_NUMBER>939787873
/Volumes/Work/s/w/ir/cache/gold/goldctl imgtest add --work-dir /Volumes/Work/s/w/ir/cache/builder/src/flutter/lib/web_ui/.dart_tool/skia_gold/safari-dart2js-canvaskit-ui/temp --test-name scene_builder_centered_circle --png-file /Volumes/Work/s/w/ir/cache/builder/src/flutter/lib/web_ui/.dart_tool/skia_gold/safari-dart2js-canvaskit-ui/scene_builder_centered_circle.png --add-test-optional-key image_matching_algorithm:fuzzy --add-test-optional-key fuzzy_max_different_pixels:900 --add-test-optional-key fuzzy_pixel_delta_threshold:21

00:02 +4 -1: loading scene_builder_test.dart [E]
  Exception: Unexpected Gold tryjobAdd failure.
  Tryjob execution for golden file test scene_builder_centered_circle.png failed for
  a reason unrelated to pixel comparison.

  Debug information for Gold:
  stdout:
  stderr: Error running command: ''invalid test config: field "gitHash", "commit_id", or "change_list_id" must be set.. At jsonio.go:153 goldclient.go:314 goldclient.go:277 cmd_imgtest.go:363 cmd_imgtest.go:294 command.go:860 command.go:974 command.go:902 command.go:895 main.go:54 proc.go:255 asm_amd64.s:1581''

  package:skia_gold_client/skia_gold_client.dart 347:7  SkiaGoldClient._tryjobAdd
  ===== asynchronous gap ===========================
  package:skia_gold_client/skia_gold_client.dart 206:7  SkiaGoldClient.addImg

That seems unlikely to be related to the roll.

I did a bisect and the MultiEntriesBrowserHistory was caused by https://dart-review.googlesource.com/c/sdk/+/271480, but that has already been reverted here: https://dart-review.googlesource.com/c/sdk/+/271480. So at least that one should not be blocking the roll.

Closing as the offending commit was reverted.


Routing API's to right upstream URL

Summary
Is there a way we can route right API to right upstream URL? Eg. - There are 2 different API's

/v1/users/:id/items  ---> Upstream URL: <IP_ADDRESS>:2000

--> /v1/users/12345/items

/v1/users/:id/preferences ---> Upstream URL: <IP_ADDRESS>:3000

--> /v1/users/12345/preferences
:id is variable here.
Currently we have added a logic in the code to grep for ":" and route it accordingly. But if we have large number of API's it might lead to slowness as it will iterate through the whole list.
Is there a way we can handle this better?  or is there any pre-loaded plugin which does this ?
Additional Details & Logs

Kong version ($ kong version) - 0.10
Operating System - MacOS

Kong does not (yet) support variables in the uri.

@Tieske Hi, Do you have any plans of supporting it in near future or any work around? Thanks.

It's on the radar, but not planned yet. So no eta.

See https://github.com/Mashape/kong/issues/677

i added this in upstream url -- http://localhost:1111/student/:student_id
then in urIs i added /student/:student_id
when i run this http://localhost:8000/student/123 its showing no API found with those values

@kumarinstor please take those type of questions to Kong Nation


Component refactor

Rewrite of rendering implementation of Component.js

$$ as parameter for render(): fixes issues with Substance used with two instances of the library code (~peerDependency)
improved technical architecture
better debuggability (via setting RenderEngine.DEBUG = true)
automatically retain ancestors of ref'd components
deep rerendering by default

Need to fix scrollTo

Also I did some profiling and it is clear that I need to to optimize some stuff in RenderingEngine.

Resolved performance problems. However there are some issues with retaining components in delicate nesting scenarios.

It
is
done

Still we should wait with merging this, as I have removed routing support, which was not satisfactory.
We have discussed a better approach which I want to try out on top of this branch.

Nice! And yes, we should bring back the router and make it independent of the component state properties.


Add chip to the DRM parser class

Adds a chip label to the DRM parser class so the data can be related to hwmon metrics when exported by the node_exporter.
For example, node_exporter produces the following metric:
node_hwmon_chip_names{agent_hostname="ubuntu-0", chip="0000:9d:00_0_0000:9e:00_0", chip_name="amdgpu", instance="ubuntu-0.maas"}

So, by having a chip label coming from the DRM parser, DRM metrics can be related to hwmon sensor metrics to build a better dashboard with clear AMD GPU filters.
For example:
node_drm_card_info{agent_hostname="ubuntu-0", card="card0", instance="ubuntu-0.maas", chip="0000:9d:00_0_0000:9e:00_0", memory_vendor="samsung", power_performance_level="auto", vendor="amd"}

Also closes: #673

@discordianfish and @SuperQ please review! Thank you


Backstage Homepage Template

🗒 General

Hi! We'd love to bring the Backstage homepage to life as a template for adopters to use and modify. This is quite similar to the Backstage homepage that we utilise at Spotify.
Building on top of the awesome work done for #6486, we'd love to provide a structured template using composable cards for folks customise for their teams.
From user research done at Spotify with our own Backstage users, we've found that most users open Backstage already knowing what they want to access. With that knowledge, we've incorporated a direct search bar above the fold. Adopters are free to replace the Backstage art above the search with their own company logos.
Guidelines for the homepage

Ideally should have a prominent search bar for users to quickly get to what they are looking for
Should not be overwhelming - we've found that our users rarely scroll too much on the homepage, so most content should 'above the fold'. We recommend 4 composable cards, maximum.
Composable cards can contain a variety of content. Some really great suggestions were presented in #5416

💻 Usage
In our own instance of Backstage at Spotify, we've also leveraged the "Quick Access" section, which includes sections like 'Frequently Visited' and 'Recently Visited' - these two were especially requested during our user research sprints. This card is an optional part of the template, as well as the toolkit section.

Ideally, there would be an introductory, tutorial experience for this new homepage as well (alluded to in #6998), similar to the following.
Some guidelines for tutorials:

Should be less than 5 steps.
Must have the option to skip.
Explanatory copy should be less than 3 sentences
Must include 'back', 'next', and 'finish' buttons.

📐 Specs
Figma link where you can duplicate the template and view additional guidelines.

🔮 Future
Any suggestions or feedback? Let us know. We also hope to add this to our Storybook.

Hi @KatherineZhou - when i try to access the Figma link, i get the following error message: File not found
Either this file doesn’t exist or you don’t have permission to view it. Ask the file owner to verify the link and/or update permissions.

hmm thanks for raising that! you can access it here --> you can duplicate this file and find the 'Homepage' page on the left hand side (the 'pages' column)

That works - I guess the link in the initial post is broken - Thanks for helping out :-)

Great work! Looks awesome, I don’t know why but this landscape is still my favorite 😀

It would be nice to have the home page be more like a dashboard with dynamic widgets that user can configure. React Grid Layout could be a possible solution - https://www.npmjs.com/package/react-grid-layout.
Here is a nice demo: https://react-dashboard-demo.cube.dev/

I love the quick links and the tools! That could drive a ton of value.
As some additional feedback, with some of the first few internal shows I've done of Backstage, there was a definite "what is the value to me of this Backstage thing" perception. Given that, we played around with some hero-style cards which I think in my mind would be ideal to be there, but maybe be dismissible.  That is, if I have a 1000 person org, then these cards would be most useful to the broader population, but as teams became more and more familiar with Backstage, as the "rumors of its value" as a product became to permeate the org, then users should be able to ditch the hero cards and straight back into the higher value things like search (discoverability), quick access, etc.
Given that, we just roughly had drafted this:

Featuring some variations on a new template for the homepage that shows more metrics and data visualizations - these are suggested layouts, you would be able to modify as you wish! I've also utilized a darker theme as proposed in #7633 as a trial in these mockups.
Let me know your thoughts and if you have any other requests! Our homepage is composable, so you'd be able to modify these as you see fit for your organization.
We also hope to get some help building out these templates for our Storybook.

.

Wow looks awesome!!

Thanks!! Let us know if there are any other templates you'd like to see. Also if there are any folks that want to help us build out these starter templates for the home page, please let me know and we can collaborate together!

Assigning myself to this issue @KatherineZhou as I'll start implementing a storybook template of the first version. Then we will create follow up issues after than as discussed!

I'll now close this issue, as we have both documentation of how to add a custom Homepage here https://backstage.io/docs/getting-started/app-custom-theme#custom-homepage and a collection of templates (only one for now) on our storybook under Plugins > Home > Templates. If you want to contribute with more templates, please open a PR with additions to the storybook collection or open an issue suggesting your template. Let me know if you think we should leave this issue open @KatherineZhou until we have more templates available and we can re-open it again!


Remove jemalloc, swap for stats_alloc simple wrapper

As @TomVasile has pointed out, we don't report the correct values for consumed, @thamps-casp has previously noted that CL_MEM_DUMP_THRESHOLD doesn't result in a memory dump, and we don't use the related metrics reported by the node. This does not affect our node-internal DataSize related memory metrics.

Adding this to 1.5.0 - I'd like to bring it in then or after.

bors r+


Correct minor typo/spelling mistake in context.set_options docstring

Let me know if I'm mistaken, not a native speaker myself.
And thanks a lot for the great project ;)

Thanks!


Request for information: loading local jars

Hi all,
I just started experimenting with PixieDust and I could use some instruction.  I am primarily a Python developer, so maybe I am just missing something, but I have a scala project built with sbt and the resulting jar file and I'd like to use classes from that jar.  How can I do this?  Is there a way to add items to the JVM classpath?
Eric

@ELind77 This scala bridge only works if your kernel is connected to Spark. See: https://ibm-watson-data-lab.github.io/pixiedust/scalabridge.html for more information.
You can also use our automated installer to download Spark and connect it to a kernel: https://ibm-watson-data-lab.github.io/pixiedust/install.html


Add example for building using existing workspace

If you already have docker machine cloned, or want to use an
existing workspace to clone it to, this helps with what your
GOPATH should be set to.
Also cleanining up the formatting of the previous block to
match others on the page.
Signed-off-by: Christy Perez<EMAIL_ADDRESS>

Nice, thanks @clnperez !
cc @londoncalling

LGTM

LGTM


Neodigm Soda Pop | Shake method should make event audio optional

We are seeing increased usage of this method in conjunction with other experiences, such as confetti. This makes the default event audio (error sound) off putting.  While it is true that this audio can be configured with the neodigmOpt.EVENT_SOUNDS option, this impacts the entire instance. We should allow the shake() syntax to accept an event audio toggle to allow for config within each call.

Great idea. Not really a bug, but makes sense. To be clear this would be a non-breaking change, because the parameter would default to TRUE.

This is complete in v2.5. No documentation changes.


Need to update on value for spark.datasource.hive.warehouse.load.staging.dir

[Enter feedback here]
Under this part :
https://docs.microsoft.com/en-us/azure/hdinsight/interactive-query/apache-hive-warehouse-connector#configure-spark-cluster-settings
Step 3 👍
spark.datasource.hive.warehouse.load.staging.dir
Current Value 👍
<EMAIL_ADDRESS>Set to a suitable HDFS-compatible staging directory. If you have two different clusters, the staging directory should be a folder in the staging directory of the LLAP cluster's storage account so that HiveServer2 has access to it. Replace STORAGE_ACCOUNT_NAME with the name of the storage account being used by the cluster, and STORAGE_CONTAINER_NAME with the name of the storage container.
Suggestion 👍
We may need to add Storage path as per the storage type. There is no mention of how to add this property spark.datasource.hive.warehouse.load.staging.dir for ADLS Gen 2 Storage Type Cluster
<EMAIL_ADDRESS>Customer following the docs instruction and adding wasbs for the ADLS Gen 2 storage type and getting issue with write operations.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f4c331d3-c2cd-977d-b253-07dc0b3672a1
Version Independent ID: d38338d5-aad7-1e6d-4a4f-89c73623e1fc
Content: Apache Spark & Hive - Hive Warehouse Connector - Azure HDInsight
Content Source: articles/hdinsight/interactive-query/apache-hive-warehouse-connector.md
Service: hdinsight
GitHub Login: @nis-goel
Microsoft Alias: nisgoel

@neerajrai1  Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Can you please assign this to me? Thanks

@nis-goel : I can update the doc. @CHEEKATLAPRADEEP-MSFT Can you please assign this to me?

Created PR 208680

PR 208680 is merged. It will be live in https://docs.microsoft.com/en-us/azure/hdinsight/interactive-query/apache-hive-warehouse-connector#configure-spark-cluster-settings shortly


M.2 - Multiple counterparties

Multiple Counter Parties - The current MVP does support only 2 signing parties, we will refactor the Dapp to manage multiple signing parties.

testing

done


test/from_base64: from_base64 transform test

Issue: 5220
This commit adds a simple test case for the from_base64 transform.

False sense of test passing. It checks for a file that doesn't exist.  I wonder if we should do that anymore, due to this false sense that it passes.  I'd rather have it fail until its really passes.

False sense of test passing. It checks for a file that doesn't exist. I wonder if we should do that anymore, due to this false sense that it passes. I'd rather have it fail until its really passes.

The Suricata PR hasn't been merged yet and is still in draft status.

What is the draft PR number ?

Seems to be https://github.com/OISF/suricata/pull/7233

Closing as https://github.com/OISF/suricata/pull/7233 was closed, right @jlucovsky ?


[EAGLE-908] Hdfs JMX Monitoring Dashboard

[EAGLE-908] Hdfs JMX Monitoring Dashboard

Hdfs overview page, use tab to show multiple active namenode, hdfs summary is displayed at the upper portion of the page.
Refactor index.js sharing to all services.

https://issues.apache.org/jira/browse/EAGLE-908

@zombieJ could you please help review?

Close the pr, contribute to the jira base on 825


Missing option for custom EnvironmentVariableTarget.

Missing option for custom  EnvironmentVariableTarget.
https://github.com/tonerdo/dotnet-env/blob/038186f9a927439c6bdd735918e2b7fe79c37671/src/DotNetEnv/LoadVars.cs#L11

I don't know what you mean.  Please explain what you are trying to accomplish.

I think that the idea is something like this - https://github.com/chestercodes/dotnet-env/commit/d8a29b6eb2359c68cd37b38c7cdebaf389c8d0a2
The problem is that this would require an update to netstandard2.0, as these APIs are only present on this version.

OK, after looking into this on:
https://docs.microsoft.com/en-us/dotnet/api/system.environmentvariabletarget?view=netframework-4.8
This is a very weird MS only feature that is not really what env vars are, imo.  So I don't feel too bad not supporting this.  Env vars are env vars, there is no such thing as "process" vs "machine" outside of some weird Windows OS only concepts that I do not want to encourage.
Personally I love C#, but that does not mean I love everything MS does, and I wish Windows was the final say in OS but it definitely, definitely is not (no proper support for Unicode in terminal, no ability to run both Docker and Virtualbox on the same host, because Windows Hypervisor VM setup is busted :( ) so I am not going to claim they do everything perfect.  This weird feature definitely falls in that bucket, imo.
If you really, really want to support it... well, I suppose we can upgrade the version in here and add the feature and let people raise an issue of backwards compatibility -- by this point, I imagine everyone should have upgraded already.  Submit the PR and I'll approve and merge it.
Until then, I'm not going to lose sleep over this issue, sorry.  Closing.


add xml2po conversion

we might as well add the .xml to .po conversion, for addons that still have .xml based language files

Thanks!


cmd/go: go test -race can't create $WORK/net.a

What version of Go are you using (go version)?
go version go1.8.3 linux/amd64
This go version was compiled from source using make.bash.
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/bnagaev"
GORACE=""
GOROOT="/home/bnagaev/go"
GOTOOLDIR="/home/bnagaev/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build015631019=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

What did you do?
$ go get -t github.com/starius/racesync
$ go test -race github.com/starius/racesync/...
# net
can't create $WORK/net.a: open $WORK/net.a: no such file or directory

Output of go test -x -race github.com/starius/racesync/...
https://gist.github.com/4c41db39b692b8f50ec8bd0d20910b1b
This issue was factored out from https://github.com/golang/go/issues/20512#issuecomment-305872589

How repeatable is this for you?
The error message is coming from the compiler.  The compiler is saying that it can not create the output file because of a ENOENT error.  As far as I can see this can only mean that the directory $WORK does not exist.  And that makes no sense at all.

I found this error on my machine and then verified it on a clean GCP machine. Both machines run Debian.

This is happening because of your test, which is
	dir := os.TempDir()
	defer os.RemoveAll(dir)

The test removes the entire temporary directory while the go tool is using.  The failure occurs because the temporary directory is gone when the Go compiler expects it to exist.
Don't do that.

Ahhh!  It was intended to create (and remove) a temp directory but instead just removed /tmp.


daniel/fix-db-nodes --> dev

Contains fixes of remarks from previous PR + changes comboentries in DB nodes to comboboxes

I think the idea why it were comboentries is to allow putting there TempVariableRects (table name could come from variables) - I will approve it now, but maybe we will need to change back in the future


Chromecast double entry removal self resetting to off

Please only report your issue here, if all points below are true

I installed the App from vanced.app, this github repository or the Vanced Discord server
I am using the latest version
This is an issue in the Vanced Manager app (NOT Youtube Vanced)
This issue keeps re-occurring every time I try
For MIUI users: I disabled MIUI optimisation
For root users: I disabled apk Signature Verification

Phone Specifications:

Brand: samsung
Operating System: android
Android Version: 10 - Q
Vanced Manager Version:1.2.0 niko

Please describe the problem you are having in as much detail as possible:
Hi, thanks for the aswesome apps! I would like to signal a bug tough. Simply put, the new cool vanced manager's feature relative to the chromecast removal of double entry resets itself to off fron time to time. I am on a note 10+, one ui 2.5, android 10.
Steps to reproduce:
Open vanced manager after a while. I could not determine of there is a specific action to trigger the bug yet, but i have done nothing (of what i can actively do) apart from closing recent apps
Further details:
None. Thank you again for your apps

Will be fixed on next version.

Thank you, and sorry for the mistake

I would like to update the situation after a full day of phone usage: the option has not resetted to "off" anymore, but the feature simply does not work at all even with it apparently being "on"

I would like to update the situation after a full day of phone usage: the option has not resetted to "off" anymore, but the feature simply does not work at all even with it apparently being "on"

It is a problem part of the already fixed bug.

https://github.com/YTVanced/Vanced/issues/52


non-square videos

Hi!
I would like to run your method on non-square videos. However, it seems simply changing the crop size in the dataset causes dimension errors afterwards. Are non-square videos not supported? are you planning to support this?
Thanks!

Thanks for your attention, limited by original stable diffusion, FateZero can not generate non-square videos. This is a valuable question and worth to explore

Sorry that I have not implemented non-square video for my fatezero paper, and the original code only supports 512X512.
I think the simplest way to change is  to remove the image cropping operation in dataloader.
https://github.com/ChenyangQiQi/FateZero/blob/9b6cb7b4dea2b2154df71ad7be0f61a66ca46d88/video_diffusion/data/dataset.py#L111-L113
I think there are other points of concern that you may need to consider when testing on non-square videos

The overall image quality will degrade because attention and convolution layers are pre-trained on 512x512 squares and are sensitive to the resolution
It will take much more memory when tested on larger video (e.g., 1024x1024 ), especially on self-attention maps.
Some part of my code write explicit integer that is related to resolution. They will bring unwanted bugs
a.	(e.g., https://github.com/ChenyangQiQi/FateZero/blob/9b6cb7b4dea2b2154df71ad7be0f61a66ca46d88/video_diffusion/prompt_attention/attention_register.py#L112C84-L112C91)