Gradle threw an error while trying to update itself. Retrying the update...

Hi, I am new to flutter, learning and trying to get my first app to work.
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:225)
	at java.util.zip.ZipFile.<init>(ZipFile.java:155)
	at java.util.zip.ZipFile.<init>(ZipFile.java:169)
	at org.gradle.wrapper.Install.unzip(Install.java:214)
	at org.gradle.wrapper.Install.access$600(Install.java:27)
	at org.gradle.wrapper.Install$1.call(Install.java:74)
	at org.gradle.wrapper.Install$1.call(Install.java:48)
	at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
	at org.gradle.wrapper.Install.createDist(Install.java:48)
	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while trying to update itself. Retrying the update...

I have run the flutter doctor
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Users\USER>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.10240], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Android Studio (version 3.5)
[√] Connected device (1 available)

• No issues found!

C:\Users\USER>

Don't Use:
flutter create --androidx -t
if is your first time using flutter
My suggestion is that you can uninstall your current java version and install de version jre1.8.0_25

I still get the same error after installing jre1.8.0_25
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while trying to update itself. Retrying the update...
Finished with error: Gradle task assembleDebug failed with exit code 1

Can anyone please help

I have the same problem.

Hi @kolawoleakins
does this solution works for you?
@Bediosss-Pro  Please refrain from posting pictures if not necessary.
thank you

@iapicca The solution does not work

I need help with this, can someone please help?

Hi @kolawoleakins
could you please run
flutter pub cache repair
cd <YOUR APP FOLDER>
flutter clean
If the issue persist please provide your updated
flutter doctor -v and flutter run --verbose
thank you

Hi @kolawoleakins
could you please run
flutter pub cache repair
cd <YOUR APP FOLDER>
flutter clean
If the issue persist please provide your updated
flutter doctor -v and flutter run --verbose
thank you

@iapicca how do I run flutter pub cache repair ?

