text:
caffe2 build error

If this is a build issue, please fill out the template below.
System information

Operating system:
Compiler version:
CMake version:
CMake arguments:
Relevant libraries/versions (e.g. CUDA):

CMake summary output
******** Summary ********
<please paste summary output here>

This is my summary:
-- ******** Summary ********
-- General:
--   CMake version         : 3.5.1
--   CMake command         : /usr/bin/cmake
--   Git version           : v0.8.1-1033-g0379390-dirty
--   System                : Linux
--   C++ compiler          : /usr/bin/c++
--   C++ compiler version  : 5.4.1
--   Protobuf compiler     : /usr/bin/protoc
--   Protobuf include path : /usr/include
--   Protobuf libraries    : optimized;/usr/lib/x86_64-linux-gnu/libprotobuf.so;debug;/usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread
--   CXX flags             :  -Wno-deprecated -std=c++11 -O2 -fPIC -Wno-narrowing -Wno-invalid-partial-specialization
--   Build type            : Release
--   Compile definitions   :
--   BUILD_BINARY          : ON
--   BUILD_DOCS            : OFF
--   BUILD_PYTHON          : ON
--     Python version      : 2.7.12
--     Python library      : /usr/lib/x86_64-linux-gnu/libpython2.7.so
--   BUILD_SHARED_LIBS     : ON
--   BUILD_TEST            : ON
--   USE_ATEN              : OFF
--   USE_ASAN              : OFF
--   USE_CUDA              : ON
--     CUDA version        : 9.1
--     CuDNN version       : 7.0.2
--   USE_EIGEN_FOR_BLAS    : 1
--   USE_FFMPEG            : OFF
--   USE_GFLAGS            : ON
--   USE_GLOG              : ON
--   USE_GLOO              : ON
--   USE_LEVELDB           : ON
--     LevelDB version     : 1.18
--     Snappy version      : 1.1.3
--   USE_LITE_PROTO        : OFF
--   USE_LMDB              : ON
--     LMDB version        : 0.9.70
--   USE_METAL             : OFF
--   USE_MKL               :
--   USE_MOBILE_OPENGL     : OFF
--   USE_MPI               : ON
--   USE_NCCL              : ON
--   USE_NERVANA_GPU       : OFF
--   USE_NNPACK            : ON
--   USE_OBSERVERS         : ON
--   USE_OPENCV            : ON
--     OpenCV version      : 3.2.0
--   USE_OPENMP            : OFF
--   USE_PROF              : OFF
--   USE_REDIS             : OFF
--   USE_ROCKSDB           : OFF
--   USE_THREADS           : ON
--   USE_ZMQ               : OFF
system:ubuntu16.04
Gpu:cuda8.0
Cudnn:6.0
Error as following:
../lib/libcaffe2_gpu.so：对‘caffe2::EnforceNotMet::AppendMessage(std::string const&)’未定义的引用
../lib/libcaffe2.so：对‘cpuinfo_get_l4_cache’未定义的引用
../lib/libcaffe2_gpu.so：对‘std::vector<double, std::allocator > caffe2::ArgumentHelper::GetRepeatedArgument(std::string const&, std::vector<double, std::allocator > const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘gloo::EnforceNotMet::EnforceNotMet(char const*, int, char const*, std::string const&)’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::detail::extractNetDef(caffe2::OperatorDef const&, std::string const&)’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::Workspace::CreateBlob(std::string const&)’未定义的引用
../lib/libcaffe2_gpu.so：对‘long caffe2::TypeMeta::Idstd::string()’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::gRegisteredTypeNames()’未定义的引用
../lib/libcaffe2_gpu.so：对‘long caffe2::ArgumentHelper::GetSingleArgument(std::string const&, long const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::detail::extractLinks(caffe2::OperatorBase*, std::string const&, std::string const&, std::string const&, std::string const&, std::vector<caffe2::detail::Link, std::allocatorcaffe2::detail::Link >)’未定义的引用
../lib/libcaffe2_gpu.so：对‘bool caffe2::ArgumentHelper::GetSingleArgument(std::string const&, bool const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::OpSchema::SetDoc(std::string const&)’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::gTypeNames()’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::StringToPadMode(std::string const&)’未定义的引用
../lib/libcaffe2_gpu.so：对‘double caffe2::ArgumentHelper::GetSingleArgument(std::string const&, double const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::EnforceNotMet::EnforceNotMet(char const, int, char const*, std::string const&, void const*)’未定义的引用
../lib/libcaffe2_gpu.so：对‘bool caffe2::ArgumentHelper::HasSingleArgumentOfType(std::string const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘bool caffe2::ArgumentHelper::HasSingleArgumentOfTypecaffe2::NetDef(std::string const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘unsigned short caffe2::ArgumentHelper::GetSingleArgument(std::string const&, unsigned short const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘int caffe2::ArgumentHelper::GetSingleArgument(std::string const&, int const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘google::base::CheckOpMessageBuilder::NewString()’未定义的引用
../lib/libcaffe2_gpu.so：对‘bool caffe2::ArgumentHelper::HasSingleArgumentOfType(std::string const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::ArgumentHelper::HasArgument(std::string const&) const’未定义的引用
../lib/libcaffe2.so：对‘cpuinfo_get_l3_cache’未定义的引用
../lib/libcaffe2_gpu.so：对‘google::protobuf::internal::StringTypeHandlerBase::New()’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::OpSchemaRegistry::map()’未定义的引用
../lib/libcaffe2.so：对‘cpuinfo_isa’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::Workspace::GetBlob(std::string const&)’未定义的引用
../lib/libcaffe2_gpu.so：对‘short caffe2::ArgumentHelper::GetSingleArgument(std::string const&, short const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘std::unique_ptr<caffe2::RecurrentNetworkExecutorBase, std::default_deletecaffe2::RecurrentNetworkExecutorBase > caffe2::createRNNExecutorcaffe2::CUDAContext(caffe2::NetDef const&, std::map<std::string, std::string, std::lessstd::string, std::allocator<std::pair<std::string const, std::string> > >&, std::string, caffe2::ArgumentHelper)’未定义的引用
../lib/libcaffe2_gpu.so：对‘std::vector<bool, std::allocator > caffe2::ArgumentHelper::GetRepeatedArgument(std::string const&, std::vector<bool, std::allocator > const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘google::protobuf::Message::ShortDebugString() const’未定义的引用
../lib/libcaffe2_gpu.so：对‘google::protobuf::internal::empty_string_’未定义的引用
../lib/libcaffe2_gpu.so：对‘bool caffe2::ArgumentHelper::HasSingleArgumentOfType(std::string const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::detail::GetRecurrentMapping(std::vector<caffe2::detail::Link, std::allocatorcaffe2::detail::Link > const&, bool)’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::TensorPrinter::TensorPrinter(std::string const&, std::string const&, int)’未定义的引用
../lib/libcaffe2_gpu.so：对‘signed char caffe2::ArgumentHelper::GetSingleArgument(std::string const&, signed char const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::HasOutput(caffe2::OperatorDef const&, std::string const&)’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::GradientRegistry()’未定义的引用
../lib/libcaffe2_gpu.so：对‘float caffe2::ArgumentHelper::GetSingleArgument(std::string const&, float const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘gloo::getCudaPCIBusIDabi:cxx11’未定义的引用
../lib/libcaffe2_gpu.so：对‘unsigned char caffe2::ArgumentHelper::GetSingleArgument(std::string const&, unsigned char const&) const’未定义的引用
../lib/libcaffe2.so：对‘cpuinfo_get_l2_cache’未定义的引用
../lib/libcaffe2_gpu.so：对‘std::vector<std::string, std::allocatorstd::string > caffe2::ArgumentHelper::GetRepeatedArgumentstd::string(std::string const&, std::vector<std::string, std::allocatorstd::string > const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::CUDAOperatorRegistry()’未定义的引用
../lib/libcaffe2_gpu.so：对‘std::vector<float, std::allocator > caffe2::ArgumentHelper::GetRepeatedArgument(std::string const&, std::vector<float, std::allocator > const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘bool caffe2::ArgumentHelper::HasSingleArgumentOfTypestd::string(std::string const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘google::protobuf::internal::ParseNamedEnum(google::protobuf::EnumDescriptor const*, std::string const&, int*)’未定义的引用
../lib/libcaffe2_gpu.so：对‘std::vector<long, std::allocator > caffe2::ArgumentHelper::GetRepeatedArgument(std::string const&, std::vector<long, std::allocator > const&) const’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::detail::AddApplyLinkOps(std::vector<caffe2::detail::Link, std::allocatorcaffe2::detail::Link > const&, std::string, caffe2::DeviceOption const&, caffe2::NetDef*)’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::GetArgument(caffe2::OperatorDef const&, std::string const&)’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::Workspace::GetNet(std::string const&)’未定义的引用
../lib/libcaffe2_gpu.so：对‘std::string caffe2::ArgumentHelper::GetSingleArgumentstd::string(std::string const&, std::string const&) const’未定义的引用
../lib/libcaffe2.so：对‘cpuinfo_get_l1d_cache’未定义的引用
../lib/libcaffe2_gpu.so：对‘std::vector<int, std::allocator > caffe2::ArgumentHelper::GetRepeatedArgument(std::string const&, std::vector<int, std::allocator > const&) const’未定义的引用
../lib/libcaffe2.so：对‘cpuinfo_initialize’未定义的引用
../lib/libcaffe2_gpu.so：对‘caffe2::Demangle(char const*)’未定义的引用
../lib/libcaffe2.so：对‘cpuinfo_deinitialize’未定义的引用
collect2: error: ld returned 1 exit status
caffe2/CMakeFiles/utility_ops_gpu_test.dir/build.make:132: recipe for target 'bin/utility_ops_gpu_test' failed
make[3]: *** [bin/utility_ops_gpu_test] Error 1
make[3]: Leaving directory '/home/george/project/caffe2/build'
CMakeFiles/Makefile2:1249: recipe for target 'caffe2/CMakeFiles/utility_ops_gpu_test.dir/all' failed
make[2]: *** [caffe2/CMakeFiles/utility_ops_gpu_test.dir/all] Error 2
make[2]: Leaving directory '/home/george/project/caffe2/build'
Makefile:138: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/george/project/caffe2/build'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
i have uninstall protobuf and install it again，but i didn't work...

find / -name libproto* 2>/dev/null  output:
/var/lib/dpkg/info/libprotoc9v5:amd64.list
/var/lib/dpkg/info/libprotoc9v5:amd64.triggers
/var/lib/dpkg/info/libprotobuf9v5:amd64.shlibs
/var/lib/dpkg/info/libprotobuf-dev:amd64.md5sums
/var/lib/dpkg/info/libprotobuf-lite9v5:amd64.md5sums
/var/lib/dpkg/info/libprotobuf9v5:amd64.md5sums
/var/lib/dpkg/info/libprotobuf-lite9v5:amd64.list
/var/lib/dpkg/info/libprotobuf-c-dev.list
/var/lib/dpkg/info/libprotobuf9v5:amd64.triggers
/var/lib/dpkg/info/libprotobuf-c1.shlibs
/var/lib/dpkg/info/libprotobuf-lite9v5:amd64.shlibs
/var/lib/dpkg/info/libprotobuf9v5:amd64.list
/var/lib/dpkg/info/libprotobuf-lite9v5:amd64.triggers
/var/lib/dpkg/info/libprotoc9v5:amd64.md5sums
/var/lib/dpkg/info/libprotobuf-c1.list
/var/lib/dpkg/info/libprotobuf-c1.triggers
/var/lib/dpkg/info/libprotobuf-c1.md5sums
/var/lib/dpkg/info/libprotobuf-c-dev.md5sums
/var/lib/dpkg/info/libprotobuf-c1.symbols
/var/lib/dpkg/info/libprotoc9v5:amd64.shlibs
/var/lib/dpkg/info/libprotobuf-dev:amd64.list
/var/cache/apt/archives/libprotobuf-dev_2.6.1-1.3_amd64.deb
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0.tar.bz2
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotobuf.a
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotobuf-lite.so.14
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotobuf.so.14.0.0
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotoc.so.14
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotobuf-lite.la
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotoc.so
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotobuf.so.14
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotobuf-lite.so
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotobuf.la
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotobuf-lite.a
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotoc.a
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotoc.so.14.0.0
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotoc.la
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotobuf.so
/home/george/anaconda2_bak/pkgs/libprotobuf-3.4.0-0/lib/libprotobuf-lite.so.14.0.0
/home/george/anaconda2_bak/conda-meta/libprotobuf-3.4.0-0.json
/home/george/anaconda2_bak/lib/libprotobuf.a
/home/george/anaconda2_bak/lib/libprotobuf-lite.so.14
/home/george/anaconda2_bak/lib/libprotobuf.so.14.0.0
/home/george/anaconda2_bak/lib/libprotoc.so.14
/home/george/anaconda2_bak/lib/libprotobuf-lite.la
/home/george/anaconda2_bak/lib/libprotoc.so
/home/george/anaconda2_bak/lib/libprotobuf.so.14
/home/george/anaconda2_bak/lib/libprotobuf-lite.so
/home/george/anaconda2_bak/lib/libprotobuf.la
/home/george/anaconda2_bak/lib/libprotobuf-lite.a
/home/george/anaconda2_bak/lib/libprotoc.a
/home/george/anaconda2_bak/lib/libprotoc.so.14.0.0
/home/george/anaconda2_bak/lib/libprotoc.la
/home/george/anaconda2_bak/lib/libprotobuf.so
/home/george/anaconda2_bak/lib/libprotobuf-lite.so.14.0.0
/home/george/project/caffe2/third_party/protobuf/cmake/libprotobuf.cmake
/home/george/project/caffe2/third_party/protobuf/cmake/libprotobuf-lite.cmake
/home/george/project/caffe2/third_party/protobuf/cmake/libprotoc.cmake
/home/george/project/caffe2/third_party/protobuf/src/libprotobuf-lite.map
/home/george/project/caffe2/third_party/protobuf/src/libprotoc.map
/home/george/project/caffe2/third_party/protobuf/src/libprotobuf.map
/home/george/software/protobuf-2.5.0/vsprojects/libprotoc.vcproj
/home/george/software/protobuf-2.5.0/vsprojects/libprotobuf-lite.vcproj
/home/george/software/protobuf-2.5.0/vsprojects/libprotobuf.vcproj
/home/george/software/protobuf/cmake/libprotobuf.cmake
/home/george/software/protobuf/cmake/libprotobuf-lite.cmake
/home/george/software/protobuf/cmake/libprotoc.cmake
/home/george/software/protobuf/src/libprotobuf-lite.map
/home/george/software/protobuf/src/libprotoc.map
/home/george/software/protobuf/src/libprotobuf.map
/home/george/.linuxbrew/Library/Formula/libprotoident.rb
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/external/protobuf_archive/cmake/libprotobuf.cmake
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/external/protobuf_archive/cmake/libprotobuf-lite.cmake
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/external/protobuf_archive/cmake/libprotoc.cmake
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/external/protobuf_archive/src/libprotobuf-lite.map
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/external/protobuf_archive/src/libprotoc.map
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/external/protobuf_archive/src/libprotobuf.map
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/host/bin/external/protobuf_archive/libprotobuf_lite.a-2.params
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/host/bin/external/protobuf_archive/libprotoc_lib.a-2.params
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/host/bin/external/protobuf_archive/libprotobuf.a-2.params
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/host/bin/external/protobuf_archive/libprotobuf.a
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/host/bin/external/protobuf_archive/libprotobuf_lite.a
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/host/bin/external/protobuf_archive/libprotoc_lib.a
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/core/libprotos_all_cc.a-2.params
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/core/libprotos_all_cc.a
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/core/libproto_text.a-2.params
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/core/libproto_text.a
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/external/protobuf_archive/libprotobuf_lite.pic.a
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/external/protobuf_archive/libprotobuf.pic.a-2.params
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/external/protobuf_archive/libprotobuf_lite.pic.a-2.params
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/external/protobuf_archive/libprotobuf.pic.a
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/tensorflow/core/libprotos_all_cc.pic.a-2.params
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/tensorflow/core/libproto_text.pic.a-2.params
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/tensorflow/core/libproto_text.pic.a
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/tensorflow/core/profiler/libprotos_all_cc.pic.a-2.params
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/tensorflow/core/profiler/libprotos_all_cc.pic.a
/home/george/.cache/bazel/_bazel_root/651d62b43db8fda539a55221c00c07a8/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/tensorflow/core/libprotos_all_cc.pic.a
/usr/local/MATLAB/R2017a/bin/glnxa64/libprotobuf.so.9.0.1
/usr/local/MATLAB/R2017a/bin/glnxa64/libprotobuf.so.9
/usr/local/MATLAB/R2017a/toolbox/compiler_sdk/mps_clients/c/glnxa64/lib/libprotobuf.so.9.0.1
/usr/local/MATLAB/R2017a/toolbox/compiler_sdk/mps_clients/c/glnxa64/lib/libprotobuf.so.9
/usr/local/MATLAB/R2017a/toolbox/compiler_sdk/mps_clients/c/glnxa64/lib/libprotobuf.so
/usr/local/lib/libprotobuf-lite.so.8
/usr/local/lib/libprotobuf.so.8.0.0
/usr/local/lib/libprotobuf.so.8
/usr/local/lib/libprotobuf-lite.so.8.0.0
/usr/local/lib/libprotoc.so.8.0.0
/usr/local/lib/libprotoc.so.8
/usr/share/doc/libprotobuf-c1
/usr/share/doc/libprotobuf-c-dev
/usr/share/doc/libprotobuf-lite9v5
/usr/share/doc/libprotobuf9v5
/usr/share/doc/libprotoc9v5
/usr/share/doc/libprotobuf-dev
/usr/lib/libreoffice/program/libprotocolhandlerlo.so
/usr/lib/x86_64-linux-gnu/libprotoc.so.9
/usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9.0.1
/usr/lib/x86_64-linux-gnu/libprotobuf-c.so
/usr/lib/x86_64-linux-gnu/libprotobuf.a
/usr/lib/x86_64-linux-gnu/libprotobuf.so.9.0.1
/usr/lib/x86_64-linux-gnu/libprotobuf.so.9
/usr/lib/x86_64-linux-gnu/libprotobuf-lite.so
/usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9
/usr/lib/x86_64-linux-gnu/libprotoc.so.9.0.1
/usr/lib/x86_64-linux-gnu/pkgconfig/libprotobuf-c.pc
/usr/lib/x86_64-linux-gnu/libprotobuf-c.so.1
/usr/lib/x86_64-linux-gnu/libprotobuf-c.a
/usr/lib/x86_64-linux-gnu/libprotobuf-lite.a
/usr/lib/x86_64-linux-gnu/libprotobuf-c.so.1.0.0
/usr/lib/x86_64-linux-gnu/libprotobuf.so
/usr/lib/pulse-8.0/modules/libprotocol-cli.so
/usr/lib/pulse-8.0/modules/libprotocol-simple.so
/usr/lib/pulse-8.0/modules/libprotocol-http.so
/usr/lib/pulse-8.0/modules/libprotocol-native.so
what's wrong with it,anybody know it's solution?

Are you trying to use your Anaconda environment? If not pass -DPRIORITIZE_ANACONDA to cmake your cmake command.
How did you install gloo? What commit of Caffe2 are you on?

@pjh5 tanks for ur response,i never try anaconda,i will try it.
I think my caffe2 is the latest caffe2,i just git clone with this command:
git clone --recursive https://github.com/caffe2/caffe2.git.
Do i need to install gloo specially,i thought the "make" can install it automatically.

@pjh5 I remembered that ever i typeed "make" with my Anaconda environment,the error is the same.

If you don't want to use anaconda then I'd recommend removing the anaconda2_bak folder, which looks like a backup of your last Anaconda installation.
Have you also deleted your build folder before trying to make Caffe2 to remove any cached build artifacts? Also delete your old Caffe2 installations. These are probably in a location like /usr/local. You can find these with find / -name caffe* 2>/dev/null. This command will also find your caffe2 source directory, so be careful not to delete that too.
Could you remove some of your protobuf installations? You seem to have installations under your Caffe2 folder, from bazel, from tensorflow, in /usr/local/lib and in /usr/lib, in Matlab, and in other places I don't recognize. My best guess is that all these different protobuf versions are causing confusion.

@pjh5 I delete all the protobuf ，so "find / -name libproto* 2>/dev/null" gives output：
/home/george/.linuxbrew/Library/Formula/libprotoident.rb
/usr/lib/libreoffice/program/libprotocolhandlerlo.so
/usr/lib/pulse-8.0/modules/libprotocol-cli.so
/usr/lib/pulse-8.0/modules/libprotocol-simple.so
/usr/lib/pulse-8.0/modules/libprotocol-http.so
/usr/lib/pulse-8.0/modules/libprotocol-native.so
Then i install it again,but error as following:
$ protoc --version
protoc: error while loading shared libraries: libprotoc.so.9: cannot open shared object file: No such file or directory
$ locate libprotoc.so.9
/usr/lib/x86_64-linux-gnu/libprotoc.so.9
/usr/lib/x86_64-linux-gnu/libprotoc.so.9.0.1
$ ls -al /usr/lib/x86_64-linux-gnu/libprotoc.so.9
ls: can't find '/usr/lib/x86_64-linux-gnu/libprotoc.so.9'
so what's wrong with it?
thanks for ur help!

Protobuf comes in two parts, the protobuf libraries libprotobuf and libprotoc, and also a protobuf executable called protoc. Protoc needs libprotoc to run, but they exist as separate binaries, so protoc just knows where to look for libprotoc at runtime. If you delete libprotoc, protoc does not know that libprotoc no longer exists, and will continue to look for it in the same place. This is called dynamic linking if you want to learn more.
I should've given you a better command to run. find / -name *proto* 2>/dev/null will find all of the protobuf versions, but it will also probably find a lot of other things too. Or find / -name protoc 2>/dev/null may be all you need at this point. In my experience, it is usually only needed to delete the libproto* and the protoc. In the future, I'd recommend always trying to uninstall with package managers first, i.e.
pip uninstall protobuf && conda uninstall protobuf && apt-get uninstall libprotobuf

@pjh5 Finally my computer can't start correctly, which makes me to reinstall ubuntu.
It seems that i find out the reason which i am validating now,i didn't install caffe2 according to the instructuions recommanded!
The wrong command i used is:
#git clone ...
cd caff2
#make
Thanks for ur help, great appreciate!

I believe that github has messed up the formatting of your post.
But if it is working then I will close this issue. Please open another issue if any other problems arise.


text:
Added Python_ADDITIONAL_VERSIONS to cmake so python 2 is default.

When installing on systems such as Arch Linux where the default python version is 3 the build will fail. To fix this instead of changing the python link in the shell it is more efficient to set the default python version allowed by cmake.

Oh I did not know about this cmake functionality, thanks for finding this!

I'm not sure this is the best way of resolving this issue. Addtionally, if I use this on Arch it still finds python3 binaries and libraries. Currently I am building with this command:
cmake .. \
	-DCUDA_HOST_COMPILER=/usr/bin/g++-5 \
	-DCUDA_PROPAGATE_HOST_FLAGS=off \
	-DUSE_NNPACK=off \
	-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.7 \
	-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
	-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
	-DNCCL_ROOT_DIR=/opt/cuda/

source: gharchive/pull-request

authors: Yangqing hgaiser kochie

license_type: permissive

license_source: bigquery


text:
output: fix assert when re-adding output to layout

wlr_scene_output_layout_add_output() aborts when called with an already-added output.
To reproduce, run wlr-randr to reconfigure one of the enabled outputs.
cc @kennylevinsen

I ran into the same issue but my patch was not ready yet. Instead of checking existence each time, I assume          wlr_scene_output_layout_add_output() has been called in handle_new_output(). Then, these output_layout_add*() inline functions can be replaced by the only call done to the wlr API.

Instead of checking existence each time, I assume wlr_scene_output_layout_add_output() has been called in handle_new_output().

That won't work if a user disables an output via the wlr-output-management-v1 protocol, then enables it.

Let's merge for now, and revert later if this ends up backported + released.

authors: emersion joggee-fr

repo: cage-kiosk/cage

license: MIT

license_source: github-api


text:
need information on how to set version information for cli package

Is this a BUG REPORT or FEATURE REQUEST?:
/kind feature
What happened:
What you expected to happen:
need information on how to set version information for cli package
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

@Jimexist can u be more specific about the requests, whats ur expectation and usage example? BTW, cli package is removed now.

so this can be closed? @ddysher

SGTM, we can close it.
this is also partially mentioned here
/close

source: gharchive/issue

authors: Jimexist ddysher

repo: caicloud/nirvana


text:
[Menubar] Adjustable Height

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
A setting to adjust the height of Menubar. At least myself, like a little padding on my bars. The height today is like 24 I think? I would like somewhere between 32-48. Buttons and such should of course be centered in the height as well.
The setting would have minimum and maximum checks so it can't be set too small or too big.
Describe alternatives you've considered
None.
Additional context
This is of course low priority.

Ideally this will be handled by themes, but at the moment we need to do some back end work for that to become possible.

repo: cairoshell/cairoshell


text:
Inconsistent and missing functionality on Cairo's systray icons

Describe the bug
Mousing over and clicking systray icons lacks functionality compared to default explorer. In the standard Win 7 taskbar for example, if you use Process Hacker's tray icons you can double click the tray icon to open up the Process Hacker window and mousing over it brings up a mini-interface related to the corresponding tray icon. Neither of these work with Cairo. On the other hand, other systray using programs work more or less fine like Volume2 or ESET Security Suite.
Steps to reproduce

Install Process Hacker and open its View menu, Tray Icons, then select any of the items to be displayed in systray.
Mouse over and click tray icon in Cairo and Windows taskbar to compare functionality.

Expected behavior
Mousing over should display a miniature window as seen in the screenshot below and clicking the icon once should open the Process Hacker window. Neither of these happen in Cairo.
System information:

Windows version: Windows 7
Cairo version:
32-bit or 64-bit: 64-bit
In Cairo Settings > Advanced, is Cairo set as shell?: Yes

Screenshots

Just found that this partially overlaps with this report except for the mousing over aspect of it.

I'm not able to reproduce this problem (see below). Are you still seeing this behavior?

Yeah, it's still happening. I'm also experiencing issues where if I right click Steam's systray icon, it immediately goes out of focus, thus closing the context menu before I can even see it. Doesn't happen to other systray icons as it stays on focus on the menu bar when I right click those. There were a few times very early on where I could successfully get the context menu to properly show up and it was inconsistent.

What version of ProcessHacker? What version of Steam

It only happens to you, try to use the "process hacker kernel mode" or reinstall the program

@Someone65 I've made some tray compatibility improvements, could you please try this build and let us know if things are improved?

Closing due to lack of response.

Sorry, had my pc in almost 2 months. Will get it back up again soon and do some thorough testing when I do.

Sorry for the extremely late response. I've gotten my PC back and testing the latest version of Cairo, Steam, and ProcessHacker2 as of the date of posting, the issue with Steam in particular is now resolved.
The issue with ProcessHacker is unchanged, though.

Sorry for the extremely late response. I've gotten my PC back and testing the latest version of Cairo, Steam, and ProcessHacker2 as of the date of posting, the issue with Steam in particular is now resolved.
The issue with ProcessHacker is unchanged, though.

authors: Blackrucat Someone65 dremin josuave


text:
Add missing configuration key in package.json

Adding this information enables comment commands in editor

@fabionuno this looks good to me!
Can you provide an example of how this addition would be used, and in what context?  Do you think it would make sense to update the documentation page for Cake to show how this addition could be used?
http://cakebuild.net/docs/editors/vscode
If so, would you be in a position to submit a pull request?  Thanks for your contribution!

This configuration is necessary so that vscode identifies if the specified language supports line and block comments.
With this information defined we have the ability to use the "⌘/" (line comment) and "⇧⌥A" (block comment) commands when editing Cake files.
I think it would not be necessary to update Cake's documentation because this is a common functionality of vscode.

@fabionuno thanks for getting back to me.  This has been merged in, and I think @patriksvensson has pushed a new version of the extension.
Thanks again for your contribution!

@gep13 @fabionuno Yes, version 1.1 is now available :smile:

authors: fabionuno gep13 patriksvensson

repo: cake-build/cake-vscode


text:
Tools folder is being deleted on clean build

I use the tools folder to store some script extensions to cakebuild and recently I noticed that cake is deleted that folder in an attempt to download the latest version of the tools and files needed for the build.  I'd like to request that you only delete the files that need to be updated rather than nuking the entire folder.

@ravensorb what you are describing is an action taken by the default bootstrapper (i.e. Build.ps1 or build.sh). These are a best guess at the normal defaults that a project wants. There is nothing to stop you changing these to fit with how your project works.

repo: cake-build/cake


text:
MySQL Connection timeout when migration

My phinx.php config file.
// load our environment files - used to store credentials & configuration
(new Dotenv\Dotenv(__DIR__))->load();

return
    [
        'paths' => [
            'migrations' => '%%PHINX_CONFIG_DIR%%/storage/db/migrations',
            'seeds' => '%%PHINX_CONFIG_DIR%%/storage/db/seeds',
        ],
        'environments' =>
            [
                'default_database' => 'development',
                'default_migration_table' => 'phinxlog',
                'development'      =>
                    [
                        'adapter' => 'mysql',
                        'host' => getenv('mysql_host'),
                        'name' => getenv('mysql_database_name'),
                        'user' => getenv('mysql_user'),
                        'pass' => getenv('mysql_password'),
                        'port' => getenv('mysql_port'),
                        'server' => getenv('mysql_host'),
                        'database_name' => getenv('mysql_database_name'),
                        'database_type' => 'mysql',
                        'charset' => 'utf8',
                    ],
            ],
    ];

I use phinx version 0.10.3 as my migration library.
This is error response when I run vendor/bin/phinx migrate
In MysqlAdapter.php line 124:
There was a problem connecting to the database: SQLSTATE[HY000] [2002] Operation timed out

you need to increase the socket timeout in php and MySQL, there is nothing phinx can do about it

@lorenzo I think my pain is i can't do migrate because it error when i just create a simple table. How can i detect my fault can you guide for me?

Try setting the wait_timeout in your mysql server to a higher value:
https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout
I suggest a couple hours.

authors: iamapinan lorenzo

repo: cakephp/phinx


text:
Plotting small geometries: A fix

This PR addresses the issue of plotting gridded data that's only one grid cell. Previously a bug had been raised by app.explore.warming_levels(). Also, in app.view(), data that was only one grid cell would output a weird lineplot with simulation or scenario on the axis. Now, data with only one grid cell is shown as a scatter plot.
To test: Confirm that app.view() still works-- check a view geometries, station data, area average, etc. To make sure I didn't introduce any bugs with this bug fix. Confirm that app.explore.warming_levels() works for small geometries (i.e. a small county at 45km resolution)

In app.explore.warming, also using Alpine County 45 km getting.... two blue dots with no data??

In app.explore.warming, also using Alpine County 45 km getting.... two blue dots with no data??

Okay, I think I fixed this! :D

in app.explore.warming(), when selecting Santa Cruz County @ 45 km (emphasis mine, since there are two main errors shown):
`Traceback (most recent call last):
File "/home/jovyan/climakitae/data_loaders.py", line 425, in _get_data_one_var
dset = dset.rio.clip(geometries=ds_region, crs=4326, drop=True)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/rioxarray/raster_dataset.py", line 380, in clip
self._obj[var]
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/rioxarray/raster_array.py", line 941, in clip
raise NoDataInBounds(
rioxarray.exceptions.NoDataInBounds: No data found in bounds. Data variable: t2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/pyviz_comms/init.py", line 346, in _handle_msg
self._on_msg(msg)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/viewable.py", line 291, in _on_msg
patch.apply_to_document(doc, comm.id if comm else None)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/protocol/messages/patch_doc.py", line 115, in apply_to_document
invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.content, setter))
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc
return f()
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/protocol/messages/patch_doc.py", line 115, in
invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.content, setter))
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/document.py", line 391, in apply_json_patch
DocumentPatchedEvent.handle_json(self, event_json, references, setter)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/events.py", line 259, in handle_json
handler(doc, event_json, references, setter)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/events.py", line 300, in _handle_json
cb(event_json["msg_data"])
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 355, in trigger_json_event
model._trigger_event(event)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/util/callback_manager.py", line 119, in _trigger_event
self.document.callbacks.notify_event(cast(Model, self), event, invoke)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 247, in notify_event
invoke_with_curdoc(doc, callback_invoker)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc
return f()
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/util/callback_manager.py", line 115, in invoke
cast(EventCallbackWithEvent, callback)(event)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/reactive.py", line 398, in _comm_event
self._process_bokeh_event(event)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/reactive.py", line 345, in _process_bokeh_event
self._process_event(event)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/widgets/button.py", line 176, in _process_event
self.clicks += 1
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 367, in _f
instance_param.set(obj, val)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 369, in _f
return f(self, obj, val)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/init.py", line 625, in set
super(Dynamic,self).set(obj,val)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 369, in _f
return f(self, obj, val)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1248, in set
obj.param.call_watcher(watcher, event)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2039, in call_watcher
self.execute_watcher(watcher, (event,))
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2021, in execute_watcher
watcher.fn(*args, **kwargs)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/param.py", line 479, in action
value(self.object)
File "/home/jovyan/climakitae/warming_levels.py", line 268, in
lambda x: x.param.trigger("reload_data"), label="Reload Data", doc="Reload data"
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1989, in trigger
self.set_param(**dict(params, **triggers))
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1925, in set_param
return self.update(kwargs)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1898, in update
self._batch_call_watchers()
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2059, in batch_call_watchers
self._execute_watcher(watcher, events)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2021, in _execute_watcher
watcher.fn(*args, **kwargs)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 669, in caller
return function()
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 407, in _depends
return func(*args, **kw)
File "/home/jovyan/climakitae/warming_levels.py", line 306, in _update_postage_data
self.postage_data = _get_postage_data(
File "/home/jovyan/climakitae/warming_levels.py", line 38, in _get_postage_data
data = _read_catalog_from_select(selections=selections, cat=cat)
File "/home/jovyan/climakitae/data_loaders.py", line 585, in _read_catalog_from_select
da = _get_data_one_var(selections, cat)
File "/home/jovyan/climakitae/data_loaders.py", line 431, in _get_data_one_var
dset = dset.rename({"lon": "x", "lat": "y"})
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/xarray/core/dataset.py", line 3592, in rename
variables, coord_names, dims, indexes = self._rename_all(
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/xarray/core/dataset.py", line 3548, in _rename_all
variables, coord_names = self._rename_vars(name_dict, dims_dict)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/xarray/core/dataset.py", line 3508, in _rename_vars
raise ValueError(f"the new name {name!r} conflicts")
ValueError: the new name 'x' conflicts`

in app.explore.warming(), when selecting Santa Cruz County @ 45 km (emphasis mine, since there are two main errors shown):
`Traceback (most recent call last): File "/home/jovyan/climakitae/data_loaders.py", line 425, in _get_data_one_var dset = dset.rio.clip(geometries=ds_region, crs=4326, drop=True) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/rioxarray/raster_dataset.py", line 380, in clip self._obj[var] File "/srv/conda/envs/notebook/lib/python3.9/site-packages/rioxarray/raster_array.py", line 941, in clip raise NoDataInBounds( rioxarray.exceptions.NoDataInBounds: No data found in bounds. Data variable: t2
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/srv/conda/envs/notebook/lib/python3.9/site-packages/pyviz_comms/init.py", line 346, in _handle_msg self._on_msg(msg) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/viewable.py", line 291, in _on_msg patch.apply_to_document(doc, comm.id if comm else None) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/protocol/messages/patch_doc.py", line 115, in apply_to_document invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.content, setter)) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc return f() File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/protocol/messages/patch_doc.py", line 115, in invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.content, setter)) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/document.py", line 391, in apply_json_patch DocumentPatchedEvent.handle_json(self, event_json, references, setter) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/events.py", line 259, in handle_json handler(doc, event_json, references, setter) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/events.py", line 300, in _handle_json cb(event_json["msg_data"]) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 355, in trigger_json_event model._trigger_event(event) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/util/callback_manager.py", line 119, in _trigger_event self.document.callbacks.notify_event(cast(Model, self), event, invoke) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 247, in notify_event invoke_with_curdoc(doc, callback_invoker) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc return f() File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/util/callback_manager.py", line 115, in invoke cast(EventCallbackWithEvent, callback)(event) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/reactive.py", line 398, in _comm_event self._process_bokeh_event(event) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/reactive.py", line 345, in _process_bokeh_event self._process_event(event) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/widgets/button.py", line 176, in _process_event self.clicks += 1 File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 367, in _f instance_param.set(obj, val) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 369, in _f return f(self, obj, val) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/init.py", line 625, in set super(Dynamic,self).set(obj,val) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 369, in _f return f(self, obj, val) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1248, in set obj.param.call_watcher(watcher, event) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2039, in call_watcher self.execute_watcher(watcher, (event,)) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2021, in execute_watcher watcher.fn(*args, **kwargs) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/param.py", line 479, in action value(self.object) File "/home/jovyan/climakitae/warming_levels.py", line 268, in lambda x: x.param.trigger("reload_data"), label="Reload Data", doc="Reload data" File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1989, in trigger self.set_param(**dict(params, **triggers)) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1925, in set_param return self.update(kwargs) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1898, in update self._batch_call_watchers() File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2059, in batch_call_watchers self._execute_watcher(watcher, events) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2021, in _execute_watcher watcher.fn(*args, **kwargs) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 669, in caller return function() File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 407, in _depends return func(*args, **kw) File "/home/jovyan/climakitae/warming_levels.py", line 306, in _update_postage_data self.postage_data = _get_postage_data( File "/home/jovyan/climakitae/warming_levels.py", line 38, in _get_postage_data data = _read_catalog_from_select(selections=selections, cat=cat) File "/home/jovyan/climakitae/data_loaders.py", line 585, in _read_catalog_from_select da = _get_data_one_var(selections, cat) File "/home/jovyan/climakitae/data_loaders.py", line 431, in _get_data_one_var dset = dset.rename({"lon": "x", "lat": "y"}) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/xarray/core/dataset.py", line 3592, in rename variables, coord_names, dims, indexes = self._rename_all( File "/srv/conda/envs/notebook/lib/python3.9/site-packages/xarray/core/dataset.py", line 3548, in _rename_all variables, coord_names = self._rename_vars(name_dict, dims_dict) File "/srv/conda/envs/notebook/lib/python3.9/site-packages/xarray/core/dataset.py", line 3508, in _rename_vars raise ValueError(f"the new name {name!r} conflicts") ValueError: the new name 'x' conflicts`

I'm guessing that the county doesn't fit into a 45 km grid cell. I think there's an option when clipping via a shapefile all_touched=True which clips even when the shapefile doesn't overlap with a grid center. Could be worth throwing that in for small counties, and maybe raising a warning to users.

I am still getting an error in explore_warming when selecting Santa Cruz County and 45km:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/pyviz_comms/init.py", line 346, in _handle_msg
self._on_msg(msg)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/viewable.py", line 291, in _on_msg
patch.apply_to_document(doc, comm.id if comm else None)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/protocol/messages/patch_doc.py", line 115, in apply_to_document
invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.content, setter))
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc
return f()
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/protocol/messages/patch_doc.py", line 115, in
invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.content, setter))
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/document.py", line 391, in apply_json_patch
DocumentPatchedEvent.handle_json(self, event_json, references, setter)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/events.py", line 259, in handle_json
handler(doc, event_json, references, setter)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/events.py", line 300, in _handle_json
cb(event_json["msg_data"])
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 355, in trigger_json_event
model._trigger_event(event)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/util/callback_manager.py", line 119, in _trigger_event
self.document.callbacks.notify_event(cast(Model, self), event, invoke)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 247, in notify_event
invoke_with_curdoc(doc, callback_invoker)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc
return f()
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/bokeh/util/callback_manager.py", line 115, in invoke
cast(EventCallbackWithEvent, callback)(event)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/reactive.py", line 398, in _comm_event
self._process_bokeh_event(event)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/reactive.py", line 345, in _process_bokeh_event
self._process_event(event)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/widgets/button.py", line 176, in _process_event
self.clicks += 1
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 367, in _f
instance_param.set(obj, val)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 369, in _f
return f(self, obj, val)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/init.py", line 625, in set
super(Dynamic,self).set(obj,val)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 369, in _f
return f(self, obj, val)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1248, in set
obj.param.call_watcher(watcher, event)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2039, in call_watcher
self.execute_watcher(watcher, (event,))
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2021, in execute_watcher
watcher.fn(*args, **kwargs)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/panel/param.py", line 479, in action
value(self.object)
File "/home/jovyan/src/climakitae/climakitae/warming_levels.py", line 256, in
lambda x: x.param.trigger("reload_data"), label="Reload Data", doc="Reload data"
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1989, in trigger
self.set_param(**dict(params, **triggers))
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1925, in set_param
return self.update(kwargs)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 1898, in update
self._batch_call_watchers()
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2059, in batch_call_watchers
self._execute_watcher(watcher, events)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 2021, in _execute_watcher
watcher.fn(*args, **kwargs)
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 669, in caller
return function()
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/param/parameterized.py", line 407, in _depends
return func(*args, **kw)
File "/home/jovyan/src/climakitae/climakitae/warming_levels.py", line 294, in _update_postage_data
self.postage_data = _get_postage_data(
File "/home/jovyan/src/climakitae/climakitae/warming_levels.py", line 39, in _get_postage_data
data = _read_catalog_from_select(selections=selections, cat=cat)
File "/home/jovyan/src/climakitae/climakitae/data_loaders.py", line 638, in _read_catalog_from_select
da = _get_data_one_var(selections, cat)
File "/home/jovyan/src/climakitae/climakitae/data_loaders.py", line 432, in _get_data_one_var
dset = dset.rio.clip(
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/rioxarray/raster_dataset.py", line 380, in clip
self._obj[var]
File "/srv/conda/envs/notebook/lib/python3.9/site-packages/rioxarray/raster_array.py", line 941, in clip
raise NoDataInBounds(
rioxarray.exceptions.NoDataInBounds: No data found in bounds. Data variable: t2

authors: bethem elehmer nicolejkeeney vicford

repo: cal-adapt/climakitae


text:
要更新了，大神，现在5.3.3了

要更新了，大神，现在5.3.3了

你说的是docker镜像里的mosdns版本吗?
每个月8号会自动拉取mosdns最新版本和最新规则打包上传dockerhub,
https://hub.docker.com/repository/docker/caleee/mosdns/general
最新版本里面应该是v5.3.3了:
docker pull caleee/mosdns:latest

repo: caleee/mosdns


text:
Add UNIQUE_KEY to the LobbyistFirmLobbyist1Cd database model

Your mission
Add a UNIQUE_KEY setting to the LobbyistFirmLobbyist1Cd database model.
Here's how
Step 1: Claim this ticket by leaving a comment below. Tell everyone you're ON IT!
Step 2: In a separate tab, open up the official state documentation and find the page that defines this table. They are listed there in alphabetical order.

Step 3: Find the "PK_" row in the index list included with the table's definition that spells out the list of "column codes" that make up the unique key for each row. If it lacks that documentation. Note that in the ticket and close it now.

Step 4: Return to this tab.
Step 5: Open up the file that contains this model. It should be in calaccess_raw.models.other.py.
Step 6: Hit the little pencil button in the upper-right corner of the code box to begin editing the file.

Step 7: Find this model in the file. (Clicking into the box and searching with CTRL-F can help you here.) Once you find it, we expect the model to lack a UNIQUE_KEY attribute indented just under the documentation.
class WhateverYourModel(CalAccessBaseModel):
    '''
    There will be some documentation here but don't touch it.
    '''
    field1 = models.CharField(blah='blah')

Step 8: Add this model's UNIQUE_KEY list of column codes, to our field definition by inserting it under the documentation. That should look something like this:
class WhateverYourModel(CalAccessBaseModel):
    '''
    There will be some documentation here but don't touch it.
    '''
    UNIQUE_KEY = ['FIELD1', 'FIELD2', 'FIELD3']
    field1 = models.CharField(blah='blah')

Step 9: Scroll down below the code box and describe the change you've made in the commit message. Press the button below.
Step 10:  Review your changes and create a pull request submitting them to the core team for inclusion.
That's it! Mission accomplished!

Hey @palewire Can't find the PK on this one.

Actually looks like none of the lobbyist tables have PKs.

authors: Charlex palewire

license: mit


text:
[Dialog] autoDetectWindowHeight issue with images

If there a big image inside the new Dialog a part of it will be rendered outside of the view port because he detecting height before the image load.
I solve this on my side by having this callback: window.dispatchEvent(new Event('resize'));
on onLoad of

The weird thing is that the image is not even load remotely its a props  passed down. Look like
 is async and causing the image getting rendered in a different loop

Ran into this issue, fixed by preloading the image first, before opening dialog and setting its contents:
const image = new Image();
image.onload = () => {
    this.setState({
        previewOpen: true,
        dialogContent:
    });
};
image.src = imgPath;

repo: callemall/material-ui


text:
Is server side rendering possible while using withStyles

withStyles attaches the component's styles prior to the component being rendered on the client. Looking at the ssr guide on the other hand, it requires a styleManager to be created server-side from which the sheets are generated. Component styles generated and attached on render doesn't seem to come into it.

Yes, it's. You can find a working example with next.js.

@oliviertassinari No. If this is what you are referring to then I found it not actually demonstrating anything.
In the ./styles/getContext.js, it says:
export default function getContext() {
  // Make sure to create a new store for every server-side request so that data
  // isn't shared between connections (which would be bad)
  if (!process.browser) {
    return createContext();
  }

  // Reuse context on the client-side
  if (!global.__INIT_MATERIAL_UI__) {
    console.log('THERES NO __INIT_MATERIAL_UI__!!!!!'); // <---- I added this line
    global.__INIT_MATERIAL_UI__ = createContext();
  }

  return global.__INIT_MATERIAL_UI__;
}

However, if you run next you will see in the client console that THERES NO __INIT_MATERIAL_UI__!!!!!, which means no context has been reused.

In fact, it seems that the sheetsManager is impossible to be serialized,

@w9 sheetsManager shouldn't be serialized.

authors: mickykebe oliviertassinari w9


text:
[TextField] Fix a failing test with the controlled behavior

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Closes #5350.

@oliviertassinari : It's solve the problem.

Good, I'm not really happy with our controlled implementation. We rely use the state but we shouldn't.
The next implementation is much better as we don't use the state at all when the component is controlled.

@wss534857356 @lucasbento Thanks for your help.

You are welcome,I also need to thank you for your patience.


text:
Silent failure on build errors

This is a bit of a weird one -- but on some packaging errors (i.e. if I am exporting a generator, for example, which chokes React Native's build), the error gets silently swallowed, with haul outputting "Built successfully!", but opening the IOS simulator reveals "Module AppRegistry is not a registered callable module (calling runApplication)".
To reproduce, drop something along the lines of:
export function* kaboom() {
  console.log("Boom");
}

into a file that is getting packaged by haul.
My shell ends up outputting something along the lines of:
GET /index.ios.bundle 200 3936836 - 14.583 ms
GET /index.ios.bundle 304 undefined - 5.852 ms

That 304 does not show up when things run smoothly.
Haul Configuration (webpack.haul.js)
const fs = require("fs");

module.exports = ({ platform }, defaults) => ({
  entry: `./index.${platform}.js`,
  resolve: {
    ...defaults.resolve,
    modules: [
      fs.realpathSync("node_modules"),
      fs.realpathSync("../common/node_modules"),
    ],
  },
});

Your Environment

software
version

Haul
1.0.0-beta.2

react-native
0.44.0

node
8.1.4

npm or yarn
yarn 0.27.5

Hey @joearasin, thanks for filling this issue.
I've created a PR #205 to fix this problem.
All best.

Awesome. thanks for the quick fix. I think the changes in today's release (maybe #183) actually fixed my issue, but anything helps!

@joearasin
Glad you have your problem solved.
Cheers :)

authors: Krizzu joearasin

repo: callstack-io/haul


text:
Default profile colors

After sampling some images, I extrapolated some greyscale colors as defaults for each profile.
See https://github.com/callstack-io/react-native-material-palette/issues/2
This PR merges the palette instance with the defaults, before the event emitter publish the change to all subscribers.
TODO

[x] Validate this.props.defaults
[x] Fix Flow
[x] Unit test createMaterialPalette
[x] Defaults should be only provided for the types passed
[x] Unit test defaults merging in PaletteProvider

Note: I'll fix flow issues before merging this...couldn't run it again locally

Coverage increased (+0.7%) to 92.593% when pulling 6f5926840ff61f35b3604c1b9b842c74251a3060 on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

Coverage increased (+0.7%) to 92.531% when pulling 0f1c7c1d0bd718d696648c48e6076ceca4e578b3 on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

Coverage increased (+0.7%) to 92.531% when pulling c8de2409267ce24a11b5dab4ce6e707901474753 on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

Coverage increased (+0.7%) to 92.531% when pulling 3b70ee79c52e1be5c753dbed9436ea3c05a4a770 on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

Coverage increased (+5.6%) to 97.51% when pulling 41c95bd089f19c08ea877da17c3f74cba8043aed on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

@satya164 @zamotany you can take another look 🤖

Coverage increased (+5.6%) to 97.51% when pulling 95d5ae4d8a13cd6136d57a9c9a1ac2f677aa49be on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

Coverage increased (+5.6%) to 97.51% when pulling f564ad160bb6ceb6c9af479ae1c507cabb4b5d49 on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

Coverage increased (+5.6%) to 97.51% when pulling 8054f5bf6f30da80b2efbb6939e46a06dfef487c on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

Coverage increased (+6.9%) to 98.77% when pulling 6ba98c4227f4645c9d0226372fc45113ff1729ef on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

Coverage increased (+7.3%) to 99.18% when pulling 1578bf531ee3479af3d5d50e9b0ee03e480ea59d on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

You guys are crazy

Coverage increased (+8.1%) to 100.0% when pulling 57e157604e0dca4fdc058f98f41353be81f419ef on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

Coverage increased (+8.1%) to 100.0% when pulling 993bfe10fbfca37bc644e0e8816bf47fffa1e6b6 on default_profile_colors into 8ad6872039022f99f6988267c3186211403ad8b4 on master.

authors: coveralls rauliyohmc satya164


text:
Add more badges and contributors list

Closes #264
@grabbou @thymikee @Krizzu @satya164 please check if your contribution types are correct.

LGTM - I think just missing meta for few folks and we can land this!

authors: grabbou zamotany

repo: callstack/haul


text:
The value is not correct for long type value.

The value 139542552519904695 show 139542552519904690 when json-formatter is enabled.

This is fixed in https://github.com/nikrolls/json-formatter/releases/tag/0.10.0, currently rolling out to the Chrome and Edge stores.

authors: nikrolls tsaisean

repo: callumlocke/json-formatter


text:
Install OneSingal to send web notification

Is your feature request related to a problem? Please describe.
OneSignal provides a simple interface to push notifications and email, letting content creators focus on quality user engagement instead of complex implementation.
Describe the solution you'd like
Install it.
Describe alternatives you've considered
Build a web push notification system

I am doing this.

I also have a problem seeing our onesignal notifications in Brave.
They work normally in chrome, firefox.
https://onesignal.com

authors: calpa rrvoigt

repo: calpa/blog


text:
Refactor getCorrespondingParserFileHelper to reduce cognitive complexity

https://sonarcloud.io/project/issues?id=camel-lsp-server&issues=AWxRVsbydg2jiL0y_QTx&open=AWxRVsbydg2jiL0y_QTx

maybe a visitor pattern? deporting computing in each parser class? (and will surely need some helper class oto share some common methods)
need to take care on order/override for the ones that have very similar conditions

@apupier I can see this issue is still present.
Can I take this issue.??
I have experienced of solving cognitive complexity.

Thanks for proposing your help. I assigned the issue to you so that you can work on it limiting the risk that someone else is doing it too.

repo: camel-tooling/camel-language-server