Drop Python 2 support

With Python 2.7 reaching its EOL at the end of the year, I'd like to start planning to drop support for it.
It would increase maintainability and reduce a lot of the overhead required for compatibility, as well as allowing improvements that would be difficult to implement while supporting Python 2.
Specifically, I want to look into adding asynchronous support with asyncio (#732), i.e. async/await syntax, and maybe with aiohttp (or requests 3 if that's released soon), especially to replace the current threading method for streams.
I think the current plan should be for Tweepy v3.9 (v3.9 was released without noting that it would be the last version to support Python 2 in its changelog and release notes, so a v3.10 is planned) v3.10 to be the last version to support Python 2.7, and then for v4.0 to be Python 3.5+.

The plan sounds good. Python 2.7 installs of Tweepy are relatively low for Tweepy.
Here's the pip installs for Tweepy from PyPI for July 2019:

category
percent
downloads

3
73.34%
83,887

2
25.93%
29,655

null
0.73%
836

Total

114,378

Source: pip install -U pypistats && pypistats python_major tweepy --last-month

category
percent
downloads

3.6
37.23%
42,582

2.7
25.89%
29,611

3.7
18.38%
21,022

3.5
15.50%
17,734

3.4
2.08%
2,381

null
0.73%
836

3.8
0.09%
98

3.3
0.06%
69

2.6
0.04%
44

3.9
0.00%
1

Total

114,378

Source: pip install -U pypistats && pypistats python_minor tweepy --last-month

Please see PR #1255.

Since Python 2 has been EOL for almost a year now and PyPI Stats shows Python 2 downloads averaging at about 5% or less, and with Tweepy v3.10.0 released now, I've gone ahead and made a branch and PR #1482 to drop support for Python 2.
Note, Tweepy v3.10.0 will also be the last version to support Python 3.5, since it's also EOL now.
PyPI Stats shows downloads for it averaging at even less, about 2-4% or lower.


It's can't show "" symbol.

My Setup

Operating System: Win10
App Version: 2.17.11
Installation type: exe -->

[X] I have tested with the latest version
[X] I can simulate the issue easily

Description
If I paste a windows path to rocket.chat friend like follow:
d:\Desktop\qos\_todelete
My friend rocket.chat window will show
d:\Desktop\qos_todelete
How to fix it?

Current Behavior

Expected Behavior

Have any friend help us?

My guess is that the symbol _ used to underline text, is escaped with the backslash

Could fix this problem?


Digest Authentification support for the legacy client part only

From the module "requests", but works on its own, totaly independent from it

Hello aaugustin!
First of all, sorry for not having done any actions on this PR, I've been really busy this last month...
I'd like to modify the quality tests, in order to make it ok with this new feature (digest authentification), but i don't know where to start, and what to change.
The current tests seems to handle only basic auth, which may explain why it fails with the digest auth.
Do you have any idea or suggestions about what i should do?

Hello
I don't know if the tests have been run after the commit 0851a24. The modification should have solved the error, but I don't have any results.
Could you run the tests if not already done?

Thanks
There is no more error message, but the coverage is not 100%. I obviously still have problems in this feature. I don't really know how to read the Tox report...
I can see that the issues are in headers.py (57%), legacy/client.py (89%) and legacy/handshake.py (95%) which are the files i modified for this PR... But i don't really understand what the "missing" column stand for, and what are the defaults/errors.
I'm sorry, I've never used Tox before, so I don't know what to do.
Is there a more detailled report ?

ok, i'm reading some documentation about tox and if i interpret correctly, the missing column is about the code that is not covered by the tests. So it means that i must write some tests to cover the new feature.
Sorry for the silly questions, i'm really newbie at tox/unit tests things

Is that possible to write digest auth coverage tests without having the server side modified to support digest auth ? I am not sure, but i guess that the server side digest auth is mandatory when the client side support the digest auth.
If i'm right the server must be modified to support digest auth. Am i correct ?

I am seeing two different attempts of attempts of getting digest authentication into websockets - here and in #788 .
While I see some activity in both, I am not actually seeing any progress in either.
What is needed to get this ball rolling? :)


Add option to use swagger documentation as resource type

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Tests pass?
yes

License
MIT

The work still in progress, but I'm open this Pull Request just to let you guys know how it is going.
I'm open a PR to api-doc-parser as well, including this feature.

Can I do something else to get this PR accepted?

Hi @arojunior, thank you very much for working on this, we definitely want to merge this PR but we can't do it if the tests are red.
Can you try to fix them? https://travis-ci.org/api-platform/client-generator/jobs/390537974
For the CS problems, you can just run yarn fix. For the deps error, do I need to tag a new version of API doc parser?

@dunglas ok, thanks. I made the fixes with yarn fix. About the error with  deps, I need your help in this issue

Hey @dunglas, thanks a lot for your help. Now everything is OK and tests are green. Can you merge the PR?

The code looks good to me! Thank you very much for working on this.
Can you add some tests (maybe similar to those ones: https://github.com/api-platform/client-generator/blob/master/package.json#L53-L54) to be prevent regressions?

@dunglas is it ok now?

@dunglas should I do something else?

Is this going to be merged soon? I'd like to try to use this package with my swagger API definitions... Alternatively, anyone have tips on how to yarn/npm install from the branch? The namespacing seems to keep it from building after it's downloaded..

Thanks @arojunior


azure-iot-sdk-c linking fails during make

Host Environment

OS: Ubuntu 20.04.1 LTS (via WSL on Windows 10)
Compiler: gcc 9.3.0

To Reproduce
Steps to reproduce the behavior:
1-./vcpkg install azure-iot-sdk-c
2-add the CMake targets to your CMakeLists.txt
find_package(azure_iot_sdks CONFIG REQUIRED)
target_link_libraries(main PRIVATE serializer iothub_client prov_auth_client hsm_security_client)

3-run cmake
4-run make
Failure logs
make:
Scanning dependencies of target Checkin
[ 33%] Building C object CMakeFiles/Checkin.dir/util.c.o
[ 66%] Building C object CMakeFiles/Checkin.dir/main.c.o
[100%] Linking C executable Checkin
/usr/bin/ld: cannot find -luhttp
/usr/bin/ld: cannot find -lparson
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Checkin.dir/build.make:121: Checkin] Error 1
make[1]: *** [CMakeFiles/Makefile2:320: CMakeFiles/Checkin.dir/all] Error 2
make: *** [Makefile:95: all] Error 2

Additional context
It looks like the vcpkg port includes parson and uhttp dependencies but they don't appear to be linking correctly.

I have the exact same problem. Just did a fresh install but i can't seem to work around the problem. uhttp and parson do seem to be installed. i'm using the same compiler and ubuntu version without WSL
tjeerd@ubuntu:~$ vcpkg list azure-uhttp-c:x64-linux                            2021-09-09       Azure HTTP Library written in C parson:x64-linux                                       2020-09-14#1     a lighweight json library written in C

Hi @TjeerdvanDijk and @rschiefer.  I am on the Azure Iot C SDK team.  We are taking a look into this.  Thanks!

Thank you for your response. I did a new installation this morning since a saw a bunch of changes on the repo. Unfortunately the issue still persists with new versions following versions
tjeerd@ubuntu:/$ sudo vcpkg list
azure-c-shared-utility:x64-linux                   2022-01-21       Azure C SDKs common code
azure-iot-sdk-c:x64-linux                          2022-01-21       A C99 SDK for connecting devices to Microsoft Az...
azure-macro-utils-c:x64-linux                      2022-01-21       A library of macros for the Azure IoT SDK Suite
azure-uamqp-c:x64-linux                            2022-01-21       AMQP library for C
azure-uhttp-c:x64-linux                            2022-01-21       Azure HTTP Library written in C
azure-umqtt-c:x64-linux                            2022-01-21       General purpose library for communication over t...
curl:x64-linux                                     7.81.0           A library for transferring data with URLs
curl[non-http]:x64-linux                                            Enables protocols beyond HTTP/HTTPS/HTTP2
curl[openssl]:x64-linux                                             SSL support (OpenSSL)
curl[ssl]:x64-linux                                                 Default SSL backend
openssl:x64-linux                                  1.1.1m#1         OpenSSL is an open source project that provides ...
parson:x64-linux                                   2020-09-14#1     a lighweight json library written in C
umock-c:x64-linux                                  2022-01-21       A pure C mocking library
vcpkg-cmake-config:x64-linux                       2021-12-28
vcpkg-cmake:x64-linux                              2021-12-20
zlib:x64-linux                                     1.2.11#13        A compression library

I get that error if I don't pass the DCMAKE_TOOLCHAIN_FILE arg on the cmake call.  You have to tell cmake where to find vcpkg.cmake:
-DCMAKE_TOOLCHAIN_FILE=/mnt/d/source/Github/vcpkg/scripts/buildsystems/vcpkg.cmake

I do find azure_iot_sdksConfig.cmake within /buildtrees/azure-iot-sdk-c/x64-linux-release/azure_iot_sdks

@momuno That is the build directory. The package probably lacks an install command for the config.

Hi @rschiefer,
I'm not reproducing the exact error you are seeing, but I am running into a different problem that may be related. I encounter an error during cmake.
Host Environment

Ubuntu 20.04.2 LTS via WSL v.1
Windows 11

To reproduce, use these directions: https://github.com/Azure/azure-iot-sdk-c/blob/de09b35289313665f0d359835c661f8cb2a0fdf1/doc/setting_up_vcpkg.md
Essentially, your steps 1 and 2 are the same for me, but when I run cmake, I receive the error:
CMake Error at CMakeLists.txt:13 (find_package):
  By not providing "Findazure_iot_sdks.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "azure_iot_sdks", but CMake did not find one.

  Could not find a package configuration file provided by "azure_iot_sdks"
  with any of the following names:

    azure_iot_sdksConfig.cmake
    azure_iot_sdks-config.cmake

  Add the installation prefix of "azure_iot_sdks" to CMAKE_PREFIX_PATH or set
  "azure_iot_sdks_DIR" to a directory containing one of the above files.  If
  "azure_iot_sdks" provides a separate development package or SDK, be sure it
  has been installed.

