Boost 1.80 build failure with gcc11/gcc12: json/impl/parse.ipp: error: no match for 'operator='  (no such error with 1.79)

:info:build darwin.compile.c++ bin.v2/libs/json/build/darwin-12.2.0/release/threading-multi/visibility-hidden/src.o
:info:build     "/opt/local/bin/g++-mp-12"   -fvisibility-inlines-hidden -Os -std=gnu++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc  -fPIC -m32 -O3 -Wall -fvisibility=hidden -dynamic -gdwarf-2 -fexceptions -Wno-inline  -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTAINER_DYN_LINK=1 -DBOOST_JSON_DYN_LINK=1 -DBOOST_JSON_SOURCE -DNDEBUG  -I"."  -c -o "bin.v2/libs/json/build/darwin-12.2.0/release/threading-multi/visibility-hidden/src.o" "libs/json/src/src.cpp"
:info:build In file included from ./boost/json/src.hpp:37,
:info:build                  from libs/json/src/src.cpp:10:
:info:build ./boost/json/impl/parse.ipp: In function 'boost::json::value boost::json::parse(string_view, std::error_code&, storage_ptr, const parse_options&)':
:info:build ./boost/json/impl/parse.ipp:46:10: error: no match for 'operator=' (operand types are 'std::error_code' and 'boost::json::error_code' {aka 'boost::system::error_code'})
:info:build    46 |     ec = jec;
:info:build       |          ^~~
:info:build In file included from /opt/local/include/gcc12/c++/bits/ios_base.h:46,
:info:build                  from /opt/local/include/gcc12/c++/ios:42,
:info:build                  from ./boost/core/detail/string_view.hpp:30,
:info:build                  from ./boost/json/string_view.hpp:14,
:info:build                  from ./boost/json/kind.hpp:14,
:info:build                  from ./boost/json/array.hpp:14,
:info:build                  from ./boost/json.hpp:15,
:info:build                  from ./boost/json/src.hpp:27:
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note: candidate: 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum)'
:info:build   225 |       operator=(_ErrorCodeEnum __e) noexcept
:info:build       |       ^~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note:   template argument deduction/substitution failed:
:info:build /opt/local/include/gcc12/c++/system_error: In substitution of 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum) [with _ErrorCodeEnum = boost::system::error_code]':
:info:build ./boost/json/impl/parse.ipp:46:10:   required from here
:info:build /opt/local/include/gcc12/c++/system_error:225:7: error: no type named 'type' in 'struct std::enable_if<false, std::error_code&>'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(const std::error_code&)'
:info:build   196 |   class error_code
:info:build       |         ^~~~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'const std::error_code&'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(std::error_code&&)'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'std::error_code&&'
:info:build In file included from ./boost/json/src.hpp:38:
:info:build ./boost/json/impl/parser.ipp: In member function 'std::size_t boost::json::parser::write_some(const char*, std::size_t, std::error_code&)':
:info:build ./boost/json/impl/parser.ipp:80:10: error: no match for 'operator=' (operand types are 'std::error_code' and 'boost::json::error_code' {aka 'boost::system::error_code'})
:info:build    80 |     ec = jec;
:info:build       |          ^~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note: candidate: 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum)'
:info:build   225 |       operator=(_ErrorCodeEnum __e) noexcept
:info:build       |       ^~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note:   template argument deduction/substitution failed:
:info:build /opt/local/include/gcc12/c++/system_error: In substitution of 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum) [with _ErrorCodeEnum = boost::system::error_code]':
:info:build ./boost/json/impl/parser.ipp:80:10:   required from here
:info:build /opt/local/include/gcc12/c++/system_error:225:7: error: no type named 'type' in 'struct std::enable_if<false, std::error_code&>'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(const std::error_code&)'
:info:build   196 |   class error_code
:info:build       |         ^~~~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'const std::error_code&'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(std::error_code&&)'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'std::error_code&&'
:info:build ./boost/json/impl/parser.ipp: In member function 'std::size_t boost::json::parser::write(const char*, std::size_t, std::error_code&)':
:info:build ./boost/json/impl/parser.ipp:125:10: error: no match for 'operator=' (operand types are 'std::error_code' and 'boost::json::error_code' {aka 'boost::system::error_code'})
:info:build   125 |     ec = jec;
:info:build       |          ^~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note: candidate: 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum)'
:info:build   225 |       operator=(_ErrorCodeEnum __e) noexcept
:info:build       |       ^~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note:   template argument deduction/substitution failed:
:info:build /opt/local/include/gcc12/c++/system_error: In substitution of 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum) [with _ErrorCodeEnum = boost::system::error_code]':
:info:build ./boost/json/impl/parser.ipp:125:10:   required from here
:info:build /opt/local/include/gcc12/c++/system_error:225:7: error: no type named 'type' in 'struct std::enable_if<false, std::error_code&>'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(const std::error_code&)'
:info:build   196 |   class error_code
:info:build       |         ^~~~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'const std::error_code&'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(std::error_code&&)'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'std::error_code&&'
:info:build In file included from ./boost/json/src.hpp:39:
:info:build ./boost/json/impl/pointer.ipp: In member function 'const boost::json::value* boost::json::value::find_pointer(boost::json::string_view, std::error_code&) const':
:info:build ./boost/json/impl/pointer.ipp:328:10: error: no match for 'operator=' (operand types are 'std::error_code' and 'boost::json::error_code' {aka 'boost::system::error_code'})
:info:build   328 |     ec = jec;
:info:build       |          ^~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note: candidate: 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum)'
:info:build   225 |       operator=(_ErrorCodeEnum __e) noexcept
:info:build       |       ^~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note:   template argument deduction/substitution failed:
:info:build /opt/local/include/gcc12/c++/system_error: In substitution of 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum) [with _ErrorCodeEnum = boost::system::error_code]':
:info:build ./boost/json/impl/pointer.ipp:328:10:   required from here
:info:build /opt/local/include/gcc12/c++/system_error:225:7: error: no type named 'type' in 'struct std::enable_if<false, std::error_code&>'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(const std::error_code&)'
:info:build   196 |   class error_code
:info:build       |         ^~~~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'const std::error_code&'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(std::error_code&&)'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'std::error_code&&'
:info:build In file included from ./boost/json/src.hpp:43:
:info:build ./boost/json/impl/stream_parser.ipp: In member function 'std::size_t boost::json::stream_parser::write_some(const char*, std::size_t, std::error_code&)':
:info:build ./boost/json/impl/stream_parser.ipp:78:10: error: no match for 'operator=' (operand types are 'std::error_code' and 'boost::json::error_code' {aka 'boost::system::error_code'})
:info:build    78 |     ec = jec;
:info:build       |          ^~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note: candidate: 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum)'
:info:build   225 |       operator=(_ErrorCodeEnum __e) noexcept
:info:build       |       ^~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note:   template argument deduction/substitution failed:
:info:build /opt/local/include/gcc12/c++/system_error: In substitution of 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum) [with _ErrorCodeEnum = boost::system::error_code]':
:info:build ./boost/json/impl/stream_parser.ipp:78:10:   required from here
:info:build /opt/local/include/gcc12/c++/system_error:225:7: error: no type named 'type' in 'struct std::enable_if<false, std::error_code&>'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(const std::error_code&)'
:info:build   196 |   class error_code
:info:build       |         ^~~~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'const std::error_code&'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(std::error_code&&)'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'std::error_code&&'
:info:build ./boost/json/impl/stream_parser.ipp: In member function 'std::size_t boost::json::stream_parser::write(const char*, std::size_t, std::error_code&)':
:info:build ./boost/json/impl/stream_parser.ipp:123:10: error: no match for 'operator=' (operand types are 'std::error_code' and 'boost::json::error_code' {aka 'boost::system::error_code'})
:info:build   123 |     ec = jec;
:info:build       |          ^~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note: candidate: 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum)'
:info:build   225 |       operator=(_ErrorCodeEnum __e) noexcept
:info:build       |       ^~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note:   template argument deduction/substitution failed:
:info:build /opt/local/include/gcc12/c++/system_error: In substitution of 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum) [with _ErrorCodeEnum = boost::system::error_code]':
:info:build ./boost/json/impl/stream_parser.ipp:123:10:   required from here
:info:build /opt/local/include/gcc12/c++/system_error:225:7: error: no type named 'type' in 'struct std::enable_if<false, std::error_code&>'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(const std::error_code&)'
:info:build   196 |   class error_code
:info:build       |         ^~~~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'const std::error_code&'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(std::error_code&&)'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note:   no known conversion for argument 1 from 'boost::json::error_code' {aka 'boost::system::error_code'} to 'std::error_code&&'
:info:build ./boost/json/impl/stream_parser.ipp: In member function 'void boost::json::stream_parser::finish(std::error_code&)':
:info:build ./boost/json/impl/stream_parser.ipp:166:10: error: no match for 'operator=' (operand types are 'std::error_code' and 'boost::json::error_code' {aka 'boost::system::error_code'})
:info:build   166 |     ec = jec;
:info:build       |          ^~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note: candidate: 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum)'
:info:build   225 |       operator=(_ErrorCodeEnum __e) noexcept
:info:build       |       ^~~~~~~~
:info:build /opt/local/include/gcc12/c++/system_error:225:7: note:   template argument deduction/substitution failed:
:info:build /opt/local/include/gcc12/c++/system_error: In substitution of 'template<class _ErrorCodeEnum> typename std::enable_if<std::is_error_code_enum<_Tp>::value, std::error_code&>::type std::error_code::operator=(_ErrorCodeEnum) [with _ErrorCodeEnum = boost::system::error_code]':
:info:build ./boost/json/impl/stream_parser.ipp:166:10:   required from here
:info:build /opt/local/include/gcc12/c++/system_error:225:7: error: no type named 'type' in 'struct std::enable_if<false, std::error_code&>'
:info:build /opt/local/include/gcc12/c++/system_error:196:9: note: candidate: 'std::error_code& std::error_code::operator=(const std::error_code&)'
:info:build   196 |   class error_code
:info:build       |         ^~~~~~~~~~

We test gcc 11 and 12, although not on Apple. Can you give me the full list of compiler flags being used? b2 -d+2 prints commands being executed by the build system.