Hi again @kolawoleakins
if you added flutter to your path you can run it
from your terminal or ide,
if you didn't from your flutter_console.bat in the flutter folder
thank you

Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\USER>flutter pub cache repair
Resetting Git repository for assets_for_android_views 0.1.0...
Downloading _discoveryapis_commons 0.1.9...
Downloading analyzer 0.38.5...
Downloading analyzer_plugin 0.2.1...
Downloading archive 2.0.11...
Downloading args 1.5.2...
Downloading async 2.4.0...
Downloading battery 0.3.1+4...
Downloading bazel_worker 0.1.23...
Downloading boolean_selector 1.0.5...
Downloading browser_launcher 0.1.5...
Downloading build 1.2.1...
Downloading build_config 0.4.1+1...
Downloading build_daemon 2.1.0...
Downloading build_modules 2.6.3...
Downloading build_resolvers 1.2.1...
Downloading build_runner 1.7.2...
Downloading build_runner_core 4.1.0...
Downloading build_test 0.10.9+1...
Downloading build_vm_compilers 1.0.4...
Downloading build_web_compilers 2.7.1...
Downloading built_collection 4.2.2...
Downloading built_value 6.8.2...
Downloading built_value_generator 6.8.2...
Downloading charcode 1.1.2...
Downloading checked_yaml 1.0.2...
Downloading code_builder 3.2.0...
Downloading collection 1.14.11...
Downloading completion 0.2.1+1...
Downloading connectivity 0.4.5+3...
Downloading convert 2.1.1...
Downloading coverage 0.13.3+1...
Downloading crypto 2.1.3...
Downloading csslib 0.16.1...
Downloading cupertino_icons 0.1.2...
Downloading cupertino_icons 0.1.3...
Downloading dart_style 1.3.3...
Downloading device_info 0.4.1+1...
Downloading devtools 0.1.11...
Downloading devtools_server 0.1.12...
Downloading dwds 0.7.9...
Downloading e2e 0.2.1+1...
Downloading file 5.1.0...
Downloading file_testing 2.1.0...
Downloading fixnum 0.10.11...
Downloading flutter_gallery_assets 0.1.9+2...
Reinstalled 46 packages.
C:\Users\USER>flutter clean
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.
C:\Users\USER>flutter doctor -v
[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.10240], locale en-US)
• Flutter version 1.12.13+hotfix.5 at C:\src\flutter\flutter
• Framework revision 27321ebbad (4 weeks ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\USER\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
• All Android licenses accepted.
[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[√] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.0 (API 24) (emulator)
• No issues found!
C:\Users\USER>flutter run --verbose
[  +17 ms] executing: [C:\src\flutter\flutter] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +53 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 27321ebbad34b0a3fafe99fac037102196d655ff
[   +1 ms] executing: [C:\src\flutter\flutter] git describe --match v*.. --first-parent --long --tags
[  +22 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[        ] v1.12.13+hotfix.5-0-g27321ebba
[  +10 ms] executing: [C:\src\flutter\flutter] git rev-parse --abbrev-ref --symbolic @{u}
[  +23 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[   +1 ms] executing: [C:\src\flutter\flutter] git ls-remote --get-url origin
[  +20 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +75 ms] executing: [C:\src\flutter\flutter] git rev-parse --abbrev-ref HEAD
[  +24 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +54 ms] "flutter run" took 70ms.
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.
#0      FlutterCommand.validateCommand (package:flutter_tools/src/runner/flutter_command.dart:690:9)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:285:19)
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:590:11)
#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:515:33)

#4      AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
#5      _rootRun (dart:async/zone.dart:1126:13)
#6      _CustomZone.run (dart:async/zone.dart:1023:19)
#7      _runZoned (dart:async/zone.dart:1518:10)
#8      runZoned (dart:async/zone.dart:1465:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:505:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12     FlutterCommandRunner.runCommand.
(package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)

#13     AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
#20     CommandRunner.run. (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
#24     run.. (package:flutter_tools/runner.dart:63:22)
#25     _rootRun (dart:async/zone.dart:1126:13)
#26     _CustomZone.run (dart:async/zone.dart:1023:19)
#27     _runZoned (dart:async/zone.dart:1518:10)
#28     runZoned (dart:async/zone.dart:1502:12)
#29     run. (package:flutter_tools/runner.dart:61:18)

#30     AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
#31     _rootRun (dart:async/zone.dart:1126:13)
#32     _CustomZone.run (dart:async/zone.dart:1023:19)
#33     _runZoned (dart:async/zone.dart:1518:10)
#34     runZoned (dart:async/zone.dart:1465:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)
#39     main (file:///C:/b/s/w/ir/k/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate. (dart:isolate-patch/isolate_patch.dart:305:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
C:\Users\USER>

I have run all that you suggested @iapicca the problem still persist

I will be shocked if nobody can solve this for me on this platform

Hi kolawoleakins!
I was also experiencing a similar problem. The following worked for me !
C:\Users\uejaz.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb
Move to this directory and delete gradle-5.6.2-all.zip and gradle-5.6.2 folder
Goto https://downloads.gradle-dn.com/distributions/gradle-5.6.2-all.zip and download the zip file
Replace the .zip file with the one you had deleted earlier and extract the folder "gradle-5.6.2" in the same directory. I hope it will solve all your gradle-related problems.
Note: if your gradle version is different than mine, just change the version in the link provided above to download your gradle version.

Hi @kolawoleakins
you ran flutter clean && run --verbose
outside your project folder

Hi @kolawoleakins
could you please run
flutter pub cache repair

cd <YOUR APP FOLDER> <= PART YOU SKIPPED

flutter clean
If the issue persist please provide your updated
flutter doctor -v and flutter run --verbose
thank you

could you please post your
flutter run --verbose actually running your app
thank you

Hello, sorry but when I launch my application I always have this problem.
my flutter version is 1.12.13 + hotfix.5
grade 5.6.2
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while trying to update itself. Retrying the update...
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while trying to update itself. Retrying the update...
Finished with error: Gradle task assembleDebug failed with exit code 1

I am about to give up

Hi kolawoleakins!
I was also experiencing a similar problem. The following worked for me !
C:\Users\uejaz.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb
Move to this directory and delete gradle-5.6.2-all.zip and gradle-5.6.2 folder
Goto https://downloads.gradle-dn.com/distributions/gradle-5.6.2-all.zip and download the zip file
Replace the .zip file with the one you had deleted earlier and extract the folder "gradle-5.6.2" in the same directory. I hope it will solve all your gradle-related problems.
Note: if your gradle version is different than mine, just change the version in the link provided above to download your gradle version.

This worked for me

possible duplicate of https://github.com/flutter/flutter/issues/40517

It worked!!! It worked!!! @Erosmart @Bediosss-Pro @iapicca @UsamaEjaz0
@UsamaEjaz0 Solution works for me.

Hi kolawoleakins!
I was also experiencing a similar problem. The following worked for me !
C:\Users\uejaz.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb
Move to this directory and delete gradle-5.6.2-all.zip and gradle-5.6.2 folder
Goto https://downloads.gradle-dn.com/distributions/gradle-5.6.2-all.zip and download the zip file
Replace the .zip file with the one you had deleted earlier and extract the folder "gradle-5.6.2" in the same directory. I hope it will solve all your gradle-related problems.
Note: if your gradle version is different than mine, just change the version in the link provided above to download your gradle version.

This worked for me!!!

this didnt work for me... such a cheat...

F:\flutter\testimoni>flutter run --verbose
[  +38 ms] executing: [C:\src\flutter] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +112 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +4 ms] 0b8abb4724aa590dd0f429683339b1e045a1594d
[   +1 ms] executing: [C:\src\flutter] git describe --match v*.. --first-parent --long --tags
[  +83 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[   +1 ms] v1.12.13+hotfix.8-0-g0b8abb472
[  +13 ms] executing: [C:\src\flutter] git rev-parse --abbrev-ref --symbolic @{u}
[  +75 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[   +1 ms] executing: [C:\src\flutter] git ls-remote --get-url origin
[  +80 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +134 ms] executing: [C:\src\flutter] ### git rev-parse --abbrev-ref HEAD
[  +73 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +189 ms] executing: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +44 ms] Exit code 0 from: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[   +1 ms] List of devices attached
52030a8161d1b33f       device product:j7xeltexx model:SM_J710F device:j7xelte transport_id:5
[  +33 ms] C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe -s 52030a8161d1b33f shell getprop
[ +238 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[  +23 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +17 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +657 ms] Generating F:\flutter\testimoni\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +126 ms] ro.hardware = samsungexynos7870
[ +133 ms] Launching lib\main.dart on SM J710F in debug mode...
[  +31 ms] executing: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe -s 52030a8161d1b33f shell -x logcat -v time -t 1
[ +219 ms] Exit code 0 from: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe -s 52030a8161d1b33f shell -x logcat -v time -t 1
[   +3 ms] --------- beginning of main
03-09 18:52:27.216 E/adbd    (13053): recv: OPEN 000001c1 00000000 001a:73 68 65 6C 6C 3A 6C 6F 67 63 61 74 20 2D 76 20 74 69 6D 65 20 2D 74 20 31 00
[  +37 ms] executing: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe version
[   +8 ms] executing: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe -s 52030a8161d1b33f logcat -v time -T 03-09 18:52:27.216
[ +114 ms] Android Debug Bridge version 1.0.41
Version 29.0.6-6198805
Installed as C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +4 ms] executing: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +39 ms] Building APK
[  +29 ms] Running Gradle task 'assembleDebug'...
[   +3 ms] gradle.properties already sets android.enableR8
[   +8 ms] Using gradle from F:\flutter\testimoni\android\gradlew.bat.
[  +13 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +163 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "1.8.0_212-release"
OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
[   +6 ms] executing: [F:\flutter\testimoni\android] F:\flutter\testimoni\android\gradlew.bat -Pverbose=true -Ptarget=F:\flutter\testimoni\lib\main.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-arm assembleDebug
[+1032 ms] Unzipping C:\Users\HP.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb\gradle-5.6.2-all.zip to
C:\Users\HP.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb
[  +20 ms] Exception in thread "main" java.util.zip.ZipException: error in opening zip file
[  +19 ms]      at java.util.zip.ZipFile.open(Native Method)
[   +4 ms]      at java.util.zip.ZipFile.(ZipFile.java:225)
[  +14 ms]      at java.util.zip.ZipFile.(ZipFile.java:155)
[   +5 ms]      at java.util.zip.ZipFile.(ZipFile.java:169)
[   +6 ms]      at org.gradle.wrapper.Install.unzip(Install.java:214)
[  +16 ms]      at org.gradle.wrapper.Install.access$600(Install.java:27)
[   +9 ms]      at org.gradle.wrapper.Install$1.call(Install.java:74)
[   +4 ms]      at org.gradle.wrapper.Install$1.call(Install.java:48)
[   +5 ms]      at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
[   +9 ms]      at org.gradle.wrapper.Install.createDist(Install.java:48)
[   +1 ms]      at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
[   +1 ms]      at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[  +19 ms] Running Gradle task 'assembleDebug'... (completed in 1.4s)
[   +3 ms] [!] Gradle threw an error while trying to update itself. Retrying the update...
[   +7 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] gradle.properties already sets android.enableR8
[   +5 ms] Using gradle from F:\flutter\testimoni\android\gradlew.bat.
[   +1 ms] executing: [F:\flutter\testimoni\android] F:\flutter\testimoni\android\gradlew.bat -Pverbose=true -Ptarget=F:\flutter\testimoni\lib\main.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-arm assembleDebug
[ +357 ms] Unzipping C:\Users\HP.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb\gradle-5.6.2-all.zip to
C:\Users\HP.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb
[   +7 ms] Exception in thread "main" java.util.zip.ZipException: error in opening zip file
[   +1 ms]      at java.util.zip.ZipFile.open(Native Method)
[   +2 ms]      at java.util.zip.ZipFile.(ZipFile.java:225)
[   +1 ms]      at java.util.zip.ZipFile.(ZipFile.java:155)
[   +1 ms]      at java.util.zip.ZipFile.(ZipFile.java:169)
[   +1 ms]      at org.gradle.wrapper.Install.unzip(Install.java:214)
[   +2 ms]      at org.gradle.wrapper.Install.access$600(Install.java:27)
[   +2 ms]      at org.gradle.wrapper.Install$1.call(Install.java:74)
[   +1 ms]      at org.gradle.wrapper.Install$1.call(Install.java:48)
[   +2 ms]      at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
[   +1 ms]      at org.gradle.wrapper.Install.createDist(Install.java:48)
[   +1 ms]      at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
[   +2 ms]      at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[  +10 ms] Running Gradle task 'assembleDebug'... (completed in 0.4s)
[   +1 ms] [!] Gradle threw an error while trying to update itself. Retrying the update...
[  +13 ms] "flutter run" took 3,860ms.
Gradle task assembleDebug failed with exit code 1
#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      buildGradleApp (package:flutter_tools/src/android/gradle.dart:431:7)
#2      _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:73:64)
#3      _rootRunUnary (dart:async/zone.dart:1134:38)
#4      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:524:5)
#9      Future._asyncComplete. (dart:async/future_impl.dart:554:7)
#10     _rootRun (dart:async/zone.dart:1126:13)
#11     _CustomZone.run (dart:async/zone.dart:1023:19)
#12     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#13     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:965:23)
#14     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#15     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#16     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#17     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

Hi kolawoleakins!
I was also experiencing a similar problem. The following worked for me !
C:\Users\uejaz.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb
Move to this directory and delete gradle-5.6.2-all.zip and gradle-5.6.2 folder
Goto https://downloads.gradle-dn.com/distributions/gradle-5.6.2-all.zip and download the zip file
Replace the .zip file with the one you had deleted earlier and extract the folder "gradle-5.6.2" in the same directory. I hope it will solve all your gradle-related problems.
Note: if your gradle version is different than mine, just change the version in the link provided above to download your gradle version.

Hello Usama, By this "Move to this directory and delete gradle-5.6.2-all.zip and gradle-5.6.2 folder", did you mean delete the zip and the file associated with it ? there is no folder. Just a .zip file as you mentioned, and a file gradle-<gradle_version>-all.zip.lck... TIA.

I don't who might find this helpful, But try this first before deleting anything from @UsamaEjaz0's  answer.
I had the same issues and after trying several solutions faild,  I taught I share how i fixed mine.
So what i did was, edited the graddle-wrapper-properties  file in

android/gradle/wrapper

in your project directory. Initially had the distributionUrl option set to https://services.gradle.org/distributions/gradle-5.6.2-all.zip  and all i did was change the gradle version to 5.4.1 and boom it worked!
Please not that this might not work for everyone especially if you are run flutter for the first time.

I had the very same problem on Mac OS.
Open your project and check your  android/gradle/wrapper/gradle-wrapper.properties file.
The distributionUrl property specifies which version of gradle will be used, in my case it was:
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip

When trying to launch my project I noticed that Flutter looks for gradle at ~/.gradle/wrapper/dists/, if folder gradle-5.6.2-all is not there then flutter will try to download it from distributionUrl.
The problem was that I had connection issues during first attempt to download the file so it got corrupted.
Solution:
If you want to keep current gradle version you can try to remove it from your gradle distribution path; ~/.gradle/wrapper/dists/ in my case:

rm -rf ~/.gradle/wrapper/dists/gradle-5.6.2-all
Running flutter run --verbose will reinstall it.

Alternatively you can set the latest version:

Grab latest version of gradle from this list.
Change gradle version of distributionUrl prop in android/gradle/wrapper/gradle-wrapper.properties file to the latest one:

// in my case it was from:
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
// to:
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip

Run flutter run --verbose and wait till the new version is installed.

[  +24 ms] executing: [C:\src\flutter] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[ +135 ms] Exit code 0 from: git -c log.showSignature=false log
-n 1 --pretty=format:%H
[  +10 ms] f139b11009aeb8ed2a3a3aa8b0066e482709dde3
[   +4 ms] executing: [C:\src\flutter] git describe --match
v*.. --first-parent --long --tags
[ +100 ms] Exit code 0 from: git describe --match v*..
--first-parent --long --tags
[   +3 ms] v1.12.13+hotfix.9-0-gf139b1100
[  +11 ms] executing: [C:\src\flutter] git rev-parse
--abbrev-ref --symbolic @{u}
[  +57 ms] Exit code 0 from: git rev-parse --abbrev-ref
--symbolic @{u}
[   +2 ms] origin/stable
[   +1 ms] executing: [C:\src\flutter] git ls-remote --get-url
origin
[  +51 ms] Exit code 0 from: git ls-remote --get-url origin
[   +2 ms] https://github.com/flutter/flutter.git
[ +105 ms] executing: [C:\src\flutter] git rev-parse
--abbrev-ref HEAD
[  +44 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[ +105 ms] executing:
C:\Users\omaro\AppData\Local\Android\Sdk\platform-tools\adb.exe
devices -l
[  +24 ms] Exit code 0 from:
C:\Users\omaro\AppData\Local\Android\Sdk\platform-tools\adb.exe
devices -l
[   +1 ms] List of devices attached
emulator-5554          device product:sdk_gphone_x86
model:Android_SDK_built_for_x86 device:generic_x86
transport_id:2
[  +15 ms]
C:\Users\omaro\AppData\Local\Android\Sdk\platform-tools\adb.exe
-s emulator-5554 shell getprop
[  +78 ms] Artifact Instance of 'AndroidMavenArtifacts' is not
required, skipping update.
[  +10 ms] Artifact Instance of 'AndroidInternalBuildArtifacts'
is not required, skipping update.
[   +2 ms] Artifact Instance of 'IOSEngineArtifacts' is not
required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not
required, skipping update.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not
required, skipping update.
[   +3 ms] Artifact Instance of 'MacOSEngineArtifacts' is not
required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not
required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is
not required, skipping update.
[   +2 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is
not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is
not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is
not required, skipping update.
[ +221 ms] Generating
C:\Users\omaro\AndroidStudioProjects\the_first\android\app\src
main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +40 ms] ro.hardware = ranchu
[  +48 ms] Using hardware rendering with device Android SDK
built for x86.
If you get graphics artifacts, consider enabling
software
rendering with "--enable-software-rendering".
[  +23 ms] Launching lib\main.dart on Android SDK built for x86
in debug
mode...
[  +16 ms] executing:
C:\Users\omaro\AppData\Local\Android\Sdk\platform-tools\adb.exe
-s emulator-5554 shell -x logcat -v time -t 1
[  +61 ms] Exit code 0 from:
C:\Users\omaro\AppData\Local\Android\Sdk\platform-tools\adb.exe
-s emulator-5554 shell -x logcat -v time -t 1
[   +2 ms] --------- beginning of main
04-13 10:54:50.915 E/GnssHAL_GnssInterface( 1795):
gnssSvStatusCb: b: input svInfo.flags is 8
[  +11 ms] executing:
C:\Users\omaro\AppData\Local\Android\Sdk\platform-tools\adb.exe
version
[   +4 ms] executing:
C:\Users\omaro\AppData\Local\Android\Sdk\platform-tools\adb.exe
-s emulator-5554 logcat -v time -T 04-13 10:54:50.915
[  +57 ms] Android Debug Bridge version 1.0.41
Version 29.0.6-6198805
Installed as
C:\Users\omaro\AppData\Local\Android\Sdk\platform-to
ols\adb.exe
[   +8 ms] executing:
C:\Users\omaro\AppData\Local\Android\Sdk\platform-tools\adb.exe
start-server
[  +46 ms] Building APK
[  +25 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] gradle.properties already sets android.enableR8
[   +4 ms] Using gradle from
C:\Users\omaro\AndroidStudioProjects\the_first\android\gradlew.
bat.
[  +10 ms] executing: C:\Program Files\Android\Android
Studio\jre\bin\java -version
[ +103 ms] Exit code 0 from: C:\Program Files\Android\Android
Studio\jre\bin\java -version
[   +2 ms] openjdk version "1.8.0_212-release"
OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed
mode)
[   +4 ms] executing:
[C:\Users\omaro\AndroidStudioProjects\the_first\android]
C:\Users\omaro\AndroidStudioProjects\the_first\android\gradlew.
bat -Pverbose=true
-Ptarget=C:\Users\omaro\AndroidStudioProjects\the_first\lib\mai
n.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root
-Ptarget-platform=android-x86 assembleDebug
[ +174 ms] Unzipping
C:\Users\omaro.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78
h16so49nn74lgtbb\gradle-5.6.2-all.zip to
C:\Users\omaro.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78
h16so49nn74lgtbb
[   +5 ms] Exception in thread "main"
java.util.zip.ZipException: error in opening zip file
[   +2 ms]      at java.util.zip.ZipFile.open(Native Method)
[   +1 ms]      at java.util.zip.ZipFile.(ZipFile.java:225)
[   +5 ms]      at java.util.zip.ZipFile.(ZipFile.java:155)
[   +2 ms]      at java.util.zip.ZipFile.(ZipFile.java:169)
[   +1 ms]      at
org.gradle.wrapper.Install.unzip(Install.java:214)
[   +2 ms]      at
org.gradle.wrapper.Install.access$600(Install.java:27)
[   +3 ms]      at
org.gradle.wrapper.Install$1.call(Install.java:74)
[   +1 ms]      at
org.gradle.wrapper.Install$1.call(Install.java:48)
[   +1 ms]      at
org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveF
ileAccessManager.java:65)
[   +3 ms]      at
org.gradle.wrapper.Install.createDist(Install.java:48)
[   +2 ms]      at
org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java
:128)
[   +1 ms]      at
org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.jav
a:61)
[  +19 ms] Running Gradle task 'assembleDebug'... (completed in
0.3s)
[   +6 ms] [!] Gradle threw an error while trying to update
itself.
Retrying the update...
[   +9 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] gradle.properties already sets android.enableR8
[   +3 ms] Using gradle from
C:\Users\omaro\AndroidStudioProjects\the_first\android\gradlew.
bat.
[   +1 ms] executing:
[C:\Users\omaro\AndroidStudioProjects\the_first\android]
C:\Users\omaro\AndroidStudioProjects\the_first\android\gradlew.
bat -Pverbose=true
-Ptarget=C:\Users\omaro\AndroidStudioProjects\the_first\lib\mai
n.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root
-Ptarget-platform=android-x86 assembleDebug
[ +182 ms] Unzipping
C:\Users\omaro.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78
h16so49nn74lgtbb\gradle-5.6.2-all.zip to
C:\Users\omaro.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78
h16so49nn74lgtbb
[   +6 ms] Exception in thread "main"
java.util.zip.ZipException: error in opening zip file
[   +3 ms]      at java.util.zip.ZipFile.open(Native Method)
[   +2 ms]      at java.util.zip.ZipFile.(ZipFile.java:225)
[   +3 ms]      at java.util.zip.ZipFile.(ZipFile.java:155)
[   +2 ms]      at java.util.zip.ZipFile.(ZipFile.java:169)
[   +2 ms]      at
org.gradle.wrapper.Install.unzip(Install.java:214)
[   +3 ms]      at
org.gradle.wrapper.Install.access$600(Install.java:27)
[   +2 ms]      at
org.gradle.wrapper.Install$1.call(Install.java:74)
[   +1 ms]      at
org.gradle.wrapper.Install$1.call(Install.java:48)
[   +1 ms]      at
org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveF
ileAccessManager.java:65)
[   +2 ms]      at
org.gradle.wrapper.Install.createDist(Install.java:48)
[   +3 ms]      at
org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java
:128)
[   +2 ms]      at
org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.jav
a:61)
[   +1 ms] Running Gradle task 'assembleDebug'... (completed in
0.2s)
[   +2 ms] [!] Gradle threw an error while trying to update
itself.
Retrying the update...
[   +6 ms] "flutter run" took 1,495ms.
Gradle task assembleDebug failed with exit code 1
#0      throwToolExit
(package:flutter_tools/src/base/common.dart:28:3)
#1      buildGradleApp
(package:flutter_tools/src/android/gradle.dart:431:7)
#2      _asyncThenWrapperHelper.
(dart:async-patch/async_patch.dart:73:64)
#3      _rootRunUnary (dart:async/zone.dart:1134:38)
#4      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#5      _FutureListener.handleValue
(dart:async/future_impl.dart:139:18)
#6      Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:680:45)
#7      Future._propagateToListeners
(dart:async/future_impl.dart:709:32)
#8      Future._completeWithValue
(dart:async/future_impl.dart:524:5)
#9      Future._asyncComplete.
(dart:async/future_impl.dart:554:7)
#10     _rootRun (dart:async/zone.dart:1126:13)
#11     _CustomZone.run (dart:async/zone.dart:1023:19)
#12     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#13     _CustomZone.bindCallbackGuarded.
(dart:async/zone.dart:965:23)
#14     _microtaskLoop
(dart:async/schedule_microtask.dart:43:21)
#15     _startMicrotaskLoop
(dart:async/schedule_microtask.dart:52:5)
#16     _runPendingImmediateCallback
(dart:isolate-patch/isolate_patch.dart:118:13)
#17     _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:175:5)