-- Configuring incomplete, errors occurred!

@LilyWangLL , could you please help me look at our CMakeLists.txt for azure-iot-sdk-c and to see if we are not using CMake correctly to export the package? I am still relatively new to both CMake and vcpkg. When I run vcpkg install azure-iot-sdk-c, I do find azure_iot_sdksConfig.cmake within <vcpkg root>/buildtrees/azure-iot-sdk-c/x64-linux-release/azure_iot_sdks.
Thank you.

I can reproduce this issue locally. CMakeLists.txt for azure-iot-sdk-c exports the package correctly as below:

But I found the another error if I add target_link_libraries(main PRIVATE iothub_client) in my CMake Project:
CMake Error in CMakeLists.txt:
  Imported target "iothub_client" includes non-existent path

    "/home/vlilywang/Lily/0117/vcpkg/installed/x64-linux/include/azureiot/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

I can reproduce this issue by the following steps on VCPKG:

./vcpkg install azure-iot-sdk-c

Add folder by command mkdir test22777 and add CMakeLists.txt and main.cpp

CMakeLists.txt
cmake_minimum_required (VERSION 3.9)
project (test001 C CXX)
add_executable(test001 main.cpp)
find_package(azure_iot_sdks CONFIG REQUIRED)
# Note: 6 target(s) were omitted.
target_link_libraries(test001 PRIVATE serializer prov_auth_client hsm_security_client)

main.cpp
#include <iostream>
int main()
{
    std::cout << "Hello World!\n";
}

Run command cmake -DCMAKE_TOOLCHAIN_FILE=/home/vlilywang/Lily/0117/vcpkg/scripts/buildsystems/vcpkg.cmake CMakeLists.txt

result:
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenSSL: /home/vlilywang/Lily/0117/vcpkg/installed/x64-linux/debug/lib/libcrypto.a (found suitable version "1.1.1m", minimum required is "1")
-- Found ZLIB: /home/vlilywang/Lily/0117/vcpkg/installed/x64-linux/lib/libz.a (found suitable version "1.2.11", minimum required is "1")
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- target architecture: x86_64
-- Performing Test CXX_FLAG_CXX11
-- Performing Test CXX_FLAG_CXX11 - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vlilywang/Lily/0117/vcpkg/test22777

Run command make

result:
Scanning dependencies of target test001
[ 50%] Building CXX object CMakeFiles/test001.dir/main.cpp.o
[100%] Linking CXX executable test001
/usr/bin/ld: cannot find -lparson
/usr/bin/ld: cannot find -luhttp
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/test001.dir/build.make:113: test001] Error 1
make[1]: *** [CMakeFiles/Makefile2:852: CMakeFiles/test001.dir/all] Error 2
make: *** [Makefile:114: all] Error 2

@LilyWangLL Did you test the latest version of the port? It removed a patch which had strange changes with regard to parson and uhttp.

Yes, I use the latest version of this port.
vlilywang@vlilywang006:~/Lily/0117/vcpkg$ ./vcpkg list
angle:x64-linux                                    chromium_4472#2  A conformant OpenGL ES implementation for Window...
atk:x64-linux                                      2.36.0#2         GNOME Accessibility Toolkit
azure-c-shared-utility:x64-linux                   2022-01-21       Azure C SDKs common code
azure-iot-sdk-c:x64-linux                          2022-01-21       A C99 SDK for connecting devices to Microsoft Az...

Please test #22869.

Will be happy to try it but need some direction on how to test the PR?

I can test shortly.  Thank you @dg0yt very much for your assistance on this.

@LilyWangLL I no longer encounter my earlier issue.  I had supplied the DCMAKE_TOOLCHAIN_FILE, not sure it was working.  It worked today.  However, I have reproduced the same issue you are seeing:
CMake Error in CMakeLists.txt:
  Imported target "iothub_client" includes non-existent path

    "/mnt/c/temp_release_dir/vcpkg_linux/installed/x64-linux/include/azureiot/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

Testing @dg0yt patch next.

@dg0yt your fix #22869 works.  I have validated both for Linux and Windows builds and run one of our samples against the changes. Thank you!

Imported target "iothub_client" includes non-existent path
"/mnt/c/temp_release_dir/vcpkg_linux/installed/x64-linux/include/azureiot/include"

https://github.com/microsoft/vcpkg/pull/22869/files#diff-150ff602c6adb1512e05ae1023a1a78407987cbbd535069976f79c68ebd3ef31

Imported target "iothub_client" includes non-existent path
"/mnt/c/temp_release_dir/vcpkg_linux/installed/x64-linux/include/azureiot/include"

https://github.com/microsoft/vcpkg/pull/22869/files#diff-150ff602c6adb1512e05ae1023a1a78407987cbbd535069976f79c68ebd3ef31

Thank you for your change in the PR.  I agree this addresses the quoted issue.

@rschiefer the PR #22869 has been merged.  Can you please confirm this fixes your issue?  Thank you.

Yes, it appears to be working now.  Thanks!

@LilyWangLL @dg0yt when you have a chance, I think this issue can be closed. Thanks.