One thing to check here is whether an older Boost is in the include path. The above would happen in that case, as the older version of Boost.System won't support the necessary conversion from boost::system::error_code to std::error_code.

MacPorts seems to have 1.76 (in /opt/local/include/boost), so if that's installed, it would be new enough for things to mostly work even if the 1.76 headers are picked up occasionally.

MacPorts seems to have 1.76 (in /opt/local/include/boost), so if that's installed, it would be new enough for things to mostly work even if the 1.76 headers are picked up occasionally.

All Boost versions through 1.79 build fine. Only 1.80 errs out.

One thing to check here is whether an older Boost is in the include path. The above would happen in that case, as the older version of Boost.System won't support the necessary conversion from boost::system::error_code to std::error_code.

I believe Macports takes care to keep Boost versions separated, but to be on the safe side, I can deactivate all Boost versions and try building 1.80 again.

Including old versions of boost headers sounds like a possible explanation.
Searching on a test machine with xcode and brew gcc installed, there weren't any large boost directories. Used the locate command. The word "boost" appears, here and there, in the filesystem, but nothing resembling a full installation of boost, unless it was somehow compressed and hidden in another file.

My other theory is that for some reason the macro BOOST_NO_CXX11_HDR_MUTEX is being defined on this configuration.

@pdimov Is this something introduced with Boost 1.80? (No failure with any earlier version, I just rebuilt 1.79, 1.78, 1.76 and 1.71.)

It is. Earlier versions implemented conversions to std::error_code differently, without needing std::mutex, but with a one-time allocation that caused problems with leak checkers. 1.80 uses a different mechanism.

@pdimov Aha, apparently this is exactly what breaks 1.80: https://github.com/boostorg/config/issues/399

The error is related to Boost.System. Apparently, there's a recurring issue on Apple that old version of Boost.System that's already installed on the system is picked up rather than the intended 1.80 version. Can you check that this is not what's happening?

The error is related to Boost.System. Apparently, there's a recurring issue on Apple that old version of Boost.System that's already installed on the system is picked up rather than the intended 1.80 version. Can you check that this is not what's happening?

@grisumbras I already did – deactivating all Boost versions prior to building 1.80. No change.
The problem seems to be related to the issue referred above with libstdc++.

Oh, my browser haven't pulled the discussion before I posted. Looks like you've figured it out!

Oh, my browser haven't pulled the discussion before I posted. Looks like you've figured it out!

@grisumbras Yeah, just someone has to fix that now :)

Until we figure out how to properly fix this, you should be able to compile Boost 1.80 by defining BOOST_SYSTEM_HAS_SYSTEM_ERROR manually by adding define=BOOST_SYSTEM_HAS_SYSTEM_ERROR to the b2 command line.
Users of Boost 1.80 however might have to do that as well, although it should mostly work.

Maybe I can use BOOST_NO_CXX11_HDR_CONDITION_VARIABLE to check for <mutex> instead of the proper macro. It's ridiculous, but looks like it ought to work for this case.

Or maybe you could just patch Boost.Config and comment out https://github.com/boostorg/config/blob/2543ff139707a32cc421b62c9d65bb4d9c965b3e/include/boost/config/stdlib/libstdcpp3.hpp#L464, because it seems to be entirely wrong for GCC 11/12 as those should provide timed_mutex on MacOS. :-)

@barracuda156 is the problem still persist?

Boost.Config has been fixed, so it shouldn't be.

Closing this as it should be fixed now

Closing this as it should be fixed now

Boost 1.81 certainly builds fine with GCC.


adding Address reallocate capability for EIP

AWS offers the ability to recover a specified public IP address. I would like to be able to test certain behavior when recovering a specific EIP public IP.
Available in boto3 for EIP address_allocate.
Reference to issue: https://github.com/spulec/moto/issues/1632

Coverage increased (+0.002%) to 92.759% when pulling 12188733b73fe5511692f05f0a1ed586a2fa7777 on sepulworld:adding_address_reallocate_support into cb364eedc6e4edcfa3c65f152c7d13f1e5fe2ea4 on spulec:master.

Coverage increased (+0.002%) to 92.759% when pulling 12188733b73fe5511692f05f0a1ed586a2fa7777 on sepulworld:adding_address_reallocate_support into cb364eedc6e4edcfa3c65f152c7d13f1e5fe2ea4 on spulec:master.

Coverage increased (+0.002%) to 92.759% when pulling 12188733b73fe5511692f05f0a1ed586a2fa7777 on sepulworld:adding_address_reallocate_support into cb364eedc6e4edcfa3c65f152c7d13f1e5fe2ea4 on spulec:master.

Coverage increased (+0.002%) to 92.759% when pulling 12188733b73fe5511692f05f0a1ed586a2fa7777 on sepulworld:adding_address_reallocate_support into cb364eedc6e4edcfa3c65f152c7d13f1e5fe2ea4 on spulec:master.

Thanks! Curious, when do you typically do releases? Monthly?


newLineEachExpressionAfterCountLimit incorrect behavior