Hi kolawoleakins!
I was also experiencing a similar problem. The following worked for me !
C:\Users\uejaz.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb
Move to this directory and delete gradle-5.6.2-all.zip and gradle-5.6.2 folder
Goto https://downloads.gradle-dn.com/distributions/gradle-5.6.2-all.zip and download the zip file
Replace the .zip file with the one you had deleted earlier and extract the folder "gradle-5.6.2" in the same directory. I hope it will solve all your gradle-related problems.
Note: if your gradle version is different than mine, just change the version in the link provided above to download your gradle version.

This is worked for me, Thank you all , God bless you!!!

For gradle zip error:  Go to this directory <C:\Users\neeraj kumar saini.gradle\wrapper\dists> and check if there happens to be multi versions of gradle file present then try to delete the versions you don't want (most probably keep the latest one) and ensure that only one complete version is present...
After you do that try rerun your code ,  hopefully it will work.

I am on Debian with Vscode and it was throwing me this error. So what I did is I deleted the .gradle directory (ctrl+h in your home directory).
Then I went to the my flutter project directory and executed flutter run -v and it showed me that it was downloading gradle.zip and all I had to do was wait for it to complete. After it completed it started my app on my device.

Hi kolawoleakins!
I was also experiencing a similar problem. The following worked for me !
C:\Users\uejaz.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb
Move to this directory and delete gradle-5.6.2-all.zip and gradle-5.6.2 folder
Goto https://downloads.gradle-dn.com/distributions/gradle-5.6.2-all.zip and download the zip file
Replace the .zip file with the one you had deleted earlier and extract the folder "gradle-5.6.2" in the same directory. I hope it will solve all your gradle-related problems.
Note: if your gradle version is different than mine, just change the version in the link provided above to download your gradle version.

This worked for me

working for me

I just deleted the gradle folder in /Users/admin/.gradle/wrapper/dists/gradle-4.10.2-all according to the gradle that I used on android /gradle/wrapper/gradle-wrapper.properties
thats worked for me