Once I added some references to the iothub sdk and attempted to build/link I got new errors:
[ 25%] Linking C executable Checkin
/usr/bin/ld: /mnt/d/source/Github/vcpkg/installed/x64-linux/debug/lib/libiothub_client_http_transport.a(iothub_client_authorization.c.o): in function IoTHubClient_Auth_CreateFromDeviceAuth': /mnt/d/Source/Github/vcpkg/buildtrees/azure-iot-sdk-c/src/0bd783ac49-53bcbc7bc7.clean/iothub_client/src/iothub_client_authorization.c:180: undefined reference to iothub_device_auth_create'
/usr/bin/ld: /mnt/d/Source/Github/vcpkg/buildtrees/azure-iot-sdk-c/src/0bd783ac49-53bcbc7bc7.clean/iothub_client/src/iothub_client_authorization.c:191: undefined reference to iothub_device_auth_get_type' /usr/bin/ld: /mnt/d/source/Github/vcpkg/installed/x64-linux/debug/lib/libiothub_client_http_transport.a(iothub_client_authorization.c.o): in function IoTHubClient_Auth_Destroy':
/mnt/d/Source/Github/vcpkg/buildtrees/azure-iot-sdk-c/src/0bd783ac49-53bcbc7bc7.clean/iothub_client/src/iothub_client_authorization.c:216: undefined reference to iothub_device_auth_destroy' /usr/bin/ld: /mnt/d/source/Github/vcpkg/installed/x64-linux/debug/lib/libiothub_client_http_transport.a(iothub_client_authorization.c.o): in function IoTHubClient_Auth_Set_xio_Certificate':
/mnt/d/Source/Github/vcpkg/buildtrees/azure-iot-sdk-c/src/0bd783ac49-53bcbc7bc7.clean/iothub_client/src/iothub_client_authorization.c:274: undefined reference to iothub_device_auth_generate_credentials' /usr/bin/ld: /mnt/d/source/Github/vcpkg/installed/x64-linux/debug/lib/libiothub_client_http_transport.a(iothub_client_authorization.c.o): in function IoTHubClient_Auth_Get_x509_info':
/mnt/d/Source/Github/vcpkg/buildtrees/azure-iot-sdk-c/src/0bd783ac49-53bcbc7bc7.clean/iothub_client/src/iothub_client_authorization.c:322: undefined reference to iothub_device_auth_generate_credentials' /usr/bin/ld: /mnt/d/source/Github/vcpkg/installed/x64-linux/debug/lib/libiothub_client_http_transport.a(iothub_client_authorization.c.o): in function IoTHubClient_Auth_Get_SasToken':
/mnt/d/Source/Github/vcpkg/buildtrees/azure-iot-sdk-c/src/0bd783ac49-53bcbc7bc7.clean/iothub_client/src/iothub_client_authorization.c:401: undefined reference to iothub_device_auth_generate_credentials' /usr/bin/ld: /mnt/d/source/Github/vcpkg/installed/x64-linux/debug/lib/libiothub_client_http_transport.a(iothub_client_authorization.c.o): in function IoTHubClient_Auth_Get_TrustBundle':
/mnt/d/Source/Github/vcpkg/buildtrees/azure-iot-sdk-c/src/0bd783ac49-53bcbc7bc7.clean/iothub_client/src/iothub_client_authorization.c:652: undefined reference to `iothub_device_auth_get_trust_bundle'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Checkin.dir/build.make:136: Checkin] Error 1
make[1]: *** [CMakeFiles/Makefile2:320: CMakeFiles/Checkin.dir/all] Error 2
make: *** [Makefile:95: all] Error 2
This looks like an SDK issue but not sure.  I added the following lines to my CMakeLists.txt:
find_package(azure_iot_sdks CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE serializer iothub_client prov_auth_client hsm_security_client)
Am I missing something?

x64-linux uses static linkage. You need to link all required libraries, and in the right order.
Unfortunately there are two obstacles here:

vcpkg doesn't tell which libraries you need. In the best case, there is official documentation upstream, and the port maintainer adds a usage file. But here,  vcpkg just prints a few targets which it happened to find on build (cf. #20190), which leads to

target_link_libraries(${PROJECT_NAME} PRIVATE serializer iothub_client prov_auth_client hsm_security_client)

You might need a different set of libraries.

libiothub_client_http_transport.a seems to depend on another library, but CMake isn't aware of it, so it can't append it to the list of libs to be linked. I guess this a problem with the CMake buildsystem maintained upstream.

This 'undefined reference' issue looks like 'Linux for dummies'! When building apps or tools we need to take into account all the dependencies. This is basic stuff!
We will try to repro this issue locally so it can be closed ASAP.

This 'undefined reference' issue looks like 'Linux for dummies'! When building apps or tools we need to take into account all the dependencies. This is basic stuff! We will try to repro this issue locally so it can be closed ASAP.

John Sheppard, please adhere to the Code of Conduct as define here:
https://opensource.microsoft.com/codeofconduct/

2. libiothub_client_http_transport.a seems to depend on another library, but CMake isn't aware of it, so it can't append it to the list of libs to be linked. I guess this a problem with the CMake buildsystem maintained upstream.

This is from azure_iot_sdksTargets.cmake
# Create imported target iothub_client_http_transport
add_library(iothub_client_http_transport STATIC IMPORTED)

set_target_properties(iothub_client_http_transport PROPERTIES
  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/azureiot"
  INTERFACE_LINK_LIBRARIES "aziotsharedutil"
)

So this target links to aziotsharedutil, but it would probably also need prov_auth_client.
To upstream:
Review the build system. Use Modern CMake style. Get rid of global include_directories. Instead, attach them to the targets which provide the implementation. Then it will become obvious at build time when a dependency on another target is missing. This is essential for exporting transitive usage requirements.
And please add a <prefix::> to the exported cmake config. This improves error reporting in user projects because cmake will know at generation time that an identifier is to name a target, not a library name to be looked up by the linker.

Thanks for Kai Pastor's reply. @rschiefer There is upstream issue about the new error: https://github.com/Azure/azure-iot-sdk-c/issues/598. You can try solution as this issue.

@dg0yt @LiliyWangLL Thank you for your input and assistance on these issues.  We are looking into https://github.com/microsoft/vcpkg/issues/20190 and other needed improvements to our CMake build system.  @ewertons

This issue has been resolved, I am closing this issue for now.


[AutoDiff] State explicit conditional conformances in DifferentiationUnittest.

This fixes verification of emitted swiftinterface files.
error: conditional conformance of type 'Tracked<T>' to protocol 'SignedNumeric' does not imply conformance to inherited protocol 'Numeric'
extension Tracked : Swift.SignedNumeric where T : Swift.SignedNumeric, T == T.Magnitude {
^

Resolves rdar://77869183.

@swift-ci please test

Thank you!


karpenter 0.34.0 failed with AccessDeniedException message

Description
Observed Behavior:
I have questions.
after deploy karpenter. pod got this error message.
{"level":"FATAL","time":"2024-02-27T07:38:13.023Z","logger":"controller","message":"unable to detect the cluster endpoint, failed to resolve cluster endpoint, AccessDeniedException: User: arn:aws:sts::xxx:assumed-role/KarpenterControllerRole-dev-eks/1709019492890466777 is not authorized to perform: eks:DescribeCluster on resource: arn:aws:eks:ap-northeast-2:xxx:cluster/dev-eks","commit":"17d6c05"}
Expected Behavior:
Reproduction Steps (Please include YAML):
Versions:

Chart Version:
Kubernetes Version (kubectl version):
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.9", GitCommit:"a1a87a0a2bcd605820920c6b0e618a8ab7d117d4", GitTreeState:"clean", BuildDate:"2023-04-12T12:16:51Z", GoVersion:"go1.19.8", Compiler:"gc", Platform:"darwin/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"27+", GitVersion:"v1.27.9-eks-5e0fdde", GitCommit:"3f8ed3d5017d988600f597734a4851930eda35a6", GitTreeState:"clean", BuildDate:"2024-01-02T20:34:38Z", GoVersion:"go1.20.12", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.25) and server (1.27) exceeds the supported minor version skew of +/-1

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Can you provide more details about the Karpenter chart version that you are using? As per the error that you have received, clearly the KarpenterControllerRole that was created does not have the eks:DescribeCluster permission. More details can be found in the documentation.


Android action handlers in JS not triggered

I am using 1.6 and have set the foreground to false in the payload. When the app is terminated and a push notification comes through, clicking on the buttons doesn't trigger the JS handlers. Here's what I see in the logcat log
02-08 13:17:49.117  5091  5091 D PushPlugin_BackgroundActionButtonHandler: BackgroundActionButtonHandler = Bundle[mParcelledData.dataSize=912]
02-08 13:17:49.117  5091  5091 D PushPlugin_BackgroundActionButtonHandler: not id = 0
02-08 13:17:49.119  5091  5091 V PushPlugin: sendExtras: caching extras to send at a later time.
02-08 13:17:49.124   204   809 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: none)

I do log the entry point for the triggers in JS and don't see them in the logcat logs.
Is foreground set to false expected to work in the coldstart/in memory scenarios?

@sanmed Yeah, if you kill your app the callback won't be invoked. Related to #158

For what use cases does the foreground of false work? Does it work when the app is in a suspended state?
Any idea when the issue maybe resolved (for firing callbacks when the app is in a terminated state)

@sanmed when the app is in the background and you set foreground to false on your action button the callback does get called. At least I see my callback get invoked when I attach a debugger to the app.
As for how to fire a callback when the app is terminated, no set timetable. Ideally you should not terminate the app but I understand that users do kill apps. So pull requests are welcome :smile:

Thanks Simon. Do you have any updates on this? We'd really like the interactive push notifications to work when the app is in the terminated state :) Any help on this is appreciated. Also, can you provide your contact info as I'd like to run by you a few questions I have? Thanks

@sanmed nope, no updates on this. I haven't had time to work on that particular issue. Not sure if there is much we can do if somone force closes your app.
Re: contact info. I'm @macdonst on twitter, github and the Cordova slack channel so start there.

passing data with action button, because when app is closed and notification is going to come and when we click on action button the callback is call but how to catch data with this click


gRPC tls with Objective-c & Go

Hi!
I'm trying to establish a tls connection with a golang server using the objective-c cocoapod (but bridged to swift).
I'm having a difficult time finding real documentation and what could potentially be my issue and why i keep receiving the error: Handshake failed with fatal error SSL_ERROR_SSL: .
Below is my implementation:
        let url = Bundle.main.url(
            forResource: GTConstantsManager.sharedInstance.string(key: "grpc_cert_path"),
            withExtension: "crt"
        )

        let cert = try! String(contentsOf: url!, encoding: .utf8)

        print("Path for file: \(GTMobi.certPath)")
        print("Host is: \(GTMobi.host)")
        print("Cert is : \(cert)")

        try! GRPCCall.setTLSPEMRootCerts(
            cert,
            forHost: GTMobi.host
        )

          // I've tried both of these functions to estalish a connection
//        try! GRPCCall.setTLSPEMRootCerts(
//            cert,
//            withPrivateKey: nil,
//            withCertChain: nil,
//            forHost: GTMobi.host
//        )

And then from my logs locally:
Path for file: mobile-grpc-staging.gametime.co
Host is: mobile-grpc-staging.gametime.co:8000
Cert is : { removed for security }
E0109 11:16:57.330699000<PHONE_NUMBER>19168 ssl_transport_security.c:970] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E0109 11:16:57.351562000<PHONE_NUMBER>19168 ssl_transport_security.c:970] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
Responded with error: Optional(Error Domain=io.grpc Code=13 "(null)")

I was able to verify my cert is being loaded correctly from disk, and our android app is connecting. Any further help, or steps to diagnose would be great.
Also do i need to set up anything specific on my Go server to work with iOS? Our Go Client and Android client both are working correctly. My cert was generated using https://github.com/square/certstrap
Thanks,
Mike

@muxi The host is checked for each call:
https://github.com/grpc/grpc/blob/32b9bddb27f9ac8aeb57b83ab7d7f7cd5946b564/src/core/lib/security/transport/security_connector.cc#L876
@jiangtaoli2016 FYI.

@jboeuf - I see that makes sense. Thank you! That code is not executed for now, so something else is wrong I think.
@dgquintas - From my debug run, maybe_prepend_client_auth_filter is registered here but the function never got invoked during subchannel create process, so the filter client_auth_filter never get inserted into the call stack of a subchannel.

The way to get to that function is from here, which is always invoked always, as part of the init. However, there are two implementations of it, one if init_secure.cc and another one in init_unsecure.cc. The latter is empty, only the former ends up invoking maybe_prepend_client_auth_filter. So I think it's a compilation problem (linking, actually): the unsecure version is probably being used.

Sorry I just found I was not clear and caused confusion.
The function grpc_register_security_filters() in init_secure.cc was indeed always invoked by grpc_init(). However inside this function, it calls grpc_channel_init_register_stage which only registers maybe_prepend_client_auth_filter (also in init_secure.cc) not invoke it. I guess after this registration maybe_prepend_client_auth_filter is supposed to be invoked during subchannel creation, but some debug shows it never gets invoked.

I see. The logic of that function is quite simple. It saves the function pointer for later use in grpc_channel_init_create_stack. I don't see any way it wouldn't be invoked. Would it be possible to ensure that grpc_channel_init_create_stack is also getting invoked? That should definitely happen here, as part of publish_transport_locked(), which is invoked the moment the connection is established (here). Putting logging messages all around those steps would allow us to see where the chain is broken.

Thanks @dgquintas. After more tests it seems that grpc_channel_init_create_stack calls maybe_prepend_client_auth_filter when I connect to host grpc-test.sandbox.googleapis.com. If I connect to a server with IP address, maybe_prepend_client_auth_filter is not called.

When we connect to a server with IP address, only a channel is created but not a subchannel, while maybe_prepend_client_auth_filter is registered to GRPC_CLIENT_SUBCHANNEL. That looks like why the prepend function never got called.

When we connect to a server with IP address, only a channel is created but not a subchannel, while maybe_prepend_client_auth_filter is registered to GRPC_CLIENT_SUBCHANNEL. That looks like why the prepend function never got called.

That explanation would align with my experience.

How can anything happen if no subchannel (the actual physical connection)
is created?
On 9 February 2018 at 09:20, Muxi Yan<EMAIL_ADDRESS>wrote:

When we connect to a server with IP address, only a channel is created but
not a subchannel, while maybe_prepend_client_auth_filter is registered to
GRPC_CLIENT_SUBCHANNEL. That looks like why the prepend function never
got called.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/13960#issuecomment-364499134, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAHVmRKEUTRK_5pQcIdXSSPnm4Xf2xl2ks5tTH5vgaJpZM4RYmSA
.

Hello, I have the same problem, have you resolved it? Thank you.

@dcow I log in  with grpc successfully for the first time, then I log out and keep the app entering background for about 2 hours, I log in again and receive: Error Domain=io.grpc Code=2 "Stream removed" UserInfo={NSLocalizedDescription=Stream removed, io.grpc.TrailersKey={}}. Do you have any idea? Thank you so much.


tvm-linker: due to the lack of a stable tag

Due to the lack of a stable tag, you must install from the master:
brew install --head tvm-linker
or use brew install tvm-linker locked version on https://github.com/tonsoft/TVM-linker/releases/tag/v0.2.1-head-2001271811 it is alise https://github.com/tonlabs/TVM-linker/commit/11f66ec619656b74d146116ada27b11ceedde658
Links

https://github.com/tonlabs/TVM-linker/issues/219

https://github.com/tonsoft/homebrew-stable/commit/0ef0aa767c84b7051b726ad3ba4b1373356a3a05


[DO NOT MERGE] Spike font size changes (v2)

What
Temporary branch with font-size changes required for testing other apps. DO NOT MERGE.
This is v2 which includes the node_modules update for stylistic.
This branch includes manual changes to files in govuk-frontend under node_modules. The document Font sizes spike: Methodology has more information.
~NOTE that this spike is locked to v4.7.0 of govuk-frontend. This is partly because none of our apps are compatible with v5+ yet, and partly to keep maintenance low while we work on the font-size spikes.~
Updated to govuk-frontend on 5/3/2024 as part of the work to fix font-size problems identified in the review.

No longer needed.


Exec tachikoma update<PHONE_NUMBER>0308

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io

Coverage remained the same at 68.0% when pulling 509d1cce27846d479427c6ce4a9e1d5381043841 on tachikomapocket:tachikoma/update-20150206150308 into 0bd0f863c70a7e9231e164c68ac7bfe021a79e78 on sanemat:master.


Cannot run any brew commands

brew config output
from /usr/local/Homebrew/Library/Homebrew/brew.rb:29:in `<main>'
	8: from /usr/local/Homebrew/Library/Homebrew/brew.rb:29:in `require_relative'
	7: from /usr/local/Homebrew/Library/Homebrew/global.rb:4:in `<top (required)>'
	6: from /usr/local/Homebrew/Library/Homebrew/global.rb:4:in `require_relative'
	5: from /usr/local/Homebrew/Library/Homebrew/startup.rb:10:in `<top (required)>'
	4: from /usr/local/Homebrew/Library/Homebrew/startup.rb:10:in `require_relative'
	3: from /usr/local/Homebrew/Library/Homebrew/startup/sorbet.rb:9:in `<top (required)>'
	2: from /usr/local/Homebrew/Library/Homebrew/startup/sorbet.rb:9:in `require'
	1: from /usr/local/Homebrew/Library/Homebrew/standalone/sorbet.rb:11:in `<top (required)>'