newLineEachExpressionAfterCountLimit works great if you have more then 1 import. However if you have only one import and it's more than count setting limit, then it's not being transformed.
maxLineLength will sort that out, but doesn't work great if you have more then one import - it will format them to one line.
Example:
import { FooBarBazQuxTopKek } from './foo/bar/baz/top/kek'; is longer then count property is set, it's not being transofmred, but, if I have:
import {  FooBarBazQuxTopKek, KekTopQuxBazBarFoo } from './foo/bar/baz/top/kek'; it's being transformed to:
import {
  FooBarBazQuxTopKek,
  KekTopQuxBazBarFoo
} from './foo/bar/baz/top/kek';`

Should be fixed in 2.0.1

Can confirm. It's working. Thank you!


Release management

I am currently creating a conan recipe for DiligentCore and it is extremely hard to do, as tagged versions of Diligent depend on the not-tagged versions of the Third-party libraries.
If we take for example spirv-headers:
https://github.com/bincrafters/conan-center-index/blob/main/recipes/spirv-headers/all/conandata.yml
Here we have the official releases from KhronosGroup repo.
Would it be possible for the next Diligent release to depend only on the tagged libraries?

We had to make few minor changes to some of the third-party modules (SPIRV-Cross, in particular). Besides, some modules don't have regular releases.


payment added  but awaiting clearance on fow after payment

Description

[x] Resolves

Checklist

[x] I have followed the repository's contribution guidelines.
[x] I have added necessary documentation or updated existing documentation.
[x] My code follows the established code style and formatting of the project.
[x] I have tested my changes and they function as expected.
[x] I have added suitable unit tests (if applicable).

To be reviewed by: @Nasfame @techyNonso

You can merge but note, flow is not complete

@techyNonso make if any changes left


Add missing mention of mandatory function OSSL_FUNC_keymgmt_has

The manual page provider-keymgmt.pod is missing the mention of the
required function OSSL_FUNC_keymgmt_has. The function
keymgmt_from_algorithm raise EVP_R_INVALID_PROVIDER_FUNCTIONS
if keymgmt->has == NULL
CLA: trivial
Signed-off-by: Arne Schwabe<EMAIL_ADDRESS>Checklist

[x] documentation is added or updated

I stumbled upon this because I am trying to implement a very minimal provider. Anyway I send a signed CLA<EMAIL_ADDRESS>is there anything I need to do in regards of CLA?

We'll let you know once we process the CLA.
If it is work for your employer, we'll need a CCLA filled in too.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

This is beyond the scope of trivial I'm afraid.

Why is adding a couple of words to documentation non trivial?

I think I misread the changes :(
Yeah, this is trivial.

Merged to 3.0 and master.  Thanks for the fix.


Sidebar not changing in Sublime Text 2 running on Ubuntu

Sidebar not changing in Sublime Text 2 running on Ubuntu 12.04.3 LTS.

+1 OS X 10.10.4

ST core bug.


Improved build logic

Description

Ensure tests are running
Moved existing tests to be spock-based

Hi, I have seen testcontainers being used in liquibase. Testcontainers already provides a module for YugabyteDB and I got a example working here.


<EMAIL_ADDRESS>hash check failed

scoop update rescuetime
rescuetime: <IP_ADDRESS> -> <IP_ADDRESS>
Updating one outdated app:
Updating 'rescuetime' (<IP_ADDRESS> -> <IP_ADDRESS>)
Downloading new version
Downloading https://www.rescuetime.com/installers/RescueTimeInstaller_<IP_ADDRESS>.exe (-1 B)...
Checking hash of RescueTimeInstaller_<IP_ADDRESS>.exe ... ERROR Hash check failed!
App:         extras/rescuetime
URL:         https://www.rescuetime.com/installers/RescueTimeInstaller_<IP_ADDRESS>.exe
First bytes: 4D 5A 50 00 02 00 00 00
Expected:    0d86cfba1331f67fdb52525ada7d931865c72a8bbdd1c5fca61c3b841a116f87
Actual:      4498abb62350eddee5754517a7559007d65e061d2005266d4c434da67d0afe87
Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=rescuetime%4<IP_ADDRESS>%3A+hash+check+failed

updated PR -- https://github.com/lukesampson/scoop-extras/pull/4168


Table to Point Tool does not accept single coordiante formats

Table to Point Tool does not accept single coordinate formats.
Expected Behavior
When a single coordinate format (GARS, MGRS, etc) is used to create features the error below is thrown.  I am unable to test whether this tool will  run with single coordinate formats.

Steps to Reproduce (for bugs)

Use provided .csv file as input
use a single coordinate format as input coordinate format
TableToPoint_1.zip

verified


Dropbox Sync

@jffrymrtn Is this still relevant, as now any folder can be used as storage location?

@plafue yeah, this handles Dropbox Sync via their API (https://www.dropbox.com/developers/sync/start/android), for users who don't configure sync through the file system. However, I don't plan on doing it anytime soon. I tried multiple times and sync is just tough...
Backlogging it for now

@plafue Will there be a release to F-Droid including the change sometime soon?

Not with the Dropbox sync support, no. The change regarding configurable storage folders will come sometime this month.
In any case you can build the al yourself!
I'm thinking about building nightlies and uploading them to fdroid... Rebranded, with a big disclaimer of course :)

Using ownCloud here, so I'm looking forward to the configurable storage folder.
I've been trying to mount -o bind the writeily folder to my ownCloud folder on SD card, but Writeily seems to keep a separate handle on the folder and never gets to see its contents.
I would also appreciate nightlies in F-Droid :)

Next version shouldn't be too far away. Finishing up logistics of the
widget and it'll be good to go. Still sometime this month, I hope.
Not too familiar with F-Droid nightlies but if you want it to happen, I'm
all for it!

Owncloud should work without any problems - I can do some test over here if you want (the last time i tried owncloud was a loooong way back).
I'm happy to hear you are up for nightlies in f-droid - i will open an issue for that, as i think it would be a cool way to keep the early adopters happy :)

Any news about this?

Use syncthing and you're good. :)


MD Tutorial

Resolves
Some people who don't know MD can't make tutorials because they don't know it. This makes a tutorial for people like that.
Changes
Created the MD tutorial.
Reason for changes
So people who don't know MD can learn it.
Tests
Tested on Replit.

Should we make this a pinned tutorial instead of being a page? I think it could be hardcoded... we could remove that code in index.js where it removes all the storage.

Might actually make some buttons at the top of the editor which insert markdown (just like Scratch and GH) so this might become useless.


Problem selecting multiple files on the left menu

Problem description
Let's say you add a 5 files to the ODE and you want to delete a couple of them. Right now, you have to do it one by one. It is not possible to select more than one by using Ctrl + Select.
Screen:

Steps to reproduce it

Open the ODE.
Upload a couple of Csv files.
Try to select 3 to delete them

Suggested solution
Allow Ctrl + Select on the tool.

Moving back to the backlog since this involves getting more familiar with the zustand store and I need more time to become familiar with it.

@romicolman
@guergana
I would call it a feature, to be honest.

@roll Can you estimate how much effort this would take? I am thinking of people working on Governments who upload datasets to publish in CKAN and have several files/projects in the ODE. This is key to manage files within the tool.

@romicolman
I think the size is 1-2 days

Let's go for it! :) Can you guide @guergana to work on this?

@guergana
@romicolman
I think it will require reworking components/Application/store.ts to support multiple active files (while not breaking the selected file logic). I've updated the Tech Effort to 3 but it might be even 5 as I see it now. Anyway, probably a good issue to get used to Zustand and TreeView

@guergana
@romicolman
I think it will require reworking components/Application/store.ts to support multiple active files (while not breaking the selected file logic). I've updated the Tech Effort to 3 but it might be even 5 as I see it now. Anyway, probably a good issue to get used to Zustand and TreeView

Yeah, I am not sure this is the best issue for me now since I am still more or less onboarding. I might need your help at some point @roll

@guergana
Sure! Anyway it's in the backlog for now

@roll / @guergana: I'm moving this issue to Sprint 3, since it requires more in-depth conversations.

@roll I need your help with this ticket. I have some issues I can't figure out on my own, besides the fact that I am changing parts of the application in this ticket that I am not sure which side effects they could have..
I don't understand why here: https://github.com/okfn/opendataeditor/blob/main/client/components/Application/Content.tsx#L28 ? the FileContent is updated and fired even if the client and the record stay the same. If you test, when you select one File in the left menu it loads correctly, but when you select a second file, in theory, the FileContent component should stay the same, but it updates and returns a blank screen. Could you help me debug this? 🙏

@guergana @roll what if we approach this issue without changing the current path and selected file logic.
I'm proposing:

Keep using path as the main logic for the selected file.
Add a new state for selectedFiles that trigger logics of highlighting in the tree view.
Create/Update the delete logic to include selectedFiles if exist.

I do not think we need to go for massive refactoring of the current store to handle "Multiple Active Files" if our goal is to just delete multiple files.
One thing is to  have "Multiple Active Files" that can trigger actions like multiple windows, bulk edition, diff, etc. And another thing is to keep track of what the user is selecting in the TreeView and then do something with it without considering all of them "active files".
So, long story short: Why don't we go for "One Active File" but implement "Multiple Selections In Tree View".

MUI already comes with a component to design File Explorers (with multiple selection): https://mui.com/x/react-tree-view/rich-tree-view/customization/#file-explorer
Would it be a better option than our current custom component?

@guergana @roll what if we approach this issue without changing the current path and selected file logic.
I'm proposing:
1. Keep using `path` as the main logic for the active file.

2. Add a new state for `selectedFiles` that trigger logics of highlighting in the tree view.

3. Create/Update the delete logic to include selectedFiles if exist.

I do not think we need to go for massive refactoring of the current store to handle "Multiple Active Files" if our goal is to just delete multiple files.
One thing is to have "Multiple Active Files" that can trigger actions like multiple windows, bulk edition, diff, etc. And another thing is to keep track of what the user is selecting in the TreeView and then do something about it (without the hassle of considering all of them "active files").
So, long story short: Why don't we go for "One Active File" but implement "Multiple Selections In Tree View".

This aproach worked for me in the end!!! Yei. :100:

MUI already comes with a component to design File Explorers (with multiple selection): https://mui.com/x/react-tree-view/rich-tree-view/customization/#file-explorer
Maybe we can use RichTreeView instead of just TreeView?

@pdelboca we could propose this in a different ticket as an investigation. What do you think?

@romicolman I can't delete a folder and a file at the same time. can you do it?

I cannot test this on my laptop. Let's have a quick call tomorrow and I'll add a follow-up comment here later.


Add documentation of unit test.

@sharmistharanit
I have edited your documentation file and I think the explanation of the unit test is missing there.
There are three unit tests. In one unit test, I have assumed that the final velocity of the object is zero and that's why the work done is negative in that case. Please have a look at it and give it a proper explanation saying that if the body comes to rest, the velocity will be zero, which means the body decelerates and the work done becomes negative.
Similarly, I have done the next unit test where the velocity is decreasing. Please explain the three-unit test by reviewing its input and examining its output.

@poojashresthacode What about the third unit test?

yeah, in the third one, I have used the decreasing velocities as input.
In the first unit test, I have used final velocity zero.
In  the second unit test, I have used initial and final velocity zero


[Autocomplete] Differentiate hover & keyboard states

With the current implementation, if you hover over an option, and then move your cursor outside of the option menu, the last option you were hovering over remains highlighted. I would like to remove this highlight programmatically.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

#20615 is related, but it has been closed.
Summary 💡
If setHighlightedIndex were exposed (along with the option to pass null for the index to remove the highlighted option), I could call setHighlightedIndex({ index: null}) to remove the highlight. Alternatively, if Autocomplete had a clearHighlight or removeHighlight prop that was simply a boolean, Autocomplete could check its status and call setHighlightedIndex({ index: null}) internally if it was ever set to true. Or, a removeHighlightOnExit prop could be set.
Examples 🌈
As you can see below, after moving the cursor outside of the menu, pressing "Enter" searches for the text in the input - "material ui" rather than the previously highlighted option "material ui textfield."

Motivation 🔦
With the current implementation, if you hover over an option, and then move your cursor outside of the option menu, the last option you were hovering over remains highlighted. This means that pressing "Enter" automatically selects the last selected option. I would like to implement functionality similar to Google's search, so that if you if press "Enter" it redirects you to a search results page. I added a custom onMouseLeave function to ListboxProps that removes [data-focus] from the highlighted option (to remove its styling) and removes [aria-activedescendant] from the input element when hovering outside of the menu. Then, in my Autocomplete onChange function, I'm checking for the existence of [aria-activedescendant] on the input. If it doesn't exist, it means the cursor is outside of the menu and it returns (thus not selecting anything), and allows the form to submit. This is working fine; however, if a user hovers outside of the menu (removing the highlight) and presses the down arrow on their keyboard, the option below the previously highlighted option is selected, rather than the first option as one would expect. There is no method to reset the highlighted index.

@caseyjhol Interesting. I can't remember why I have made the hover change the highlighted item, and not only the keyboard. Recently, we have done #23323 to visual differentiate the two states. What if we made your example the default? Well, not your example the exact default, I think that Chrome does it better with its search bar (isolate keyboard and hover) but you get the idea.
Regarding the API, it's a dup of #20852.

@oliviertassinari I think it would be great if keyboard and hover were isolated. With my current workaround, if the cursor happens to be underneath the input while typing in the input, and I hit "Enter" to perform the search, it actually selects the option that is highlighted by the cursor.
The existing autocomplete hover functionality is identical to GitHub's, so perhaps you were taking inspiration from them. I've always found GitHub's autocomplete frustrating as I often find myself accidentally searching all of GitHub instead of the current repository. Google has keyboard control and hover isolated from each other, and I find it much more user friendly. Let me know if there's anything else you'd like me to clarify. Thanks!

I often find myself accidentally searching all of GitHub instead of the current repository.

Oh! I have experienced the same but could never figure out why. Maybe that's it 😆.

@tcho0501 and I will take a try at it!

if you hover over an option, and then move your cursor outside of the option menu, the last option you were hovering over remains highlighted

That sounds like a bug to me. Pressing enter should not activate the item that you hover.

@eps1lon On macOS, the hover & keyboard focus shares the same state, it's even true for a native <select>. I'm not sure it's a bug but it seems that we all agree we should differentiate the states, e.g. https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-1/menubar-1.html#.

Note that Chromium and Firefox behave differently about native autocomplete.
Suppose this example: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
On chromium, open select box, type "cat" (or any option present), so the option would be highlighted, now move your mouse through all options, from top to bottom and leave the menu, the last item option is highlighted, and pressing Enter would select it.
But in Firefox, doing the same, would result in nothing being selected. I find Firefox's behavior more reasonable as I have moved my mouse cursor out of select box.
But with material-ui, what led me to this issue, is using weird behavior of autoSelect regarding mouse move. If I open combo options, search nothing, move my mouse through items, click somewhere outside of combo, the last highlighted option is selected. That is very annoying for my ui, and I prefer not doing workarounds, like setting highlightedIndex programmatically. I can't think of a use case where this would be preferable.
https://user-images.githubusercontent.com/5755214/104171507-fff29100-5417-11eb-858d-68dbb1f9d0a0.mp4

Note that Chromium and Firefox behave differently about native autocomplete.
Suppose this example: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
On chromium, open select box, type "cat" (or any option present), so the option would be highlighted, now move your mouse through all options, from top to bottom and leave the menu, the last item option is highlighted, and pressing Enter would select it.
But in Firefox, doing the same, would result in nothing being selected. I find Firefox's behavior more reasonable as I have moved my mouse cursor out of select box.
But with material-ui, what led me to this issue, is using weird behavior of autoSelect regarding mouse move. If I open combo options, search nothing, move my mouse through items, click somewhere outside of combo, the last highlighted option is selected. That is very annoying for my ui, and I prefer not doing workarounds, like setting highlightedIndex programmatically. I can't think of a use case where this would be preferable.
https://user-images.githubusercontent.com/5755214/104171507-fff29100-5417-11eb-858d-68dbb1f9d0a0.mp4

@Ardeshir81 Correct, it's exactly the problem the issue is meant to solve.

@Ardeshir81 Correct, it's exactly the problem the issue is meant to solve.

This is my ugly workaround:
const lastHighlightedItem = React.useRef<{ value: string | null }>({
  value: null,
});
const onHighlightChange = React.useCallback(function(_event, item, reason) {
  if (reason !== 'mouse') lastHighlightedItem.current.value = item;
}, []);

const onBlur = React.useCallback(() => {
  lastHighlightedItem.current.value = null;
}, []);

const onKeyDown = React.useCallback(
  function(keyDownEvent) {
    if (keyDownEvent.key === 'Tab' && lastHighlightedItem.current.value) {
      let valueToSet = extractValue(lastHighlightedItem.current.value);
      if (multiple)
        valueToSet = extractValue([lastHighlightedItem.current.value]);
      setValue(valueToSet, {append: multiple});
    } else if (keyDownEvent.key === 'Escape') {
      lastHighlightedItem.current.value = null;
    }
  },
  [extractValue, multiple, setValue]
);

This is my ugly workaround:
const lastHighlightedItem = React.useRef<{ value: string | null }>({
  value: null,
});
const onHighlightChange = React.useCallback(function(_event, item, reason) {
  if (reason !== 'mouse') lastHighlightedItem.current.value = item;
}, []);

const onBlur = React.useCallback(() => {
  lastHighlightedItem.current.value = null;
}, []);

const onKeyDown = React.useCallback(
  function(keyDownEvent) {
    if (keyDownEvent.key === 'Tab' && lastHighlightedItem.current.value) {
      let valueToSet = extractValue(lastHighlightedItem.current.value);
      if (multiple)
        valueToSet = extractValue([lastHighlightedItem.current.value]);
      setValue(valueToSet, {append: multiple});
    } else if (keyDownEvent.key === 'Escape') {
      lastHighlightedItem.current.value = null;
    }
  },
  [extractValue, multiple, setValue]
);

I am encountering the same issue. It's difficult to hack around the issue, and most other autocomplete that has free text (like Google) seem to follow the behaviour of differentiating the hover and keyboard state. Would love a update.

Totally agree this one would be great to fix, we are struggling with it as well

The behavior is not consistent with how auto-complete works on any search engine that provides suggestion either. Unfortunately, we've built our entire UI Kit library on top of the functionality that comes from the library so it's a difficult thing for us to work around.
It would require us to do significant engineering at lowest level of abstraction within our UI Kit to address this short coming. Had we have been aware of this, we probably would have done more homework from the onset and would have written our own input using the basic HTML <input /> as our base and leveraged some other 3rd-party libraries.
We are kind of stuck without a path forward that would've require us to coming many hours of hard work to address such a simple behavior pattern.

So, what is the preferred behavior? Would we want this to default to remove the selected item on exit? And then provide a way to preserve it? Or do we want the opposite to protect backward compatibility?

I am encountering the same issue. Hover state persists even when cursor leaves the select box, trying to match Select component styling/behavior. Do we have any workaround??


TS Error: "Unsafe assignment of an any value" when trying Readme example.

See screenshot.
I'm trying to implement the example from the README.md in the following way using mitt 3.0.0 and with "strict": true in tsconfig.json
import mitt, { Emitter } from 'mitt';

type Events = {
  foo: string;
  bar?: number;
};

const emitter: Emitter<Events> = mitt<Events>();

export default emitter;

But the emitter const gets the "Unsafe assignment of an any value" error.
Am I missing something here?

Error solved itself on window reload.

@Lietsaki ,
How do you manage to use emit API on emitter? Is number type accepted as a message?
emiiter.emit('foo', 10)
It is giving an error - Is not assignable to parameter of type 'string'


Keep track of redirects

Should be doable with the default redirection strategy incorporated into GitHub pages. Just need to add frontmatter for redirect_from: "/foo" in the doc_list.yml.
If not, there are some options:

https://github.com/nquinlan/jekyll-pageless-redirects
https://github.com/mfenner/jekyll-travis

Simply adding a redirect_from as we do with weight


entry delay not applied

Alarmo Version
1.9.6
HA Version
2022.10.5
Bug description
even though the entry delay is activated in the advanced settings of the sensors, an activation of the sensor will trigger the alarm immediatly.
Steps to reproduce

set up alarm with a window contact sensor (test with Silvercrest smart window and door sensor (HG06336) and Aqara Door sensor)
activate the Use entry delay in advanced settings
trigger the alarm by opening the front door.

Relevant log output
No response

Here's my attempt to reproduce this:
Settings for armed away:

Settings for window sensor:

Next I open the window when the system is in armed away:

Alarm is 20 seconds in state 'pending' before it becomes triggered, so the entry delay is applied.
Please provide additional information for me to reproduce this issue.

hm interesting... I checked the log of the alarmo:

as visible, it changes to pending, and immediatly to triggered.
but the settings are the following:

for motion detectos, the delay is working as inteded

Please check your sensors page, click on the advanced settings to ensure they have the delay enabled.

this is the case:

I even tried to change to window and motion, but no change.

I see you have 26 sensors linked, are you sure this one is triggering Alarmo?
You could see it either via the Alarmo card, push notification or attributres of the alarm_control_panel entity in the Developer tools tab.

found the issue... included a group where the sensor is included ... sadly, this group also included the other tested aqara sensor... which is the reason that also for that sensor the delay was not working.
Removing the group fixed the issue
thanks a lot


if project already exist (and not created with terraform) => error 401 already exist

Describe the bug
If I create a project manually on Harbor, then add it to terraform, I get this error :
Error: [ERROR] unexpected status code got: 409 expected: 201
 {"errors":[{"code":"CONFLICT","message":"The project named test already exists"}]}

It could be great if it could check before if the project exist

Hi @flbla
What you like terraform to do if there is already project named the same thing? The above error message comes from harbor itself.
if you like to import the project into terraform you can use the terraform import command or you could use the data resource
Cheers,
Brett

Hi @wrighbr,
The issue is if I create manually a project in Harbor (for eg: "test") for any reason,
Then I add it to my tfvars and do a terraform plan or apply, I get an error, that the project already exist in Harbor so it can't be created
It could be great, if the harbor provider could check if the project exist before try to create it.

Hi @flbla
If you create a project manually in harbor then want to add it to terraform to (manage/modify/know about) the exist project.
You will need to run the terraform import command.
https://github.com/BESTSELLER/terraform-provider-harbor/blob/master/docs/resources/project.md#import
terraform import harbor_project.main /projects/1

Otherwise you will need to delete the test project within harbor and then let terraform create the project

okay good, I didn't know that
thank you 😄


Fix #502 - pfTableView: does not work with items retrieved via AJAX call

Fixed Table View so I can initialize the items array with a null value, fetch the data from an external source, and update the items array with the fetched data. Without this fix, initializing the items array with null throws an error and initializing the items array with empty array works but you see the 'No Items Available' message and updating the items data doesn't remove the message.

When will the code be merged?

Hi @alexkieling, nice work!  Really appreciate the unit tests!


missing explanation: interest of using  the ResourceManager Vnet instead of the Classic VNet.

hello,
I read the whole page and I still didn't understand the interest of using  the ResourceManager Vnet instead of the Classic VNet. Should explain first the aim/goals/interest of this architecture with the pros and cons and then goes to details of implementation.

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

ID: 94fb770b-7400-649a-73cc-7a1cc7ba08d7
Version Independent ID: f18a3aee-359d-ae3e-13c2-524197db1baf
Content: Connect classic virtual networks to Azure Resource Manager VNets: Portal - Azure VPN Gateway
Content Source: articles/vpn-gateway/vpn-gateway-connect-different-deployment-models-portal.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

Thanks for the feedback! We are currently investigating and will update you shortly.

@ehsf973
The Classic deployment model is the older generation Azure deployment model. It enforces a global vCPU quota limit for virtual machines and virtual machine scale sets. The Classic deployment model is no longer recommended, and is now superseded by the Resource Manager model.
To learn more about these two deployment models and the advantages of using Resource Manager, see Resource Manager and classic deployment.
Hope this helps. Please let us know if you have any further questions/concerns. Thank you!


Restrict jcenter usage to kotlinx-html-jvm

Next PR in the saga of jcenter!
This restricts our usage of jcenter to the single library that still is only on jcenter, kotlinx-html-jvm:  https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-html-jvm
This will ensure we don't accidentally add a library that depends on jcenter without noticing, and when it's resolved, will allow us to remove jcenter cleanly.

Thanks @byencho !


Atom v1.11.0-beta1 fails Linux CI builds

Prerequisites

[ ] Can you reproduce the problem in safe mode? N/A
[x] Are you running the latest version of Atom?
[ ] Did you check the debugging guide? N/A
[ ] Did you check the FAQs on Discuss? N/A
[x] Are you reporting to the correct repository?
[x] Did you perform a cursory search to see if your bug or enhancement is already reported?

Description
Atom v1.11.0-beta1 and -beta2 fail on Linux CI builds.
Steps to Reproduce

Run a CI build (and most likely launch locally) on Linux.

Expected behavior: [What you expected to happen]
Build works as normal.
Actual behavior: [What actually happened]
Builds fail to run specs with the following message:
[3391:0901/220443:INFO:CONSOLE(84)] "Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /home/travis/atom/usr/share/atom-beta/resources/app.asar.unpacked/node_modules/marker-index/build/Release/marker_index.node)
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:158:20)
    at Object.Module._extensions..node (module.js:440:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/home/travis/atom/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/travis/atom/usr/share/atom-beta/resources/app.asar/node_modules/marker-index/dist/native/marker-index.js:9:33)
    at Module._compile (/home/travis/atom/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/home/travis/atom/usr/share/atom-beta/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/home/travis/atom/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/travis/atom/usr/share/atom-beta/resources/app.asar/node_modules/text-buffer/lib/marker-layer.js:14:17)
    at Object.<anonymous> (/home/travis/atom/usr/share/atom-beta/resources/app.asar/node_modules/text-buffer/lib/marker-layer.js:434:4)
    at Module._compile (/home/travis/atom/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/home/travis/atom/usr/share/atom-beta/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/home/travis/atom/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/travis/atom/usr/share/atom-beta/resources/app.asar/node_modules/text-buffer/lib/history.js:6:17)
    at Object.<anonymous> (/home/travis/atom/usr/share/atom-beta/resources/app.asar/node_modules/text-buffer/lib/history.js:450:4)
    at Module._compile (/home/travis/atom/usr/share/atom-beta/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/home/travis/atom/usr/share/atom-beta/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)", source: /home/travis/build/atom/atom/out/app/src/initialize-test-window.coffee (84)

See https://travis-ci.org/AtomLinter/linter-reek/jobs/156574685 for an example.
Versions
Atom v1.11.0-beta1 and Atomv1.11.0-beta2
Note: First reported by @gandm here https://github.com/atom/atom/issues/12571#issuecomment-244084543

Looks like it's not all Linux beta builds. The following are all Atom v1.11.0-beta2 builds.
Breaking build:

https://travis-ci.org/AtomLinter/linter-reek/jobs/156574685

Passing build:

https://travis-ci.org/AtomLinter/linter-xmllint/jobs/156876526

Can't reproduce this in an Ubuntu 16.04 VM locally unfortunately.

Apologies for this, we assumed using a newer version of gcc was okay, but it turns out we need to be backwards compatible with Ubuntu Precise's default stdlibc++.
I have fixed it in #12589 and the fix will go out with Atom 1.11-beta2. 🚀

Awesome, thanks! Finding stuff like that is what the beta channel is for after all 😉.

Confirmed that the failing builds are now passing on -beta3.


Replace setup scripts with Ansible playbook

Playbook applying some best practices for Ansible:
---
- name: Install Linter Tools
  hosts: localhost
  gather_facts: false

  tasks:
    - name: Update apt cache
      apt:
        update_cache: yes
      become: yes

    - name: Install required packages
      apt:
        name: "{{ item }}"
        state: present
      become: yes
      loop:
        - licensecheck
        - shellcheck
        - cppcheck
        - clang-tools
        - clang-tidy
        - clang-format
        - valgrind

    - name: Install codespell
      pip:
        name: codespell
        version: "2.2.2"
        state: present

    - name: Install cpplint
      pip:
        name: cpplint
        version: "1.6.1"
        state: present

    - name: Install cmake_format
      pip:
        name: cmake_format
        version: "0.6.13"
        state: present

    - name: Install yamllint
      pip:
        name: yamllint
        version: "1.29.0"
        state: present

    - name: Install proselint
      pip:
        name: proselint
        version: "0.13.0"
        state: present

    - name: Install alex
      npm:
        name: alex
        version: "10.0.0"
        global: yes
      become: yes

    - name: Install prettier
      npm:
        name: prettier
        version: "2.7.1"
        global: yes
      become: yes

    - name: Install jsonlint
      npm:
        name: jsonlint
        version: "1.6.3"
        global: yes
      become: yes

    - name: Install @commitlint/cli
      npm:
        name: "@commitlint/cli"
        version: "16.3.0"
        global: yes
      become: yes

    - name: Install @commitlint/config-conventional
      npm:
        name: "@commitlint/config-conventional"
        version: "16.2.4"
        global: yes
      become: yes

    - name: Install @commitlint/format
      npm:
        name: "@commitlint/format"
        version: "16.2.1"
        global: yes
      become: yes

    - name: Install markdownlint-cli2
      npm:
        name: markdownlint-cli2
        version: "0.4.0"
        global: yes
      become: yes

    - name: Install markdown-link-check
      npm:
        name: markdown-link-check
        version: "3.10.3"
        global: yes
      become: yes

    - name: Install write-good
      npm:
        name: write-good
        version: "1.0.8"
        global: yes
      become: yes

    - name: Install dockerfilelint
      npm:
        name: dockerfilelint
        version: "1.8.0"
        global: yes
      become: yes

    - name: Install golangci-lint
      shell: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $HOME/go/bin v1.50.1

    - name: Install shfmt
      shell: go install mvdan.cc/sh/v4/cmd/shfmt@latest

In this updated playbook, I made the following changes based on Ansible best practices:

Added become: yes to tasks that require privilege escalation (e.g., package installation).
Used the apt module for system package installations instead of running shell commands.
Used appropriate module parameters (state: present) to ensure idempotent installations.
Specified the version parameter (version: "x.x.x") for each package installation.
Replaced the command module with the shell module for executing shell commands.
Ensured that the playbook runs with minimal privilege requirements (no gather_facts).

These best practices enhance the readability, maintainability, and reliability of the playbook while aligning with the recommended Ansible conventions.
Remember to adjust the playbook according to your target environment and package availability.
Please test the playbook in your specific environment before deploying it to production.
To execute this playbook, save it to a file (e.g., linters.yml) and run the following command:
ansible-playbook linters.yml

Ansible will connect to the localhost (your local machine) and execute the tasks defined in the playbook, installing the linters and running them on the specified files.

An Ansible playbook that installs the necessary package managers (pip, npm, and Go) on a Debian-based system:
---
- name: Install Package Managers
  hosts: localhost
  gather_facts: false
  become: yes

  tasks:
    - name: Install pip
      apt:
        name: python3-pip
        state: present

    - name: Install npm
      apt:
        name: npm
        state: present

    - name: Install Go
      apt:
        name: golang
        state: present

In this playbook, we use the apt module to install the package managers. The tasks assume you're running the playbook on a Debian-based system (such as Ubuntu) and have appropriate privileges to install packages (specified by become: yes).
To run this playbook, save it to a file (e.g., install_package_managers.yml) and execute the following command:
ansible-playbook install_package_managers.yml

Ansible will connect to the localhost (your local machine) and execute the tasks defined in the playbook, installing the package managers.
Please note that the playbook assumes you're using a Debian-based system. If you're using a different operating system, you may need to adjust the package names and installation method accordingly. Consult the documentation for your specific system to determine the appropriate package manager installation steps.


Possible to include Seshat for search?

Hi there, thanks a lot for updating to Element! (I use openSUSE Leap 15.2 and Tumbleweed.) Is there any chance you could please include this functionality in your builds?
https://github.com/vector-im/riot-web/blob/develop/docs/native-node-modules.md#adding-seshat-for-search-in-e2e-encrypted-rooms
Cheers!

I'll look into it. Thanks.

Fixed. There was an upstream error in build instructions and ... I made an error in my build script as well. Fixed in commit 22b7f09.

Awesome, thanks!

Actually test it. Though I altered my builds and it supposedly include native features. I see no behavior change. For example, I can do a full text search in an encrypted chatroom in the previous version.

In what version should it appear? I  currently have....
Element version: 1.7.2
olm version: 3.1.3
... but searching returns no results, as in prior versions.

element-1.7.2-2.fc32.taw.x86_64
Search returns results for me. I will pick through the SUSE builds to see if I see some error in there, but ... it is indeed building.

element-1.7.2-2.fc32.taw.x86_64

Hmm OK, I have 1.7.2-2.suse.tw.taw , but no search results.
Did you have to enable any settings perchance?

Do you see this problem in both 15.2 and Tumbleweed?

Haven't tried it yet on Leap.

Did you have to enable any settings perchance?

I just found this under the Security and Privacy section:

Message search
Element is missing some components required for securely caching encrypted messages locally. If you'd like to experiment with this feature, build a custom Element Desktop with search components added.

Hmm.

sqlcipher is a requirement. Did that get installed?

Ah, OK. Yes, I had sqlcipher installed, but I just now installed additionally libsqlcipher-3_30_1-0, that was the missing package. I imagine that version number will change constantly, so it might be good to add tcl-sqlcipher as a dependency, which also pulls in libsqlcipher-3_30_1-0.
Thanks so much for enabling this feature, it's extremely important and useful for me. Seems to work great now.

Leaving this bug open until I figure out how to package this correctly.
Can you please do an rpm -ql libsqlcipher-3_30_1-0 please and post the results here?

Sure, sorry for the closing it prematurely.
~> rpm -ql libsqlcipher-3_30_1-0
/usr/lib64/libsqlcipher-3.30.1.so.0
/usr/lib64/libsqlcipher-3.30.1.so.0.8.6
/usr/share/doc/packages/libsqlcipher-3_30_1-0
/usr/share/doc/packages/libsqlcipher-3_30_1-0/README.md
/usr/share/licenses/libsqlcipher-3_30_1-0
/usr/share/licenses/libsqlcipher-3_30_1-0/LICENSE

Nevermind, I looked them up. sqlcipher-devel provides /usr/lib64/libsqlcipher.so Can you try it with that package instead of the other and let me know if that resolves things?

It looks like sqlcipher-devel simply requires tcl-sqlcipher and libsqlcipher-3_30_1-0 again as dependencies. I'd say that just  tcl-sqlcipher should be good enough.

Ugh. So ugly to require a TCL language package for something that is not TCL-related.

Give the new build about 30 minutes to finish and v1.7.2-3 should be available. Please remove the tcl-sqlcipher rpm before updating and let's see if this new build pulls it back in. Thanks for your troubleshooting. Once confirmed, I will close this issue down.

Ugh. So ugly to require a TCL language package for something that is not TCL-related.

Ah, I see now what you mean. I can try to file an openSUSE bug report. What would be more sane, to change the libsqlcipher-3_30_1-0 package name to just libsqlcipher? Or include /usr/lib64/libsqlcipher.so in the sqlcipher package?

Please remove the tcl-sqlcipher rpm before updating and let's see if this new build pulls it back in.

Worked great, thanks a lot!
This should probably be a separate issue, but the past few releases of the element package have been making zypper / YaST complain that the package fails the integrity check, I imagine the signature changed?

Ah, I see now what you mean. I can try to file an openSUSE bug report. What would be more sane, to change the libsqlcipher-3_30_1-0 package name to just libsqlcipher? Or include /usr/lib64/libsqlcipher.so in the sqlcipher package?

Fedora includes the library with sqlcipher and another library (not sure if they are the same) with sqlcipher-devel. I think ubuntu does this as well. I don't know what the right packaging is, but linked to TCL is bizarre. Probably some historical reason. Yeah a bug to reexamine it would be nice.

This should probably be a separate issue, but the past few releases of the element package have been making zypper / YaST complain that the package fails the integrity check, I imagine the signature changed?

Maybe. Send me an email with your .repo file and I will look to see what may be going on.
Closing this issue as resolved.

New version using sqlcipher-devel as the required RPM. Lemme know if this resolves the issue.
https://github.com/taw00/element-rpm/commit/24da4cc812feda296fd31fc22719e51f0429ce3b

Hi there, searching has stopped working again on Tumbleweed, but it's a new issue this time:

Element can't securely cache encrypted messages locally while running in a web browser. Use Element Desktop for encrypted messages to appear in search results.

It appears to be having self-awareness issues? :-)
Thanks for the help!


[WHLSL] Call arguments should be copied as soon as they are evaluated

Migrated from https://bugs.webkit.org/show_bug.cgi?id=189360:
At 2018-09-06T17:52:08Z<EMAIL_ADDRESS>wrote:
There is an observable bug in the interpreter whereby the shallow copy of values only occurred after all arguments to a call had been evaluated.

At 2018-09-06T18:00:18Z<EMAIL_ADDRESS>wrote:
Created attachment 349045
Patch

At 2018-09-06T18:12:27Z<EMAIL_ADDRESS>wrote:
Comment on attachment 349045
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=349045&action=review

Tools/WebGPUShadingLanguageRI/Evaluator.js:325

   let result = EBuffer.allowAllocation(() => node.func.implementation(callArguments, node));

I'm confused. Where do the thunks get evaluated? I expected this patch to move code around, but instead it appears to be deleting code?

At 2018-09-06T20:36:50Z<EMAIL_ADDRESS>wrote:
All reviewed patches have been landed.  Closing bug.

At 2018-09-06T20:36:49Z<EMAIL_ADDRESS>wrote:
Comment on attachment 349045
Patch
Clearing flags on attachment: 349045
Committed r235753: https://trac.webkit.org/changeset/235753

At 2018-09-06T20:40:26Z<EMAIL_ADDRESS>wrote:
rdar://problem/44194725

At 2018-09-06T20:11:01Z<EMAIL_ADDRESS>wrote:
Comment on attachment 349045
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=349045&action=review

Tools/WebGPUShadingLanguageRI/Evaluator.js:325

   let result = EBuffer.allowAllocation(() => node.func.implementation(callArguments, node));

I'm confused. Where do the thunks get evaluated? I expected this patch to move code around, but instead it appears to be deleting code?

Got it. Looks good.


Control formats for output

Right now we only output in the original format of the question, i.e. an exercise as input will be an exercise in output. We must convert them to a homogenized format, so that all chosen questions are in the same format. format. We should be able to output

[ ] \question non-environment;
[ ] exercise;
[ ] problem;
[ ] question, questionmult, choice, choices

environments too.

This must take #23 into consideration.

This must take #23 into consideration.


Bug: TypeError: t.connections is not iterable

Describe the bug
The app does not work. It opens up to a blank screen. The issue is present in both the browser and desktop apps.
Steps to reproduce
Open the app in the browser, download and install it, and then open it.
Expected behaviour
The app should open up and work properly.
Surrealist Environment
There is nothing on the screen, and there is no "settings menu." My environment is Windows 11 Pro when running the desktop app and Edge, Firefox, Chrome, or Arc when testing in the browser.
Contact Details
<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

surrealist.app-1726651934292.log

This has been fixed in the latest 3.0.2 release, apologies if this caused any inconvenience!


Fix PRJ_NOTIFICATION name and link

PRJ_NOTIFICATION_CB takes an enum PRJ_NOTIFICATION but the page used PRJ_NOTIFICATION_TYPES and had a broken link.

Thanks for the catch! Merging now.


Issue with focus switching while autocomplete popup open

When there's an autocomplete popup open and the focus is changed, the focus lost and gain commands are simply typed into the text. I guess this might be caused by the plugin failing to escape to normal mode to issue the commands and instead they get typed in insert mode.
Is there any way around this? I use automatic completion popups (SimpleAutoComplPop), so it's not rare that I will have an autocompletion list open and I will alt-tab out to check documentation.

This bug is so annoying for me as well. If popup menu is open (pumvisible()), the action <C-O> from inoremap <silent> <F24> <C-O>:silent doautocmd FocusLost %<CR> is ignored.
So my workaround here is to use <C-\><C-O>
inoremap <silent> <F24> <C-\><C-O>:silent doautocmd FocusLost %<CR>
inoremap <silent> <F25> <C-\><C-O>:silent doautocmd FocusGained %<CR>

and it works well for me :)

This is solved now that #12 is merged.


Sometimes missing 'node_sqlite3.node' in install

Hey all
In the postinstall script I see this logged:
[sqlite3] Success: "/Users/alexamil/.suman/global/node_modules/sqlite3/lib/binding/node-v51-darwin-x64/node_sqlite3.node" is installed via remote
On occasion, when I try to
require('sqlite3');

I get this error:
 Error: Cannot find module '/Users/alexamil/.suman/global/node_modules/sqlite3/lib/binding/node-v51-darwin-x64/node_sqlite3.node'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/alexamil/.suman/global/node_modules/sqlite3/lib/sqlite3.js:4:15)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)

any idea why that might be so? Looks like sqlite3 is installed, but it's missing an external dep...? Maybe find a way to more reliably install 'node_sqlite3.node'? idk

I solved it by running
npm rebuild
in the containing directory. But it seems like maybe I should not have to do that? :)

How did You fix it even though my code is working final .exe gives me node_sqlite3.node missing error.

Same problem here, running on Windows 10 and yarn for an electron webapp. Tried the npm rebuild not working.
It's trying to open a file under lib/binding/electron-v5.0-win32-x64/node_sqlite3.node the only directory under lib/binding is node-v64-win32-x64/node_sqlite3.node.
PS, previous to this error it was giving me and errror related with the aws-sdk module:
Module not found: Error: Can't resolve 'aws-sdk'

Would you be able to try with v5.0.3? 🙂


Fix 0.5 depwarn about readall in deps/build.jl

Coverage remained the same at 59.695% when pulling e897c26d1552504868e5603313ed79855f7a3988 on yuyichao:0.5-deps into 6b9d5779523583b1bf698415dbbbdba9295558f9 on stevengj:master.

Thanks!


Skip condition for lookup relation

The following skip condition applies for the lookup relation:
// From the definition of the lookup grand product, if the inputs are trivial,
// Z_lookup is updated as Z_lookup_{i+1} = Z_lookup_i * \gamma * (1 + \beta). If this condition holds, the
// contribution of the given inputs will be the zero polynomial.
auto gamma_by_one_plus_beta = params.gamma * (params.beta + 1);
bool is_active = !(in.z_lookup_shift.value_at(0) == in.z_lookup.value_at(0) * gamma_by_one_plus_beta &&
                           in.z_lookup_shift.value_at(1) == in.z_lookup.value_at(1) * gamma_by_one_plus_beta);

Applying this for sumcheck (proof construction, decider) passes all tests (and skips many trivial contributions if the circuit does not have a large number of lookups/tables). However, there are sporadic failures in bb acir tests. The error is repeatable on CI, but not between CI and local. Any test seems to pass when run individually. All tests pass when built in debug, eve if all run sequentially.

Plookup was replaced with log-derivative lookups, for which the skip condition has been implemented.


PhantomJs can access remote sites via PHP shell_exec but not local sites.

I am having an issue with the callback for page.open not running when I run phantom JS on a local server page using PHP's using shell_exec(). If I run phantomjs via commandline on a local URL then the callback does fire.
PHP Script:
<?php
error_reporting(E_ALL);
session_write_close();
$result = shell_exec('phantomjs server.js ' . $_GET['url'] );
echo $result;

JS script
/**
 *  PhantomJs server for calling webpages & processing JS
 *  returns page content
 */

var args = require('system').args;
var address = args[1];
var page = new WebPage();

var renderPage = function(){

    page = require('webpage').create();
    var myArgs = Array.prototype.slice.call(arguments),
        url_str = myArgs[0];

	 console.log('accessing:'+url_str);

	page.onError = function(msg){console.log('js error');}

    /**
     * From PhantomJS documentation:
     * This callback is invoked when there is a JavaScript console. The callback may accept up to three arguments:
     * the string for the message, the line number, and the source identifier.
     */
    page.onConsoleMessage = function (msg, line, source) {
        console.log('console> ' + msg);
    };

    /**
     * From PhantomJS documentation:
     * This callback is invoked when there is a JavaScript alert. The only argument passed to the callback is the string for the message.
     */
    page.onAlert = function (msg) {
        console.log('alert!!> ' + msg);
    };

    /**
     * Handle Redirection
     */
    page.onNavigationRequested = function(url_sub_str, type, willNavigate, main) {
        if (main && url_sub_str != url_str) {
            url_str = url_sub_str;
            console.log("redirect caught");
            page.close();
            setTimeout(function() {
				renderPage(url_str)
			},1);
        }
    };

	page.onResourceReceived = function (response) {
		console.log('Receive ' + JSON.stringify(response, undefined, 4));
	};

    /**
     * Open the web page and run RRunner
     */
    page.open(url_str, function(status) {
		console.log('here');
        if (status === 'success') {
            console.log(page.content);
            phantom.exit();
        } else {
            console.log('failed');
            phantom.exit();
        }
    });
};

address = 'http://local.wordpress.dev/test.php';
//address = 'http://local.wordpress.dev/';
//address = 'http://www.inboundnow.com/';
renderPage(address);

* I am running on a [https://github.com/ericmann/vvv-apache](VVV-Apache vagrant) machine.
* If I try to access an .html file while using the PHP method I get a successful response.
* If i try and access a local dummy php file that echos out some content it does not work using the PHP method.

Thank you for submitting this ticket!
This issue tracker primarily serves as the tool to report and track bugs, defects, and development tasks.
For general question, code review request, or other related discussion, please post it to either:

the official PhantomJS users mailing-list
Stack Overflow (with phantomjs tag)

If you have not read it yet, please check also a few tips on Effective Q&A.

Thanks for the mention. I've opened up a stack overflow issue here. If anyone else reading this has any ideas please let me know. At the moment I've dead ended.
http://stackoverflow.com/questions/30522197/phantomjs-can-access-remote-sites-via-php-shell-exec-but-not-local-sites

I think this may have something to do with the absence of a tty.


Playbak never properly starts on some content

Netflix add-on version
v1.23.3+matrix.1
Operative systems used
Android
Kodi version used
Other (specify in description)
Description of the bug
When playing some content, playback never properly starts. Seekbar starts seeking, but loading spinner never disappears and there is no audio or video.
This same show has worked a couple of days ago, so something must have changed in the meantime. I can play it in the Netflix app on the some device without issue.
Kodi version is 21.0 (it looks like template needs updating, since 21 is not an option).
Steps to reproduce the behavior

Play content that is broken (for example Queen's Gambit)

Debug log - mandatory
https://paste.kodi.tv/torepixika.kodi
Possible fix
No response
Additional context
This seems relevant from the logs?
CDVDVideoCodecAndroidMediaCodec::AddData error

Screenshots

Hm, looking at the Android logs, this might be a clue:
08-07 08:28:42.854 27039  6596 W MediaCodec: Log queueSecureInputBuffer error: -2001
08-07 08:28:42.854 27039  5931 W System.err: android.media.MediaCodec$CryptoException: Crypto key not available
08-07 08:28:42.854 27039  5931 W System.err:    at android.media.MediaCodec.native_queueSecureInputBuffer(Native Method)
08-07 08:28:42.854 27039  5931 W System.err:    at android.media.MediaCodec.queueSecureInputBuffer(MediaCodec.java:2821)

this is related to know problems

You mean this one? https://github.com/CastagnaIT/plugin.video.netflix/issues/1627
Symptoms appear different, it does not play at all instead of playing for only 2 minutes


Creating .NET Core web app that includes 'web' or 'app' in the name silently fails to launch in VS (it just hangs on launch)

From @BillHiebert on May 10, 2016 23:51
Create a new Empty .NET Core Web app in VS
Call it "web"
Hit F5 (to launch under IIS Express)
Actual:
It fails to launch (spinning Edge icon waiting for it to load) - there are not even an IIS Express logs to debug the issue
What's happening is kestrel is throwing the following exception. It only repros with projects named "web" and when hosted in iisexpress.
Unhandled Exception: System.AggregateException: One or more errors occurred. (Error -4092 EACCES permission denied) ---> Microsoft.AspNetCore.Server.Kestrel.Networking.UvException: Error -4092 EACCES permission denied

at Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv.Check(Int32 statusCode)
at Microsoft.AspNetCore.Server.Kestrel.Networking.Libuv.tcp_bind(UvTcpHandle handle, SockAddr& addr, Int32 flags)
at Microsoft.AspNetCore.Server.Kestrel.Networking.UvTcpHandle.Bind(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.Http.TcpListenerPrimary.CreateListenSocket()
at Microsoft.AspNetCore.Server.Kestrel.Http.Listener.<>c.<StartAsync>b__6_0(Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Server.Kestrel.Http.ListenerPrimary.<StartAsync>d__9.MoveNext()
--- End of inner exception stack trace ---

at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.KestrelEngine.CreateServer(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext](IHttpApplication`1 application)
at Microsoft.AspNetCore.Hosting.Internal.WebHost.Start()
at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host, CancellationToken token, String shutdownMessage)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host)
at web.Program.Main(String[] args)