Gradle threw an error while downloading artifacts from the network. Retrying to download... :( :( i cannot solve!!!
just try with:
_flutter pub cache repair
_flutter clean
_flutter run --verbose
i am in a new windowsPC, i just installed all program for Flutter... and nothing; there is this error and i dont know why and how to repair!

C:\Users<your_name>.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb

Confused someone

Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         0.3s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Exception: Gradle task assembleDebug failed with exit code 1

Hello guys, please I'm having the same issue as @kolawoleakins. I tried @UsamaEjaz0 solution but to no avail. Please help!!!
Launching lib\main.dart on SM G960F in debug mode...
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
C:\Users\Joseph Utuk\AndroidStudioProjects\mi_card_flutter>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.17.4, on Microsoft Windows [Version 10.0.18362.900], locale en-GB)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.6)
[√] VS Code (version 1.46.1)
[√] Connected device (1 available)
• No issues found!
C:\Users\Joseph Utuk\AndroidStudioProjects\mi_card_flutter>flutter doctor --verbose
[√] Flutter (Channel stable, v1.17.4, on Microsoft Windows [Version 10.0.18362.900], locale en-GB)
• Flutter version 1.17.4 at C:\src\flutter\flutter
• Framework revision 1ad9baa8b9 (13 days ago), 2020-06-17 14:41:16 -0700
• Engine revision ee76268252
• Dart version 2.8.4
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\Joseph Utuk\AppData\Local\Android\sdk
• Platform android-28, build-tools 28.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
• All Android licenses accepted.
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 47.1.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code (version 1.46.1)
• VS Code at C:\Users\Joseph Utuk\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.12.1
[√] Connected device (1 available)
• SM G960F • 2a1c45d437037ece • android-arm64 • Android 10 (API 29)
• No issues found!

in project
android/gradle/wrapper/gradle-wrapper.properties
replace with
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-5.4.1-all.zip

I am on Debian with Vscode and it was throwing me this error. So what I did is I deleted the .gradle directory (ctrl+h in your home directory).
Then I went to the my flutter project directory and executed flutter run -v and it showed me that it was downloading gradle.zip and all I had to do was wait for it to complete. After it completed it started my app on my device.

thats worked for me on ubuntu, thanks

I have done so but still getting the same error mesage. Does it have to do with certain folders in the project toolbar that are highlighted with the colour yellow?

@kaan168 please see reply above.
Cheers

Okay guys this worked for me,
since @kaan168 suggested going into the project and opening android/gradle/wrapper/gradle-wrapper.properties which helped me identify the gradle version for my project.
I went into the \Users\name.gradle\wrapper\dists\gradle-5.4.1-all\3221gyojl5jsh0helicew7rwx folder and deleted  gradle-5.6.2-all.zip and other folders as @UsamaEjaz0 suggested.
I then proceeded to https://downloads.gradle-dn.com/distributions/gradle-5.4.1-all.zip downloaded and replaced the old one with the current download. Restarted android studio and reran the project.
Thanks All, you guys rock!

9st6wgf78h16so49nn74lgtbb

thanks, it works for me.

Hi kolawoleakins!
I was also experiencing a similar problem. The following worked for me !
C:\Users\uejaz.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb
Move to this directory and delete gradle-5.6.2-all.zip and gradle-5.6.2 folder
Goto https://downloads.gradle-dn.com/distributions/gradle-5.6.2-all.zip and download the zip file
Replace the .zip file with the one you had deleted earlier and extract the folder "gradle-5.6.2" in the same directory. I hope it will solve all your gradle-related problems.
Note: if your gradle version is different than mine, just change the version in the link provided above to download your gradle version.

Thank you very much! This worked! Thanks a lottt!!!

Hi @kolawoleakins
could you please run
flutter pub cache repair
cd <YOUR APP FOLDER>
flutter clean
If the issue persist please provide your updated
flutter doctor -v and flutter run --verbose
thank you

Awesome.... solved all the issues of flutter :+1:


bson4jackson should be able to handle a unnested value

An error occurred in the following case:
ObjectMapper objectMapper = new ObjectMapper(new BsonFactory());
Integer i = 100;
byte[] bytes = objectMapper.writeValueAsBytes(i);
objectMapper.readValue(bytes, Object.class); // an error occurred!

The error is as follows:
Exception in thread "main" java.io.EOFException
	at de.undercouch.bson4jackson.io.LittleEndianInputStream.readUnsignedByte(LittleEndianInputStream.java:114)
	at de.undercouch.bson4jackson.io.LittleEndianInputStream.readByte(LittleEndianInputStream.java:107)
	at de.undercouch.bson4jackson.BsonParser.nextToken(BsonParser.java:261)
	at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserialize(UntypedObjectDeserializer.java:490)
	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3702)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2807)
	at Main.main(Main.java:15)

@brfrn169 The document you're creating is not a valid BSON document (according to the spec [1]). Can you please elaborate on your use case? Thanks!
Michel
[1] http://bsonspec.org/

@michel-kraemer Thank you for your reply.
I want to serialize a JSON value in BSON.
JSON includes not only a nested value(object, array) but also a unnested value such as string(e.g., "aaa") and Integer(e.g., 100).
I read the spec and I understood that BSON and JSON is not completely compatible.
Thanks,
Toshihiro Suzuki


add the rest of bitcoin address

This doesn't actually add any additional bitcoin addresses.
The public addresses would be duplicates, except with a different private key. ECDSA has a valid range, and this would be using private keys outside of that range. Bitcoin would never generate such keys.


Add new topo: Leaf-Spine Topo

This isn't bad, but I'd like to stick to the mininet python style.

Hi @lantz  the work was finished, could you help me to review that?

Still not in the mininet python style... but I do like this and think we should include it.

@lantz Hi, Could you review again?

This doesn't seem to work with --switch user, probably because the DPID is the wrong format.


Remove unused variable in app.css

--invertedness was something I added to the set multiselect to handle set icon colors. Specifically, we want them to be white when on a grey background, but black when on a white background, and setting fill only works with inlined svgs. Shouldn't need it elsewhere since it's only referenced in set-icon's style (this was probably actually a holdover from when public sessions was also a multiselect).

I re-used the set-icon class in the public session table, the invertedness var is there for the same reason as in the multiselect (white icon on dark background).

Ah, oops, that makes total sense. When I github searched for the class it only showed the ones in the Set(s) dropdown, but on closer inspection it labels those as "Showing the top two matches" and I see the other ones when I open the full file. TIL, thanks!


Telemetry events

This issue is a starting point to discuss what the API for Telemetry events (emitted by Req) will look like.
An initial sketch would be to have default events like this, resembling a telemetry:span/3.

[:req, :request, :pipeline, :start]
[:req, :request, :pipeline, :stop]
[:req, :request, :pipeline, :exception]

These would measure the entire request pipeline.
I would love if we could also customize the prefix, something like this:
Req.new(
  # ...,
  telemetry: [
    prefix: [:my_app, :stripe_client]
  ]
)

Resulting in events such as [:my_app, :stripe_client, :pipeline, ...].
Steps
At some point we might want to instrument steps, such as JSON decoding/encoding, but I’m not sure this is critical to get this out the door. Adding Telemetry events is not a breaking change, so this is not a blocker for 1.0.
cc @wojtekmach

One important consideration: retries. We should think of how to instrument those, because they should not be instrumented like the whole request pipeline. Otherwise, you might end up with requests that look like they took seconds because they were retried a few times. Just putting this out there.

I think you need at least two telemetry IMO,

[:req, request, *] - where such telemetry is done by middleware or by ensuring it runs at the very end of the pipeline. It would be the same as https://github.com/elixir-tesla/tesla/blob/master/lib/tesla/middleware/telemetry.ex

[:req, :pipeline, *] - it is about the middleware pipeline without including the last step, the request telemetry step that I mentioned before (pending in Tesla, but thought on doing this)

May I add: we definitely need to have the url template with path_params as part of the metadata, so e.g. we can get useful metrics time series. I heavily use this in Tesla (with PathParams and KeepRequest middleware).

Agreed, thank you for mentioning it here.

One important consideration: retries. We should think of how to instrument those, because they should not be instrumented like the whole request pipeline. Otherwise, you might end up with requests that look like they took seconds because they were retried a few times. Just putting this out there.

One good example I've seen is in the stripe hex lib, where the retry count is one of the metadata fields. Works pretty ok.

Yeah I think emitting events and having the retry information in the event itself would be enough for other libs to build stuff on top of them.


(PDB-2006) Update jenkins lein-test config to setup second testing db

This commit aligns our lein-test.sh from FOSS with the script by the
same name in PE now that we use 2 postgresql's instance in clojure
testing in FOSS.

@senior this should fix up our issues, note that we can't test this until it gets merged since this pr only affect the on-merge pipeline


Unhelpful error message for function annotation separated from definition

I expect this error message to be either completely different or additionally mention that a function annotation must (apparently) be immediately above its definition.
Here's a reproduction that doesn't have any errors when the extra newline between foo : and foo = is removed:
[jan@framey bug-reproductions]$ cat annotation_newline.roc
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }

import pf.Stdout

main =
    Stdout.line (foo "bar")

foo : Str -> Str

foo = \_ ->
    "baz"

[jan@framey bug-reproductions]$ roc dev annotation_newline.roc

── DUPLICATE NAME in annotation_newline.roc ────────────────────────────────────

The foo name is first defined here:

8│  foo : Str -> Str
    ^^^

But then it's defined a second time here:

10│  foo = \_ ->
     ^^^

Since these variables have the same name, it's easy to use the wrong
one by accident. Give one of them a new name.

────────────────────────────────────────────────────────────────────────────────

1 error and 1 warning found in 74 ms
.

You can run the program anyway with roc run annotation_newline.roc
[jan@framey bug-reproductions]$

Less importantly, here's the equally-unhelpful output appended when roc running it "anyway":
Running program anyway…

────────────────────────────────────────────────────────────────────────────────
Roc crashed with:

	NoImplementationNamed { def_symbol: `17.IdentId(1)` }

Here is the call stack that led to the crash:

Optimizations can make this list inaccurate! If it looks wrong, try running without `--optimize` and with `--linker=legacy`

I'd like for it to work, although I know it currently doesn't. 😄