/usr/local/Homebrew/Library/Homebrew/standalone/sorbet.rb:11:in `require': cannot load such file -- sorbet-runtime-stub (LoadError)

brew doctor output
Same error as above.

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
trying to run brew cleanup and update brew. I am on Big Sur. It crashed everything and wiped my entire filesystem had to go through some long steps to get back into the account.
What happened (include all command output)?
Crashes and will not allow any brew usage.

What did you expect to happen?
I expected to run it smoothly. Everything is working fine in Catalina. What I did notice is some strange new path prepended to my actual path.  .cabal, and .ghcup
Step-by-step reproduction instructions (by running brew commands)
brew update
brew cleanup
brew doctor.

error: bad signature 0x00000000
fatal: index file corrupt
Error: Fetching /usr/local/Homebrew failed!
error: bad signature 0x00000000
fatal: index file corrupt
error: bad signature 0x00000000
fatal: index file corrupt
error: bad signature 0x00000000
fatal: index file corrupt
Traceback (most recent call last):
	9: from /usr/local/Homebrew/Library/Homebrew/brew.rb:29:in `<main>'
	8: from /usr/local/Homebrew/Library/Homebrew/brew.rb:29:in `require_relative'
	7: from /usr/local/Homebrew/Library/Homebrew/global.rb:4:in `<top (required)>'
	6: from /usr/local/Homebrew/Library/Homebrew/global.rb:4:in `require_relative'
	5: from /usr/local/Homebrew/Library/Homebrew/startup.rb:10:in `<top (required)>'
	4: from /usr/local/Homebrew/Library/Homebrew/startup.rb:10:in `require_relative'
	3: from /usr/local/Homebrew/Library/Homebrew/startup/sorbet.rb:9:in `<top (required)>'
	2: from /usr/local/Homebrew/Library/Homebrew/startup/sorbet.rb:9:in `require'
	1: from /usr/local/Homebrew/Library/Homebrew/standalone/sorbet.rb:11:in `<top (required)>'
