Chrome browser blank

How to reproduce -
Create a new project by 'flutter create '
then 'flutter run -d chrome'
It sure opens the chrome browser with blank screen. It doesn't even reach entry point, main().
Below is 'flutter doctor -v'
[√] Flutter (Channel dev, v1.15.18, on Microsoft Windows [Version 10.0.17763.1039], locale en-IN)
• Flutter version 1.15.18 at C:\src\flutter
• Framework revision<PHONE_NUMBER> (23 hours ago), 2020-03-06 10:24:23 -0800
• Engine revision 5aff311948
• Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Program Files (x86)\Android\android-sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = C:\Program Files (x86)\Android\android-sdk
• 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.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] Connected device (2 available)
• Chrome     • chrome     • web-javascript • Google Chrome 80.0.3987.132
• Web Server • web-server • web-javascript • Flutter Tools
• No issues found!
I tried with both master and dev channels. I saw this issue being raised for different reasons. This shows missing js files, which I found them at sdk folder, which are not being copied(referenced) to the localhost temp folders.

Can you attach verbose logs from flutter run?

I'm having the same issue, here's my logs.

LOGS
PS E:\code\cloverleaf\flutter\cloverleaf> flutter doctor -v
Downloading android-arm-profile/windows-x64 tools...                3.7s
Downloading android-arm-release/windows-x64 tools...                3.2s
Downloading android-arm64-profile/windows-x64 tools...              3.8s
Downloading android-arm64-release/windows-x64 tools...              7.7s
Downloading android-x64-profile/windows-x64 tools...                5.9s
Downloading android-x64-release/windows-x64 tools...                4.1s
[√] Flutter (Channel dev, v1.15.18, on Microsoft Windows [Version 10.0.18362.657], locale en-GB)
    • Flutter version 1.15.18 at C:\flutter
    • Framework revision<PHONE_NUMBER> (27 hours ago), 2020-03-06 10:24:23 -0800
    • Engine revision 5aff311948
    • Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\allie\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.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.