I created #6763 because this issue was mainly about the error message (that should not be there :p ).


[FLINK-6864] Fix confusing "invalid POJO type" messages from TypeExtractor

What is the purpose of the change
Fix confusing "invalid POJO type" messages from TypeExtractor
Brief change log

Improve log about pojo in TypeExtractor
Add notice in types_serialization.cmd about rules-for-pojo-types

Verifying this change
This change needs no testing
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@tzulitai I create this PR to fix https://issues.apache.org/jira/browse/FLINK-6864, I think add logs instead of removing them will be better, what do you think? Thanks

I agree with @zjureel . Even though I know the POJO rules well, it still happened to me more than once that I accidentally had a non-POJO, and I only noticed this because of these log messages, so I think it would be problematic to completely remove them.

I also agree that these messages have been personally useful. I think this PR is an improvement but that we could do better to note and/or emphasize the performance implications of GenericType. I'm not sure that we even need to mention GenericType explicitly. I can see how the current message could confuse users but explaining this as having performance implications should clarify the reasoning for this being logged.

@zjureel am merging this ... thanks for the PR and edits!


[Question] How to implement preview-mode with Nuxt3

Hey there! Always appreciate the work that you put into this repo, it never goes unnoticed 🙏
I am struggling with trying to implement preview-mode with Nuxt3 when using nuxt-generate. I have everything correctly set up on the Sanity studio end of things, but my site isn't updating when I move my preview route outside of localhost (ideally it will be the project domain or netlify/vercal domain).
The docs make reference to this here, but it seems that is a Nuxt2 feature...
Any help would be really appreciated!

You are right about the Nuxt preview mode, it seems to be missing in Nuxt 3 (for now).
You still can implement a preview mode yourself by listening to the url parameter (?preview=true) and loading the preview data with an additional client (with useCdn: false, withCredentials: true)
I am not sure about static nuxt-generate but I use it like this with universal rendering mode in my template (link).

Hey @jjjuulliiaann yeah I saw that on the repo you made. I'll go ahead and give that a try and see how that goes.. Have you implemented the preview mode like that for personal/client sites yet, and if so, does it work well?

Yes, I used it in a similar way before and it works well. What you have to keep in mind is building your groq queries in a way, that also works for unpublished pages as well as handling missing data in your nuxt pages/components.

Sounds good. Thanks for the help!


Type Error - please help

Hi,
I have tried several times to set this up but keep getting this error:
TypeError: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
at new NodeError (node:internal/errors:371:5)
at Hash.update (node:internal/crypto/hash:105:11)
at Object.generate (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/uuid.ts:11:11)
at new CameraAccessory (/homebridge/node_modules/homebridge-tapo-camera/src/cameraAccessory.ts:53:35)
at /homebridge/node_modules/homebridge-tapo-camera/src/cameraPlatform.ts:34:7
at Array.forEach ()
at CameraPlatform.didFinishLaunching (/homebridge/node_modules/homebridge-tapo-camera/src/cameraPlatform.ts:33:25)
at HomebridgeAPI.emit (node:events:402:35)
at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/homebridge/src/api.ts:275:10)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:173:14)
This is my config (have left out the specific details):
{
"platform": "TAPO-CAMERA",
"cameras": [
{
"name": "Adamo",
"ipAddress": "IP Address",
"password": "Tapo Password",
"streamPassword": "StreamPassword!",
"streamUser": "Stream User email",
"pullInterval": 60000,
"debug": false,
"disableStreaming": false,
"disablePrivacyAccessory": false,
"disableAlarmAccessory": false,
"disableMotionAccessory": false,
"lowQuality": false
},
{}
]
}
Please help, don't know what I'm doing wrong? Thanks Adam.

Can you please remive the empty configuration at the bottom? The leading {}
On Tue, 14 Dec 2021 at 22:43 adamjb85 @.***> wrote:

Hi,
I have tried several times to set this up but keep getting this error:
TypeError: The "data" argument must be of type string or an instance of
Buffer, TypedArray, or DataView. Received undefined
at new NodeError (node:internal/errors:371:5)
at Hash.update (node:internal/crypto/hash:105:11)
at Object.generate
(/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/uuid.ts:11:11)
at new CameraAccessory
(/homebridge/node_modules/homebridge-tapo-camera/src/cameraAccessory.ts:53:35)
at
/homebridge/node_modules/homebridge-tapo-camera/src/cameraPlatform.ts:34:7
at Array.forEach ()
at CameraPlatform.didFinishLaunching
(/homebridge/node_modules/homebridge-tapo-camera/src/cameraPlatform.ts:33:25)
at HomebridgeAPI.emit (node:events:402:35)
at HomebridgeAPI.signalFinished
(/usr/local/lib/node_modules/homebridge/src/api.ts:275:10)
at Server.start
(/usr/local/lib/node_modules/homebridge/src/server.ts:173:14)
This is my config (have left out the specific details):
{
"platform": "TAPO-CAMERA",
"cameras": [
{
"name": "Adamo",
"ipAddress": "IP Address",
"password": "Tapo Password",
"streamPassword": "StreamPassword!",
"streamUser": "Stream User email",
"pullInterval": 60000,
"debug": false,
"disableStreaming": false,
"disablePrivacyAccessory": false,
"disableAlarmAccessory": false,
"disableMotionAccessory": false,
"lowQuality": false
},
{}
]
}
Please help, don't know what I'm doing wrong? Thanks Adam.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kopiro/homebridge-tapo-camera/issues/21, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGNAFDQT2NBOLX4T67P2ZTUQ63A3ANCNFSM5KCAVISQ
.

Ok, would you be able to provide the exact code please so I can copy and paste it as I’m still getting the error? Thanks