/usr/local/Homebrew/Library/Homebrew/standalone/sorbet.rb:11:in `require': cannot load such file -- sorbet-runtime-stub (LoadError)

I expected to run it smoothly. Everything is working fine in Catalina. What I did notice is some strange new path prepended to my actual path. .cabal, and .ghcup

What path are you seeing?
Can you try brew update-reset and then try brew config again?

This is specific to your machine but what @alebcay has said may help.

brew update-reset
==> Fetching /usr/local/Homebrew...
error: bad signature 0x00000000
fatal: index file corrupt
==> Resetting /usr/local/Homebrew...
error: bad signature 0x00000000
fatal: index file corrupt
From https://github.com/Homebrew/homebrew-core

[new branch]            hard       -> origin/hard
b651ad4ea1..4795d5b754  master     -> origin/master

brew config
Traceback (most recent call last):
9: from /usr/local/Homebrew/Library/Homebrew/brew.rb:29:in <main>' 	8: from /usr/local/Homebrew/Library/Homebrew/brew.rb:29:in require_relative'
7: from /usr/local/Homebrew/Library/Homebrew/global.rb:4:in <top (required)>' 	6: from /usr/local/Homebrew/Library/Homebrew/global.rb:4:in require_relative'
5: from /usr/local/Homebrew/Library/Homebrew/startup.rb:10:in <top (required)>' 	4: from /usr/local/Homebrew/Library/Homebrew/startup.rb:10:in require_relative'
3: from /usr/local/Homebrew/Library/Homebrew/startup/sorbet.rb:9:in <top (required)>' 	2: from /usr/local/Homebrew/Library/Homebrew/startup/sorbet.rb:9:in require'
1: from /usr/local/Homebrew/Library/Homebrew/standalone/sorbet.rb:11:in <top (required)>' /usr/local/Homebrew/Library/Homebrew/standalone/sorbet.rb:11:in require': cannot load such file -- sorbet-runtime-stub (LoadError)

Run rm -f /usr/local/Homebrew/.git/index && git -C /usr/local/Homebrew reset. You may potentially need to do brew update-reset again afterwards too.

Thanks! Excellent! that actually worked! Now I got a different warning of outdated command line tools. Are there new ones for Big Sur?

Yes. brew doctor will show you update instructions if you need it.


Use JavaPoet

http://corner.squareup.com/2015/01/javapoet.html is released!

Codign Java with Strings ?

The main idea is getting the generator closer to the generated code.
JavaWriter code was totally different from what it's supposed to generate.
JavaPoet gets closer to the symmetry you'd get with a template.

Yup I get that, I just do not get the real Value ver using a Template.  Whyt not just use mustache at that point?

Well, you've got some checks performed for you with JavaPoet versus none for templates.
Plus some integration with Filer API etc etc

:+1:


Split CI/non-CI builds without overriding Python package set with non-modules

This fixes issues with current nixpkgs master where all members of the Python package set are now required to be Python modules
Let me know if this is a reasonable approach or not! I just wanted to get something that worked to demonstrate the root problem
Related: #45

Thanks for the PR. However, the reason why I override the mypy and black packages is not because the non-CI builds shouldn't run them, but because I don't want their overhead to be included in non-CI build (specially mypy used to be very expensive to build because mypyc). This could easily take dozens of minutes to build even in modern machines.
Nowadays I disable mypyc so the mypyc rebuilds is less expensive, however ideally we should still avoid including them in non-CI builds since they're useless.

Thanks for the PR. However, the reason why I override the mypy and black packages is not because the non-CI builds shouldn't run them, but because I don't want their overhead to be included in non-CI build (specially mypy used to be very expensive to build because mypyc). This could easily take dozens of minutes to build even in modern machines.

Okay, I did figure this was probably your reasoning for doing it like that. I'm not sure how you want to approach this then, since non-python-modules can no longer be in the python.pkgs set
Do you have ideas?

Do you have ideas?

To fix it right now I will probably just remove the overrides. I think I will eventually remove poetry2nix from this project. It seems a interesting project for more complex Python applications, however it doesn't make much sense for this project, and the maintaining overhead is high.

Now that we are building mypy without mypyc, the build is actually reasonable fast. This seems the way to go for now.
Fixed in bdb31bb8f312ccc62f8c6708dfbea0dbf3e65755.


Fix compatibility with newer PF_RING

This fixes the 10 Gig support to compile against PF_RING 6.2. It may also work
with newer versions. Specifically, it updates for the new type of the
pf_ring_distribution_func callback, and accounts for pk_ring_zc_pkt_buf no
longer having the data field.
Fixes #350

LGTM


use unittest.mock.AsyncMock

added in Python 3.8: https://docs.python.org/3/library/unittest.mock.html#unittest.mock.AsyncMock

Thank you.


Acl Deny Problem

Hi,
I have created mqtt_acl table as documented. I inserted a row for topic '/World'  using following query;
INSERT INTO mqtt_acl (id, allow, ipaddr, username, clientid, access, topic)
VALUES  (1,1,NULL,'416',NULL,2,'/World');
And then I subscribed and published to this topic. No message received.  Secondly I changed username with NULL and clientid with value, not a chance.
I couldn't work with this plugin properly. What am I missing?
Any advice or guidance would be appreciated. Thanks for your help.
LOGS:
12:56:34.981 <0.356.0> [error] Client(C_1455731414614@): Cannot SUBSCRIBE [{<<"/World">>,0}] for ACL Deny
12:56:36.915 <0.356.0> [error] Client(C_1455731414614@:53015): Cannot publish to /World for ACL Deny

Hi @hsncr, the enum of 'access' field:
1: subscribe
2: publish
3. pubsub
Please try:
INSERT INTO mqtt_acl (id, allow, ipaddr, username, clientid, access, topic)
VALUES (1,1,NULL,'416',NULL,3,'/World');

Super, thanks (: Great work with the broker btw.
Have a nice day.


Import issue

(env) charesti@colles-12904:~/Documents/GitHub/pyrsa$ ipython
Python 3.6.8 (default, Jan 14 2019, 11:02:34)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.8.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import pyrsa.rdm as rsr
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-1-54040479812f> in <module>
----> 1 import pyrsa.rdm as rsr

~/Documents/GitHub/pyrsa/pyrsa/__init__.py in <module>
      4 """
      5
----> 6 import pyrsa.data as data
      7 import pyrsa.inference as inference
      8 import pyrsa.model as model

~/Documents/GitHub/pyrsa/pyrsa/data/__init__.py in <module>
----> 1 from pyrsa.data.dataset import Dataset

~/Documents/GitHub/pyrsa/pyrsa/data/dataset.py in <module>
      8 import numpy as np
      9 import pyrsa as rsa
---> 10 from pyrsa.util.data_utils import check_descriptors_dimension
     11 from pyrsa.util.data_utils import extract_dict
     12 from pyrsa.util.data_utils import get_unique_unsorted

~/Documents/GitHub/pyrsa/pyrsa/util/__init__.py in <module>
----> 1 import pyrsa.util.indicator as indicator

AttributeError: module 'pyrsa' has no attribute 'util'

I am getting this import error since one of the the latest merge.

for me these imports all work completely fine on the master branch:
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pyrsa.rdm as rsr
In [2]: from pyrsa.util.data_utils import check_descriptors_dimension
In [3]: import pyrsa.util.indicator as indicator
In [4]: import pyrsa.util
In [5]:
is there anything special in your system? Or do you have any idea what is going wrong?

no, my system is ubuntu 18.04, working in a clean env.
i'll try and  create a new env and see if it fixes it. weird.
but we're messing with a lot of imports in ou r__init__ files which i've never had to do in the past.

hmm strange. i just created a brand new env, and still have import issues. the only thing i can see is i'm using 3.6.8 and you are using 3.7.3

hm indeed I just installed 3.6 in an environment and could now reproduce the problem:
iPython 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 13:42:17)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.9.0 -- An enhanced Interactive Python. Type '?' for help.
In [2]: import pyrsa.data
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-2-eed78a505aee> in <module>
----> 1 import pyrsa.data

~/anaconda3/envs/testRSA/lib/python3.6/site-packages/pyrsa-3.0.0-py3.6.egg/pyrsa/data/__init__.py in <module>
----> 1 from pyrsa.data.dataset import Dataset
      2 from pyrsa.data.computations import average_dataset
      3 from pyrsa.data.computations import average_dataset_by

~/anaconda3/envs/testRSA/lib/python3.6/site-packages/pyrsa-3.0.0-py3.6.egg/pyrsa/data/dataset.py in <module>
      8 import numpy as np
      9 import pyrsa as rsa
---> 10 from pyrsa.util.data_utils import check_descriptors_dimension
     11 from pyrsa.util.data_utils import extract_dict
     12 from pyrsa.util.data_utils import get_unique_unsorted

~/anaconda3/envs/testRSA/lib/python3.6/site-packages/pyrsa-3.0.0-py3.6.egg/pyrsa/util/__init__.py in <module>
----> 1 import pyrsa.util.indicator as indicator

AttributeError: module 'pyrsa' has no attribute 'util'

I found a way to fix this by using relative imports in the subfolders, which seems to fix this. I will make a pull-request showing that.
I do not really understand why though. Please have a look when I put it up...

yes your last commit on fix_import fixed it.

great! Then please approve/review that pull request :)

Hey, I am still getting various import issues, so I will reopen this. I think we need to think about how we our imports.

Hmmmm, I did not manage to recreate this problem. Do you have any idea why this is happening? For me the exact code you posted runs fine in ipython and shows me a random RDM.

ok a fresh
python3 -m venv py39
source ~/py38/bin/activate
pip install rsa3 ipython

seems to have fixed this.
I don't know what the problem was with the previous venv where I was getting this error because it was basically the same python version, so must have to do with some broken dependencies or something on my side. i'll close this now.


derive vector space operations for multivector

Change-Id: Icb8cffb988d8dae69a5061d96851d944e1cd02da

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 53.75%. Comparing base (2393e35) to head (216fa30).

Additional details and impacted files
@@                            Coverage Diff                             @@
##           I65d606fbed72dd44e1550b0b2b52a6877fa22f81      #35   +/-   ##
==========================================================================
  Coverage                                      53.75%   53.75%
==========================================================================
  Files                                             17       17
  Lines                                            160      160
  Branches                                           2        2
==========================================================================
  Hits                                              86       86
  Misses                                            74       74

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Parser: Fix method call capturing spans incorrectly

Closes #107
Prior to this patch, there was a one-off error for the end span, as well as inconsistent span capturing for method calls compared to function calls. This patch fixes this, making it more consistent.
By the way, huge fan of SerenityOS and @jntrnr's NuShell project. I hope my contribution is one of many to this project -  been on the lookout for a project like this for a while :)

thanks!


TCP connection leak in parquet dump

Hi,
When i'm trying to dump a parquet file, i find the TCP connection leak in org.apache.parquet.tools.command.DumpCommand#dump :

...
ParquetFileReader freader = null;
if (showmd) {
    try {
        long group = 0;
        for (BlockMetaData block : blocks) {
            ...
            freader = new ParquetFileReader(
                conf, meta.getFileMetaData(), inpath, rblocks, columns);
            ...
            out.flushColumns();
        }
    } finally {
        if (freader != null) {
            freader.close();
        }
    }
}

Reporter: xiepengjie
Assignee: xiepengjie
Note: This issue was originally created as PARQUET-1954. Please see the migration documentation for further details.

Gabor Szadovszky / @gszadovszky:
Good catch, [~xiepengjie]. Would you like to create PR to fix this?


Gradle throws an exception when launching/generating the app

Steps to reproduce

flutter create bug
flutter run for android

Expected results
Launch the app or build it for Android.
Actual results
Exception when launching the app.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // TRY THIS: Try running your application with "flutter run". You'll see
        // the application has a purple toolbar. Then, without quitting the app,
        // try changing the seedColor in the colorScheme below to Colors.green
        // and then invoke "hot reload" (save your changes or press the "hot
        // reload" button in a Flutter-supported IDE, or press "r" if you used
        // the command line to start the app).
        //
        // Notice that the counter didn't reset back to zero; the application
        // state is not lost during the reload. To reset the state, use hot
        // restart instead.
        //
        // This works for code too, not just values: Most code changes can be
        // tested with just a hot reload.
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // TRY THIS: Try changing the color here to a specific color (to
        // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
        // change color while the other colors stay the same.
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          //
          // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
          // action in the IDE, or press "p" in the console), to see the
          // wireframe for each widget.
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[  +16 ms] executing: uname -m
[   +7 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +74 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +45 ms] executing: /opt/android-sdk/platform-tools/adb devices -l
[  +37 ms] List of devices attached
           emulator-5554          device product:sdk_gphone64_x86_64 model:sdk_gphone64_x86_64 device:emu64xa
           transport_id:1
[   +9 ms] /opt/android-sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +27 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +108 ms] Skipping pub get: version match.
[ +112 ms] Generating
/home/totalboy/projects/flutter/flweb/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +50 ms] ro.hardware = ranchu
[  +87 ms] No packages with native assets. Skipping native assets compilation.
[   +2 ms] Initializing file store
[   +6 ms] Skipping target: gen_localizations
[   +4 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs
have updated contents: /home/totalboy/projects/flutter/flweb/.dart_tool/package_config_subset}
[  +35 ms] gen_dart_plugin_registrant: Complete
[        ] Skipping target: _composite
[   +1 ms] complete
[   +6 ms] Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...
[   +4 ms] /home/totalboy/projects/.flutter-sdk/flutter/bin/cache/dart-sdk/bin/dartaotruntime --disable-dart-dev
/home/totalboy/projects/.flutter-sdk/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server_aot.dart.snapshot
--sdk-root /home/totalboy/projects/.flutter-sdk/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/
--incremental --target=flutter --experimental-emit-debug-metadata --output-dill
/tmp/flutter_tools.HEYDEJ/flutter_tool.AEVMWH/app.dill --packages
/home/totalboy/projects/flutter/flweb/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build/cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy
[   +9 ms] executing: /opt/android-sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[   +9 ms] <- compile package:flweb/main.dart
[  +68 ms] --------- beginning of main
           10-15 21:48:44.784 I/BugleRcsEngine( 4257): No RCS Configuration was found in Bugle for simID:
           redacted-pii:sim_id[chars:20,last3:897] [CONTEXT log_prefix="ProvisioningEngineDataRetriever"
           thread_id=82 ]
[  +12 ms] executing: /opt/android-sdk/platform-tools/adb version
[   +9 ms] Android Debug Bridge version 1.0.41
           Version 35.0.2-12147458
           Installed as /opt/android-sdk/platform-tools/adb
           Running on Linux 6.11.3-arch1-1 (x86_64)
[   +1 ms] executing: /opt/android-sdk/platform-tools/adb start-server
[   +8 ms] Building APK
[   +9 ms] executing: /opt/android-studio/jbr/bin/java -version
[ +101 ms] Exit code 0 from: /opt/android-studio/jbr/bin/java -version
[        ] openjdk version "21.0.3" 2024-04-16
           OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
           OpenJDK 64-Bit Server VM (build 21.0.3+-12282718-b509.11, mixed mode)
[   +9 ms] executing: /opt/android-studio/jbr/bin/java --version
[  +88 ms] Exit code 0 from: /opt/android-studio/jbr/bin/java --version
[        ] openjdk 21.0.3 2024-04-16
           OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
           OpenJDK 64-Bit Server VM (build 21.0.3+-12282718-b509.11, mixed mode)
[   +2 ms] Version of Java is different than impacted version, no migration attempted.
[  +32 ms] Using gradle from /home/totalboy/projects/flutter/flweb/android/gradlew.
[   +8 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] executing: [/home/totalboy/projects/flutter/flweb/android/]
/home/totalboy/projects/flutter/flweb/android/gradlew --full-stacktrace --info -Pverbose=true
-Ptarget-platform=android-x64 -Ptarget=/home/totalboy/projects/flutter/flweb/lib/main.dart
-Pbase-application-name=android.app.Application -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +569 ms] Initialized native services in: /home/totalboy/.gradle/native
[        ] Initialized jansi services in: /home/totalboy/.gradle/native
[ +116 ms] Received JVM installation metadata from '/opt/android-studio/jbr': {JAVA_HOME=/opt/android-studio/jbr,
JAVA_VERSION=21.0.3, JAVA_VENDOR=JetBrains s.r.o., RUNTIME_NAME=OpenJDK Runtime Environment,
RUNTIME_VERSION=21.0.3+-12282718-b509.11, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=21.0.3+-12282718-b509.11,
VM_VENDOR=JetBrains s.r.o., OS_ARCH=amd64}
[ +199 ms] Found daemon DaemonInfo{pid=93440, address=[657d3b46-4bff-4685-a6d8-99e531364763 port:44539,
addresses:[/<IP_ADDRESS>]], state=Idle, lastBusy=1726249590103,
context=DefaultDaemonContext[uid=b0ac8b92-0ae7-41c5-a336-10f02aa8f210,javaHome=/usr/lib/jvm/java-11-openjdk,javaVers
ion=11,javaVendor=Arch
Linux,daemonRegistryDir=/home/totalboy/.gradle/daemon,pid=93440,idleTimeout=10800000,priority=NORMAL,applyInstrument
ationAgent=true,nativeServicesMode=ENABLED,daemonOpts=--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.b
ase/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=
ALL-UNNAMED,--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED,--add-exports=jdk.compiler/com.sun.tools.
javac.util=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED
,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-XX:MaxMetaspaceSize=384m,-XX:+HeapDumpOnOutOfMemoryE
rror,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=ru,-Duser.variant]} however its
context does not match the desired criteria.
[   +1 ms] JVM is incompatible.
[        ] Wanted: DaemonRequestContext{jvmCriteria=/opt/android-studio/jbr (no JDK specified, using current Java
home), daemonOpts=[-XX:MaxMetaspaceSize=2G, -XX:+HeapDumpOnOutOfMemoryError,
--add-opens=java.base/java.util=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED,
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED,
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED, --add-opens=java.base/java.nio.charset=ALL-UNNAMED,
--add-opens=java.base/java.net=ALL-UNNAMED, --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED, -Xmx4G,
-Dfile.encoding=UTF-8, -Duser.country=RU, -Duser.language=ru, -Duser.variant], applyInstrumentationAgent=true,
nativeServicesMode=ENABLED, priority=NORMAL}
[   +1 ms] Actual:
DefaultDaemonContext[uid=b0ac8b92-0ae7-41c5-a336-10f02aa8f210,javaHome=/usr/lib/jvm/java-11-openjdk,javaVersion=11,j
avaVendor=Arch
Linux,daemonRegistryDir=/home/totalboy/.gradle/daemon,pid=93440,idleTimeout=10800000,priority=NORMAL,applyInstrument
ationAgent=true,nativeServicesMode=ENABLED,daemonOpts=--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.b
ase/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=
ALL-UNNAMED,--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED,--add-exports=jdk.compiler/com.sun.tools.
javac.util=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED
,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-XX:MaxMetaspaceSize=384m,-XX:+HeapDumpOnOutOfMemoryE
rror,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=ru,-Duser.variant]
[   +1 ms]   Looking for a different daemon...
[        ] The client will now receive all logging from the daemon (pid: 22145). The daemon log file:
/home/totalboy/.gradle/daemon/8.10.1/daemon-22145.out.log
[        ] Starting 8th build in daemon [uptime: 47 mins 10.741 secs, performance: 98%, GC rate: 0.00/s, heap usage:
0% of 4 GiB, non-heap usage: 2% of 2 GiB]
[        ] Using 16 worker leases.
[        ] Now considering [/home/totalboy/projects/flutter/flweb/android] as hierarchies to watch
[        ] Watching the file system is configured to be enabled if available
[        ] File system watching is active
[        ] Starting Build
[        ] Now considering [/home/totalboy/projects/.flutter-sdk/flutter/packages/flutter_tools/gradle,
/home/totalboy/projects/flutter/flweb/android] as hierarchies to watch
[  +55 ms] Running Gradle task 'assembleDebug'... (completed in 945ms)
[+7490 ms] Error: Gradle task assembleDebug failed with exit code 1
[   +1 ms] "flutter run" took 9 390ms.
[  +34 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:874:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1408:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:93:3)
           <asynchronous suspension>

[ +134 ms] ensureAnalyticsSent: 131ms
[        ] Running 2 shutdown hooks
[   +6 ms] Shutdown hooks complete
[   +8 ms] exiting with code 1

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.3, on Arch Linux 6.11.3-arch1-1, locale
    ru_RU.UTF-8)
    • Flutter version 3.24.3 on channel stable at
      /home/totalboy/projects/.flutter-sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (5 недель назад), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /opt/android-sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = /opt/android-sdk
    • ANDROID_SDK_ROOT = /opt/android-sdk
    • Java binary at: /opt/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 18.1.8
    • cmake version 3.30.5
    • ninja version 1.12.1
    • pkg-config version 2.1.1

[✓] Android Studio (version 2024.2)
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[✓] Connected device (3 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 15
      (API 35) (emulator)
    • Linux (desktop)              • linux         • linux-x64      • Arch Linux
      6.11.3-arch1-1
    • Chrome (web)                 • chrome        • web-javascript • Google
      Chrome 129.0.6668.100

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[   +1 ms] JVM is incompatible.

This could be an incompatible issue with Gradle and JDK versions. When a Flutter project is created, you might see Gradle 8.3 (distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip). Can you try a higher version to see if it works? (maybe distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip)

[   +1 ms] JVM is incompatible.

This could be an incompatible issue with Gradle and JDK versions. When a Flutter project is created, you might see Gradle 8.3 (distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip). Can you try a higher version to see if it works? (maybe distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip)

I tried to do it with 8.3, 8.5, 8.9 and 8.10 versions of Gradle and there's the same error

Can you please compress the sample project and share it here? I can try it on my end.


fix: remove disabling of multipart combine small parts

This reverts https://github.com/distribution/distribution/pull/3556
This feature is currently broken and requires more fundamental changes in the S3 driver. Until then it's better to remove it.
See https://github.com/distribution/distribution/pull/3940 for more detail about why we're doing this.

PTAL @Jamstah @thaJeztah


Plasma 6 KDE Connect Incompatible Version

Describe the bug
Could not load plugin from /nix/store/6jmvrs99zl30yz4y6vfrbkl3p5wn41vp-kdeconnect-kde-23.08.5/lib/qt-5.15.12/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kdeconnect.so: The plugin '/nix/store/6jmvrs99zl30yz4y6vfrbkl3p5wn41vp-kdeconnect-kde-23.08.5/lib/qt-5.15.12/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kdeconnect.so' uses incompatible Qt library. (5.15.0) [release]
Steps To Reproduce
Steps to reproduce the behavior:
Install plasma 6 and enable kde connect.
Expected behavior
The applet doesn't show up and the settings show this error:

Additional context
Plasma recently updated to version 6 and I am in the unstable branch.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.6, NixOS, 24.05 (Uakari), 24.05.20240229.1536926`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(scientiac): `""`
 - channels(root): `"nixos, nixpkgs"`
 - nixpkgs: `/nix/store/lwyjz70qh12nq6cb7fixl85vryzxqm3c-source`