Copied from original issue: aspnet/KestrelHttpServer#824

From @benaadams on May 10, 2016 23:54
The error means the port Kestrel is trying to listen on already has something listening on it

From @halter73 on May 11, 2016 0:3
@benaadams Agreed that that is the most likely explanation. @cesarbs Said he was able to repro and that he would debug it.

From @cesarbs on May 16, 2016 19:1
Interesting find here. Look what happens to the address Kestrel tries to bind to when the project is named "web":

Compare to any other project:

Looks like the issue is coming from ANCM. cc @pan-wang

From @cesarbs on May 11, 2016 0:47
@benaadams I'm not sure. When you try to listen on a port that's already in use you normally get an EADDRINUSE.

Specifically, the ASPNETCORE_APPL_PATH is set to ROOT/WEBHOST/WEB for some reason. Is WEB a reserved site name in IIS/Express?

From @cesarbs on May 16, 2016 19:1
cc @Tratcher

@pan-wang Is web a reserved name in IIS/ANCM?

Facing same problem when project name includes "Web", in my case project name is Transfer.Web

I have a Project.WebSite and it works fine. Can be repro only when it ends with Web?

Renamed my project to Web2 and it works fine now.

It does seem to be related to ANCM or Kestrel. I can create and run an MVC5\Webform application with the name web.