Adam Brown
Director
t. 08 8271 3366
m. 0432 853 558
www.wellconn.com.au
From: Flavio De Stefano @.>
Sent: Wednesday, December 15, 2021 4:22:17 PM
To: kopiro/homebridge-tapo-camera @.>
Cc: Adam Brown @.>; Author @.>
Subject: Re: [kopiro/homebridge-tapo-camera] Type Error - please help (Issue #21)
Can you please remive the empty configuration at the bottom? The leading {}
On Tue, 14 Dec 2021 at 22:43 adamjb85 @.***> wrote:

Hi,
I have tried several times to set this up but keep getting this error:
TypeError: The "data" argument must be of type string or an instance of
Buffer, TypedArray, or DataView. Received undefined
at new NodeError (node:internal/errors:371:5)
at Hash.update (node:internal/crypto/hash:105:11)
at Object.generate
(/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/uuid.ts:11:11)
at new CameraAccessory
(/homebridge/node_modules/homebridge-tapo-camera/src/cameraAccessory.ts:53:35)
at
/homebridge/node_modules/homebridge-tapo-camera/src/cameraPlatform.ts:34:7
at Array.forEach ()
at CameraPlatform.didFinishLaunching
(/homebridge/node_modules/homebridge-tapo-camera/src/cameraPlatform.ts:33:25)
at HomebridgeAPI.emit (node:events:402:35)
at HomebridgeAPI.signalFinished
(/usr/local/lib/node_modules/homebridge/src/api.ts:275:10)
at Server.start
(/usr/local/lib/node_modules/homebridge/src/server.ts:173:14)
This is my config (have left out the specific details):
{
"platform": "TAPO-CAMERA",
"cameras": [
{
"name": "Adamo",
"ipAddress": "IP Address",
"password": "Tapo Password",
"streamPassword": "StreamPassword!",
"streamUser": "Stream User email",
"pullInterval": 60000,
"debug": false,
"disableStreaming": false,
"disablePrivacyAccessory": false,
"disableAlarmAccessory": false,
"disableMotionAccessory": false,
"lowQuality": false
},
{}
]
}
Please help, don't know what I'm doing wrong? Thanks Adam.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kopiro/homebridge-tapo-camera/issues/21, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGNAFDQT2NBOLX4T67P2ZTUQ63A3ANCNFSM5KCAVISQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kopiro/homebridge-tapo-camera/issues/21#issuecomment-994315406, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AW5R3NZ3KPXL7LO76TKWBWTURAUJDANCNFSM5KCAVISQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

 {
 "platform": "TAPO-CAMERA",
 "cameras": [
 {
 "name": "Adamo",
 "ipAddress": "IP Address",
 "password": "Tapo Password",
 "streamPassword": "StreamPassword!",
 "streamUser": "Stream User email",
 "pullInterval": 60000,
 "debug": false,
 "disableStreaming": false,
 "disablePrivacyAccessory": false,
 "disableAlarmAccessory": false,
 "disableMotionAccessory": false,
 "lowQuality": false
 },
]


Adding tap target from feature discovery #3919

From material design guidelines
https://material.io/guidelines/growth-communications/feature-discovery.html
For test, click on icon to open/close a tap target:
http://codepen.io/anon/pen/wgGKva

@inventti-leonardo Looks great. I hope it's merged into the repository soon.

This was a really well made Pull Request. Kudos for getting all the compilation stuff right. I tweaked a bunch of the css and js and merged in bf01e95514495684d90754a16ba8eed25f0f074b

Nice @acburst  :)
I have been tested the tap target feature and got an issue. Can you merge this pull request too?
Fixed tap target position with scrollbars
https://github.com/Dogfalo/materialize/pull/4247


Remove requiring pry

I found require 'pry' in lib/rubocop/cop/style/numeric_literal_prefix.rb.
There is no need to require pry, and pry is not runtime dependency for rubocop.
It causes a LoadError.
~/test$ bundle init
Writing new Gemfile to /Users/meganemura/test/Gemfile
~/test$ echo "gem 'rubocop', github: 'bbatsov/rubocop'" >> Gemfile
~/test$ bundle install --path=gems --quiet
~/test$ bundle exec rubocop Gemfile
bundler: failed to load command: rubocop (/Users/meganemura/test/gems/ruby/2.3.0/bin/rubocop)
LoadError: cannot load such file -- pry
  /Users/meganemura/test/gems/ruby/2.3.0/bundler/gems/rubocop-efadc8eb9be1/lib/rubocop/cop/style/numeric_literal_prefix.rb:4:in `require'
  /Users/meganemura/test/gems/ruby/2.3.0/bundler/gems/rubocop-efadc8eb9be1/lib/rubocop/cop/style/numeric_literal_prefix.rb:4:in `<top (required)>'
  /Users/meganemura/test/gems/ruby/2.3.0/bundler/gems/rubocop-efadc8eb9be1/lib/rubocop.rb:292:in `require'
  /Users/meganemura/test/gems/ruby/2.3.0/bundler/gems/rubocop-efadc8eb9be1/lib/rubocop.rb:292:in `<top (required)>'
  /Users/meganemura/test/gems/ruby/2.3.0/bundler/gems/rubocop-efadc8eb9be1/bin/rubocop:7:in `require'
  /Users/meganemura/test/gems/ruby/2.3.0/bundler/gems/rubocop-efadc8eb9be1/bin/rubocop:7:in `<top (required)>'
  /Users/meganemura/test/gems/ruby/2.3.0/bin/rubocop:23:in `load'
  /Users/meganemura/test/gems/ruby/2.3.0/bin/rubocop:23:in `<top (required)>'

So I removed it.
StyleNumericLiteralPrefix is unreleased feature. Therefore I didn't write CHANGELOG.md.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it)
[x] Squashed related commits together.
[ ] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.

I ran into the same issue. :+1:

:+1:


Added support for KVM teamd devices to LibvirtComputingResource.java

This will allow KVM users to utilize teamd nic teaming devices named team*.

See also PR #812 and the comments there. Can anyone combine the two and address the comments in PR #812 please? If it can be done soon, we can merge it in 4.6. Thanks!

Agreed with @remibergsma, but the code-wise this is a LGTM.
One PR which includes #812 as well would be nice.

I'll take a look at #812 and see about combining them into this PR.

@dmabry I am already writng a combination. please review when done

@DaanHoogland Sounds good.  I'll hold off.  Thanks for the help.


No values in the header row & Duplicate header detected

I'm trying to read some sheets but I'm getting some errors:
const doc = new GoogleSpreadsheet('id-of-sheet');
doc.useOAuth2Client(oauthClient);
await doc.loadInfo();

for (const sheet of doc.sheetsByIndex) {
    const allrows = await sheet.getRows();
    console.log(Object.keys(allrows[0]));
}

But I get some errors on:
await sheet.getRows();
The errors are self-explanatory but not sure what to do about them.
I don't want to change the sheets...
Is there another way to get the contents of the sheet?
Javascript: Error: No values in the header row - fill the first row with header values before trying to interact with rows
Javascript: Error: Duplicate header detected: "options overrides". Please make sure all non-empty headers are unique

you can use the cell based methods and just read the cells directly.
The row based methods try to simplify and treat the sheet like a very simple db, which means it needs unique headers to use as column names.


Some toctree improvements + add skipped test for non-titlesonly toctrees

This library has the same issue as doctrine/rst-parser, where each toctree is assumed to be :titlesonly: and no sub-section titles are rendered. Although we are not using it in the Symfony documentation, we do have a test for this in our test suite somehow.
Lina has started a PR in the past to fix this for the Doctrine parser (https://github.com/doctrine/rst-parser/pull/199), we might reuse the logic from that PR to fix this test in the future.
Meanwhile, I've already made some minor improvements:

Use relative paths as test name, this makes it easy to filter data sets (e.g. ./vendor/bin/phpunit tests/Integration/IntegrationTest.php --filter testHtmlIntegration@toctree, currently "toctree" must be the full local path)
Remove the spaceless tag from the template. This tag is deprecated in Twig as has quite some edge cases where meaningfull spaces are removed, instead we should rely solely on the whitespace control characters. As a benefit, it makes the diff from failing toctree tests much easier to read (as each item is on its own line now)

Thanks for these improvements


rename methods in mfpackages submodule

I think we should consider renaming all the package constructor methods from: mfpackages.dis_from_model_ds to just dis etc.
Also we're going to be getting some similar names from the Gwt model, which I think means we should rename mfpackages to gwfpackages or even just gwf and add a gwt or gwtpackages submodule for all transport related mf6 package building.

I just made a pull request, #85, to add modpath, this also includes another structures for the mfpackages. I have not renamed dis_from_model_ds to dis because it may be hard if variables have the same names as functions. For example if we rename gwf_from_model_ds to gwf how are we going to call the gwf variable? I do think gwf_from_model_ds is too long so we should find something else.

some ideas:

dis_from_ds
get_dis
add_dis because you add the dis to the gwf
create_dis

I would go for dis_from_ds

Or renaming any internal references with name dis to something else :angel: ?
Because this is fine right?
dis = nlmod.gwf.dis(ds)


HTTP/2 HPACK Header Name Validation and Trailing Padding

Motivation:
The HPACK code currently disallows empty header names. This is not explicitly forbidden by the HPACK RFC https://tools.ietf.org/html/rfc7541. However the HTTP/1.x RFC https://tools.ietf.org/html/rfc7230#section-3.2 and thus HTTP/2 both disallow empty header names, and so this precondition check should be moved from the HPACK code to the protocol level.
HPACK also requires that string literals which are huffman encoded must be treated as an encoding error if the string has more than 7 trailing padding bits https://tools.ietf.org/html/rfc7541#section-5.2, but this is currently not enforced.
Result:

HPACK to allow empty header names
HTTP/1.x and HTTP/2 header validation should not allow empty header names
Enforce max of 7 trailing padding bits

Result:
Code is more compliant with the above mentioned RFCs
Fixes https://github.com/netty/netty/issues/5228

Merged from https://github.com/netty/netty/pull/5260 and https://github.com/golang/net/commit/6050c111928ef9186beb82e4395437607bb24bdb

@carl-mastrangelo looks good! Can you just add some docs (see my comments)?

@nmittler @normanmaurer PTAL.

@carl-mastrangelo LGTM ... just a couple of nits.  Can you address and rebase?

@nmittler @normanmaurer PTAL. Also lots of Done.

LGTM

Cherry-picked as into 4.1 (1cb706a)

This can be closed now.

Thanks @carl-mastrangelo @nmittler for taking care of the remaining issues!


Disable OpenSSL completely

Despite having the reqwest_rustls_tls feature enabled and default-features set to false, OpenSSL was still used by reqwest because hyper always uses it.
To disable OpenSSL, you need to disable the default features and enable the reqwest_rustls_tls feature.
In my case, OpenSSL was the cause of numerous segmentation faults, double frees, or corruption issues.

Hi, thank you for the PR!
Enabling HTTP/2 and the two SSL features by default isn't ideal, as these are outside the scope of this crate. It appears you may be scraping content and running into memory issues on the server, which can lead to various problems. I recommend using "crawl" with subscriptions and performing the operations in smaller chunks instead.
Thank you for understanding!

Yes, I understand, but I lose the utility of the smart feature and it's more expensive.
And the segfaults could happen again.

Yes, I understand, but I lose the utility of the smart feature and it's more expensive.
And the segfaults could happen again.

There's methods for smart crawling : website.crawl_smart.

There's methods for smart crawling : website.crawl_smart.

Yes, but I also need to retrieve the HTML content which is sometimes retrieved by an API and then inserted into the HTML.

There's methods for smart crawling : website.crawl_smart.

Yes, but I also need to retrieve the HTML content which is sometimes retrieved by an API and then inserted into the HTML.

Scraping doesn't change that. You still get the same html in the subscription.

Scraping doesn't change that. You still get the same html in the subscription.

okay, too bad

Maybe you should warn the other developpers in the doc concerning the segfault when openssl is used.

Maybe you should warn the other developers in the doc concerning the segfault when openssl is used.

Has nothing to do with OpenSSL. You are scraping and holding onto content in a controlled memory environment. When you run out of memory or low OpenSSL near the lowest layer on the OS stack.
Use the crawl methods with subscriptions instead of the scrape calls. The scrape method and crawl methods can do everything identical.

Maybe you should warn the other developers in the doc concerning the segfault when openssl is used.

Has nothing to do with OpenSSL. You are scraping and holding onto content in a controlled memory environment. When you run out of memory or low OpenSSL near the lowest layer on the OS stack.
Use the crawl methods with subscriptions instead of the scrape calls. The scrape method and crawl methods can do everything identical.

If someone really wants to hold onto all the content in memory try adding some swap.
The subscription example uses crawl and you get the same page object back.

with OpenSSL. You are scraping and holding onto content in a controlled memory

It's not a lack of memory, I have 50 GB and my program don't use more than 1.5 GB before the sefault.
And I don't understand why, since I disabled OpenSSL by using rust-tls no segfault occurs.

with OpenSSL. You are scraping and holding onto content in a controlled memory

It's not a lack of memory, I have 50 GB and my program don't use more than 1.5 GB before the sefault.
And I don't understand why, since I disabled OpenSSL by using rust-tls no segfault occurs.

Pin the custom version of request and change from OpenSSL etc from the crate can also be done.

with OpenSSL. You are scraping and holding onto content in a controlled memory

It's not a lack of memory, I have 50 GB and my program don't use more than 1.5 GB before the sefault.
And I don't understand why, since I disabled OpenSSL by using rust-tls no segfault occurs.

Pin the custom version of request and change from OpenSSL etc from the crate can also be done.

Yes, that's what I did, but try doing a cargo tree -i openssl and you will still see openssl being used by reqwest despite your feature reqwest_rustls_tls

Enabling HTTP/2 and the two SSL features by default isn't ideal,
Sorry but I forgot to say it. http2 is enabled by default and you are using it. Because I disabled default features of reqwest that is necessary to use rust-tls because by default default-tls is enabled.
So without that your reqwest_rustls_tls  feature doesn't work.

Enabling HTTP/2 and the two SSL features by default isn't ideal,

Sorry but I forgot to say it. http2 is enabled by default and you are using it. Because I disabled default features of reqwest that is necessary to use rust-tls because by default default-tls is enabled. So without that your reqwest_rustls_tls  feature doesn't work.

Not keeping up with the flags on reqwest, they have a handful and versions change. When you use http in the configuration or set it by default it will not work for every website using `website.with_http2_prior_knowledge(true). Not aware if that exact flag will enable that by default for everyone at the latest version etc.
When pinning the version of the deps from a crate the way spider is set building will override the crates.


Fix spacing

4 spaces is not PEP-8, we can change to indentations of 2 spaces throughout the repo.

4 spaces is PEP-8, 2 is not. Closing this


support of Hausa

Thanks for your contribution to the community. I am wondering whether the ccnet contains the Hausa language (ISO id: ha/hau)? Because in the xlm-r paper, Table 6 mentioned that Hausa was included in CCNet. However, I didn't find the language code of Hausa in the dumped files and fasttext lid's document.

Hi, in the XLM-R paper they used a Facebook internal LID model, which has support for Hausa.
The LID model isn't open source, and I'm not aware of plan to open source it.
But I'm currently working on releasing the data used in the XLM-R paper, which will contain the Hausa corpus.

Hi Li, I've added dl_cc_100.py that will contains the Hausa.
If you don't want run this yourself you can look at http://data.statmt.org/cc-100/, that have been released recently but I'm not 100% sure that you'll get the same results.

@gwenzek  Thanks for the open-source effort! The corpus is very useful to the community.

Hi Li, I've added dl_cc_100.py that will contains the Hausa.
If you don't want run this yourself you can look at http://data.statmt.org/cc-100/, that have been released recently but I'm not 100% sure that you'll get the same results.

@gwenzek , is the data shared in http://data.statmt.org/cc-100/, the same used to pre-train XLM-R ? because when comparing the document size in this web page and XLM-R paper, they are not the same values
Thanks


[ISSUE #7199] grpcClientChannel header add null judgement

https://github.com/apache/rocketmq/issues/7199

@Oliverwqcwrw Can you look at this pr?

@RongtongJin Can you help merge this pr

@Oliverwqcwrw Can you help merge this pr

@RongtongJin  Can you help merge this pr

@Oliverwqcwrw Can you look at this pr?

@Oliverwqcwrw Can you look at this pr?

Thanks for your contribution


ocr does not work well with chinese picture

Characters are not detected well:
http://www.dongeasy.com/wp-content/uploads/2017/08/221309ez8y5z1nlfmi91s7.png

This is not correct issue report. Please respect instruction for posting issues.


Command setScheduldedDeparture throws TypeError: tjs.setScheduledDepartureAsync is not a function

Hi, I'm building a simple solution to turn on ScheduledDeparture for one day only (which the Tesla app cannot do).
My flow is a simple one: setScheduledDeparture on, wait for next day 11pm , setScheduledDeparture off
My problem: I can't get the Command setScheduledDeparture to work. The node throws
TypeError: tjs.setScheduledDepartureAsync is not a function
My setup:

the node is configured, selected command is " setScheduledDeparture".
I inject this message

{"_msgid":"c7e5c2b645ea2f52",
"payload":1644252929966,
"topic":"",
"commandArgs":{
     "enable":true,
     "departure_time":420,
     "preconditioning_enabled":true,
     "preconditioning_weekdays_only":false,
     "off_peak_charging_enabled":false,
     "off_peak_charging_weekdays_only":false,
     "end_off_peak_time":360
     }
}

I also tried with only one commandArgs: "enable", still not working, same error
I also tried with no commandArgs and get another error: "TypeError: Cannot read property 'enable' of undefined" (which is expected)
every other tesla node (eg setChargeLimit) is working
car is awake

What would be a working json inject? Or is this a defect?

Defect confirmed by another person here: https://discourse.nodered.org/t/node-red-contrib-tesla-setscheduldeddeparture-typeerror-tjs-setscheduleddepartureasync-is-not-a-function/57942/4

Use the compatible teslajs library I have updated @.***/teslajs). The
pull to the main branch is not available yet I think.
Le mer. 9 févr. 2022 à 00:33, Michael-K-at-GitHub @.***>
a écrit :

Defect confirmed by another person here:
https://discourse.nodered.org/t/node-red-contrib-tesla-setscheduldeddeparture-typeerror-tjs-setscheduleddepartureasync-is-not-a-function/57942/4
—
Reply to this email directly, view it on GitHub
https://github.com/onokje/node-red-contrib-tesla/issues/43#issuecomment-1033168089,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADUNWNPIDU6V6FWTWQCTBDDU2GR3HANCNFSM5N3R6HLA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Will try that. The one in src now, pulled today?

In fact, the issue is in this package dependencies I think. node-red-contrib-tesla requires "teslajs-4.10.0" to have this API available (and not 4.9.11).

I may have a add on to this issue.  If I set the precondition to false and then to true, the time is midnight even though I sent 450.  I need to send twice to the call to get it to update.


Remove dependency on testng.xml file

Integrate this information into the POM, and provide default variables to set as a result, defining group, method, class, or package

Unsure if you've seen this or not
http://maven.apache.org/surefire/maven-failsafe-plugin/examples/testng.html

Yup, thanks!
On Thu, Feb 15, 2018 at 2:59 PM, Max Saperstone<EMAIL_ADDRESS>wrote:

Unsure if you've seen this or not
http://maven.apache.org/surefire/maven-failsafe-
plugin/examples/testng.html
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/Coveros/selenified/issues/54#issuecomment-366044047,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARcrgvRSLxOM3X9EGpoQ1FDIrK5EC9Vdks5tVIyogaJpZM4QEi49
.

--
Hammid Funsho
Consulting Automation Engineer
Coveros
<EMAIL_ADDRESS><EMAIL_ADDRESS>281-451-6845


Media object and text-overflow in v3.3.2

I recently update my project from Bootstrap 3.2.x to 3.3.2 (last release) and I discover an important difference with the Media Object element.
I want to use in the media-heading the special less mixin .text-overflow() to add the following css attribute to the title :
.media-heading {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

That works well (very well) in Bootstrap 3.2, you can see it in the following plnkr : Media-List in 3.2
But, since 3.3.x I can't use ellipsis and text-overflow inside header : Media-List in 3.3.2
You can compare the picture below :
![View in Bootstrap 3.2.0][1]
![View in Boostrap 3.3.2][2]
[1]: http://i.stack.imgur.com/75nOx.png
[2]: http://i.stack.imgur.com/ww4sD.png
It seems to be a regression, linked to the solution of #14990
This behavior is very frustrating, especially on mobile device.
I've opened a question on stackoverflow and the natural solution was to go back to the media-list css of version 3.2 (display : block and width : auto).
Thanks for your help.

Hi @davinkevin!
You appear to have posted a live example (http://run.plnkr.co/plunks/B7cGRbw8DxtnXgFhnmvM/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

W001: <head> is missing UTF-8 charset <meta> tag
W002: <head> is missing X-UA-Compatible <meta> tag that disables old IE compatibility modes
W003: <head> is missing viewport <meta> tag that enables responsiveness
W005: Unable to locate jQuery, which is required for Bootstrap's JavaScript plugins to work
line 15, column 9: W010: Using .pull-left or .pull-right as part of the media object component is deprecated as of Bootstrap v3.3.0. Use .media-left or .media-right instead.
line 26, column 9: W010: Using .pull-left or .pull-right as part of the media object component is deprecated as of Bootstrap v3.3.0. Use .media-left or .media-right instead.
line 37, column 9: W010: Using .pull-left or .pull-right as part of the media object component is deprecated as of Bootstrap v3.3.0. Use .media-left or .media-right instead.
line 5, column 5: W013: Bootstrap version might be outdated. Latest version is at least 3.3.2 ; saw what appears to be usage of Bootstrap 3.2.0
line 6, column 5: W013: Bootstrap version might be outdated. Latest version is at least 3.3.2 ; saw what appears to be usage of Bootstrap 3.2.0

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

Hi @davinkevin!
You appear to have posted a live example (http://run.plnkr.co/plunks/GAqClT8LZlSSSwduXEa0/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

W001: <head> is missing UTF-8 charset <meta> tag
W002: <head> is missing X-UA-Compatible <meta> tag that disables old IE compatibility modes
W003: <head> is missing viewport <meta> tag that enables responsiveness
W005: Unable to locate jQuery, which is required for Bootstrap's JavaScript plugins to work
line 15, column 9: W010: Using .pull-left or .pull-right as part of the media object component is deprecated as of Bootstrap v3.3.0. Use .media-left or .media-right instead.
line 26, column 9: W010: Using .pull-left or .pull-right as part of the media object component is deprecated as of Bootstrap v3.3.0. Use .media-left or .media-right instead.
line 37, column 9: W010: Using .pull-left or .pull-right as part of the media object component is deprecated as of Bootstrap v3.3.0. Use .media-left or .media-right instead.
line 5, column 5: W013: Bootstrap version might be outdated. Latest version is at least 3.3.2 ; saw what appears to be usage of Bootstrap 3.3.1
line 6, column 5: W013: Bootstrap version might be outdated. Latest version is at least 3.3.2 ; saw what appears to be usage of Bootstrap 3.3.1

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

W001, W002, W003, W005 Solved.
W010 Solved in 3.3.2 (not in 3.2 of course)
W013 Solved in 3.3.2 (not in 3.2 of course)
The ellipsis still don't appear.
Thanks

/cc @stubbornella @mdo

I'm pretty sure this is caused by display: table-cell on .media-body which was not there in 3.2.0

Overflow hidden crops off fly out menus and tooltips, whereas table-cell doesn't play nicely with ellipsis.
A flex box solution would probably solve for both but the IE support is pretty bad.
This isn't a case where there is a perfect solution. They all have advantages and drawbacks.
On Sun, Mar 1, 2015 at 5:58 AM, Kevin Kirsche<EMAIL_ADDRESS>wrote:

I'm pretty sure this is caused by display: table-cell on .media-body which was not there in 3.2.0
Reply to this email directly or view it on GitHub:
https://github.com/twbs/bootstrap/issues/15958#issuecomment-76597712

I agree with kkirsche, I believe that width: 10000px is breaking the word wrap. Here is a JSbin of the text-overflow not working correctly in media-body to further explain the extent of this bug:
http://jsbin.com/lofuwu/1/edit?html,output
I'm on Chrome Version 41.0.2272.89 (64-bit) on OSX Yosemite 10.10.2.

Not sure what we could do to change that at this point—the media width is the only way to accomplish that particular layout as I recall.

This might end up being a won't fix in v3.

Going for the won't fix for now.

This bug also appears when nowrap is not used, and the text is not wrappable, such as with a long url


Profile "favorites" bug

When a user has no favorites and you try to navigate to the "favorites" tab, it shows the loader forever.

I know about this one!


Child property as item label

I need to set child property of input-model as item label.
plnkr

Hi @malibeg ,
Unfortunately there's no support for that out-of-the-box, so you need to modify the code yourself.


Legal updates from CELA

CELA has provided replacement licence files which include separate licenses for CC and code snippets. The Content Engineering Team has been tasked with replacing the license files on all existing repos. The changes to the README file must be at the top of the file to be recognized by license scanners.

Please see this communication for more details: Legal Update Notice

Please accept the PR as soon as possible.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

LICENSE
:white_check_mark:Succeeded

README.md
:white_check_mark:Succeeded

ThirdPartyNotices
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Adding logic for using region from aws config file

This is to address https://issues.redhat.com/browse/OSD-3543

/cancel hold

/hold cancel
;)


Event sourcing for Projections

Currently each Projection instance is a single record, holding the latest state and handling a number of Events, to which it is subscribed. In distributed environments the updates of a single record are complicated. In particular, cloud-based messaging systems often lack of exactly-once delivery and ordering features.
In order to provide idempotence and handle out-of-order Events properly, we need to make Projections built from an event history, played from the latest snapshot.
Basically, upon event dispatching a ProjectionRepository will need to read the history for the instance similar to what AggregateRepository does.
In addition, such an approach will allow to handle out-of-order Event instances, that are sometimes dispatched. In particular, such an event will be naturally built into the history for the particular instance; however, some of snapshots may need to be updated, as they may become invalid — as they were built with no presence of out-of-order event.
After #604 is addressed, ProjectionRepository will have two storages:

ProjectionStorage, operating the history of events and snapshots; used to build a state of instance upon event dispatching;
StandStorage which will serve for read-side querying only.

The implementation will be based upon system bounded context, not upon a separate storage. See #733.


Missing packages (wordpress recommendation)

When I look at the "site-health.php" following php modules are "missing":
imagick + zip
Is it possible to integrate those?

You should be able to switch those and other php plugins on via environment variables.. Have a peek at the options of the upstream [tiredofit/nginx-php-fpm](https://github.com/tiredofit/docker-nginx-php-fpm) image. If they are mandatory requirements I can add them into the Dockerfile.

recommended packages are listed here: https://make.wordpress.org/hosting/handbook/server-environment/#php-extensions
this includes zip and imagick

Excellent! Thanks for the reconnaissance - 5.8.1 declares those extensions and more as enabled.
https://github.com/tiredofit/docker-wordpress/commit/026c1cfa6293b3aa10abb83468ea235e36c7a364

I am on :latest_php8.3 and I see this in the logs on start of the container:
2024-04-15T11:34:04.701862000Z + php_actual_plugins_enabled=' apcu bcmath bz2 ctype curl dom exif fileinfo gd iconv igbinary'
2024-04-15T11:34:04.701993000Z + for module in $(echo "${php_env_plugins_enabled}" | tr "," "\n")
2024-04-15T11:34:04.702117000Z + '[' -f /etc/php83//mods-available/imagick.ini ']'
2024-04-15T11:34:04.702279000Z + print_error 'Requested enabling imagick however it doesn'\''t exist!'
2024-04-15T11:34:04.702421000Z + output_off
2024-04-15T11:34:04.702548000Z + '[' true = true ']'
2024-04-15T11:34:04.702673000Z + set +x
2024-04-15T11:34:04.724473000Z 2024-04-15.11:34:04 [ERROR] /etc/cont-init.d/20-php-fpm ** [php-fpm] Requested enabling imagick however it doesn't exist!
2024-04-15T11:34:04.752744000Z + for module in $(echo "${php_env_plugins_enabled}" | tr "," "\n")

Wordpress also shows this extensions missing.
@tiredofit P.S.: have you seen my email about dolibarr?

Interesting. I can recreate this on 8.3 and I also see an issue with Zlib, however thats an extension that can't be switched on or off it seems so will pull.
It looks like there is a problem with my upstream image. A new version of Nginx was released today so I'm going to let that build under tiredofit/nginx , and then will push the fixes in tiredofit/nginx-php-fpm - Following that, will push a new version of Wordpress that will trigger new builds and also cleanup the Zlib false error that is appearing.. Should be sometime towards the end of my business day after all is said and done, but perfect for the timezone difference.
Re Dolibarr, I recall 2 emails a few months ago but nothing as of recent. Can you resend if something has been since then?

OK, that went quicker than I thought. 5.8.2 or latest should give solve the imagemagick issue!

5.8.2 works great.


Allow included builds to contribute settings plugins

https://github.com/gradle/gradle/issues/14562
This change allows builds that contribute build logic to be included via a new (private for now) API in settings:
pluginManagement {
    includeBuild('included-build')
}

Behavior of builds included using this API:

If a settings plugin is applied in a project and if it is not found in a binary repository, then included builds (included using the new API) will be configured and searched for settings plugins.

If a plugin is applied in a project without a version specified or a plugin with a given version is not found in binary repositories, then included builds (included via the new API) will be configured (possibly early for settings plugins) and searched for plugins.

Can contribute project plugins. If the above conditions that would trigger early configuration of those builds are not satisfied, the builds will be configured at the time the regular included builds (included outside of pluginManagement {}) are configured. If the build happens to be configured early because of the above conditions, it can still contribute project plugins.

Can not contribute library components to the build. Regular included builds, included outside of pluginManagement {} should be used for this. If a build contributes both build logic and libraries, then such build should be included twice - once in pluginManagement {} and once outside it. This works similarly to repositories - they are separate for plugins and production components and if the same repository is used for both, it is specified once for each use case.

This PR is gold, thank you so much for doing it!


[Trivial] Remove BookRef and IssueRef (RIPD-1028)

Reviewers: @vinniefalco @scottschurr

The comment would be good to fix, but is not essential.
I'm assuming that the change is motivated by the realization that neither Currency nor AccountID are particularly heavy weight.  It makes a lot more sense for them to be carried by value than to have to worry about obscure lifetime-related crashes.  I agree.  And passing Issue and Book by const& is both smart and idiomatic.
Is the plan to remove the ByValue related template machinery in a later pull request?  That unused machinery really should be yanked, and I think removing it should be largely mechanical as well.
So, assuming that there is some plan in place for removing the now unused template machinery, I'm good with this code.  :+1:

We definitely want to remove the template and clean out anything related to it.

Thanks Scott, comment fixed.

Current coverage is 49.22%

Merging #1304 into develop will not affect coverage as of 557808b

@@            develop   #1304   diff @@
=======================================
  Files           957     957
  Stmts         65515   65508     -7
  Branches          0       0
  Methods           0       0
=======================================
- Hit           32250   32245     -5
  Partial           0       0
+ Missed        33265   33263     -2

Review entire Coverage Diff as of 557808b

Powered by Codecov. Updated on successful CI builds.

The template is still there?

Note that this is not a trivial change

@vinniefalco Which template?

IssueType<>, BookType<>

I'm assuming that this pull request is waiting on the conversion of BookType<true> to a non-templated Book and , similarly, conversion of IssueType<true> to a non-templated Issue.  Personally, I'm okay with that happening in a separate pull request as long as there's a plan for that to happen.  Otherwise this code looks good to me.

:+1:


[Event Request] - OnAfterSetSecurityFilterOnRespCenter in Table 38 "Purchase Header"

Hello, please consider adding the following event to Table 38 "Purchase Header"
    [IntegrationEvent(false, false)]
    local procedure OnAfterSetSecurityFilterOnRespCenter(var PurchaseHeader: Record "Purchase Header")
    begin
    end;

and call it accordingly inside "SetSecurityFilterOnRespCenter" procedure:
    procedure SetSecurityFilterOnRespCenter()
    var
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeSetSecurityFilterOnRespCenter(Rec, IsHandled);
        if (not IsHandled) and (UserSetupMgt.GetPurchasesFilter <> '') then begin
            FilterGroup(2);
            SetRange("Responsibility Center", UserSetupMgt.GetPurchasesFilter);
            FilterGroup(0);
        end;

        SetRange("Date Filter", 0D, WorkDate());

        **OnAfterSetSecurityFilterOnRespCenter(Rec);**
    end;

Thank you!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 49563.


Typo: listObj.get() return array not object

Successfully mislead me, can not mislead others

Codecov Report

Merging #752 (f3c15b0) into master (d32c85d) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head f3c15b0 differs from pull request most recent head 94f2a76. Consider uploading reports for the commit 94f2a76 to get more accurate results

@@           Coverage Diff           @@
##           master     #752   +/-   ##
=======================================
  Coverage   93.54%   93.54%
=======================================
  Files          19       19
  Lines         837      837
  Branches      199      199
=======================================
  Hits          783      783
  Misses         38       38
  Partials       16       16

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more