Add a :+1: reaction to issues you find important.

Did you remember to replace libsForQt5.kdeconnect-kde with kdePackages.kdeconnect-kde in your config? I'm 99.9% sure that would be the issue, as kdeconnect works for me with the latter option set.

Did you remember to replace libsForQt5.kdeconnect-kde with kdePackages.kdeconnect-kde in your config? I'm 99.9% sure that would be the issue, as kdeconnect works for me with the latter option set.

I made an earlier (now deleted) comment suggesting something similar, but upon further investigation, shouldn't this set the correct package automatically? At least, assuming @scientiac enabled Plasma 6 via services.xserver.desktopManager.plasma6.enable = true.

This fixed the issue, but there should have been a notice or warning or an error like “libsForQt5” is replaced by “kdePackages” like nix always does… Should I close the issue?

Ideally some kind of message / warning could be given, but probably not straight forward to implement. I think issue can be closed.

fwiw I went from gnome and X to plasma6 and wayland off the wiki and have the same issue.

This fixed the issue, but there should have been a notice or warning or an error like “libsForQt5” is replaced by “kdePackages” like nix always does… Should I close the issue?

Ideally some kind of message / warning could be given, but probably not straight forward to implement. I think issue can be closed.

FWIW I had (for whatever reason, don't remember) kdeconnect listened under system packages in my config that was causing this to occur.  Removing that package got rid of the error


⚠ Turnos 24x7 has degraded performance

In 6b3a803, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1339 ms

Resolved: Turnos 24x7 performance has improved in 9fe7999.


Allow "resolve topic" permissions to be managed independently

At present, permissions to resolve a topic are managed together with topic editing permissions. However, resolving topics is quite different from editing topic names from a user perspective, and permissions for doing so should be managed independently.
Under Organization settings > Organization permissions > Moving messages, we should add:

A new checkbox setting: Allow resolving topics
A dropdown setting to control who can resolve topics, with the same options as the topic editing options menu. "Admins, moderators and members" should be the default. The menu should be disabled if the checkbox above is off.

There should not be an option to time-limit topic resolution.
We should discuss how to handle streams with limited posting permissions (#21281); I'm not sure what the right solution is.
Related issues:

#21739
#21281

Follow-up refinement:

#19955

@sahil839 are there any sequencing considerations for the ordering between this and https://github.com/zulip/zulip/issues/21739>

I think it does not matter much, but will be easy for the person to follow the work done for topic editing and then do it taking it as a reference. But other than it, it may be fine apart from some merge conflicts.

This change will also fix the bug noted in #19881.

@zulipbot claim

Hey @roanster007, I noticed there hasn't been much activity on this issue over the past few months. Would it be alright if I took it up?


Feature allow for nested routing

Description
In order for us to hiding the CMS routing, minor changes needed to be made to helper methods and instance variables.
Fae appears to have been designed to use the current path to derive several other values. Changing and using the existing #fae_scope instead of #fae_path let's us use the namespacing of the last part of the url.
Building the @index_path from the #fae_path, instead of the params[:controller] keeps the routing consistent throughout the CMS.

let's make sure that we do some solid testing of all the CMS content in www and solsim staging before deploying live.


Test SPARQL queries

Greetings, y'all.  Since I left the hackathon, I've been busy trying to finish setting up the source CSV files necessary to generate the entire graph for TDWG standards.  I have completed a first pass at
https://github.com/baskaufs/tdwg-standards
I'm not quite ready to move all the CSVs over into the actual TDWG github site until I do some more quality control and testing.
However, I have generated RDF triples for the whole mess and loaded them into the Vanderbilt triplestore so that anyone can run queries on the graph.  You can take a test drive by going to https://sparql.vanderbilt.edu and then entering a query into the box.  I've created a number of cut-and-paste examples at https://gist.github.com/baskaufs/c0200a8382f4599c03fd27b2f0ee7a69.
One should be aware that standards other than DwC are stubs and there are also a number of things that are conceptually wrong, like for example conflating abstract documents with particular distributions of them.  Nevertheless, the graph exists and can be improved over time.
There are many issues that have arisen in my brain while going through this process .  A major one is how to automate the process of generating new versions above the level of term versions (i.e. term lists, vocabularies, and standards).  But I'll raise them as individual issues in the tracker.
@tucotuco are you talking about the hackathon results at the conference at some point in the future?  I thought somebody said you were today, but I couldn't see it on the schedule.  If you do and want to mention that one outcome of the hackathon is a preliminary Linked Data graph consistent with the Standards Documentation Spec, you can refer people to the Gist above, noting that they can test it out themselves at https://sparql.vanderbilt.edu
I'll close this after I've run enough SPARQL queries to convince myself that the basic links between the entities in the graph have been generated properly.  At that point, I'd like to get the source CSV files moved to the TDWG GitHub repo.

There are both dcterms:replaces and dcterms:isReplacedBy triples for both taxonRank and scientificNameRank
https://sparql.vanderbilt.edu/#explore:kb:<http://rs.tdwg.org/dwc/terms/taxonRank>
https://sparql.vanderbilt.edu/#explore:kb:<http://rs.tdwg.org/dwc/terms/scientificNameRank>

Try running this query:
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix dcterms: <http://purl.org/dc/terms/>
prefix dwc: <http://rs.tdwg.org/dwc/terms/>

SELECT DISTINCT ?olderVersion ?issued ?definition
FROM <http://rs.tdwg.org/>
WHERE {
  <http://rs.tdwg.org/dwc/terms/taxonRank> dcterms:hasVersion ?version.
  ?version dcterms:replaces* ?olderVersion.
  ?olderVersion dcterms:issued ?issued.
  ?olderVersion rdfs:comment ?definition.
}
ORDER BY DESC(?issued)

What you will see is that the term version http://rs.tdwg.org/dwc/terms/version/taxonRank-2009-09-21 replaces http://rs.tdwg.org/dwc/terms/version/scientificNameRank-2009-07-06, which replaces http://rs.tdwg.org/dwc/terms/version/taxonRank-2009-04-24.  So it appears that there was a back-and-forth between the two terms back in the pre-standard days.  @tucotuco might know the story.  But as far as I know, it's not an error in the data.

Well, the problem is that unrestricted queries of the entire dataset reveal all kinds of fossilized information from pre-standard DwC and phases of DwC during the standards development process.  There was some discussion about whether that history should be discarded.  However, we have that history and it's part of the record of the development of DwC.  It would be simple enough to delete the line in the table that records the fact that at one time scientificNameRank replaced taxonRank and the problem would go away.
But rather than erasing some of the history, it would probably be better to just construct the queries in such a way that they answer the questions we want to know.  In this case, one could add the additional triple patterns:
?olderVersion dcterms:isPartOf* ?standardVersion.
http://www.tdwg.org/standards/450 dcterms:hasVersion ?standardVersion.
which require possible older versions of the term to be "partOf" descendants of some version of the actual ratified DwC standard.  That eliminates the pre-standard versions and scientificNameRank doesn't show up in the query results at all because it never actually made it into the standard.  In contrast, running the query
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix dcterms: <http://purl.org/dc/terms/>
prefix dwc: <http://rs.tdwg.org/dwc/terms/>

SELECT DISTINCT ?olderVersion ?issued ?definition
FROM <http://rs.tdwg.org/>
WHERE {
  <http://rs.tdwg.org/dwc/terms/organismID> dcterms:hasVersion ?version.
  ?version dcterms:replaces* ?olderVersion.
  ?olderVersion dcterms:issued ?issued.
  ?olderVersion rdfs:comment ?definition.
  ?olderVersion dcterms:isPartOf* ?standardVersion.
  <http://www.tdwg.org/standards/450> dcterms:hasVersion ?standardVersion.
}

for dwc:organismID shows that it was a replacement for dwc:individualID, both terms of which were actually part of the final standard.
This is really a first pass at getting this right and it may be that in order to satisfy use cases that people have for the model, we have to make adjustments like deleting confusing links or changing details of the modeling.  It will also be important in the future to give people templates for doing things like restricting queries to particular subsets of what is there.
Thanks for the comments and suggestions - it led to me finding and correcting one major error as I was investigating.

OK, I've run some SAPRQL queries and fixed some errors that I found.  Undoubtedly there will be more.  I think the thing to do about @ansell 's issue is to put it in an issue tracker to consider along with other things that aren't yet clear (such as the wisdom of the term hijacking that we are currently doing with Dublin Core terms we borrow).
After the @tdwg/tag-team meeting this morning, it became more clear to me that the source CSV files that I've been putting together to generate the RDF triples DON'T actually belong in the DwC repo as we were previously planning. That's because they are going to also inclued files to generate Audubon Core metadata and files to generate metadata for all of the other standards when somebody gets around to putting it together.  In other words, it's a thing at a TDWG-wide level, not on the DwC level.  So I think it probably should just be in a separate public TDWG repo rather than one within the DwC repo.  That also means that it can be modified without following the pull request protocol that you've already established for things in the DwC repo.  One would still want to generate the source files for the DwC metadata from the master term_versions.csv using @stijnvanhoey 's script, but the files generated by the script would go into the other repo.
So, @peterdesmet, can you use a fork of https://github.com/baskaufs/tdwg-standards to start a new repo on the tdwg github site?  You can give me write access along with anybody else you think has a vested interest in writing to it.  I'm not sure what the name of it should be, but it's going to eventually be the source of every resource identified by a URI in the http://rs.tdwg.org/ namespace, so maybe rs_tdwg_org or rs-tdwg-org would be good.


Align FAR CRDs to NHC

FAR's CRDs didn't follow the motivation/desgin of the other remediators (e.g. MDRTemplate Spec) - remediator should have template field under Spec. This PR should align FAR CRDs to NHC/MHC expectations

Move the Spec fields from FARTemplate to FAR and let the FARTemplate to only have a template field under spec (of FenceAgentsRemediationSpec type).
Add Cluster Role for Role aggregation. Since that will give NHC/MHC access to the template and remediation CRs with a special label.
Update Reconcile according to this change.

Github CI has failed and https://github.com/medik8s/fence-agents-remediation/pull/17 should resolve it.

I would have felt a lot better if we had some unit tests to verify this kind of a change, but I guess in this case it's an egg and chicken scenario :slightly_smiling_face:
/lgtm


[mix-reality] credscan errors

Aggregate-report result: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2666084&view=logs&j=3b141548-98d7-5be1-7ef8-eeb08ca02972&t=7989ab4d-bdd3-5239-37e1-e3681bbc7025 (MS INTERNAL)
Linkified result:
#[error]9. Credential Scanner Error CSCAN-GENERAL0130 - File: https://github.com/Azure/azure-sdk-for-js/tree/6f4755cf7480d80968b91eb07405f8776d0cbe32/sdk/mixedreality/mixed-reality-authentication/recordings/browsers/accountkey_mixedrealitystsclient_functional_tests/recording_get_token.json#L36. Column 24.
A potential secret was detected in 'recording_get_token.json':(CSCAN-GENERAL0130 Client Secret / Api Key) Validate file contains secrets, remove, roll credential, and use approved store. For additional information on secret remediation see https://aka.ms/credscan.
#[error]10. Credential Scanner Error CSCAN-GENERAL0130 - File: https://github.com/Azure/azure-sdk-for-js/tree/6f4755cf7480d80968b91eb07405f8776d0cbe32/sdk/mixedreality/mixed-reality-authentication/recordings/node/accountkey_mixedrealitystsclient_functional_tests/recording_get_token.json#L27. Column 24.
A potential secret was detected in 'recording_get_token.json':(CSCAN-GENERAL0130 Client Secret / Api Key) Validate file contains secrets, remove, roll credential, and use approved store. For additional information on secret remediation see https://aka.ms/credscan.
Maybe one of the suppressed known place holders from https://github.com/Azure/azure-sdk-for-js/blob/main/eng/CredScanSuppression.json#L5 could work.

The runs are green recently.


feat(build-fix): Update travis build

:tada: This PR is included in version 0.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Windows folder Sort has no Ascending vs Descending behavior when Sorting by Date Taken

Sorting by Date Created reverses the file order when selecting Ascending vs Descending but not Date Taken.

Fixed with microplate well naming


Cannot attach dev tool to physical device

Hello, everyone. I have a problem with attaching of dev tool when I run a test app to physical device.
What I did:

I created an app using "flutter-tizen create test_app";
I launched TV 6.0 emulator;
I run "flutter-tizen run lib/main.dart".

I see that url to dev tool is available:

Then I stoped the emulator and connected to a physical device and made "flutter-tizen run lib/main.dart" again:

There are no any other output in terminal. The application has started but url to dev tool is not available.
So the question is: Is it a known issue?
May be there is a workaround/fix for that?
Thanks.

Okay, now I see the Web SDK uses the Web Inspector (which is based on Chrome Developer Tools) as a debugging tool and all logs are available in the "Console" tab. I think I'll have to re-implement the entire logging system based on websocket or something without relying on Tizen's dlog.
Until then, you can use the following trick to connect to your running app and start debugging.

Add the following code to somewhere in your app's widget tree, in order to display the app's observatory URI once it's launched.import 'dart:developer';

String observatoryUri = '';

@override
void initState() {
  super.initState();

  Service.getInfo().then((serviceInfo) {
    setState(() {
      observatoryUri = serviceInfo.serverUri.toString();
    });
  });
}

@override
Widget build(BuildContext context) {
  ...
  Text('ObservatoryUri: $observatoryUri'),
  ...
}

Launch the app and you will see a URI that looks like:http://<IP_ADDRESS>:12345/iVJVuQtd5eQ=/

Connect to the VM in either of the following ways.

Manually launch Flutter DevTools from the command line. Please see https://flutter.dev/docs/development/tools/devtools/cli for how to start DevTools.
If you're using VS Code, import the app project into your workspace and create a file named .vscode/launch.json (modify if it already exists). Then, fill the file with the following contents.{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "flutter-tizen: Attach",
            "request": "attach",
            "type": "dart",
            "deviceId": "flutter-tester",
            "cwd": "${workspaceFolder}",
            "observatoryUri": "http://<IP_ADDRESS>:12345/iVJVuQtd5eQ=/"
        }
    ]
}