I don't think Web is a reserved keyword in either IIS and IISExpress. Will look at it.

Can confirm creating a new project in RC2 (net461) and naming it Web causes this in VS. Was not the case in RC1. This happen in both brand new projects and those converted from RC1.

this is bug in ANCM. When resolving the site path, it simply takes the sub string from the app path using the site name and did not consider the app path may already contains string as 'WebRoot' and "AppHost". Will fix it.

Root cause: ANCM had a bad IndexOf on the string Machine\WebRoot\AppHost\<sitename>\<appname>\.... Any project who's name is a subset of those values will get the wrong PathBase and crash Kestrel on launch. E.g. Web, App, Host, Machine, Root, etc..

My project was named CarSolution.Identity.Web and I am also facing the same problem. So having web might be the problem?

As you see in #193 it also fails when the url is something like "http://app.whatever.tld/SaveProjectNameHere"

@road42 That was because you set your root site name to APP. The url didn't matter.

@Tratcher Ah sorry this wasn't clear enough. Thank you.

I've just come across this issue when deploying an update to a site running RC2 (which was already RC2) when accessing it at http://{name}.azurewebsites.net/. Is this falling foul of the same issue because of the web in azurewebsites?

@martincostello I don't think so, it has worked for others on azurewebsites.net.

@Tratcher I've been playing around with this, and I think I've actually narrowed it down to there being RC1 and RC2 bits in the same wwwroot folder after the "delete existing files" option wasn't used when publishing the site. However, I've no idea what change triggered it suddenly making a difference. Deleting every file in wwwroot in Azure, re-publishing and restarting the site fixed the problem with the site not starting.