[√] Chrome - develop for the web

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code, 64-bit edition (version 1.42.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.8.1

[√] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • unknown
    • Web Server • web-server • web-javascript • Flutter Tools

• No issues found!
PS E:\code\cloverleaf\flutter\cloverleaf> flutter run -d chrome -v
[  +27 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +77 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ]<PHONE_NUMBER>adaa91e3df31cd9ce85133e401cd51
[        ] executing: [C:\flutter/] git fetch https://github.com/flutter/flutter.git --tags
[+35129 ms] Exit code 0 from: git fetch https://github.com/flutter/flutter.git --tags
[   +2 ms] From https://github.com/flutter/flutter
            * branch                HEAD       -> FETCH_HEAD
[        ] executing: [C:\flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +63 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.15.18-0-g943763959
[  +11 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +45 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +35 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +83 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +45 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[  +40 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +42 ms] executing: C:\Users\allie\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +29 ms] Exit code 0 from: C:\Users\allie\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[        ] List of devices attached
[  +10 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[  +11 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +181 ms] Generating E:\code\cloverleaf\flutter\cloverleaf\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +108 ms] Launching lib\main.dart on Chrome in debug mode...
[  +76 ms] Serving DevTools at http://<IP_ADDRESS>:61277

[   +6 ms] Updating assets
[  +88 ms] Syncing files to device Chrome...
[  +45 ms] Generating E:\code\cloverleaf\flutter\cloverleaf\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +61 ms] <- reset
[   +8 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter\bin\cache\flutter_web_sdk/
--incremental --target=dartdevc -Ddart.developer.causal_async_stacks=true --output-dill C:\Users\allie\AppData\Local\Temp\flutter_tool.1966b789-60b9-11ea-86d7-00bb604af408\app.dill
--libraries-spec file:///C:/flutter/bin/cache/flutter_web_sdk/libraries.json --packages E:\code\cloverleaf\flutter\cloverleaf\.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation
--filesystem-root C:\Users\allie\AppData\Local\Temp\flutter_tools.1966b78a-60b9-11ea-86d7-00bb604af408 --filesystem-scheme org-dartlang-app --platform
file:///C:/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[  +23 ms] <- compile org-dartlang-app:///web_entrypoint.dart
[+14031 ms] Syncing files to device Chrome... (completed in 14,162ms, longer than expected)
[   +1 ms] Synced 20.7MB.
[        ] <- accept
[ +195 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:61298/devtools/browser/8fcef328-aeb1-4288-8f74-16aad19cb195

I'm having the same issue, here's my logs. This is the default counter boilerplate, not anything custom.
LOGS
PS E:\code\cloverleaf\flutter\cloverleaf> flutter doctor -v
Downloading android-arm-profile/windows-x64 tools...                3.7s
Downloading android-arm-release/windows-x64 tools...                3.2s
Downloading android-arm64-profile/windows-x64 tools...              3.8s
Downloading android-arm64-release/windows-x64 tools...              7.7s
Downloading android-x64-profile/windows-x64 tools...                5.9s
Downloading android-x64-release/windows-x64 tools...                4.1s
[√] Flutter (Channel dev, v1.15.18, on Microsoft Windows [Version 10.0.18362.657], locale en-GB)
    • Flutter version 1.15.18 at C:\flutter
    • Framework revision<PHONE_NUMBER> (27 hours ago), 2020-03-06 10:24:23 -0800
    • Engine revision 5aff311948
    • Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\allie\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.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.

[√] Chrome - develop for the web

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code, 64-bit edition (version 1.42.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.8.1

[√] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • unknown
    • Web Server • web-server • web-javascript • Flutter Tools

• No issues found!
PS E:\code\cloverleaf\flutter\cloverleaf> flutter run -d chrome -v
[  +27 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +77 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ]<PHONE_NUMBER>adaa91e3df31cd9ce85133e401cd51
[        ] executing: [C:\flutter/] git fetch https://github.com/flutter/flutter.git --tags
[+35129 ms] Exit code 0 from: git fetch https://github.com/flutter/flutter.git --tags
[   +2 ms] From https://github.com/flutter/flutter
            * branch                HEAD       -> FETCH_HEAD
[        ] executing: [C:\flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +63 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.15.18-0-g943763959
[  +11 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +45 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +35 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +83 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +45 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[  +40 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +42 ms] executing: C:\Users\allie\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +29 ms] Exit code 0 from: C:\Users\allie\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[        ] List of devices attached
[  +10 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[  +11 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +181 ms] Generating E:\code\cloverleaf\flutter\cloverleaf\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +108 ms] Launching lib\main.dart on Chrome in debug mode...
[  +76 ms] Serving DevTools at http://<IP_ADDRESS>:61277

[   +6 ms] Updating assets
[  +88 ms] Syncing files to device Chrome...
[  +45 ms] Generating E:\code\cloverleaf\flutter\cloverleaf\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +61 ms] <- reset
[   +8 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter\bin\cache\flutter_web_sdk/
--incremental --target=dartdevc -Ddart.developer.causal_async_stacks=true --output-dill C:\Users\allie\AppData\Local\Temp\flutter_tool.1966b789-60b9-11ea-86d7-00bb604af408\app.dill
--libraries-spec file:///C:/flutter/bin/cache/flutter_web_sdk/libraries.json --packages E:\code\cloverleaf\flutter\cloverleaf\.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation
--filesystem-root C:\Users\allie\AppData\Local\Temp\flutter_tools.1966b78a-60b9-11ea-86d7-00bb604af408 --filesystem-scheme org-dartlang-app --platform
file:///C:/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[  +23 ms] <- compile org-dartlang-app:///web_entrypoint.dart
[+14031 ms] Syncing files to device Chrome... (completed in 14,162ms, longer than expected)
[   +1 ms] Synced 20.7MB.
[        ] <- accept
[ +195 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:61298/devtools/browser/8fcef328-aeb1-4288-8f74-16aad19cb195

Sorry the 'Close' was by mistake. Below is my flutter run verbose.
[  +40 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +89 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] e13e17009dcb009f12335eb281f7295ba42de771
[   +1 ms] executing: [C:\src\flutter/] git describe --match v*.. --first-parent --long --tags
[  +73 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[   +1 ms] v1.15.18-9-ge13e17009
[  +11 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +55 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/master
[   +1 ms] executing: [C:\src\flutter/] git ls-remote --get-url origin
[  +53 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +119 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[  +58 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] master
[  +61 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +51 ms] executing: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe devices -l
[  +35 ms] Exit code 0 from: C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe devices -l
[   +1 ms] List of devices attached
[  +15 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +320 ms] Generating W:\Trials\flutter\trythis\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +182 ms] Launching lib\main.dart on Chrome in debug mode...
[  +93 ms] Serving DevTools at http://<IP_ADDRESS>:60263
[   +8 ms] Updating assets
[ +133 ms] Syncing files to device Chrome...
[ +188 ms] Generating W:\Trials\flutter\trythis\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +75 ms] <- reset
[  +18 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\src\flutter\bin\cache\flutter_web_sdk/ --incremental --target=dartdevc -Ddart.developer.causal_async_stacks=true --output-dill
C:\Users\sharath\AppData\Local\Temp\flutter_tool.cebdf1a6-60f9-11ea-8158-2816ad6ab5a2\app.dill --libraries-spec file:///C:/src/flutter/bin/cache/flutter_web_sdk/libraries.json --packages
W:\Trials\flutter\trythis.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-root C:\Users\sharath\AppData\Local\Temp\flutter_tools.cebdf1a7-60f9-11ea-8158-2816ad6ab5a2 --filesystem-scheme org-dartlang-app --platform
file:///C:/src/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[  +60 ms] <- compile org-dartlang-app:///web_entrypoint.dart
[+22681 ms] Syncing files to device Chrome... (completed in 23,008ms, longer than expected)
[   +2 ms] Synced 20.7MB.
[   +1 ms] <- accept
[ +620 ms] [CHROME]:
[   +9 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:60311/devtools/browser/235837e0-efc5-4f0b-a04e-3a30acff2995

Same issue here. Sync files to device Chrome take forever.

Logs
D:\Project\Android\Flutter\Handmade\Web\basic>flutter run -d chrome -v
[  +48 ms] executing: [C:\Android\Flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +60 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] e2331d2b03ea51c4ad740330c8c94d86c3afe48f
[   +1 ms] executing: [C:\Android\Flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +44 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[   +1 ms] v1.15.18-13-ge2331d2b0
[   +7 ms] executing: [C:\Android\Flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/master
[        ] executing: [C:\Android\Flutter/] git ls-remote --get-url origin
[  +31 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +72 ms] executing: [C:\Android\Flutter/] git rev-parse --abbrev-ref HEAD
[  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +37 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +39 ms] executing: C:\Android\platform-tools\adb.exe devices -l
[  +26 ms] Exit code 0 from: C:\Android\platform-tools\adb.exe devices -l
[   +2 ms] List of devices attached
[  +27 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +9 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +682 ms] Generating
D:\Project\Android\Flutter\Handmade\Web\basic\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +128 ms] Launching lib\main.dart on Chrome in debug mode...
[ +100 ms] Serving DevTools at http://<IP_ADDRESS>:54338

[   +9 ms] Updating assets
[ +331 ms] Syncing files to device Chrome...
[  +61 ms] Generating
D:\Project\Android\Flutter\Handmade\Web\basic\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +81 ms] <- reset
[  +11 ms] C:\Android\Flutter\bin\cache\dart-sdk\bin\dart.exe
C:\Android\Flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Android\Flutter\bin\cache\flutter_web_sdk/ --incremental --target=dartdevc -Ddart.developer.causal_async_stacks=true
--output-dill C:\Users\badri\AppData\Local\Temp\flutter_tool.ad99d38f-6143-11ea-9a13-fedc6b9267a5\app.dill
--libraries-spec file:///C:/Android/Flutter/bin/cache/flutter_web_sdk/libraries.json --packages
D:\Project\Android\Flutter\Handmade\Web\basic\.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-root
C:\Users\badri\AppData\Local\Temp\flutter_tools.ad99d390-6143-11ea-9a13-fedc6b9267a5 --filesystem-scheme
org-dartlang-app --platform file:///C:/Android/Flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[  +10 ms] <- compile org-dartlang-app:///web_entrypoint.dart
[+20265 ms] Syncing files to device Chrome... (completed in 20,418ms, longer than expected)
[+419682 ms] Synced 20.7MB.
[   +4 ms] <- accept
[ +200 ms] [CHROME]:
[   +3 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:54918/devtools/browser/93728df4-9e1c-4a6f-a6ae-03ac2a33d169

D:\Project\Android\Flutter\Handmade\Web\basic>flutter doctor -v
[√] Flutter (Channel master, v1.15.19-pre.13, on Microsoft Windows [Version 10.0.18363.657], locale en-US)
    • Flutter version 1.15.19-pre.13 at C:\Android\Flutter
    • Framework revision e2331d2b03 (4 hours ago), 2020-03-08 06:11:01 -0400
    • Engine revision 162199452e
    • Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Android
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = C:\Android
    • ANDROID_SDK_ROOT = C:\Android\tools
    • 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.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.42.1)
    • VS Code at C:\Users\badri\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.8.1

[√] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • Google Chrome 80.0.3987.132
    • Web Server • web-server • web-javascript • Flutter Tools

• No issues found!

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

So, I try to switch the channel to beta, somehow it works. I got the problem only when using the master channel.
also, don't forget to disable antivirus.

\cc @yjbanov

This is different from #49103 , since it involves  require.js and dart_sdk not loading properly. FWIW i cannot repro on either infra or my personal windows machine

So, I try to switch the channel to beta, somehow it works.

I'm on the beta channel so I don't know what's up. I just installed flutter as well so I'm not sure what about my install is so cursed.

@ChildishGiant the logs you posted say you're on dev:
[√] Flutter (Channel dev, v1.15.18, on Microsoft Windows [Version 10.0.18362.657], locale en-GB)
    • Flutter version 1.15.18 at C:\flutter
    • Framework revision<PHONE_NUMBER> (27 hours ago), 2020-03-06 10:24:23 -0800
    • Engine revision 5aff311948
    • Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)

Ah sorry, I got the two confused. I recall being on beta initially but switching to dev when it was blank. I swapped back now and "somehow it works". The increment button doesn't work but that'd be another issue.

I tried simplifying the stack_trace_mapper and require.js loading logic. If you're willing to bounce over to master to check it out It would be helpful to see if that solves the issue or if there is more to it

Thanks for your hard work @jonahwilliams . I just try it and it works properly now

Is there more work to do here?

I'll wait til we hear back from the original filler.

I just need to switch to dev and attempt to run?

I have same issue
Copy of https://github.com/flutter/flutter/issues/53112

Sorry, not active due to Corona, Yes! this works fine now on master. (didn't check dev). Closing this. Thank you so much @jonahwilliams . Thanks for the time.


[meta] Change 'type' field in package.json to 'module'

Depends on https://github.com/karen-irc/option-t/issues/815

Reopened by https://github.com/karen-irc/option-t/issues/816


Add vaultwarden

https://github.com/dani-garcia/vaultwarden/tree/main/docker
https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples
https://github.com/dani-garcia/vaultwarden/wiki/Using-the-PostgreSQL-Backend

https://github.com/dani-garcia/vaultwarden/blob/main/.env.template

https://github.com/dani-garcia/vaultwarden/discussions/3462


Negative ViewHolder position

Please add on readme to be careful of ViewHolder position, after an analyse of the source code, I discovered that the first header has a negative ID, this value can be a problem if you check it during the method onBindViewHolder, my code used to cancel the process if the ID is negative. I had problems to fill the copy header view and I solved it just treating this negative ID.
I was doing something like this:
override fun onBindViewHolder(holder: ViewHolder, position: Int) {

    if (holder.adapterPosition < 0) {
      return
    }

    //Continue binding the ViewHolder...
}

Thank you.

Why are you checking holder.adapterPosition? In onBindViewHolder You are given a new position for an item from your dataset to bind into the holder. That's all that matters.

Please reopen if you can expand on the issue.


work queue: fix some race conditions

ScheduledWorkItem::ScheduleClear: remove item from runnable queue

The existing behavior is unexpected: if the work item is already on the
runnable queue, it will still be triggered after a call to ScheduleClear().
This can lead to race conditions.

uorb callbacks: fix unregister ordering to avoid race conditions

Mostly only relevant for driver/module stopping, so not critical for current users.

@bkueng Could you please tag the person you expect to review? I've tagged Daniel now.

Thanks @bkueng. I lot of the "shutdown" behavior had been glossed over. I was hoping after https://github.com/PX4/Firmware/pull/12191 (or similar) we could add a specialized version for WorkItems.


Fix: Increase password max length and accept '-' for username in regex

fix issue: #561
fix issue: https://discord.com/channels/1086345563026489514/1121274461887402004
Raise the password max length to 128 characters
Add "-" to the regex
Allow pasting in the "password confirmation" box
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] My changes generate no new warnings

I'm not a project developer, but thanks for submitting this.  I took a quick look at it, and commented on some cases where the error message was not accurate.
Looking at it a little more, it looks like there's also some inconsistency in the minimum length.  (6 in the api backend, 8 in the client frontend.)  Though I guess a user would never see that unless they're accessing the API directly.

@Infinoid Thanks for pointing that out, I've set the min password length to 8 and changed the max length message


Safe to run multiple StatsigServer instances?

I would like to integrate Statsig into our backend, which is a python server running on AWS. Depending on load it's possible that multiple instances of our backend will exist, and thus multiple instances of the StatsigServer would exist as well. Is this supported? Would there be any problems having multiple instances syncing with a single account/key?

Hi @nrj  - there shouldn't be any problem doing that. The StatsigServer class can be created multiple times with the same server secret. Give it a try and feel free to reopen the issue if you run into any problem.

Great, thanks!


collect console log in renderer tests

This is a patch for #50 that collects the console log and prints it at the end.

@DeeDeeG turns out using async.parallel does not work well with Atom. Switching to async.series, not most of the tests pass without any issues.
We can try async.parallelLimit which limits the number of processes that run in parallel.


Auto add leading space for {{ and {%

I think this plugin should automatically add space between the opening and closing tag.
So {{ is expanded to {{}}, but should be expanded to {{ | }} (where | represent the cursor).
Same for {% expanded to {%%} instead of {% | %}.

Space between the tags is the recommended style from the Twig website, but not mandatory.
So maybe this could be an option, but I don't know anyone who would disable this as it make the code harder to read.


Package exhibitor and create a NixOS module for it

We currently have a nice ZooKeper module and package, but apparently all the cool kids run ZK via Exhibitor, which we don't have packaged or any module around. Anyone feel like packaging and/or writing a module for it?
cc @nathan-gs @cstrahan @pradeepchhetri who have dealt with ZK

I would like to own this. Thank you for bringing this up.

Let's assign it to you then – informally, as GitHub only allows that for organization members (or some similar condition).

Thanks @pradeepchhetri!

@pradeepchhetri is this happening?

@puffnfresh Sorry for the delay. Yes I am working on this.

@pradeepchhetri any progress?

FYI, I took a crack at this in #27508


Detect onlyCMS.

Is it possible to add onlyCMS? I am not very good ad git, and can't create pull request.
OnlyCMS uses this meta tag:
<meta name="cms" content="onlycms">

The website for onlyCMS is: https://ocms.berkearas.de/


Running the code

hi,
My python config is py = 3.6 , Tensorflow = 1.12
I tried running th code as it is on my machine and got a runtime error,

File "main.py", line 16, in main
scan = SCAN(sess, cfg)
TypeError: init() takes 2 positional arguments but 3 were given

I've also tried py=3.4 and tensorflow=1.10 it gives the same error.
Can you please help me out?

For what it's worth:
In SCAN.py, replace
class SCAN(object):
   def __init__(self, cfg):
      self.cfg = cfg
      self.img_encoder = VAE.Encoder()
      self.img_decoder = VAE.Decoder()
      self.sym_encoder = MLP.Encoder()
      self.sym_decoder = MLP.Decoder()

by
class SCAN(object):
   def __init__(self, sess, cfg):
      self.sess = sess
      self.cfg = cfg
      self.img_encoder = VAE.Encoder(cfg)
      self.img_decoder = VAE.Decoder(cfg)
      self.sym_encoder = MLP.Encoder(cfg)
      self.sym_decoder = MLP.Decoder(cfg)


[BUG]: Youtube transcript retrieves an empty file o some channels

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
I can get transcripts for some channels, such as https://www.youtube.com/watch?v=O5GY7_aVBtk
But other channels fail, such as https://www.youtube.com/watch?v=V9KJ7nvhRWk
This results in a zero-byte file in the AppData\Roaming\anythingllm-desktop\storage\documents[channelname] folder.
I did confirm that Youtube shows a transcript for that video. This seems to be across all videos in a channel.
Are there known steps to reproduce?
Select data connectors-Youtube Trascript in the document upload.
use https://www.youtube.com/watch?v=V9KJ7nvhRWk as the video link.
Check if it found any data in the file.

Have you tried this again recently? I have tried both links you provided and I'm able to get the transcript for both videos. I think you may have been rate limited from pulling in too many video transcripts, too quickly. This might happen because we are leveraging a hidden/undocumented API by YouTube in order to pull in all the transcripts (with unknown rate limits).


ignore removed files

When deleting a large file from the repository, the check should not fail because of the removed file...

@zzgab thank you for this PR. Forgive me for not circling back soon on this.

Hi @ppremk, any updates on this? How can I help you with the review?
Thanks

Apologies, It is now merged @zzgab 🙇🏽 . Thank you for the contribution once again ❤ 🎉

I will cut a new release soon. Pending the merge from another open PR


Add Typescript Support

https://github.com/RasCarlito/axios-cache-adapter/issues/85

Hey @bluelovers !
Thanks for your contribution 😃


Remove duplicate key sdxl-refiner

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[X] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Community Node Submission

Have you discussed this change with the InvokeAI team?

[ ] Yes
[X] No, because:

Have you updated all relevant documentation?

[ ] Yes
[ ] No

Description
remove duplicate key sdxl-refiner
Related Tickets & Documents

Related Issue #
Closes #

QA Instructions, Screenshots, Recordings

Added/updated tests?

[ ] Yes
[ ] No : please replace this line with details on why tests
have not been included

[optional] Are there any post deployment tasks we need to perform?

lstein was ontop of it


Add hash to IL Function objects

They didn't have a hash method so I added one so I can use them in sets. It's really just the hash of the Function object plus a string to indicate it's MLIL or LLIL

Okay, accepted Ryan's suggestions, can I get this merged so I don't have to keep modifying my mediumlevelil.py file every time I update? Hahahaha


Query and update animals table

In this milestone, I did next activities:

Update 'animals' tables in SQL.
Insert and query data in SQL.
Search data by Query

According to the exercises, I added a column species of type string to your animals' table.
After that, I typed some queries, and their results
1. Inside a transaction update the animals table by setting the species column to unspecified. Verify that change was made. Then roll back the change and verify that the species columns went back to the state before the transaction.
Inside a transaction:

    Update the animals table by setting the species column to digimon for all animals that have a name ending in mon.
    Update the animals table by setting the species column to pokemon for all animals that don't have species already set.
    Commit the transaction.
    Verify that change was made and persists after commit.

Take a screenshot of the results of your actions.

2. Now, take a deep breath and... Inside a transaction delete all records in the animals table, then roll back the transaction.
After the rollback verify if all records in the animals table still exists. After that, you can start breathing as usual ;)
Take a screenshot of the results of your actions.

3. Inside a transaction:

    Delete all animals born after Jan 1st, 2022.
    Create a savepoint for the transaction.
    Update all animals' weight to be their weight multiplied by -1.
    Rollback to the savepoint
    Update all animals' weights that are negative to be their weight multiplied by -1.
    Commit transaction

Take a screenshot of the results of your actions.

Write queries to answer the following questions:

How many animals are there?

How many animals have never tried to escape?

What is the average weight of animals?

Who escapes the most, neutered or not neutered animals?

What is the minimum and maximum weight of each type of animal?

What is the average number of escape attempts per animal type of those born between 1990 and 2000?

I've fixed the weight_kg of "Blossom" pokemon from 20.4kg to 17.0kg
According to the exercises, I added a column species of type string to your animals' table.
After that, I typed some queries, and their results
1. Inside a transaction update the animals table by setting the species column to unspecified. Verify that change was made. Then roll back the change and verify that the species columns went back to the state before the transaction.
Inside a transaction:

    Update the animals table by setting the species column to digimon for all animals that have a name ending in mon.
    Update the animals table by setting the species column to pokemon for all animals that don't have species already set.
    Commit the transaction.
    Verify that change was made and persists after commit.

Take a screenshot of the results of your actions.

2. Now, take a deep breath and... Inside a transaction delete all records in the animals table, then roll back the transaction.
After the rollback verify if all records in the animals table still exists. After that, you can start breathing as usual ;)
Take a screenshot of the results of your actions.

3. Inside a transaction:

    Delete all animals born after Jan 1st, 2022.
    Create a savepoint for the transaction.
    Update all animals' weight to be their weight multiplied by -1.
    Rollback to the savepoint
    Update all animals' weights that are negative to be their weight multiplied by -1.
    Commit transaction

Take a screenshot of the results of your actions.

Write queries to answer the following questions:

How many animals are there?

How many animals have never tried to escape?

What is the average weight of animals?

Who escapes the most, neutered or not neutered animals?

What is the minimum and maximum weight of each type of animal?

What is the average number of escape attempts per animal type of those born between 1990 and 2000?


Identify lightweight pre-trained models for fine-tuning.

As developers, we need to identify at least (2) lightweight pretrained models to fine-tune with our use-case specific dataset. This will allow use to leverage pretraining for model generalization and will expedite the training process to ensure timely completion of the project.

I have downloaded the IOT dataset and will bring the USB drives to class. it's 16gb :) I have also gathered the Windows event logs dataset, which is 35Gigs and I will also bring to class.

wrong post here


[NSObject] Rename replacementObjectFor... to match the Darwin version

@swift-ci please test and merge


pipe output

Is there any built in way to pipe the output of initial searches or filtered searches or manpages themselves?

You can use -R flag to get CSV-formatted output from the search query.

thanks that will work


https://pypi.org/project/OpenNMT-py/

Hello Guys,
I am the maintainer of OpenNMT-py on Github.
We are about to make it pypi compatible but we discovered that you guys registered already the OpenNMT-py project on pypi.org
Can you please delete it so that we can keep this in a legit way ?
Many thanks,
Vincent

Hello, I have deleted the project, the name is available again. Sorry for the inconveniences.

Thanks


Metallb add-ons are not working

Describe the bug
When deploying vHive, the metallb pods are not running due to docker image issues.
To Reproduce
Try deploying vHive using steps from the quick start guide.
Expected behavior
All pods should be in the running/ completed stage.
Logs
metallb-system     controller-557988499-cj7f2                 0/1     ImagePullBackOff   0               11m
metallb-system     speaker-6p8p2                              0/1     ImagePullBackOff   0               11m
metallb-system     speaker-fs2jm                              0/1     ImagePullBackOff   0               11m

Events:
  Type     Reason                  Age                  From               Message
  ----     ------                  ----                 ----               -------
  Normal   Scheduled               12m                  default-scheduler  Successfully assigned metallb-system/controller-557988499-cj7f2 to worker-node-1
  Warning  FailedCreatePodSandBox  12m                  kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "5bb171ab7b381c4eeca5a53a2bcff477cdcd75bd5be8edbfdf208536fa0ae296": plugin type="calico" failed (add): error getting ClusterInformation: resource does not exist: ClusterInformation(default) with error: clusterinformations.crd.projectcalico.org "default" not found
  Normal   Pulling                 10m (x4 over 12m)    kubelet            Pulling image "metallb/controller:v0.9.4"
  Warning  Failed                  10m (x4 over 12m)    kubelet            Failed to pull image "metallb/controller:v0.9.4": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/metallb/controller:v0.9.4": failed to resolve reference "docker.io/metallb/controller:v0.9.4": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
  Warning  Failed                  10m (x4 over 12m)    kubelet            Error: ErrImagePull
  Warning  Failed                  10m (x6 over 12m)    kubelet            Error: ImagePullBackOff
  Normal   BackOff                 2m5s (x43 over 12m)  kubelet            Back-off pulling image "metallb/controller:v0.9.4"

Notes
The problem is because of a change in the registry of metallb add ons. Link to the PR fix in Kubernetes repo is here: https://github.com/kubernetes/minikube/pull/16056. I am not sure how to replicate this in the vHive set up.

Will be fixed by https://github.com/vhive-serverless/vHive/pull/699

@ustiugov should this be closed?


deprecate classicElements() structure

Review: By commit
Merge strategy: Merge (no squash)

Description
In the early days of Basilisk the use of the ClassicElementsMsgPayload() message structure was also used
inside some BSK modules as an internal data structure to store orbit element information.  This entanglement
survived the move from BSK v1 to v2 but is now untangled in this branch.  The use of classicElements() is
now deprecated.  Instead, a new data structure called ClassicElements() is defined in orbitalMotion.h
and should be used if a module need to store classical orbit elements. The use of planetEmphemeris.ClassicElementsMsgPayload() still works but is deprecated as well.
The python scripts have been updated
such that they all now define orbit element data structures using orbitalMotion.ClassicElements().
The code was lifted from the LASP fork of BSK and revised to ensure all commits do compile, added deprecation
functionality and release notes.
Verification
The deprecation was tests on the python scripts prior to them being updated to the new ClassicElements()
data structures.  All tests pass again without issues.
Documentation
Update release notes
Future work
In one year the use of classicalElements() should be removed.

Sounds like we are going to find a way to auto-notify deprecating the old functionality in a year, otherwise the PR looks great!

@andrewmorell , I just added the test we discussed that makes sure the depreciated msg structure setting still works.  The warning is silenced.  But, if the deprecation date passed the warning is shown with purest as we wanted.


tls: add test for tls keywords v4

Previous PR : https://github.com/OISF/suricata-verify/pull/1076
Describe Changes:

Update test.rules to fix typo

Not sure if its related or not but the build failure is due to the test test-bad-hex-rule-2

After incorporating feedback from last PR , I added tests for the new keywords that replace the legacy one. Should I change the commit message to reflect that?

Is this expecting a Suricata PR to pass ?

Is this expecting a Suricata PR to pass ?

Shouldn't be, as this is just increasing testing coverage for existing keywords...

After incorporating feedback from last PR , I added tests for the new keywords that replace the legacy one. Should I change the commit message to reflect that?

sorry for taking so long to answer D:
Better to, yes. :)
It is ok to have that in the commit body, if it doesn't fit in the title.

Not sure if its related or not but the build failure is due to the test test-bad-hex-rule-2

I've triggered a re-run for that failure. If this still fails, I would suggest rebasing and submitting a new PR - which would also work well since you're about to change the commit messages, too :)

I see that the checks have passed

Followed by #1106


Resize organ contents after small

I do not understand the failing test here...

I understand the failing test now, turns out liberating the king leaks all sorts of things everywhere in the test environment


Mac OS 10.9.2 (Mavericks) installing Spyder from source: Can't start/launch Spyder

From<EMAIL_ADDRESS>on 2014-04-13T04:26:19Z
Please note that reporting bugs from Spyder's help menu ("?" > "Report
issue...") will fill version details for Spyder, Python and Qt in this description for you.
What steps will reproduce the problem?

Install python, python3, Qt4, Qt5, PyQt4, PyQt5 and all other dependencies using brew/homebrew
Download spyder source zip archive (there is NO brew formula)
install spyder as per documentation
Added
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
to my bash profile to get rid of a nasty "UTF-8 unknown" error
start spyder What is the expected output? What do you see instead? I expected a GUI
I get the following warning/error:

File "/usr/local/lib/python2.7/site-packages/spyderlib/requirements.py", line 24, in show_warning
raise RuntimeError(message)
RuntimeError: Please check Spyder installation requirements:
PyQt4 4.4+ (or PySide 1.1.1+) is required. What version of the product are you using? On what operating system? Spyder 2.2.5
Mac OS 10.9.2
Please provide any additional information below
. I have PyQt4 and PyQt5 installed (per homebrew). I noticed Spyder uses Python2, I usually use Python3. So I copied and edited the file /usr/local/bin/spyder to point to Python3:
#!/usr/local/opt/python3/bin/python3.4
from spyderlib import start_app
start_app.main()
Didn't help, then I get this error:
rerun:bin mike$ pwd
/usr/local/bin
rerun:bin mike$ spyder
Traceback (most recent call last):
File "/usr/local/bin/spyder", line 2, in <module>
from spyderlib import start_app
File "/usr/local/lib/python3.4/site-packages/spyderlib/start_app.py", line 12, in <module>
from spyderlib.baseconfig import get_conf_path
File "/usr/local/lib/python3.4/site-packages/spyderlib/baseconfig.py", line 184
except IOError, _e:  # analysis:ignore
^
SyntaxError: invalid syntax
rerun:bin mike$
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1791

From<EMAIL_ADDRESS>on 2014-04-16T23:48:05Z
Hi
thanks for your help. Obviously, I was not clear (on the web site), my fault. Before trying to point spyder to Python 3, I did try with Python 2 and got the error about missing requirements:
please see screen shot
As I wrote, I have both PyQt4 and PyQt5 installed via brew:
please see screen shot
which is why I don't understand the error message. It might be that spyder does not find PyQt4, but it sure is installed... any other ideas?
Thanks
Mike
Attachment: Screen Shot 2014-04-16 at 20.30.07.png Screen Shot 2014-04-16 at 20.41.34.png

From ccordoba12 on 2014-04-16T08:52:02Z
Spyder 2.2.5 is not compatible with Python 3. What happens if you use as shebang
#!/usr/local/opt/python2/bin/python2.7
or the right path to your Python 2 interpreter?

From<EMAIL_ADDRESS>on 2014-04-17T07:33:47Z
the output is /usr/local/bin/python
which is the homebrew one (at least that's the way I've set it up)

From ccordoba12 on 2014-04-17T06:18:54Z
Are you sure you are installing/starting Spyder with your Homebrew Python version instead of the System one?
What is the output of
which python
in a terminal?
Labels: OpSys-OSX Cat-Miscelleneous

From<EMAIL_ADDRESS>on 2014-04-19T19:57:14Z
FWIW, the MacPorts install works on Mavericks.

From<EMAIL_ADDRESS>on 2014-04-19T23:24:27Z
I'm aware of MacPorts, and there are reasons I (and others) are not using it. As I wrote above, I'm using homebrew... and I'll stay with that.
I'm trying to get to the root of the cause to help others as well as myself. If all else fails, I can always use a "all-in-one" Python installation (like e.g. Anaconda) but I'd like to even avoid that...

From ccordoba12 on 2014-10-12T17:27:44Z
I hope you find how to fix this one. I also use Spyder through homebrew and it works just fine.
Status: WontFix

From<EMAIL_ADDRESS>on 2014-04-20T09:07:44Z
Not trying to hijack the thread, but if you're willing to share your reasons for not using MP, I'd be interested to hear -- we're always looking for ways to improve it. Feel free to shoot me an e-mail. (eborisch)


[flutter_tools] add more error context to tree shaker failure

Description
Since --tree-shake-icons is on by default, tell users how to disable it in the error messages.
Fixes https://github.com/flutter/flutter/issues/63248#issuecomment-671074906

hostonly_devicelab_tests did not phone home, landing


[feature] Provide an action for refreshing node info for all nodes in the zwave network

Is your feature request related to a problem? Please describe.
When the openzwave devices classes or manufacturer specific configurations are updated, I need to refresh the cached configuration information by updating node information.
Describe the solution you'd like
zwave2mqtt has a "refresh node info" setting to automatically refresh all node info upon startup.  I would like a way to manually invoke this action as needed.
Describe alternatives you've considered
I could temporarily enable the automatic refresh setting, restart zwave2mqtt, then disable the setting again but it's inconvenient.
Additional context
I encountered this problem because my device database path was incorrect when I first set up the system so it was unable to find device_classes.xml.  While I have resolved that issue, I do expect to need to refresh node information occasionally as I perform zwave network maintenance or contribute new manufacturer specific configurations for my devices.

I could temporarily enable the automatic refresh setting, restart zwave2mqtt, then disable the setting again but it's inconvenient.

This is the main reason about that, it ensures that the refresh is done only when the node is ready and the scan is completed. That flag should never be always enabled

Yeah, it would be a bad idea to keep the refresh on all the time.  A more powerful alternative might be to provide support for bulk actions on multiple nodes.
For example, the user clicks checkboxes to select several nodes (or perhaps all, or perhaps all matching some criterion) then invokes the Refresh Node Info, Get Neighbors, Ping, or similar maintenance actions.

Ok I add this to TODOs so

Cool!  Yay!  :)
On Tue, Jun 23, 2020 at 11:04 PM Daniel Lando<EMAIL_ADDRESS>wrote:

Ok I add this to TODOs so
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenZWave/Zwave2Mqtt/issues/596#issuecomment-648610325,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAY7BEWYLT64IERP2J5OPDRYGJONANCNFSM4ODRXSZA
.

@j9brown A PR is ready for this and will be available in next release!


Hide anchors in callouts

A regression of #27661
@MartijnCuppens: maybe with just CSS or alternatively if we could make them use h5-h6 consistently, we could allow h2-h4 for anchors.

BTW going back to anchors.js is an acceptable solution too for me since it's not a huge dep anyway. But the current solution is certainly slimmer.

@MartijnCuppens: it seems there are more cases we need to handle like in modals.
Maybe we should just revert this change?


Allow to chain assertions calling assert that

when calling twice assert that assertions are overriden

added in kest 0.0.3


Add divider for link title field

There seems to be more going on in here than just adding a divider.


dask-jobqueue for Fujitsu HPC

In the dask-jobqueue, there are a lot of APIs for supercomputer structures.
However, there is no Fujitsu HPC. Fujitsu structure is widely used in Japan. In the job script, it should be #PJM. Is it possible?

Hi @MichaelChaoLi-cpu,
Thanks for rising an issue here!
It's always possible to add new job queuing system implementation in dask-jobqueue. However it needs someone that knows well the underlying job scheduler and can devote time to this implementation. Would you want to give it a try?

Hi @guillaumeeb
Thanks for replying. I am not very familiar with this, but I will try to ask the supercomputer sysadmin to support this.
Let me contact him.
Anyway, thanks for your time!

Hi @guillaumeeb
In fact, I have a problem to solve. Can you provide some information about this?
I am training a sklearn.ensemble.RandomForestRegressor
from sklearn.datasets import make_regression
X, y = make_regression(n_samples = 6300000, n_features = 55, random_state=1) ### size is 6,300,000, huge!

from sklearn.ensemble import RandomForestRegressor
model = RandomForestRegressor(n_estimators=1000, oob_score=True, random_state=1, n_jobs=36)
model.fit(X, y)

I tried it on one node (180GB memory, 36 cores) of a cluster (I have 16 these nodes in this cluster), but it failed. However, if I use the node with 360GB and 36 cores, it can run smoothly (This is a different type and I just have one).
So. memory is the limitation. Furthermore, training the model on one node with 36 cores is slow, even though the training works on the 360GB node. Of course, I hope that I can use all the cores.
Could Dask distribute the data into four nodes (180GB * 4) and run the program in parallel? Using all 180GB4 and 36 cores4.
Thank you. (This problem has confused me for a long time. I would really appreciate it if you or someone you know could give me some hints)
Best regards

@MichaelChaoLi-cpu, I'm going to delete your last message here. I see you posted the question on Dask Discourse which is really the good place for that. Moreover, this question didn't have anything to do with your first question.


Add extension point to StringMatcher

This mirrors the change made in https://github.com/envoyproxy/envoy/pull/32586

@mmorel-35 Could the changes in #85 cause the CI error?

I believe that the CI is saying that the golang hasn't been updated after the modification of the protobuf. Am I misreading it ?

I believe that the CI is saying that the golang hasn't been updated after the modification of the protobuf. Am I misreading it ?

I don't remember that we needed to that previously. I wonder what triggered the need for #85. I guess it could be a prior PR, but want to make sure that everything is aligned.

Ah, I see in DEVOLPER.md the steps I needed to regenerate those files

I don't remember that we needed to that previously

i think this always been the case

Ack, thanks @mmorel-35 and @phlax! apologies for the unneeded ping.


Create a Button just with context

For almost all the views it is possible to create them using the constructor with just the Context parameter. For the class Button it is not possible because of the row 37:
clickAfterRipple = attrs.getAttributeBooleanValue(MATERIALDESIGNXML,"animate", true);
Can you check at this row if attrs is null? This would allow us to create buttons programmatically...
RelativeLayout -> CustomView -> Button
in this queue only the Button class (and all its sons) has the problem because of the get on attrs. Its parents allow to create objects with attrs set to null

+1 on this


Adding a new rebus

Associated Issue: #121
Summary of Changes
Added a new rebus.

Pull Request Test Coverage Report for Build 547

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


About Lastline data。。

Thanks for sharing your great job!!!But how can I get the Lastline data?Hope for your response :p

Thank you for your interest in DeepCASE, I appreciate it!
Unfortunately, due to the NDA we signed, we cannot share the Lastline dataset with anyone (see here).
Real-world security alert data may contain sensitive data from customers and therefore this data cannot be shared.
If you would like to use DeepCASE, it should offer support for any of your own data (see deepcase.readthedocs.io, and can be tested with the HDFS dataset that is openly available for download here.
Good luck with your future efforts!


[QUESTION] Work on FaceIT ?

📝 Provide a description of the new feature
Juste a small question about Dexterion and FaceIT...was wondering if it's detected on FaceIT...
➕ Additional Information
No response

I think it is. but you're free to test it for yourself!

better to re-code it to use a kernelmode driver before testing it out though

Nope, i think you will get an insta ban or 1d delayed ban cuz Face IT is a kernel anti-cheat you should re-code or make it invisible to face-it

Closing issue, conclusión all cheats works in faceit but as face.it is kernel anti-cheat your acc will be banned in 1 or 2 days. You should create a private cheat bypassing faceit anti-cheat that would benmore secured.


Trouble getting advanced mode to work

I have the standard presets working, however as soon as I add environment variable ADVANCED_MODE = false (not even enabling it), even the standard presets mode no longer works.
I am using a lambda_basic_execution role with AmazonSQSFullAccess and AmazonDynamoDBFullAccess:

as suggested by this closed issue: https://github.com/rgraciano/echo-sonos/issues/78
However alexa's response is "There was a problem with the requested skill's response" (with or without ADVANCED_MODE set to true or false in my aws env vars console). Further, using the "Enter Utterance" of "alexa, ask sonos to resume" (after successfully asking it to stop before I put in the Advanced Mode env var) returns lambda response: The remote endpoint could not be called, or the response it returned was invalid.
I'm sure I just need to be educated.. If I have advanced mode enabled and DEFAULT_MUSIC_SERVICE = spotify in env vars in my aws lambda, do I need to also connect Spotify to my echo dot device? (I've tried both ways, no dice).
Very cool stuff here..almost there, just need a little more help

guessing that this is all working now, since I saw you helping on another thread?

Maybe I don't understand how it works. If I can simply say "Alexa ask sonos to turn repeat on" (without saying which room), is that the extent of 'Advanced Mode"?
Looking at #3 in the docs:
Take the node-sonos-http-api/presets.json that I have here and drop it into the "presets" folder in your node-sonos-http-api root directory. Modify it to use your speaker names and your favorite stations. Make sure the preset names are lowercase (like "test" and "rock" in my example). NOTE: You can skip this step if you only want to use Playlists, Favorites, or Advanced Mode, which require no configuration.
So - without any preset defined, I can simply utter 'Alexa ask sonos to play {Sonos Favorite Name} this will also work.
I think I got this mixed up with DEFAULT_MUSIC_SERVICE - not clear how that works. So this case is closed but I'll probably open one for DEFAULT_MUSIC_SERVICE if I can't figure it out.


Superseded Instances Policy

Description
AWS and Azure Superseded Instances Policy
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

I am worried there is going to be some confusion with this and the Azure Superseded Instances policy.
https://github.com/rightscale/policy_templates/tree/master/cost/azure/superseded_instance_types
@cdwilhelm Thoughts?

@srpomeroy yeah.  I'm thinking the Azure policy should be deprecated.  it's probably a decision by product though.

@rshade  can google be added to this policy?


parse_code报错

The specific requirements for fine-tuning algorithms for the Hua project are not clear.
2023-07-06 16:20:38.774 | INFO     | metagpt.provider.openai_api:update_cost:91 - Total running cost: $0.007 | Max budget: $3.000 | Current cost: $0.004, prompt_tokens=1235, completion_tokens=561
2023-07-06 16:20:38.777 | ERROR    | metagpt.utils.common:parse_code:66 - .*?\s+(.*?) not match following text:
2023-07-06 16:20:38.778 | ERROR    | metagpt.utils.common:parse_code:67 - training_platform
Traceback (most recent call last):
File "D:\Code\MetaGPT\startup.py", line 29, in
fire.Fire(main)
File "D:\Anaconda\envs\metagpt\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "D:\Anaconda\envs\metagpt\lib\site-packages\fire\core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "D:\Anaconda\envs\metagpt\lib\site-packages\fire\core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "D:\Code\MetaGPT\startup.py", line 25, in main
asyncio.run(startup(idea, investment))
raise Exception
Exception
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000021B94788E50>
Traceback (most recent call last):
File "D:\Anaconda\envs\metagpt\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "D:\Anaconda\envs\metagpt\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "D:\Anaconda\envs\metagpt\lib\asyncio\base_events.py", line 751, in call_soon
self._check_closed()
File "D:\Anaconda\envs\metagpt\lib\asyncio\base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

是否可以提供更多的日志？

2023-07-06 17:50:43.056 | INFO     | metagpt.config:init:43 - Config loading done.
2023-07-06 17:50:43.057 | INFO     | metagpt.config:init:49 - Set OPENAI_API_BASE in case of network issues
2023-07-06 17:50:43.370 | WARNING  | metagpt.actions.search_and_summarize:run:114 - Configure SERPAPI_API_KEY to unlock full feature
2023-07-06 17:50:43.371 | INFO     | metagpt.actions.write_prd:run:71 -
2023-07-06 17:50:43.371 | INFO     | metagpt.actions.write_prd:run:72 -
2023-07-06 17:51:11.276 | INFO     | metagpt.provider.openai_api:update_cost:91 - Total running cost: $0.003 | Max budget: $3.000 | Current cost: $0.003, prompt_tokens=714, completion_tokens=851
2023-07-06 17:51:11.278 | INFO     | metagpt.roles.role:_act:154 - ## Original Requirements:
[BOSS: xxx视觉训练平台作为整个视觉分析平台的视觉算法能力孵化中心，针对行业算法进行孵化迭代升级，并针对xxx项目特有的算法任务进行微调适应，以满足多种场景需求。]
As the AI visual training platform, we need to incubate and iterate industry algorithms to enhance the visual algorithm capabilities of the entire visual analysis platform. We also need to fine-tune and adapt the algorithms for the specific tasks of the Huayi project to meet various scene requirements.
Product Goals:

Provide a comprehensive visual training platform for AI algorithms
Enable efficient incubation and iteration of industry algorithms
Support fine-tuning and adaptation of algorithms for specific tasks

User Stories:

As a data scientist, I want to easily access and utilize a wide range of industry algorithms for visual analysis.
As a developer, I want to have a platform that allows me to efficiently incubate and iterate on AI algorithms.
As a project manager, I want to be able to fine-tune and adapt algorithms to meet the specific requirements of our project.
As a user, I want to experience seamless integration of algorithms in various scene scenarios.
As a researcher, I want to have access to a platform that enables me to explore and experiment with different visual analysis algorithms.

Competitive Analysis:

Competitor A: Offers a comprehensive visual training platform with a large library of industry algorithms.
Competitor B: Provides efficient tools for incubating and iterating on AI algorithms.
Competitor C: Specializes in fine-tuning and adapting algorithms for specific tasks.
Competitor D: Offers seamless integration of algorithms in various scene scenarios.
Competitor E: Focuses on providing a platform for researchers to explore and experiment with different visual analysis algorithms.
Competitor F: Provides a user-friendly interface for accessing and utilizing industry algorithms.
Competitor G: Offers a robust set of tools for efficient visual analysis algorithm development.

Competitive Quadrant Chart:
quadrantChart
    title Reach and engagement of platforms
    x-axis Low Reach --> High Reach
    y-axis Low Engagement --> High Engagement
    quadrant-1 We should expand
    quadrant-2 Need to promote
    quadrant-3 Re-evaluate
    quadrant-4 May be improved
    "Competitor A": [0.8, 0.7]
    "Competitor B": [0.6, 0.5]
    "Competitor C": [0.7, 0.6]
    "Competitor D": [0.5, 0.4]
    "Competitor E": [0.3, 0.5]
    "Competitor F": [0.6, 0.7]
    "Competitor G": [0.4, 0.6]
    "Our Target Product": [0.7, 0.7]

Requirement Analysis:

The platform should provide a comprehensive library of industry algorithms for visual analysis.
The platform should support efficient incubation and iteration of AI algorithms.
The platform should have tools for fine-tuning and adapting algorithms for specific tasks.
The platform should seamlessly integrate algorithms in various scene scenarios.
The platform should enable researchers to explore and experiment with different visual analysis algorithms.

Requirement Pool:

Provide a library of industry algorithms for visual analysis. (P0)
Develop tools for efficient incubation and iteration of AI algorithms. (P1)
Implement features for fine-tuning and adapting algorithms for specific tasks. (P1)
Ensure seamless integration of algorithms in various scene scenarios. (P2)
Enable researchers to explore and experiment with different visual analysis algorithms. (P2)

Anything UNCLEAR:
The specific requirements for fine-tuning and adapting algorithms for the Huayi project are not clear.
2023-07-06 17:51:34.804 | INFO     | metagpt.provider.openai_api:update_cost:91 - Total running cost: $0.007 | Max budget: $3.000 | Current cost: $0.004, prompt_tokens=1249, completion_tokens=755
2023-07-06 17:51:34.806 | ERROR    | metagpt.utils.common:parse_code:66 - .*?\s+(.*?) not match following text:
2023-07-06 17:51:34.807 | ERROR    | metagpt.utils.common:parse_code:67 -
Traceback (most recent call last):
File "D:\Code\MetaGPT\startup.py", line 29, in
fire.Fire(main)
File "D:\Anaconda\envs\metagpt\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "D:\Anaconda\envs\metagpt\lib\site-packages\fire\core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "D:\Anaconda\envs\metagpt\lib\site-packages\fire\core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "D:\Code\MetaGPT\startup.py", line 25, in main
asyncio.run(startup(idea, investment))
File "D:\Anaconda\envs\metagpt\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Anaconda\envs\metagpt\lib\asyncio\base_events.py", line 647, in run_until_complete
self._save(context, system_design)
File "D:\Code\MetaGPT\metagpt\actions\design_api.py", line 70, in _save
ws_name = CodeParser.parse_str(block="Python package name", text=system_design)
File "D:\Code\MetaGPT\metagpt\utils\common.py", line 73, in parse_str
code = cls.parse_code(block, text, lang)
File "D:\Code\MetaGPT\metagpt\utils\common.py", line 68, in parse_code
raise Exception
Exception
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000017A8D488E50>
Traceback (most recent call last):
File "D:\Anaconda\envs\metagpt\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "D:\Anaconda\envs\metagpt\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "D:\Anaconda\envs\metagpt\lib\asyncio\base_events.py", line 751, in call_soon
self._check_closed()
File "D:\Anaconda\envs\metagpt\lib\asyncio\base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

@geekan  我也遇到这个问题，测试了几次都是这个错误， 会不会因为我用的GPT3.5的原因。下面是详细的日志：
python startup.py "Write a Snake Game"
2023-07-09 17:41:28.549 | INFO     | metagpt.config:init:43 - Config loading done.
2023-07-09 17:41:28.549 | INFO     | metagpt.config:init:49 - Set OPENAI_API_BASE in case of network issues
2023-07-09 17:41:29.699 | INFO     | metagpt.software_company:invest:39 - Investment: $3.0.
2023-07-09 17:41:29.699 | INFO     | metagpt.roles.role:_act:153 - Alice(Product Manager): ready to WritePRD
Sure, I can help you with that. Writing a Snake Game can be a fun project. There are several resources available to guide you through the process. Here are a few options:

Snake Game Program using Pygame: This tutorial provides step-by-step instructions on creating a Snake Game using the Pygame library in Python. Pygame is a free and open-source library commonly used for game development.

Create a Snake-Game using Turtle in Python: This tutorial demonstrates how to create a Snake Game using the Turtle module in Python. Turtle is a built-in module in Python that allows for easy graphics and animation.

JavaScript snake game tutorial: Build a simple, interactive game: If you prefer to create the Snake Game using JavaScript, this tutorial is a great resource. It covers topics such as displaying the game board, making the snake move automatically, and handling user input.

Python Snake Game in 5 minutes - YouTube: This video tutorial on YouTube walks you through creating a Snake Game in Python using Pygame. It provides a concise demonstration of the process in just 60 lines of code.

Code a Snake Game with Python and Pygame - Tutorial: Another video tutorial on YouTube, this one focuses on building a Snake Game using Python and Pygame. It's a beginner-friendly project that can give you exposure to game development.

Feel free to choose the resource that best suits your preferences and programming language of choice. Happy coding!
Warning: gpt-3.5-turbo may change over time. Returning num tokens assuming gpt-3.5-turbo-0301.
2023-07-09 17:42:04.270 | INFO     | metagpt.provider.openai_api:update_cost:89 - Total running cost: $0.003 | Max budget: $3.000 | Current cost: $0.003, prompt_tokens=950, completion_tokens=382
2023-07-09 17:42:04.271 | INFO     | metagpt.actions.write_prd:run:72 - Snake Game in Python using Pygame which is free and open-source Python library used to create games.Create snake,add food,increase snake ...
[{'title': 'Snake Game Program using Pygame', 'link': 'https://www.edureka.co/blog/snake-game-with-pygame/', 'snippet': 'Snake Game in Python using Pygame which is free and open-source Python library used to create games.Create snake,add food,increase snake ...'}, {'title': 'Create a Snake-Game using Turtle in Python', 'link': 'https://www.geeksforgeeks.org/create-a-snake-game-using-turtle-in-python/', 'snippet': 'The code starts by creating a window screen. · The title of the window is “Snake Game”. · The background color of the window is blue. · Next, the ...'}, {'title': 'JavaScript snake game tutorial: Build a simple, interactive ...', 'link': 'https://www.educative.io/blog/javascript-snake-game-tutorial', 'snippet': 'JavaScript snake game tutorial: Build a simple, interactive game · Display the board and a still snake · Make the snake move automatically · Use ...'}, {'title': 'Python Snake Game in 5 minutes - YouTube', 'link': 'https://www.youtube.com/watch?v=_-KjEgCLQFw', 'snippet': 'This is Pygame Tutorial on how to create a Snake Game in 60 lines of code in Python for beginners.More Python Projects: ...'}, {'title': 'Code a Snake Game with Python and Pygame - Tutorial', 'link': 'https://www.youtube.com/watch?v=8dfePlONtls', 'snippet': 'In this Python / Pygame tutorial you will build a snake and apple game. This Python project for beginners is perfect for you to get exposure ...'}, {'title': 'How to Make a Snake Game in Python', 'link': 'https://geekflare.com/snake-game-in-python/', 'snippet': 'Creating a beginner-friendly snake game tutorial by using the turtle, time, and random pre-installed modules.'}, {'title': 'How to Build a Snake Game In JavaScript', 'link': 'https://www.freecodecamp.org/news/how-to-build-a-snake-game-in-javascript/', 'snippet': 'In this article I am going to show you how to build a snake game with JavaScript. A snake game is a simple game where a snake moves around a ...'}, {'title': 'A Simple Snake Game made in Python 3', 'link': 'https://gist.github.com/wynand1004/ec105fd2f457b10d971c09586ec44900', 'snippet': 'Nice game, you can create classes for the snake body, scoreboard, food and maybe wall. Then the code will be more structured :).'}, {'title': 'Build the Snake Game with Pygame', 'link': 'https://docs.replit.com/tutorials/python/build-snake-with-pygame', 'snippet': 'Creating a New Project\u200b. Head over to Replit and create a new repl. Choose Python as your language. Now, give this repl a name, like "snake- ...'}]
2023-07-09 17:42:04.271 | INFO     | metagpt.actions.write_prd:run:73 - Sure, I can help you with that. Writing a Snake Game can be a fun project. There are several resources available to guide you through the process. Here are a few options:

Snake Game Program using Pygame: This tutorial provides step-by-step instructions on creating a Snake Game using the Pygame library in Python. Pygame is a free and open-source library commonly used for game development.

Create a Snake-Game using Turtle in Python: This tutorial demonstrates how to create a Snake Game using the Turtle module in Python. Turtle is a built-in module in Python that allows for easy graphics and animation.

JavaScript snake game tutorial: Build a simple, interactive game: If you prefer to create the Snake Game using JavaScript, this tutorial is a great resource. It covers topics such as displaying the game board, making the snake move automatically, and handling user input.

Python Snake Game in 5 minutes - YouTube: This video tutorial on YouTube walks you through creating a Snake Game in Python using Pygame. It provides a concise demonstration of the process in just 60 lines of code.

Code a Snake Game with Python and Pygame - Tutorial: Another video tutorial on YouTube, this one focuses on building a Snake Game using Python and Pygame. It's a beginner-friendly project that can give you exposure to game development.

Feel free to choose the resource that best suits your preferences and programming language of choice. Happy coding!
Original Requirements:
Write a Snake Game
Product Goals:

Create a fun and engaging Snake Game that provides an enjoyable gaming experience.
Develop a user-friendly interface that is easy to navigate and understand.
Ensure the game is efficient and optimized for smooth gameplay.

User Stories:

As a player, I want to be able to control the snake's movement using arrow keys.
As a player, I want to see my score increase whenever the snake eats the food.
As a player, I want the game to end if the snake hits the wall or its own body.
As a player, I want to be able to restart the game after it ends.
As a player, I want the game to have sound effects and background music for an immersive experience.

Competitive Analysis:

Snake Game Program using Pygame: Provides step-by-step instructions on creating a Snake Game using the Pygame library in Python.
Create a Snake-Game using Turtle in Python: Demonstrates how to create a Snake Game using the Turtle module in Python.
JavaScript snake game tutorial: Build a simple, interactive game: A tutorial on building a Snake Game using JavaScript.
Python Snake Game in 5 minutes - YouTube: A video tutorial on creating a Snake Game in Python using Pygame.
Code a Snake Game with Python and Pygame - Tutorial: Another video tutorial on building a Snake Game using Python and Pygame.
How to Make a Snake Game in Python: A beginner-friendly snake game tutorial using the turtle, time, and random pre-installed modules.
How to Build a Snake Game In JavaScript: A tutorial on building a Snake Game with JavaScript.

Competitive Quadrant Chart:
quadrantChart
    title Reach and engagement of Snake Game tutorials
    x-axis Low Reach --> High Reach
    y-axis Low Engagement --> High Engagement
    quadrant-1 We should expand
    quadrant-2 Need to promote
    quadrant-3 Re-evaluate
    quadrant-4 May be improved
    "Snake Game Program using Pygame": [0.6, 0.7]
    "Create a Snake-Game using Turtle in Python": [0.4, 0.5]
    "JavaScript snake game tutorial: Build a simple, interactive game": [0.7, 0.8]
    "Python Snake Game in 5 minutes - YouTube": [0.8, 0.6]
    "Code a Snake Game with Python and Pygame - Tutorial": [0.9, 0.7]
    "How to Make a Snake Game in Python": [0.5, 0.4]
    "How to Build a Snake Game In JavaScript": [0.6, 0.6]
    "Our Target Product": [0.7, 0.7]

Requirement Analysis:
The goal is to create a Snake Game that provides an enjoyable gaming experience for users. The game should have a user-friendly interface, allowing players to control the snake's movement using arrow keys. The score should increase whenever the snake eats the food, and the game should end if the snake hits the wall or its own body. Players should be able to restart the game after it ends. Sound effects and background music should be included to enhance the immersive experience. The game should be efficient and optimized for smooth gameplay.
Requirement Pool:

The game should have a start screen with instructions on how to play the game. (P0)
The snake should move continuously in the direction specified by the player until it hits the wall or its own body. (P0)
The game should generate food at random locations on the screen. (P0)
The snake's length should increase by one whenever it eats the food. (P0)
The score should be displayed on the screen and increase by one whenever the snake eats the food. (P1)

Anything UNCLEAR:
No, everything seems clear.
Warning: gpt-3.5-turbo may change over time. Returning num tokens assuming gpt-3.5-turbo-0301.
2023-07-09 17:43:02.454 | INFO     | metagpt.provider.openai_api:update_cost:89 - Total running cost: $0.008 | Max budget: $3.000 | Current cost: $0.005, prompt_tokens=1675, completion_tokens=833
2023-07-09 17:43:02.456 | INFO     | metagpt.roles.role:_act:153 - Bob(Architect): ready to WriteDesign
Implementation approach:
Based on the requirements, we will use the Pygame library to implement the Snake Game in Python. Pygame is a popular open-source library that provides functionality for creating games and multimedia applications. It has a user-friendly interface and provides efficient and optimized performance for smooth gameplay. We will also leverage other open-source tools and libraries to enhance the gaming experience.
Python package name: snake_game
File list:

main.py
snake.py
food.py
game.py
sound.py
assets/

background.png
snake.png
food.png
sound_effects/

eat.wav
game_over.wav

music/

background_music.mp3

Data structures and interface definitions:
class Snake
- body: List[Tuple[int, int]]
- direction: Tuple[int, int]
- grow: bool

+ __init__(self, x: int, y: int, length: int)
+ move(self)
+ change_direction(self, direction: Tuple[int, int])
+ eat_food(self)
+ check_collision(self, width: int, height: int) -> bool
+ draw(self, surface: pygame.Surface)

class Food
- position: Tuple[int, int]

+ __init__(self, width: int, height: int)
+ generate(self, snake_body: List[Tuple[int, int]])
+ draw(self, surface: pygame.Surface)

class Game
- width: int
- height: int
- snake: Snake
- food: Food
- score: int
- game_over: bool

+ __init__(self, width: int, height: int)
+ handle_events(self)
+ update(self)
+ render(self, surface: pygame.Surface)
+ restart(self)

class Sound
- eat_sound: pygame.mixer.Sound
- game_over_sound: pygame.mixer.Sound
- background_music: pygame.mixer.music

+ __init__(self)
+ play_eat_sound(self)
+ play_game_over_sound(self)
+ play_background_music(self)
+ stop_background_music(self)

Program call flow:
Title: Snake Game Call Flow

main.py->Game: Initialize Game
Game->Game: Set width and height
Game->Snake: Initialize Snake
Game->Food: Initialize Food
Game->Sound: Initialize Sound
Game->Game: Main Game Loop
Game->Game: Handle Events
Game->Snake: Change Direction (if arrow key pressed)
Game->Game: Update Snake Position
Game->Snake: Move
Game->Snake: Check Collision
Game->Food: Generate Food
Game->Snake: Eat Food (if collision)
Game->Game: Update Score
Game->Game: Render Game
Game->Game: Check Game Over
Game->Game: Handle Game Over
Game->Game: Restart Game (if restart key pressed)

Anything UNCLEAR:
No, everything seems clear.
Warning: gpt-3.5-turbo may change over time. Returning num tokens assuming gpt-3.5-turbo-0301.
2023-07-09 17:43:46.261 | INFO     | metagpt.provider.openai_api:update_cost:89 - Total running cost: $0.011 | Max budget: $3.000 | Current cost: $0.004, prompt_tokens=1231, completion_tokens=605
2023-07-09 17:43:46.263 | ERROR    | metagpt.utils.common:parse_code:67 - .*?\s+(.*?) not match following text:
2023-07-09 17:43:46.263 | ERROR    | metagpt.utils.common:parse_code:68 -
Traceback (most recent call last):
File "/home/ant/GPT/MetaGPT/startup.py", line 29, in
fire.Fire(main)
File "/home/ant/GPT/tools/venv/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/ant/GPT/tools/venv/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/ant/GPT/tools/venv/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/home/ant/GPT/MetaGPT/startup.py", line 25, in main
asyncio.run(startup(idea, investment, n_round))
File "/home/ant/GPT/tools/venv/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/ant/GPT/tools/venv/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/ant/GPT/MetaGPT/startup.py", line 15, in startup
await company.run(n_round=n_round)
File "/home/ant/GPT/MetaGPT/metagpt/software_company.py", line 60, in run
await self.environment.run()
File "/home/ant/GPT/MetaGPT/metagpt/environment.py", line 58, in run
await asyncio.gather(*futures)
File "/home/ant/GPT/MetaGPT/metagpt/roles/role.py", line 223, in run
rsp = await self._react()
File "/home/ant/GPT/MetaGPT/metagpt/roles/role.py", line 194, in _react
return await self._act()
File "/home/ant/GPT/MetaGPT/metagpt/roles/role.py", line 154, in _act
response = await self._rc.todo.run(self._rc.important_memory)
File "/home/ant/GPT/MetaGPT/metagpt/actions/design_api.py", line 86, in run
self._save(context, system_design)
File "/home/ant/GPT/MetaGPT/metagpt/actions/design_api.py", line 73, in _save
ws_name = CodeParser.parse_str(block="Python package name", text=system_design)
File "/home/ant/GPT/MetaGPT/metagpt/utils/common.py", line 74, in parse_str
code = cls.parse_code(block, text, lang)
File "/home/ant/GPT/MetaGPT/metagpt/utils/common.py", line 69, in parse_code
raise Exception
Exception

@iRPoke @joisonwk 是的。用4会稳定的多，3.5目前效果很不稳定

#41 #43 fix this issue.

@iRPoke @joisonwk 是的。用4会稳定的多，3.5目前效果很不稳定

你好，我使用的chimeragpt提供的第三方gpt4 api key也出现了这个错误，是因为第三方api key访问不稳定吗？

但是我查看我的workspace已经生成了一个文件：

我是用GPT4时也会出现这个错误，以下是我的日志
I also encountered this error when using GPT4. Here is my log
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000001BDFA0723A0>
Traceback (most recent call last):
File "C:\env\MetaEnv\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "C:\env\MetaEnv\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\env\MetaEnv\lib\asyncio\base_events.py", line 751, in call_soon
self._check_closed()
File "C:\env\MetaEnv\lib\asyncio\base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed


Android: Old Media Player is used in version 5.2.1 with Autolinking.

Improvement
Using RN >0.60 and autolinking the old Media Player implementation is used even if the library should  use the new ExoPlayer.
I managed to fix it by manually forcing it as stated in the documentation.
I would like to open a PR in which i edit the README to inform users that with autolinking the old Media Player is used.
Platform

Android

Environment info

Library version: 5.2.1
RN version: 0.71.13
Steps To Reproduce

Install react-native-video
Run on the device

Expected behaviour

react-native-video should work with ExoPlayer

It is merged, thank you


Add v6 processors

This leverages the new v6 schema in grype to build the DB 🎉

This has been split out into smaller PRs:

https://github.com/anchore/grype-db/pull/433
https://github.com/anchore/grype-db/pull/432
https://github.com/anchore/grype-db/pull/436
https://github.com/anchore/grype-db/pull/437


JAVA-827 implement UPDATE ... IF EXISTS in QueryBuilder

I know that IF EXISTS doesn't combine with IF bob = 'value' but CQL 3.1 says it's ok so I implemented it anyway.

I'm ok with this PR.

I fixed my PR on comments from https://github.com/datastax/java-driver/pull/398

Closing as we are going to merge #413 to 2.0, than 2.0 will be merged to 2.1 and 2.2 later.


⚠ Bofrost.lu has degraded performance

In 295326c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2764 ms

Resolved: Bofrost.lu performance has improved in 4b39133 after 7 minutes.


Add a couple more libs

I had started my own list but this is already more complete and will get more exposure anyway, so ¯\_(ツ)_/¯

Thank you @gnapse 😄


how to change the language to china ，how ？

i dont know how to use，there has no example can find，please teach me！

just import the  leaflet-measure/dist/leaflet-measure.cn.js javascript file instead of leaflet-measure.js

Hello, I'm using VueJS, and leaf

Hello, I'm using VueJS, and leaf

Hello, I'm using VueJS, and the library was imported via npm install and then in Vue component: import {} from "leaflet-measure"; Then how can I update the language dynamically ? I think the localization option is awesome, isn't it ?

Hi, have you got a solution?

Hello, I'm using VueJS, and the library was imported via npm install and then in Vue component: import {} from "leaflet-measure"; Then how can I update the language dynamically ? I think the localization option is awesome, isn't it ?

Hi, have you got a solution?

I just got a solution. You need  import the js lang file. In my case it was in placed in "node_modules\leaflet-measure\dist\leaflet-measure.pt_BR.js"

Hi @ThuanLCSE any suggestion about same question? Did you solved it? If yes, how?


pushbutton default footprint don't work anymore; regression

/bounty $10

@seveibar
We have changed the pushbutton parameter zod type to literal in #83. You need to pass the pushbutton string

this is a test file

let me know if there are any changes needed
cc: @seveibar

I don't understand, shibo gave a valid footprinter string- what is the valid string if not that?

Oh are you saying that the parameters are just not customizable at all? @AnasSarkiz

@ShiboSoftwareDev can you detect if the zod schema contains a literal woth a default and just not set it in the footprinter string? Sorry for the confusion, i think i understand now (maybe)

yes, he can customize any of them. the only thing he can do is write  pushbutton as footprinter string


ECONNREFUSED - Fresh HOOBS install

Hi, I recently installed HOOBS on a Raspberry Pi. I then installed and configured the homebridge-harmony plugin. I set up a static IP for my Harmony hub on my Asus router, then configured the plugin to use the assigned name and IP address, but now all I get is the following error repeating:
[Homebridge] [12/26/2019, 16:02:07] [Living-Room] INFO - Loading activities...[Homebridge] [12/26/2019, 16:02:07] [Living-Room] Error - Error retrieving info from hub : Error: connect ECONNREFUSED <IP_ADDRESS>:8088-(79)
Here's my config:
{     "server": {         "port": 8080,         "autostart": 0,         "home_setup_id": "X-HM://0023ISYWYD7PI",         "polling_seconds": 5,         "origin": "*"     },     "client": {         "default_route": "status",         "inactive_logoff": 30,         "theme": "hoobs-light",         "locale": "en",         "temp_units": "fahrenheit",         "country_code": "US",         "postal_code": "94040"     },     "bridge": {         "name": "HOOBS",         "port": 51826,         "pin": "031-45-154",         "username": "94:E1:C2:77:A3:92"     },     "description": "",     "ports": {},     "accessories": [],     "platforms": [         {             "platform": "HarmonyHubWebSocket",             "plugin_map": {                 "plugin_name": "homebridge-harmony"             },             "name": "Living-Room",             "hubIP": "<IP_ADDRESS>",             "cleanCache": "true",             "activitiesToPublishAsInputForTVMode": [],             "remoteOverrideCommandsList": [],             "activitiesToPublishAsAccessoriesSwitch": [],             "skippedIfSameStateActivities": [],             "devicesToPublishAsAccessoriesSwitch": [],             "sequencesToPublishAsAccessoriesSwitch": [],             "homeControlsToPublishAsAccessoriesSwitch": [],             "otherPlatforms": []         }     ] }
I'm not sure what I've missed here. Any help would be appreciated!

as soon as I post, I find a solution on https://www.reddit.com/r/homebridge/comments/dxweso/help_with_homebridgeharmony_plugin_please/
using the Harmony App, I found that my hub is using a different IP that I saw in my router (must have been a different device). I updated the configuration to use the correct IP address and it works now.
Lesson learned - use the Harmony App to verify the IP address of the Hub, and then statically assign it.