You can now start debugging by pressing F5 (or see step 3 in https://github.com/flutter-tizen/flutter-tizen/blob/master/doc/debug-app.md#debugging-in-vs-code).

Please let me know if #271 doesn't fix your problem. You can get the latest flutter-tizen tool by pulling the latest commit.


[master] Bump Mesos to nightly master 12e5e87

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

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

[x] Changelog:
https://github.com/apache/mesos/compare/54227a33b68d83b97ef1a7c14283351d45322317...12e5e870c38681bfc0455960f89a41127dac3daf
https://github.com/dcos/dcos-mesos-modules/compare/7d91c7f92c94f483f427e74b55046e34df0420c7...6231ccf068c247064d1915298070d84885678351
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot override-status teamcity/dcos/windows/integration-test https://jira.d2iq.com/browse/D2IQ-65708


Avoid orphan instances for bytestring and unordered-containers if possible

Newer versions of unordered-containers and bytestring ship the required instance.
fixes https://github.com/haskell-works/avro/issues/177

Awesome, thanks!


Remove PUBLIC_URL from build pipelines

Now that #958 has been resolved, PUBLIC_URL can be removed from all build pipelines. This will make the hash of index.html invariant across deployments, allowing development of an automatic deployment verification process.

Cloudflare
Fleek

@con5cience - can you updated fleek
@0xdef1cafe - will update cloudflare

i've updated both.
prod will be deployed as part of 4/12 release

Deployed to prod and working.


Output : Rice , then Rice Pic shown {Similarly with other crops}

This will look like this

I would like to contribute to this under GSSOC'23.

Hi @thestarsahil
Thank you for creating the issue. Please go ahead and start working on it. If you have any questions or need assistance during the process, feel free to ask.
Thank you for your contribution, and I'm excited to see your progress in resolving the issue.

I would like to contribute to this under GSSOC23

Plz assign me this task..


Consistent service names in path and content

This PR aims to make things in user docs consistent when it comes to paths and service names.

Service names in paths are now consistent with Botocore naming (and our Service Catalogue)
eg. /user-guide/aws/elastic-kubernetes-service/ is now /user-guide/aws/eks/
There are redirections in place so existing links will not break.
Service names in documentation text is now as per AWS docs but without the 'AWS' or 'Amazon' prefix
eg. AWS Organizations is simply Organizations
This will help usability because these services are sorted in alphabetical order in the sidebar.
Certain service names are also updated
eg. Account is now Account Management, like how AWS calls it

Resolved conflicts myself, since I am preparing a major PR to make docs pricing neutral :)