I migrate a solution from RC1 to RC2 and one of the projects was named "Web". I rename it (both name and folder) but I'm still get the same error. Are there "strange" steps to rename a projects?

@cherici-simone what was the new name?

I try "Site" but nothing...then I try..."aaa" but the error persist. I try
with a new project and perform the same rename without success. I also
change folders, namespace, launchSettings.json and also rename the solution
On Wed, Jun 15, 2016 at 5:50 PM, Murat Girgin<EMAIL_ADDRESS>wrote:

@cherici-simone https://github.com/cherici-simone what was the new name?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/IISIntegration/issues/176#issuecomment-226231094,
or mute the thread
https://github.com/notifications/unsubscribe/AG9pOmtsW7QJqzZTPYjA8mk-Iz08SF47ks5qMB9AgaJpZM4Ifmw9
.

--
Simone Cherici

@cherici-simone Is this in Azure? I had issues with a RC1 -> RC2 migration in Azure because there were things left in the site folder for RC1 that created strange conflicting behaviour. Deleting the RC1 remnants via FTP fixed it.

In my case, changing the port I was using fixed it.. maybe that port was already busy


QuaggaJs Barcodescanner error in iOS safari WebApp

I am developing a webApp using Angular framework. I have used QuaggaJs barcode scanner for one of my module. Its works great on android chrome browser and it's webApp. And iOS safari browser. however while opening it through iOS Safari webApp, it crashes and gives the below error.
[Error] ERROR – Error: Uncaught (in promise): TypeError: undefined is not an object (evaluating 'k.inputStream.type')
i hope anyone has come through this or a fix here .
This is my config object
{
numOfWorkers: 4,
locate: true,
inputStream: {
name: "Live",
type: "LiveStream",
target: this.barcode.nativeElement,
constraints: {
width: 640,
height: 480,
aspectRatio: { min: 1, max: 100 },
facingMode: "environment"
},
area: { // defines rectangle of the detection/localization area
top: "25%",    // top offset
right: "0%",  // right offset
left: "0%",   // left offset
bottom: "25%"  // bottom offset
},
singleChannel: false // true: only the red color-channel is read
},
frequency: 10,
decoder:{
readers: [
"code_128_reader",
"ean_reader",
"ean_8_reader",
"code_39_reader",
"code_39_vin_reader",
"codabar_reader",
"upc_reader",
"upc_e_reader",
"i2of5_reader"
],
debug: {
drawBoundingBox: false,
showFrequency: false,
drawScanline: false,
showPattern: false
},
multiple: false
},
locator: {
halfSample: true,
patchSize: "medium", // x-small, small, medium, large, x-large
debug: {
showCanvas: false,
showPatches: false,
showFoundPatches: false,
showSkeleton: false,
showLabels: false,
showPatchLabels: false,
showRemainingPatchLabels: false,
boxFromPatches: {
showTransformed: false,
showTransformedBox: false,
showBB: false
}
}
},
debug: false,
}