Migrating project to swift 4

Exposed updateFrame function to objc as required for swift-4.
Updated project settings.

hi @fpinvidio ,
Do we need flag SWIFT_SWIFT3_OBJC_INFERENCE to be on? Just checked with xCode 9 beta 4, and everything works with default value.

Actually it should be set to default or off. But before changing it, it would be wise to run the project with the env variable SWIFT_DEBUG_IMPLICIT_OBJC_ENTRYPOINT for identifying any remaining functions that need @objc.
https://stackoverflow.com/questions/44379348/the-use-of-swift-3-objc-inference-in-swift-4-mode-is-deprecated

It makes a lot of sense to use this flag, as it reduces the file size of the project's binary.

Are you going to merge this PR? Nice lib btw ;)


Prevent non-Letsencrypt certs removing

In addition to https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion/pull/352, I would suggest to keep untouched symlinks to disabled domains, if the certificate does not belong to Letsencrypt.
As a use case example, say I have many example.com subdomains and a wildcard certificate wild.example.com.crt under example.com directory. So I do:
ln -s example.com/wild.example.com.crt subdomain.example.com.crt
ln -s example.com/wild.example.com.crt otherdomain.example.com.crt

and so on. In this case I would not like to see my symlinks removed because they are not created by this proxy companion.

LGTM
In the longer run we should probably find a more reliable way of determining if a cert is handled by the LE companion than just  "was it issued by Let's Encrypt",  I'm open to suggestions if you have any.

Addition of an empty dotfile next to the certs maybe?

Thank you for a fast merge 👍
We can handle it with an index file (in any format) containing domains that were handled by LE, but I think it will bring inconsistency rather than reliability. In my experience I have the following case:
I run new container with LETSENCRYPT_HOST=example.com
Companion obtains a LE cert for both domains
Later I get asked to set a cert with higher confirmation level for example.com
So I disable LE for this container and set my own cert
As a result, I will probably have index file with information that example.com was handled by this companion, but the cert in use will be different. And I don't see how this case can be handled correctly.


Support time operation

http://redis.io/commands/time
get server system timestamp

This is already supported


Migrate from winapi to windows-sys.

This PR migrates rust-atomicwrites from winapi to windows-sys.
Windows-sys is actively maintained, by Microsoft, and has recently
started to be adopted in the ecosystem; mio, parking_lot, wasmtime,
and others have moved to windows-sys.

@sunfishcode would you like to maintain this package? It works fine for my usecase but I think I might be a bottleneck to your work

@untitaker This isn't a bottleneck for me yet, as the things I'm working on that need renameat etc. are in fairly early stages right now.
That said, if you are looking for someone to maintain or co-maintain this package, I'd be willing to.


What to do if TPA / Email is already revoked on a block which is being overriden

For example, in Wikipedia:Sockpuppet investigations/Afroditeiraq I CU blocked an account which already had it's TPA removed. However the override of the block re-enabled talk page access. Options:

Read whether TPA / Email is already disabled on a block, and pre-check the tickboxes in the SPI block form. This means that the user has the option to re-enable TPA or Email, but only does so when they explicitly uncheck a box.
Don't change the TPA / Email setting if it's already set to disabled, regardless of whether override blocks is set
This is the intended behavior, and if TPA / Email should be revoked the person who overrided the block should have to check the box to continue to have TPA / Email removed.

Ideally I would say 1 is the preferred option. This is because socks can be non-CU blocked who then abuse TPA, but then once a CU block is applied TPA still needs to be removed as they are likely to continue to abuse it. If TPA needs to be re-enabled, then the admin overriding the block can just uncheck remove TPA.

option 1 is the behavior we want, I think, and I laid the groundwork toward implementation in a past release (added a helper function to get block status), just haven't actually implemented this part.

Fixed by e983106.


Added vpx img transpose routine

The commits solve issue 8; and include a small program for testing, an addition to the simple decoder example, and some routines in C++ for vpx.

It isn't what the issue is about. transpose is a set of functions already present in vpx that have to be converted to use VSX.

That's not how the issue reads.  You are honour bound to close issue 8, and
pay the bounty.
Look assuming you are an honest person, write a signature for each routine
and explain what you really want in each of your bounties to reflect what
you really want.
Certainly I have learned a lot about libvpx internals and I would implement
for VSX, but if I did, would I get a similiar answer to what you have just
sent me?

I'm not even the one paying, I wanted to support VSX in libvpx to match at least the ARM variant and IBM put some bounties on my personal tree after =)
Your demands are quite wrongly targeted, had you asked before sending pull requests you'd had spared both of us time I guess.

Shawn,
I and IBM opened the issues and the bounties, not Luca.  If he and the VideoLAN community do not accept your patch as correct, it is not correct and you will not receive the bounty.  No one is "honor-bound" to pay you because of your demands. The bounty is paid when you satisfy the community, not your own, internal measure for success.  If you did not take the time to communicate with the VideoLAN community and ensure that you understood the issue and requirements for the patch, that is your fault. Berating Luca and the VideoLAN community is not helping you.

Then you wont mind importing the pull request and marking issue 8 fixed. ^ ^
You assert that a transpose routine already exists.  What is its name and
in what file is it in?

Shawn, stop trolling. You will not receive the bounty for your initial patch. If you want to understand the true issue and solve the real problem, Luca may or may not accept a correct patch, but your abusive attitude is not a good way to introduce yourself to the community.


Adding the axor token axo logo.

See axor.io for the whitepaper and github for this new token project.

Can you make file name lowercase please? Thanks

Thanks for merging this in.