Someone please correct me if I'm wrong, but I believe that iOS doesn't provide access to the camera from webview in applications.

https://caniuse.com/#feat=webworkers,canvas,typedarrays,bloburls,blobbuilder,stream
As per the above link. getUserMedia/Stream API supports for iOS Safari 11.2, 11.4, 12, Which it gladly does. However there is no any specific information about support for  iOS Safari Progressive Web Apps. And my application crashes with the above mentioned error while i try to go liveStream through Quagga barcode scanner, which needs access to camera indeed.

iOS as started supporting getUserMedia webRTC API. we can get acces through it. however its working for me on iOS safari  browser , but not through webApp. just wanted to make sure, if getUserMedia supports on ios safari webApps or am missing  something. !?

It does work in browser but not in webapp (standalone app). I presume it does work in webview either. It is a ios thing.

IOS works in webview from https

I don't have an iOS device, so I'm no help in tracking that down. Thanks for confirming that it does work, though @andreglegg .

@PrItHvI7 are you sure this isn't an error somewhere where you're handling the object?  I'm not seeing anything in the source code, or build, "k.inputStream".

So even I use https it won’t work with PWA in standalone mode only using safari as common browser? What about Android in stand-alone mode in PWA?

Works pwa and standalone on android. But safari ios pwa is about to be
fixed. Works for me in 13.4 beta . !!
Le dim. 23 févr. 2020 à 22:22, Lukasz-Chowaniec<EMAIL_ADDRESS>a écrit :

So even I use https it won’t work with PWA in standalone mode only using
safari as common browser? What about Android in stand-alone mode in PWA?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/serratus/quaggaJS/issues/324?email_source=notifications&email_token=AAY42EWTOP3PAMDIXO7U2JDRELSI7A5CNFSM4FRM5IS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMWHXGA#issuecomment-590117784,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAY42EURKHTE7LGEQLS66XDRELSI7ANCNFSM4FRM5ISQ
.

Great news! Is this beta release date known?

seems like this tuesday!

Did anyone made it work with type: liveStream in Safari?
I can get a clear live view of the camera but the onDetected method doesn't recognise my barcode. Still works in Chrome.

sure, it works fine in all modern safari versions.  perhaps problem with configuration or camera selection?


Workspace - No #admins and #announce rooms after creating workspace

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

Action Performed:

Navigate to https://staging.new.epensify.com/
Sign in with expensifail account
Create new workspace
Return to LHN and look for #admins and #announce rooms

Expected Result:
#admins and #announce rooms are present after creating a workspace
Actual Result:
There are no #admins and #announce rooms after creating a workspace
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation=
https://user-images.githubusercontent.com/93399543/194726295-05ba37fb-d2e4-40d6-b604-fcfd2835a8b4.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Asked internally if this was a change we made on purpose

The answer is no, and it seems like this is a deploy blocker.

Ah, looking

hmm so it seems like when I delete the workspace "Unavailable workspaces" pop up

I'm going to pick this up this morning and start drafting a PR
Conclusion from slack thread:
Archived Chats
Access

policyAdmins retain access to defaultRooms, userCreatedRooms & policyExpenseChats
all chat participants retain access to policyExpenseChats
If you have access to a chat, you should be able to search for it

Most Recent mode

Shown in the LHN if you still have access to the chat when archived
Not shown in the LHN when empty (I’m impartial about this filter personally, but I can see why we added it, as there is no reason at all you would possibly want an empty archived room in the LHN)

GSD Mode

Shown in the LHN if active chat, unread or pinned if you haven’t lost access to the chat
Not shown in the LHN when empty

I'm making good progress on this. I have test cases which cover all the above logic. After lunch I will continue work on:

cleaning up logic inside of isArchived() to remove this:

    if (!isChatRoom(report) && !isPolicyExpenseChat(report)) {
        return false;
    }

I need to go through all our code to ensure that it's not going to cause things to break

I've got the PR finished. I'm just writing up the PR and getting screenshots

OK, the tests are written and the PR is under review.


Getting-Stared page for Platform Guide

This PR adds necessary changes for the new Getting-Started page created in the main repository in the following PR. You can view the preview here for the website.
Further changes needed in this PR after the PR in the main repository gets merged.

Now that https://github.com/prometheus-operator/prometheus-operator/pull/6887 has been merged, I will also merge this PR.


checkout pr-url no longer adds remote or sets upstream

As a maintainer, I want to easily checkout PRs and push to those forks.
Previously, hub checkout https://github.com/path/to/pr would add a remote for the user's fork, fetch the PR branch, and set the branch upstream so that git push would push back to the PR.
However, now checkout only fetches the branch, it doesn't add a remote or set upstream. So I can fix up a PR, but I have no way to push back to the branch.
git version 2.18.0
hub version 2.4.0

Have you tried git push? https://github.com/github/hub/pull/1764
We do set upstream configuration, which enables git pull and git push even without a separate remote. https://github.com/github/hub/blob/64e5fe6cbf49407daf9310bd9c0cd58bb1751161/commands/checkout.go#L131-L132

You're right, it does work. I think what was confusing me is that I use a prompt that shows the number of commits to be pushed, and it doesn't work when there's no remote. It seems like git status also won't show this information, which makes it hard to know what state the branch is in compared to the PR.
Not adding remotes does have the benefit of not cluttering the list with a bunch of one-off entries, but is that a good tradeoff?

It seems like git status also won't show this information

You're right, that's a feature we lost when moving from generating a remote to no remote.

Not adding remotes does have the benefit of not cluttering the list with a bunch of one-off entries, but is that a good tradeoff?

After a few years of hub adding remotes, yes I think that's a good trade-off. Otherwise we're left with no good mechanism of cleaning up those remotes after the PRs have been closed.

IntelliJ / PyCharm doesn't understand where to push.

I can't help with 3rd-party tooling. I've made it so git understands where to push/pull from. If another git tool doesn't know how to parse this configuration, then I guess the git integration in that tool/IDE needs improving.
Closing since it's still easy to checkout PRs and then immediately push to those forks via simple git push, which addresses the original question.


Nosquint issue on youtube.

Hello
I have a problem with nosquint, when I go on youtube.com and type whatever I want to search in search bar, nosquint became disabled until I reload page.

Also have this problem, is there any way to fix this?

Same here. Didn't know about the refresh trick either, thanks :P It's the same with Facebook when an embedded youtube video is played

Hi,
since this bug annoyed me for a too long time, I've debugged it and found the code where it originates from:
File (in the xpi): chrome/nosquint/content/lib.js
In the repository: https://raw.githubusercontent.com/jtackaberry/nosquint/master/src/content/lib.js
/* In the common case, document.URL == browser.currentURI.spec, so we test
 * this simple equality first before resorting to the probably unnecessary
 * regexp call.
 */
if (document.URL !=  browser.currentURI.spec &&
    document.URL.replace(/#.*$/, '') != browser.currentURI.spec.replace(/#.*$/, ''))
    /* Kludge: doc.URL doesn't match browser currentURI during host lookup failure,
     * SSL cert errors, or other scenarios that result in an internal page being
     * displayed that we consider chrome.
     */
    return true;

At the time when NoSquint doesn't set the zoom properly, the variables look like this:

document.URL = https://www.youtube.com
browser.currentURI.spec = https://www.youtube.com/results?search_query=YOUR_SEARCH_STRING

So, what happens is, the above condition returns "true". That prevents NoSquint from applying your defined zoom because the function (which returned "true" in that case) is "isChrome()".
That method is used to check whether the visited URL is a Firefox-internal page (for example "about:config") or a browser-internal error page for which no zoom should be applied.
To resolve the issue I'd remove the above code and replace
// A couple other common cases.
if (document.contentType == 'text/html' || document.contentType == 'application/xhtml+xml')
    return false;
if (document.URL == undefined || document.URL.substr(0, 6) == 'about:')
    return true;

with
// A couple other common cases.
if (document.URL == undefined || document.URL.substr(0, 6) == 'about:') {
    return true;
if (document.contentType == 'text/html' || document.contentType == 'application/xhtml+xml')
    return false;

That ensures that NoSquint still doesn't apply the zoom to Firefox-internal pages but can handle Youtube's (and other's) URL mismatch properly.
After that, the following two lines are obsolete:
if (document.URL == undefined)
    return true;

Thanks for doing the leg work on this, @ManUnix.  Clearly the original premise in that code isn't true (or is no longer true, anyway).  I'll test this new logic out.


Script that writes manifest files.

Write a script that allows us to easily write a manifest file in this format - #111.  You can use whatever language makes this easy.
We will store a base manifest in each repository to understand what goes into a build, but a new manifest will be included in each bundle.

The manifest file should update all git-refs to include a commit-hash.  The base manifest will usually only include a branch name.

Closing this - this will be part of the build scripts that will be included in #133.
We will build the components from a manifest, update that manifest in the build system and include it in the bundle.


Possibility to use the simple file dialog instead of the system file dialog

Issue #135904 is related but did not solved the request of this feature.
I'm working on an extension that would search for a file at some point.
I would like to use the simple file dialog that we get when we use the command "Go to File...", which is really neat and can easily filter files instead of the outdated system file, that we get when using vscode.window.showOpenDialog.

Please see the full response at https://github.com/microsoft/vscode/issues/135904#issuecomment-958741687


Add Trail CRD

Issue #, if available:
Description of changes:
Creates the Trail CRD and adds basic smoke tests for trails
By submitting this pull request, I confirm that my contribution is
made under the terms of the Apache 2.0 license.

Need rebase after #2
/hold

Need https://github.com/aws-controllers-k8s/test-infra/pull/209 merge
/hold

/test all

/test all

/hold
Needs https://github.com/aws-controllers-k8s/test-infra/pull/213

/unhold

@vijtrip2 @jaypipes @RedbackThomson addressed all the comments above and added tests for update operations. PTAL

/lgtm


[Docs]: "Documentation" contribution section

It's worth having a dedicated section for those contributors who just want to work on making the docs and website better. This section could include contributing from the web only or local development and running the website locally.

maybe also need to add we're using turbo and yarn berry/workspace, thus need yarn >v1 and maybe add some guild on turbo then delete this https://github.com/discordeno/discordeno/blob/main/howToUseTurborepo.md